/*
Theme Name: Smit Tornados
Theme URI: https://smitroma.it
Author: Member
Description: Tema della Pallacanestro Smit Roma, ispirato al layout Tornados. Colori sociali bordeaux e oro, font ospitati nel tema, nessun page builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: smit-tornados
*/

/* ---------- Font (ospitati nel tema, licenza OFL) ---------- */
@font-face {
	font-family: "Inter Tight";
	src: url("assets/fonts/inter-tight.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans.woff2") format("woff2");
	font-weight: 100 1000;
	font-display: swap;
}

/* ---------- Variabili ---------- */
:root {
	--bordeaux: #9a2219;
	--bordeaux-scuro: #7d1a13;
	--oro: #d69638;
	--oro-chiaro: #e8b25e;
	--nero: #0b0907;
	--nero-2: #161412;
	--nero-3: #22201d;
	--grigio: #797c7f;
	--grigio-chiaro: #e7e6e3;
	--crema: #f8f8f7;
	--bianco: #fff;
	--testo: #111;

	--f-titoli: "Inter Tight", "Segoe UI", system-ui, sans-serif;
	--f-testo: "DM Sans", "Segoe UI", system-ui, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 48px);
	--sezione: clamp(64px, 9vw, 120px);
	--raggio: 4px;
	--header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bianco);
	color: var(--grigio);
	font-family: var(--f-testo);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--bordeaux); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-titoli);
	color: var(--testo);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--oro); color: var(--nero); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.smit-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Elementi ricorrenti ---------- */
.eyebrow {
	font-family: var(--f-titoli);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--testo);
	margin: 0 0 14px;
}
.eyebrow--gold { color: var(--oro); }

.section { padding-block: var(--sezione); }
.section--light { background: var(--crema); }
.section--dark { background: var(--nero-2); color: #b9b6b1; }
.section--dark h2, .section--dark h3 { color: var(--bianco); }

.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; }
.section-title { font-size: clamp(36px, 5vw, 60px); margin: 0; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 30px;
	border-radius: 999px; border: 1px solid transparent;
	font-family: var(--f-titoli); font-size: 13px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
	transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn--primary { background: var(--bordeaux); color: var(--bianco); }
.btn--primary:hover { background: var(--oro); color: var(--nero); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--bianco); }
.btn--ghost:hover { border-color: var(--oro); color: var(--oro); }

.tag {
	display: inline-block; padding: 4px 14px; border-radius: 999px;
	background: var(--oro); color: var(--nero);
	font-family: var(--f-titoli); font-size: 12px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase;
}
.meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
	font-size: 14px; color: var(--grigio); margin: 0 0 6px;
}
.meta__cat {
	font-family: var(--f-titoli); font-weight: 600; font-size: 13px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--testo);
}
.meta__cat::after { content: "•"; margin-left: 10px; color: var(--grigio-chiaro); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-titoli); font-size: 13px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase; color: var(--bianco);
}
.link-arrow .smit-icon { transition: transform .25s; }
.link-arrow:hover { color: var(--oro); }
.link-arrow:hover .smit-icon { transform: translateX(4px); }

