/* Component styles. Every value reads a token from tokens.css via
   var(--token, fallback) — no literals (see docs/REQUISITI-DESIGN-SYSTEM-TWIG.md).
   First pass covers structure + brand fidelity for the local Docker preview;
   not a pixel-exact port of every micro-interaction in design-export/. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text-body); background: #fff; -webkit-font-smoothing: antialiased; }
.sbs-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.sbs-site > main { flex: 1 0 auto; }
.sbs-site > .sbs-footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--dark); margin: 0; font-weight: 400; }
p { margin: 0 0 var(--space-4); line-height: 1.6; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--space-4); }

/* ---- shared atoms ---- */
.sbs-eyebrow { font: 700 var(--text-sm)/1 var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--primary); margin-bottom: var(--space-3); }
.sbs-eyebrow--accent { color: var(--accent); }
.sbs-cta { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 var(--text-sm)/1 var(--font-body); color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 2px; transition: color var(--dur-fast); }
.sbs-cta:hover { color: var(--accent); border-color: var(--accent); }
.sbs-cta__arrow { transition: transform var(--dur-fast); }
.sbs-cta:hover .sbs-cta__arrow { transform: translateX(3px); }
/* Breadcrumb (componente condiviso "boxed") — verificato byte-identico in
   News STD, Progetto STD e Progetti Elenco STD: sfondo #f8f9fa, riga 44px,
   hover verso --accent (non --primary come nella prima stesura). */
.sbs-breadcrumb-bar { background: #f8f9fa; border-bottom: 1px solid var(--border-light); }
.sbs-breadcrumb { height: 44px; display: flex; align-items: center; gap: var(--space-2); }
.sbs-breadcrumb a { font: 400 var(--text-xs)/1 var(--font-body); color: var(--text-muted); transition: color var(--dur-fast); }
.sbs-breadcrumb a:hover { color: var(--accent); }

/* ---- Header — faithful port of Sezione Header.dc.html ---- */
.sbs-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, .08); border-bottom: 1px solid #f0f0f0; font-family: var(--font-body); }
.sbs-header__inner { height: 68px; display: flex; align-items: center; }
.sbs-header__logo { flex-shrink: 0; line-height: 0; font: 700 var(--text-lg)/1 var(--font-display); color: var(--dark); }
.sbs-header__logo img { height: 44px; width: auto; display: block; }
.sbs-header__desktop { display: flex; align-items: center; gap: 2px; margin-left: 28px; flex: 1; }
.sbs-header__link { font: 500 13px/1 var(--font-body); padding: 9px 13px; display: flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--dark); transition: color .18s; }
.sbs-header__link:hover, .sbs-header__link.is-active { color: var(--primary); }
.sbs-header__dropwrap { position: relative; }
.sbs-header__panel { position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 400; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .16s, transform .16s; }
.sbs-header__dropwrap:hover .sbs-header__panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sbs-header__cta { flex-shrink: 0; padding: 10px 22px; background: var(--primary); color: #fff; font: 600 13px/1 var(--font-body); transition: background .18s; }
.sbs-header__cta:hover { background: #d96000; }
.sbs-header__burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border-light); cursor: pointer; padding: 0; color: var(--dark); }

/* Mobile drawer — position:absolute, NOT the previous static/block: a real
   bug caught in review, the in-flow block used to shove the whole page's
   content down every time it opened/closed instead of overlaying it. Anchored
   to .sbs-header (position:sticky, so it already establishes a containing
   block for absolutely-positioned children — no extra wrapper needed):
   top:100% + max-height:calc(100dvh - 100%) resolve against .sbs-header's own
   box (its height when closed = just the 68px/62px inner bar, since this
   panel contributes 0 while display:none), so the drawer is capped to
   exactly "whatever's left of the viewport below the header" at both the
   68px and 62px (<=900px) bar heights, with no hardcoded height duplicated
   between them. overflow-y scrolls THAT remainder internally — the page
   behind never needs to, unlike the previous 80vh/no-overscroll-containment
   version. Same technique (and the same iOS/scroll-chaining reasoning) as
   themes-clanvas' .hp3-header__mobile-menu — see that file's main.css
   comment for the full writeup this mirrors. */
.sbs-header__mobile {
	display: none;
	position: absolute; top: 100%; left: 0; right: 0;
	background: #fff; border-top: 1px solid #f0f0f0;
	z-index: 199;
	max-height: calc(100dvh - 100%);
	overflow-y: auto;
	overscroll-behavior-y: contain;
	-webkit-overflow-scrolling: touch;
}
.sbs-header__mobile.is-open { display: block; }
.sbs-header__mobile-link, .sbs-header__mobile-sublink { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 20px; font: 500 15px/1 var(--font-body); color: var(--dark); border-top: 1px solid #f0f0f0; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; cursor: pointer; }
.sbs-header__mobile-link.is-active { color: var(--primary); }
/* Collapsible Progetti accordion: not present before (every child was always
   rendered, permanently expanded, no way to close it — flagged in review).
   The trigger stays a real <a href> to /progetti (works with JS off / as a
   fallback); js/script.js intercepts its click and preventDefault()s to
   toggle instead, same progressive-enhancement pattern as Clanvas'
   data-mobile-toggle links. Reaching /progetti itself still works once
   expanded, via "Tutti i Progetti" below — same as the desktop dropdown. */
.sbs-header__mobile-chevron { flex-shrink: 0; margin-left: var(--space-2); transition: transform .18s; color: var(--text-faint); }
.sbs-header__mobile-link.is-open .sbs-header__mobile-chevron { transform: rotate(180deg); }
.sbs-header__mobile-sub { display: none; flex-direction: column; }
.sbs-header__mobile-sub.is-open { display: flex; }
.sbs-header__mobile-sublink { min-height: 46px; padding: 0 20px 0 34px; font: 400 14px/1 var(--font-display); color: var(--text-muted); border-top: 1px solid #f7f7f7; justify-content: flex-start; }
.sbs-header__mobile-cta { display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--primary); color: #fff; font: 600 14px/1 var(--font-body); letter-spacing: .04em; }
@media (max-width: 900px) {
	.sbs-header__inner { height: 62px; }
	.sbs-header__desktop, .sbs-header__cta { display: none; }
	.sbs-header__burger { display: flex; }
}

/* ---- Sottomenu — faithful port of Sezione Sottomenu.dc.html ---- */
.sbs-sottomenu { background: #fff; border: 1px solid rgba(0, 0, 0, .09); box-shadow: 0 12px 40px rgba(26, 26, 46, .15); width: 220px; overflow: hidden; font-family: var(--font-body); }
.sbs-sottomenu__item { display: block; padding: 9px 16px; font: 400 13px/1.3 var(--font-display); color: var(--dark); border-left: 2px solid transparent; transition: color .15s, background .15s; }
.sbs-sottomenu__item:hover, .sbs-sottomenu__item.is-active { color: var(--primary); background: rgba(255, 114, 0, .04); border-left-color: var(--primary); }
.sbs-sottomenu__divider { height: 1px; background: #f3f4f6; margin: 5px 0; }
.sbs-sottomenu__viewall { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; font: 600 13px/1 var(--font-body); color: var(--primary); }

/* ---- Progetti (home grid, variant H) ---- */
.sbs-progetti-hero { position: relative; height: 640px; overflow: hidden; background: var(--dark); }
.sbs-progetti-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .85; display: block; }
.sbs-progetti-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,26,46,.30) 0%, rgba(26,26,46,.65) 75%, rgba(26,26,46,.90) 100%); }
.sbs-progetti-hero__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--space-5); }
.sbs-progetti-hero__eyebrow { font: 400 12px/1 var(--font-body); color: rgba(255,255,255,.55); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.sbs-progetti-hero__title { font: 400 82px/.92 var(--font-display); color: #fff; letter-spacing: -.025em; max-width: 820px; margin-bottom: var(--space-6); text-wrap: pretty; }
.sbs-progetti-hero__cta { display: inline-flex; align-items: center; gap: 9px; padding: 15px 36px; background: var(--primary); color: #fff; font: 600 13px/1 var(--font-body); letter-spacing: .04em; text-decoration: none; transition: background var(--dur-fast); }
.sbs-progetti-hero__cta:hover { background: #d96000; }
@media (max-width: 1000px) { .sbs-progetti-hero__title { font-size: 42px; line-height: 1.02; } }
@media (max-width: 900px)  { .sbs-progetti-hero__title { font-size: 44px; } }

.sbs-progetti { background: var(--surface-light); padding: var(--space-10) 0; }
.sbs-progetti__intro { max-width: 760px; margin: 0 auto var(--space-8); text-align: center; }
.sbs-progetti__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin: 0 auto var(--space-4); }
.sbs-progetti__eyebrow { font: 700 10px/1 var(--font-body); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint); }
.sbs-progetti__title { font: 400 46px/1.06 var(--font-display); color: var(--dark); margin: var(--space-4) 0 20px; text-wrap: pretty; }
.sbs-progetti__lead { font: 400 16px/1.78 var(--font-body); color: var(--text-muted); text-wrap: pretty; }

.sbs-progetti__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sbs-progetti__empty { text-align: center; color: var(--text-muted); }

.sbs-progetti__tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(300px, 25vw, 420px); background: var(--dark); overflow: hidden; text-decoration: none; }
.sbs-progetti__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.7,.3,1); }
.sbs-progetti__tile:hover img { transform: scale(1.045); }
.sbs-progetti__tile-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,.95) 0%, rgba(26,26,46,.78) 32%, rgba(26,26,46,.42) 60%, rgba(26,26,46,.12) 100%); }
.sbs-progetti__tile-veil { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.sbs-progetti__tile-veil.is-orange { background: rgba(255,114,0,.10); }
.sbs-progetti__tile-veil.is-blue { background: rgba(46,117,181,.12); }
.sbs-progetti__tile:hover .sbs-progetti__tile-veil { opacity: 1; }
.sbs-progetti__tile-body { position: relative; padding: 36px var(--space-7); }
.sbs-progetti__tile-title { font: 400 34px/1.08 var(--font-display); color: #fff; margin-bottom: var(--space-3); text-wrap: pretty; }
.sbs-progetti__tile-desc { font: 400 14px/1.68 var(--font-body); color: rgba(255,255,255,.76); max-width: 400px; margin-bottom: 20px; text-wrap: pretty; }
.sbs-progetti__tile-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--primary); padding-bottom: 7px; transition: gap .3s ease; }
.sbs-progetti__tile:hover .sbs-progetti__tile-cta { gap: 12px; }

