/*
 * Open Day per i pazienti (pages/open-day-pazienti.php): ripresa della
 * locandina dell'evento, con titolo condensato grande, nastro beige, foto
 * nel cerchio e cerchio blu dei posti. Caricato solo su quella pagina.
 */

.single-open-day-pazienti {
	--sev-od-navy: #13357f;
	--sev-od-ribbon: #f3ead6;
	--sev-od-ribbon-edge: #d9c597;
	--sev-od-highlight: #dcecf8;
}

/* Apertura */

.sev-od-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 120px;
	background:
		radial-gradient(60% 70% at 100% 100%, rgba(123, 187, 220, .38) 0%, rgba(123, 187, 220, 0) 70%),
		radial-gradient(40% 50% at 0% 0%, rgba(230, 243, 251, .9) 0%, rgba(230, 243, 251, 0) 70%),
		var(--sev-ice);
}

.sev-od-hero::after {
	content: "";
	position: absolute;
	right: -10%;
	bottom: -38%;
	left: -10%;
	height: 60%;
	background: var(--sev-white);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	opacity: .55;
	pointer-events: none;
}

.sev-od-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: center;
}

.sev-od-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sev-od-navy);
}

.sev-od-hero__eyebrow .sev-icon {
	width: 26px;
	height: 26px;
	color: var(--sev-ocean);
}

.sev-od-hero__title {
	display: grid;
	gap: 10px;
	margin: 0;
	font-family: var(--sev-font-text);
	color: var(--sev-od-navy);
}

.sev-od-hero__title-main {
	font-size: clamp(64px, 9vw, 132px);
	font-weight: 700;
	line-height: .86;
	letter-spacing: -.005em;
	text-transform: uppercase;
}

.sev-od-hero__title-sub {
	justify-self: start;
	padding-top: 8px;
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sev-ocean);
	border-top: 2px solid currentColor;
}

/* Il nastro beige della locandina, con le code ripiegate */

.sev-od-ribbon {
	position: relative;
	display: inline-block;
	margin: 26px 0 0;
	padding: 10px 34px;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 600;
	font-style: italic;
	line-height: 1.25;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--sev-od-navy);
	background: var(--sev-od-ribbon);
	border-top: 1px solid var(--sev-od-ribbon-edge);
	border-bottom: 1px solid var(--sev-od-ribbon-edge);
}

.sev-od-ribbon::before,
.sev-od-ribbon::after {
	content: "";
	position: absolute;
	top: -7px;
	bottom: -7px;
	width: 7px;
	background: var(--sev-od-ribbon-edge);
	border-radius: 4px;
}

.sev-od-ribbon::before {
	left: 0;
}

.sev-od-ribbon::after {
	right: 0;
}

.sev-od-hero__lead {
	max-width: 560px;
	margin: 24px 0 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--sev-text);
}

.sev-od-hero__lead strong {
	color: var(--sev-od-navy);
}

.sev-od-when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin: 26px 0 0;
	font-size: clamp(22px, 2.3vw, 28px);
	line-height: 1.1;
	text-transform: uppercase;
}

.sev-od-when__date {
	font-weight: 700;
	color: var(--sev-od-navy);
}

.sev-od-when__time {
	padding-left: 18px;
	font-weight: 500;
	color: var(--sev-ocean);
	border-left: 2px solid var(--sev-sky);
}

.sev-od-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.sev-od-call {
	padding: 15px 28px;
	font-size: 17px;
}

.sev-od-call .sev-od-call__icon {
	width: 17px;
	height: 17px;
}

.sev-od-call:hover .sev-od-call__icon {
	transform: rotate(-12deg);
}

.sev-od-ig,
.sev-od-maps {
	padding: 15px 26px;
	box-shadow: inset 0 0 0 1px rgba(13, 77, 161, .25);
}

.sev-od-closed {
	margin: 0;
	padding: 12px 20px;
	font-size: 18px;
	font-weight: 600;
	color: var(--sev-od-navy);
	background: var(--sev-white);
	border: 1px solid var(--sev-mist);
	border-radius: var(--sev-radius);
	box-shadow: 0 8px 20px rgba(6, 55, 95, .08);
}

/* Foto nel cerchio, etichetta e posti */

.sev-od-hero__visual {
	position: relative;
	justify-self: center;
	width: min(100%, 520px);
}

.sev-od-hero__circle {
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--sev-mist);
	border: 10px solid var(--sev-white);
	border-radius: 50%;
	box-shadow: var(--sev-shadow);
}

.sev-od-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 50%;
}

.sev-od-hero__badge {
	position: absolute;
	top: 8%;
	right: -4%;
	margin: 0;
	padding: 12px 22px;
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--sev-white);
	background: var(--sev-od-navy);
	border-radius: var(--sev-radius);
	box-shadow: 0 12px 26px rgba(19, 53, 127, .3);
	transform: rotate(-4deg);
}

