/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 15:12:31 */
/*
 * Scopri Cotronei - modulo 07-teatro-base.css
 * Estratto senza modifiche funzionali dal CSS originale.
 * Righe originali: 23025-31670.
 * Contenuto: Prenotazioni teatro v3.5, home teatro, stagione, sala e storia.
 */

/* =========================================================
   PRENOTAZIONI TEATRO COTRONEI - CSS GLOBALE v3.5
   Incollare in Aspetto > Personalizza > CSS aggiuntivo
   oppure nel CSS globale del sito.
   ========================================================= */

.sctt-app,
.sctt-document {
	--sctt-border: #d9dee5;
	--sctt-text: #17202a;
	--sctt-muted: #667085;
	--sctt-free: #e8f7ed;
	--sctt-free-border: #37935a;
	--sctt-selected: #ffe7a6;
	--sctt-selected-border: #bf7a00;
	--sctt-held: #eef1f4;
	--sctt-booked: #d7dbe0;
	--sctt-blocked: #252a31;
	--sctt-primary: #174c3c;
	--sctt-danger: #b42318;
	--sctt-warning: #9a6700;
	box-sizing: border-box;
	color: var(--sctt-text);
}

.sctt-app *,
.sctt-document * {
	box-sizing: border-box;
}

.sctt-app {
	max-width: 980px;
	margin: 36px auto;
	padding: 28px;
	border: 1px solid var(--sctt-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
}

.sctt-app__header {
	margin-bottom: 22px;
	text-align: center;
}

.sctt-app__title {
	margin: 0 0 5px;
	font-size: clamp(25px, 4vw, 36px);
	line-height: 1.15;
}

.sctt-app__venue {
	margin: 0 0 5px;
	color: var(--sctt-muted);
	font-size: 14px;
	font-weight: 700;
}

.sctt-app__date {
	margin: 0;
	color: var(--sctt-muted);
	font-weight: 600;
}

.sctt-app__price {
	margin: 7px 0 0;
	font-size: 15px;
}

.sctt-stage {
	max-width: 720px;
	margin: 8px auto 26px;
	padding: 13px 20px 11px;
	border: 2px solid #20252b;
	border-bottom-width: 5px;
	border-radius: 50% 50% 8px 8px / 55% 55% 8px 8px;
	background: #f7f7f7;
	text-align: center;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.sctt-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--sctt-muted);
}

.sctt-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sctt-legend i {
	display: inline-block;
	width: 17px;
	height: 17px;
	border: 1px solid var(--sctt-border);
	border-radius: 4px;
}

.sctt-legend i[data-state="free"] {
	background: var(--sctt-free);
	border-color: var(--sctt-free-border);
}

.sctt-legend i[data-state="selected"] {
	background: var(--sctt-selected);
	border-color: var(--sctt-selected-border);
}

.sctt-legend i[data-state="held"] {
	background: var(--sctt-held);
}

.sctt-legend i[data-state="booked"] {
	background: var(--sctt-booked);
}

.sctt-legend i[data-state="blocked"] {
	background: var(--sctt-blocked);
	border-color: var(--sctt-blocked);
}

.sctt-map-controls {
	display: none;
}

.sctt-map-shell {
	position: relative;
	width: 100%;
}

.sctt-map-dialog-header,
.sctt-map-overview-hit {
	display: none;
}

.sctt-map-viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.sctt-seat-map {
	width: 100%;
	padding: 4px 2px 16px;
}

.sctt-sector {
	min-width: 720px;
}

.sctt-sector__title {
	margin: 0 0 12px;
	text-align: center;
	font-size: 18px;
}

.sctt-seat-group {
	margin-bottom: 38px;
}

.sctt-seat-group:last-child {
	margin-bottom: 5px;
}

.sctt-seat-row {
	display: grid;
	grid-template-columns: 24px minmax(280px, 1fr) 45px minmax(280px, 1fr) 24px;
	align-items: center;
	gap: 7px;
	margin: 7px 0;
}

.sctt-row-label {
	text-align: center;
	font-weight: 800;
	font-size: 18px;
}

.sctt-seat-half {
	display: grid;
	grid-template-columns: repeat(8, minmax(31px, 1fr));
	gap: 5px;
}

.sctt-aisle {
	display: block;
	min-height: 1px;
}

.sctt-app .sctt-seat {
	appearance: none;
	width: 100%;
	min-width: 31px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sctt-border);
	border-radius: 6px 6px 4px 4px;
	background: #f4f5f6;
	color: var(--sctt-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: default;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
}

.sctt-app .sctt-seat[data-state="free"],
.sctt-app .sctt-seat[data-state="mine"] {
	border-color: var(--sctt-free-border);
	background: var(--sctt-free);
	cursor: pointer;
}

.sctt-app .sctt-seat[data-state="free"]:hover,
.sctt-app .sctt-seat[data-state="mine"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 10px rgba(16, 24, 40, 0.12);
}

.sctt-app .sctt-seat[data-state="free"]:active,
.sctt-app .sctt-seat[data-state="mine"]:active {
	transform: scale(0.94);
}

.sctt-app .sctt-seat.is-selected {
	border-color: var(--sctt-selected-border);
	background: var(--sctt-selected);
	box-shadow: inset 0 0 0 2px rgba(191, 122, 0, 0.18);
}

.sctt-app .sctt-seat[data-state="held"] {
	background: var(--sctt-held);
	color: #8a929d;
}

.sctt-app .sctt-seat[data-state="booked"] {
	background: var(--sctt-booked);
	color: #646b74;
}

.sctt-app .sctt-seat[data-state="blocked"] {
	border-color: var(--sctt-blocked);
	background: var(--sctt-blocked);
	color: #fff;
}

.sctt-app .sctt-seat[data-state="loading"] {
	opacity: 0.45;
}

.sctt-app .sctt-seat:focus-visible {
	outline: 3px solid rgba(23, 76, 60, 0.28);
	outline-offset: 2px;
}

.sctt-selection-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 12px 0 22px;
	padding: 14px 16px;
	border: 1px solid var(--sctt-border);
	border-radius: 10px;
	background: #f8fafb;
}

.sctt-selection-total {
	font-weight: 800;
	color: var(--sctt-primary);
}

.sctt-hold-countdown {
	margin-left: auto;
	color: var(--sctt-warning);
	font-size: 14px;
	font-weight: 700;
}

.sctt-booking-form {
	padding-top: 23px;
	border-top: 1px solid var(--sctt-border);
}

.sctt-booker-section {
	margin: 0 0 22px;
	padding: 18px;
	border: 1px solid var(--sctt-border);
	border-radius: 11px;
	background: #fff;
}

.sctt-booker-section h3 {
	margin: 0 0 4px;
	font-size: 19px;
}

.sctt-booker-help {
	margin: 0 0 14px;
	color: var(--sctt-muted);
	font-size: 13px;
	line-height: 1.5;
}

.sctt-form-grid--notes {
	margin-top: 0;
}

.sctt-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.sctt-field {
	margin: 0;
}

.sctt-field--wide {
	grid-column: 1 / -1;
}

.sctt-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.sctt-field input,
.sctt-field textarea {
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid #bfc7d0;
	border-radius: 7px;
	background: #fff;
	color: var(--sctt-text);
	font: inherit;
}

.sctt-field input:focus,
.sctt-field textarea:focus {
	border-color: var(--sctt-primary);
	outline: 3px solid rgba(23, 76, 60, 0.12);
}

.sctt-privacy-field {
	margin: 18px 0;
	font-size: 14px;
	line-height: 1.55;
}

.sctt-privacy-field label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.sctt-privacy-field input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.sctt-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.sctt-payment-note {
	margin: 18px 0;
	padding: 14px 16px;
	border-left: 4px solid #d9a300;
	border-radius: 5px;
	background: #fff8db;
	line-height: 1.55;
}

.sctt-app .sctt-submit,
.sctt-document button,
.sctt-checkin-submit {
	appearance: none;
	min-height: 46px;
	padding: 11px 19px;
	border: 0;
	border-radius: 7px;
	background: var(--sctt-primary);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.sctt-app .sctt-submit:disabled {
	opacity: 0.55;
	cursor: wait;
}

.sctt-form-message {
	min-height: 24px;
	margin-top: 12px;
	font-weight: 700;
}

.sctt-form-message[data-type="error"] {
	color: var(--sctt-danger);
}

.sctt-form-message[data-type="warning"] {
	color: var(--sctt-warning);
}

.sctt-form-message[data-type="info"] {
	color: var(--sctt-primary);
}

.sctt-notice {
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px solid var(--sctt-border);
	border-radius: 8px;
	background: #f8fafb;
}

.sctt-notice--warning {
	border-color: #e5bf55;
	background: #fff8db;
	color: #694b00;
}

.sctt-notice--error {
	border-color: #efaaa4;
	background: #fff0ef;
	color: #8f1d15;
}

.sctt-notice--success {
	border-color: #8ecba4;
	background: #edf9f1;
	color: #166534;
}

/* Ricevuta e controllo ingressi */

.sctt-receipt-page,
.sctt-checkin-page {
	margin: 0;
	background: #eef1f4;
}

.sctt-document {
	width: min(900px, calc(100% - 28px));
	margin: 32px auto;
	padding: 32px;
	border: 1px solid var(--sctt-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(16, 24, 40, 0.09);
}

.sctt-document__actions {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.sctt-document__header {
	margin-bottom: 25px;
	text-align: center;
}

.sctt-document__eyebrow {
	margin: 0 0 5px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 13px;
	font-weight: 800;
	color: var(--sctt-muted);
}

.sctt-document__header h1 {
	margin: 0 0 7px;
	font-size: clamp(27px, 5vw, 42px);
}

.sctt-booking-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 24px 0;
	padding: 1px;
	background: var(--sctt-border);
}

.sctt-booking-details > div {
	padding: 13px 15px;
	background: #fff;
}

.sctt-booking-details dt {
	margin-bottom: 3px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sctt-muted);
}

.sctt-booking-details dd {
	margin: 0;
	font-weight: 700;
}

.sctt-document__legal {
	font-size: 14px;
	line-height: 1.6;
	color: var(--sctt-muted);
}

.sctt-ticket-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.sctt-ticket {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px;
	align-items: center;
	gap: 20px;
	padding: 20px;
	border: 2px dashed #9ba5b1;
	border-radius: 11px;
	break-inside: avoid;
	background: #fff;
}

.sctt-ticket__sector {
	margin: 0 0 5px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--sctt-muted);
}

.sctt-ticket h2 {
	margin: 0 0 8px;
	font-size: 23px;
}

.sctt-ticket__qr {
	width: 190px;
	height: 190px;
	background: #fff;
}

.sctt-ticket__qr img,
.sctt-ticket__qr canvas {
	display: block;
	max-width: 100%;
	height: auto !important;
}

.sctt-checkin {
	max-width: 620px;
}

.sctt-checkin-result {
	display: grid;
	gap: 5px;
	margin-top: 24px;
	padding: 24px;
	border-radius: 10px;
	text-align: center;
}

.sctt-checkin-result strong {
	font-size: 27px;
}

.sctt-checkin-result--used {
	border: 2px solid #d92d20;
	background: #fff0ef;
	color: #8f1d15;
}



/* Check-in: pagamento offline segnato automaticamente alla convalida */
.sctt-checkin-auto-payment {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #e5bf55;
	border-radius: 8px;
	background: #fff8db;
	color: #694b00;
	line-height: 1.5;
}

.sctt-checkin-form {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--sctt-border);
}

.sctt-checkin-submit {
	width: 100%;
	font-size: 18px;
}

@media (pointer: coarse) {
	.sctt-app .sctt-seat {
		min-width: 38px;
		height: 42px;
		font-size: 13px;
	}

	.sctt-seat-half {
		gap: 6px;
	}
}


html.sctt-map-open,
body.sctt-map-open {
	overflow: hidden !important;
	overscroll-behavior: none;
}

@media (max-width: 760px) {
	.sctt-map-controls {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		margin: 8px 0 10px;
		padding: 10px 12px;
		border: 1px solid var(--sctt-border);
		border-radius: 10px;
		background: #f8fafb;
	}

	.sctt-map-controls__text {
		margin: 0;
		color: var(--sctt-muted);
		font-size: 12px;
		line-height: 1.35;
	}

	.sctt-map-toggle,
	.sctt-map-close {
		appearance: none;
		flex: 0 0 auto;
		min-height: 42px;
		padding: 9px 13px;
		border: 0;
		border-radius: 8px;
		background: var(--sctt-primary);
		color: #fff;
		font: inherit;
		font-size: 13px;
		font-weight: 800;
		line-height: 1.15;
		cursor: pointer;
		touch-action: manipulation;
	}

	.sctt-map-shell.is-overview {
		min-height: 120px;
		overflow: hidden;
		border: 1px solid var(--sctt-border);
		border-radius: 12px;
		background: #fbfcfd;
		overscroll-behavior: contain;
		touch-action: pan-y;
		-webkit-user-select: none;
		user-select: none;
		-webkit-touch-callout: none;
	}

	.sctt-map-shell.is-overview .sctt-map-viewport {
		height: var(--sctt-map-overview-height, 260px);
		overflow: hidden;
		pointer-events: none;
	}

	.sctt-map-shell.is-overview .sctt-seat-map {
		transform: scale(var(--sctt-map-scale, 0.45));
		transform-origin: top left;
	}

	.sctt-map-shell.is-overview .sctt-map-overview-hit {
		display: flex;
		position: absolute;
		inset: 0;
		z-index: 4;
		align-items: flex-end;
		justify-content: center;
		width: 100%;
		padding: 14px;
		border: 0;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 55%, rgba(255,255,255,0.88) 100%);
		color: var(--sctt-primary);
		font: inherit;
		cursor: zoom-in;
		/* Consente lo scorrimento verticale della pagina ma blocca il pinch-zoom. */
		touch-action: pan-y;
		-webkit-user-select: none;
		user-select: none;
		-webkit-touch-callout: none;
	}

	.sctt-map-overview-hit span {
		display: inline-flex;
		align-items: center;
		min-height: 38px;
		padding: 8px 13px;
		border: 1px solid rgba(23, 76, 60, 0.28);
		border-radius: 999px;
		background: rgba(255,255,255,0.96);
		box-shadow: 0 4px 16px rgba(16, 24, 40, 0.14);
		font-size: 13px;
		font-weight: 800;
	}

	.sctt-map-shell.is-zoomed {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 2147483000;
		flex-direction: column;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		margin: 0;
		padding: 0;
		background: #fff;
	}

	.sctt-map-shell.is-zoomed .sctt-map-dialog-header {
		display: flex;
		position: relative;
		z-index: 3;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 62px;
		padding: max(10px, env(safe-area-inset-top)) 14px 10px;
		border-bottom: 1px solid var(--sctt-border);
		background: #fff;
		box-shadow: 0 3px 12px rgba(16, 24, 40, 0.08);
	}

	.sctt-map-dialog-title {
		display: flex;
		min-width: 0;
		flex-direction: column;
		gap: 2px;
	}

	.sctt-map-dialog-header strong {
		font-size: 17px;
	}

	.sctt-map-selected-mini {
		color: var(--sctt-primary);
		font-size: 12px;
		font-weight: 800;
	}

	.sctt-map-dialog-header strong span {
		color: var(--sctt-muted);
		font-size: 13px;
		font-weight: 600;
	}

	.sctt-map-shell.is-zoomed .sctt-map-close {
		min-height: 40px;
		max-width: 150px;
		background: #252a31;
	}

	.sctt-map-shell.is-zoomed .sctt-map-overview-hit {
		display: none;
	}

	.sctt-map-shell.is-zoomed .sctt-map-viewport {
		flex: 1 1 auto;
		min-height: 0;
		overflow: auto;
		padding: 12px 12px max(24px, env(safe-area-inset-bottom));
		background: #f8fafb;
		overscroll-behavior: contain;
		/* Permette di spostarsi sulla pianta, senza ingrandire l'intera pagina. */
		touch-action: pan-x pan-y;
		-webkit-user-select: none;
		user-select: none;
		-webkit-touch-callout: none;
	}

	.sctt-map-shell.is-zoomed .sctt-seat-map {
		transform: none !important;
		margin: 0;
		background: #fff;
	}
}