.sbs-progetti__all { text-align: center; margin-top: 52px; }
.sbs-progetti__all-btn { display: inline-flex; align-items: center; gap: 9px; padding: var(--space-4) 38px; background: var(--dark); color: #fff; font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background var(--dur-fast); }
.sbs-progetti__all-btn:hover { background: var(--primary); }

@media (max-width: 1100px) {
	.sbs-progetti__grid { grid-template-columns: 1fr; gap: 20px; }
	.sbs-progetti__tile-body { padding: 26px var(--space-5); }
	.sbs-progetti__tile-title { font-size: 27px; }
	.sbs-progetti__title { font-size: 34px; }
}
@media (max-width: 1000px) {
	.sbs-progetti__tile-title { line-height: 1.12; }
}

/* ---- News (home, variant D) ---- */
.sbs-news { background: var(--paper, #fff); padding: var(--space-10) 0; border-top: 3px solid var(--primary); }
.sbs-news__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.sbs-news__eyebrow { margin-bottom: var(--space-3); }
.sbs-news__eyebrow-bar { display: block; width: var(--space-7); height: 3px; background: var(--primary); margin-bottom: 14px; }
.sbs-news__eyebrow-label { font: 700 10px/1 var(--font-body); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint); }
.sbs-news__heading { font: 400 40px/1.05 var(--font-display); color: var(--dark); margin: 0; }
.sbs-news__all { color: var(--accent); font: 500 13px/1 var(--font-body); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; white-space: nowrap; transition: color var(--dur-fast); }
.sbs-news__all:hover { color: var(--primary); }

.sbs-news__grid { display: flex; gap: var(--space-7); }

.sbs-news__featured { display: block; width: 55%; flex-shrink: 0; text-decoration: none; color: inherit; }
.sbs-news__featured-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin-bottom: 20px; background: #e8eaed; }
.sbs-news__featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sbs-news__featured-meta { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.sbs-news__badge { display: inline-block; padding: 3px 9px; background: rgba(46, 117, 181, .12); color: var(--accent); font: 700 8px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; border-radius: var(--radius); }
.sbs-news__featured-date { font: 400 11px/1 var(--font-body); color: var(--text-faint); }
.sbs-news__featured-title { font: 400 32px/1.1 var(--font-display); color: var(--dark); margin: 0 0 var(--space-3); text-wrap: pretty; }
.sbs-news__featured-excerpt { font: 400 14px/1.75 var(--font-body); color: var(--text-muted); margin: 0 0 20px; text-wrap: pretty; }
.sbs-news__featured-cta { color: var(--primary); font: 600 13px/1 var(--font-body); display: inline-flex; align-items: center; gap: 5px; }

.sbs-news__list { flex: 1; display: flex; flex-direction: column; border-left: 1px solid #f3f4f6; padding-left: var(--space-7); }
.sbs-news__row { display: flex; gap: 14px; align-items: flex-start; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid #f3f4f6; text-decoration: none; color: inherit; }
.sbs-news__list .sbs-news__row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.sbs-news__row-thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); background: #e8eaed; }
.sbs-news__row-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sbs-news__row-body { flex: 1; }
.sbs-news__row-meta { display: flex; align-items: center; gap: var(--space-2); margin-bottom: 6px; }
.sbs-news__row-badge { display: inline-block; padding: 2px 7px; background: rgba(46, 117, 181, .10); color: var(--accent); font: 700 7px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; border-radius: var(--radius); }
.sbs-news__row-date { font: 400 10px/1 var(--font-body); color: var(--text-faint); }
.sbs-news__row-title { font: 400 16px/1.2 var(--font-display); color: var(--dark); margin: 0 0 5px; text-wrap: pretty; }
.sbs-news__row-excerpt { font: 400 11px/1.60 var(--font-body); color: var(--text-faint); margin: 0; }

.sbs-news__empty { font: 400 var(--text-base)/1.6 var(--font-body); color: var(--text-muted); margin: 0; }

/* Source r-fm rule: both headings collapse to the same size at <=1000px
   (design-export/Sezione News.dc.html lines 34-40). */
@media (max-width: 1000px) {
	.sbs-news__heading, .sbs-news__featured-title { font-size: 25px; line-height: 1.12; }
}

/* Not present in the source — variant D never defines a breakpoint for the
   55%/flex-1 split, unlike variant C's grid (.r-g). Added so the layout
   doesn't collapse into unreadable slivers on narrow viewports; reuses the
   1000px threshold the source already uses for its own type-scale rule. */
@media (max-width: 1000px) {
	.sbs-news__grid { flex-direction: column; gap: var(--space-6); }
	.sbs-news__featured { width: 100%; }
	.sbs-news__list { border-left: none; padding-left: 0; border-top: 1px solid #f3f4f6; padding-top: var(--space-6); }
}

/* ---- Foto (home, variant A) ---- */
.sbs-foto { background: var(--paper, #fff); padding: 60px 0; border-top: 3px solid var(--primary); }
.sbs-foto__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.sbs-foto__eyebrow { margin-bottom: var(--space-3, 12px); }
.sbs-foto__eyebrow-bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 14px; }
.sbs-foto__eyebrow-label { font: 700 10px/1 var(--font-body); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-faint, #9ca3af); }
.sbs-foto__title { font: 400 40px/1.05 var(--font-display); color: var(--dark); }
.sbs-foto__link { display: flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap; font: 500 var(--text-sm, 13px)/1 var(--font-body); color: var(--accent); text-decoration: none; }

/* Uniform grid, not the source's masonry: the design export (Sezione Foto
   variant A) gave each of the 6 tiles its own fixed height + object-position
   (280/170/230/200/300/160px) — tuned to its six specific mock photos. With
   the club's real photos every tile cropped differently and the client
   rejected it on the live preview ("sono tagliate" → agreed fix: "rendere
   tutto uguale", 2026-08-15). Same 4:3 box for every tile: still
   object-fit: cover (real photos have mixed ratios), but one consistent,
   centered crop instead of six different ones. */
.sbs-foto__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sbs-foto__item { display: block; overflow: hidden; border-radius: var(--radius, 0); position: relative; cursor: pointer; aspect-ratio: 4 / 3; }
.sbs-foto__item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.42s ease; }
.sbs-foto__item:hover img { transform: scale(1.06); }
.sbs-foto__overlay { position: absolute; inset: 0; background: rgba(46, 117, 181, 0.5); opacity: 0; transition: opacity 0.24s; display: flex; align-items: center; justify-content: center; }
.sbs-foto__item:hover .sbs-foto__overlay { opacity: 1; }

.sbs-foto__all { text-align: center; margin-top: var(--space-5, 24px); }
.sbs-foto__cta { display: inline-flex; align-items: center; gap: 7px; padding: 11px 24px; border: 1.5px solid var(--accent); color: var(--accent); font: 600 var(--text-sm, 13px)/1 var(--font-body); border-radius: var(--radius, 0); text-decoration: none; }

.sbs-foto__empty { text-align: center; color: var(--text-muted); }

@media (max-width: 1000px) {
	.sbs-foto__title { font-size: 25px; line-height: 1.12; }
}
/* 3 columns at a real phone width comes out ~110px per tile, too narrow to
   read the photo — 2 columns below 560px. */
@media (max-width: 560px) {
	.sbs-foto__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Video (home, variant C) ---- */
.sbs-video { padding: var(--space-10) 0; background: #0d0d14; border-top: 3px solid var(--primary); }
.sbs-video__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.sbs-video__eyebrow { margin-bottom: 14px; }
.sbs-video__eyebrow-bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 14px; }
.sbs-video__head .sbs-eyebrow { color: rgba(255, 255, 255, .40); margin-bottom: 0; }
.sbs-video__title { font: 400 48px/1.04 var(--font-display); color: #fff; }
/* display:inline-flex + flex-shrink:0 + white-space:nowrap — not just a
   `display` omission: the source's plain inline "Tutti i video →" (arrow as
   a text character, not enough of a fix on its own) shrinks with its
   .sbs-video__head flex row at narrower widths, wrapping "→" onto its own
   line inside the bordered box — an ugly two-line pill, real bug caught in
   review ("guarda per esempio questo pulsante, com'è costruito male"). Same
   fix applied to .sbs-news__all/.sbs-foto__link below: same
   justify-content:space-between head row, same latent risk, hardened
   preventively even though only this one had actually been seen broken. */
.sbs-video__all-link { display: inline-block; flex-shrink: 0; white-space: nowrap; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .20); color: rgba(255, 255, 255, .65); font: 500 12px/1 var(--font-body); border-radius: var(--radius); transition: color .18s, border-color .18s; }
.sbs-video__all-link:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.sbs-video__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.sbs-video__card { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--dark); cursor: pointer; }
.sbs-video__card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .50; transition: transform .38s ease; }
.sbs-video__card:hover img { transform: scale(1.04); }
.sbs-video__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,10,.95) 0%, rgba(0,0,10,.40) 55%, rgba(0,0,10,.10) 100%); }
.sbs-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; background: var(--primary); border-radius: var(--radius-round); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(255, 114, 0, .65); transition: transform .2s; }
.sbs-video__card:hover .sbs-video__play { transform: translate(-50%, -50%) scale(1.12); }
.sbs-video__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px var(--space-5); }
.sbs-video__tag { display: inline-block; padding: 3px 8px; color: #fff; font: 700 7px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; border-radius: var(--radius); margin-bottom: 10px; }
.sbs-video__tag--primary { background: var(--primary); }
.sbs-video__tag--muted { background: rgba(255, 255, 255, .16); }
.sbs-video__card-title { font: 400 22px/1.15 var(--font-display); color: #fff; text-wrap: pretty; }
.sbs-video__empty { color: rgba(255, 255, 255, .55); }
@media (max-width: 1000px) {
	.sbs-video__grid { grid-template-columns: 1fr; }
	.sbs-video__title { font-size: 31px; line-height: 1.06; }
}
@media (max-width: 560px) {
	.sbs-video__title { font-size: 27px; }
}

/* ---- Footer — faithful port of Sezione Footer.dc.html VARIANTE A + E ---- */
.sbs-footer { font-family: var(--font-body); }
.sbs-footer--A, .sbs-footer--E { background: var(--accent); }
.sbs-footer__socials { display: flex; align-items: center; gap: 10px; }
.sbs-footer__social { display: flex; color: #fff; opacity: .38; transition: opacity .2s; }
.sbs-footer__social:hover { opacity: 1; }
.sbs-footer__social--round { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-round); align-items: center; justify-content: center; }

/* variant A */
.sbs-footer-a__top { padding-top: 60px; }
.sbs-footer-a__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sbs-footer-a__logo { height: 50px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.sbs-footer-a__claim { font: 400 13px/1.75 var(--font-body); color: rgba(255, 255, 255, .42); margin-bottom: 28px; max-width: 240px; }
.sbs-footer-a__heading { font: 700 10px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.sbs-footer-a__links { display: flex; flex-direction: column; gap: 13px; }
.sbs-footer-a__link { font: 400 13px/1 var(--font-body); color: rgba(255, 255, 255, .45); transition: color .2s; }
.sbs-footer-a__link:hover { color: var(--primary); }
.sbs-footer-a__contacts { display: flex; flex-direction: column; gap: 14px; }
.sbs-footer-a__label { font: 400 10px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .30); margin: 0 0 5px; }
.sbs-footer-a__value { font: 400 13px/1.5 var(--font-body); color: rgba(255, 255, 255, .48); }
.sbs-footer-a__partners { display: flex; flex-direction: column; gap: 10px; }
.sbs-footer-a__partners span { font: 400 13px/1.5 var(--font-body); color: rgba(255, 255, 255, .36); }
.sbs-footer-a__bottombar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; gap: 12px; font: 400 11px/1 var(--font-body); color: rgba(255, 255, 255, .28); }
.sbs-footer-a__legal { display: flex; gap: 20px; }
@media (max-width: 900px) { .sbs-footer-a__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sbs-footer-a__grid { grid-template-columns: 1fr; } }

/* variant E */
.sbs-footer--E { border-top: 3px solid var(--primary); }
.sbs-footer-e__row { height: 72px; display: flex; align-items: center; }
.sbs-footer-e__logo-link { flex-shrink: 0; line-height: 0; margin-right: 28px; }
.sbs-footer-e__logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.sbs-footer-e__divider { width: 1px; height: 22px; background: rgba(255, 255, 255, .20); margin-right: 28px; flex-shrink: 0; }
.sbs-footer-e__nav { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; }
.sbs-footer-e__link { padding: 6px 10px; font: 400 12px/1 var(--font-body); color: rgba(255, 255, 255, .82); transition: color .2s; }
.sbs-footer-e__link:hover { color: #fff; }
/* padding-top/-bottom only, not shorthand — .sbs-footer-e__row and
   .sbs-footer-e__bottombar both also carry `.container` (see
   section-footer.tplp), whose own padding: 0 var(--space-4) supplies the
   horizontal inset; a shorthand `padding: 14px 0` here zeroed that out at
   every width, not just mobile — reported by the user pointing at this
   exact element 2026-08-04, then found to be a wider pattern (see the same
   fix on .sbs-notfound/.sbs-item-detail__section/.sbs-album-detail__section
   nearby in this file). */
.sbs-footer-e__bottombar { border-top: 1px solid rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 12px; font: 400 11px/1 var(--font-body); color: rgba(255, 255, 255, .35); }
@media (max-width: 700px) { .sbs-footer-e__row { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; gap: 12px; } }

/* ---- Progetti elenco (/progetti) — faithful port of
   Progetti Elenco STD.dc.html. Grid/tile CSS deliberately NOT repeated here:
   the page reuses .sbs-progetti__grid / .sbs-progetti__tile* verbatim from
   the home grid (source's own "stessa card della home" comment). ---- */
.sbs-elenco-head { background: var(--paper, #fff); padding: var(--space-10) 0 var(--space-8); }
.sbs-elenco-head__title { font: 400 62px/1.03 var(--font-display); color: var(--dark); letter-spacing: -0.02em; margin-bottom: var(--space-5); text-wrap: pretty; }
.sbs-elenco-head__lead { font: 400 18px/1.78 var(--font-body); color: var(--text-muted); text-wrap: pretty; }
@media (max-width: 1000px) { .sbs-elenco-head__title { font-size: 42px; line-height: 1.03; } }
@media (max-width: 560px)  { .sbs-elenco-head__title { font-size: 33px; } }

.sbs-elenco { background: var(--surface-light); border-top: 1px solid #e8e6e0; padding: var(--space-9) 0 var(--space-10); }

/* ---- Progetto dettaglio — faithful port of Progetto STD.dc.html ---- */

/* HERO */
.sbs-phero { position: relative; height: 680px; overflow: hidden; background: #0d0d0d; }
.sbs-phero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(30%) contrast(1.08); }
.sbs-phero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .12) 100%); }
.sbs-phero__body { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.sbs-phero__body-inner { padding-bottom: 80px; }
.sbs-phero__title { font: 400 88px/.92 var(--font-display); color: #fff; letter-spacing: -.02em; margin: 0 0 28px; max-width: 780px; text-wrap: pretty; }
.sbs-phero__title:last-child { margin-bottom: 0; }
.sbs-phero__desc { font: 400 17px/1.75 var(--font-body); color: rgba(255, 255, 255, .65); max-width: 560px; margin: 0; text-wrap: pretty; }
/* source .r-fxl */
@media (max-width: 1000px) { .sbs-phero__title { font-size: 42px; line-height: 1.02; } }
@media (max-width: 560px) { .sbs-phero__title { font-size: 34px; } }
/* Not in the source (its 680px hero height is unconditional) — at that
   height a real phone spends most of one screen on gradient before any
   text appears. Scaled down alongside the title/desc so the crop and the
   text block stay proportionate, not just shorter. */
@media (max-width: 1000px) {
	.sbs-phero { height: 520px; }
	.sbs-phero__body-inner { padding-bottom: 56px; }
}
@media (max-width: 560px) {
	.sbs-phero { height: 440px; }
	.sbs-phero__body-inner { padding-bottom: 36px; }
}

/* STATS — the source hardcodes repeat(6,1fr) because its mock always has six.
   Base is the source's <=560px state and the per-count modifiers only apply
   above 1000px, so the responsive collapse never needs !important. */
.sbs-pstats { position: relative; background: var(--dark); border-bottom: 3px solid var(--primary); }
.sbs-pstats__grid { display: grid; grid-template-columns: 1fr; }
.sbs-pstats__item { padding: 32px 0; text-align: center; }
.sbs-pstats__value { font: 400 27px/1.06 var(--font-display); color: #fff; }
.sbs-pstats__value.is-primary { color: var(--primary); }
.sbs-pstats__label { font: 400 10px/1.4 var(--font-body); color: rgba(255, 255, 255, .45); text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
@media (min-width: 561px) {
	.sbs-pstats__grid { grid-template-columns: 1fr 1fr; }
	.sbs-pstats__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .10); }
	.sbs-pstats__value { font-size: 31px; }
}
@media (min-width: 1001px) {
	.sbs-pstats__grid--n1 { grid-template-columns: 1fr; }
	.sbs-pstats__grid--n2 { grid-template-columns: repeat(2, 1fr); }
	.sbs-pstats__grid--n3 { grid-template-columns: repeat(3, 1fr); }
	.sbs-pstats__grid--n4 { grid-template-columns: repeat(4, 1fr); }
	.sbs-pstats__grid--n5 { grid-template-columns: repeat(5, 1fr); }
	.sbs-pstats__grid--n6 { grid-template-columns: repeat(6, 1fr); }
	.sbs-pstats__grid--nmany { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
	.sbs-pstats__item { border-right: 1px solid rgba(255, 255, 255, .10); }
	.sbs-pstats__item:last-child { border-right: none; }
	.sbs-pstats__value { font-size: 46px; line-height: 1; }
}

/* INTRODUZIONE + sidebar news */
.sbs-pintro { position: relative; padding: 88px 0; background: #fff; }
.sbs-pintro__grid { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.sbs-pintro__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 28px; }
.sbs-pintro__text p { font: 400 17px/1.82 var(--font-body); color: var(--text-body, #374151); margin: 0 0 22px; text-wrap: pretty; }
.sbs-pintro__text p:last-child { margin-bottom: 0; }
.sbs-pintro__text strong { color: var(--dark); font-weight: 600; }
.sbs-pintro__text a { color: var(--accent); border-bottom: 1px solid currentColor; }
.sbs-pintro__text a:hover { color: var(--primary); }
.sbs-pintro__text h2, .sbs-pintro__text h3 { font: 400 32px/1.1 var(--font-display); color: var(--dark); margin: 40px 0 18px; }
.sbs-pintro__text h3 { font-size: 26px; line-height: 1.15; }
.sbs-pintro__text ul, .sbs-pintro__text ol { margin: 0 0 22px; padding-left: 22px; font: 400 17px/1.82 var(--font-body); color: var(--text-body, #374151); }

.sbs-pintro__side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 0; }
.sbs-pintro__side-title { font: 700 10px/1 var(--font-body); color: var(--primary); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); }
.sbs-pnews { display: block; border-bottom: 1px solid var(--border-light, #e5e7eb); padding-bottom: 20px; margin-bottom: 20px; }
.sbs-pnews:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.sbs-pnews__media { display: block; height: 160px; overflow: hidden; margin-bottom: 12px; position: relative; }
.sbs-pnews__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s; }
.sbs-pnews:hover .sbs-pnews__media img { transform: scale(1.04); }
.sbs-pnews__badge { display: inline-block; padding: 3px 8px; color: #fff; font: 700 7px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.sbs-pnews__badge.is-primary { background: var(--primary); }
.sbs-pnews__badge.is-accent { background: var(--accent); }
.sbs-pnews__title { display: block; font: 400 15px/1.35 var(--font-display); color: var(--dark); transition: color .18s; }
.sbs-pnews:hover .sbs-pnews__title { color: var(--primary); }
/* source .r-g */
@media (max-width: 1000px) {
	.sbs-pintro { padding: 56px 0; }
	.sbs-pintro__grid { grid-template-columns: 1fr; gap: 48px; }
	.sbs-pintro__side { position: static; }
}

/* SOTTOPROGETTI — the source's "1 blocco a tutta larghezza, 2 a metà, 3+ in
   colonne" is exactly what auto-fit/minmax(300px) does on its own. */
.sbs-psub { position: relative; background: var(--dark); padding: 88px 0; }
.sbs-psub__head { margin-bottom: 56px; }
.sbs-psub__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 20px; }
.sbs-psub__title { font: 400 48px/1.06 var(--font-display); color: #fff; margin: 0; }
.sbs-psub__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; }
.sbs-psub__block { background: rgba(255, 255, 255, .05); padding: 40px 36px; border-top: 3px solid rgba(255, 255, 255, .20); }
.sbs-psub__block.is-first { border-top-color: var(--primary); }
.sbs-psub__block--link { display: block; transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast); }
.sbs-psub__block--link:hover { background: rgba(255, 255, 255, .09); border-top-color: var(--primary); transform: translateY(-2px); }
.sbs-psub__block--link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.sbs-psub__label { font: 700 10px/1 var(--font-body); color: rgba(255, 255, 255, .40); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.sbs-psub__block.is-first .sbs-psub__label { color: var(--primary); }
.sbs-psub__name { font: 400 32px/1.1 var(--font-display); color: #fff; margin: 0 0 18px; }
.sbs-psub__desc { font: 400 14px/1.70 var(--font-body); color: rgba(255, 255, 255, .55); margin: 0; text-wrap: pretty; }
@media (max-width: 1000px) {
	.sbs-psub { padding: 56px 0; }
	.sbs-psub__head { margin-bottom: 36px; }
	.sbs-psub__title { font-size: 31px; line-height: 1.06; }
	.sbs-psub__name { font-size: 25px; line-height: 1.12; }
}
@media (max-width: 560px) {
	.sbs-psub__title { font-size: 27px; }
	.sbs-psub__block { padding: 32px 24px; }
}

/* STORICO EDIZIONI */
.sbs-pstorico { position: relative; background: #f8f9fa; padding: 88px 0; }
.sbs-pstorico__head { margin-bottom: 56px; }
.sbs-pstorico__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 20px; }
.sbs-pstorico__title { font: 400 48px/1.06 var(--font-display); color: var(--dark); margin: 0; }
.sbs-pstorico__item { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--border-light, #e5e7eb); margin-bottom: 48px; }
.sbs-pstorico__item:last-child { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }
.sbs-pstorico__card { position: relative; overflow: hidden; height: 270px; }
.sbs-pstorico__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.sbs-pstorico__card:hover img { transform: scale(1.06); }
.sbs-pstorico__card-ov { position: absolute; inset: 0; background: rgba(26, 26, 46, .30); opacity: 0; transition: opacity .28s; }
.sbs-pstorico__card:hover .sbs-pstorico__card-ov { opacity: 1; }
.sbs-pstorico__card-foot { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); }
.sbs-pstorico__year { font: 400 38px/1 var(--font-display); color: #fff; }
.sbs-pstorico__year.is-primary { color: var(--primary); }
.sbs-pstorico__body { padding-top: 6px; }
.sbs-pstorico__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.sbs-pstorico__label { font: 700 11px/1 var(--font-body); color: var(--primary); letter-spacing: .10em; text-transform: uppercase; }
.sbs-pstorico__durata { font: 400 11px/1 var(--font-body); color: var(--text-faint, #9ca3af); }
.sbs-pstorico__name { font: 400 26px/1.15 var(--font-display); color: var(--dark); margin: 0 0 12px; }
.sbs-pstorico__desc { font: 400 14px/1.75 var(--font-body); color: var(--text-muted, #6b7280); margin: 0; text-wrap: pretty; }
@media (max-width: 1000px) {
	.sbs-pstorico { padding: 56px 0; }
	.sbs-pstorico__head { margin-bottom: 36px; }
	.sbs-pstorico__title { font-size: 31px; line-height: 1.06; }
	.sbs-pstorico__item { grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; margin-bottom: 32px; }
	.sbs-pstorico__card { height: 200px; }
	.sbs-pstorico__year { font-size: 25px; line-height: 1.12; }
}
@media (max-width: 560px) { .sbs-pstorico__title { font-size: 27px; } }

/* GALLERIA — mosaico: 1 album a tutta larghezza, 2 in 60/40, 3+ grande a
   sinistra + gli altri impilati a destra (il sorgente mostra solo il caso 3). */
.sbs-pgal { position: relative; padding: 88px 0; background: #fff; overflow: hidden; }
.sbs-pgal__head { margin-bottom: 48px; }
.sbs-pgal__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 20px; }
.sbs-pgal__title { font: 400 48px/1.06 var(--font-display); color: var(--dark); margin: 0; }
.sbs-pgal__mosaic { display: grid; gap: 4px; height: 560px; }
.sbs-pgal__mosaic--n1 { grid-template-columns: 1fr; }
.sbs-pgal__mosaic--n2 { grid-template-columns: 3fr 2fr; }
.sbs-pgal__mosaic--n3plus { grid-template-columns: 2fr 1fr; }
.sbs-pgal__col { display: grid; grid-auto-rows: 1fr; gap: 4px; height: 560px; }
/* the album tiles are <button> (the source used div+onclick): reset the UA
   button box so they behave exactly like the source's divs. */
.sbs-pgal__card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sbs-pgal__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.sbs-pgal__card:hover img { transform: scale(1.06); }
.sbs-pgal__ov { position: absolute; inset: 0; background: rgba(26, 26, 46, .30); opacity: 0; transition: opacity .28s; }
.sbs-pgal__card:hover .sbs-pgal__ov { opacity: 1; }
.sbs-pgal__card:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.sbs-pgal__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .12) 55%, transparent 100%); }
.sbs-pgal__card--big .sbs-pgal__scrim { background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .12) 50%, transparent 100%); }
.sbs-pgal__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 22px; }
.sbs-pgal__card--big .sbs-pgal__caption { padding: 30px 32px; }
.sbs-pgal__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 8px/1 var(--font-body); color: rgba(255, 255, 255, .50); letter-spacing: .16em; text-transform: uppercase; }
.sbs-pgal__card--big .sbs-pgal__meta { margin-bottom: 12px; font-size: 9px; letter-spacing: .18em; color: rgba(255, 255, 255, .55); }
.sbs-pgal__name { display: block; font: 400 22px/1.1 var(--font-display); color: #fff; }
.sbs-pgal__card--big .sbs-pgal__name { font-size: 38px; line-height: 1.05; }
@media (max-width: 1000px) {
	.sbs-pgal { padding: 56px 0; }
	.sbs-pgal__head { margin-bottom: 36px; }
	.sbs-pgal__title { font-size: 31px; line-height: 1.06; }
	.sbs-pgal__mosaic { grid-template-columns: 1fr; height: auto; }
	.sbs-pgal__card--big { height: 300px; }
	.sbs-pgal__card--big .sbs-pgal__name { font-size: 25px; line-height: 1.12; }
}
@media (max-width: 560px) {
	.sbs-pgal__title { font-size: 27px; }
	.sbs-pgal__col { height: 400px; }
}

/* LIGHTBOX GALLERIA */
.sbs-lb { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .97); z-index: 9000; flex-direction: column; }
.sbs-lb.is-open { display: flex; }
.sbs-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; flex-shrink: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sbs-lb__bar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sbs-lb__album { font: 700 10px/1 var(--font-body); color: var(--primary); letter-spacing: .18em; text-transform: uppercase; }
.sbs-lb__counter { font: 400 11px/1 var(--font-body); color: rgba(255, 255, 255, .28); white-space: nowrap; }
.sbs-lb__close { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0; background: none; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius, 0); color: rgba(255, 255, 255, .55); font-size: 20px; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s; }
.sbs-lb__close:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.sbs-lb__stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 32px 88px; }
.sbs-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sbs-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-round, 50%); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .15s; }
.sbs-lb__nav:hover { background: rgba(255, 114, 0, .35); }
.sbs-lb__nav:disabled { opacity: .3; cursor: default; background: rgba(255, 255, 255, .06); }
.sbs-lb__nav--prev { left: 24px; }
.sbs-lb__nav--next { right: 24px; }
.sbs-lb__footer { text-align: center; padding: 14px 32px 24px; flex-shrink: 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.sbs-lb__caption { font: 400 12px/1.6 var(--font-body); color: rgba(255, 255, 255, .35); letter-spacing: .04em; }
/* not in the source: at 700px the 88px side padding leaves almost no image. */
@media (max-width: 700px) {
	.sbs-lb__bar { padding: 14px 16px; }
	.sbs-lb__stage { padding: 16px; }
	.sbs-lb__nav { width: 42px; height: 42px; font-size: 22px; }
	.sbs-lb__nav--prev { left: 8px; }
	.sbs-lb__nav--next { right: 8px; }
}

/* IMPATTO */
.sbs-pimpatto { position: relative; background: var(--accent); padding: 88px 0; }
.sbs-pimpatto__grid { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: start; }
.sbs-pimpatto__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 24px; }
.sbs-pimpatto__title { font: 400 44px/1.06 var(--font-display); color: #fff; margin: 0; }
.sbs-pimpatto__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sbs-pimpatto__card { background: rgba(255, 255, 255, .10); padding: 24px; border-left: 3px solid rgba(255, 255, 255, .30); }
.sbs-pimpatto__card.is-primary { border-left-color: var(--primary); }
.sbs-pimpatto__number { font: 400 32px/1 var(--font-display); color: #fff; margin-bottom: 10px; }
.sbs-pimpatto__text { font: 400 13px/1.65 var(--font-body); color: rgba(255, 255, 255, .65); }
@media (max-width: 1000px) {
	.sbs-pimpatto { padding: 56px 0; }
	.sbs-pimpatto__grid { grid-template-columns: 1fr; gap: 36px; }
	.sbs-pimpatto__title { font-size: 31px; line-height: 1.06; }
	.sbs-pimpatto__number { font-size: 25px; line-height: 1.12; }
}
@media (max-width: 560px) {
	.sbs-pimpatto__title { font-size: 27px; }
	.sbs-pimpatto__cards { grid-template-columns: 1fr; }
}

/* CORRELATI */
.sbs-pcorrelati { position: relative; padding: 88px 0; background: var(--dark); }
.sbs-pcorrelati__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sbs-pcorrelati__bar { display: block; width: 40px; height: 3px; background: var(--primary); margin-bottom: 20px; }
.sbs-pcorrelati__title { font: 400 44px/1.06 var(--font-display); color: #fff; margin: 0; }
.sbs-pcorrelati__all { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font: 500 13px/1 var(--font-body); color: rgba(255, 255, 255, .45); white-space: nowrap; transition: color .18s; }
.sbs-pcorrelati__all:hover { color: var(--primary); }
.sbs-pcorrelati__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sbs-pcorrelato { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(260px, 20vw, 340px); overflow: hidden; background: #12121f; transition: transform .26s; }
.sbs-pcorrelato:hover { transform: translateY(-4px); }
.sbs-pcorrelato img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .42s; }
.sbs-pcorrelato:hover img { transform: scale(1.06); }
.sbs-pcorrelato__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 26, 46, .95) 0%, rgba(26, 26, 46, .78) 32%, rgba(26, 26, 46, .42) 60%, rgba(26, 26, 46, .12) 100%); }
.sbs-pcorrelato__body { position: relative; padding: 28px 26px; }
.sbs-pcorrelato__title { font: 400 27px/1.1 var(--font-display); color: #fff; margin: 0 0 10px; text-wrap: pretty; }
.sbs-pcorrelato__desc { font: 400 13px/1.65 var(--font-body); color: rgba(255, 255, 255, .72); margin: 0 0 18px; text-wrap: pretty; }
.sbs-pcorrelato__cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--primary); padding-bottom: 6px; }
.sbs-pcorrelato__cta svg { color: var(--primary); }
@media (max-width: 1100px) { .sbs-pcorrelati__grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 1000px) {
	.sbs-pcorrelati { padding: 56px 0; }
	.sbs-pcorrelati__title { font-size: 31px; line-height: 1.06; }
}
@media (max-width: 560px) { .sbs-pcorrelati__title { font-size: 27px; } }

/* ---- News singola (/news/{id}) — faithful port of News STD.dc.html ---- */
.sbs-news-single__masthead { background: var(--paper); border-bottom: 1px solid var(--border-light); }
.sbs-news-single__masthead .container { padding-top: 36px; padding-bottom: var(--space-6); }
.sbs-news-single__meta-row { display: flex; align-items: center; gap: var(--space-3); margin-bottom: 18px; flex-wrap: wrap; }
.sbs-news-single__badge { display: inline-block; padding: 4px 10px; background: var(--primary); color: #fff; font: 700 8px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.sbs-news-single__dot { display: inline-block; width: 1px; height: 12px; background: var(--border-light); }
.sbs-news-single__date, .sbs-news-single__author { font: 400 var(--text-xs)/1 var(--font-body); color: var(--text-faint); }
.sbs-news-single__title { font: 400 48px/1.06 var(--font-display); color: var(--dark); max-width: 780px; margin: 0; text-wrap: pretty; }
@media (max-width: 1000px) { .sbs-news-single__title { font-size: 31px; line-height: 1.06; } }
@media (max-width: 560px)  { .sbs-news-single__title { font-size: 27px; } }

.sbs-news-single__layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--space-8); align-items: start; padding-top: 48px; padding-bottom: var(--space-10); }
@media (max-width: 900px) { .sbs-news-single__layout { grid-template-columns: 1fr; } }

/* Article body (richtext) typography — faithful to source's .art-body rules */
.sbs-news-single__text > p:first-child { font: 400 18px/1.78 var(--font-body); color: var(--dark); margin-bottom: 22px; }
.sbs-news-single__text p { font: 400 var(--text-base)/1.82 var(--font-body); color: var(--text-body); margin-bottom: 18px; text-wrap: pretty; }
.sbs-news-single__text h3 { font: 400 24px/1.25 var(--font-display); color: var(--dark); margin: 36px 0 var(--space-3); }
.sbs-news-single__text ul { padding-left: 18px; margin-bottom: 18px; }
.sbs-news-single__text ul li { font: 400 14px/1.75 var(--font-body); color: var(--text-body); margin-bottom: 5px; }
.sbs-news-single__text strong { color: var(--dark); font-weight: 600; }
.sbs-news-single__text figure { margin: var(--space-6) 0; }
.sbs-news-single__text figure img { width: 100%; object-fit: cover; display: block; }
.sbs-news-single__text figure figcaption { font: 400 11px/1.5 var(--font-body); color: var(--text-faint); margin-top: var(--space-2); }
.sbs-news-single__text .art-divider { width: 36px; height: 2px; background: var(--primary); margin: 28px 0; }

/* Sidebar */
.sbs-news-single__sidebar { position: sticky; top: var(--space-10); display: flex; flex-direction: column; gap: 0; }
.sbs-news-single__block { padding: 20px; border: 1px solid var(--border-light); margin-bottom: 20px; }
.sbs-news-single__block h4 { font: 700 9px/1 var(--font-body); color: var(--text-faint); text-transform: uppercase; letter-spacing: var(--tracking-label); margin-bottom: var(--space-4); }

.sbs-news-single__share { display: flex; gap: var(--space-2); }
.sbs-news-single__share-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-muted); transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); }
.sbs-news-single__share-icon:hover { border-color: var(--primary); color: var(--primary); }
.sbs-news-single__share-icon--text { font: 700 9px/1 var(--font-body); letter-spacing: .04em; }

