/* ==========================================================================
   Panathlon Club Caserta — main stylesheet
   Design: "Ludis Iungit" — editoriale sportivo, blu Panathlon + oro,
   fascia dei cinque colori dell'emblema come firma grafica.
   ========================================================================== */

:root {
	/* Brand */
	--pc-blue: #0038a8;
	--pc-blue-600: #0a4fd1;
	--pc-blue-800: #002577;
	--pc-navy: #06123a;
	--pc-ink: #050b24;
	--pc-gold: #ffc20e;
	--pc-gold-600: #e9a800;
	--pc-gold-100: #fff4cc;

	/* Fascia emblema */
	--ring-blue: #0085c7;
	--ring-yellow: #f4c300;
	--ring-black: #111111;
	--ring-green: #009f3d;
	--ring-red: #df0024;

	/* Neutri */
	--pc-bg: #ffffff;
	--pc-surface: #f3f5fa;
	--pc-surface-2: #e8ecf5;
	--pc-line: rgba(6, 18, 58, .12);
	--pc-text: #0b1530;
	--pc-muted: #55607a;

	/* Tipografia */
	--ff-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--ff-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Layout */
	--container: 1320px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--radius: 4px;
	--radius-lg: 10px;
	--header-h: 84px;
	--section-y: clamp(4rem, 9vw, 7.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--pc-text);
	background: var(--pc-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pc-blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--pc-blue-800); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-display);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
	color: inherit;
	text-transform: uppercase;
}
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pc-gold); outline-offset: 2px; }

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 1rem; left: 1rem;
	padding: .75rem 1rem; background: var(--pc-gold); color: var(--pc-ink); font-weight: 700;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* --------------------------------------------------------------------------
   Firma grafica: fascia cinque colori
   -------------------------------------------------------------------------- */
.ring-stripe {
	display: flex; height: 5px; width: 100%;
}
.ring-stripe span { flex: 1; }
.ring-stripe span:nth-child(1) { background: var(--ring-blue); }
.ring-stripe span:nth-child(2) { background: var(--ring-yellow); }
.ring-stripe span:nth-child(3) { background: var(--ring-black); }
.ring-stripe span:nth-child(4) { background: var(--ring-green); }
.ring-stripe span:nth-child(5) { background: var(--ring-red); }
.ring-stripe--short { width: 88px; height: 4px; }
.ring-dots { display: inline-flex; gap: 6px; }
.ring-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ring-dots i:nth-child(1) { background: var(--ring-blue); }
.ring-dots i:nth-child(2) { background: var(--ring-yellow); }
.ring-dots i:nth-child(3) { background: var(--ring-black); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.ring-dots i:nth-child(4) { background: var(--ring-green); }
.ring-dots i:nth-child(5) { background: var(--ring-red); }

/* --------------------------------------------------------------------------
   Elementi comuni
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--ff-display); font-weight: 700; font-size: .95rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--pc-blue);
	margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--pc-gold); }
.on-dark .eyebrow, .eyebrow--light { color: var(--pc-gold); }
.on-dark .eyebrow::before, .eyebrow--light::before { background: #fff; }

.display-xl { font-size: clamp(3.5rem, 11vw, 10rem); line-height: .86; letter-spacing: -.02em; }
.display-l { font-size: clamp(2.75rem, 6.5vw, 5.75rem); line-height: .9; letter-spacing: -.015em; }
.display-m { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: .95; }
.display-s { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; }
.text-gold { color: var(--pc-gold); }
.text-blue { color: var(--pc-blue); }
.text-outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.on-dark .text-outline { -webkit-text-stroke-color: #fff; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--pc-muted); }
.on-dark .lead { color: rgba(255,255,255,.78); }

.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--pc-surface); }
.section--dark { background: var(--pc-navy); color: #fff; }
.section--blue { background: var(--pc-blue); color: #fff; }
.section--gold { background: var(--pc-gold); color: var(--pc-ink); }
.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem); flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head__intro { max-width: 560px; margin: 1rem 0 0; }

/* Bottoni */
.btn {
	--btn-bg: var(--pc-blue); --btn-fg: #fff; --btn-bd: var(--btn-bg);
	display: inline-flex; align-items: center; gap: .65rem;
	padding: .95rem 1.6rem; border: 2px solid var(--btn-bd); border-radius: var(--radius);
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1;
	transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 4px 4px 0 var(--pc-ink); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { --btn-bg: var(--pc-gold); --btn-fg: var(--pc-ink); }
.btn--gold:hover { box-shadow: 4px 4px 0 #fff; }
.btn--dark { --btn-bg: var(--pc-ink); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--pc-ink); --btn-bd: var(--pc-ink); }
.btn--ghost:hover { --btn-bg: var(--pc-ink); --btn-fg: #fff; box-shadow: 4px 4px 0 var(--pc-gold); }
.on-dark .btn--ghost, .btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.6); --btn-bg: transparent; }
.on-dark .btn--ghost:hover, .btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--pc-ink); --btn-bd: #fff; box-shadow: 4px 4px 0 var(--pc-gold); }
.btn--sm { padding: .7rem 1.1rem; font-size: .95rem; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem;
	letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--pc-blue);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: var(--pc-gold); }