@media (max-width: 760px) {
	.sctt-app {
		margin: 20px auto;
		padding: 18px 13px;
		border-radius: 11px;
	}

	.sctt-stage {
		font-size: 20px;
	}

	.sctt-form-grid,
	.sctt-booking-details,
	.sctt-ticket-list {
		grid-template-columns: 1fr;
	}

	.sctt-hold-countdown {
		width: 100%;
		margin-left: 0;
	}

	.sctt-document {
		width: min(100% - 18px, 900px);
		margin: 9px auto;
		padding: 20px 16px;
		border-radius: 8px;
	}

	.sctt-ticket {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
}

@media print {
	@page {
		size: A4;
		margin: 12mm;
	}

	.sctt-receipt-page,
	.sctt-checkin-page {
		background: #fff !important;
	}

	.sctt-document {
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.sctt-document__actions {
		display: none !important;
	}

	.sctt-ticket-list {
		grid-template-columns: 1fr;
	}

	.sctt-ticket {
		grid-template-columns: 1fr 190px;
		page-break-inside: avoid;
	}

	a[href]::after {
		content: none !important;
	}
}

/* Zone tariffarie v2.5 */
.sctt-tariff-zones {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 12px 0 0;
}

.sctt-tariff-zones span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border: 1px solid var(--sctt-border);
	border-radius: 999px;
	background: #f8fafb;
	font-size: 14px;
}

.sctt-selected-labels {
	line-height: 1.55;
}

.sctt-tariff-breakdown {
	margin: 20px 0;
}

.sctt-tariff-breakdown h2 {
	margin: 0 0 10px;
	font-size: 20px;
}

.sctt-tariff-breakdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sctt-border);
	border-radius: 8px;
	overflow: hidden;
}

.sctt-tariff-breakdown li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 10px 13px;
	border-bottom: 1px solid var(--sctt-border);
	background: #fff;
}

.sctt-tariff-breakdown li:last-child {
	border-bottom: 0;
}

.sctt-tariff-breakdown li strong {
	white-space: nowrap;
}

@media (max-width: 620px) {
    .sctt-tariff-zones span {
        width: 100%;
        justify-content: space-between;
    }

    .scr7 {
        gap: 18px !important;
    }

    .sctt-tariff-breakdown li {
        align-items: flex-start;
        font-size: 13px;
    }
}


/* =========================================================
   PAGAMENTO STRIPE E PERSONALIZZAZIONE BIGLIETTO v2.5
   ========================================================= */

.sctt-ticket-brand__image {
	display: block;
	width: auto;
	max-width: min(100%, 340px);
	max-height: 150px;
	margin: 0 auto 14px;
	object-fit: contain;
}

.sctt-ticket-brand__text {
	margin: 10px 0 0;
	color: var(--sctt-muted);
	font-size: 13px;
	font-weight: 600;
}

.sctt-ticket__brand-image {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 70px;
	margin: 0 0 9px;
	object-fit: contain;
}

.sctt-ticket__brand {
	margin-top: 9px !important;
	color: var(--sctt-muted);
	font-size: 12px;
	font-weight: 600;
}

.sctt-ticket__paid {
	display: inline-block;
	margin-top: 8px !important;
	padding: 4px 9px;
	border: 1px solid #087a3b;
	border-radius: 999px;
	color: #087a3b;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.sctt-payment-page {
	min-height: 100vh;
	background: #f5f7f8;
}

.sctt-payment-status {
	max-width: 760px;
}

.sctt-document-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 17px;
	border: 0;
	border-radius: 7px;
	background: var(--sctt-primary);
	color: #fff !important;
	font-weight: 750;
	text-decoration: none !important;
}

.sctt-document-button:hover,
.sctt-document-button:focus {
	filter: brightness(1.08);
	color: #fff !important;
}

@media (max-width: 760px) {
	.sctt-ticket__brand-image {
		margin-right: auto;
		margin-left: auto;
	}
}

@media print {
	.sctt-ticket-brand__image {
		max-width: 300px;
		max-height: 130px;
	}

	.sctt-ticket__brand-image {
		max-width: 170px;
		max-height: 65px;
	}

	.sctt-document-button {
		display: none !important;
	}
}

.sctt-ticket__event {
	margin: 0 0 3px !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.sctt-ticket__venue {
	margin: 0 0 5px !important;
	color: var(--sctt-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.sctt-ticket__date {
	margin: 0 0 8px !important;
	color: var(--sctt-muted);
	font-size: 12px;
	font-weight: 600;
}

/* =========================================================
   ABBONAMENTI v2.6
   ========================================================= */

.sctt-subscription-events {
	margin: 22px 0;
	padding: 18px;
	border: 1px solid var(--sctt-border);
	border-radius: 10px;
	background: #f8fafb;
}

.sctt-subscription-events h2 {
	margin: 0 0 12px;
	font-size: 20px;
}

.sctt-subscription-events ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sctt-subscription-events li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--sctt-border);
}

.sctt-subscription-events li:last-child {
	border-bottom: 0;
}

.sctt-ticket__subscriber {
	border-color: #135e96;
	color: #135e96;
}

@media (max-width: 620px) {
	.sctt-subscription-events li {
		align-items: flex-start;
		flex-direction: column;
	}

	.sctt-subscription-events .sctt-document-button {
		width: 100%;
	}
}

@media print {
	.sctt-subscription-events .sctt-document-button {
		display: none !important;
	}
}

/* =========================================================
   TARIFFE RIDOTTE, COMMISSIONE E UTILIZZATORI v2.7
   ========================================================= */

.sctt-tariff-zones {
	align-items: stretch;
}

.sctt-tariff-zone {
	flex-direction: column;
	align-items: flex-start !important;
	min-width: 190px;
	border-radius: 10px !important;
	line-height: 1.35;
}

.sctt-tariff-zone strong {
	width: 100%;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--sctt-border);
}

.sctt-tariff-zone small {
	display: block;
	color: var(--sctt-muted);
	font-size: 12px;
}

.sctt-app__fee-note {
	margin: 10px 0 0;
	color: var(--sctt-muted);
	font-size: 13px;
	font-weight: 600;
}

.sctt-ticket-options-wrap {
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid var(--sctt-border);
	border-radius: 11px;
	background: #f8fafb;
}

.sctt-ticket-options-wrap[hidden] {
	display: none !important;
}

.sctt-ticket-options-wrap h3 {
	margin: 0 0 4px;
	font-size: 19px;
}

.sctt-ticket-options-help {
	margin: 0 0 14px;
	color: var(--sctt-muted);
	font-size: 13px;
}

.sctt-ticket-options {
	display: grid;
	gap: 10px;
}

.sctt-ticket-option {
	display: grid;
	grid-template-columns: minmax(145px, 1.15fr) minmax(145px, 0.9fr) minmax(220px, 1.4fr) auto;
	align-items: end;
	gap: 12px;
	padding: 13px;
	border: 1px solid var(--sctt-border);
	border-radius: 9px;
	background: #fff;
}

.sctt-ticket-option.has-birth-date {
	grid-template-columns: minmax(135px, 1.05fr) minmax(135px, 0.85fr) minmax(210px, 1.3fr) minmax(155px, 0.9fr) auto;
}

.sctt-ticket-option__seat {
	align-self: center;
	font-weight: 800;
	line-height: 1.4;
}

.sctt-ticket-option__field {
	display: grid;
	gap: 5px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
}

.sctt-ticket-option__field select,
.sctt-ticket-option__field input {
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #bfc7d0;
	border-radius: 7px;
	background: #fff;
	color: var(--sctt-text);
	font: inherit;
	font-weight: 500;
}

.sctt-ticket-option__field select:focus,
.sctt-ticket-option__field input:focus {
	border-color: var(--sctt-primary);
	outline: 3px solid rgba(23, 76, 60, 0.12);
}

.sctt-ticket-option__price {
	align-self: center;
	min-width: 92px;
	text-align: right;
	color: var(--sctt-primary);
	font-weight: 850;
}

.sctt-ticket-option__field--birth input {
	min-width: 0;
}

.sctt-ticket-option__requirement {
	grid-column: 2 / -1;
	margin-top: -4px;
	color: var(--sctt-warning);
	font-weight: 650;
}

.sctt-reduced-declaration {
	margin: 18px 0;
	padding: 13px 15px;
	border: 1px solid #e5bf55;
	border-radius: 8px;
	background: #fff8db;
	font-size: 14px;
	line-height: 1.5;
}

.sctt-reduced-declaration[hidden] {
	display: none !important;
}

.sctt-reduced-declaration label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.sctt-reduced-declaration input {
	margin-top: 4px;
	flex: 0 0 auto;
}