.sbs-news-single__related { display: flex; flex-direction: column; gap: var(--space-3); }
.sbs-news-single__related-item { display: block; border: 1px solid var(--border-light); overflow: hidden; transition: transform .22s, box-shadow .22s; }
.sbs-news-single__related-item:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.09); }
.sbs-news-single__related-media { height: 100px; overflow: hidden; }
.sbs-news-single__related-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .38s; }
.sbs-news-single__related-item:hover .sbs-news-single__related-media img { transform: scale(1.04); }
.sbs-news-single__related-body { padding: 10px var(--space-3) var(--space-3); }
.sbs-news-single__related-badge { display: inline-block; padding: 2px 7px; background: var(--primary); color: #fff; font: 700 7px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.sbs-news-single__related-title { font: 400 13px/1.3 var(--font-display); color: var(--dark); }

/* ---- News archivio (/news) — no design comp, extends the "elenco" pattern
   (Progetti Elenco STD) for the head and the faithful home News section's
   tokens/language for the cards. ---- */
{# No design source to be faithful to here, so sized down from the original
   hero-scale --text-3xl/space-10 pass per direct feedback: title+lead was
   reading as too much whitespace and too heavy a title for a listing page
   masthead — this isn't /progetti's elenco-head (that one's a literal port
   of an actual mockup, kept as-is). #}
.sbs-news-archive__head { background: var(--paper); padding: var(--space-8) 0 var(--space-6); }
.sbs-news-archive__title { font: 400 40px/1.15 var(--font-display); color: var(--dark); letter-spacing: -.02em; margin: 0 0 var(--space-3); text-wrap: pretty; }
.sbs-news-archive__lead { font: 400 17px/1.65 var(--font-body); color: var(--text-muted); max-width: 640px; margin: 0; text-wrap: pretty; }

.sbs-news-archive__grid-section { padding: var(--space-9) 0 var(--space-10); }
.sbs-news-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.sbs-news-archive__card { display: block; text-decoration: none; color: inherit; }
.sbs-news-archive__card-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin-bottom: var(--space-4); background: #e8eaed; }
.sbs-news-archive__card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform var(--dur-slow); }
.sbs-news-archive__card:hover .sbs-news-archive__card-media img { transform: scale(1.04); }
.sbs-news-archive__card-meta { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.sbs-news-archive__card-badge { display: inline-block; padding: 3px 9px; background: rgba(46, 117, 181, .12); color: var(--accent); font: 700 8px/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; border-radius: var(--radius); }
.sbs-news-archive__card-date { font: 400 11px/1 var(--font-body); color: var(--text-faint); }
.sbs-news-archive__card-title { font: 400 var(--text-lg)/1.2 var(--font-display); color: var(--dark); margin: 0 0 var(--space-2); text-wrap: pretty; transition: color var(--dur-fast); }
.sbs-news-archive__card:hover .sbs-news-archive__card-title { color: var(--primary); }
.sbs-news-archive__card-excerpt { font: 400 13px/1.6 var(--font-body); color: var(--text-muted); margin: 0; text-wrap: pretty; }

.sbs-news-archive__empty { font: 400 var(--text-base)/1.6 var(--font-body); color: var(--text-muted); padding: var(--space-9) 0; text-align: center; margin: 0; }

@media (max-width: 1000px) { .sbs-news-archive__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .sbs-news-archive__grid { grid-template-columns: 1fr; } .sbs-news-archive__head { padding: var(--space-6) 0 var(--space-5); } .sbs-news-archive__title { font-size: 32px; } }

/* ---- Pagination (ui.pagination() macro, /news) — no design comp (paginate
   was never in the export at all, /news itself has none — see that page's
   own comment). Square, radius:0 boxes: matches this theme's own "border-
   radius: 0 sistemico" language (DESIGN-EXPORT-NOTES.md), not Clanvas'
   rounded pill version this was ported from. */
.sbs-pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-9); }
.sbs-pagination__arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border-light); color: var(--dark); text-decoration: none; transition: border-color var(--dur-fast), color var(--dur-fast); }
.sbs-pagination__arrow:hover { border-color: var(--primary); color: var(--primary); }
.sbs-pagination__arrow--disabled { opacity: .35; cursor: default; pointer-events: none; }
.sbs-pagination__pages { display: flex; align-items: center; gap: var(--space-2); }
.sbs-pagination__num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--border-light); font: 500 13px/1 var(--font-body); color: var(--dark); text-decoration: none; transition: border-color var(--dur-fast), color var(--dur-fast); }
.sbs-pagination__num:hover { border-color: var(--primary); color: var(--primary); }
.sbs-pagination__num--current { background: var(--primary); border-color: var(--primary); color: #fff; cursor: default; }
@media (max-width: 480px) { .sbs-pagination__arrow, .sbs-pagination__num { width: 36px; height: 36px; min-width: 36px; } }

/* ---- Album archives (/photos, /videos) — no design comp, same "no source"
   reasoning and masthead sizing as News archivio above (see its comment) —
   these three share the exact same head/title/lead rules so all three
   archive pages stay visually consistent by construction. Shared between
   photo-albums.tpl and video-albums.tpl: identical card shape, only the
   count label text and the video-only play icon differ per template. */
.sbs-albums-archive__head { background: var(--paper); padding: var(--space-8) 0 var(--space-6); }
.sbs-albums-archive__title { font: 400 40px/1.15 var(--font-display); color: var(--dark); letter-spacing: -.02em; margin: 0 0 var(--space-3); text-wrap: pretty; }
.sbs-albums-archive__lead { font: 400 17px/1.65 var(--font-body); color: var(--text-muted); max-width: 640px; margin: 0; text-wrap: pretty; }

.sbs-albums-archive__grid-section { padding: var(--space-9) 0 var(--space-10); }
.sbs-albums-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.sbs-albums-archive__card { display: block; text-decoration: none; color: inherit; }
.sbs-albums-archive__card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); margin-bottom: var(--space-4); background: #e8eaed; }
.sbs-albums-archive__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.sbs-albums-archive__card:hover .sbs-albums-archive__card-media img { transform: scale(1.04); }
.sbs-albums-archive__card-count { position: absolute; right: var(--space-3); bottom: var(--space-3); padding: 3px 9px; background: rgba(13, 13, 20, .72); color: #fff; font: 600 11px/1 var(--font-body); border-radius: var(--radius); }
.sbs-albums-archive__card-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--primary); border-radius: var(--radius-round); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(255, 114, 0, .55); transition: transform var(--dur-fast); }
.sbs-albums-archive__card:hover .sbs-albums-archive__card-play { transform: translate(-50%, -50%) scale(1.1); }
.sbs-albums-archive__card-title { font: 400 var(--text-lg)/1.2 var(--font-display); color: var(--dark); margin: 0 0 var(--space-2); text-wrap: pretty; transition: color var(--dur-fast); }
.sbs-albums-archive__card:hover .sbs-albums-archive__card-title { color: var(--primary); }
.sbs-albums-archive__card-excerpt { font: 400 13px/1.6 var(--font-body); color: var(--text-muted); margin: 0; text-wrap: pretty; }

