/**
 * Avada typography compatibility.
 * Pixel-based clamps keep the approved proportions independent of the
 * root font-size configured by the theme.
 */

/* Escape Avada's boxed Text Block while preserving the inner compositions. */
.cilloni-bank,
.cilloni-green,
.cilloni-event,
.cilloni-xmas,
.cilloni-flora,
.cilloni-order,
.cilloni-memorial,
.cilloni-self {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

/* Main section titles. */
.cilloni-bank .cilloni-bank__heading-row h1,
.cilloni-green .cilloni-green__header h2,
.cilloni-event .cilloni-event__header h2,
.cilloni-xmas .cilloni-xmas__header h2,
.cilloni-flora .cilloni-flora__header h2,
.cilloni-order .cilloni-order__header h2,
.cilloni-memorial .cilloni-memorial__header h2,
.cilloni-self .cilloni-self__header h2 {
	font-size: clamp(92px, 8vw, 148px);
	line-height: 0.84;
}

/* Introductory copy. */
.cilloni-bank .cilloni-bank__heading-row > p,
.cilloni-green .cilloni-green__header > p,
.cilloni-event .cilloni-event__header > p,
.cilloni-xmas .cilloni-xmas__header > p,
.cilloni-flora .cilloni-flora__header > p,
.cilloni-order .cilloni-order__header > p,
.cilloni-memorial .cilloni-memorial__header > p,
.cilloni-self .cilloni-self__header > p {
	font-size: clamp(18px, 1.45vw, 24px);
}

/* Small labels must remain legible even with a reduced Avada root size. */
.cilloni-bank .cilloni-bank__eyebrow,
.cilloni-bank .cilloni-bank__kicker,
.cilloni-green .cilloni-green__overline,
.cilloni-green .cilloni-green__steps-label,
.cilloni-event .cilloni-event__overline,
.cilloni-xmas .cilloni-xmas__overline,
.cilloni-flora .cilloni-flora__overline,
.cilloni-order .cilloni-order__eyebrow,
.cilloni-order .cilloni-order__chapter,
.cilloni-memorial .cilloni-memorial__eyebrow,
.cilloni-memorial .cilloni-memorial__overline,
.cilloni-self .cilloni-self__eyebrow,
.cilloni-self .cilloni-self__chapter {
	font-size: 12px;
}

/* Servizio a banco accordion. */
.cilloni-bank .cilloni-bank__item button {
	min-height: 92px;
}

.cilloni-bank .cilloni-bank__number {
	font-size: 12px;
}

.cilloni-bank .cilloni-bank__item-title {
	font-size: clamp(25px, 1.7vw, 32px);
}

.cilloni-bank .cilloni-bank__answer p {
	font-size: 16px;
}

.cilloni-bank .cilloni-bank__note p {
	font-size: 17px;
}

/* Manutenzione card. */
.cilloni-green .cilloni-green__card-index {
	font-size: 18px;
}

.cilloni-green .cilloni-green__tabs button,
.cilloni-event .cilloni-event__tabs button,
.cilloni-xmas .cilloni-xmas__tabs button {
	font-size: 12px;
}

.cilloni-green .cilloni-green__panel h3,
.cilloni-event .cilloni-event__panel h3,
.cilloni-xmas .cilloni-xmas__panel h3,
.cilloni-flora .cilloni-flora__card h3 {
	font-size: clamp(34px, 2.8vw, 54px);
}

.cilloni-green .cilloni-green__panel > p:not(.cilloni-green__overline),
.cilloni-event .cilloni-event__panel > p:not(.cilloni-event__overline),
.cilloni-xmas .cilloni-xmas__panel > p:not(.cilloni-xmas__overline),
.cilloni-flora .cilloni-flora__card > p {
	font-size: 16px;
}

.cilloni-green .cilloni-green__panel li,
.cilloni-xmas .cilloni-xmas__tags span,
.cilloni-event .cilloni-event__services span {
	font-size: 12px;
}

.cilloni-green .cilloni-green__steps strong {
	font-size: 18px;
}

.cilloni-green .cilloni-green__steps p {
	font-size: 13px;
}

.cilloni-green .cilloni-green__steps span {
	font-size: 11px;
}

/* Eventi, Festività and Interflora secondary information. */
.cilloni-event .cilloni-event__tabs button span,
.cilloni-xmas .cilloni-xmas__tabs button span {
	font-size: 10px;
}

.cilloni-xmas .cilloni-xmas__promise p,
.cilloni-flora .cilloni-flora__facts p,
.cilloni-flora .cilloni-flora__same-day p {
	font-size: 13px;
}

.cilloni-xmas .cilloni-xmas__promise strong,
.cilloni-flora .cilloni-flora__facts strong,
.cilloni-flora .cilloni-flora__same-day strong {
	font-size: 17px;
}

/* Ordina da casa, Arte funeraria and Self service content cards. */
.cilloni-order .cilloni-order__story h3,
.cilloni-memorial .cilloni-memorial__content h3,
.cilloni-self .cilloni-self__copy h3 {
	font-size: clamp(46px, 4vw, 76px);
}

.cilloni-order .cilloni-order__story > p,
.cilloni-memorial .cilloni-memorial__content > p:not(.cilloni-memorial__overline),
.cilloni-self .cilloni-self__copy > p:not(.cilloni-self__chapter) {
	font-size: 16px;
}

.cilloni-order .cilloni-order__steps button strong {
	font-size: 13px;
}

.cilloni-order .cilloni-order__steps button > span,
.cilloni-memorial .cilloni-memorial__services button span,
.cilloni-self .cilloni-self__features span {
	font-size: 11px;
}

.cilloni-memorial .cilloni-memorial__services button,
.cilloni-self .cilloni-self__features strong {
	font-size: 17px;
}

.cilloni-memorial .cilloni-memorial__panel p {
	font-size: 17px;
}

.cilloni-self .cilloni-self__features p {
	font-size: 13px;
}

@media (max-width: 1024px) {
	.cilloni-bank .cilloni-bank__heading-row h1,
	.cilloni-green .cilloni-green__header h2,
	.cilloni-event .cilloni-event__header h2,
	.cilloni-xmas .cilloni-xmas__header h2,
	.cilloni-flora .cilloni-flora__header h2,
	.cilloni-order .cilloni-order__header h2,
	.cilloni-memorial .cilloni-memorial__header h2,
	.cilloni-self .cilloni-self__header h2 {
		font-size: clamp(72px, 12vw, 112px);
	}
}

@media (max-width: 680px) {
	.cilloni-bank .cilloni-bank__heading-row h1,
	.cilloni-green .cilloni-green__header h2,
	.cilloni-event .cilloni-event__header h2,
	.cilloni-xmas .cilloni-xmas__header h2,
	.cilloni-flora .cilloni-flora__header h2,
	.cilloni-order .cilloni-order__header h2,
	.cilloni-memorial .cilloni-memorial__header h2,
	.cilloni-self .cilloni-self__header h2 {
		font-size: clamp(58px, 17vw, 86px);
	}

	.cilloni-bank .cilloni-bank__heading-row > p,
	.cilloni-green .cilloni-green__header > p,
	.cilloni-event .cilloni-event__header > p,
	.cilloni-xmas .cilloni-xmas__header > p,
	.cilloni-flora .cilloni-flora__header > p,
	.cilloni-order .cilloni-order__header > p,
	.cilloni-memorial .cilloni-memorial__header > p,
	.cilloni-self .cilloni-self__header > p {
		font-size: 17px;
	}

	.cilloni-bank .cilloni-bank__item-title {
		font-size: 22px;
	}

	.cilloni-green .cilloni-green__panel h3,
	.cilloni-event .cilloni-event__panel h3,
	.cilloni-xmas .cilloni-xmas__panel h3,
	.cilloni-flora .cilloni-flora__card h3 {
		font-size: 34px;
	}

	.cilloni-order .cilloni-order__story h3,
	.cilloni-memorial .cilloni-memorial__content h3,
	.cilloni-self .cilloni-self__copy h3 {
		font-size: 42px;
	}
}