.chip {
	display: inline-block; padding: .32rem .7rem; border-radius: 2px;
	background: var(--pc-gold); color: var(--pc-ink);
	font-family: var(--ff-display); font-size: .8rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; text-decoration: none;
}
.chip--blue { background: var(--pc-blue); color: #fff; }
.chip--dark { background: var(--pc-ink); color: #fff; }
.chip--line { background: transparent; border: 1px solid currentColor; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--pc-ink); color: rgba(255,255,255,.72);
	font-size: .82rem; letter-spacing: .04em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--pc-gold); }
.topbar__left { display: flex; align-items: center; gap: 1rem; }
.topbar__left strong { color: #fff; font-weight: 600; }
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar__social { display: flex; gap: .85rem; }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--pc-line);
	transition: box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(6,18,58,.45); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--pc-ink); flex-shrink: 0; }
.brand img, .brand .custom-logo { width: 54px; height: 54px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .01em; text-transform: uppercase; }
.brand__name b { color: var(--pc-blue); font-weight: 800; }
.brand__tag { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pc-muted); margin-top: .3rem; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
	display: flex; align-items: center; gap: .3rem; padding: .6rem .8rem;
	font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem;
	letter-spacing: .06em; text-transform: uppercase; color: var(--pc-ink); text-decoration: none;
	position: relative; white-space: nowrap;
}
.main-nav > ul > li > a::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px;
	background: var(--pc-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; margin-left: .2rem;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px); opacity: .55;
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 250px; padding: .6rem;
	background: #fff; border: 1px solid var(--pc-line); border-top: 3px solid var(--pc-blue);
	box-shadow: 0 24px 48px -24px rgba(6,18,58,.4);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a {
	display: block; padding: .6rem .8rem; border-radius: 2px; text-decoration: none;
	color: var(--pc-text); font-weight: 500; font-size: .98rem;
}
.main-nav .sub-menu a:hover { background: var(--pc-surface); color: var(--pc-blue); }
.main-nav .sub-menu .sub-menu { left: 100%; top: -.6rem; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	border: 1px solid var(--pc-line); background: #fff; color: var(--pc-ink);
	transition: background .2s, color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--pc-ink); color: #fff; }
.nav-toggle { display: none; }