.sbs-albums-archive__empty { font: 400 var(--text-base)/1.6 var(--font-body); color: var(--text-muted); padding: var(--space-9) 0; text-align: center; margin: 0; }

@media (max-width: 1000px) { .sbs-albums-archive__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .sbs-albums-archive__grid { grid-template-columns: 1fr; } .sbs-albums-archive__head { padding: var(--space-6) 0 var(--space-5); } .sbs-albums-archive__title { font-size: 32px; } }

/* ---- Album detail (/photos/album/{id}, /videos/album/{id}) — no design
   comp, masthead language borrowed from single-news.tpl's (badge + date
   meta row, then h1, then a lede paragraph) since this is a detail page,
   not a listing — shared between both album-detail templates. */
.sbs-album-detail__masthead { background: var(--paper); border-bottom: 1px solid var(--border-light); }
.sbs-album-detail__masthead .container { padding-top: 36px; padding-bottom: var(--space-6); }
.sbs-album-detail__meta-row { display: flex; align-items: center; gap: var(--space-3); margin-bottom: 18px; flex-wrap: wrap; }
.sbs-album-detail__badge { display: inline-block; padding: 4px 10px; background: var(--primary); color: #fff; font: 700 8px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.sbs-album-detail__dot { display: inline-block; width: 1px; height: 12px; background: var(--border-light); }
.sbs-album-detail__date { font: 400 var(--text-xs)/1 var(--font-body); color: var(--text-faint); }
.sbs-album-detail__title { font: 400 40px/1.1 var(--font-display); color: var(--dark); margin: 0 0 var(--space-3); max-width: 780px; text-wrap: pretty; }
.sbs-album-detail__desc { font: 400 15px/1.65 var(--font-body); color: var(--text-muted); max-width: 640px; margin: 0; text-wrap: pretty; }
@media (max-width: 560px) { .sbs-album-detail__title { font-size: 28px; } }

.sbs-album-detail__section { padding-top: var(--space-9); padding-bottom: var(--space-10); }

/* Photo grid — square tiles, clicking one opens the lightbox at that
   photo's own index (see photo-album.tpl's script block). auto-fill keeps
   tile size consistent regardless of album size, unlike a fixed column
   count that would stretch a small album's tiles too wide. */
.sbs-album-photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.sbs-album-photos__tile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.sbs-album-photos__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.sbs-album-photos__tile:hover img { transform: scale(1.06); }
.sbs-album-photos__ov { position: absolute; inset: 0; background: rgba(26, 26, 46, .28); opacity: 0; transition: opacity var(--dur-fast); }
.sbs-album-photos__tile:hover .sbs-album-photos__ov { opacity: 1; }
.sbs-album-photos__tile:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

/* Video grid — plain cards (no lightbox, see video-album.tpl's own comment
   on why), same visual language as .sbs-albums-archive__card. */
.sbs-album-videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.sbs-album-videos__card { display: block; text-decoration: none; color: inherit; }
.sbs-album-videos__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); margin-bottom: var(--space-3); background: #e8eaed; }
.sbs-album-videos__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.sbs-album-videos__card:hover .sbs-album-videos__media img { transform: scale(1.04); }
.sbs-album-videos__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--primary); border-radius: var(--radius-round); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(255, 114, 0, .55); transition: transform var(--dur-fast); }
.sbs-album-videos__card:hover .sbs-album-videos__play { transform: translate(-50%, -50%) scale(1.1); }
.sbs-album-videos__title { font: 400 var(--text-lg)/1.2 var(--font-display); color: var(--dark); margin: 0 0 var(--space-2); text-wrap: pretty; transition: color var(--dur-fast); }
.sbs-album-videos__card:hover .sbs-album-videos__title { color: var(--primary); }
.sbs-album-videos__desc { font: 400 13px/1.6 var(--font-body); color: var(--text-muted); margin: 0; text-wrap: pretty; }