/* Social */
.smit-social { display: flex; gap: 10px; list-style: none; }
.smit-social a {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	color: var(--bianco); background: rgba(255,255,255,.08);
	transition: background .25s, color .25s, transform .25s;
}
.smit-social a:hover { background: var(--bordeaux); color: var(--bianco); transform: translateY(-2px); }
.smit-social a.is-whatsapp:hover { background: #25d366; color: var(--nero); }

/* ---------- Header ---------- */
.site-header {
	position: absolute; inset: 0 0 auto; z-index: 50;
	color: var(--bianco);
	transition: background .3s, box-shadow .3s, transform .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-sticky {
	position: fixed; background: rgba(11, 9, 7, .96);
	box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.site-header.is-sticky .site-header__inner { min-height: 76px; }
.site-header.is-sticky .brand__logo { width: 52px; height: 52px; }
.site-header__inner {
	display: flex; align-items: center; gap: 16px;
	min-height: var(--header-h);
	transition: min-height .3s;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--bianco); }
.brand:hover { color: var(--bianco); }
.brand__logo { width: 64px; height: 64px; transition: width .3s, height .3s; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-titoli); text-transform: uppercase; }
.brand__top { color: var(--oro); font-weight: 800; font-size: 13px; letter-spacing: .14em; margin-bottom: 4px; }
.brand__bottom { font-weight: 800; font-size: 22px; letter-spacing: .01em; }

.main-nav { margin-left: auto; }
.smit-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.smit-menu > li { position: relative; }
.smit-menu a {
	display: block; padding: 10px 9px;
	font-family: var(--f-titoli); font-size: 13.5px; font-weight: 600;
	letter-spacing: .04em; text-transform: uppercase; color: var(--bianco);
}
.smit-menu > li > a { position: relative; white-space: nowrap; }
.smit-menu > li > a::after {
	content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px;
	background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.smit-menu > li:hover > a::after,
.smit-menu > .current-menu-item > a::after,
.smit-menu > .current-menu-ancestor > a::after,
.smit-menu > .current_page_item > a::after { transform: scaleX(1); }
.smit-menu .menu-item-has-children > a,
.smit-menu .page_item_has_children > a { padding-right: 20px; }
.smit-menu .menu-item-has-children > a::before,
.smit-menu .page_item_has_children > a::before {
	content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.smit-menu .sub-menu, .smit-menu .children {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	list-style: none; padding: 12px 0;
	background: var(--nero-2); border-top: 2px solid var(--bordeaux);
	box-shadow: 0 20px 40px rgba(0,0,0,.35);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.smit-menu li:hover > .sub-menu, .smit-menu li:focus-within > .sub-menu,
.smit-menu li:hover > .children, .smit-menu li:focus-within > .children {
	opacity: 1; visibility: visible; transform: none;
}
.smit-menu .sub-menu a, .smit-menu .children a {
	padding: 9px 22px; font-size: 13px; color: #c9c5bf; text-transform: none; letter-spacing: .02em; font-weight: 500;
}
.smit-menu .sub-menu a:hover, .smit-menu .children a:hover { color: var(--oro); }
.main-nav__social { display: none; }

.site-header__tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px;
	background: none; border: 0; color: inherit; border-radius: 50%;
}
.icon-btn:hover { color: var(--oro); }
.icon-btn .smit-icon { width: 22px; height: 22px; }
.burger {
	display: none; width: 44px; height: 44px; background: none; border: 0; padding: 12px 10px;
	flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--bianco); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Ricerca */
.search-overlay {
	position: fixed; inset: 0; z-index: 100;
	display: grid; place-items: center; padding: var(--gutter);
	background: rgba(11, 9, 7, .97);
}
.search-overlay[hidden] { display: none; }
.search-overlay__close { position: absolute; top: 24px; right: 24px; color: var(--bianco); }
.search-overlay__form { display: flex; gap: 12px; width: min(760px, 100%); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 12px; }
.search-overlay__form input {
	flex: 1; min-width: 0; background: none; border: 0; color: var(--bianco);
	font-family: var(--f-titoli); font-size: clamp(22px, 4vw, 40px); font-weight: 600;
}
.search-overlay__form input:focus { outline: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--nero);
	color: #b4b0aa;
	padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
}
/* Foto del Tellene appena intravista dietro il nero */
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(11,9,7,.93) 0%, rgba(11,9,7,.84) 55%, rgba(11,9,7,.7) 100%),
		linear-gradient(0deg, rgba(11,9,7,.95) 0%, transparent 40%);
}
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero__title {
	color: var(--bianco);
	font-size: clamp(46px, 7.4vw, 104px);
	font-weight: 700; line-height: .98; letter-spacing: -0.035em;
	margin-bottom: 28px;
}
.hero__title span { display: block; color: var(--oro); }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__social { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__place { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: #d6d2cc; }
.hero__place .smit-icon { color: var(--oro); }

.hero__recent {
	background: var(--nero-2);
	border: 1px solid rgba(255,255,255,.07);
	border-top: 3px solid var(--bordeaux);
	padding: 32px clamp(20px, 2.4vw, 36px) 12px;
}
.hero__recent-title {
	color: var(--bianco); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
}
.recent-list { list-style: none; }
.recent-item {
	display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center;
	padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.recent-item:last-child { border-bottom: 0; }
.recent-item__img { display: block; overflow: hidden; aspect-ratio: 1; background: var(--nero-3); }
.recent-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.recent-item:hover .recent-item__img img { transform: scale(1.08); }
.recent-item .meta { color: #8f8a84; font-size: 13px; margin-bottom: 4px; }
.recent-item__title { font-size: 17px; line-height: 1.3; margin: 0; color: var(--bianco); }
.recent-item__title a:hover { color: var(--oro); }

/* ---------- I nostri articoli ---------- */
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.section-head--split .link-arrow { color: var(--testo); }
.section-head--split .link-arrow:hover { color: var(--bordeaux); }
.articles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.article-big__img { position: relative; display: block; overflow: hidden; aspect-ratio: 7 / 5; background: var(--grigio-chiaro); }
.article-big__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article-big:hover .article-big__img img { transform: scale(1.05); }
.article-big__img .tag { position: absolute; top: 20px; left: 20px; }
.article-big__body { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding-top: 26px; }
.smit-date-badge { display: flex; flex-direction: column; align-items: center; min-width: 56px; font-family: var(--f-titoli); color: var(--testo); line-height: 1; }
.smit-date-badge strong { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.smit-date-badge span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.article-big__title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.article-big__excerpt { margin: 0; }

.articles__side { display: grid; gap: clamp(20px, 2.2vw, 32px); align-content: start; }
.article-small { display: grid; grid-template-columns: minmax(120px, 210px) 1fr; gap: clamp(18px, 2vw, 32px); align-items: center; }
.article-small__img { display: block; overflow: hidden; aspect-ratio: 1; background: var(--grigio-chiaro); }
.article-small__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article-small:hover .article-small__img img { transform: scale(1.06); }
.article-small__title { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; margin: 0; }

/* ---------- Banner home ---------- */
.home-banner { background: var(--nero); line-height: 0; }
.home-banner img { width: 100%; aspect-ratio: 1900 / 450; object-fit: cover; }

/* ---------- Prima squadra ---------- */
.team { overflow: hidden; }
.team__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 24px) / 5);
	gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-bottom: 4px; cursor: grab;
}
.team__track::-webkit-scrollbar { display: none; }
.team__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.team__track.is-dragging * { pointer-events: none; }
.player { scroll-snap-align: start; }
.player__photo {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 20px;
	background: #0f0d0b;
}
.player__photo img { width: 100%; height: 100%; object-fit: cover; }
.player__photo--empty {
	display: grid; place-items: center;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(214,150,56,.22), transparent 60%),
		linear-gradient(160deg, var(--bordeaux) 0%, #3b0d09 55%, #0f0d0b 100%);
}
.player__mark {
	position: absolute; width: 140% !important; height: auto !important; max-width: none;
	right: -55%; bottom: -30%; opacity: .14; filter: grayscale(1) brightness(2);
	transition: transform .6s;
}
.player:hover .player__mark { transform: rotate(-8deg) scale(1.04); }
.player__initials {
	position: relative; font-family: var(--f-titoli); font-weight: 700;
	font-size: clamp(56px, 6vw, 84px); letter-spacing: -0.04em; color: rgba(255,255,255,.92);
}
.player__name { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.player__name strong { font-weight: 700; }
.player__role { font-size: 15px; margin: 0; color: #8f8a84; }
.team__foot { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
.carousel-progress { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.12); }
.carousel-progress span { position: absolute; left: 0; top: -1px; height: 4px; width: 20%; background: var(--bordeaux); transition: transform .15s linear; }

/* ---------- Ultime news ---------- */
.news__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 28px) / 3);
	gap: 28px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.news__track::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; }
.news-card__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--grigio-chiaro); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__cat {
	margin: 0 0 8px; font-family: var(--f-titoli); font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux);
}
.news-card__title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; margin-bottom: 10px; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.slider-dots button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
	background: var(--grigio-chiaro); transition: background .25s, transform .25s;
}
.slider-dots button[aria-current="true"] { background: var(--bordeaux); transform: scale(1.2); }