/* Ricerca overlay */
.search-overlay {
	position: fixed; inset: 0; z-index: 200; background: rgba(5,11,36,.96); color: #fff;
	display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay form { width: min(820px, 90vw); }
.search-overlay label { font-family: var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--pc-gold); font-weight: 700; }
.search-overlay input[type="search"] {
	width: 100%; margin-top: 1rem; padding: .5rem 0; background: transparent; border: 0;
	border-bottom: 3px solid #fff; color: #fff; font-family: var(--ff-display); font-size: clamp(2rem, 6vw, 4.5rem);
	font-weight: 800; text-transform: uppercase; outline: none;
}
.search-overlay__close { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   Hero slider (home)
   -------------------------------------------------------------------------- */
.hero {
	position: relative; color: #fff; background: var(--pc-ink); overflow: hidden;
	min-height: clamp(620px, 88vh, 900px); display: flex;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(5,11,36,.92) 0%, rgba(5,11,36,.65) 45%, rgba(0,56,168,.15) 100%),
		linear-gradient(0deg, rgba(5,11,36,.95) 0%, rgba(5,11,36,0) 45%);
}
.hero__content {
	position: relative; z-index: 2; width: 100%;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 6rem; padding-bottom: 9.5rem;
}
.hero__text { max-width: 900px; }
.hero__slide .hero__text > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__text > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__text > *:nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__text > *:nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__text > *:nth-child(4) { transition-delay: .36s; }
.hero h1, .hero h2 { margin-bottom: .25em; }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 600px; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__nav {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	border-top: 1px solid rgba(255,255,255,.15);
	background: linear-gradient(0deg, rgba(5,11,36,.6), rgba(5,11,36,0));
}
.hero__nav .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__tab {
	position: relative; text-align: left; padding: 1.4rem 1.5rem 1.6rem 0; background: none; border: 0; color: rgba(255,255,255,.55);
	transition: color .3s;
}
.hero__tab + .hero__tab { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.hero__tab::before {
	content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 0; background: var(--pc-gold);
}
.hero__tab + .hero__tab::before { left: 1.5rem; }
.hero__tab.is-active { color: #fff; }
.hero__tab.is-active::before { animation: heroProgress var(--hero-duration, 7s) linear forwards; }
.hero__tab small { display: block; font-family: var(--ff-display); letter-spacing: .14em; font-weight: 700; font-size: .78rem; color: var(--pc-gold); margin-bottom: .3rem; }
.hero__tab span { font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
@keyframes heroProgress { from { width: 0; } to { width: calc(100% - 1.5rem); } }
.hero.is-paused .hero__tab.is-active::before { animation-play-state: paused; }

.hero__badge {
	position: absolute; right: var(--gutter); top: 50%; transform: translateY(-60%); z-index: 2;
	width: 220px; height: 220px; display: grid; place-items: center; text-align: center;
	border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
	font-family: var(--ff-display); text-transform: uppercase;
}
.hero__badge::before {
	content: ""; position: absolute; inset: 12px; border-radius: 50%;
	border: 2px dashed rgba(255,194,14,.55); animation: spin 40s linear infinite;
}
.hero__badge strong { display: block; font-size: 4.2rem; font-weight: 800; line-height: .85; color: var(--pc-gold); }
.hero__badge span { font-size: .9rem; letter-spacing: .2em; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Ticker prossimo evento
   -------------------------------------------------------------------------- */
.ticker { background: var(--pc-gold); color: var(--pc-ink); position: relative; z-index: 4; }
.ticker .container { display: flex; align-items: stretch; gap: 0; min-height: 76px; }
.ticker__label {
	display: flex; align-items: center; gap: .6rem; padding-right: 1.5rem; margin-right: 1.5rem;
	border-right: 2px solid rgba(5,11,36,.15);
	font-family: var(--ff-display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ring-red); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.ticker__body { display: flex; align-items: center; gap: 1.5rem; flex: 1; min-width: 0; }
.ticker__date { font-family: var(--ff-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.ticker__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.countdown { display: flex; gap: .4rem; margin-left: auto; align-items: center; }
.countdown div { background: var(--pc-ink); color: #fff; min-width: 54px; text-align: center; padding: .35rem .4rem; border-radius: 2px; }
.countdown b { display: block; font-family: var(--ff-display); font-size: 1.35rem; line-height: 1; font-weight: 800; }
.countdown small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ticker .btn { align-self: center; margin-left: 1.25rem; }

/* --------------------------------------------------------------------------
   Statistiche
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line); }
.stat { padding: 2.2rem 1.5rem 2.2rem 0; }
.stat + .stat { padding-left: 1.75rem; border-left: 1px solid var(--pc-line); }
.stat__num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: .85; color: var(--pc-blue); letter-spacing: -.02em; }
.stat__num sup { font-size: .45em; color: var(--pc-gold-600); vertical-align: top; position: relative; top: .1em; }
.stat__label { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .9rem; }
.stat__desc { font-size: .92rem; color: var(--pc-muted); margin: .25rem 0 0; }

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.filter-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-tabs button, .filter-tabs a {
	padding: .55rem 1rem; border: 1px solid var(--pc-line); background: #fff; border-radius: 99px;
	font-family: var(--ff-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem;
	color: var(--pc-text); text-decoration: none; transition: all .2s;
}
.filter-tabs .is-active, .filter-tabs button:hover, .filter-tabs a:hover { background: var(--pc-ink); border-color: var(--pc-ink); color: #fff; }

.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; }
.news-grid__side { display: grid; gap: 1.5rem; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--pc-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media .chip { position: absolute; top: 1rem; left: 1rem; z-index: 1; }
.card__body { padding: 1.4rem 0 0; }
.card__meta { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-muted); display: flex; gap: .75rem; align-items: center; }
.card__meta i { width: 4px; height: 4px; background: var(--pc-gold-600); border-radius: 50%; }
.card__title { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.02; margin: .55rem 0 .6rem; transition: color .2s; }
.card a.card__link { color: inherit; text-decoration: none; }
.card a.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card:hover .card__title { color: var(--pc-blue); }
.card__excerpt { color: var(--pc-muted); font-size: .98rem; margin: 0; }

/* Card in evidenza (overlay) */
.card--feature { color: #fff; min-height: 100%; }
.card--feature .card__media { aspect-ratio: auto; position: absolute; inset: 0; }
.card--feature .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,36,.95) 5%, rgba(5,11,36,.1) 65%); }
.card--feature .card__body { position: relative; z-index: 1; margin-top: auto; padding: 2.2rem; }
.card--feature .card__title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.card--feature .card__meta, .card--feature .card__excerpt { color: rgba(255,255,255,.78); }
.card--feature:hover .card__title { color: var(--pc-gold); }
.card--feature { min-height: 560px; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }

/* Card orizzontale */
.card--row { flex-direction: row; gap: 1.25rem; align-items: stretch; padding-bottom: 1.5rem; border-bottom: 1px solid var(--pc-line); }
.card--row:last-child { border-bottom: 0; padding-bottom: 0; }
.card--row .card__media { flex: 0 0 42%; aspect-ratio: 4 / 3; }
.card--row .card__body { padding: 0; display: flex; flex-direction: column; }
.card--row .card__title { font-size: 1.45rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }

/* --------------------------------------------------------------------------
   Chi siamo split
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 70px, 100% 100%, 0 100%); }
.split__media .split__badge {
	position: absolute; left: -1.5rem; bottom: 2.5rem; background: var(--pc-blue); color: #fff;
	padding: 1.5rem 1.75rem; box-shadow: 8px 8px 0 var(--pc-gold);
	font-family: var(--ff-display); text-transform: uppercase;
}
.split__badge strong { display: block; font-size: 3.4rem; line-height: .85; font-weight: 800; }
.split__badge span { font-weight: 700; letter-spacing: .12em; font-size: .9rem; }
.split__media .split__media-small {
	position: absolute; right: -2rem; top: 18%; width: 42%; aspect-ratio: 1; object-fit: cover;
	border: 8px solid #fff; clip-path: none; box-shadow: 0 30px 60px -30px rgba(6,18,58,.5);
}
.motto {
	margin: 2rem 0; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 4px solid var(--pc-gold);
	font-family: var(--ff-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.1; text-transform: uppercase;
}
.motto cite { display: block; margin-top: .6rem; font-family: var(--ff-body); font-style: normal; font-size: .95rem; letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--pc-muted); }
.check-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; background: var(--pc-blue);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* --------------------------------------------------------------------------
   Carta del Fair Play — scorrimento orizzontale
   -------------------------------------------------------------------------- */
.fairplay { overflow: hidden; background: var(--pc-navy); color: #fff; }
.fairplay::before {
	content: "FAIR PLAY"; position: absolute; right: -2vw; top: 1.5rem; z-index: 0;
	font-family: var(--ff-display); font-weight: 800; font-size: clamp(7rem, 22vw, 20rem); line-height: .8;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; pointer-events: none;
}
.fairplay > .container { position: relative; z-index: 1; }
.rail-controls { display: flex; gap: .6rem; }
.on-dark .rail-controls button { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.rail-controls button:hover { background: var(--pc-gold); color: var(--pc-ink); border-color: var(--pc-gold); }
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 340px); gap: 1.25rem;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	scrollbar-width: thin; scrollbar-color: var(--pc-gold) transparent; position: relative; z-index: 1;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--pc-gold); }
.pledge {
	scroll-snap-align: start; position: relative; padding: 2rem 1.75rem 2.25rem; min-height: 300px;
	background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
	border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column;
	transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.pledge:hover { background: var(--pc-blue); border-color: var(--pc-blue); transform: translateY(-6px); }
.pledge__num { font-family: var(--ff-display); font-weight: 800; font-size: 4.5rem; line-height: .8; color: var(--pc-gold); margin-bottom: auto; }
.pledge p { font-size: 1.08rem; line-height: 1.5; margin: 2rem 0 0; color: rgba(255,255,255,.9); }
.pledge--cta { background: var(--pc-gold); color: var(--pc-ink); border-color: var(--pc-gold); justify-content: space-between; }
.pledge--cta:hover { background: #fff; border-color: #fff; }
.pledge--cta h3 { font-size: 2.3rem; margin: 0; }
.pledge--cta p { color: var(--pc-ink); margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Eventi
   -------------------------------------------------------------------------- */
.events { display: grid; gap: 0; border-top: 2px solid var(--pc-ink); }
.event {
	display: grid; grid-template-columns: 120px 1fr auto; gap: 2rem; align-items: center;
	padding: 1.75rem 0; border-bottom: 1px solid var(--pc-line); position: relative;
	transition: background .25s, padding .3s var(--ease);
}
.event:hover { background: var(--pc-surface); padding-inline: 1.25rem; }
.event__date { font-family: var(--ff-display); text-transform: uppercase; line-height: .9; text-align: center; border-right: 1px solid var(--pc-line); padding-right: 1.5rem; }
.event__date b { display: block; font-size: 3.6rem; font-weight: 800; color: var(--pc-blue); }
.event__date span { font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.event__date small { display: block; font-size: .8rem; letter-spacing: .14em; color: var(--pc-muted); margin-top: .3rem; }
.event__title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: .4rem 0 .35rem; }
.event__title a { color: inherit; text-decoration: none; }
.event__title a::after { content: ""; position: absolute; inset: 0; }
.event__info { display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--pc-muted); font-size: .95rem; }
.event__info span { display: inline-flex; gap: .4rem; align-items: center; }
.event__info svg { width: 16px; height: 16px; color: var(--pc-blue); }
.event__go {
	width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--pc-ink); display: grid; place-items: center;
	transition: background .25s, color .25s, transform .3s var(--ease);
}
.event__go svg { width: 22px; height: 22px; }
.event:hover .event__go { background: var(--pc-gold); border-color: var(--pc-gold); transform: rotate(-45deg); }

.events-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.join-card {
	position: sticky; top: calc(var(--header-h) + 1.5rem);
	background: var(--pc-blue); color: #fff; padding: 2.25rem; overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.join-card::after {
	content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -90px;
	border: 40px solid rgba(255,194,14,.18); border-radius: 50%;
}
.join-card h3 { font-size: 2.4rem; margin-bottom: .5rem; }
.join-card p { color: rgba(255,255,255,.82); }
.join-card .btn { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Albo dei presidenti — timeline
   -------------------------------------------------------------------------- */
.timeline-wrap { position: relative; }
.timeline {
	display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 0;
	overflow-x: auto; scroll-snap-type: x proximity; padding: 0 0 1.5rem;
	scrollbar-width: thin; scrollbar-color: var(--pc-blue) transparent;
}
.timeline::-webkit-scrollbar { height: 4px; }
.timeline::-webkit-scrollbar-thumb { background: var(--pc-blue); }
.tl-item { scroll-snap-align: start; position: relative; padding: 0 1.5rem 0 0; }
.tl-item::before { content: ""; position: absolute; left: 0; right: 0; top: 3.15rem; height: 2px; background: var(--pc-line); }
.tl-item__year { font-family: var(--ff-display); font-weight: 800; font-size: 2.2rem; color: var(--pc-blue); line-height: 1; }
.tl-item__dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--pc-blue); margin: .75rem 0 1.25rem; z-index: 1; transition: background .2s, transform .2s; }
.tl-item:hover .tl-item__dot { background: var(--pc-gold); border-color: var(--pc-gold); transform: scale(1.3); }
.tl-item__title { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-muted); }
.tl-item__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; margin-top: .2rem; }
.tl-item__name b { display: block; font-weight: 800; }
.tl-item--now .tl-item__dot { background: var(--pc-gold); border-color: var(--pc-gold); box-shadow: 0 0 0 6px rgba(255,194,14,.3); }
.tl-item--first .tl-item__year { color: var(--pc-gold-600); }

/* --------------------------------------------------------------------------
   Junior band
   -------------------------------------------------------------------------- */
.junior { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; background: var(--pc-gold); }
.junior__text { padding: var(--section-y) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.junior__text .eyebrow { color: var(--pc-ink); }
.junior__text .eyebrow::before { background: var(--pc-blue); }
.junior__text p { font-size: 1.1rem; max-width: 560px; }
.junior__media { position: relative; min-height: 420px; }
.junior__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.junior__text .junior__big { max-width: none; font-family: var(--ff-display); font-weight: 800; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; text-transform: uppercase; margin: 0 0 1.5rem; }
.junior__big span { display: block; color: var(--pc-blue); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: .75rem; }
.gallery-strip a { position: relative; overflow: hidden; display: block; }
.gallery-strip a:first-child { grid-row: span 2; }
.gallery-strip a:nth-child(4) { grid-column: span 2; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery-strip a:hover img { transform: scale(1.06); }
.gallery-strip a::after { content: ""; position: absolute; inset: 0; background: var(--pc-blue); mix-blend-mode: multiply; opacity: 0; transition: opacity .3s; }
.gallery-strip a:hover::after { opacity: .45; }

/* --------------------------------------------------------------------------
   CTA grande
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--pc-blue); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.cta-band__actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* Partner */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--pc-line); border-left: 1px solid var(--pc-line); }
.partner {
	display: grid; place-items: center; text-align: center; min-height: 130px; padding: 1.25rem;
	border-right: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line);
	font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pc-muted);
	transition: color .2s, background .2s; text-decoration: none; line-height: 1.15;
}
.partner img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: all .3s; }
.partner:hover { background: var(--pc-surface); color: var(--pc-blue); }
.partner:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--pc-ink); color: rgba(255,255,255,.7); font-size: .97rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--pc-gold); }
.footer-top { padding-block: 4.5rem 3rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1.5rem; }
.footer-brand .brand__tag { color: rgba(255,255,255,.55); }
.footer-brand .brand__name b { color: var(--pc-gold); }
.footer-col h4, .site-footer .widget-title {
	font-size: 1rem; letter-spacing: .16em; color: #fff; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-contact { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .25rem; color: var(--pc-gold); }
.newsletter { display: flex; margin-top: 1rem; border: 1px solid rgba(255,255,255,.25); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .9rem 1rem; font: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter button { background: var(--pc-gold); border: 0; padding: 0 1.2rem; font-family: var(--ff-display); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-ink); }
.footer-motto { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.5rem, 13vw, 12rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); text-align: center; letter-spacing: -.01em; padding-bottom: 1rem; user-select: none; white-space: nowrap; overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: all .2s; }
.social a:hover { background: var(--pc-gold); border-color: var(--pc-gold); color: var(--pc-ink); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Pagine interne
   -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--pc-navy); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pc-navy) 15%, rgba(6,18,58,.4)); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); margin: 0; max-width: 1000px; }