@media (max-width: 1000px) { .sbs-album-videos__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .sbs-album-videos__grid { grid-template-columns: 1fr; } }

/* ---- Item detail (/photos/{id}, /videos/{id}) — no design comp. Masthead
   is a leaner variant of .sbs-album-detail__*: the badge here is a link
   back to the parent album instead of a static "N foto" count (getPhoto()/
   getVideo() have no date field to pair it with via a dot separator). */
.sbs-item-detail__masthead { background: var(--paper); border-bottom: 1px solid var(--border-light); }
.sbs-item-detail__masthead .container { padding-top: 36px; padding-bottom: var(--space-6); }
.sbs-item-detail__meta-row { margin-bottom: 18px; }
.sbs-item-detail__badge { display: inline-block; padding: 4px 10px; background: var(--primary); color: #fff; font: 700 8px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background var(--dur-fast); }
.sbs-item-detail__badge:hover { background: var(--dark); }
.sbs-item-detail__title { font: 400 40px/1.1 var(--font-display); color: var(--dark); margin: 0 0 var(--space-3); max-width: 780px; text-wrap: pretty; }
.sbs-item-detail__desc { font: 400 15px/1.65 var(--font-body); color: var(--text-muted); max-width: 640px; margin: 0; text-wrap: pretty; }
@media (max-width: 560px) { .sbs-item-detail__title { font-size: 28px; } }

.sbs-item-detail__section { padding-top: var(--space-9); padding-bottom: var(--space-10); }

.sbs-photo-detail__stage { display: flex; justify-content: center; background: #f0f0f2; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-6); }
.sbs-photo-detail__img { max-width: 100%; max-height: 78vh; display: block; }

.sbs-video-detail__stage { position: relative; max-width: 900px; margin: 0 auto var(--space-6); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #e8eaed; }
.sbs-video-detail__img { width: 100%; height: 100%; object-fit: cover; }
.sbs-video-detail__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; background: var(--primary); border-radius: var(--radius-round); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(255, 114, 0, .55); }

/* Prev/back/next row — prev/next render as non-link, reduced-opacity spans
   at the ends of the album's own sequence (photo.tpl/video.tpl only pass a
   permalink when getPhoto()/getVideo() found one), the same disabled
   treatment the lightbox script already applies at its own boundaries. */
.sbs-item-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); max-width: 900px; margin: 0 auto; padding-top: var(--space-6); border-top: 1px solid var(--border-light); flex-wrap: wrap; }
.sbs-item-nav__link { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--font-body); color: var(--dark); text-decoration: none; transition: color var(--dur-fast); }
.sbs-item-nav__link:hover { color: var(--primary); }
.sbs-item-nav__link--disabled { color: var(--text-faint); opacity: .5; cursor: default; }
.sbs-item-nav__back { font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color var(--dur-fast); }
.sbs-item-nav__back:hover { color: var(--primary); }
@media (max-width: 560px) { .sbs-item-nav { justify-content: center; text-align: center; } .sbs-item-nav__back { order: -1; width: 100%; } }