/* ---------- Sponsor ---------- */
.sponsors { padding-block: clamp(56px, 7vw, 96px); }
.sponsors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.sponsor { background: var(--bianco); border: 1px solid #ebeae7; transition: border-color .25s, box-shadow .25s; }
.sponsor:hover { border-color: var(--oro); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.sponsor > a, .sponsor > img, .sponsor > span {
	display: grid; place-items: center; height: 120px; padding: 20px 28px;
}
.sponsor img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.sponsor:hover img { filter: none; opacity: 1; }
.sponsor span { font-family: var(--f-titoli); font-weight: 700; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #b3b1ad; text-align: center; }
.sponsor--empty span { font-size: 13px; font-weight: 600; color: #c2c0bb; }

/* ---------- Baskin ---------- */
.baskin {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--nero); color: #cfcac3;
	padding-block: clamp(80px, 10vw, 140px);
}
.baskin__bg {
	position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
}
.baskin::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(11,9,7,.97) 0%, rgba(11,9,7,.9) 38%, rgba(11,9,7,.45) 70%, rgba(11,9,7,.25) 100%),
		linear-gradient(0deg, rgba(154,34,25,.35), transparent 50%);
}
.baskin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.baskin__text { max-width: 560px; }
.baskin__title { color: var(--bianco); font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 24px; }
.baskin__text p { margin-bottom: 1.1em; }
.baskin__text .btn { margin-top: 16px; }
.baskin__photos { position: relative; min-height: 440px; }
.baskin__photo { position: absolute; object-fit: cover; border: 6px solid var(--bianco); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.baskin__photo--a { width: 74%; aspect-ratio: 3 / 2; right: 0; top: 0; transform: rotate(2deg); }
.baskin__photo--b { width: 42%; aspect-ratio: 4 / 5; left: 4%; bottom: 0; transform: rotate(-4deg); }

/* ---------- Instagram ---------- */
.instagram { padding-block: clamp(56px, 7vw, 96px) 0; }
.instagram__box { position: relative; }
.instagram__grid { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.instagram__grid a { display: block; overflow: hidden; aspect-ratio: 1; background: var(--nero-2); }
.instagram__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.instagram__grid a:hover img { transform: scale(1.08); opacity: .85; }
.instagram__follow {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px;
	background: var(--bianco); color: var(--testo); border-radius: 999px;
	font-family: var(--f-titoli); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	box-shadow: 0 12px 30px rgba(0,0,0,.2);
	white-space: nowrap;
}
.instagram__follow:hover { background: var(--bordeaux); color: var(--bianco); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bianco); color: var(--grigio); font-size: 15px; padding-top: clamp(40px, 5vw, 64px); }
.site-footer .brand { color: var(--testo); }
.site-footer .brand__top { color: var(--oro); }
.site-footer__top {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	padding-bottom: 28px;
	background: linear-gradient(#ecebe8, #ecebe8) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.site-footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.site-footer__contacts li { display: flex; align-items: center; gap: 8px; }
.site-footer__contacts .smit-icon { color: var(--bordeaux); width: 18px; height: 18px; }
.site-footer__contacts a:hover { color: var(--bordeaux); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 24px 28px; }
.site-footer__copy { margin: 0; font-size: 14px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; }
.footer-menu a {
	font-family: var(--f-titoli); font-size: 13px; font-weight: 600; letter-spacing: .08em;
	text-transform: uppercase; color: var(--testo);
}
.footer-menu a:hover { color: var(--bordeaux); }
.smit-social--round a { background: var(--nero); color: var(--bianco); width: 42px; height: 42px; }
.smit-social--round a .smit-icon { width: 18px; height: 18px; }
.hero .smit-social--round a { background: rgba(255,255,255,.08); }

/* ---------- Pagine interne ---------- */
.page-hero {
	background: var(--nero); color: #b4b0aa;
	padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
	position: relative; overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -80px; bottom: -160px; width: 420px; height: 420px;
	background: url("assets/img/logo-smit.png") center / contain no-repeat;
	opacity: .06; filter: grayscale(1) brightness(2); pointer-events: none;
}
.page-hero h1 { color: var(--bianco); font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.03em; margin: 0; max-width: 980px; }
.page-hero .meta { color: #a9a49d; margin-top: 18px; }
.breadcrumbs { font-family: var(--f-titoli); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--oro); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--bianco); }

.content-area { padding-block: clamp(48px, 6vw, 88px); }
.entry { max-width: 820px; margin-inline: auto; color: #4b4d50; font-size: 18px; }
.entry > * { margin-block: 0 1.2em; }
.entry h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.entry h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.4em; }
.entry a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--oro); }
.entry img { margin-block: 1.4em; }
.entry figure { margin-inline: 0; }
.entry figcaption { font-size: 14px; color: var(--grigio); margin-top: 8px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { border-left: 3px solid var(--oro); margin-inline: 0; padding: 4px 0 4px 24px; font-family: var(--f-titoli); font-size: 22px; color: var(--testo); }
.entry .alignwide { max-width: 1100px; margin-inline: auto; }
.entry .wp-block-image img { margin: 0; }
.entry-thumb { max-width: 1100px; margin: 0 auto clamp(32px, 4vw, 56px); }
.entry-thumb img { width: 100%; max-height: 640px; object-fit: cover; }
.entry-footer { max-width: 820px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--grigio-chiaro); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.entry-footer a { font-family: var(--f-titoli); font-weight: 600; color: var(--testo); }
.entry-footer a:hover { color: var(--bordeaux); }

/* Rosa nelle pagine (contenuto esistente) */
.sr-roster { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sr-roster li {
	background: var(--crema); border-left: 3px solid var(--bordeaux);
	padding: 16px 20px; font-family: var(--f-titoli); font-weight: 600; color: var(--testo);
}

/* Archivio */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.pagination { margin-top: 64px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px;
	border: 1px solid var(--grigio-chiaro); border-radius: 999px;
	font-family: var(--f-titoli); font-weight: 600; color: var(--testo);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--bianco); }
.empty-state { text-align: center; max-width: 560px; margin-inline: auto; }
.empty-state .btn { margin-top: 12px; }

/* ---------- Chi siamo ---------- */
.about-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--nero); color: #cfcac3;
	padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(56px, 7vw, 96px);
}
.about-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(11,9,7,.96) 0%, rgba(11,9,7,.82) 45%, rgba(11,9,7,.45) 100%),
		linear-gradient(0deg, rgba(11,9,7,.9) 0%, transparent 45%);
}
.about-hero__title { color: var(--bianco); font-size: clamp(44px, 7vw, 96px); font-weight: 700; line-height: .98; letter-spacing: -0.035em; max-width: 920px; margin-bottom: 26px; }
.about-hero__title span { color: var(--oro); }
.about-hero__lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 620px; margin-bottom: 44px; }
.about-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.about-jump a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
	border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
	font-family: var(--f-titoli); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bianco);
	transition: background .25s, border-color .25s, color .25s;
}
.about-jump a:hover { background: var(--oro); border-color: var(--oro); color: var(--nero); }
[id] { scroll-margin-top: 90px; }