@media (max-width: 820px) {
	.sctt-ticket-option,
	.sctt-ticket-option.has-birth-date {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sctt-ticket-option__seat,
	.sctt-ticket-option__requirement {
		grid-column: 1 / -1;
	}

	.sctt-ticket-option__price {
		text-align: left;
	}
}

@media (max-width: 560px) {
	.sctt-map-controls {
		align-items: stretch;
		flex-direction: column;
	}

	.sctt-map-toggle {
		width: 100%;
	}

	.sctt-tariff-zone {
		width: 100%;
		min-width: 0;
	}

	.sctt-ticket-options-wrap,
	.sctt-booker-section {
		padding: 13px;
	}

	.sctt-ticket-option,
	.sctt-ticket-option.has-birth-date {
		grid-template-columns: 1fr;
	}

	.sctt-ticket-option__seat,
	.sctt-ticket-option__requirement {
		grid-column: auto;
	}
}

@media print {
	.sctt-ticket-options-wrap,
	.sctt-reduced-declaration,
	.sctt-app__fee-note {
		display: none !important;
	}
}

/* ==========================================================
   SCOPRICOTRONEI
   TEATRO COMUNALE “PASQUALE FRAGALE”
   ========================================================== */


/* ==========================================================
   01. HOME TEATRO
   /teatro/
   ========================================================== */


/* ----------------------------------------------------------
   VARIABILI E CONTENITORE
   ---------------------------------------------------------- */

.sc-teatro-page {
    --sc-teatro-verde: var(--verde-principale, #264733);
    --sc-teatro-verde-hover: var(--verde-hover, #1f3a2a);
    --sc-teatro-oro: var(--oro-accento, #d9b46b);

    --sc-teatro-crema: #f7f4ea;
    --sc-teatro-crema-2: #fbfaf6;
    --sc-teatro-bianco: #ffffff;

    --sc-teatro-testo: var(--testo-principale, #2f2f2f);
    --sc-teatro-soft: var(--testo-secondario, #5f635f);

    --sc-teatro-bordo: rgba(38, 71, 51, 0.16);
    --sc-teatro-bordo-hover: rgba(38, 71, 51, 0.34);

    --sc-teatro-ombra: 0 16px 42px rgba(0, 0, 0, 0.08);
    --sc-teatro-ombra-soft: 0 8px 24px rgba(0, 0, 0, 0.045);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 56px;

    color: var(--sc-teatro-testo);

    box-sizing: border-box;
}


.sc-teatro-page *,
.sc-teatro-page *::before,
.sc-teatro-page *::after {
    box-sizing: border-box;
}


.sc-teatro-page a {
    text-decoration: none;
}


.sc-teatro-page a:focus-visible {
    outline: 3px solid rgba(38, 71, 51, 0.32);
    outline-offset: 3px;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.sc-teatro-hero {
    max-width: 980px;

    margin: 22px auto 34px;
    padding: 38px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            var(--sc-teatro-crema) 0%,
            var(--sc-teatro-crema-2) 100%
        );

    box-shadow: var(--sc-teatro-ombra);

    text-align: center;
}


.sc-teatro-hero-photo {
    display: block;

    width: 100%;

    margin: 0 auto 30px;

    border-radius: 24px;

    overflow: hidden;

    background: #ecebe6;

    line-height: 0;
}


.sc-teatro-hero-photo img {
    display: block;

    width: 100%;
    height: clamp(240px, 34vw, 390px);

    object-fit: cover;
    object-position: center;
}


/* ----------------------------------------------------------
   KICKER
   ---------------------------------------------------------- */

.sc-teatro-kicker,
.sc-teatro-section-head > span,
.sc-teatro-history-content > span,
.sc-teatro-contribute > span {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-teatro-verde);

    font-size: 12px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* ----------------------------------------------------------
   TITOLI HERO
   ---------------------------------------------------------- */

.sc-teatro-hero h1 {
    max-width: 900px;

    margin: 0 auto;

    color: var(--sc-teatro-verde);

    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 850;

    letter-spacing: -0.8px;
}


.sc-teatro-claim {
    max-width: 760px;

    margin: 18px auto 0;

    color: var(--sc-teatro-verde);

    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.35;
}


.sc-teatro-intro {
    max-width: 820px;

    margin: 20px auto 0;

    color: var(--sc-teatro-soft);

    font-size: 17px;
    line-height: 1.75;
}


/* ----------------------------------------------------------
   DATI RAPIDI HERO
   ---------------------------------------------------------- */

.sc-teatro-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 8px 22px;

    max-width: 720px;

    margin: 22px auto 0;
    padding: 13px 18px;

    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.72);

    color: var(--sc-teatro-soft);

    font-size: 14px;
    line-height: 1.45;
}


.sc-teatro-hero-meta strong {
    color: var(--sc-teatro-verde);
}


/* ----------------------------------------------------------
   NAVIGAZIONE RAPIDA HERO
   ---------------------------------------------------------- */

.sc-teatro-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;

    margin-top: 28px;
}


.sc-teatro-actions a,
.sc-teatro-actions a.sc-teatro-action-primary,
.sc-teatro-actions a.sc-teatro-action-secondary,
.sc-teatro-actions a.sc-teatro-action-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border: 1px solid rgba(38, 71, 51, 0.22);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-teatro-verde) !important;

    font-size: 14px;
    font-weight: 850;
    line-height: 1.15;

    text-align: center;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-teatro-actions a:hover,
.sc-teatro-actions a.sc-teatro-action-primary:hover,
.sc-teatro-actions a.sc-teatro-action-secondary:hover,
.sc-teatro-actions a.sc-teatro-action-booking:hover {
    border-color: var(--sc-teatro-verde);

    background: var(--sc-teatro-verde);

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 8px 18px rgba(38, 71, 51, 0.12);
}


/* ----------------------------------------------------------
   ACCESSO RAPIDO ORGANIZZATORI
   ---------------------------------------------------------- */

.sc-teatro-organizer-quick {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    max-width: 980px;

    margin: -10px auto 48px;
    padding: 22px 26px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 22px;

    background: #ffffff;

    box-shadow: var(--sc-teatro-ombra-soft);
}


.sc-teatro-organizer-quick-copy {
    flex: 1;
    min-width: 0;
}


.sc-teatro-organizer-quick-copy > span {
    display: block;

    margin-bottom: 6px;

    color: var(--sc-teatro-soft);

    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-teatro-organizer-quick-copy > strong {
    display: block;

    color: var(--sc-teatro-verde);

    font-size: 20px;
    line-height: 1.25;
    font-weight: 850;
}


.sc-teatro-organizer-quick-copy > p {
    max-width: 690px;

    margin: 7px 0 0;

    color: var(--sc-teatro-soft);

    font-size: 14px;
    line-height: 1.55;
}


.sc-teatro-organizer-quick > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 999px;

    background: var(--sc-teatro-verde);

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;
    line-height: 1;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-teatro-organizer-quick > a:hover {
    background: var(--sc-teatro-verde-hover);

    transform: translateY(-1px);

    box-shadow: 0 8px 18px rgba(38, 71, 51, 0.12);
}


/* ----------------------------------------------------------
   ACCESSI PRINCIPALI
   ---------------------------------------------------------- */

.sc-teatro-main-grid {
    display: grid;

    gap: 22px;

    max-width: 980px;

    margin: 0 auto 66px;
}


.sc-teatro-main-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.sc-teatro-main-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 250px;

    padding: 28px 26px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 26px;

    background: var(--sc-teatro-crema-2);

    color: var(--sc-teatro-testo);

    box-shadow: var(--sc-teatro-ombra-soft);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.sc-teatro-main-card:hover {
    border-color: var(--sc-teatro-bordo-hover);

    transform: translateY(-3px);

    box-shadow: var(--sc-teatro-ombra);
}


.sc-teatro-main-card-highlight {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #264733 0%,
            #1f3a2a 100%
        );

    color: #ffffff;
}


.sc-teatro-card-kicker {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 16px;
    padding: 6px 12px;

    border-radius: 999px;

    background: var(--sc-teatro-crema);

    color: var(--sc-teatro-verde);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-teatro-main-card-highlight .sc-teatro-card-kicker {
    background: rgba(255, 255, 255, 0.14);

    color: #ffffff;
}


.sc-teatro-main-card > strong {
    color: var(--sc-teatro-verde);

    font-size: 25px;
    line-height: 1.12;
    font-weight: 850;
}


.sc-teatro-main-card-highlight > strong {
    color: #ffffff;
}


.sc-teatro-main-card > small {
    margin-top: 12px;

    color: var(--sc-teatro-soft);

    font-size: 15px;
    line-height: 1.6;
}


.sc-teatro-main-card-highlight > small {
    color: rgba(255, 255, 255, 0.82);
}


.sc-teatro-main-card > b {
    margin-top: auto;
    padding-top: 22px;

    color: var(--sc-teatro-verde);

    font-size: 14px;
    font-weight: 850;
}


.sc-teatro-main-card-highlight > b {
    color: #ffffff;
}


/* ----------------------------------------------------------
   INTESTAZIONI SEZIONI
   ---------------------------------------------------------- */

.sc-teatro-season {
    margin: 0 auto 68px;
}


.sc-teatro-section-head {
    max-width: 830px;

    margin: 0 auto 32px;

    text-align: center;
}


.sc-teatro-section-head h2 {
    margin: 0;

    color: var(--sc-teatro-verde);

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 850;

    letter-spacing: -0.5px;
}


.sc-teatro-section-head p {
    max-width: 740px;

    margin: 14px auto 0;

    color: var(--sc-teatro-soft);

    font-size: 16px;
    line-height: 1.75;
}


/* ----------------------------------------------------------
   PRENOTAZIONI HOME
   ---------------------------------------------------------- */

.sc-teatro-booking-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(300px, 0.88fr);

    gap: 32px;

    max-width: 980px;

    margin: 0 auto 68px;
    padding: 36px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            #264733 0%,
            #1f3a2a 100%
        );

    color: #ffffff;

    box-shadow: var(--sc-teatro-ombra);
}


.sc-teatro-booking-copy > span {
    display: inline-flex;

    margin-bottom: 12px;
    padding: 7px 14px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.13);

    color: #ffffff;

    font-size: 12px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-teatro-booking-copy h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;
}


.sc-teatro-booking-copy p {
    margin: 15px 0 0;

    color: rgba(255, 255, 255, 0.83);

    font-size: 16px;
    line-height: 1.7;
}


.sc-teatro-booking-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}


.sc-teatro-booking-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-teatro-verde) !important;

    font-size: 14px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.sc-teatro-booking-actions a:last-child {
    border-color: rgba(255, 255, 255, 0.20);

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff !important;
}


.sc-teatro-booking-actions a:hover {
    transform: translateY(-1px);
}


.sc-teatro-booking-actions a:first-child:hover {
    background: var(--sc-teatro-crema);
}


.sc-teatro-booking-actions a:last-child:hover {
    background: rgba(255, 255, 255, 0.20);
}


.sc-teatro-booking-flow {
    display: grid;
    gap: 10px;
}


.sc-teatro-booking-flow > div {
    padding: 18px 19px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 19px;

    background: rgba(255, 255, 255, 0.08);
}


.sc-teatro-booking-flow b {
    display: block;

    margin-bottom: 7px;

    color: var(--sc-teatro-oro);

    font-size: 12px;
}


.sc-teatro-booking-flow strong {
    display: block;

    color: #ffffff;

    font-size: 17px;
}


.sc-teatro-booking-flow span {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   STAGIONE TEATRALE HOME
   ---------------------------------------------------------- */

.sc-teatro-season-box {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(280px, 0.8fr);

    gap: 28px;

    max-width: 980px;

    margin: 0 auto;
    padding: 30px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 30px;

    background: var(--sc-teatro-crema-2);
}


.sc-teatro-season-copy {
    align-self: center;
}


.sc-teatro-season-copy > span {
    color: var(--sc-teatro-verde);

    font-size: 12px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-teatro-season-copy h3 {
    margin: 10px 0 0;

    color: var(--sc-teatro-verde);

    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
}


.sc-teatro-season-copy p {
    margin: 14px 0 0;

    color: var(--sc-teatro-soft);

    font-size: 15px;
    line-height: 1.7;
}


.sc-teatro-season-copy > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-top: 22px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--sc-teatro-verde);

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-teatro-season-copy > a:hover {
    background: var(--sc-teatro-verde-hover);

    transform: translateY(-1px);
}


.sc-teatro-season-poster {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 370px;

    padding: 16px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 22px;

    overflow: hidden;

    background: #ffffff;

    cursor: pointer;
}


.sc-teatro-season-poster img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: 470px;

    object-fit: contain;
    object-position: center;

    transition: transform 0.3s ease;
}


.sc-teatro-season-poster:hover img {
    transform: scale(1.015);
}


/* ----------------------------------------------------------
   STORIA + ARCHIVIO HOME
   ---------------------------------------------------------- */

.sc-teatro-history {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(280px, 0.9fr);

    gap: 30px;

    max-width: 980px;

    margin: 0 auto 68px;

    align-items: stretch;
}


.sc-teatro-history-content {
    padding: 32px;
}


.sc-teatro-history-content h2,
.sc-teatro-contribute h2 {
    margin: 0;

    color: var(--sc-teatro-verde);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    font-weight: 850;
}


.sc-teatro-history-content p {
    margin: 14px 0 0;

    color: var(--sc-teatro-soft);

    font-size: 16px;
    line-height: 1.75;
}


.sc-teatro-history-content > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin-top: 22px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--sc-teatro-verde);

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-teatro-history-content > a:hover {
    background: var(--sc-teatro-verde-hover);

    transform: translateY(-1px);
}


.sc-teatro-history-media {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 320px;

    padding: 28px;

    border-radius: 28px;

    overflow: hidden;
    isolation: isolate;

    background: var(--sc-teatro-verde);

    color: #ffffff;
}


.sc-teatro-history-media-img {
    position: absolute;

    inset: 0;

    z-index: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}


.sc-teatro-history-media--photo::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to top,
            rgba(18, 38, 25, 0.96) 0%,
            rgba(18, 38, 25, 0.70) 45%,
            rgba(18, 38, 25, 0.12) 100%
        );
}


.sc-teatro-history-media > span,
.sc-teatro-history-media > strong {
    position: relative;
    z-index: 2;
}


.sc-teatro-history-media span {
    margin-bottom: 9px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-teatro-history-media strong {
    color: #ffffff;

    font-size: 22px;
    line-height: 1.35;
}


.sc-teatro-history-media--photo:hover .sc-teatro-history-media-img {
    transform: scale(1.04);
}



/* ----------------------------------------------------------
   TRADIZIONI E RICONOSCIMENTI
   Cantassieme / Premio Nazionale di Cabaret
   ---------------------------------------------------------- */

.sc-teatro-traditions {
    max-width: 980px;

    margin: 0 auto 68px;
}


.sc-teatro-traditions-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.sc-teatro-tradition-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 250px;

    padding: 28px 26px;

    border: 1px solid var(--sc-teatro-bordo);
    border-radius: 26px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--sc-teatro-crema-2) 0%,
            #ffffff 100%
        );

    color: var(--sc-teatro-testo);

    box-shadow: var(--sc-teatro-ombra-soft);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}


.sc-teatro-tradition-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 26px;
    right: 26px;

    height: 3px;

    border-radius: 0 0 999px 999px;

    background: var(--sc-teatro-oro);

    opacity: 0.88;
}


.sc-teatro-tradition-card:hover {
    border-color: var(--sc-teatro-bordo-hover);

    transform: translateY(-3px);

    box-shadow: var(--sc-teatro-ombra);
}


.sc-teatro-tradition-card > .sc-teatro-card-kicker {
    margin-bottom: 16px;
}


.sc-teatro-tradition-card > strong {
    color: var(--sc-teatro-verde);

    font-size: 25px;
    line-height: 1.16;
    font-weight: 850;
}


.sc-teatro-tradition-card > small {
    margin-top: 12px;

    color: var(--sc-teatro-soft);

    font-size: 15px;
    line-height: 1.6;
}


.sc-teatro-tradition-card > b {
    margin-top: auto;
    padding-top: 22px;

    color: var(--sc-teatro-verde);

    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
}


.sc-teatro-tradition-card:hover > b {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ----------------------------------------------------------
   CONTRIBUISCI HOME
   ---------------------------------------------------------- */

.sc-teatro-contribute {
    max-width: 900px;

    margin: 0 auto 10px;
    padding: 36px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            #264733 0%,
            #1f3a2a 100%
        );

    color: #ffffff;

    text-align: center;

    box-shadow: var(--sc-teatro-ombra);
}


.sc-teatro-contribute > span {
    border-color: transparent;

    background: rgba(255, 255, 255, 0.13);

    color: #ffffff;
}


.sc-teatro-contribute h2 {
    color: #ffffff;
}


.sc-teatro-contribute p {
    max-width: 700px;

    margin: 14px auto 24px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
    line-height: 1.7;
}