/* ---- Page (generic CMS page, /page/{id}) — faithful port of
   Chi Siamo STD.dc.html. Renders any CMS page (getPages): first-level
   page, no breadcrumb (source's own comment — no hierarchy to show).
   Rich-body typography (h2/p/ul/blockquote/a) generalized from the
   source's long-form article so it also serves other CMS pages
   (Safeguarding etc.) without Chi-Siamo-specific hardcoding. ---- */
.sbs-page__title-wrap { padding-top: var(--space-10); }
.sbs-page__body-wrap { padding-top: 36px; padding-bottom: 96px; }
.sbs-page__col { width: 100%; }
@media (min-width: 900px) { .sbs-page__col { width: 66.6667%; } }

.sbs-page__title { font: 400 62px/1.04 var(--font-display); color: var(--dark); letter-spacing: -0.02em; text-wrap: pretty; margin: 0; }
@media (max-width: 1000px) { .sbs-page__title { font-size: 42px; line-height: 1.04; } }
@media (max-width: 560px)  { .sbs-page__title { font-size: 33px; } }

.sbs-page__body { font: 400 17px/1.82 var(--font-body); color: var(--text-body); }
.sbs-page__body > p:first-child { font: 400 19px/1.75 var(--font-body); color: var(--dark); margin: 0 0 var(--space-6); text-wrap: pretty; }
.sbs-page__body p { margin: 0 0 var(--space-5); text-wrap: pretty; }
.sbs-page__body strong { font-weight: 600; color: var(--dark); }