.about-lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--testo); line-height: 1.55; }
.about-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-story__text .section-title { margin-bottom: 28px; }
.about-story__media { position: relative; min-height: 520px; }
.about-story__img { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.about-story__img img { width: 100%; height: 100%; object-fit: cover; }
.about-story__img--a { width: 78%; aspect-ratio: 4 / 3; top: 0; right: 0; }
.about-story__img--b { width: 52%; aspect-ratio: 4 / 3; left: 0; bottom: 0; border: 6px solid var(--bianco); }
.about-story__stamp {
	position: absolute; right: 6%; bottom: 4%; width: 112px; height: 112px; border-radius: 50%;
	background: var(--bianco); padding: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.2);
	animation: smit-gira 30s linear infinite;
}
@keyframes smit-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .about-story__stamp { animation: none; } }

.timeline {
	list-style: none; padding: 0; margin: clamp(64px, 8vw, 110px) 0 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
	position: relative;
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: var(--grigio-chiaro); }
.timeline__item { position: relative; padding-top: 58px; }
.timeline__item::before {
	content: ""; position: absolute; top: 27px; left: 0; width: 13px; height: 13px; border-radius: 50%;
	background: var(--bianco); border: 3px solid var(--bordeaux);
}
.timeline__item:last-child::before { background: var(--oro); border-color: var(--oro); }
.timeline__year { position: absolute; top: 0; left: 0; font-family: var(--f-titoli); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--bordeaux); }
.timeline__title { font-size: 20px; margin-bottom: 8px; }
.timeline__item p { font-size: 15px; line-height: 1.6; margin: 0; }