.sc-teatro-contribute > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-teatro-contribute > a:hover {
    background: rgba(255, 255, 255, 0.20);

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   HOME - TABLET
   ---------------------------------------------------------- */

@media (max-width: 980px) {

    .sc-teatro-booking-feature,
    .sc-teatro-season-box,
    .sc-teatro-history {
        grid-template-columns: 1fr;
    }

    .sc-teatro-main-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .sc-teatro-history-media {
        min-height: 360px;
    }

}


/* ----------------------------------------------------------
   HOME - MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .sc-teatro-page {
        padding: 0 16px 42px;
    }


    .sc-teatro-hero {
        margin-top: 12px;
        margin-bottom: 26px;

        padding: 18px 18px 24px;

        border-radius: 26px;
    }


    .sc-teatro-hero-photo {
        margin-bottom: 22px;

        border-radius: 19px;
    }


    .sc-teatro-hero-photo img {
        height: auto;

        aspect-ratio: 16 / 9;

        object-fit: cover;
    }


    .sc-teatro-kicker {
        margin-bottom: 10px;

        font-size: 10px;
    }


    .sc-teatro-hero h1 {
        font-size: clamp(32px, 9.5vw, 44px);
        line-height: 1.06;
    }


    .sc-teatro-claim {
        margin-top: 15px;

        font-size: 18px;
        line-height: 1.4;
    }


    .sc-teatro-intro {
        margin-top: 16px;

        font-size: 15px;
        line-height: 1.6;
    }


    .sc-teatro-hero-meta {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;

        width: 100%;

        margin-top: 18px;
        padding: 8px;

        border-radius: 15px;

        text-align: center;
    }


    .sc-teatro-hero-meta span {
        padding: 8px 4px;

        font-size: 12px;
        line-height: 1.35;
    }


    .sc-teatro-hero-meta strong {
        display: block;

        margin-bottom: 2px;
    }


    .sc-teatro-actions {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 9px;

        width: 100%;

        margin-top: 20px;
    }


    .sc-teatro-actions a {
        width: 100%;

        min-height: 52px;

        padding: 8px 10px;

        border-radius: 16px;

        font-size: 12px;
        line-height: 1.2;

        white-space: normal;
    }


    .sc-teatro-organizer-quick {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;

        margin: 0 auto 34px;
        padding: 20px;

        border-radius: 20px;
    }


    .sc-teatro-organizer-quick-copy > strong {
        font-size: 19px;
    }


    .sc-teatro-organizer-quick-copy > p {
        font-size: 13px;
        line-height: 1.55;
    }


    .sc-teatro-organizer-quick > a {
        width: 100%;

        min-height: 48px;
    }


    .sc-teatro-main-grid--four {
        display: flex;

        gap: 14px;

        max-width: none;

        margin-left: -16px;
        margin-right: -16px;
        margin-bottom: 48px;

        padding: 0 16px 10px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .sc-teatro-main-grid--four::-webkit-scrollbar {
        display: none;
    }


    .sc-teatro-main-grid--four .sc-teatro-main-card {
        flex: 0 0 min(82vw, 340px);

        min-height: 220px;

        padding: 24px 22px;

        border-radius: 23px;

        scroll-snap-align: start;
    }


    .sc-teatro-main-card > strong {
        font-size: 23px;
    }


    .sc-teatro-main-card > small {
        font-size: 14px;
        line-height: 1.55;
    }


    .sc-teatro-main-card > b {
        padding-top: 18px;
    }


    .sc-teatro-booking-feature {
        grid-template-columns: 1fr;

        gap: 24px;

        margin-bottom: 52px;
        padding: 25px 21px;

        border-radius: 27px;
    }


    .sc-teatro-booking-copy h2 {
        font-size: 31px;
    }


    .sc-teatro-booking-copy p {
        font-size: 15px;
        line-height: 1.6;
    }


    .sc-teatro-booking-actions {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;

        width: 100%;
    }


    .sc-teatro-booking-actions a {
        width: 100%;

        min-height: 50px;

        padding: 8px 10px;

        font-size: 12px;
        line-height: 1.2;

        text-align: center;
    }


    .sc-teatro-booking-flow {
        gap: 8px;
    }


    .sc-teatro-booking-flow > div {
        padding: 15px 16px;

        border-radius: 16px;
    }


    .sc-teatro-booking-flow strong {
        font-size: 16px;
    }


    .sc-teatro-section-head {
        margin-bottom: 23px;
    }


    .sc-teatro-section-head h2 {
        font-size: 32px;
    }


    .sc-teatro-section-head p {
        font-size: 15px;
        line-height: 1.6;
    }


    .sc-teatro-season {
        margin-bottom: 52px;
    }


    .sc-teatro-season-box {
        grid-template-columns: 1fr;

        gap: 24px;

        padding: 21px;

        border-radius: 25px;
    }


    .sc-teatro-season-copy h3 {
        font-size: 29px;
    }


    .sc-teatro-season-copy > a {
        width: 100%;
        min-height: 48px;
    }


    .sc-teatro-season-poster {
        min-height: auto;

        padding: 10px;

        border-radius: 19px;
    }


    .sc-teatro-season-poster img {
        height: auto;
        max-height: none;
    }


    .sc-teatro-history {
        grid-template-columns: 1fr;

        gap: 24px;

        margin-bottom: 52px;
    }


    .sc-teatro-history-content {
        padding: 4px;
    }


    .sc-teatro-history-content h2 {
        font-size: 31px;
    }


    .sc-teatro-history-content p {
        font-size: 15px;
        line-height: 1.65;
    }


    .sc-teatro-history-content > a {
        width: 100%;
        min-height: 48px;
    }


    .sc-teatro-history-media {
        min-height: 290px;

        padding: 22px;

        border-radius: 23px;
    }


    .sc-teatro-history-media strong {
        font-size: 20px;
    }


    .sc-teatro-traditions {
        margin-bottom: 52px;
    }


    .sc-teatro-traditions-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .sc-teatro-tradition-card {
        min-height: 220px;

        padding: 24px 22px;

        border-radius: 23px;
    }


    .sc-teatro-tradition-card::before {
        left: 22px;
        right: 22px;
    }


    .sc-teatro-tradition-card > strong {
        font-size: 23px;
    }


    .sc-teatro-tradition-card > small {
        font-size: 14px;
        line-height: 1.55;
    }


    .sc-teatro-tradition-card > b {
        padding-top: 18px;
    }


    .sc-teatro-contribute {
        margin-top: 0;

        padding: 26px 21px;

        border-radius: 27px;
    }


    .sc-teatro-contribute h2 {
        font-size: 30px;
    }


    .sc-teatro-contribute p {
        font-size: 15px;
        line-height: 1.6;
    }


    .sc-teatro-contribute > a {
        width: 100%;
        min-height: 48px;
    }

}


/* ----------------------------------------------------------
   HOME - TELEFONI PICCOLI
   ---------------------------------------------------------- */

@media (max-width: 390px) {

    .sc-teatro-page {
        padding-left: 12px;
        padding-right: 12px;
    }


    .sc-teatro-hero {
        padding-left: 14px;
        padding-right: 14px;
    }


    .sc-teatro-actions {
        gap: 7px;
    }


    .sc-teatro-actions a {
        min-height: 50px;

        padding-left: 7px;
        padding-right: 7px;

        font-size: 11px;
    }


    .sc-teatro-main-grid--four {
        margin-left: -12px;
        margin-right: -12px;

        padding-left: 12px;
        padding-right: 12px;

        scroll-padding-left: 12px;
    }


    .sc-teatro-main-grid--four .sc-teatro-main-card {
        flex-basis: 86vw;
    }


    .sc-teatro-booking-actions {
        grid-template-columns: 1fr;
    }

}




/* ==========================================================
   02. PAGINA STAGIONE TEATRALE
   /teatro/stagione-teatrale/
   ========================================================== */


/* ----------------------------------------------------------
   VARIABILI E CONTENITORE
   ---------------------------------------------------------- */

.sc-season-wrapper {
    --sc-season-verde: var(--verde-principale, #264733);
    --sc-season-verde-hover: var(--verde-hover, #1f3a2a);
    --sc-season-oro: var(--oro-accento, #d9b46b);

    --sc-season-crema: #f7f4ea;
    --sc-season-crema-2: #fbfaf6;

    --sc-season-testo: var(--testo-principale, #2f2f2f);
    --sc-season-soft: var(--testo-secondario, #5f635f);

    --sc-season-border: rgba(38, 71, 51, 0.16);

    --sc-season-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
    --sc-season-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.045);

    width: 100%;
    max-width: 0, 0, 0.045);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 60px;

    box-sizing: border-box;
}


.sc-season-wrapper *,
.sc-season-wrapper *::before,
.sc-season-wrapper *::after {
    box-sizing: border-box;
}


.sc-season-wrapper a {
    text-decoration: none;
}


.sc-season-wrapper a:focus-visible {
    outline: 3px solid rgba(38, 71, 51, 0.30);
    outline-offset: 3px;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.sc-season-hero {
    max-width: 980px;

    margin: 22px auto 58px;
    padding: 48px 38px;

    border: 1px solid var(--sc-season-border);
    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            var(--sc-season-crema) 0%,
            var(--sc-season-crema-2) 100%
        );

    box-shadow: var(--sc-season-shadow);

    text-align: center;
}


.sc-season-kicker,
.sc-season-section-head > span,
.sc-season-seats-copy > span,
.sc-season-organization > div:first-child > span {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-season-verde);

    font-size: 11px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-season-hero h1 {
    margin: 0;

    color: var(--sc-season-verde);

    font-size: clamp(38px, 6vw, 66px);
    line-height: 1;
    font-weight: 850;

    letter-spacing: -1px;
}


.sc-season-lead {
    max-width: 760px;

    margin: 18px auto 0;

    color: var(--sc-season-verde);

    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.35;
}


.sc-season-intro {
    max-width: 760px;

    margin: 18px auto 0;

    color: var(--sc-season-soft);

    font-size: 16px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   NAVIGAZIONE RAPIDA
   ---------------------------------------------------------- */

.sc-season-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-top: 28px;
}


.sc-season-actions a,
.sc-season-actions a.sc-season-action-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid rgba(38, 71, 51, 0.22);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-season-verde) !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.sc-season-actions a:hover,
.sc-season-actions a.sc-season-action-primary:hover {
    border-color: var(--sc-season-verde);

    background: var(--sc-season-verde);

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   STAGIONE CORRENTE
   ---------------------------------------------------------- */

.sc-season-current {
    max-width: 980px;

    margin: 0 auto 70px;
}


.sc-season-current-head {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: end;

    gap: 32px;

    margin-bottom: 28px;
}


.sc-season-status {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 6px 12px;

    border-radius: 999px;

    background: var(--sc-season-crema);

    color: var(--sc-season-verde);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-season-current-head h2 {
    margin: 0;

    color: var(--sc-season-verde);

    font-size: clamp(32px, 4.5vw, 50px);
    line-height: 1.08;
    font-weight: 850;
}


.sc-season-current-head p {
    max-width: 670px;

    margin: 13px 0 0;

    color: var(--sc-season-soft);

    font-size: 16px;
    line-height: 1.7;
}


.sc-season-current-meta {
    display: flex;

    gap: 8px;
}


.sc-season-current-meta > div {
    min-width: 92px;

    padding: 14px 12px;

    border: 1px solid var(--sc-season-border);
    border-radius: 17px;

    background: #ffffff;

    text-align: center;
}


.sc-season-current-meta strong {
    display: block;

    color: var(--sc-season-verde);

    font-size: 17px;
    font-weight: 850;
}


.sc-season-current-meta span {
    display: block;

    margin-top: 3px;

    color: var(--sc-season-soft);

    font-size: 10px;
    line-height: 1.25;
}


/* ----------------------------------------------------------
   PRESENTAZIONE STAGIONE
   ---------------------------------------------------------- */

.sc-season-overview {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(280px, 0.9fr);

    gap: 30px;

    padding: 32px;

    border: 1px solid var(--sc-season-border);
    border-radius: 30px;

    background: var(--sc-season-crema-2);
}


.sc-season-overview-copy {
    align-self: center;
}


.sc-season-label {
    color: var(--sc-season-verde);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-season-overview-copy h3 {
    margin: 9px 0 0;

    color: var(--sc-season-verde);

    font-size: clamp(27px, 3.5vw, 38px);
    line-height: 1.12;
}


.sc-season-overview-copy p {
    margin: 14px 0 0;

    color: var(--sc-season-soft);

    font-size: 15px;
    line-height: 1.7;
}


.sc-season-overview-copy p strong {
    color: var(--sc-season-testo);
}


.sc-season-overview-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}


.sc-season-overview-actions a,
.sc-season-seats > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid var(--sc-season-verde);
    border-radius: 999px;

    background: var(--sc-season-verde);

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-season-overview-actions a:hover,
.sc-season-seats > a:hover {
    background: var(--sc-season-verde-hover);

    transform: translateY(-1px);
}


.sc-season-overview-actions .sc-season-button-outline {
    border-color: var(--sc-season-border);

    background: #ffffff;

    color: var(--sc-season-verde) !important;
}


.sc-season-overview-actions .sc-season-button-outline:hover {
    border-color: var(--sc-season-verde);

    background: var(--sc-season-verde);

    color: #ffffff !important;
}


/* ----------------------------------------------------------
   LOCANDINA STAGIONE
   ---------------------------------------------------------- */

.sc-season-poster {
    position: relative;

    display: block;

    align-self: stretch;

    padding: 12px;

    border: 1px solid var(--sc-season-border);
    border-radius: 23px;

    overflow: hidden;

    background: #ffffff;

    cursor: zoom-in;
}


.sc-season-poster img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: 540px;

    object-fit: contain;

    transition: transform 0.3s ease;
}


.sc-season-poster:hover img {
    transform: scale(1.015);
}


.sc-season-poster-zoom {
    position: absolute;

    right: 20px;
    bottom: 20px;

    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(38, 71, 51, 0.94);

    color: #ffffff;

    font-size: 11px;
    font-weight: 850;
}


/* ----------------------------------------------------------
   LIGHTBOX LOCANDINE
   ---------------------------------------------------------- */

.sc-season-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}


.sc-season-lightbox.is-open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}


.sc-season-lightbox-backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;
    border: 0;

    background: rgba(0, 0, 0, 0.88);

    cursor: zoom-out;
}


.sc-season-lightbox-content {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: min(900px, 94vw);
    max-height: 92vh;
}


.sc-season-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 84vh;

    width: auto;
    height: auto;

    border-radius: 12px;

    background: #ffffff;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}


.sc-season-lightbox-close {
    position: absolute;

    top: -18px;
    right: -18px;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #ffffff;

    color: #222222;

    font-size: 29px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.24);
}


.sc-season-lightbox-title {
    margin-top: 12px;
    padding: 7px 13px;

    border-radius: 999px;

    background: rgba(0, 0, 0, 0.58);

    color: #ffffff;

    font-size: 12px;
    font-weight: 750;

    text-align: center;
}


body.sc-season-lightbox-open {
    overflow: hidden;
}


/* ----------------------------------------------------------
   TESTATE SEZIONI
   ---------------------------------------------------------- */

.sc-season-section-head {
    max-width: 800px;

    margin: 0 auto 30px;

    text-align: center;
}


.sc-season-section-head h2,
.sc-season-seats-copy h2,
.sc-season-organization h2 {
    margin: 0;

    color: var(--sc-season-verde);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;
}