.sev-od-seats {
	position: absolute;
	bottom: 2%;
	left: -2%;
	display: grid;
	place-content: center;
	width: clamp(124px, 13vw, 160px);
	aspect-ratio: 1;
	margin: 0;
	text-align: center;
	color: var(--sev-od-navy);
	background: var(--sev-white);
	border: 3px solid var(--sev-sky);
	border-radius: 50%;
	box-shadow: var(--sev-shadow);
}

.sev-od-seats span {
	font-size: clamp(15px, 1.4vw, 18px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sev-ocean);
}

.sev-od-seats strong {
	font-size: clamp(54px, 5.6vw, 72px);
	font-weight: 700;
	line-height: .9;
}

/* Data, durata e luogo */

.sev-od-facts {
	position: relative;
	z-index: 2;
	margin-top: -64px;
}

.sev-od-facts__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--sev-white);
	border-radius: var(--sev-radius-kit);
	box-shadow: var(--sev-shadow);
}

.sev-od-fact {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 30px 32px;
}

.sev-od-fact + .sev-od-fact {
	border-left: 1px solid var(--sev-mist);
}

.sev-od-fact__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	color: var(--sev-primary);
	background: var(--sev-foam);
	border-radius: 50%;
}

.sev-od-fact__icon .sev-icon {
	width: 21px;
	height: 21px;
}

.sev-od-fact__body {
	display: grid;
	gap: 3px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--sev-text);
}

.sev-od-fact__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sev-ocean);
}

.sev-od-fact__body strong {
	font-size: 20px;
	line-height: 1.25;
	color: var(--sev-ink);
}

.sev-od-fact__body a {
	color: var(--sev-primary);
	text-decoration: underline;
	text-decoration-color: var(--sev-sky);
	text-underline-offset: 3px;
}

.sev-od-fact__body a:hover {
	text-decoration-color: currentColor;
}

/* Cosa comprende la visita */

.sev-od-visit {
	padding-top: 110px;
	padding-bottom: 110px;
}

.sev-od-head {
	display: grid;
	justify-items: center;
	gap: 18px;
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.sev-od-head .sev-section-title {
	margin: 0;
}

.sev-od-visit__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sev-od-card {
	position: relative;
	padding: 34px 30px 32px;
	background: var(--sev-ice);
	border: 1px solid var(--sev-mist);
	border-radius: var(--sev-radius-kit);
	transition: transform .35s var(--sev-ease), box-shadow .35s ease, border-color .35s ease;
}

.sev-od-card:hover {
	border-color: var(--sev-sky);
	box-shadow: var(--sev-shadow);
	transform: translateY(-4px);
}

.sev-od-card__num {
	display: block;
	margin-bottom: 18px;
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	color: var(--sev-ocean);
}

.sev-od-card__title {
	margin: 0 0 10px;
	font-family: var(--sev-font-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--sev-od-navy);
}

.sev-od-card p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--sev-text);
}

/* Agevolazioni e posti */

.sev-od-perks {
	padding: 100px 0;
	color: var(--sev-white);
	background:
		radial-gradient(50% 80% at 100% 0%, rgba(141, 234, 255, .18) 0%, rgba(141, 234, 255, 0) 70%),
		linear-gradient(135deg, var(--sev-navy) 0%, var(--sev-od-navy) 55%, var(--sev-primary) 100%);
}

.sev-od-perks__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
	gap: 56px;
	align-items: center;
}

.sev-od-perks__title {
	margin: 18px 0 0;
	color: var(--sev-white);
}

.sev-od-perks__list {
	display: grid;
	gap: 16px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.sev-od-perk {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 20px 24px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(123, 187, 220, .35);
	border-radius: var(--sev-radius-card);
}

.sev-od-perk__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	color: var(--sev-od-navy);
	background: var(--sev-sky);
	border-radius: 50%;
}

.sev-od-perk__icon .sev-icon {
	width: 20px;
	height: 20px;
}

.sev-od-perk__title {
	display: block;
	font-size: 22px;
	line-height: 1.2;
}

.sev-od-perk__text {
	display: block;
	margin-top: 3px;
	font-size: 17px;
	line-height: 1.45;
	color: var(--sev-text-light);
}

.sev-od-perks__note {
	margin: 22px 0 0;
	font-size: 15px;
	color: var(--sev-text-light);
}

.sev-od-perks__seats {
	display: grid;
	justify-items: center;
	padding: 40px 32px 36px;
	text-align: center;
	color: var(--sev-od-navy);
	background: var(--sev-white);
	border-radius: var(--sev-radius-kit);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}

.sev-od-perks__seats-pre {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sev-ocean);
}

.sev-od-perks__seats-num {
	font-size: 150px;
	font-weight: 700;
	line-height: .85;
}