.about-home__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-home__media { position: relative; padding-bottom: 18%; }
.about-home__img { display: block; object-fit: cover; }
.about-home__img--main { width: 88%; aspect-ratio: 5 / 3.4; }
.about-home__img--side { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--nero-2); }
.about-home__text .section-title { margin-bottom: 22px; }
.feature-list { list-style: none; margin: 26px 0 34px; display: grid; gap: 2px; }
.feature-list li {
	display: flex; align-items: center; gap: 14px; padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,.08); color: var(--bianco); font-family: var(--f-titoli); font-weight: 500;
}
.feature-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oro); flex: none; }

.about-today__note { margin: 0; font-size: 16px; }
.about-today__note strong { color: var(--testo); }
.today-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #e3e2df; border-left: 1px solid #e3e2df; }
.today-grid li { padding: clamp(24px, 3vw, 40px); border-right: 1px solid #e3e2df; border-bottom: 1px solid #e3e2df; background: var(--bianco); }
.today-grid strong { display: block; font-family: var(--f-titoli); font-size: clamp(44px, 5vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--bordeaux); margin-bottom: 10px; }
.today-grid span { font-size: 16px; }

.places { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.place { position: relative; padding: 30px 28px; background: var(--crema); border-top: 3px solid var(--grigio-chiaro); transition: border-color .25s, transform .25s; }
.place:hover { border-top-color: var(--bordeaux); transform: translateY(-3px); }
.place--main { grid-row: span 3; background: var(--nero); color: #cfcac3; border-top-color: var(--bordeaux); display: flex; flex-direction: column; }
.place__img { margin: auto -28px -30px; padding-top: 24px; }
.place__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.place--main .place__name { color: var(--bianco); font-size: clamp(30px, 3vw, 40px); margin-top: 18px; }
.place--main .tag { align-self: flex-start; }
.place--main .place__addr { color: var(--oro); }
.place--main .place__list li { border-color: rgba(255,255,255,.1); color: var(--bianco); }
.place__name { font-size: 22px; margin-bottom: 8px; }
.place__addr { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--bordeaux); margin-bottom: 18px; }
.place__addr .smit-icon { width: 16px; height: 16px; }
.place__addr:hover { color: var(--oro); }
.place__list { list-style: none; }
.place__list li { padding: 8px 0; border-top: 1px solid #e6e5e1; font-size: 15px; color: #4b4d50; }

.about-quote { max-width: 900px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; padding: 0; border: 0; }
.about-quote p {
	font-family: var(--f-titoli); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.3;
	letter-spacing: -0.02em; color: var(--bianco); margin-bottom: 22px;
}
.about-quote p::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--oro); margin-bottom: 14px; }
.about-quote footer { font-size: 15px; color: #a9a49d; }
.about-quote footer strong { color: var(--oro); font-weight: 600; }
.staff-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.staff-col { display: grid; gap: 20px; }
.staff-group { background: var(--nero); border: 1px solid rgba(255,255,255,.07); padding: 28px 26px 18px; }
.staff-group__title { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--oro) !important; margin-bottom: 10px; }
.staff-list { margin: 0; }
.staff-list > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.staff-list > div:last-child { border-bottom: 0; }
.staff-list dt { font-family: var(--f-titoli); font-weight: 600; color: var(--bianco); font-size: 16px; }
.staff-list dd { margin: 2px 0 0; font-size: 15px; color: #a9a49d; }
.about-staff__more { text-align: center; margin: 44px 0 0; }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project { position: relative; display: flex; align-items: flex-end; min-height: 520px; overflow: hidden; isolation: isolate; color: #d6d2cc; background: var(--nero); }
.project:hover { color: #d6d2cc; }
.project__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.project:hover .project__img { transform: scale(1.05); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,9,7,.95) 0%, rgba(11,9,7,.6) 45%, rgba(11,9,7,.05) 80%); }
.project__body { padding: clamp(26px, 3vw, 44px); }
.project__title { color: var(--bianco); font-size: clamp(30px, 3vw, 42px); margin-bottom: 12px; }
.project__body p:not(.eyebrow) { max-width: 520px; }
.project .link-arrow { margin-top: 6px; }
.project:hover .link-arrow { color: var(--oro); }
.school-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 28px; padding: clamp(26px, 3vw, 40px); background: var(--crema); border-left: 4px solid var(--oro);
}
.school-band .eyebrow { margin-bottom: 8px; }
.school-band__titles { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-family: var(--f-titoli); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--testo); }
.school-band__titles span + span::before { content: "·"; margin-right: 24px; color: var(--bordeaux); }