.page-hero__sub { margin-top: 1.25rem; max-width: 700px; color: rgba(255,255,255,.8); font-size: 1.15rem; }
.breadcrumbs { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.5rem; color: rgba(255,255,255,.6); }
.breadcrumbs a { color: var(--pc-gold); text-decoration: none; }
.breadcrumbs span[aria-hidden] { margin: 0 .5rem; }

.content-area { padding-block: clamp(3rem, 7vw, 5.5rem); }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; }

/* Prosa (contenuti editor) */
.entry-content { font-size: 1.1rem; }
.entry-content > * { margin-block: 0 1.35rem; }
.entry-content h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 3rem; }
.entry-content h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.25rem; }
.entry-content h4 { font-size: 1.3rem; margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content li::marker { color: var(--pc-blue); font-weight: 700; }
.entry-content blockquote, .wp-block-quote {
	border-left: 4px solid var(--pc-gold); margin-left: 0; padding: .5rem 0 .5rem 1.5rem;
	font-family: var(--ff-display); font-size: 1.7rem; line-height: 1.15; text-transform: uppercase; font-weight: 700;
}
.entry-content blockquote cite { display: block; margin-top: .6rem; font: 500 .95rem var(--ff-body); text-transform: none; color: var(--pc-muted); }
.entry-content img { height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th { text-align: left; font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .08em; background: var(--pc-ink); color: #fff; padding: .8rem 1rem; }
.entry-content td { padding: .8rem 1rem; border-bottom: 1px solid var(--pc-line); }
.entry-content tr:nth-child(even) td { background: var(--pc-surface); }
.entry-content .alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--pc-muted); margin-top: .5rem; }
.wp-block-button__link { border-radius: var(--radius); font-family: var(--ff-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.entry-header-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; color: rgba(255,255,255,.75); font-size: .95rem; }
.entry-featured { margin-top: calc(-1 * clamp(2rem, 4vw, 3rem)); position: relative; z-index: 2; }
.entry-featured img { width: 100%; max-height: 640px; object-fit: cover; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--pc-ink); }
.post-nav a { text-decoration: none; color: inherit; display: block; }
.post-nav small { color: var(--pc-blue); font-family: var(--ff-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-nav strong { display: block; font-family: var(--ff-display); font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; margin-top: .3rem; }
.post-nav .next { text-align: right; }

.pagination, .nav-links { display: flex; gap: .4rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap; }
.page-numbers {
	min-width: 48px; height: 48px; display: grid; place-items: center; padding: 0 1rem; border: 1px solid var(--pc-line);
	font-family: var(--ff-display); font-weight: 700; text-decoration: none; color: var(--pc-text);
}
.page-numbers.current, .page-numbers:hover { background: var(--pc-ink); color: #fff; border-color: var(--pc-ink); }

/* Sidebar / widget */
.sidebar .widget { margin-bottom: 2.5rem; }
.sidebar .widget-title { font-size: 1.2rem; letter-spacing: .1em; padding-bottom: .7rem; border-bottom: 2px solid var(--pc-ink); margin-bottom: 1.2rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .6rem 0; border-bottom: 1px solid var(--pc-line); }
.sidebar a { text-decoration: none; color: var(--pc-text); }
.sidebar a:hover { color: var(--pc-blue); }

.search-form { display: flex; border: 2px solid var(--pc-ink); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; padding: .85rem 1rem; font: inherit; }
.search-form button { border: 0; background: var(--pc-ink); color: #fff; padding: 0 1.2rem; font-family: var(--ff-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Pattern: organigramma */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.person { background: #fff; border: 1px solid var(--pc-line); padding: 1.5rem; position: relative; transition: border-color .2s, transform .3s var(--ease); }
.person:hover { border-color: var(--pc-blue); transform: translateY(-4px); }
.person::before { content: ""; position: absolute; top: -1px; left: -1px; width: 48px; height: 4px; background: var(--pc-gold); }
.person__role { font-family: var(--ff-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--pc-blue); }
.person__name { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin-top: .4rem; }
.person--lead { background: var(--pc-blue); color: #fff; border-color: var(--pc-blue); }
.person--lead .person__role { color: var(--pc-gold); }

/* Pattern: carta numerata */
.numbered { counter-reset: n; list-style: none; padding: 0 !important; display: grid; gap: 0; }
.numbered li { counter-increment: n; position: relative; padding: 1.25rem 0 1.25rem 4.5rem; border-bottom: 1px solid var(--pc-line); margin: 0 !important; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .9rem; font-family: var(--ff-display); font-weight: 800; font-size: 2.2rem; color: var(--pc-blue); line-height: 1; }

/* Archivio eventi (pagina) */
.event-meta-box { background: var(--pc-surface); border-left: 4px solid var(--pc-gold); padding: 1.5rem 1.75rem; display: grid; gap: .75rem; margin-bottom: 2.5rem; }
.event-meta-box div { display: flex; gap: .75rem; }
.event-meta-box strong { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .1em; min-width: 90px; }

/* 404 */
.error-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--pc-navy); color: #fff; padding: 4rem 0; }
.error-404 .display-xl { color: var(--pc-gold); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.main-nav > ul > li > a { padding: .6rem .55rem; font-size: 1rem; }
	.hero__badge { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.events-layout { grid-template-columns: 1fr; }
	.join-card { position: relative; top: 0; }
}

@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: grid; }
	.header-actions .btn { display: none; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; margin: 0;
		overflow-y: auto; padding: 1.5rem var(--gutter) 3rem;
		transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99;
		border-top: 1px solid var(--pc-line);
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav > ul > li { border-bottom: 1px solid var(--pc-line); }
	.main-nav > ul > li > a { font-size: 1.6rem; padding: 1rem 0; justify-content: space-between; }
	.main-nav > ul > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 1rem; display: none; min-width: 0; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { font-size: 1.1rem; padding: .55rem 0 .55rem 1rem; border-left: 2px solid var(--pc-line); }
	.main-nav .sub-menu .sub-menu { padding-left: 1rem; }
	.main-nav .menu-cta { margin-top: 2rem; display: block; border: 0 !important; }
	.main-nav .menu-cta a { justify-content: center !important; }

	.hero__nav .container { grid-template-columns: repeat(3, 1fr); }
	.hero__tab span { font-size: 1rem; }
	.news-grid { grid-template-columns: 1fr; }
	.card--feature { min-height: 460px; }
	.split { grid-template-columns: 1fr; }
	.split__media { max-width: 560px; }
	.junior { grid-template-columns: 1fr; }
	.junior__text { padding-inline: var(--gutter); }
	.junior__media { min-height: 320px; }
	.junior__media img { clip-path: none; }
	.cta-band .container { grid-template-columns: 1fr; align-items: start; }
	.layout-sidebar { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.partners { grid-template-columns: repeat(3, 1fr); }
	.countdown { display: none; }
}

@media (min-width: 1025px) { .main-nav .menu-cta { display: none; } }

@media (max-width: 760px) {
	body { font-size: 1rem; }
	.topbar__left span:not(:first-child), .topbar__right > a { display: none; }
	.brand img, .brand .custom-logo { width: 44px; height: 44px; }
	.brand__name { font-size: 1.25rem; }
	.brand__tag { font-size: .62rem; letter-spacing: .14em; }
	.hero { min-height: 640px; }
	.hero__content { padding-bottom: 8rem; }
	.hero__nav .container { grid-template-columns: repeat(3, 1fr); padding-inline: 0; }
	.hero__tab { padding: 1rem .9rem 1.1rem !important; }
	.hero__tab::before { left: 0 !important; }
	.hero__tab span { display: none; }
	@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
	.ticker .container { flex-wrap: wrap; padding-block: 1rem; gap: .5rem; }
	.ticker__label { border: 0; padding: 0; margin: 0; width: 100%; }
	.ticker__body { flex-wrap: wrap; gap: .25rem 1rem; }
	.ticker__title { white-space: normal; }
	.ticker .btn { margin-left: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 1.5rem 1rem 1.5rem 0 !important; border-left: 0 !important; }
	.stat:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--pc-line) !important; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--pc-line); }
	.card--row { flex-direction: column; }
	.card--row .card__media { flex: none; }
	.post-grid { grid-template-columns: 1fr; }
	.event { grid-template-columns: 80px 1fr; gap: 1.25rem; }
	.event__date { padding-right: 1rem; }
	.event__date b { font-size: 2.6rem; }
	.event__go { display: none; }
	.split__media .split__media-small { display: none; }
	.split__media .split__badge { left: 1rem; }
	.gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }
	.gallery-strip a:first-child { grid-column: span 2; grid-row: auto; }
	.gallery-strip a:nth-child(4) { grid-column: auto; }
	.footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
	.partners { grid-template-columns: repeat(2, 1fr); }
	.post-nav { grid-template-columns: 1fr; }
	.section-head { align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Integrazione blocchi / pattern
   -------------------------------------------------------------------------- */
h1 em, h2 em, h3 em { font-style: normal; color: var(--pc-blue); }
.on-dark h1 em, .on-dark h2 em { color: var(--pc-gold); }
.people-grid > *, .person > *, .stats > *, .stat > * { margin-block: 0 !important; }
.person__name { margin-top: .4rem !important; }
.entry-content .stats { margin-block: 2rem; }
.entry-content .join-card { position: relative; top: 0; padding: 2.5rem; }
.entry-content .join-card > * { position: relative; z-index: 1; }
.entry-content .eyebrow { display: flex; }
.is-style-numbered { counter-reset: n; list-style: none; padding: 0 !important; }
.is-style-numbered li { counter-increment: n; position: relative; padding: 1.25rem 0 1.25rem 4.5rem; border-bottom: 1px solid var(--pc-line); margin: 0 !important; }
.is-style-numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .9rem; font-family: var(--ff-display); font-weight: 800; font-size: 2.2rem; color: var(--pc-blue); line-height: 1; }
.is-style-check { list-style: none; padding: 0 !important; }
.is-style-check li { position: relative; padding-left: 2rem; }
.is-style-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; background: var(--pc-blue); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.wp-block-button.is-style-gold .wp-block-button__link { background: var(--pc-gold); color: var(--pc-ink); }
.wp-block-button.is-style-outline-dark .wp-block-button__link { background: transparent; color: var(--pc-ink); border: 2px solid var(--pc-ink); }
.wp-block-button__link { transition: transform .25s var(--ease), box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--pc-ink); }
.wp-block-image img { height: auto; }
.wp-block-gallery { gap: .75rem; }
.wp-block-file { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--pc-surface); border-left: 4px solid var(--pc-blue); }
.wp-block-file .wp-block-file__button { background: var(--pc-blue); border-radius: var(--radius); font-family: var(--ff-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wp-block-separator { border: 0; height: 4px; width: 88px; background: linear-gradient(90deg, var(--ring-blue) 20%, var(--ring-yellow) 20% 40%, var(--ring-black) 40% 60%, var(--ring-green) 60% 80%, var(--ring-red) 80%); margin-block: 3rem; }
.wp-block-separator.is-style-wide { width: 100%; height: 1px; background: var(--pc-line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--pc-line); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--pc-line); font: inherit; }
.comment-form input[type=submit] { background: var(--pc-blue); color: #fff; border: 0; padding: .9rem 1.6rem; font-family: var(--ff-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

/* --------------------------------------------------------------------------
   Banner consenso cookie
   -------------------------------------------------------------------------- */
.consent { position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 200; width: min(460px, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); overflow: auto; background: #fff; color: var(--pc-text); box-shadow: 0 24px 60px rgba(5, 11, 36, .28), 0 2px 6px rgba(5, 11, 36, .12); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.consent.is-open { opacity: 1; transform: none; }
.consent .ring-stripe { height: 4px; }
.consent__inner { padding: 1.4rem 1.5rem 1.2rem; }
.consent__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.consent__title { margin: 0; font-family: var(--ff-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1; color: var(--pc-ink); }
.consent__x { background: none; border: 0; padding: .35rem; margin: -.35rem; cursor: pointer; color: var(--pc-ink); }
.consent__x svg { width: 20px; height: 20px; }
.consent__text { font-size: .9rem; line-height: 1.55; color: var(--pc-muted); margin: 0 0 1rem; }
.consent__prefs { border-top: 1px solid var(--pc-line); margin-bottom: 1rem; }
.consent__cat { border-bottom: 1px solid var(--pc-line); }
.consent__cat summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; cursor: pointer; list-style: none; font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; color: var(--pc-ink); }
.consent__cat summary::-webkit-details-marker { display: none; }
.consent__cat summary > span::before { content: "+"; display: inline-block; width: 1.1em; color: var(--pc-blue); }
.consent__cat[open] summary > span::before { content: "–"; }
.consent__cat summary em { font-family: var(--ff-body); font-style: normal; font-size: .78rem; font-weight: 600; text-transform: none; color: var(--ring-green); }
.consent__cat p { margin: 0 0 .9rem 1.1em; font-size: .85rem; line-height: 1.5; color: var(--pc-muted); }
.consent__switch { position: relative; display: inline-flex; cursor: pointer; }
.consent__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent__switch span { width: 42px; height: 24px; border-radius: 12px; background: var(--pc-surface-2); transition: background .2s; position: relative; }
.consent__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.consent__switch input:checked + span { background: var(--pc-blue); }
.consent__switch input:checked + span::after { transform: translateX(18px); }
.consent__switch input:focus-visible + span { outline: 2px solid var(--pc-gold); outline-offset: 2px; }
.consent__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.consent__actions .btn { justify-content: center; padding-inline: .5rem; width: 100%; }
.consent__actions .btn:hover { box-shadow: 3px 3px 0 var(--pc-gold); }
.consent.show-prefs .consent__actions { grid-template-columns: 1fr 1fr; }
.consent.show-prefs [data-consent-save] { grid-column: 1 / -1; }
.consent__links { display: flex; justify-content: center; gap: 1.25rem; margin: .9rem 0 0; font-size: .8rem; }
.consent__links a { color: var(--pc-blue); text-decoration: underline; text-underline-offset: 2px; }
.footer-consent { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.footer-consent:hover { opacity: 1; color: var(--pc-gold); }
@media (max-width: 560px) {
	.consent { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
	.consent__actions { grid-template-columns: 1fr 1fr; }
	.consent__actions [data-consent-prefs] { grid-column: 1 / -1; }
}
.consent [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Sottomenu annidati (es. Storia del Club → anniversari): freccia a destra, non barra */
.main-nav .sub-menu .menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-nav .sub-menu .menu-item-has-children > a::before { order: 2; margin-left: auto; flex: none; transform: rotate(-45deg); }
@media (max-width: 1024px) {
	.main-nav .sub-menu .menu-item-has-children > a::before { transform: rotate(45deg) translateY(-3px); }
}

/* Slider: sotto i 15" (o su schermi bassi) solo titolo, senza testo e pulsanti */
@media (max-width: 1599px), (max-height: 899px) {
	.hero .hero__lead, .hero .hero__actions { display: none; }
}