.sev-od-perks__seats-text {
	margin: 8px 0 26px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sev-od-perks__seats .sev-od-call {
	width: 100%;
}

/* Prenotazione */

.sev-od-book {
	padding-top: 20px;
	padding-bottom: 110px;
}

.sev-od-book__card {
	display: grid;
	justify-items: center;
	padding: 64px 40px;
	text-align: center;
	background:
		radial-gradient(60% 90% at 50% 120%, rgba(123, 187, 220, .35) 0%, rgba(123, 187, 220, 0) 70%),
		var(--sev-ice);
	border: 1px solid var(--sev-mist);
	border-radius: var(--sev-radius-kit);
}

.sev-od-book__card .sev-section-title {
	margin: 0;
}

.sev-od-book__text {
	max-width: 620px;
	margin: 16px 0 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--sev-text);
}

.sev-od-book__phone {
	margin-top: 22px;
	font-size: clamp(46px, 7vw, 88px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--sev-od-navy);
	transition: color .25s ease;
}

.sev-od-book__phone:hover,
.sev-od-book__phone:focus-visible {
	color: var(--sev-primary);
}

.sev-od-book__where {
	margin: 14px 0 0;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sev-ocean);
}

.sev-od-book__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 32px;
}

/* Barra fissa da telefono */

.sev-od-sticky {
	display: none;
}

/* Tablet */

@media (max-width: 1024px) {
	.sev-od-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
		gap: 32px;
	}

	.sev-od-fact {
		padding: 26px 22px;
	}

	.sev-od-perks__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.sev-od-perks__seats {
		grid-template-columns: auto auto;
		justify-content: center;
		align-items: center;
		gap: 0 20px;
		text-align: left;
	}

	.sev-od-perks__seats-pre {
		grid-column: 1;
		grid-row: 1;
		align-self: end;
	}

	.sev-od-perks__seats-num {
		grid-column: 1;
		grid-row: 2 / span 2;
		font-size: 110px;
	}

	.sev-od-perks__seats-text {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
		margin: 0;
	}

	.sev-od-perks__seats .sev-od-call {
		grid-column: 2;
		grid-row: 3;
		width: auto;
	}
}

/* Telefono */

@media (max-width: 767px) {
	.sev-od-hero {
		padding: 32px 0 96px;
	}

	.sev-od-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.sev-od-hero__visual {
		order: -1;
		width: min(78vw, 340px);
	}

	.sev-od-hero__circle {
		border-width: 7px;
	}

	.sev-od-hero__badge {
		right: -6%;
		padding: 9px 16px;
	}

	.sev-od-seats {
		left: -6%;
		width: 112px;
	}

	.sev-od-seats strong {
		font-size: 48px;
	}

	.sev-od-seats span {
		font-size: 13px;
	}

	.sev-od-hero__lead {
		font-size: 17px;
	}

	.sev-od-ribbon {
		padding: 9px 24px;
	}

	.sev-od-when {
		display: grid;
		gap: 6px;
	}

	.sev-od-when__time {
		padding-left: 0;
		border-left: 0;
	}

	.sev-od-hero__actions > .sev-btn {
		flex: 1 1 100%;
	}

	.sev-od-facts {
		margin-top: -56px;
	}

	.sev-od-facts__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.sev-od-fact {
		padding: 22px 20px;
	}

	.sev-od-fact + .sev-od-fact {
		border-top: 1px solid var(--sev-mist);
		border-left: 0;
	}

	.sev-od-visit {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.sev-od-head {
		margin-bottom: 32px;
	}

	.sev-od-visit__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.sev-od-card {
		padding: 26px 22px;
	}

	.sev-od-card__num {
		margin-bottom: 10px;
		font-size: 40px;
	}

	.sev-od-perks {
		padding: 72px 0;
	}

	.sev-od-perks__inner {
		gap: 36px;
	}

	.sev-od-perk {
		align-items: flex-start;
		padding: 18px;
	}

	.sev-od-perks__seats {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		padding: 32px 20px;
		text-align: center;
	}

	.sev-od-perks__seats-pre,
	.sev-od-perks__seats-num,
	.sev-od-perks__seats-text,
	.sev-od-perks__seats .sev-od-call {
		grid-column: 1;
		grid-row: auto;
		align-self: auto;
	}

	.sev-od-perks__seats-num {
		font-size: 110px;
	}

	.sev-od-perks__seats-text {
		margin: 6px 0 22px;
	}

	.sev-od-perks__seats .sev-od-call {
		width: 100%;
	}

	.sev-od-book {
		padding-bottom: 72px;
	}

	.sev-od-book__card {
		padding: 44px 20px;
	}

	.sev-od-book__text {
		font-size: 17px;
	}

	.sev-od-book__where {
		font-size: 14px;
		letter-spacing: .06em;
	}

	.sev-od-book__actions > .sev-btn {
		flex: 1 1 100%;
	}

	.sev-od-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40;
		display: block;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -8px 24px rgba(6, 55, 95, .14);
	}

	.sev-od-sticky .sev-od-call {
		width: 100%;
	}

	.single-open-day-pazienti:has(.sev-od-sticky) .sev-footer {
		padding-bottom: 76px;
	}
}