.about-cta { background: var(--bordeaux); color: rgba(255,255,255,.85); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.about-cta::after {
	content: ""; position: absolute; right: -60px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%);
	background: url("assets/img/logo-smit.png") center / contain no-repeat; opacity: .1; filter: grayscale(1) brightness(3);
}
.about-cta__inner { position: relative; z-index: 1; }
.about-cta__title { color: var(--bianco); font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.about-cta p { max-width: 560px; font-size: 18px; margin-bottom: 30px; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-cta .btn--primary { background: var(--bianco); color: var(--bordeaux); }
.about-cta .btn--primary:hover { background: var(--oro); color: var(--nero); }
.about-cta .btn--ghost { border-color: rgba(255,255,255,.5); }
.about-cta .btn--ghost:hover { border-color: var(--bianco); color: var(--bianco); background: rgba(255,255,255,.1); }

/* ---------- Special Basket ---------- */
.sb-hero .hero__actions { margin-bottom: 0; }
.sb-hero .btn--ghost .smit-icon { width: 18px; height: 18px; }

.sb-goals__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sb-goal { position: relative; padding: 34px 28px 30px; background: var(--bianco); border-top: 3px solid var(--bordeaux); }
.sb-goal:nth-child(even) { border-top-color: var(--oro); }
.sb-goal::before {
	content: ""; display: block; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%;
	background: url("assets/img/logo-smit.png") center / contain no-repeat;
}
.sb-goal__title { font-size: 21px; margin-bottom: 10px; }
.sb-goal p { margin: 0; font-size: 16px; }

.sb-groups__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sb-group { background: var(--nero); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.sb-group__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.sb-group__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s; }
.sb-group:hover .sb-group__img img { transform: scale(1.04); }
.sb-group__body { padding: clamp(26px, 3vw, 40px); }
.sb-group__name { font-size: clamp(30px, 3vw, 40px); margin-bottom: 12px; }
.sb-group .staff-list { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.sb-group .staff-list dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8f8a84; font-weight: 600; }
.sb-group .staff-list dd { color: var(--bianco); font-size: 16px; margin-top: 4px; }
.sb-group .staff-list a { color: var(--bianco); text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 3px; }
.sb-group .staff-list a:hover { color: var(--oro); }

.sb-so__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sb-so__img { margin: 0; position: relative; isolation: isolate; }
.sb-so__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sb-so__img::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 2px solid var(--oro); }
.sb-so__text .section-title { margin-bottom: 26px; }
.sb-so__quote {
	margin: 30px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--bordeaux);
	font-family: var(--f-titoli); font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; line-height: 1.4; color: var(--testo);
}

.sb-gallery__grid { list-style: none; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 300px)); }
.sb-gallery__grid li { overflow: hidden; background: var(--nero); }
.sb-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, opacity .3s; }
.sb-gallery__grid li:hover img { transform: scale(1.06); opacity: .9; }
.sb-gallery__big { grid-row: span 2; }

/* ---------- Il Parchetto ---------- */
.pk-hero .hero__actions { margin-bottom: 0; }
.pk-hero .about-hero__bg { object-position: 50% 50%; }
.pk-hero .btn--ghost .smit-icon { width: 18px; height: 18px; }
.pk-spaces { margin-top: clamp(56px, 7vw, 96px); }
.pk-spaces .sb-goal { background: var(--crema); }

.pk-statement {
	background: var(--oro); color: var(--nero);
	padding-block: clamp(56px, 7vw, 100px);
	background-image:
		linear-gradient(90deg, transparent 0 88%, rgba(154,34,25,.9) 88% 88.8%, transparent 88.8%),
		linear-gradient(0deg, transparent 0 70%, rgba(11,9,7,.85) 70% 71.5%, transparent 71.5%);
}
.pk-statement .eyebrow--gold { color: var(--bordeaux); }
.pk-statement__text {
	margin: 0; max-width: 1000px;
	font-family: var(--f-titoli); font-size: clamp(30px, 4.4vw, 58px); font-weight: 700;
	line-height: 1.08; letter-spacing: -0.03em; color: var(--nero);
}
.pk-statement__text span { color: var(--bordeaux-scuro); }

.pk-art .sb-so__img::after { border-color: var(--bordeaux); }
.pk-art .sb-so__img img { aspect-ratio: 3 / 4; }
.pk-art__lead { color: var(--bianco); }
.pk-dates { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 24px; }
.pk-dates li { padding: 20px 22px; background: var(--nero); border-left: 3px solid var(--oro); }
.pk-dates strong { display: block; font-family: var(--f-titoli); font-size: 22px; font-weight: 700; color: var(--bianco); margin-bottom: 4px; }
.pk-dates span { font-size: 15px; }
.pk-thanks { font-size: 15px; margin: 0; }
.pk-thanks strong { color: var(--oro); }

.pk-opening__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pk-opening .section-title { margin-bottom: 24px; }
.pk-opening__img { margin: 0; }
.pk-opening__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.pk-community__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pk-volunteers .section-title { margin-bottom: 20px; }
.pk-volunteers .btn { margin-top: 12px; }
.pk-press { display: grid; gap: 16px; }
.pk-press .eyebrow { margin-bottom: 4px; }
.pk-press__item {
	display: grid; gap: 10px; padding: 28px 30px; background: var(--bianco); border: 1px solid #ebeae7;
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pk-press__item:hover { border-color: var(--oro); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.06); color: inherit; }
.pk-press__source { font-family: var(--f-titoli); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bordeaux); }
.pk-press__title { font-family: var(--f-titoli); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; line-height: 1.3; color: var(--testo); }
.pk-press .link-arrow { color: var(--testo); }
.pk-press__item:hover .link-arrow { color: var(--bordeaux); }