.sc-season-section-head p {
    max-width: 700px;

    margin: 13px auto 0;

    color: var(--sc-season-soft);

    font-size: 15px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   PROGRAMMA
   ---------------------------------------------------------- */

.sc-season-program {
    max-width: 900px;

    margin: 0 auto 72px;
}


.sc-season-program-list {
    display: grid;

    gap: 12px;
}


.sc-season-event {
    display: grid;

    grid-template-columns:
        92px
        minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    padding: 18px 22px;

    border: 1px solid var(--sc-season-border);
    border-radius: 22px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-season-event:hover {
    border-color: rgba(38, 71, 51, 0.30);

    transform: translateY(-1px);

    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.045);
}


.sc-season-event-date {
    padding: 12px 8px;

    border-radius: 16px;

    background: var(--sc-season-crema);

    text-align: center;
}


.sc-season-event-date strong {
    display: block;

    color: var(--sc-season-verde);

    font-size: 30px;
    line-height: 0.95;
    font-weight: 850;
}


.sc-season-event-date span {
    display: block;

    margin-top: 5px;

    color: var(--sc-season-verde);

    font-size: 12px;
    font-weight: 850;
}


.sc-season-event-date small {
    display: block;

    margin-top: 2px;

    color: var(--sc-season-soft);

    font-size: 10px;
}


.sc-season-event-type {
    color: var(--sc-season-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-season-event-content h3 {
    margin: 4px 0 0;

    color: var(--sc-season-verde);

    font-size: 22px;
    line-height: 1.2;
}


.sc-season-event-content p {
    margin: 6px 0 0;

    color: var(--sc-season-soft);

    font-size: 14px;
    line-height: 1.55;
}


/* ----------------------------------------------------------
   ORGANIZZAZIONE
   ---------------------------------------------------------- */

.sc-season-organization {
    max-width: 900px;

    margin: 0 auto 70px;
    padding: 30px;

    border-radius: 28px;

    background: var(--sc-season-crema);
}


.sc-season-organization > div:first-child {
    margin-bottom: 22px;

    text-align: center;
}


.sc-season-organization-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.sc-season-organization-grid > div {
    padding: 18px;

    border: 1px solid var(--sc-season-border);
    border-radius: 17px;

    background: #ffffff;
}


.sc-season-organization-grid span {
    display: block;

    margin-bottom: 6px;

    color: var(--sc-season-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.sc-season-organization-grid strong {
    color: var(--sc-season-verde);

    font-size: 15px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   RIMANDO MAPPA E POSTI
   ---------------------------------------------------------- */

.sc-season-seats {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    max-width: 900px;

    margin: 0 auto 72px;
    padding: 28px 30px;

    border: 1px solid var(--sc-season-border);
    border-radius: 26px;

    background: #ffffff;

    box-shadow: var(--sc-season-shadow-soft);
}


.sc-season-seats-copy p {
    max-width: 640px;

    margin: 11px 0 0;

    color: var(--sc-season-soft);

    font-size: 14px;
    line-height: 1.6;
}


.sc-season-seats > a {
    flex: 0 0 auto;

    white-space: nowrap;
}


/* ----------------------------------------------------------
   ARCHIVIO STAGIONI
   ---------------------------------------------------------- */

.sc-season-archive {
    max-width: 900px;

    margin: 0 auto 74px;
}


.sc-season-archive-list {
    display: grid;

    gap: 18px;
}


.sc-season-archive-season {
    display: grid;

    grid-template-columns:
        190px
        minmax(0, 1fr);

    gap: 26px;

    padding: 22px;

    border: 1px solid var(--sc-season-border);
    border-radius: 26px;

    background: var(--sc-season-crema-2);

    box-shadow: var(--sc-season-shadow-soft);
}


/* LOCANDINA ARCHIVIO */

.sc-season-archive-poster {
    position: relative;

    align-self: start;

    overflow: hidden;

    border: 1px solid var(--sc-season-border);
    border-radius: 18px;

    background: #ffffff;

    line-height: 0;
}


.sc-season-archive-poster-link {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    cursor: zoom-in;

    line-height: 0;
}


.sc-season-archive-poster img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 2 / 3;

    object-fit: contain;
    object-position: center;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


.sc-season-archive-poster-link:hover img {
    transform: scale(1.025);

    filter: brightness(0.92);
}


.sc-season-archive-poster-zoom {
    position: absolute;

    right: 10px;
    bottom: 10px;

    z-index: 2;

    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(38, 71, 51, 0.94);

    color: #ffffff;

    font-size: 9px;
    font-weight: 850;
    line-height: 1;

    opacity: 0;

    transform: translateY(4px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.sc-season-archive-poster-link:hover .sc-season-archive-poster-zoom {
    opacity: 1;

    transform: translateY(0);
}


/* CONTENUTO ARCHIVIO */

.sc-season-archive-info {
    min-width: 0;
}


.sc-season-archive-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}


.sc-season-archive-edition {
    display: block;

    color: var(--sc-season-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-season-archive-heading h3 {
    margin: 4px 0 0;

    color: var(--sc-season-verde);

    font-size: 42px;
    line-height: 1;
    font-weight: 850;
}


.sc-season-archive-period {
    flex: 0 0 auto;

    padding: 7px 11px;

    border: 1px solid var(--sc-season-border);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-season-verde);

    font-size: 11px;
    font-weight: 800;
}


.sc-season-archive-summary {
    max-width: 600px;

    margin: 14px 0 0;

    color: var(--sc-season-soft);

    font-size: 14px;
    line-height: 1.65;
}


/* PROGRAMMA APRIBILE */

.sc-season-archive-details {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid var(--sc-season-border);
}


.sc-season-archive-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    cursor: pointer;

    color: var(--sc-season-verde);

    font-size: 13px;
    font-weight: 850;

    list-style: none;
}


.sc-season-archive-details summary::-webkit-details-marker {
    display: none;
}


.sc-season-archive-details summary::after {
    content: "+";

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: var(--sc-season-verde);

    color: #ffffff;

    font-size: 18px;
    line-height: 1;
}


.sc-season-archive-details[open] summary::after {
    content: "−";
}


.sc-season-archive-program {
    display: grid;

    gap: 7px;

    margin-top: 16px;
}


.sc-season-archive-program > div {
    display: grid;

    grid-template-columns:
        92px
        minmax(0, 1fr);

    column-gap: 14px;
    row-gap: 2px;

    padding: 11px 13px;

    border-radius: 13px;

    background: #ffffff;
}


.sc-season-archive-program time {
    grid-row: 1 / 3;

    color: var(--sc-season-verde);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
}


.sc-season-archive-program strong {
    color: var(--sc-season-verde);

    font-size: 14px;
    line-height: 1.3;
}


.sc-season-archive-program span {
    color: var(--sc-season-soft);

    font-size: 12px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   CARICA ALTRE STAGIONI
   ---------------------------------------------------------- */

.sc-season-archive-season.is-archive-hidden {
    display: none;
}


.sc-season-archive-season.is-archive-revealed {
    animation: scSeasonArchiveReveal 0.38s ease both;
}


@keyframes scSeasonArchiveReveal {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.sc-season-loadmore-wrap {
    max-width: 900px;

    margin: 28px auto 0;

    text-align: center;
}


.sc-season-loadmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    border: 1px solid var(--sc-season-verde);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-season-verde);

    font: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-season-loadmore:hover {
    background: var(--sc-season-verde);

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(38, 71, 51, 0.12);
}


.sc-season-loadmore[hidden] {
    display: none !important;
}


.sc-season-loadmore-note {
    max-width: 570px;

    margin: 12px auto 0;

    color: var(--sc-season-soft);

    font-size: 11px;
    line-height: 1.55;
}


/* ----------------------------------------------------------
   ALTRE SEZIONI
   ---------------------------------------------------------- */

.sc-season-more {
    max-width: 980px;

    margin: 0 auto;
}


.sc-season-more-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.sc-season-more-grid > a {
    display: flex;
    flex-direction: column;

    min-height: 175px;

    padding: 20px;

    border: 1px solid var(--sc-season-border);
    border-radius: 20px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.sc-season-more-grid > a:hover {
    border-color: rgba(38, 71, 51, 0.32);

    transform: translateY(-2px);

    box-shadow: var(--sc-season-shadow-soft);
}


.sc-season-more-grid small {
    color: var(--sc-season-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-season-more-grid strong {
    margin-top: 7px;

    color: var(--sc-season-verde);

    font-size: 19px;
    line-height: 1.2;
}


.sc-season-more-grid span {
    margin-top: auto;
    padding-top: 18px;

    color: var(--sc-season-verde);

    font-size: 12px;
    font-weight: 850;
}


/* ----------------------------------------------------------
   STAGIONE - TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .sc-season-current-head,
    .sc-season-overview {
        grid-template-columns: 1fr;
    }


    .sc-season-current-meta {
        justify-content: flex-start;
    }


    .sc-season-organization-grid {
        grid-template-columns: 1fr;
    }


    .sc-season-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   STAGIONE - MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .sc-season-wrapper {
        padding: 0 16px 44px;
    }


    .sc-season-hero {
        margin-top: 12px;
        margin-bottom: 44px;

        padding: 32px 20px;

        border-radius: 27px;
    }


    .sc-season-hero h1 {
        font-size: 40px;
    }


    .sc-season-lead {
        font-size: 19px;
    }


    .sc-season-intro {
        font-size: 15px;
        line-height: 1.6;
    }


    .sc-season-actions {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    width: 100%;
}


.sc-season-actions a,
.sc-season-actions a.sc-season-action-primary {
    width: 100%;

    min-height: 50px;

    padding: 8px 10px;

    border-radius: 18px;

    font-size: 11px;
    line-height: 1.2;

    text-align: center;
}


    .sc-season-current-head {
        gap: 20px;
    }


    .sc-season-current-head h2 {
        font-size: 34px;
    }


    .sc-season-current-meta {
        display: grid;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        width: 100%;
    }


    .sc-season-current-meta > div {
        min-width: 0;

        padding: 12px 6px;
    }


    .sc-season-current-meta strong {
        font-size: 14px;
    }


    .sc-season-overview {
        gap: 24px;

        padding: 21px;

        border-radius: 24px;
    }


    .sc-season-overview-copy h3 {
        font-size: 29px;
    }


    .sc-season-overview-actions {
        display: grid;

        grid-template-columns: 1fr;
    }


    .sc-season-overview-actions a {
        width: 100%;
    }


    .sc-season-poster {
        padding: 8px;

        border-radius: 18px;
    }


    .sc-season-poster img {
        height: auto;
        max-height: none;
    }


    .sc-season-poster-zoom {
        right: 14px;
        bottom: 14px;

        font-size: 10px;
    }


    .sc-season-lightbox {
        padding: 14px;
    }


    .sc-season-lightbox-content {
        max-width: 96vw;
    }


    .sc-season-lightbox-content img {
        max-height: 82vh;
    }


    .sc-season-lightbox-close {
        top: -12px;
        right: -5px;

        width: 38px;
        height: 38px;

        font-size: 26px;
    }


    .sc-season-lightbox-title {
        font-size: 11px;
    }


    .sc-season-program {
        margin-bottom: 58px;
    }


    .sc-season-event {
        grid-template-columns:
            67px
            minmax(0, 1fr);

        gap: 15px;

        padding: 15px;

        border-radius: 18px;
    }


    .sc-season-event-date {
        padding: 10px 5px;
    }


    .sc-season-event-date strong {
        font-size: 25px;
    }


    .sc-season-event-content h3 {
        font-size: 19px;
    }


    .sc-season-event-content p {
        font-size: 13px;
    }


    .sc-season-organization {
        padding: 22px;

        border-radius: 24px;
    }


    .sc-season-seats {
        flex-direction: column;
        align-items: stretch;

        padding: 23px 21px;

        border-radius: 23px;
    }


    .sc-season-seats > a {
        width: 100%;
    }


    .sc-season-archive-season {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        gap: 15px;

        padding: 15px;

        border-radius: 20px;
    }


    .sc-season-archive-poster {
        border-radius: 13px;
    }


    .sc-season-archive-poster-zoom {
        right: 7px;
        bottom: 7px;

        padding: 6px 8px;

        font-size: 8px;

        opacity: 1;

        transform: none;
    }


    .sc-season-archive-heading {
        display: block;
    }


    .sc-season-archive-heading h3 {
        font-size: 32px;
    }


    .sc-season-archive-period {
        display: inline-flex;

        margin-top: 8px;
        padding: 5px 8px;

        font-size: 9px;
    }


    .sc-season-archive-summary {
        margin-top: 10px;

        font-size: 12px;
        line-height: 1.5;
    }


    .sc-season-archive-details {
        margin-top: 14px;
    }


    .sc-season-archive-program > div {
        grid-template-columns:
            76px
            minmax(0, 1fr);

        column-gap: 10px;

        padding: 10px;
    }


    .sc-season-archive-program time {
        font-size: 10px;
    }


    .sc-season-archive-program strong {
        font-size: 13px;
    }


    .sc-season-archive-program span {
        font-size: 11px;
    }


    .sc-season-loadmore-wrap {
        margin-top: 22px;
    }


    .sc-season-loadmore {
        width: 100%;

        min-height: 52px;
    }


    .sc-season-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .sc-season-more-grid > a {
        min-height: 150px;

        padding: 17px;
    }


    .sc-season-more-grid strong {
        font-size: 17px;
    }

}


/* ----------------------------------------------------------
   STAGIONE - TELEFONI PICCOLI
   ---------------------------------------------------------- */

@media (max-width: 390px) {

    .sc-season-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }


    .sc-season-actions a {
        font-size: 10px;
    }


    .sc-season-archive-season {
        grid-template-columns:
            88px
            minmax(0, 1fr);

        gap: 12px;
    }


    .sc-season-archive-heading h3 {
        font-size: 29px;
    }


    .sc-season-more-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   03. PAGINA LA SALA
   /teatro/la-sala/
   ========================================================== */


/* ----------------------------------------------------------
   CONTENITORE E VARIABILI
   ---------------------------------------------------------- */

.sc-room-wrapper {
    --sc-room-verde: var(--verde-principale, #264733);
    --sc-room-verde-hover: var(--verde-hover, #1f3a2a);
    --sc-room-oro: var(--oro-accento, #d9b46b);

    --sc-room-crema: #f7f4ea;
    --sc-room-crema-2: #fbfaf6;
    --sc-room-bianco: #ffffff;

    --sc-room-testo: var(--testo-principale, #2f2f2f);
    --sc-room-soft: var(--testo-secondario, #5f635f);

    --sc-room-border: rgba(38, 71, 51, 0.15);
    --sc-room-border-soft: rgba(38, 71, 51, 0.09);

    --sc-room-shadow: 0 16px 42px rgba(0, 0, 0, 0.075);
    --sc-room-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.045);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 60px;

    color: var(--sc-room-testo);

    box-sizing: border-box;
}


.sc-room-wrapper *,
.sc-room-wrapper *::before,
.sc-room-wrapper *::after {
    box-sizing: border-box;
}


.sc-room-page {
    width: 100%;
}


.sc-room-wrapper a {
    text-decoration: none;
}


.sc-room-wrapper img {
    max-width: 100%;
}


.sc-room-wrapper a:focus-visible {
    outline: 3px solid rgba(38, 71, 51, 0.30);
    outline-offset: 3px;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.sc-room-hero {
    width: 100%;
    max-width: 980px;

    margin: 22px auto 28px;
    padding: 44px 38px;

    border: 1px solid var(--sc-room-border);
    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            var(--sc-room-crema) 0%,
            var(--sc-room-crema-2) 100%
        );

    box-shadow: var(--sc-room-shadow);

    text-align: center;
}


.sc-room-kicker,
.sc-room-section-head > span,
.sc-room-location-kicker,
.sc-room-booking-copy > span {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-room-verde);

    font-size: 11px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-room-hero h1 {
    margin: 0;

    color: var(--sc-room-verde);

    font-size: clamp(40px, 6vw, 66px);
    line-height: 1;
    font-weight: 850;

    letter-spacing: -1px;
}


.sc-room-lead {
    max-width: 760px;

    margin: 18px auto 0;

    color: var(--sc-room-verde);

    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.35;
}


.sc-room-intro {
    max-width: 760px;

    margin: 16px auto 0;

    color: var(--sc-room-soft);

    font-size: 16px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   NAVIGAZIONE HERO
   ---------------------------------------------------------- */

.sc-room-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;

    margin-top: 27px;
}


.sc-room-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 19px;

    border: 1px solid rgba(38, 71, 51, 0.22);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-room-verde) !important;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;

    text-align: center;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.sc-room-actions a:hover {
    border-color: var(--sc-room-verde);

    background: var(--sc-room-verde);

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   FOTO DELLA SALA
   ---------------------------------------------------------- */

.sc-room-main-photo {
    width: 100%;
    max-width: 980px;

    margin: 0 auto 52px;

    overflow: hidden;

    border: 1px solid var(--sc-room-border);
    border-radius: 28px;

    background: #ffffff;

    box-shadow: var(--sc-room-shadow-soft);
}


.sc-room-main-photo img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
    object-position: center;

    margin: 0;
}


.sc-room-main-photo figcaption {
    margin: 0;
    padding: 10px 17px;

    border-top: 1px solid var(--sc-room-border-soft);

    color: var(--sc-room-soft);

    font-size: 11px;
    line-height: 1.4;

    text-align: center;
}


/* ----------------------------------------------------------
   DOVE SIAMO
   ---------------------------------------------------------- */

.sc-room-location {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 30px;

    width: 100%;
    max-width: 900px;

    margin: 0 auto 58px;
    padding: 29px 31px;

    border: 1px solid var(--sc-room-border);
    border-radius: 26px;

    background: var(--sc-room-crema-2);

    scroll-margin-top: 100px;
}


.sc-room-location-copy {
    min-width: 0;
}


.sc-room-location-copy h2 {
    margin: 0;

    color: var(--sc-room-verde);

    font-size: clamp(28px, 4vw, 38px);
    font-weight: 850;
    line-height: 1.1;

    letter-spacing: -0.4px;
}


.sc-room-location-copy p {
    margin: 11px 0 0;

    color: var(--sc-room-soft);

    font-size: 14px;
    line-height: 1.65;
}


.sc-room-location-copy p strong {
    color: var(--sc-room-verde);
}


.sc-room-location-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border-radius: 999px;

    background: var(--sc-room-verde);

    color: #ffffff !important;

    font-size: 12px;
    font-weight: 850;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-room-location-action a:hover {
    background: var(--sc-room-verde-hover);

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   TESTATE DELLE SEZIONI
   ---------------------------------------------------------- */

.sc-room-section-head {
    max-width: 820px;

    margin: 0 auto 27px;

    text-align: center;
}


.sc-room-section-head h2 {
    margin: 0;

    color: var(--sc-room-verde);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;

    letter-spacing: -0.5px;
}


.sc-room-section-head p {
    max-width: 700px;

    margin: 12px auto 0;

    color: var(--sc-room-soft);

    font-size: 15px;
    line-height: 1.68;
}


.sc-room-section-head p strong {
    color: var(--sc-room-verde);
}


/* ----------------------------------------------------------
   CAPIENZA
   ---------------------------------------------------------- */

.sc-room-capacity {
    width: 100%;
    max-width: 980px;

    margin: 0 auto 62px;
}


.sc-room-capacity-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 13px;
}


.sc-room-capacity-card {
    min-width: 0;

    padding: 25px 18px;

    border: 1px solid var(--sc-room-border);
    border-radius: 22px;

    background: #ffffff;

    box-shadow: var(--sc-room-shadow-soft);

    text-align: center;
}


.sc-room-capacity-card > span {
    display: block;

    color: var(--sc-room-soft);

    font-size: 10px;
    font-weight: 850;
    line-height: 1.3;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-room-capacity-card > strong {
    display: block;

    margin-top: 9px;

    color: var(--sc-room-verde);

    font-size: 46px;
    line-height: 1;
    font-weight: 850;
}


.sc-room-capacity-card > p {
    margin: 7px 0 0;

    color: var(--sc-room-testo);

    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}


.sc-room-capacity-card > small {
    display: block;

    margin-top: 6px;

    color: var(--sc-room-soft);

    font-size: 10px;
    line-height: 1.4;
}


.sc-room-capacity-total {
    background: var(--sc-room-crema);
}


/* ----------------------------------------------------------
   PIANTINE PLATEA / GALLERIA
   ---------------------------------------------------------- */

.sc-room-map-section {
    width: 100%;
    max-width: 980px;

    margin: 0 auto 62px;

    scroll-margin-top: 100px;
}


.sc-room-map-note {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;

    margin: 0 auto 14px;

    color: var(--sc-room-soft);

    text-align: center;
}


.sc-room-map-note strong {
    color: var(--sc-room-verde);

    font-size: 10px;
    font-weight: 850;
    line-height: 1.3;

    text-transform: uppercase;
    letter-spacing: 0.55px;
}


.sc-room-map-note span {
    font-size: 12px;
    line-height: 1.5;
}


.sc-room-map-static {
    width: 100%;

    margin: 0;

    overflow: hidden;

    border: 1px solid rgba(38, 71, 51, 0.14);
    border-radius: 24px;

    background: #ffffff;

    box-shadow: var(--sc-room-shadow-soft);
}


.sc-room-map-static img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-fit: contain;
}


.sc-room-map-static figcaption {
    margin: 0;
    padding: 10px 16px;

    border-top: 1px solid var(--sc-room-border-soft);

    background: #ffffff;

    color: var(--sc-room-soft);

    font-size: 11px;
    line-height: 1.4;

    text-align: center;
}


/* ----------------------------------------------------------
   GALLERIA
   ---------------------------------------------------------- */

.sc-room-gallery-section {
    padding-top: 4px;
}

/* ----------------------------------------------------------
   INFORMAZIONI SUI POSTI
   ---------------------------------------------------------- */

.sc-room-seating-info {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 62px;
}


.sc-room-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}


.sc-room-info-grid > div {
    min-width: 0;

    padding: 22px;

    border: 1px solid var(--sc-room-border);
    border-radius: 20px;

    background: #ffffff;
}


.sc-room-info-grid > div > span {
    color: var(--sc-room-oro);

    font-size: 11px;
    font-weight: 850;
}


.sc-room-info-grid strong {
    display: block;

    margin-top: 7px;

    color: var(--sc-room-verde);

    font-size: 17px;
    line-height: 1.25;
}


.sc-room-info-grid p {
    margin: 9px 0 0;

    color: var(--sc-room-soft);

    font-size: 13px;
    line-height: 1.6;
}


/* ----------------------------------------------------------
   PRENOTAZIONI
   ---------------------------------------------------------- */

.sc-room-booking {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 32px;

    width: 100%;
    max-width: 900px;

    margin: 0 auto 62px;
    padding: 31px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sc-room-verde) 0%,
            var(--sc-room-verde-hover) 100%
        );

    box-shadow: var(--sc-room-shadow);

    color: #ffffff;
}


.sc-room-booking-copy {
    min-width: 0;
    max-width: 620px;
}


.sc-room-booking-copy > span {
    border-color: transparent;

    background: rgba(255, 255, 255, 0.13);

    color: #ffffff;
}


.sc-room-booking h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(28px, 4vw, 39px);
    line-height: 1.12;
    font-weight: 850;

    letter-spacing: -0.4px;
}


.sc-room-booking p {
    margin: 11px 0 0;

    color: rgba(255, 255, 255, 0.83);

    font-size: 14px;
    line-height: 1.65;
}


.sc-room-booking-actions {
    display: grid;

    gap: 8px;
}


.sc-room-booking-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 19px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-room-verde) !important;

    font-size: 12px;
    font-weight: 850;

    text-align: center;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-room-booking-actions a:hover {
    transform: translateY(-1px);
}


.sc-room-booking-actions a:last-child {
    background: rgba(255, 255, 255, 0.10);

    color: #ffffff !important;
}


.sc-room-booking-actions a:last-child:hover {
    background: rgba(255, 255, 255, 0.18);
}


/* ----------------------------------------------------------
   ALTRE SEZIONI DEL TEATRO
   ---------------------------------------------------------- */

.sc-room-more {
    width: 100%;
    max-width: 980px;

    margin: 0 auto;
}


.sc-room-more-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 11px;
}


.sc-room-more-grid > a {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 168px;

    padding: 19px;

    border: 1px solid var(--sc-room-border);
    border-radius: 20px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-room-more-grid > a:hover {
    border-color: rgba(38, 71, 51, 0.32);

    transform: translateY(-2px);

    box-shadow: var(--sc-room-shadow-soft);
}


.sc-room-more-grid small {
    color: var(--sc-room-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-room-more-grid strong {
    margin-top: 7px;

    color: var(--sc-room-verde);

    font-size: 18px;
    line-height: 1.2;
}


.sc-room-more-grid span {
    margin-top: auto;
    padding-top: 17px;

    color: var(--sc-room-verde);

    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .sc-room-location,
    .sc-room-booking {
        grid-template-columns: 1fr;
    }


    .sc-room-location-action {
        display: flex;
        justify-content: flex-start;
    }


    .sc-room-info-grid {
        grid-template-columns: 1fr;
    }


    .sc-room-more-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .sc-room-wrapper {
        padding:
            0
            16px
            44px;
    }


    /* HERO */

    .sc-room-hero {
        margin-top: 12px;
        margin-bottom: 22px;

        padding: 30px 20px;

        border-radius: 26px;
    }


    .sc-room-hero h1 {
        font-size: 42px;
    }


    .sc-room-lead {
        font-size: 19px;
    }


    .sc-room-intro {
        font-size: 14px;
        line-height: 1.6;
    }


    /* NAV */

    .sc-room-actions {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        width: 100%;
    }


    .sc-room-actions a {
        width: 100%;

        min-height: 48px;

        padding: 8px;

        border-radius: 15px;

        font-size: 10px;
    }


    .sc-room-actions a:last-child {
        grid-column: 1 / -1;
    }


    /* FOTO */

    .sc-room-main-photo {
        margin-bottom: 42px;

        border-radius: 21px;
    }


    /* DOVE SIAMO */

    .sc-room-location {
        gap: 20px;

        margin-bottom: 48px;
        padding: 23px 20px;

        border-radius: 22px;
    }


    .sc-room-location-copy h2 {
        font-size: 30px;
    }


    .sc-room-location-copy p {
        font-size: 13px;
    }


    .sc-room-location-action a {
        width: 100%;
    }


    /* TESTATE */

    .sc-room-section-head {
        margin-bottom: 21px;
    }


    .sc-room-section-head h2 {
        font-size: 31px;
    }


    .sc-room-section-head p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* CAPIENZA */

    .sc-room-capacity {
        margin-bottom: 48px;
    }


    .sc-room-capacity-grid {
        gap: 8px;
    }


    .sc-room-capacity-card {
        padding: 18px 9px;

        border-radius: 17px;
    }


    .sc-room-capacity-card > span {
        font-size: 8px;
    }


    .sc-room-capacity-card > strong {
        font-size: 34px;
    }


    .sc-room-capacity-card > p {
        font-size: 11px;
    }


    .sc-room-capacity-card > small {
        font-size: 9px;
    }


    /* PIANTINE */

    .sc-room-map-section {
        margin-bottom: 49px;
    }


    .sc-room-map-note {
        display: block;

        margin-bottom: 12px;

        padding: 0 5px;
    }


    .sc-room-map-note strong,
    .sc-room-map-note span {
        display: block;
    }


    .sc-room-map-note strong {
        margin-bottom: 3px;
    }


    .sc-room-map-static {
        border-radius: 17px;
    }


    .sc-room-map-static figcaption {
        font-size: 10px;
    }


    .sc-room-sector-note {
        margin-top: 14px;
        padding: 15px 16px;

        border-radius: 16px;
    }


    .sc-room-sector-note p {
        font-size: 12px;
    }


    /* INFO POSTI */

    .sc-room-seating-info {
        margin-bottom: 48px;
    }


    .sc-room-info-grid {
        gap: 8px;
    }


    .sc-room-info-grid > div {
        padding: 18px;

        border-radius: 17px;
    }


    /* PRENOTAZIONI */

    .sc-room-booking {
        gap: 20px;

        margin-bottom: 49px;
        padding: 24px 20px;

        border-radius: 24px;
    }


    .sc-room-booking h2 {
        font-size: 29px;
    }


    .sc-room-booking p {
        font-size: 13px;
        line-height: 1.6;
    }


    .sc-room-booking-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sc-room-booking-actions a {
        padding: 8px 12px;

        white-space: normal;
    }


    /* ALTRE SEZIONI */

    .sc-room-more-grid {
        gap: 8px;
    }


    .sc-room-more-grid > a {
        min-height: 145px;

        padding: 16px;
    }


    .sc-room-more-grid strong {
        font-size: 16px;
    }

}


/* ----------------------------------------------------------
   MOBILE STRETTO
   ---------------------------------------------------------- */

@media (max-width: 520px) {

    .sc-room-capacity-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sc-room-capacity-total {
        grid-column: 1 / -1;
    }

}


/* ----------------------------------------------------------
   TELEFONI PICCOLI
   ---------------------------------------------------------- */

@media (max-width: 390px) {

    .sc-room-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }


    .sc-room-booking-actions {
        grid-template-columns: 1fr;
    }


    .sc-room-more-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   04. ACCESSIBILITÀ E RIDUZIONE ANIMAZIONI
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .sc-teatro-page *,
    .sc-teatro-page *::before,
    .sc-teatro-page *::after,

    .sc-season-wrapper *,
    .sc-season-wrapper *::before,
    .sc-season-wrapper *::after,

    .sc-room-wrapper *,
    .sc-room-wrapper *::before,
    .sc-room-wrapper *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }


    .sc-season-archive-season.is-archive-revealed {
        animation: none;
    }

}

/* ==========================================================
   04. PAGINA STORIA
   /teatro/storia/
   ========================================================== */


/* ----------------------------------------------------------
   VARIABILI E CONTENITORE
   ---------------------------------------------------------- */

.sc-history-wrapper {
    --sc-history-verde: var(--verde-principale, #264733);
    --sc-history-verde-hover: var(--verde-hover, #1f3a2a);
    --sc-history-oro: var(--oro-accento, #d9b46b);

    --sc-history-crema: #f7f4ea;
    --sc-history-crema-2: #fbfaf6;
    --sc-history-bianco: #ffffff;

    --sc-history-testo: var(--testo-principale, #2f2f2f);
    --sc-history-soft: var(--testo-secondario, #5f635f);

    --sc-history-border: rgba(38, 71, 51, 0.16);
    --sc-history-border-strong: rgba(38, 71, 51, 0.30);

    --sc-history-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
    --sc-history-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.045);

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 0 20px 60px;

    color: var(--sc-history-testo);

    box-sizing: border-box;
}


.sc-history-wrapper *,
.sc-history-wrapper *::before,
.sc-history-wrapper *::after {
    box-sizing: border-box;
}


.sc-history-page {
    width: 100%;
}


.sc-history-wrapper a {
    text-decoration: none;
}


.sc-history-wrapper a:focus-visible,
.sc-history-sources-details > summary:focus-visible {
    outline: 3px solid rgba(38, 71, 51, 0.30);
    outline-offset: 3px;
}


.sc-history-wrapper img {
    max-width: 100%;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.sc-history-hero {
    max-width: 980px;

    margin: 22px auto 44px;
    padding: 48px 38px;

    border: 1px solid var(--sc-history-border);
    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-crema) 0%,
            var(--sc-history-crema-2) 100%
        );

    box-shadow: var(--sc-history-shadow);

    text-align: center;
}


.sc-history-kicker,
.sc-history-opening > span,
.sc-history-open-research > span,
.sc-history-archive-cta > span,
.sc-history-section-head > span {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(38, 71, 51, 0.12);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-history-verde);

    font-size: 11px;
    font-weight: 850;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-hero h1 {
    margin: 0;

    color: var(--sc-history-verde);

    font-size: clamp(40px, 6vw, 66px);
    line-height: 1;
    font-weight: 850;

    letter-spacing: -1px;
}


.sc-history-lead {
    max-width: 780px;

    margin: 18px auto 0;

    color: var(--sc-history-verde);

    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.35;
}


.sc-history-intro {
    max-width: 790px;

    margin: 19px auto 0;

    color: var(--sc-history-soft);

    font-size: 16px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   NAVIGAZIONE HERO
   ---------------------------------------------------------- */

.sc-history-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-top: 28px;
}


.sc-history-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid rgba(38, 71, 51, 0.22);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-history-verde) !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.sc-history-actions a:hover {
    border-color: var(--sc-history-verde);

    background: var(--sc-history-verde);

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   INTRODUZIONE
   ---------------------------------------------------------- */

.sc-history-opening {
    max-width: 900px;

    margin: 0 auto 34px;
    padding: 32px 34px;

    border-left: 4px solid var(--sc-history-oro);
    border-radius: 0 24px 24px 0;

    background: var(--sc-history-crema-2);
}


.sc-history-opening > span {
    margin-bottom: 14px;
}


.sc-history-opening h2 {
    margin: 0;

    color: var(--sc-history-verde);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 850;

    letter-spacing: -0.4px;
}


.sc-history-opening p {
    margin: 17px 0 0;

    color: var(--sc-history-soft);

    font-size: 15px;
    line-height: 1.75;
}


.sc-history-opening .sc-history-opening-lead {
    color: var(--sc-history-testo);

    font-size: 17px;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   TAPPE PRINCIPALI
   ---------------------------------------------------------- */

.sc-history-milestones {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 11px;

    max-width: 900px;

    margin: 0 auto 74px;
}


.sc-history-milestones > div {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 135px;

    padding: 19px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-milestones > div > span {
    color: var(--sc-history-oro);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-milestones > div > strong {
    margin-top: 8px;

    color: var(--sc-history-verde);

    font-size: 20px;
    line-height: 1.2;
}


.sc-history-milestones > div > small {
    margin-top: auto;
    padding-top: 15px;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.4;
}


.sc-history-milestones > .sc-history-milestone-highlight {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-verde) 0%,
            var(--sc-history-verde-hover) 100%
        );
}


.sc-history-milestone-highlight > span {
    color: var(--sc-history-oro) !important;
}


.sc-history-milestone-highlight > strong {
    color: #ffffff !important;
}


.sc-history-milestone-highlight > small {
    color: rgba(255, 255, 255, 0.76) !important;
}


/* ----------------------------------------------------------
   CAPITOLI / TIMELINE PRINCIPALE
   ---------------------------------------------------------- */

.sc-history-chapter {
    position: relative;

    display: grid;

    grid-template-columns: 150px minmax(0, 1fr);

    gap: 28px;

    max-width: 930px;

    margin: 0 auto 34px;
}


.sc-history-chapter::before {
    content: "";

    position: absolute;

    top: 92px;
    bottom: -35px;
    left: 74px;

    width: 2px;

    background:
        linear-gradient(
            to bottom,
            rgba(38, 71, 51, 0.22),
            rgba(38, 71, 51, 0.07)
        );
}


.sc-history-chapter-final::before {
    display: none;
}


/* MARCATORE */

.sc-history-chapter-marker {
    position: relative;
    z-index: 2;

    align-self: start;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 92px;

    padding: 15px 10px;

    border: 1px solid var(--sc-history-border);
    border-radius: 21px;

    background: #ffffff;

    text-align: center;

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-chapter-marker > span {
    color: var(--sc-history-oro);

    font-size: 11px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: 0.7px;
}


.sc-history-chapter-marker > strong {
    margin-top: 7px;

    color: var(--sc-history-verde);

    font-size: 13px;
    line-height: 1.3;
    font-weight: 850;
}


.sc-history-chapter-final .sc-history-chapter-marker {
    border-color: transparent;

    background: var(--sc-history-verde);
}


.sc-history-chapter-final .sc-history-chapter-marker > span {
    color: var(--sc-history-oro);
}


.sc-history-chapter-final .sc-history-chapter-marker > strong {
    color: #ffffff;
}


/* CONTENUTO CAPITOLO */

.sc-history-chapter-content {
    min-width: 0;

    padding: 30px;

    border: 1px solid var(--sc-history-border);
    border-radius: 27px;

    background: var(--sc-history-crema-2);
}


.sc-history-chapter-final .sc-history-chapter-content {
    border-color: rgba(38, 71, 51, 0.25);

    background: var(--sc-history-crema);
}


.sc-history-chapter-kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--sc-history-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-chapter-content > h2 {
    margin: 0 0 16px;

    color: var(--sc-history-verde);

    font-size: clamp(27px, 3.2vw, 36px);
    line-height: 1.14;
    font-weight: 850;

    letter-spacing: -0.4px;
}


.sc-history-chapter-content > p {
    margin: 0 0 16px;

    color: var(--sc-history-soft);

    font-size: 15px;
    line-height: 1.74;
}


.sc-history-chapter-content > p:last-child {
    margin-bottom: 0;
}


.sc-history-chapter-content > p strong {
    color: var(--sc-history-testo);
}


/* ----------------------------------------------------------
   SOTTOCAPITOLI
   ---------------------------------------------------------- */

.sc-history-subchapter {
    margin: 24px 0;
    padding: 21px 22px;

    border-top: 1px solid var(--sc-history-border);
    border-bottom: 1px solid var(--sc-history-border);
}


.sc-history-subchapter > span {
    display: block;

    margin-bottom: 7px;

    color: var(--sc-history-oro);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-subchapter h3 {
    margin: 0 0 12px;

    color: var(--sc-history-verde);

    font-size: 22px;
    line-height: 1.25;
    font-weight: 850;
}


.sc-history-subchapter p {
    margin: 0 0 13px;

    color: var(--sc-history-soft);

    font-size: 14px;
    line-height: 1.7;
}


.sc-history-subchapter p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   EVIDENZE DOCUMENTARIE
   ---------------------------------------------------------- */

.sc-history-evidence {
    margin-top: 22px;
    padding: 20px 21px;

    border-left: 4px solid var(--sc-history-oro);
    border-radius: 0 18px 18px 0;

    background: #ffffff;
}


.sc-history-evidence > span {
    display: block;

    color: var(--sc-history-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-evidence > strong {
    display: block;

    margin-top: 6px;

    color: var(--sc-history-verde);

    font-size: 19px;
    line-height: 1.3;
}


.sc-history-evidence > p {
    margin: 8px 0 0;

    color: var(--sc-history-soft);

    font-size: 13px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   NOTA RICERCA
   ---------------------------------------------------------- */

.sc-history-research-note {
    position: relative;

    margin-top: 24px;
    padding: 20px 22px 21px;

    border: 1px solid var(--sc-history-border);
    border-left: 4px solid var(--sc-history-oro);
    border-radius: 18px;

    background: var(--sc-history-crema-2);
}


.sc-history-research-note-title {
    display: block;

    color: var(--sc-history-verde);

    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
}


.sc-history-research-note p {
    margin: 8px 0 0;

    color: var(--sc-history-soft);

    font-size: 12px;
    line-height: 1.6;
}


.sc-history-research-note-list {
    display: grid;
    gap: 7px;

    margin: 12px 0 0;
    padding: 0;

    list-style: none;
}


.sc-history-research-note-list li {
    position: relative;

    margin: 0;
    padding-left: 17px;

    color: var(--sc-history-soft);

    font-size: 12px;
    line-height: 1.55;
}


.sc-history-research-note-list li::before {
    content: "";

    position: absolute;
    top: 0.62em;
    left: 2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--sc-history-oro);
}


.sc-history-research-note-foot {
    margin-top: 12px !important;
    padding-top: 11px;

    border-top: 1px solid var(--sc-history-border);
}


/* ----------------------------------------------------------
   PERSONE / PROTAGONISTI
   ---------------------------------------------------------- */

.sc-history-people {
    margin-top: 24px;
    padding: 20px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;
}


.sc-history-people > span {
    display: block;

    margin-bottom: 13px;

    color: var(--sc-history-verde);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-people-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;
}


.sc-history-people-grid > div {
    min-width: 0;

    padding: 14px;

    border: 1px solid var(--sc-history-border);
    border-radius: 15px;

    background: var(--sc-history-crema-2);
}


.sc-history-people-grid strong {
    display: block;

    color: var(--sc-history-verde);

    font-size: 13px;
    line-height: 1.35;
}


.sc-history-people-grid small {
    display: block;

    margin-top: 3px;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   FOTOGRAFIE
   ---------------------------------------------------------- */

.sc-history-photo {
    margin: 24px 0 0;
}


.sc-history-photo img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 20px;

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-photo figcaption {
    margin-top: 9px;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.5;
}


.sc-history-photo-wide {
    width: 100%;
}


.sc-history-photo-featured {
    width: 100%;
}


.sc-history-photo-grid {
    display: grid;

    gap: 12px;

    margin-top: 24px;
}


.sc-history-photo-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.sc-history-photo-grid .sc-history-photo {
    margin-top: 0;
}


.sc-history-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 230px;

    padding: 28px;

    border: 1px dashed var(--sc-history-border-strong);
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-crema) 0%,
            #ffffff 100%
        );

    text-align: center;
}


.sc-history-photo-placeholder > span {
    color: var(--sc-history-soft);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-photo-placeholder > strong {
    max-width: 400px;

    margin-top: 8px;

    color: var(--sc-history-verde);

    font-size: 18px;
    line-height: 1.3;
}


.sc-history-photo-placeholder > small {
    max-width: 400px;

    margin-top: 7px;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.45;
}


/* ----------------------------------------------------------
   NUMERO STORICO
   ---------------------------------------------------------- */

.sc-history-number-highlight {
    display: grid;

    grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1.35fr);

    align-items: center;

    gap: 20px;

    margin-top: 22px;
    padding: 22px;

    border-radius: 21px;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-verde) 0%,
            var(--sc-history-verde-hover) 100%
        );

    color: #ffffff;
}


.sc-history-number-highlight > div > span {
    display: block;

    color: var(--sc-history-oro);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-number-highlight > div > strong {
    display: block;

    margin-top: 4px;

    color: #ffffff;

    font-size: 50px;
    line-height: 1;
    font-weight: 850;
}


.sc-history-number-highlight > div > small {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;
}


.sc-history-number-highlight > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   EVENTO IN EVIDENZA
   ---------------------------------------------------------- */

.sc-history-event-card {
    margin-top: 24px;
    padding: 22px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-event-card > span {
    display: block;

    color: var(--sc-history-oro);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-event-card h3 {
    margin: 7px 0 11px;

    color: var(--sc-history-verde);

    font-size: 23px;
    line-height: 1.25;
}


.sc-history-event-card p {
    margin: 0 0 10px;

    color: var(--sc-history-soft);

    font-size: 13px;
    line-height: 1.65;
}


.sc-history-event-number {
    display: inline-flex;

    margin: 4px 0 11px;
    padding: 8px 12px;

    border-radius: 999px;

    background: var(--sc-history-crema);

    color: var(--sc-history-verde);

    font-size: 12px;
    font-weight: 850;
}


/* ----------------------------------------------------------
   STATISTICHE
   ---------------------------------------------------------- */

.sc-history-stats,
.sc-history-investment {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-top: 22px;
    margin-bottom: 24px;
}


.sc-history-stats > div,
.sc-history-investment > div {
    min-width: 0;

    padding: 17px;

    border: 1px solid var(--sc-history-border);
    border-radius: 17px;

    background: #ffffff;

    text-align: center;
}


.sc-history-stats strong,
.sc-history-investment strong {
    display: block;

    color: var(--sc-history-verde);

    font-size: 24px;
    line-height: 1.15;
    font-weight: 850;
}


.sc-history-stats span,
.sc-history-investment span {
    display: block;

    margin-top: 5px;

    color: var(--sc-history-soft);

    font-size: 10px;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* ----------------------------------------------------------
   PROGRAMMA STORICO
   ---------------------------------------------------------- */

.sc-history-program {
    margin: 24px 0;
    padding: 21px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;
}


.sc-history-program-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 16px;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--sc-history-border);
}


.sc-history-program-head > span {
    color: var(--sc-history-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-program-head > strong {
    color: var(--sc-history-verde);

    font-size: 20px;
    line-height: 1;
}


.sc-history-program-list {
    display: grid;
}


.sc-history-program-list > div {
    display: grid;

    grid-template-columns:
        minmax(115px, 0.7fr)
        minmax(180px, 1fr)
        minmax(180px, 1.3fr);

    gap: 13px;

    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid var(--sc-history-border);
}


.sc-history-program-list > div:last-child {
    border-bottom: 0;
}


.sc-history-program-list time {
    color: var(--sc-history-soft);

    font-size: 10px;
    font-weight: 750;
    line-height: 1.4;
}


.sc-history-program-list strong {
    color: var(--sc-history-verde);

    font-size: 12px;
    line-height: 1.4;
}


.sc-history-program-list span {
    color: var(--sc-history-soft);

    font-size: 12px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   PONTE FRAGALE / PIPICELLI
   ---------------------------------------------------------- */

.sc-history-bridge {
    margin-top: 24px;
    padding: 22px;

    border: 1px dashed var(--sc-history-border-strong);
    border-radius: 20px;

    background: var(--sc-history-crema);
}


.sc-history-bridge > span {
    display: block;

    color: var(--sc-history-oro);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-bridge h3 {
    margin: 7px 0 11px;

    color: var(--sc-history-verde);

    font-size: 22px;
    line-height: 1.25;
}


.sc-history-bridge p {
    margin: 0 0 11px;

    color: var(--sc-history-soft);

    font-size: 13px;
    line-height: 1.65;
}


.sc-history-bridge p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   APPROFONDIMENTI: CANTASSIEME E PREMIO CABARET
   ---------------------------------------------------------- */

/*
   I due collegamenti agli approfondimenti vengono trattati
   come vere CTA, mantenendo coerente lo stile della pagina.
*/
#cantassieme .sc-history-inline-link,
#premio-cabaret .sc-history-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    margin-top: 12px;
    padding: 0 17px;

    border: 1px solid var(--sc-history-verde);
    border-radius: 999px;

    background: #ffffff;

    color: var(--sc-history-verde) !important;

    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#cantassieme .sc-history-inline-link:hover,
#premio-cabaret .sc-history-inline-link:hover {
    background: var(--sc-history-verde);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--sc-history-shadow-soft);
}

/*
   Il Premio è inserito dentro .sc-history-bridge.
   Le regole generiche di .sc-history-bridge p, dichiarate più avanti
   rispetto al riquadro numerico, altrimenti renderebbero scuro il testo
   sul fondo verde. Qui aumentiamo volutamente la specificità.
*/
#premio-cabaret {
    margin-top: 24px;
    margin-bottom: 30px;
    padding: 22px 24px 25px;
}

#premio-cabaret .sc-history-number-highlight {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;

    margin-top: 22px;
    margin-bottom: 18px;
    padding: 24px;
}

#premio-cabaret .sc-history-number-highlight > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.90) !important;

    font-size: 13px;
    line-height: 1.7;
}

#premio-cabaret .sc-history-number-highlight > p strong {
    color: #ffffff !important;
    font-weight: 850;
}

#premio-cabaret .sc-history-number-highlight > div > span {
    color: var(--sc-history-oro);
}

#premio-cabaret .sc-history-number-highlight > div > strong {
    color: #ffffff;
}

#premio-cabaret .sc-history-number-highlight > div > small {
    color: rgba(255, 255, 255, 0.88);
}

/* Mantiene leggibili anche eventuali enfasi nel testo del Premio */
#premio-cabaret > p strong {
    color: var(--sc-history-testo);
}


/* ----------------------------------------------------------
   NOMI / PROGETTI
   ---------------------------------------------------------- */

.sc-history-names {
    margin: 22px 0;
    padding: 19px;

    border-radius: 19px;

    background: #ffffff;

    border: 1px solid var(--sc-history-border);
}


.sc-history-names > span {
    display: block;

    margin-bottom: 12px;

    color: var(--sc-history-verde);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-names > div {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.sc-history-names strong {
    display: inline-flex;

    padding: 7px 11px;

    border: 1px solid var(--sc-history-border);
    border-radius: 999px;

    background: var(--sc-history-crema-2);

    color: var(--sc-history-verde);

    font-size: 11px;
    line-height: 1.2;
}


/* ----------------------------------------------------------
   PIPICELLI
   ---------------------------------------------------------- */

.sc-history-pipicelli {
    display: grid;

    grid-template-columns:
        minmax(190px, 0.7fr)
        minmax(0, 1.3fr);

    gap: 20px;

    margin: 24px 0;
    padding: 23px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-verde) 0%,
            var(--sc-history-verde-hover) 100%
        );
}


.sc-history-pipicelli-mark {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.08);
}


.sc-history-pipicelli-mark span {
    color: var(--sc-history-oro);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


.sc-history-pipicelli-mark strong {
    margin-top: 6px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.3;
}


.sc-history-pipicelli-copy {
    min-width: 0;
}


.sc-history-pipicelli-copy p {
    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    line-height: 1.65;
}


.sc-history-pipicelli-copy p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   PROTAGONISTI STAGIONI RECENTI
   ---------------------------------------------------------- */

.sc-history-recent-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 8px;

    margin: 24px 0;
}


.sc-history-recent-grid > div {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 130px;

    padding: 15px;

    border: 1px solid var(--sc-history-border);
    border-radius: 16px;

    background: #ffffff;
}


.sc-history-recent-grid span {
    color: var(--sc-history-oro);

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.sc-history-recent-grid strong {
    margin-top: 6px;

    color: var(--sc-history-verde);

    font-size: 14px;
    line-height: 1.3;
}


.sc-history-recent-grid small {
    margin-top: auto;
    padding-top: 9px;

    color: var(--sc-history-soft);

    font-size: 10px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   LINK NEL TESTO
   ---------------------------------------------------------- */

.sc-history-inline-link {
    display: inline-flex;
    align-items: center;

    margin-top: 5px;

    color: var(--sc-history-verde) !important;

    font-size: 13px;
    font-weight: 850;
}


.sc-history-inline-link:hover {
    text-decoration: underline;
}


/* ----------------------------------------------------------
   RICERCA APERTA
   ---------------------------------------------------------- */

.sc-history-open-research {
    max-width: 900px;

    margin: 72px auto 68px;
    padding: 34px;

    border: 1px solid var(--sc-history-border);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--sc-history-crema) 0%,
            var(--sc-history-crema-2) 100%
        );

    text-align: center;
}


.sc-history-open-research h2 {
    margin: 0;

    color: var(--sc-history-verde);

    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.12;
}


.sc-history-open-research p {
    max-width: 680px;

    margin: 14px auto 0;

    color: var(--sc-history-soft);

    font-size: 14px;
    line-height: 1.7;
}


.sc-history-open-research > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: 22px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--sc-history-verde);

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-history-open-research > a:hover {
    background: var(--sc-history-verde-hover);

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   FONTI E APPROFONDIMENTI
   ---------------------------------------------------------- */

.sc-history-sources {
    max-width: 820px;

    margin: 0 auto 70px;
}


.sc-history-sources-details {
    padding: 24px 0;

    border-top: 1px solid var(--sc-history-border);
    border-bottom: 1px solid var(--sc-history-border);
}


.sc-history-sources-details > summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 66px;

    padding: 0 19px;

    border: 1px solid var(--sc-history-border);
    border-radius: 18px;

    background: var(--sc-history-crema-2);

    color: var(--sc-history-verde);

    cursor: pointer;

    list-style: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.sc-history-sources-details > summary::-webkit-details-marker {
    display: none;
}


.sc-history-sources-details > summary::marker {
    content: "";
}


.sc-history-sources-details > summary > span {
    min-width: 0;

    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
}


.sc-history-sources-details > summary::after {
    content: "+";

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: rgba(38, 71, 51, 0.08);

    color: var(--sc-history-verde);

    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}


.sc-history-sources-details[open] > summary::after {
    content: "−";
}


.sc-history-sources-details > summary:hover,
.sc-history-sources-details[open] > summary {
    border-color: var(--sc-history-border-strong);

    background: var(--sc-history-crema);
}


.sc-history-sources-content {
    padding: 10px 18px 0;
}


.sc-history-sources-content ul {
    display: grid;

    margin: 0;
    padding: 12px 0 0;

    list-style: none;
}


.sc-history-sources-content li {
    min-width: 0;

    border-bottom: 1px solid var(--sc-history-border);
}


.sc-history-sources-content li:last-child {
    border-bottom: 0;
}


.sc-history-sources-content a {
    position: relative;

    display: block;

    padding: 13px 34px 13px 0;

    color: var(--sc-history-testo) !important;

    font-size: 13px;
    line-height: 1.5;

    overflow-wrap: anywhere;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


.sc-history-sources-content a::after {
    content: "↗";

    position: absolute;

    top: 13px;
    right: 2px;

    color: var(--sc-history-verde);

    font-size: 13px;
    font-weight: 850;
}


.sc-history-sources-content a:hover {
    padding-left: 5px;

    color: var(--sc-history-verde) !important;
}


/* ----------------------------------------------------------
   ARCHIVIO
   ---------------------------------------------------------- */

.sc-history-archive-cta {
    max-width: 900px;

    margin: 0 auto 74px;
    padding: 34px;

    border: 1px solid var(--sc-history-border);
    border-radius: 30px;

    background: var(--sc-history-crema);

    text-align: center;
}


.sc-history-archive-cta h2 {
    margin: 0;

    color: var(--sc-history-verde);

    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.12;
}


.sc-history-archive-cta p {
    max-width: 650px;

    margin: 14px auto 0;

    color: var(--sc-history-soft);

    font-size: 15px;
    line-height: 1.65;
}


.sc-history-archive-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: 22px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--sc-history-verde);

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.sc-history-archive-cta > a:hover {
    background: var(--sc-history-verde-hover);

    transform: translateY(-1px);
}


/* ----------------------------------------------------------
   ALTRE SEZIONI
   ---------------------------------------------------------- */

.sc-history-more {
    max-width: 980px;

    margin: 0 auto;
}


.sc-history-section-head {
    max-width: 800px;

    margin: 0 auto 30px;

    text-align: center;
}


.sc-history-section-head h2 {
    margin: 0;

    color: var(--sc-history-verde);

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 850;
}


.sc-history-more-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.sc-history-more-grid > a {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 175px;

    padding: 20px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.sc-history-more-grid > a:hover {
    border-color: var(--sc-history-border-strong);

    transform: translateY(-2px);

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-more-grid small {
    color: var(--sc-history-soft);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.sc-history-more-grid strong {
    margin-top: 7px;

    color: var(--sc-history-verde);

    font-size: 19px;
    line-height: 1.2;
}


.sc-history-more-grid span {
    margin-top: auto;
    padding-top: 18px;

    color: var(--sc-history-verde);

    font-size: 12px;
    font-weight: 850;
}

/* ----------------------------------------------------------
   IMMAGINI, DOCUMENTI E GALLERIE STORICHE
   ---------------------------------------------------------- */

/* Sicurezza generale: nessuna immagine può uscire dal contenitore */
.sc-history-wrapper img {
    display: block;
    max-width: 100%;
}


/* ----------------------------------------------------------
   IMMAGINE SINGOLA / DOCUMENTO / LOCANDINA
   ---------------------------------------------------------- */

.sc-history-wrapper figure.wp-block-image,
.sc-history-entry-content > figure {
    width: 100%;
    max-width: 620px;

    margin: 24px auto 0;
}


.sc-history-wrapper figure.wp-block-image img,
.sc-history-entry-content > figure > img {
    width: 100%;
    height: auto;

    border-radius: 20px;

    object-fit: contain;
}


/* Didascalia immagine singola */
.sc-history-wrapper figure.wp-block-image figcaption,
.sc-history-entry-content > figure > figcaption {
    margin: 8px 3px 0;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.45;

    text-align: left;
}


/* ----------------------------------------------------------
   DOCUMENTI VERTICALI / PROGRAMMI / LOCANDINE
   ---------------------------------------------------------- */

/*
   Se nel codice HTML assegni la classe
   sc-history-document al figure,
   i documenti verticali vengono contenuti meglio.
*/

.sc-history-document {
    width: 100%;
    max-width: 520px;

    margin: 26px auto 0;
}


.sc-history-document img {
    width: 100%;
    height: auto;

    max-height: 720px;

    border: 1px solid var(--sc-history-border);
    border-radius: 20px;

    background: #ffffff;

    object-fit: contain;

    box-shadow: var(--sc-history-shadow-soft);
}


.sc-history-document figcaption {
    margin: 8px 4px 0;

    color: var(--sc-history-soft);

    font-size: 11px;
    line-height: 1.45;
}


/* ----------------------------------------------------------
   GALLERIA DI FOTO STORICHE
   ---------------------------------------------------------- */

/* Supporto sia alle nostre classi sia alla gallery WordPress */
.sc-history-photo-grid,
.sc-history-gallery,
.sc-history-wrapper .wp-block-gallery {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: 14px;

    width: 100%;

    margin: 26px 0 0;
}


/* Ogni fotografia */
.sc-history-photo-grid figure,
.sc-history-gallery figure,
.sc-history-wrapper .wp-block-gallery figure.wp-block-image {
    width: 100% !important;

    margin: 0 !important;
}


/*
   Tutte le fotografie della gallery hanno la stessa altezza.
   object-fit: cover evita deformazioni.
*/
.sc-history-photo-grid figure img,
.sc-history-gallery figure img,
.sc-history-wrapper .wp-block-gallery figure.wp-block-image img {
    display: block;

    width: 100% !important;
    height: 220px !important;

    border-radius: 18px;

    object-fit: cover;
    object-position: center;

    box-shadow: none;
}


/* Didascalie uniformi */
.sc-history-photo-grid figcaption,
.sc-history-gallery figcaption,
.sc-history-wrapper .wp-block-gallery figcaption {
    margin: 8px 0 0 !important;

    padding: 0 !important;

    background: none !important;

    color: var(--sc-history-soft) !important;

    font-size: 11px !important;
    line-height: 1.45 !important;

    text-align: left !important;
}


/* Evita eventuali gradienti automatici Gutenberg sulle didascalie */
.sc-history-wrapper
.wp-block-gallery.has-nested-images
figure.wp-block-image
figcaption {
    position: static !important;

    max-height: none !important;

    overflow: visible !important;

    background: transparent !important;
}


/* ----------------------------------------------------------
   FOTO ALL'INTERNO DELLA TIMELINE
   ---------------------------------------------------------- */

.sc-history-entry-content img {
    max-width: 100%;
}


/* Spazio corretto fra testo e immagini */
.sc-history-entry-content p + figure,
.sc-history-entry-content p + .sc-history-photo-grid,
.sc-history-entry-content p + .sc-history-gallery,
.sc-history-entry-content p + .wp-block-gallery {
    margin-top: 24px;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    /* Documenti e locandine */
    .sc-history-document,
    .sc-history-wrapper figure.wp-block-image,
    .sc-history-entry-content > figure {
        max-width: 100%;
    }


    .sc-history-document img {
        max-height: none;

        border-radius: 16px;
    }


    /* Le foto restano affiancate sui telefoni normali */
    .sc-history-photo-grid,
    .sc-history-gallery,
    .sc-history-wrapper .wp-block-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .sc-history-photo-grid figure img,
    .sc-history-gallery figure img,
    .sc-history-wrapper .wp-block-gallery figure.wp-block-image img {
        height: 150px !important;

        border-radius: 14px;
    }


    .sc-history-photo-grid figcaption,
    .sc-history-gallery figcaption,
    .sc-history-wrapper .wp-block-gallery figcaption {
        font-size: 10px !important;
        line-height: 1.4 !important;
    }


    /* Approfondimenti Cantassieme / Premio Cabaret */
    #premio-cabaret {
        padding: 20px;
        margin-bottom: 26px;
    }

    #premio-cabaret .sc-history-number-highlight {
        grid-template-columns: 1fr;
        gap: 16px;

        padding: 20px;
    }

    #premio-cabaret .sc-history-number-highlight > div {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    #cantassieme .sc-history-inline-link,
    #premio-cabaret .sc-history-inline-link {
        width: 100%;
        min-height: 46px;
        padding: 10px 16px;

        text-align: center;
    }

}


/* ----------------------------------------------------------
   TELEFONI MOLTO PICCOLI
   ---------------------------------------------------------- */

@media (max-width: 390px) {

    .sc-history-photo-grid,
    .sc-history-gallery,
    .sc-history-wrapper .wp-block-gallery {
        grid-template-columns: 1fr;
    }


    .sc-history-photo-grid figure img,
    .sc-history-gallery figure img,
    .sc-history-wrapper .wp-block-gallery figure.wp-block-image img {
        height: 210px !important;
    }

}

@media (max-width: 767px) {

    .sc-history-research-note {
        padding: 18px 17px 19px;

        border-left-width: 3px;
        border-radius: 16px;
    }

    .sc-history-research-note-title {
        font-size: 12.5px;
    }

    .sc-history-research-note p,
    .sc-history-research-note-list li {
        font-size: 11.5px;
    }

}

