/* ==========================================================================
   Istituto Gramsci Toscano — stili del tema
   ========================================================================== */

:root {
	--red: #8E1012;
	--red-dark: #5E0A0C;
	--red-deep: #6E0C0E;
	--ink: #2A2626;
	--ink-2: #1F1B1A;
	--text: #3A3330;
	--text-2: #4A4340;
	--muted: #6B625C;
	--faint: #9A8F88;
	--paper: #F3F0ED;
	--paper-2: #F6F2EF;
	--line: #E6E2DE;
	--line-2: #CFC7C1;
	--pink: #F1D9D6;
	--stripe: repeating-linear-gradient(135deg, #EFEBE7 0 10px, #E8E3DE 10px 20px);
	--f-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-head: 'Josefin Sans', 'Source Sans 3', system-ui, sans-serif;
	--f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
	--wrap: 1280px;
	--gutter: 40px;
	--header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; cursor: pointer; }
a:hover { color: var(--red-dark); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
button { font: inherit; }
input::placeholder { color: #8A827C; }
h1, h2, h3, h4 { font-family: var(--f-head); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	left: 12px; top: 12px; padding: 12px 18px; background: #fff; color: var(--red);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.lead { font-size: 21px; line-height: 1.5; }

.kicker {
	display: inline-block;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.kicker--sm { font-size: 12px; }
a.kicker:hover { text-decoration: none; color: var(--red-dark); }
.kicker-mono {
	font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink);
}
.kicker-mono--red { color: var(--red); }
.link-strong { font-weight: 700; font-size: 15px; }

/* Pulsanti ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 16px 24px 13px;
	font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.1;
	border: 1.5px solid transparent; cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--red-deep); color: #fff; }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--paper-2); color: var(--red-dark); }
.btn--ghost-light { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: 10px 18px 8px; font-size: 15px; font-family: var(--f-body); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-outline-sm {
	display: inline-block; border: 1px solid var(--line-2); padding: 9px 14px;
	font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; background: #fff; cursor: pointer;
}
.btn-outline-sm:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* Campo + pulsante */
.field-btn { display: flex; border: 1px solid var(--line-2); background: #fff; }
.field-btn input {
	flex: 1; min-width: 0; border: 0; padding: 12px 16px; font: inherit; font-size: 16px; outline: none; background: #fff; color: var(--ink);
}
.field-btn button {
	background: var(--red); color: #fff; border: 0; padding: 0 18px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.field-btn button:hover { background: var(--red-deep); }
.field-btn:focus-within { border-color: var(--red); }

/* Chip e schede ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	border: 1px solid var(--line-2); background: transparent; color: var(--ink);
	padding: 8px 14px; font-size: 14px; font-weight: 600;
}
.chip:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.chip--dark { padding: 10px 18px; font-size: 15px; }
.chip--dark.is-on { background: var(--ink); border-color: var(--ink); }

.seg { display: flex; border: 1px solid var(--ink); }
.seg a { padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.seg a:hover { background: var(--paper-2); text-decoration: none; }
.seg a.is-on { background: var(--ink); color: #fff; }

.tabs { display: flex; flex-wrap: wrap; }
.tabs__tab {
	padding: 14px 18px 12px; white-space: nowrap; font-family: var(--f-head); font-size: 16px; font-weight: 600;
	color: var(--ink); border-bottom: 4px solid transparent; margin-bottom: -2px;
}
.tabs__tab:hover { color: var(--red); text-decoration: none; }
.tabs__tab.is-on { color: var(--red); border-bottom-color: var(--red); }

/* ==========================================================================
   Testata
   ========================================================================== */
.topbar { background: var(--ink); color: #E9E4DF; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar__info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__links { display: flex; gap: 24px; align-items: center; }
.topbar__links a { color: #E9E4DF; }
.topbar__links a:hover { color: #fff; }
.topbar .topbar__cta { background: var(--red); color: #fff; padding: 6px 14px; font-weight: 600; }
.topbar .topbar__cta:hover { background: var(--red-deep); text-decoration: none; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); gap: 24px; }
.site-header__logo { display: flex; flex-shrink: 0; }
.site-header__logo img, .site-logo { height: 70px; width: auto; display: block; }

.site-header__right { display: flex; align-items: stretch; height: 100%; }
.main-nav { display: flex; align-items: stretch; height: 100%; }
.main-nav__list { display: flex; align-items: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a {
	font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--ink);
	padding: 12px 15px 8px; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap;
}
.main-nav__list > li:hover > a,
.main-nav__list > li:focus-within > a,
.main-nav__list > li.is-section > a,
.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current-menu-ancestor > a { color: var(--red); border-bottom-color: var(--red); }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 290px; list-style: none; margin: 0; padding: 10px 0;
	background: #fff; border-top: 3px solid var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.12);
	display: none; flex-direction: column; z-index: 40;
}
.main-nav__list > li:hover > .sub-menu,
.main-nav__list > li:focus-within > .sub-menu,
.main-nav__list > li.is-open > .sub-menu { display: flex; }
.main-nav .sub-menu a { display: block; padding: 10px 24px; font-size: 16px; color: var(--ink); }
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .is-active > a,
.main-nav .sub-menu .current-menu-item > a { background: var(--paper-2); color: var(--red); text-decoration: none; }
.main-nav__list > li:last-child .sub-menu { left: auto; right: 0; }
.submenu-toggle { display: none; }
.main-nav__search { display: flex; align-items: center; padding-left: 14px; margin-left: 6px; border-left: 1px solid var(--line); }
.search-toggle { background: none; border: 0; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 8px 4px; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { color: var(--red); }
.main-nav__empty { align-self: center; margin: 0; }
.site-search { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.site-search .search-form { max-width: 720px; margin: 0 auto; }
.nav-toggle { display: none; }

/* Fascia intestazione pagine interne */
.page-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-band__inner { padding-top: 44px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); align-items: center; }
.badge-draft {
	margin-left: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
	background: var(--ink); color: #fff; padding: 3px 8px;
}
.page-band__title {
	margin: 0; padding-top: 6px; font-size: 48px; line-height: 1.1; font-weight: 700; color: var(--red);
	text-wrap: balance; max-width: 960px;
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; height: 640px; background: #3A3230; overflow: hidden; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,18,18,.82) 0%, rgba(24,18,18,.35) 55%, rgba(24,18,18,.1) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 150px; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero--static .hero__content { bottom: 80px; }
.hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 820px; flex: 1; }
.hero__kicker { font-family: var(--f-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.hero__title { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 700; text-wrap: balance; }
.hero__title a { color: #fff; }
.hero__title a:hover { text-decoration: none; color: #fff; }
.hero__desc { margin: 0; font-size: 19px; line-height: 1.5; color: #EDE6E2; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__poster { width: 230px; flex-shrink: 0; aspect-ratio: 724/1024; background: #fff center/cover no-repeat; box-shadow: 0 12px 30px rgba(0,0,0,.45); margin-bottom: 92px; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__count { font-size: 15px; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button {
	width: 52px; height: 52px; border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-size: 22px; cursor: pointer;
}
.hero__arrows button:hover { background: rgba(255,255,255,.12); }

.featured-grid {
	margin-top: -96px; position: relative; z-index: 5;
	display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px;
}
.feat-card { background: #fff; box-shadow: 0 10px 30px rgba(30,20,20,.12); border-top: 4px solid #fff; display: flex; flex-direction: column; transition: border-color .2s; }
.feat-card.is-active { border-top-color: var(--red); }
.feat-card__body { padding: 28px 28px 24px; display: flex; gap: 20px; flex: 1; }
.feat-card__text { display: flex; flex-direction: column; gap: 8px; }
.feat-card__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; text-wrap: pretty; }
.feat-card__title a { color: var(--ink); }
.feat-card__foot { border-top: 1px solid #EEE9E5; padding: 14px 28px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.feat-card__foot .more { font-weight: 700; font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.datebox { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.datebox__d { font-family: var(--f-head); font-size: 44px; font-weight: 700; color: var(--red); line-height: 1; padding-top: 4px; }
.datebox__m { font-size: 13px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.datebox--sm { min-width: 52px; }
.datebox--sm .datebox__d { font-size: 38px; }
.datebox--sm .datebox__m { font-size: 12px; }

.home-intro { margin-top: 72px; }

.duo { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.duo--flat { margin-top: 56px; }
.duo__box { padding: 44px 48px; display: flex; flex-direction: column; gap: 18px; }
.duo__box p { margin: 0; font-size: 17px; line-height: 1.5; }
.duo__box--red { background: var(--red); color: #fff; }
.duo__box--red p { color: #F6E7E5; }
.duo__box--paper { background: var(--paper); }
.duo__title { margin: 0; padding-top: 4px; font-size: 34px; font-weight: 700; line-height: 1.15; }
.duo__box--paper .duo__title { color: var(--ink); }
.cf-copy { display: flex; align-items: stretch; margin-top: 6px; }
.cf-copy__code { background: rgba(255,255,255,.12); padding: 14px 20px; font-size: 22px; letter-spacing: .06em; flex: 1; }
.cf-copy button {
	background: #fff; color: var(--red); border: 0; padding: 0 22px; min-width: 120px;
	font-family: var(--f-head); font-weight: 700; font-size: 15px; cursor: pointer;
}
.cf-copy button:hover { background: var(--paper-2); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-title { margin: 0; font-size: 38px; font-weight: 700; color: var(--red); line-height: 1.15; }
.section-title--light { color: #fff; }
.section-title--sm { font-size: 30px; }

.home-cal { margin-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.home-cal__search { width: 440px; max-width: 100%; }
.home-cal__grid { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 40px; align-items: start; }
.mini-cal { border: 1px solid var(--line); padding: 24px; }
.mini-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mini-cal__nav { font-size: 22px; color: var(--ink); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.mini-cal__nav:hover { color: var(--red); text-decoration: none; background: var(--paper-2); }
.mini-cal__title { font-family: var(--f-head); font-size: 22px; font-weight: 600; padding-top: 4px; text-transform: capitalize; }
.mini-cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mini-cal__wd { font-size: 12px; font-weight: 700; color: var(--faint); padding: 6px 0; text-transform: uppercase; }
.mini-cal__cell {
	height: 50px; border: 0; background: transparent; color: var(--faint); font-family: var(--f-body); font-size: 16px; font-weight: 400;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.mini-cal__cell i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.mini-cal__cell.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.mini-cal__cell.has-ev { color: var(--ink); font-weight: 700; cursor: pointer; }
.mini-cal__cell.has-ev i { background: var(--red); }
.mini-cal__cell.has-ev:hover { background: var(--paper-2); }
.mini-cal__cell.has-ev[aria-pressed="true"] { background: var(--red); color: #fff; }
.mini-cal__cell.has-ev[aria-pressed="true"] i { background: #fff; }
.cal-list { display: flex; flex-direction: column; }
.cal-list__head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cal-list__empty, .ev-list__empty { padding: 32px 0; font-size: 17px; color: var(--muted); margin: 0; }
.cal-list__all { margin-top: 20px; align-self: flex-end; }
.home-cal.is-loading [data-cal-rows], .home-cal.is-loading [data-cal-days] { opacity: .45; transition: opacity .2s; }

/* Righe evento */
.ev-row { display: grid; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ev-row--compact { grid-template-columns: 92px minmax(0, 1fr) auto; }
.ev-row--full { grid-template-columns: 110px 220px minmax(0, 1fr) auto; gap: 28px; padding: 22px 0; }
.ev-row--past { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 28px; padding: 22px 0; }
.ev-row__date { display: flex; flex-direction: column; }
.ev-row__day { font-family: var(--f-head); font-size: 30px; font-weight: 700; color: var(--red); line-height: 1; padding-top: 4px; }
.ev-row__day--lg { font-size: 38px; }
.ev-row__meta { font-size: 13px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.ev-row__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-row__title { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.ev-row__title--lg { font-size: 23px; }
.ev-row__place { font-size: 15px; color: var(--muted); }
.ev-row--full .ev-row__place { font-size: 16px; }
.ev-row__when { font-size: 14px; color: var(--muted); text-transform: uppercase; }
.ev-row[hidden] { display: none; }

/* Riquadro immagine generico (foto o locandina) */
.igt-media { position: relative; display: block; aspect-ratio: 3/2; background: var(--stripe); overflow: hidden; }
.igt-media__img { position: absolute; inset: 0; background: var(--ink) center/cover no-repeat; transition: transform .4s ease; }
a.igt-media:hover .igt-media__img { transform: scale(1.03); }

/* Video */
.videos { background: var(--ink); margin-top: 96px; padding: 80px 0; }
.videos .wrap { display: flex; flex-direction: column; gap: 32px; }
.videos__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.videos__main, .videos__item { display: flex; flex-direction: column; gap: 14px; }
.videos__side { display: flex; flex-direction: column; gap: 24px; }
.videos__title { margin: 0; font-size: 22px; font-weight: 600; color: #fff; line-height: 1.3; }
.videos__title--sm { font-size: 17px; }
.yt-lite {
	position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/9;
	border: 0; padding: 0; cursor: pointer; background: #3C3432 center/cover no-repeat;
}
.yt-lite__play { width: 52px; height: 38px; background: var(--red); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.yt-lite__play::after { content: ''; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.yt-lite--big .yt-lite__play, .yt-lite--fill .yt-lite__play { width: 84px; height: 60px; }
.yt-lite--big .yt-lite__play::after, .yt-lite--fill .yt-lite__play::after { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 4px; }
.yt-lite:hover .yt-lite__play { transform: scale(1.08); }
.yt-frame { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.yt-lite--fill, .event__media .yt-frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }

/* News */
.home-news { margin-top: 96px; display: flex; flex-direction: column; gap: 32px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card__meta { font-size: 14px; color: var(--muted); }
.news-card__meta .kicker { font-size: 13px; letter-spacing: .06em; }
.news-card__title { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.25; }
.news-card__title a { color: var(--ink); }
.news-card__excerpt { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.related .news-card__title { font-size: 21px; }

/* Banner newsletter */

/* Modulo newsletter */
.nl-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.nl-form__row { display: flex; }
.nl-form__row input {
	flex: 1; min-width: 0; border: 1px solid var(--line-2); background: #fff; padding: 14px 16px; font: inherit; font-size: 17px; outline: none; color: var(--ink);
}
.nl-form__row input:focus { border-color: var(--red); }
.nl-form__row button {
	background: var(--ink); color: #fff; border: 0; padding: 0 26px; font-family: var(--f-head); font-weight: 700; font-size: 16px; cursor: pointer;
}
.nl-form--footer .nl-form__row button { background: var(--red); }
.nl-form__row button:hover { background: var(--red-deep); }
.nl-form--footer .nl-form__row input { padding: 12px 14px; font-size: 16px; }
.nl-form--footer .nl-form__row button { padding: 0 20px; font-size: 15px; }
.nl-form__privacy { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.nl-form__privacy input { accent-color: var(--red); width: 16px; height: 16px; margin: 0; }
.nl-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-form__msg { margin: 0; font-size: 16px; min-height: 0; }
.nl-form__msg:empty { display: none; }
.nl-form.is-done .nl-form__row, .nl-form.is-done .nl-form__privacy { display: none; }
.nl-form.is-done .nl-form__msg { font-size: 18px; color: var(--ink); }
.nl-form.is-error .nl-form__msg { color: var(--red); }
.nl-form.is-sending button { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Pagine interne
   ========================================================================== */
.layout-side {
	padding-top: 56px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 72px; align-items: start;
}
.layout-side--single { grid-template-columns: minmax(0, 1fr); }
.layout-side--single > .entry { margin: 0 auto; }

.section-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; border-top: 3px solid var(--red); }
.admin-bar .section-nav { top: calc(var(--header-h) + 56px); }
.section-nav__title { font-family: var(--f-head); font-size: 19px; font-weight: 700; padding: 18px 0 12px; }
.section-nav__toggle { display: none; }
.section-nav__list { list-style: none; margin: 0; padding: 0; }
.section-nav__list a {
	padding: 12px 14px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink);
	display: flex; justify-content: space-between; gap: 10px;
}
.section-nav__list a span { color: var(--red); }
.section-nav__list a:hover { text-decoration: none; background: var(--paper-2); }
.section-nav__list a.is-active { font-weight: 700; color: var(--red); background: var(--paper-2); }

.entry { max-width: 780px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.entry--wide { max-width: none; padding-top: 56px; }
.entry--elementor { max-width: none; }
.entry--elementor .entry-content { font-size: 17px; }
.entry__figure { margin: 0; }
.entry__figure img { width: 100%; display: block; }

/* Contenuto dell'editor */
.entry-content { font-size: 19px; line-height: 1.65; color: var(--text); }
.entry-content > * { margin-top: 0; margin-bottom: 24px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content > p:first-child,
.entry-content .is-style-igt-lead { font-size: 23px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.entry-content h2 { margin: 40px 0 14px; font-size: 30px; color: var(--red); line-height: 1.2; }
.entry-content h3 { margin: 32px 0 12px; font-size: 24px; color: var(--ink); line-height: 1.25; }
.entry-content h4 { margin: 24px 0 10px; font-size: 20px; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: 6px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--red); font-size: 21px; color: var(--ink); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { display: block; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: left; }
.entry-content .wp-block-image img { width: 100%; max-height: 520px; object-fit: cover; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 17px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); }
.entry-content .wp-block-embed iframe { width: 100%; }

/* Elenco a quadratini */
.entry-content ul.is-style-igt-quadratini { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.entry-content ul.is-style-igt-quadratini > li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.entry-content ul.is-style-igt-quadratini > li::before { content: ''; position: absolute; left: 4px; top: 23px; width: 8px; height: 8px; background: var(--red); }

/* Numeri in evidenza */
.entry-content .igt-stats, .igt-stats {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0;
}
.igt-stats > .wp-block-column { padding: 24px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.igt-stats > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.igt-stats p { margin: 0 !important; }
.igt-stats .igt-stat__n { font-family: var(--f-head); font-size: 40px !important; font-weight: 700; color: var(--red) !important; padding-top: 4px; line-height: 1.1 !important; }
.igt-stats .igt-stat__l { font-size: 16px !important; color: var(--muted) !important; line-height: 1.4 !important; }

/* Pulsanti dell'editor */
.entry-content .wp-block-buttons { gap: 12px; margin-top: 8px; }
.entry-content .wp-block-button__link {
	border-radius: 0; font-family: var(--f-head); font-weight: 600; font-size: 17px; padding: 14px 22px 11px; text-decoration: none;
	background: var(--red); color: #fff; border: 1.5px solid var(--red);
}
.entry-content .wp-block-button__link:hover { background: var(--red-deep); color: #fff; }
.entry-content .is-style-igt-bordo .wp-block-button__link,
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.entry-content .is-style-igt-bordo .wp-block-button__link:hover,
.entry-content .is-style-outline .wp-block-button__link:hover { background: var(--paper-2); color: var(--red-dark); }

/* Riquadri */
.is-style-igt-box-carta { background: var(--paper); padding: 28px 32px !important; }
.is-style-igt-box-carta > * { margin: 0 0 12px; }
.is-style-igt-box-carta > *:last-child { margin-bottom: 0; }
.is-style-igt-box-rosso { background: var(--red); color: #fff; padding: 32px 40px !important; }
.is-style-igt-box-rosso a, .is-style-igt-box-rosso h2, .is-style-igt-box-rosso h3 { color: #fff; }

.note-box { background: var(--paper); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 17px; }
.placeholder-box {
	background: var(--stripe); padding: 60px 32px; text-align: center; font-family: var(--f-mono); font-size: 13px; color: #8A827C;
}

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 18px 20px 18px 0; display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Articolo
   ========================================================================== */
.article { max-width: 860px; margin: 0 auto; padding: 56px 40px 0; display: flex; flex-direction: column; gap: 24px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 15px; color: var(--muted); }
.article__title { margin: 0; font-size: 44px; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.article__media { aspect-ratio: 16/9; margin-top: 8px; }
.article__lead { margin: 8px 0 0; font-size: 23px; line-height: 1.5; color: var(--ink); }
.article__body > p:first-child { font-size: 19px; color: var(--text); }
.article__bar {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 12px; font-size: 15px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--paper); padding: 6px 12px; color: var(--ink); }
.tag:hover { background: var(--line); text-decoration: none; color: var(--red); }
.share { display: flex; gap: 18px; color: var(--muted); flex-wrap: wrap; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prevnext a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.prevnext a:hover { text-decoration: none; }
.prevnext a:hover .prevnext__title { color: var(--red); }
.prevnext__next { text-align: right; }
.prevnext__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.prevnext__title { font-family: var(--f-head); font-size: 18px; font-weight: 600; }
.related { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }

.comments { margin-top: 32px; }
.comment-list { padding-left: 1.2em; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
	width: 100%; max-width: 100%; border: 1px solid var(--line-2); padding: 10px 12px; font: inherit; font-size: 16px;
}
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-form .submit { background: var(--red); color: #fff; border: 0; padding: 14px 22px 11px; font-family: var(--f-head); font-weight: 600; font-size: 16px; cursor: pointer; }
.comment-reply-title { font-size: 24px; color: var(--red); }

/* Elenchi (news, ricerca) */
.list-page { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.list-page--narrow { max-width: 900px; }
.list-page__intro { font-size: 19px; max-width: 780px; }
.list-page__search { max-width: 640px; }
.results { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.result { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.result__title { margin: 0; font-size: 23px; font-weight: 600; }
.result__title a { color: var(--ink); }
.result__meta { font-size: 13px; }
.result p { margin: 0; color: var(--text-2); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* ==========================================================================
   Eventi
   ========================================================================== */
.events-page { padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.events-page__intro { font-size: 18px; max-width: 780px; color: var(--text); }
.events-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.events-toolbar__search { width: 420px; max-width: 100%; }
.events-toolbar__tabs { display: flex; gap: 16px; flex-wrap: wrap; }
.month-nav { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); }
.month-nav a { width: 44px; height: 46px; font-size: 20px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.month-nav a:hover { background: var(--paper-2); color: var(--red); text-decoration: none; }
.month-nav__title { font-family: var(--f-head); font-size: 18px; font-weight: 600; min-width: 150px; text-align: center; text-transform: capitalize; padding-top: 3px; }

.big-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.big-cal__wd { padding: 12px 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.big-cal__cell { min-height: 132px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.big-cal__cell.is-blank { background: #F7F5F2; }
.big-cal__cell.is-today { box-shadow: inset 0 0 0 2px var(--line-2); }
.big-cal__d { font-family: var(--f-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.big-cal__cell.has-ev .big-cal__d { color: var(--red); }
.big-cal__ev { background: var(--red); color: #fff; padding: 6px 8px; font-size: 13px; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; }
.big-cal__ev .mono { font-size: 11px; opacity: .85; }
.big-cal__ev:hover { background: var(--red-deep); color: #fff; text-decoration: none; }

.ev-list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.ev-list__head { font-size: 15px; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev-list .ev-list__head + .ev-row { border-top: 0; }

/* Evento singolo */
.event-layout { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.event { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.event__media { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.event__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__poster { position: absolute; inset: 0; background: center/contain no-repeat; }
.event__bg + .event__poster { background-color: rgba(42,38,38,.7); }
.event__lead { margin: 0; font-size: 23px; line-height: 1.5; color: var(--ink); }
.event__h2 { margin: 16px 0 0; font-size: 28px; color: var(--red); }
.event__where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.event__addr { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--text); }
.event__addr strong { color: var(--ink); }
.map-consent { background: var(--stripe); min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 14px; }
.map-consent small { font-size: 12px; color: var(--muted); }
.map-consent iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }
.map-consent.is-loaded { padding: 0; background: none; }

.event-card { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.admin-bar .event-card { top: calc(var(--header-h) + 56px); }
.event-card__date { padding: 28px; display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.event-card__date div { display: flex; flex-direction: column; font-size: 17px; }
.event-card__date strong { text-transform: capitalize; }
.event-card__date span:not(.event-card__day) { color: var(--muted); text-transform: capitalize; }
.event-card__day { font-family: var(--f-head); font-size: 56px; font-weight: 700; color: var(--red); line-height: 1; padding-top: 6px; }
.event-card__facts { margin: 0; padding: 20px 28px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; border-bottom: 1px solid var(--line); }
.event-card__facts > div { display: flex; justify-content: space-between; gap: 16px; }
.event-card__facts dt { color: var(--muted); }
.event-card__facts dd { margin: 0; text-align: right; }
.event-card__actions { padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.event-card__actions .btn--outline { border: 1px solid var(--line-2); color: var(--ink); font-family: var(--f-body); font-size: 15px; padding: 12px; }
.event-card__actions p { margin: 0; font-size: 15px; }

.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mini-card { border: 1px solid var(--line); padding: 24px; display: flex; gap: 18px; }
.mini-card__text { display: flex; flex-direction: column; gap: 6px; }
.mini-card__title { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.25; }

/* ==========================================================================
   Archivio fondi
   ========================================================================== */
.fondi { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.fondi__intro { margin: 0; font-size: 21px; line-height: 1.55; color: var(--ink); max-width: 780px; }
.fondi__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; border-bottom: 2px solid var(--ink); flex-wrap: wrap; }
.fondi__bar .tabs { flex-wrap: nowrap; overflow-x: auto; }
.fondi__search { width: 220px; max-width: 100%; border: 1px solid var(--line-2); padding: 10px 14px; font: inherit; font-size: 15px; outline: none; margin-bottom: 8px; }
.fondi__search:focus { border-color: var(--red); }
.fondi__count { font-size: 15px; }
.fondi__list { display: flex; flex-direction: column; }
.fondo-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.fondo-row .kicker { padding-top: 5px; }
.fondo-row[hidden] { display: none; }
.fondo-row__main { display: flex; flex-direction: column; gap: 6px; }
.fondo-row__title { font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.fondo-row__desc { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.fondo-row__meta { font-size: 12px; color: var(--faint); }
.fondo-row__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fondo-row__actions .link-strong { font-size: 14px; }

/* ==========================================================================
   Galleria a libro
   ========================================================================== */
.book-page { padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.book-page__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.book-page__intro { max-width: 780px; }
.book { background: var(--ink); padding: 56px 40px; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 24px; outline: none; }
.book:focus-visible { box-shadow: 0 0 0 3px var(--red); }
.book__nav { width: 56px; height: 56px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.book__nav:hover { background: rgba(255,255,255,.12); }
.book__nav:disabled { opacity: .3; cursor: default; }
.book__spread { display: flex; justify-content: center; }
.book__pages { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); box-shadow: 0 20px 50px rgba(0,0,0,.45); animation: igt-page .45s ease; }
.book__pages[hidden] { display: none; }
@keyframes igt-page { from { opacity: 0; transform: perspective(1400px) rotateY(-6deg); } to { opacity: 1; transform: none; } }
.book__page { margin: 0; aspect-ratio: 2/3; background: #EDE8E2; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.book__page::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; pointer-events: none; }
.book__page--left::after { right: 0; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.18)); }
.book__page--right::after { left: 0; background: linear-gradient(270deg, rgba(0,0,0,0), rgba(0,0,0,.18)); }
.book__page a { display: block; width: 100%; height: 100%; }
.book__page img { width: 100%; height: 100%; object-fit: contain; display: block; }
.book__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.book__cap-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.book__thumbs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.book__thumb {
	aspect-ratio: 2/3; border: 2px solid transparent; background: #EDE8E2 center/cover no-repeat; cursor: pointer;
	display: flex; align-items: flex-end; justify-content: center; padding: 6px; font-size: 11px; color: #fff;
}
.book__thumb span { background: rgba(0,0,0,.55); padding: 1px 4px; }
.book__thumb.is-on { border-color: var(--red); }

/* ==========================================================================
   Piè di pagina
   ========================================================================== */
.site-footer { margin-top: 96px; background: var(--paper); }
.site-footer__grid { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 56px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text-2); line-height: 1.6; }
.site-footer__col p { margin: 0; }
.site-footer__org { gap: 16px; }
.site-footer__logo { align-self: flex-start; }
.site-footer__logo img { height: 64px; width: auto; mix-blend-mode: multiply; display: block; }
.site-footer__org .mono { font-size: 13px; line-height: 1.8; }
.site-footer__title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink); }
.site-footer__bottom { background: var(--ink); color: #C9C1BB; font-size: 14px; }
.site-footer__bottom-inner { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.site-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer__legal a { color: #C9C1BB; }
.site-footer__menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-footer__social { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-footer__social > a { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	:root { --gutter: 32px; }
	.main-nav__list > li > a { font-size: 16px; padding-left: 10px; padding-right: 10px; }
	.site-header__logo img, .site-logo { height: 58px; }
	.home-cal__grid { grid-template-columns: 380px minmax(0, 1fr); }
	.layout-side { gap: 48px; grid-template-columns: 240px minmax(0, 1fr); }
}

@media (max-width: 1080px) {
	:root { --header-h: 76px; }
	.topbar__info span + span { display: none; }

	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-2);
		padding: 0 14px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--ink);
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; max-height: calc(100vh - var(--header-h));
		overflow-y: auto; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.12);
		flex-direction: column; padding: 8px var(--gutter) 24px;
	}
	.main-nav.is-open { display: flex; }
	.main-nav__list { flex-direction: column; height: auto; gap: 0; }
	.main-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.main-nav__list > li > a { flex: 1; padding: 16px 0 12px; border-bottom: 0; font-size: 18px; }
	.main-nav__list > li:hover > a { color: var(--ink); }
	.main-nav__list > li.is-section > a { color: var(--red); }
	.submenu-toggle {
		display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer;
	}
	.submenu-toggle span { width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
	.submenu-toggle[aria-expanded="true"] span { transform: rotate(-135deg); margin-top: 4px; }
	.main-nav .sub-menu { position: static; display: none; width: 100%; min-width: 0; box-shadow: none; border-top: 0; padding: 0 0 12px; }
	.main-nav__list > li:hover > .sub-menu, .main-nav__list > li:focus-within > .sub-menu { display: none; }
	.main-nav__list > li.is-open > .sub-menu { display: flex; }
	.main-nav .sub-menu a { padding: 10px 16px; }
	.site-header__right { align-items: center; gap: 8px; }
	.main-nav__search { border-left: 0; margin: 0; padding: 0; }
	.search-toggle { border: 1px solid var(--line-2); padding: 0 14px; min-height: 44px; }

	.hero { height: 560px; }
	.hero__title { font-size: 42px; }
	.hero__poster { display: none; }
	.hero__content, .hero__controls { bottom: 120px; }
	.hero__controls { align-items: flex-end; }
	.featured-grid { grid-template-columns: 1fr; margin-top: -72px; }
	.feat-card:not(:first-child) { box-shadow: 0 6px 18px rgba(30,20,20,.08); }
	.duo { grid-template-columns: 1fr; }
	.home-cal__grid { grid-template-columns: 1fr; }
	.mini-cal { max-width: 520px; }
	.videos__grid { grid-template-columns: 1fr; }
	.videos__side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
	.news-grid, .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.layout-side { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
	.section-nav { position: static; border-top-width: 3px; }
	.section-nav__title { display: none; }
	.section-nav__toggle {
		display: flex; justify-content: space-between; align-items: center; width: 100%; background: var(--paper-2); border: 0;
		padding: 14px 16px; font-family: var(--f-head); font-weight: 700; font-size: 17px; cursor: pointer; color: var(--ink);
	}
	.section-nav__toggle::after { content: '+'; font-size: 22px; color: var(--red); }
	.section-nav__toggle[aria-expanded="true"]::after { content: '–'; }
	.section-nav__list { display: none; }
	.section-nav.is-open .section-nav__list { display: block; }
	.entry { max-width: none; }

	.event-layout { grid-template-columns: 1fr; gap: 32px; }
	.event-card { position: static; }
	.big-cal__cell { min-height: 100px; padding: 6px; }
	.big-cal__ev { font-size: 12px; padding: 4px 6px; }
	.big-cal__wd { padding: 10px 6px; font-size: 11px; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid > :last-child { grid-column: 1 / -1; }
	.book__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.topbar__inner { justify-content: center; }
	.topbar__info { display: none; }
	.topbar__links { gap: 16px; font-size: 13px; }
	.site-header__logo img, .site-logo { height: 48px; }
	.nav-toggle__label { display: none; }

	.page-band__inner { padding-top: 28px; padding-bottom: 28px; }
	.page-band__title { font-size: 32px; }
	.section-title { font-size: 30px; }
	.section-title--sm { font-size: 26px; }

	.hero { height: 600px; }
	.hero__title { font-size: 32px; }
	.hero__desc { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.hero__content { bottom: 96px; }
	.hero__controls { bottom: 24px; flex-direction: row; justify-content: space-between; align-items: center; }
	.hero__actions .btn { padding: 13px 18px 11px; font-size: 15px; }
	.featured-grid { margin-top: 24px; }
	.feat-card { box-shadow: none; border: 1px solid var(--line); border-top-width: 4px; }
	.feat-card__body { padding: 20px; }
	.feat-card__foot { padding: 12px 20px; }

	.duo { margin-top: 40px; }
	.duo__box { padding: 32px 24px; }
	.duo__title { font-size: 27px; }
	.cf-copy { flex-direction: column; }
	.cf-copy__code { font-size: 19px; }
	.cf-copy button { padding: 14px; }

	.home-cal, .home-news { margin-top: 64px; }
	.home-cal__search { width: 100%; }
	.mini-cal { padding: 14px; }
	.mini-cal__cell { height: 42px; }
	.ev-row--compact { grid-template-columns: 64px minmax(0, 1fr); }
	.ev-row--compact .btn-outline-sm { grid-column: 2; justify-self: start; }
	.ev-row--full { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
	.ev-row--full .ev-row__media { grid-column: 1 / -1; grid-row: 1; }
	.ev-row--full .btn-outline-sm { grid-column: 2; justify-self: start; }
	.ev-row--past { grid-template-columns: 1fr; gap: 8px; }
	.ev-row__title--lg { font-size: 20px; }

	.videos { margin-top: 64px; padding: 56px 0; }
	.videos__side { grid-template-columns: 1fr; }
	.news-grid, .mini-cards { grid-template-columns: 1fr; }
	.nl-form__row { flex-direction: column; gap: 8px; }
	.nl-form__row button { padding: 14px; }

	.entry-content { font-size: 17px; }
	.entry-content > p:first-child, .entry-content .is-style-igt-lead { font-size: 20px; }
	.entry-content h2 { font-size: 25px; }
	.igt-stats, .entry-content .igt-stats { grid-template-columns: 1fr; }
	.igt-stats > .wp-block-column { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
	.igt-stats > .wp-block-column:first-child { border-top: 0; }

	.article { padding: 32px var(--gutter) 0; }
	.article__title { font-size: 30px; }
	.article__lead { font-size: 19px; }
	.prevnext { grid-template-columns: 1fr; }
	.prevnext__next { text-align: left; }

	.events-toolbar { flex-direction: column; align-items: stretch; }
	.events-toolbar__search { width: 100%; }
	.month-nav { justify-content: space-between; }
	.events-toolbar__tabs { justify-content: space-between; }
	.seg a { padding: 10px 12px; font-size: 14px; }
	.big-cal { grid-template-columns: 1fr; border-left: 0; }
	.big-cal__wd, .big-cal__cell.is-blank, .big-cal__cell:not(.has-ev) { display: none; }
	.big-cal__cell { min-height: 0; flex-direction: row; flex-wrap: wrap; border-left: 1px solid var(--line); align-items: flex-start; padding: 12px; }
	.big-cal__d { width: 40px; font-size: 22px; }
	.big-cal__ev { flex: 1; font-size: 14px; }
	.event__where { grid-template-columns: 1fr; }
	.event__lead { font-size: 19px; }

	.fondo-row { grid-template-columns: 1fr; gap: 8px; }
	.fondo-row__actions { flex-direction: row; align-items: center; gap: 16px; }
	.fondi__intro { font-size: 18px; }
	.tabs__tab { padding: 10px 12px 8px; font-size: 15px; }
	.fondi__search { width: 100%; }

	.book { grid-template-columns: 1fr 1fr; padding: 20px 12px; gap: 12px; }
	.book__spread { grid-column: 1 / -1; grid-row: 1; }
	.book__nav { justify-self: center; }
	.book__caption { flex-direction: column; gap: 6px; }
	.book__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.site-footer { margin-top: 64px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
	.note-box { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .section-nav, .share, .prevnext, .related { display: none !important; }
	.layout-side { display: block; }
}