/* ---------- Contatti ---------- */
.ct-hero { padding-bottom: clamp(64px, 8vw, 110px); }
.ct-hero .about-hero__lead { margin-bottom: 0; }
.ct-main__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.ct-info .section-title { margin-bottom: 32px; }
.ct-cards { list-style: none; display: grid; gap: 14px; }
.ct-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px 24px; background: var(--crema); border-left: 3px solid var(--bordeaux); }
.ct-card:nth-child(even) { border-left-color: var(--oro); }
.ct-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--nero); color: var(--oro); }
.ct-card__icon .smit-icon { width: 22px; height: 22px; }
.ct-card__label { margin: 2px 0 4px; font-family: var(--f-titoli); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grigio); }
.ct-card__value { margin: 0; color: var(--testo); font-size: 17px; line-height: 1.45; }
.ct-card__big { display: inline-block; font-family: var(--f-titoli); font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
a.ct-card__value:hover { color: var(--bordeaux); }
.ct-card__link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.ct-social { margin-top: 12px; }
.ct-wa { margin-top: 22px; }
.ct-wa .smit-icon { width: 20px; height: 20px; }

.ct-form { background: var(--nero); color: #b9b6b1; padding: clamp(28px, 4vw, 56px); border-top: 4px solid var(--bordeaux); }
.ct-form__title { color: var(--bianco); font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.ct-form__intro { margin-bottom: 28px; }
.ct-form .wpcf7-form > p { margin: 0 0 18px; }
.ct-form label {
	display: block; font-family: var(--f-titoli); font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: #d6d2cc;
}
.ct-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.ct-form input[type="text"], .ct-form input[type="email"], .ct-form input[type="tel"], .ct-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--raggio);
	background: var(--nero-2); color: var(--bianco); font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none;
	transition: border-color .2s, background .2s;
}
.ct-form textarea { min-height: 150px; resize: vertical; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--oro); background: #1d1a17; }
.ct-form .wpcf7-acceptance { display: block; margin-top: 4px; }
.ct-form .wpcf7-list-item { display: block; margin: 0; }
.ct-form .wpcf7-acceptance label {
	display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer;
	font-family: var(--f-testo); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; color: #b9b6b1;
}
.ct-form .wpcf7-acceptance input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0;
	border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: var(--nero-2); cursor: pointer;
	display: grid; place-content: center; transition: border-color .2s, background .2s;
}
.ct-form .wpcf7-acceptance input[type="checkbox"]::after {
	content: ""; width: 11px; height: 6px; border: solid var(--nero); border-width: 0 0 2.5px 2.5px;
	transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .15s;
}
.ct-form .wpcf7-acceptance input[type="checkbox"]:checked { background: var(--oro); border-color: var(--oro); }
.ct-form .wpcf7-acceptance input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.ct-form .wpcf7-acceptance input[type="checkbox"]:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.ct-form .wpcf7-acceptance a { color: var(--bianco); text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 3px; }
.ct-form .wpcf7-acceptance a:hover { color: var(--oro); }
.ct-form .wpcf7-submit {
	min-height: 54px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--bordeaux); color: var(--bianco);
	font-family: var(--f-titoli); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	transition: background .25s, color .25s;
}
.ct-form .wpcf7-submit:hover { background: var(--oro); color: var(--nero); }
.ct-form .wpcf7-submit:disabled { opacity: .4; cursor: not-allowed; }
.ct-form .wpcf7-submit:disabled:hover { background: var(--bordeaux); color: var(--bianco); }
.ct-form .wpcf7-spinner { margin-left: 14px; vertical-align: middle; }
.ct-form .wpcf7-not-valid { border-color: #e0574b; }
.ct-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 14px; color: #ff8a7e; text-transform: none; letter-spacing: 0; font-family: var(--f-testo); font-weight: 400; }
.ct-form .wpcf7-response-output { margin: 20px 0 0 !important; padding: 14px 18px !important; border-radius: var(--raggio); border-width: 1px !important; color: var(--bianco); font-size: 15px; }
.ct-form .wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; background: rgba(70,180,80,.1); }
.ct-form .wpcf7 form.invalid .wpcf7-response-output,
.ct-form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--oro); background: rgba(214,150,56,.08); }

.ct-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; height: clamp(420px, 44vw, 620px); }
.ct-photo { position: relative; margin: 0; overflow: hidden; background: var(--nero); }
.ct-photo--big { grid-row: span 2; }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.ct-photo:hover img { transform: scale(1.05); }
.ct-photo figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px;
	background: linear-gradient(0deg, rgba(11,9,7,.88), transparent); color: #d6d2cc; font-size: 14px;
}
.ct-photo figcaption strong { display: block; font-family: var(--f-titoli); font-size: 19px; color: var(--bianco); }
.ct-place .section-head .btn .smit-icon { width: 18px; height: 18px; }
.ct-place__more { margin: 32px 0 0; text-align: center; }
.ct-place__more a { color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }
.ct-place__more a:hover { color: var(--bianco); }

/* ---------- Roster ---------- */
.rs-hero .about-hero__lead { margin-bottom: 0; }
.rs-count { margin: 0; font-size: 16px; }
.rs-count strong { color: var(--oro); font-family: var(--f-titoli); font-size: 22px; }
.roster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.rs-more { margin: 48px 0 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.team__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
}

/* Menu a scomparsa sotto i 1300px: le 8 voci non entrano in una riga */
@media (max-width: 1299px) {
	:root { --header-h: 80px; }
	.brand__logo { width: 54px; height: 54px; }
	.burger { display: flex; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1;
		display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--nero); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}
	.admin-bar .main-nav { top: 46px; }
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.smit-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.smit-menu > li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.smit-menu > li > a { padding: 16px 0; font-size: 20px; letter-spacing: .02em; }
	.smit-menu > li > a::after { display: none; }
	.smit-menu .menu-item-has-children > a::before, .smit-menu .page_item_has_children > a::before { display: none; }
	.smit-menu .sub-menu, .smit-menu .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; background: none; padding: 0 0 14px 14px; min-width: 0;
	}
	.smit-menu .sub-menu a, .smit-menu .children a { padding: 8px 0; font-size: 16px; }
	.main-nav__social { display: flex; }
	.site-header__tools { margin-left: auto; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { position: fixed; background: var(--nero); }
}