.sbs-page__body h2 { font: 400 34px/1.14 var(--font-display); color: var(--dark); margin: 48px 0 18px; text-wrap: pretty; }
@media (max-width: 1000px) { .sbs-page__body h2 { font-size: 29px; line-height: 1.14; } }
@media (max-width: 560px)  { .sbs-page__body h2 { font-size: 25px; } }

.sbs-page__body ul { margin: 0 0 var(--space-5); padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.sbs-page__body li { font: 400 17px/1.75 var(--font-body); color: var(--text-body); text-wrap: pretty; }

.sbs-page__body blockquote { margin: var(--space-7) 0; padding: var(--space-1) 0 var(--space-1) 26px; border-left: 3px solid var(--primary); font: 400 22px/1.55 var(--font-display); color: var(--dark); text-wrap: pretty; }
.sbs-page__body blockquote p { margin: 0; font: inherit; color: inherit; }

.sbs-page__body a { color: var(--accent); text-decoration: none; }
.sbs-page__body a:hover { color: var(--primary); }

.sbs-page__body > *:last-child { margin-bottom: 0; }

/* padding-top/-bottom only (not shorthand) — these elements also carry
   `.container`, whose own padding: 0 var(--space-4) supplies the horizontal
   inset; a shorthand `padding: X 0` here would zero that out at every width,
   not just mobile (found 2026-08-04 alongside the same bug in Footer E and
   the Foto&Video detail sections — see main.css's other longhand paddings
   on .container elements for the established pattern). */
.sbs-notfound, .sbs-progetto__notfound, .sbs-news-single__notfound, .sbs-page__notfound { padding-top: var(--space-11); padding-bottom: var(--space-11); text-align: center; }