@media (max-width: 1060px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__recent { max-width: 640px; }
	.articles { grid-template-columns: 1fr; }
	.baskin__grid { grid-template-columns: 1fr; }
	.baskin__photos { min-height: 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: end; }
	.baskin__photo { position: static; width: 100%; transform: none; border-width: 4px; }
	.baskin__photo--a, .baskin__photo--b { width: 100%; transform: none; }
	.baskin::before { background: linear-gradient(180deg, rgba(11,9,7,.93) 0%, rgba(11,9,7,.85) 60%, rgba(11,9,7,.7) 100%); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.about-story__grid, .about-home__grid { grid-template-columns: 1fr; }
	.about-story__media { min-height: 0; aspect-ratio: 4 / 3.2; max-width: 680px; }
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.timeline::before { display: none; }
	.timeline__item { padding-top: 46px; border-top: 1px solid var(--grigio-chiaro); }
	.timeline__item::before { top: -7px; }
	.timeline__year { top: 12px; }
	.today-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.place--main { grid-row: auto; grid-column: 1 / -1; }
	.staff-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.staff-col:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.place__img { display: none; }
	.projects { grid-template-columns: 1fr; }
	.project { min-height: 440px; }

	.sb-goals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sb-groups__grid, .sb-so__grid { grid-template-columns: 1fr; }
	.sb-so__img { max-width: 460px; }
	.sb-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(160px, 34vw, 280px); }
	.sb-gallery__big { grid-row: span 1; grid-column: 1 / -1; }

	.pk-opening__grid, .pk-community__grid { grid-template-columns: 1fr; }

	.ct-main__grid { grid-template-columns: 1fr; }
	.ct-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
	.ct-photo--big { grid-row: auto; grid-column: 1 / -1; }
	.ct-photo { aspect-ratio: 4 / 3; }
	.ct-photo--big { aspect-ratio: 16 / 9; }
	.pk-art .sb-so__img { max-width: 420px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-header.is-sticky { top: 0; }
}

@media (max-width: 860px) {
	.team__track { grid-auto-columns: calc((100% - 2 * 20px) / 2.4); gap: 20px; }
	.news__track { grid-auto-columns: calc((100% - 20px) / 1.6); gap: 20px; }
	.sponsors__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.instagram__grid { grid-template-columns: repeat(3, 1fr); }
	.roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
	/* Sui telefoni il testo copre tutta la larghezza: la foto resta più nascosta */
	.hero::before { background: linear-gradient(180deg, rgba(11,9,7,.9) 0%, rgba(11,9,7,.86) 60%, rgba(11,9,7,.95) 100%); }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.roster-grid .player__name { font-size: 17px; }
	.roster-grid .player__initials { font-size: 46px; }
	.brand__bottom { font-size: 18px; }
	.brand__top { font-size: 11px; }
	.brand__logo, .site-header.is-sticky .brand__logo { width: 46px; height: 46px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__recent { padding-inline: 18px; }
	.recent-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; }
	.recent-item__title { font-size: 16px; }
	.article-big__body { gap: 16px; }
	.smit-date-badge strong { font-size: 36px; }
	.article-small { grid-template-columns: 110px 1fr; gap: 16px; }
	.article-small__title { font-size: 17px; }
	.home-banner img { aspect-ratio: 16 / 7; object-position: 50% 50%; }
	.team__track { grid-auto-columns: 72%; gap: 16px; }
	.team__foot { flex-direction: column; align-items: stretch; gap: 24px; }
	.news__track { grid-auto-columns: 86%; gap: 16px; }
	.sponsor > a, .sponsor > img, .sponsor > span { height: 96px; padding: 16px; }
	.baskin__photos { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.site-footer__top, .site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.site-footer__contacts { flex-direction: column; }
	.entry { font-size: 17px; }

	.about-jump a { min-height: 40px; padding: 0 16px; font-size: 12px; }
	.about-story__stamp { width: 80px; height: 80px; }
	.timeline, .today-grid, .places { grid-template-columns: 1fr; }
	.staff-groups, .staff-col:last-child { grid-template-columns: 1fr; }
	.today-grid li { display: flex; align-items: baseline; gap: 16px; }
	.today-grid strong { margin: 0; min-width: 2.6em; font-size: 40px; }
	.project { min-height: 400px; }
	.school-band .btn { width: 100%; }
	.school-band__titles span + span::before { display: none; }
	.about-cta__actions .btn { flex: 1 1 auto; }

	.sb-goals__grid { grid-template-columns: 1fr; }
	.sb-so__img::after { inset: 14px -10px -14px 14px; }

	.pk-dates { grid-template-columns: 1fr; }
	.pk-press__item { padding: 22px 20px; }
	.pk-statement { background-image: none; }

	.ct-card { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
	.ct-card__icon { width: 44px; height: 44px; }
	.ct-photos { grid-template-columns: 1fr; }
	.ct-photo, .ct-photo--big { aspect-ratio: 4 / 3; }
	.ct-wa, .ct-form .wpcf7-submit { width: 100%; }
}
