﻿/* Testata del vecchio tema nascosta e contenitori azzerati: regola unica in nav.css. Colori e margini: :root in nav.css. */
.stadium-home, .stadium-home * { box-sizing:border-box; }
.stadium-home { --stadium-nav-height:96px; min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); background:var(--paper); color:var(--ink); font:17px/1.55 'Newsreader', Georgia, serif; overflow:visible; overflow-x:hidden; overflow-x:clip; scroll-snap-type:none; }
/* La home scorre con la finestra (non più dentro .stadium-home): home.js muove la finestra per sezioni. overflow-x:clip taglia lo sbordo laterale senza creare un contenitore che scorre. */
/* Sezioni a schermo intero: solo nelle due home. Le pagine interne (.stadium-page) caricano home.css per gli stili di base;
   :where() tiene la stessa specificità di prima, così le regole delle singole sezioni della home vincono come prima. */
.stadium-home:where(:not(.stadium-page)) main > section, .stadium-home:where(:not(.stadium-page)) main > figure, .stadium-home > footer:where(.stadium-footer--full) { min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); scroll-snap-align:start; }
.stadium-home a { color:inherit; text-decoration:none; }
.stadium-home img { display:block; width:100%!important; height:100%!important; object-fit:cover; }
.stadium-home a:focus-visible, .stadium-home summary:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.stadium-home ::selection { color:var(--navy); background:var(--yellow); }
.stadium-home #calendario, .stadium-home #calendario * { -webkit-user-select:text; user-select:text; }
.stadium-skip { position:absolute; z-index:30; top:12px; left:12px; padding:12px 16px; transform:translateY(-160%); background:var(--yellow); font:600 16px 'Newsreader',serif; }
.stadium-skip:focus { transform:none; }
.stadium-hero { position:relative; height:100vh; height:var(--stadium-viewport-height,100dvh); min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); display:flex; align-items:center; isolation:isolate; overflow:hidden; color:#fff; background:var(--navy); -webkit-user-select:none; user-select:none; }
.stadium-hero__photo, .stadium-hero__shade { position:absolute; z-index:-2; inset:0; }
.stadium-home .stadium-hero__photo { right:0; left:33.333%; width:66.667%!important; object-position:50% 42%; }
.stadium-hero__shade { z-index:-1; background:linear-gradient(90deg,#071629 0%,#071629 33.333%,rgba(7,22,41,.28) 52%,rgba(7,22,41,0) 78%),linear-gradient(0deg,rgba(7,22,41,.16),transparent 34%); }
.stadium-hero__content { width:100%; margin:48px 0 0; padding:0 var(--stadium-gutter); }
.stadium-hero__place, .section-index { margin:0; font:500 12px/1.4 'Newsreader',serif; letter-spacing:.1em; text-transform:uppercase; }
.stadium-hero__place { margin-bottom:19px; color:rgba(255,255,255,.9); }
.stadium-home h1, .stadium-home h2 { margin:0; font-family:'Big Shoulders Display','Arial Narrow',sans-serif; font-weight:900; letter-spacing:-.015em; line-height:1; text-transform:uppercase; }
.stadium-home h1, .stadium-home h2 { color:var(--ink)!important; }
.stadium-home .stadium-hero h1 { max-width:850px; padding:0 0 .08em; font-size:clamp(72px,calc(var(--stadium-viewport-height,100vh)*.25),202px); }
.stadium-home .stadium-hero h1, .stadium-home .stadium-hero h1 * { color:#fff!important; }
.stadium-home .stadium-hero h1 em, .stadium-home .stadium-club h2 em, .stadium-home .stadium-world h2 em { color:var(--yellow)!important; font-style:normal; }
.stadium-hero__link { display:inline-flex; align-items:center; gap:19px; margin-top:25px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255,.72); font:500 15px 'Newsreader',serif; }
.stadium-hero__link span { display:inline-block; color:var(--yellow); font:400 14px/1 'Newsreader',serif; transform:translateY(-1px); }
.stadium-hero__link { position:relative; transition:color .2s ease,border-color .2s ease; }
.stadium-hero__link span { transition:transform .25s ease; }
.stadium-hero__link:hover, .stadium-hero__link:focus-visible { border-bottom-color:var(--yellow); color:var(--yellow); }
.stadium-hero__link:hover span, .stadium-hero__link:focus-visible span { color:var(--yellow); transform:translate(-8px,-1px); }
.section-head > a, .news-heading > a, .text-link, .stadium-team-photo__identity a, .news-card__read, .next-link { transition:color .2s ease,border-color .2s ease; }
.section-head > a span, .news-heading > a span, .text-link span, .stadium-team-photo__identity a span, .news-card__read, .next-link b { display:inline-block; transition:transform .25s ease; }
.section-head > a:hover span, .section-head > a:focus-visible span, .news-heading > a:hover span, .news-heading > a:focus-visible span, .text-link:hover span, .text-link:focus-visible span, .stadium-team-photo__identity a:hover span, .stadium-team-photo__identity a:focus-visible span, .news-card > a:hover .news-card__read, .news-card > a:focus-visible .news-card__read, .next-link:hover b, .next-link:focus-visible b { transform:translateX(-8px); }
.stadium-hero__match { position:absolute; right:clamp(24px,6vw,92px); bottom:31px; display:grid; gap:3px; padding:15px 19px; background:var(--ink); color:#fff; text-align:right; font-variant-numeric:tabular-nums; }
.stadium-hero__match span { color:rgba(255,255,255,.82); font:500 12px/1.4 'Newsreader',serif; letter-spacing:.1em; }
.stadium-hero__match strong { font:600 17px 'Newsreader',serif; }
.stadium-hero__match .stadium-hero__venue--home { color:var(--yellow); }
.section-paper { background:var(--paper); }
.section-head { display:grid; grid-template-columns:.65fr 1.35fr auto; align-items:end; gap:35px; padding-bottom:34px; border-bottom:1px solid var(--rule); }
.section-index { color:rgba(16,28,43,.68); }
.section-head h2, .news-heading h2, .stadium-club h2, .stadium-world h2 { font-size:clamp(73px,9vw,130px); }
.section-head > a, .news-heading > a { display:flex; align-items:center; gap:16px; padding-bottom:8px; border-bottom:1px solid var(--ink); font:500 14px 'Newsreader',serif; }
.section-head > a span, .news-heading > a span { color:var(--blue); font-size:18px; }
.stadium-club { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); align-items:center; gap:clamp(42px,9vw,140px); padding:0 var(--stadium-gutter) clamp(105px,12vw,180px); }
.stadium-club__image { position:relative; height:clamp(540px,67vw,840px); background:#ddd6c9; }
.stadium-club__photo { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 40%; filter:sepia(.08) brightness(1.04) contrast(.96); }
.photo-note { position:absolute; right:0; bottom:-29px; left:0; padding-top:10px; border-top:1px solid var(--rule); color:rgba(16,28,43,.7); font:400 12px 'Newsreader',serif; letter-spacing:.04em; }
.stadium-club__text { padding:24px 0; }
.stadium-club h2 { margin:37px 0 25px; font-size:clamp(80px,9vw,135px); }
.stadium-club__text > p:not(.section-index) { max-width:390px; margin:0; color:rgba(16,28,43,.8); font-size:21px; line-height:1.5; }
.text-link { display:inline-flex; align-items:center; gap:18px; margin-top:28px; padding-bottom:7px; border-bottom:1px solid var(--ink); font:500 15px 'Newsreader',serif; }
.text-link span { color:var(--blue); }
.stadium-team-photo { position:relative; display:flex; height:100%; flex-direction:column; justify-content:center; margin:0; padding:0 0 0 calc(var(--stadium-gutter) + 30%); overflow:hidden; background:var(--paper); }
.stadium-team-photo__image { width:100%; height:100%!important; max-height:none; min-height:0; flex:1; aspect-ratio:auto; object-fit:cover; object-position:center top; filter:sepia(.06) brightness(1.03) contrast(.97); }
.stadium-team-photo__identity { position:absolute; z-index:1; top:50%; left:var(--stadium-gutter); width:calc(var(--stadium-gutter) + 30%); padding:24px var(--stadium-gutter) 24px 0; transform:translateY(-50%); background:transparent; color:var(--ink); }
.stadium-team-photo__identity h2 { margin:0 0 25px; color:var(--ink)!important; font-size:clamp(80px,9vw,135px); }
.stadium-team-photo__identity p { max-width:390px; margin:0; color:rgba(16,28,43,.8); font-size:21px; line-height:1.5; }
.stadium-team-photo__identity a { display:inline-flex; align-items:center; gap:18px; margin-top:28px; padding-bottom:7px; border-bottom:1px solid var(--ink); color:var(--ink); font:500 15px 'Newsreader',serif; }
.stadium-team-photo__identity a span { color:var(--blue); }
.stadium-news { padding:clamp(92px,11vw,160px) var(--stadium-gutter) clamp(105px,12vw,175px); }
.fixtures-switch { display:none; }
.fixtures-title__standings { display:none; }
.news-heading { display:grid; grid-template-columns:.65fr 1.35fr auto; align-items:end; gap:35px; margin-bottom:45px; }
.news-heading h2 { font-size:clamp(72px,8.5vw,120px); }
.news-grid { display:grid; grid-template-columns:1.35fr repeat(3,.82fr); align-items:start; gap:25px; }
.news-card { min-width:0; }
.news-card__media { display:block; overflow:hidden; }
.news-card > a { display:block; }
/* Foto sempre a colori; al passaggio del mouse o con il focus da tastiera si ingrandisce piano dentro la cornice. */
.news-card__image { height:auto!important; aspect-ratio:4/3; transition:transform .7s cubic-bezier(.2,.7,.2,1); will-change:transform; }
.news-card__placeholder { display:grid; aspect-ratio:4/3; place-items:center; background:var(--navy); color:var(--yellow); font:700 32px/.88 'Big Shoulders Display',Impact,sans-serif; letter-spacing:.03em; text-align:center; }
.news-card a:hover .news-card__image, .news-card a:focus-visible .news-card__image { transform:scale(1.06); }
.news-card__date { display:block; margin-top:17px; color:rgba(16,28,43,.67); font:500 12px 'Newsreader',serif; letter-spacing:.06em; }
.news-card h3 { margin:11px 0 17px; font:500 clamp(21px,2.1vw,29px)/1.16 'Newsreader',Georgia,serif; letter-spacing:-.01em; }
.news-card--feature h3 { max-width:640px; font-size:clamp(27px,3.2vw,43px); }
.news-card__read { display:inline-block; padding-bottom:5px; border-bottom:1px solid var(--rule); font:500 13px 'Newsreader',serif; }
.stadium-women { display:grid; grid-template-columns:1fr .9fr; align-items:start; gap:clamp(54px,9vw,140px); padding:clamp(90px,11vw,155px) var(--stadium-gutter); }
.stadium-women__copy { align-self:center; }
.stadium-women__copy { max-width:680px; }
.stadium-women__copy .section-index { color:rgba(16,28,43,.68); }
.stadium-women h2 { margin:32px 0 28px; font-size:clamp(76px,9vw,130px); }
.stadium-home .stadium-women h2 em { color:var(--blue)!important; font-style:normal; }
.stadium-women__copy > p:not(.section-index) { max-width:440px; margin:0; color:rgba(16,28,43,.8); font-size:21px; line-height:1.5; }
.stadium-women__link { display:inline-flex; align-items:center; gap:18px; margin-top:35px; padding:0 0 7px; border-bottom:1px solid var(--ink); color:var(--ink); font:500 15px 'Newsreader',serif; transition:color .2s ease,border-color .2s ease; }
.stadium-women__link span { display:inline-block; color:var(--blue); transition:transform .25s ease; }
.stadium-women__link:hover, .stadium-women__link:focus-visible { border-bottom-color:var(--blue); color:var(--blue); }
.stadium-women__link:hover span, .stadium-women__link:focus-visible span { transform:translateX(-8px); }
.stadium-women__visual { position:relative; height:clamp(490px,54vw,690px); overflow:hidden; background:#ddd6c9; }
.stadium-women__image { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 5%!important; filter:none; }
.stadium-women__visual > span { position:absolute; right:18px; bottom:17px; left:18px; color:#fff; font:500 12px 'Newsreader',serif; letter-spacing:.12em; text-shadow:0 1px 8px rgba(0,0,0,.65); }
.stadium-next { display:grid; min-height:680px; grid-template-columns:1.02fr .98fr; background:var(--blue); color:#fff; }
.stadium-next__photo { position:relative; min-height:600px; overflow:hidden; }
.stadium-next__image { object-position:50% 38%; filter:sepia(.07) brightness(1.04) contrast(.96); }
.stadium-next__photo::after { position:absolute; inset:45% 0 0; background:linear-gradient(0deg,rgba(7,22,41,.58),transparent); content:''; }
.stadium-next__photo > span { position:absolute; z-index:1; bottom:22px; left:25px; color:#fff; font:500 12px 'Newsreader',serif; letter-spacing:.12em; }
.stadium-next__copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(58px,8vw,118px); }
.stadium-next__copy .section-index { color:rgba(255,255,255,.72); }
.stadium-next h2 { margin:35px 0 35px; font-size:clamp(84px,9vw,128px); }
.stadium-home .stadium-next h2 { color:#fff!important; }
@media (min-width:701px) and (max-width:1100px) { .stadium-home .stadium-club h2, .stadium-home .stadium-next h2 { font-size:clamp(48px,6.4vw,92px); } }
.stadium-home .stadium-next h2 em { color:var(--yellow)!important; font-style:normal; }
.next-match-details { display:grid; gap:9px; padding:18px 0; border-top:1px solid rgba(255,255,255,.46); border-bottom:1px solid rgba(255,255,255,.46); font-variant-numeric:tabular-nums; }
.next-match-details span { color:rgba(255,255,255,.75); font:400 12px 'Newsreader',serif; }
.next-match-details strong { font:500 clamp(18px,2vw,23px) 'Newsreader',serif; }
.next-match-details i { padding:0 6px; color:var(--yellow); font-style:normal; }
.next-link { display:inline-flex; align-items:center; gap:16px; margin-top:25px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255,.65); font:500 14px 'Newsreader',serif; }
.next-link b { color:var(--yellow); font-weight:400; }
.next-link:hover, .next-link:focus-visible { border-bottom-color:var(--yellow); color:var(--yellow); }
.stadium-socials { display:flex; min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); flex-direction:column; align-items:flex-start; justify-content:center; padding:calc(var(--stadium-nav-height) + 5vh) var(--stadium-gutter) 8vh; background:var(--yellow); color:var(--ink); }
.stadium-socials ::selection { color:var(--yellow); background:var(--blue); }
.stadium-socials h2 { margin:3vh 0 2vh; font-size:clamp(68px,10vw,142px); line-height:.9; }
.stadium-socials h2 em { color:var(--blue); font-weight:400; }
.stadium-socials__intro { max-width:440px; margin:0; font-size:18px; }
.stadium-socials__links { display:flex; flex-wrap:wrap; gap:14px; margin-top:clamp(35px,6vh,64px); }
.stadium-socials__links a { display:flex; min-width:140px; flex-direction:column; align-items:center; gap:12px; padding:24px 18px; border:1px solid rgba(16,28,43,.45); font:600 15px 'Newsreader',serif; transition:color .2s ease,border-color .2s ease,background-color .2s ease; }
.stadium-socials__links a { -webkit-user-select:none; user-select:none; }
.stadium-socials__links a i { display:block; font-family:'Font Awesome 5 Brands'; font-size:38px; font-style:normal; font-weight:400; line-height:1; }
.stadium-socials__links a span { color:inherit; }
.stadium-socials__links a:hover, .stadium-socials__links a:focus-visible { color:#fff; border-color:var(--navy); background:var(--navy); }
.stadium-socials--cream { background:var(--paper); color:var(--ink); }
.stadium-footer:where(.stadium-footer--full) { padding:70px var(--stadium-gutter) 20px; background:var(--navy); color:#fff; }
:where(.stadium-footer--full) .stadium-footer__main { display:flex; min-height:345px; align-items:center; justify-content:space-between; gap:45px; padding:15px 0 65px; }
.stadium-footer:where(.stadium-footer--full) .section-index { color:rgba(255,255,255,.65); }
.stadium-footer:where(.stadium-footer--full) h2 { margin-top:22px; font-size:clamp(94px,13vw,184px); }
.stadium-home .stadium-footer:where(.stadium-footer--full) h2 { color:#fff!important; }
:where(.stadium-footer--full) .stadium-footer__contact { display:grid; gap:12px; font:400 15px/1.5 'Newsreader',serif; }
:where(.stadium-footer--full) .stadium-footer__contact p { margin:0 0 4px; }
:where(.stadium-footer--full) .stadium-footer__contact a { width:max-content; padding-bottom:3px; border-bottom:1px solid rgba(255,255,255,.42); }
:where(.stadium-footer--full) .stadium-footer__base { display:flex; min-height:56px; align-items:center; justify-content:space-between; gap:15px; border-top:1px solid rgba(255,255,255,.25); color:rgba(255,255,255,.65); font:400 12px 'Newsreader',serif; }
:where(.stadium-footer--full) .stadium-footer__base a { color:#fff; }

@media (min-width:1500px) { .stadium-hero__content { padding-left:var(--stadium-gutter); padding-right:var(--stadium-gutter); } }
@media (max-width:1050px) {
	.stadium-home { --stadium-nav-height:82px; }
	.stadium-hero { height:100vh; height:var(--stadium-viewport-height,100dvh); min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); }
	.stadium-hero__content { padding-left:var(--stadium-gutter); }
	.section-head, .news-heading { grid-template-columns:.55fr 1.4fr auto; gap:22px; }
	.fixture-row__place { margin-top:-20px; padding-bottom:14px; }
	.stadium-club { gap:7vw; }
	.news-grid { grid-template-columns:1.35fr repeat(3,.82fr); gap:18px; }
	.stadium-world { gap:7vw; }
	.stadium-next__copy { padding:7vw; }
}
@media (min-width:701px) and (max-width:820px) {
	.stadium-home { --stadium-nav-height:72px; }
	.stadium-hero { height:100vh; height:var(--stadium-viewport-height,100dvh); min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); }
	.stadium-hero__content { margin-top:36px; padding:0 var(--stadium-gutter); }
	.stadium-home .stadium-hero h1 { font-size:clamp(72px,calc(var(--stadium-viewport-height,100vh)*.19),106px); }
}
@media (max-width:700px) {
	.stadium-home { --stadium-nav-height:70px; --stadium-snap-offset:64px; }
	/* Solo la home e la femminile scorrono per sezioni con il dito (home.js gestisce lo swipe verticale). Le pagine continue (.stadium-page) scorrono con la finestra: lì il pan verticale nativo deve restare libero. */
	.stadium-home:not(.stadium-page) { touch-action:pan-x pinch-zoom; }
	/* In cima alla pagina il dito che scende resta al browser: è il "trascina per ricaricare" nativo, come nelle altre pagine.
	   pan-up indica la direzione in cui scorre la pagina (verso l'alto), cioè il dito che si muove verso il basso. Il dito che sale resta allo swipe per sezioni. */
	.stadium-home.is-at-top:not(.stadium-page) { touch-action:pan-x pan-up pinch-zoom; }
	.stadium-home { font-size:16px; }
	.stadium-hero { min-height:100vh; min-height:var(--stadium-viewport-height,100dvh); align-items:stretch; flex-direction:column; }
	.stadium-home .stadium-hero__photo { right:0; left:0; width:100%!important; object-position:50% 42%!important; }
	.stadium-hero__shade { background:linear-gradient(0deg,rgba(7,22,41,1) 0%,rgba(7,22,41,1) 17%,rgba(7,22,41,0) 50%); }
	.stadium-hero__content { width:100%; padding:0 var(--stadium-gutter); text-align:center; }
	.stadium-hero__place { margin-bottom:14px; font-size:11px; }
	.stadium-home .stadium-hero h1 { font-size:clamp(56px,10dvh,84px); }
	.stadium-hero__break { display:none; }
	.stadium-hero__link { display:none; }
	.stadium-hero__match { right:22px; bottom:clamp(14px,3dvh,24px); left:22px; margin:0; gap:2px; padding:12px 14px; text-align:center; background:var(--navy); }
	.stadium-hero__match span { font-size:11px; }
	.stadium-hero__match strong { font-size:15px; color:var(--yellow); }
	.stadium-hero__match span:last-child { max-width:100%; }
	.section-head > a { align-self:end; gap:8px; white-space:nowrap; }
	.stadium-club { grid-template-columns:1fr; gap:58px; padding:0 var(--stadium-gutter) 86px; }
	.stadium-club__image { height:118vw; max-height:590px; }
	.stadium-club__text { padding:0; }
	.stadium-club h2 { margin:24px 0 17px; font-size:clamp(81px,18vw,116px); }
	.stadium-club__text > p:not(.section-index) { max-width:340px; font-size:19px; }
	.stadium-home main > section#club { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; display:grid; grid-template-rows:clamp(200px,36dvh,300px) auto; align-content:center; gap:20px; padding-top:16px; padding-bottom:16px; }
	.stadium-home main > section#club .stadium-club__image { height:100%; min-height:0; }
	.stadium-home main > section#club .stadium-club__text { align-self:end; }
	.stadium-home main > section#club h2 { margin:8px 0 12px; font-size:clamp(56px,14vw,72px); line-height:1.22; color:var(--blue)!important; }
	.stadium-home main > section#club h2 em { background:var(--blue); padding:.14em .11em .03em; }
	.stadium-team-photo__identity h2 { margin-bottom:17px; font-size:clamp(52px,12vw,81px); color:var(--navy)!important; }
	.stadium-team-photo__identity p { font-size:19px; }
	.stadium-home main > figure.stadium-team-photo { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; display:grid; grid-template-rows:minmax(0,2fr) minmax(0,1fr); gap:0; padding:0; }
	.stadium-home main > figure.stadium-team-photo .stadium-team-photo__image { aspect-ratio:auto!important; height:100%!important; }
	.stadium-home main > figure.stadium-team-photo .stadium-team-photo__identity { position:relative; top:auto; left:auto; transform:none; width:auto; padding:16px var(--stadium-gutter); align-self:center; }
	.stadium-news { padding:24px var(--stadium-gutter); }
	.stadium-home main > .stadium-news { min-height:0; }
	.fixtures-switch { position:relative; display:flex; gap:8px; margin:0 0 12px; padding:0; border:0; }
	.fixtures-switch__input { position:absolute; top:0; left:0; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
	.fixtures-switch__label { padding:7px 12px; border:1px solid var(--ink); color:var(--ink); font:600 11px/1 'Newsreader',Georgia,serif; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; }
	.fixtures-switch__input:checked + .fixtures-switch__label { background:var(--ink); color:var(--paper); }
	.fixtures-switch__input:focus-visible + .fixtures-switch__label { outline:3px solid var(--blue); outline-offset:3px; }
	.stadium-fixtures:has(#view-dates:checked) .standings-panel { display:none; }
	.stadium-fixtures:has(#view-standings:checked) .fixture-list { display:none; }
	.stadium-fixtures:has(#view-standings:checked) .fixtures-title__dates { display:none; }
	.stadium-fixtures:has(#view-standings:checked) .fixtures-title__standings { display:inline; }
	.stadium-fixtures .standings-panel h2 { position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
	.fixtures-layout .fixtures-column, .fixtures-layout .fixtures-column .section-head { display:contents; }
	.stadium-home main > section#calendario { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; display:flex; flex-direction:column; padding-top:16px; }
	.stadium-home main > section#calendario .fixtures-layout { grid-template-rows:auto auto minmax(0,1fr) auto; }
	.standings-panel .standings-table-wrap { flex:1; min-height:0; }
	.standings-panel .standings-table { height:100%; }
	.standings-panel .standings-table { width:100%; margin-left:auto; margin-right:auto; font-size:14px; line-height:1.25; }
	.standings-panel .standings-table th, .standings-panel .standings-table td { font-size:clamp(14px,1.9dvh,17px); line-height:1.25; padding:clamp(4px,.7dvh,7px) 4px; }
	.standings-panel .standings-table td:nth-child(2), .standings-panel .standings-table th:nth-child(2) { white-space:nowrap; }
	.standings-panel__status { text-align:left; } /* "* Una partita in meno." sempre a sinistra, a ogni larghezza (anche riga 492). */
	.fixtures-switch { order:-1; justify-content:center; }
	.stadium-fixtures #fixtures-title { font-size:clamp(48px,14vw,60px); text-align:center; }
	.stadium-home main > section#calendario .fixture-list { align-self:center; }
	.fixtures-layout .fixtures-column .section-head > a { order:10; grid-column:1 / -1; justify-self:center; margin-top:0; font-size:17px; }
	.news-card__read { display:none; }
	.news-card { container-type:inline-size; }
	.news-card__placeholder { font-size:20cqi; }
	.news-heading h2 { font-size:clamp(34px,11.5vw,46px); grid-column:1/-1; white-space:nowrap; }
	.news-heading > a { gap:8px; white-space:nowrap; justify-self:start; width:max-content; } .news-heading > a span { font-size:14px; }
	.stadium-home main .news-heading > a { font-size:13px; font-weight:500; line-height:1.2; }
	.news-card h3 { line-height:1.12; }
	.stadium-women { grid-template-columns:1fr; gap:33px; padding:86px var(--stadium-gutter); }
	.stadium-women h2 { margin:24px 0 22px; font-size:clamp(56px,15vw,112px); }
	.stadium-women__copy > p:not(.section-index) { font-size:19px; }
	.stadium-women__link { margin-top:12px; font-size:14px; line-height:1.1; }
	.stadium-women__visual { height:112vw; max-height:480px; }
	.stadium-home main > section#femminile { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; display:grid; grid-template-rows:auto minmax(0,1fr); gap:20px; padding:16px var(--stadium-gutter); }
	.stadium-home main > section#femminile .stadium-women__visual { height:100%!important; max-height:none; min-height:0; }
	.stadium-home main > section#femminile h2 { margin:8px 0 12px; font-size:clamp(56px,14vw,72px); }
	.stadium-home main > section#nexthomematch { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; display:grid; grid-template-columns:1fr; grid-template-rows:minmax(0,1fr) auto; gap:0; }
	.stadium-home main > section#nexthomematch .stadium-next__photo { min-height:0; height:auto; max-height:none; }
	.stadium-home main > section#nexthomematch .stadium-next__copy { padding:16px var(--stadium-gutter) 24px; justify-content:flex-end; }
	.stadium-home main > section#nexthomematch h2 { margin:8px 0 12px; font-size:clamp(48px,13vw,64px); }
	.stadium-next__photo { height:110vw; min-height:0; max-height:510px; }
	.stadium-socials { min-height:var(--stadium-viewport-height,100dvh); justify-content:flex-start; padding:24px var(--stadium-gutter) 7vh; }
	.stadium-socials h2 { color:var(--navy)!important; }
	.stadium-home .stadium-socials__intro { font-size:19px; line-height:1.5; }
	.stadium-socials__links { width:100%; }
	.stadium-socials__links a { width:100%; min-width:0; padding:18px 10px; justify-content:center; }
	.stadium-home main > section#socials { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; padding-top:16px; padding-bottom:34px; }
	.stadium-socials__links { flex:1; min-height:0; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr 1fr; gap:12px; margin-top:24px; }
	.stadium-socials__links a:nth-child(1) { grid-column:1; grid-row:1 / span 2; }
	.stadium-socials__links a:nth-child(2) { grid-column:2; grid-row:1; }
	.stadium-socials__links a:nth-child(3) { grid-column:2; grid-row:2; }
	.stadium-socials__links a:nth-child(4) { grid-column:1 / -1; grid-row:3; }
	.stadium-home > footer#end:where(.stadium-footer--full) { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; }
	.stadium-footer:where(.stadium-footer--full) .section-index { white-space:nowrap; font-size:12px; }
	.stadium-home > footer#end:where(.stadium-footer--full)::before { width:50%; height:30%; right:-4%; bottom:-6%; }
	:where(.stadium-footer--full) .stadium-footer__main { min-height:0; padding:12px 0 42px; }
	.stadium-footer:where(.stadium-footer--full) h2 { margin-top:17px; }
	:where(.stadium-footer--full) .stadium-footer__base { flex-wrap:wrap; justify-content:space-between; gap:5px 12px; padding:11px 0; }
	:where(.stadium-footer--full) .stadium-footer__base span:nth-child(2) { order:3; width:100%; }
}

/* Mobile: dates and standings become two swipeable slides, like Instagram posts; the dots show the position. */
.fixtures-dots { display:none; }
@media (max-width:700px) {
	.stadium-home main > section#calendario .fixtures-switch { display:none; }
	.stadium-home main > section#calendario .fixtures-layout { display:flex; flex:1; min-height:0; margin:0; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
	.stadium-home main > section#calendario .fixtures-layout::-webkit-scrollbar { display:none; }
	.stadium-home main > section#calendario .fixtures-layout .fixtures-column,
	.stadium-home main > section#calendario .fixtures-layout .standings-panel { flex:0 0 100%; width:100%; min-width:100%; min-height:0; scroll-snap-align:start; overflow-y:auto; display:flex!important; flex-direction:column; }
	.stadium-home main > section#calendario .fixtures-layout .fixtures-column .section-head { display:contents; }
	.stadium-home main > section#calendario .standings-panel h2 { display:none; }
	.stadium-home main > section#calendario .fixtures-dots { display:flex; justify-content:center; gap:8px; margin:12px 0 0; }
	.stadium-home main > section#calendario .fixtures-dots span { width:7px; height:7px; border-radius:50%; background:var(--ink); opacity:.25; transition:opacity .2s ease; }
	.stadium-home main > section#calendario .fixtures-dots span.is-active { opacity:1; }
}
@media (min-width:701px) {
	/* Full-screen editorial slides. Every section stays inside the live viewport. */
.stadium-home { scroll-behavior:auto; scroll-snap-type:none; }
.stadium-home:where(:not(.stadium-page)) main > section, .stadium-home:where(:not(.stadium-page)) main > figure, .stadium-home > footer:where(.stadium-footer--full) { height:var(--stadium-viewport-height,100dvh); min-height:0; max-height:var(--stadium-viewport-height,100dvh); overflow:hidden; scroll-snap-align:start; }
.stadium-home:where(:not(.stadium-page)) main > section:not(.stadium-hero), .stadium-home:where(:not(.stadium-page)) main > figure, .stadium-home > footer:where(.stadium-footer--full) { scroll-padding-top:var(--stadium-nav-height); padding-top:var(--stadium-nav-height); }
.stadium-fixtures { min-height:var(--stadium-viewport-height,100dvh)!important; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows:auto 1fr; gap:clamp(24px,4vh,42px) clamp(34px,5vw,78px); }
.fixtures-column .section-head { grid-template-columns:minmax(0,1fr) auto; padding-bottom:20px; }
.fixtures-column .section-head .section-index { grid-column:1/-1; }
.fixtures-column .section-head > a { align-self:end; padding-bottom:5px; }
.fixture-list { margin-top:12px; }
.fixture-row__date { font-size:13px; }
.standings-panel__head { display:flex; align-items:center; justify-content:space-between; padding-bottom:14px; border-bottom:1px solid var(--rule); font:500 12px 'Newsreader',serif; letter-spacing:.1em; }
.standings-panel__head .section-index { margin:0; }
.standings-table-wrap { overflow-x:auto; }
.standings-table { width:100%; border-collapse:collapse; table-layout:fixed; font:400 14px/1.15 'Newsreader',serif; font-variant-numeric:tabular-nums; }
.standings-table th, .standings-table td { border-bottom:1px solid var(--rule); text-align:right; white-space:nowrap; }
.standings-table thead th { color:rgba(16,28,43,.62); font:500 12px 'Newsreader',serif; letter-spacing:.04em; }
.standings-table th:first-child, .standings-table td:first-child { width:30px; text-align:left; }
.standings-table th:nth-child(2) { width:auto; text-align:left; white-space:normal; }
.standings-table td:nth-child(2) { text-align:left; white-space:normal; }
.standings-table tbody th { font-weight:500; }
.standings-table tbody tr.is-stadium { background:rgba(0,48,135,.08); color:var(--blue); }
.standings-table tbody tr.is-stadium th { font-weight:700; }
.standings-panel__status { color:rgba(16,28,43,.62); font:400 12px 'Newsreader',serif; }
.standings-panel__note { max-width:350px; margin:0; color:rgba(16,28,43,.72); font-size:clamp(16px,1.6vw,20px); }
.standings-panel__link { display:inline-flex; width:max-content; align-items:center; gap:18px; margin-top:clamp(22px,4vh,42px); padding-bottom:8px; border-bottom:1px solid var(--ink); font:500 14px 'Newsreader',serif; }
.standings-panel__link span { color:var(--blue); font-size:18px; }
.section-head { grid-template-columns:.65fr 1.35fr auto; gap:2vw; padding-bottom:3vh; }
.section-head h2, .news-heading h2 { font-size:clamp(54px,min(13vh,8vw),130px); }
.fixture-row { max-height:12vh; }
.stadium-club { height:100%; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:6vw; padding:6vh var(--stadium-gutter); }
.stadium-club__image { height:100%; min-height:0; }
.stadium-club h2 { margin:3vh 0 2vh; font-size:clamp(56px,15vh,135px); }
.stadium-news { flex-direction:column; justify-content:center; padding:5vh var(--stadium-gutter); }
.news-heading { grid-template-columns:.65fr 1.35fr auto; margin-bottom:3vh; }
.news-heading h2 { font-size:clamp(54px,min(12vh,7vw),120px); }
.news-card__date { margin-top:1.5vh; }
.news-card h3 { margin:1vh 0 1.5vh; font-size:clamp(16px,2.5vh,29px); }
.news-card--feature h3 { font-size:clamp(20px,3.5vh,43px); }
.stadium-women { height:100%; grid-template-columns:1fr .9fr; gap:5vw; padding:5vh var(--stadium-gutter); }
.stadium-women__copy { align-self:center; }
.stadium-women h2 { margin:2vh 0; font-size:clamp(56px,13vh,120px); }
.stadium-women__copy > p:not(.section-index) { font-size:clamp(16px,2.3vh,21px); }
.stadium-women__link { margin-top:2vh; font-size:14px; }
.stadium-women__visual { height:100%; min-height:0; }
.stadium-next { height:100%; min-height:0; grid-template-columns:1.02fr .98fr; }
.stadium-next__photo { height:100%; min-height:0; }
.stadium-next__copy { min-width:0; padding:5vh 5vw; }
.stadium-next h2 { margin:3vh 0; font-size:clamp(60px,15vh,128px); }
.stadium-socials h2 { font-size:clamp(56px,15vh,126px); }
.stadium-footer:where(.stadium-footer--full) { display:flex; flex-direction:column; justify-content:center; padding:5vh var(--stadium-gutter) 2vh; }
:where(.stadium-footer--full) .stadium-footer__main { min-height:0; flex:1; padding:0 0 3vh; }
.stadium-footer:where(.stadium-footer--full) h2 { font-size:clamp(64px,18vh,184px); }

}
@media (max-width:700px) {
	.stadium-fixtures { grid-template-columns:1fr; grid-template-rows:auto auto auto; gap:22px; }
	.fixtures-column .section-head { grid-template-columns:minmax(0,1fr) auto; }
	.standings-panel { padding:0; border:0; }
	.standings-panel__head { font-size:11px; }
	.standings-panel h2 { margin-bottom:14px; }
	.standings-panel__note { font-size:14px; }
	.standings-panel__link { gap:8px; font-size:11px; }
	.section-head { grid-template-columns:1fr auto; gap:2vh 12px; padding-bottom:2vh; }
	.section-head .section-index { grid-column:1/-1; }
	.section-head h2 { font-size:clamp(48px,10vh,78px); }
	.section-head > a { font-size:11px; }
	.fixture-row { max-height:none; }
	.fixture-row__place { margin:0; padding:0; }
	@media (min-aspect-ratio:1/1) {
	.stadium-club { grid-template-columns:.78fr 1fr; gap:5vw; padding:10vh var(--stadium-gutter) 5vh; }
	.stadium-club__image { height:100%; }
	.stadium-club h2 { margin:2vh 0; font-size:clamp(42px,8.8vh,72px); }
	.stadium-club__text > p:not(.section-index) { font-size:clamp(13px,2.5vh,17px); line-height:1.35; }
	}
	.stadium-team-photo { height:auto; min-height:100dvh; padding:0; }
	.stadium-team-photo__image { height:auto!important; aspect-ratio:4/5; flex:none; }
	.stadium-team-photo__identity { position:relative; top:auto; left:auto; transform:none; width:auto; padding:clamp(40px,8vw,64px) var(--stadium-gutter); }
	@media (min-aspect-ratio:1/1) {
	.stadium-team-photo__identity { width:calc(var(--stadium-gutter) + 30%); padding:12px var(--stadium-gutter) 12px 0; }
	.stadium-team-photo__identity h2 { margin-bottom:2vh; font-size:clamp(42px,8.8vh,72px); }
	.stadium-team-photo__identity p { font-size:clamp(13px,2.5vh,17px); line-height:1.35; }
	}
	.text-link { margin-top:2vh; }
	.news-heading { grid-template-columns:1fr auto; gap:1vh 8px; margin-bottom:24px; }
	.news-heading .section-index { grid-column:1/-1; }
	.news-heading > a { font-size:11px; }
	.news-card--feature { grid-column:1/-1; }
	.news-card__date { margin-top:.8vh; font-size:11px; }
	.news-card h3 { margin:.5vh 0 .7vh; font-size:clamp(12px,2vh,16px); }
	.news-card--feature h3 { font-size:clamp(15px,2.5vh,20px); }
	.news-card__read { font-size:11px; }
	.stadium-world { grid-template-columns:1fr .7fr; gap:4vw; padding:9vh var(--stadium-gutter) 4vh; }
	.stadium-world h2 { margin:2vh 0; font-size:clamp(43px,9vh,70px); }
	.world-links a { min-height:0; padding:1.3vh 0; }
	.world-links a span { font-size:clamp(18px,3.5vh,27px); }
	.world-links a small { font-size:11px; }
	.stadium-world__visual { height:100%; max-height:none; }
	.stadium-next { grid-template-columns:.75fr 1.25fr; }
	.stadium-next__copy { padding:5vh 5vw; }
	.stadium-next h2 { margin:2vh 0; font-size:clamp(52px,10vh,82px); }
	.next-match-details { gap:1vh; padding:1.5vh 0; }
	.next-match-details strong { font-size:clamp(14px,2.5vh,18px); }
	.next-match-details span { font-size:11px; }
	.next-link { margin-top:2vh; }
	.stadium-socials h2 { margin:2vh 0; font-size:clamp(48px,10vh,78px); }
	.stadium-socials__intro { font-size:13px; }
	.stadium-footer:where(.stadium-footer--full) { padding:5vh var(--stadium-gutter) 2vh; }
	:where(.stadium-footer--full) .stadium-footer__main { flex-direction:column; align-items:flex-start; gap:3vh; padding-bottom:2vh; }
	.stadium-footer:where(.stadium-footer--full) h2 { font-size:clamp(60px,12vh,92px); }
	:where(.stadium-footer--full) .stadium-footer__contact { gap:1vh; font-size:12px; }
	:where(.stadium-footer--full) .stadium-footer__base { min-height:0; font-size:11px; }
}
@media (max-height:560px) {
	.stadium-hero__content { margin-top:60px; }
	.stadium-home .stadium-hero h1 { font-size:clamp(48px,17vh,96px); }
	.stadium-hero__place { margin-bottom:8px; }
	.stadium-hero__link { margin-top:8px; }
}
@media (prefers-reduced-motion:reduce) { .stadium-home *, .stadium-home *::before, .stadium-home *::after { scroll-behavior:auto!important; transition-duration:.01ms!important; } .news-card a:hover .news-card__image, .news-card a:focus-visible .news-card__image { transform:none; } }

/* Calendar spread: one shared season line, two aligned editorial columns. */
.stadium-fixtures { display:flex; height:auto!important; min-height:var(--stadium-viewport-height,100dvh)!important; max-height:none!important; align-items:center; justify-content:center; overflow:visible!important; padding:var(--stadium-nav-height,76px) var(--stadium-gutter) clamp(22px,4vh,36px); }
.fixtures-layout { display:grid; width:100%; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); align-items:stretch; gap:20px clamp(32px,4vw,64px); margin:auto; }
.stadium-fixtures > .standings-panel__head { grid-column:1/-1; display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:8px 24px; width:100%; margin:0; padding:0 0 12px; border-bottom:1px solid var(--rule); color:var(--ink); font:500 12px/1.2 'Newsreader',serif; letter-spacing:.08em; text-transform:uppercase; }
.stadium-fixtures > .standings-panel__head .section-index { margin:0; color:inherit; }
.fixtures-admission { color:var(--ink); font-weight:600; letter-spacing:.04em; }
.fixtures-column { display:flex; min-width:0; min-height:0; flex-direction:column; }
.fixtures-column .section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0; padding:0 0 13px; border-bottom:0; }
@media (min-width:701px) { .fixture-list > .fixture-row:first-child { border-top:1px solid var(--rule); } }
.fixtures-column .section-head h2, .standings-panel h2 { margin:0; font-size:clamp(42px,4.6vw,64px); line-height:.92; }
.fixtures-column .section-head > a { display:flex; min-height:44px; align-items:center; gap:8px; padding:0 0 4px; border-bottom:1px solid var(--ink); font-size:16px; white-space:nowrap; }
.fixtures-column .section-head > a span { color:var(--blue); }
.fixture-list { display:flex; min-height:0; flex:1; flex-direction:column; margin:0; }
.fixture-row { display:grid; min-height:58px; flex:1; grid-template-columns:50px minmax(0,1fr) 16px minmax(0,1fr); grid-template-rows:auto auto; align-content:center; align-items:baseline; gap:3px 10px; padding:9px 0 8px; border-bottom:1px solid var(--rule); font-size:15px; }
.fixture-row__date { display:flex; grid-column:1; grid-row:1/3; flex-direction:column; align-self:center; gap:3px; font:600 15px/1 'Newsreader',serif; font-variant-numeric:tabular-nums; }
.fixture-row__date small { color:rgba(16,28,43,.68); font:500 12px/1 'Newsreader',serif; letter-spacing:.08em; }
.fixture-row strong { min-width:0; font-weight:500; line-height:1.15; }
.fixture-row strong:nth-of-type(1) { grid-column:2; grid-row:1; }
.fixture-row strong:nth-of-type(2) { grid-column:4; grid-row:1; }
.fixture-row__versus { grid-column:3; grid-row:1; color:var(--blue); text-align:center; }
.fixture-row__place { grid-column:2/-1; grid-row:2; color:rgba(16,28,43,.68); font-size:12px; line-height:1.15; text-align:left; }
.standings-panel { display:flex; min-width:0; min-height:0; flex-direction:column; }
.standings-panel h2 { padding:0 0 13px; border-bottom:1px solid var(--rule); }
.standings-table-wrap { width:100%; min-height:0; flex:1; overflow:auto; }
.standings-table { font-size:14px; line-height:1.15; }
.standings-table th, .standings-table td { padding:5px 4px; }
.standings-table thead th { font-size:12px; }
.standings-panel__status { margin:12px 0 0; }

@media (max-width:700px) {
	.stadium-fixtures { padding:var(--stadium-nav-height,64px) var(--stadium-gutter) 32px; }
	.fixtures-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
	.stadium-fixtures > .standings-panel__head { grid-template-columns:1fr auto; gap:7px 12px; padding-bottom:10px; }
	.fixtures-admission { grid-column:1/-1; }
	.fixtures-column .section-head { align-items:flex-end; gap:8px; padding-bottom:10px; }
	.fixtures-column .section-head h2, .standings-panel h2 { font-size:clamp(40px,11vw,52px); }
	.fixtures-column .section-head > a { min-height:40px; font-size:11px; }
	.fixture-list { flex:none; }
	.fixture-row { min-height:48px; flex:none; grid-template-columns:42px minmax(0,1fr) 12px minmax(0,1fr); gap:3px 7px; padding:8px 0 7px; font-size:13px; }
	.fixture-row__date { font-size:13px; }
	.fixture-row__date small { font-size:11px; }
	.fixture-row strong { font-size:12px; line-height:1.12; }
	.fixture-row__place { font-size:11px; }
	.standings-panel h2 { padding-bottom:10px; }
	.standings-table { font-size:13px; }
	.standings-table th, .standings-table td { padding:5px 3px; }
	.standings-table th:first-child, .standings-table td:first-child { width:25px; }
	.standings-table tbody tr.is-stadium { background:rgba(0,48,135,.08); color:var(--blue); }
	.standings-table tbody tr.is-stadium th { font-weight:700; }
}

.stadium-fixtures .fixture-row { grid-template-columns:112px minmax(0,1fr); grid-template-rows:1fr; align-items:center; gap:36px; min-height:76px; padding:10px 0; }
.stadium-fixtures .fixture-row__date { display:grid; grid-column:1; grid-row:1; align-self:center; justify-self:center; grid-template-columns:auto auto; grid-template-rows:auto auto; align-items:baseline; justify-content:center; text-align:center; gap:0 5px; font:600 clamp(38px,4.2vw,56px)/.88 'Newsreader',serif; font-variant-numeric:tabular-nums; }
.stadium-fixtures .fixture-row__date small { color:rgba(16,28,43,.7); font:500 14px/1 'Newsreader',serif; letter-spacing:.08em; }
.stadium-fixtures .fixture-row__date .fixture-row__time { grid-column:1/-1; grid-row:2; margin-top:0; line-height:1; color:rgba(16,28,43,.72); font-size:14px; line-height:1.15; letter-spacing:.02em; }
.stadium-fixtures .fixture-row__side { grid-column:2; grid-row:1; color:var(--blue); font:600 12px/1 'Newsreader',serif; letter-spacing:.12em; }
.stadium-home .stadium-fixtures .fixture-row strong.fixture-row__opponent { grid-column:2; grid-row:1; font:500 clamp(16px,1.55vw,20px)/1.15 'Newsreader',serif; }
.stadium-fixtures .fixture-row__time { color:rgba(16,28,43,.72); font:500 13px/1.15 'Newsreader',serif; letter-spacing:.02em; }
.stadium-fixtures .fixture-row__venue { display:inline-block; margin-left:5px; color:rgba(16,28,43,.58); font:400 .72em/1.2 'Newsreader',serif; white-space:nowrap; }
.stadium-fixtures .fixture-row__venue--home { line-height:1.5; background:var(--yellow); color:var(--navy); font-weight:600; }
/* Partite in casa: ora e palestra in giallo con testo navy. */
.stadium-fixtures .fixture-row:has(.fixture-row__venue--home) .fixture-row__time { display:inline-block; line-height:1.5; background:var(--yellow); color:var(--navy); }
.next-match-details mark { padding:.3em .55em; line-height:1.5; background:var(--yellow); color:var(--navy); font-weight:600; }

@media (max-width:700px) {
	.stadium-fixtures .fixture-row { grid-template-columns:82px minmax(0,1fr); gap:14px; min-height:64px; padding:9px 0; }
	.stadium-fixtures .fixture-row__date { gap:4px; font-size:clamp(34px,9vw,42px); }
	.stadium-fixtures .fixture-row__date small { font-size:11px; }
	.stadium-fixtures .fixture-row__date .fixture-row__time { font-size:11px; }
	.stadium-home .stadium-fixtures .fixture-row strong.fixture-row__opponent { font-size:clamp(14px,4vw,17px); }
}


.stadium-home main > section.stadium-fixtures--empty { height:auto; min-height:0; max-height:none; padding-top:clamp(64px,10vw,120px); padding-bottom:clamp(64px,10vw,120px); }
.fixtures-layout:not(:has(.standings-panel)) .fixtures-column { grid-column:1 / -1; max-width:760px; }

/* Prossime date e classifica più grandi: titoli, righe partite e tabella. */
@media (min-width:701px) {
	.stadium-home .fixtures-column .section-head h2, .stadium-home .standings-panel h2 { font-size:clamp(56px,6.2vw,96px); }
	.stadium-home .fixture-row { font-size:clamp(17px,1.6vw,20px); }
	.stadium-home .standings-table { font-size:clamp(16px,1.5vw,19px); }
	.stadium-home .standings-table thead th { font-size:clamp(12px,1vw,14px); }
}
@media (max-width:700px) {
	.stadium-home .fixtures-column .section-head h2, .stadium-home .standings-panel h2 { font-size:clamp(44px,12vw,60px); }
	.stadium-home .fixture-row { font-size:16px; }
	.stadium-home .standings-table { font-size:14px; }
}

/* Pagina femminile: la lista Prossime date ha la stessa resa di quella maschile, anche senza classifica accanto. */
.stadium-home .fixtures-layout:not(:has(.standings-panel)) .fixtures-column { grid-column:auto; max-width:none; }

/* Tabelle: il numero resta rientrato rispetto al bordo della riga evidenziata. */
.standings-table th, .standings-table td, .roster-table th, .roster-table td { padding-left:clamp(12px,1.2vw,18px); padding-right:clamp(12px,1.2vw,18px); }

/* Classifica: numeri più rientrati e colonne abbastanza larghe da non schiacciarli. */
.standings-table th, .standings-table td { padding-left:clamp(16px,1.8vw,24px); padding-right:clamp(16px,1.8vw,24px); }
.standings-table th:nth-child(n+3), .standings-table td:nth-child(n+3) { width:clamp(40px,5vw,56px); }

/* Legenda sotto le classifiche: leggibile sia su desktop che su telefono. */
.standings-panel__status { font-size:clamp(15px,1.4vw,17px); }

/* Homepage desktop: legenda più piccola e rule sopra la classifica; line-height invariata così la tabella mantiene la stessa altezza. */
@media (min-width:701px) {
	#calendario .standings-panel__status { font-size:clamp(11px,1vw,12px); line-height:clamp(15px,1.4vw,17px); margin-top:6px; text-align:left; }
	#calendario .standings-panel .standings-panel__status { position:absolute; top:100%; right:0; left:0; }
	#calendario .standings-panel { position:relative; }
	#calendario .fixture-row { max-height:none; }
	#calendario .fixtures-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
	/* Righe delle partite più basse: la classifica è più compatta (le righe delle partite seguono la sua altezza) e i numeri della data scalano di conseguenza. */
	#calendario .standings-table { border-collapse:separate; border-spacing:0; font-size:clamp(13px,1.05vw,15px); }
	#calendario .standings-table th, #calendario .standings-table td { padding:5px 6px; }
	#calendario .standings-table th:nth-child(n+3), #calendario .standings-table td:nth-child(n+3) { width:clamp(30px,3vw,40px); }
	#calendario .fixture-row__date { font-size:clamp(30px,3.2vw,42px); }
	#calendario .fixture-row__date small { font-size:12px; }
	#calendario .fixture-row__date .fixture-row__time { font-size:12px; }
	#calendario .standings-table tbody th, #calendario .standings-table tbody td { vertical-align:middle; }
	#calendario .standings-table thead th { padding-top:12px; padding-bottom:12px; }
	#calendario .standings-table-wrap { display:flex; flex-direction:column; border-top:1px solid var(--rule); }
	#calendario .standings-table { flex:1; }
	/* Solo mobile: la sesta partita e l'etichetta "La nostra Serie B" non esistono su desktop. */
	#calendario .fixture-list > .fixture-row:nth-child(n+6) { display:none; }
	#calendario { position:relative; padding-bottom:120px; }
	#calendario .section-head > a { position:absolute; left:50%; bottom:clamp(20px,4vh,40px); transform:translateX(-50%); }
}


/* Mobile notizie: foto piu basse con altezze legate allo schermo, testo a dimensione piena (niente zoom). */
@media (max-width:700px) {
	.stadium-home main > section#notizie { min-height:0!important; height:calc(var(--stadium-viewport-height,100dvh) - var(--stadium-snap-offset))!important; }
	.stadium-home .news-card__image, .stadium-home .news-card__placeholder { aspect-ratio:auto!important; height:clamp(72px,11dvh,104px)!important; }
	.stadium-home .news-card--feature .news-card__image, .stadium-home .news-card--feature .news-card__placeholder { height:clamp(120px,22dvh,200px)!important; }
	.stadium-home .news-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
	.standings-panel .standings-table thead th { font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.06em; color:rgba(16,28,43,.62); border-bottom:1px solid var(--ink); }
	/* Righe della classifica: stessa linea del calendario (var(--rule)); sulle pagine navy --rule è chiara, quindi la linea si vede anche lì. */
	.standings-panel .standings-table td, .standings-panel .standings-table th { text-align:center; font-variant-numeric:tabular-nums; border-bottom:1px solid var(--rule); }
	.standings-panel .standings-table tbody th { text-align:left; font-weight:400; }
	.standings-panel .standings-table tbody td:nth-child(3) { font-weight:400; }
	.standings-panel .standings-table tbody tr.is-stadium th, .standings-panel .standings-table tbody tr.is-stadium td:nth-child(3) { font-weight:700; }
}

/* Titoli delle notizie in Big Shoulders, come i titoli di categoria e articolo; le miniature piccole non sotto i 15px per la leggibilità. */
.stadium-home .news-card h3 { font-family:'Big Shoulders Display',Impact,sans-serif; font-weight:700; line-height:1; letter-spacing:0; }
.stadium-home .news-card--feature h3 { font-size:clamp(24px,2.6vw,34px); }
.stadium-home .news-card:not(.news-card--feature) h3 { font-size:clamp(15px,1.5vw,18px); }

/* Notizie desktop: titolo a tutta larghezza con filetto, sotto la notizia più recente grande a sinistra e le quattro successive 2x2 a destra, metà e metà.
   La riga delle notizie prende l'altezza che resta nella sezione (fino a 760 px, poi si centra): le foto si adattano (object-fit), così tutto sta nello schermo
   anche sui portatili bassi. display:contents su .news-lead evita di toccare il markup. La query della home chiede 5 notizie (front-page.php, page-femminile.php).
   Non sugli schermi larghi ma bassi (telefono in orizzontale, sotto 500 px): lì la griglia si schiaccia, vedi il blocco "Telefono in orizzontale" più sotto. */
@media (min-width:701px) and (min-height:501px) {
	.stadium-news { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto minmax(0,min(760px,62vw)); column-gap:clamp(16px,1.6vw,28px); row-gap:clamp(20px,4vh,40px); align-content:center; }
	.news-lead { display:contents; }
	.news-heading { grid-column:1/-1; display:flex; flex-direction:row; align-items:flex-end; justify-content:space-between; gap:24px; margin:0; padding-bottom:clamp(12px,2vh,20px); border-bottom:1px solid var(--ink); }
	.news-lead .news-heading h2 { margin:0; font-size:clamp(48px,min(8vh,5.5vw),104px); line-height:.9; white-space:nowrap; }
	.news-heading > a { width:max-content; flex:none; }
	.news-lead > .news-card--feature { grid-column:1; grid-row:2; }
	.stadium-news { align-items:stretch; }
	.news-card--feature { display:flex; flex-direction:column; }
	.news-card--feature > a { display:flex; flex-direction:column; flex:1; min-height:0; }
	.news-card--feature .news-card__media { flex:1 1 0; min-height:200px; }
	.news-card--feature .news-card__image { position:absolute; inset:0; aspect-ratio:auto; }
	.news-card__media { position:relative; }
	.news-card__media .news-card__date { position:absolute; left:0; bottom:0; margin:0; padding:6px 10px 5px; background:var(--paper); color:var(--ink); line-height:1.2; white-space:nowrap; }
	.news-grid { grid-column:2; grid-row:2; display:grid; min-width:0; min-height:0; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); align-items:stretch; gap:clamp(16px,1.6vw,28px); }
	.news-grid > .news-card:nth-child(n+5) { display:none; }
	.news-grid > .news-card { display:flex; flex-direction:column; min-height:0; }
	.news-grid > .news-card > a { display:flex; flex-direction:column; flex:1; min-height:0; }
	.news-grid .news-card__media { flex:1 1 0; min-height:64px; }
	.stadium-home .news-grid .news-card__image, .news-grid .news-card__placeholder { position:absolute; inset:0; height:100%!important; aspect-ratio:auto; }
	/* Card strette (tablet, portatili piccoli): nell'etichetta resta solo la data, la categoria verrebbe tagliata. */
	.news-grid > .news-card { container-type:inline-size; }
	@container (max-width:250px) { .news-grid .news-card__cat { display:none; } }
	/* Il margine sotto è un bordo navy e non padding: overflow:hidden taglia al bordo del padding, così la quarta riga oltre i puntini non si intravede. */
	.news-grid .news-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; min-height:3em; margin:0; padding:12px 14px 0; border-bottom:14px solid var(--navy); background:var(--navy); color:var(--paper); }
	.news-card--feature h3 { max-width:none; margin:0; padding:16px 18px 18px; background:var(--navy); color:var(--paper); }
}

/* Mobile: le quattro notizie più recenti in colonna, tutte uguali: miniatura 4:3 a sinistra (stessa misura per tutte), data e titolo a destra.
   display:contents sul contenitore della foto mette foto, data e titolo nella stessa griglia del link. La miniatura segue l'altezza dello schermo (13dvh). */
@media (max-width:700px) {
	.news-lead { display:block; }
	.news-grid { grid-template-columns:minmax(0,1fr); gap:18px; margin-top:18px; }
	.news-grid > .news-card:nth-child(n+4) { display:none; }
	.stadium-news .news-card { --news-thumb-h:clamp(72px,13dvh,110px); }
	.stadium-news .news-card > a { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:14px; align-items:start; }
	.stadium-news .news-card__media { display:contents; }
	.stadium-home .news-card > a .news-card__image, .stadium-home .news-card > a .news-card__placeholder { grid-column:1; grid-row:1 / span 2; width:auto!important; height:var(--news-thumb-h)!important; aspect-ratio:4/3!important; }
	.stadium-news .news-card__placeholder { font-size:calc(var(--news-thumb-h) * .2); }
	.stadium-news .news-card a:hover .news-card__image, .stadium-news .news-card a:focus-visible .news-card__image { transform:none; }
	.stadium-news .news-card__date { grid-column:2; grid-row:1; margin:0; }
	/* Accanto alla miniatura la data sta su una riga: la categoria si toglie, ogni home mostra già solo le notizie della sua squadra. */
	.stadium-news .news-card__cat { display:none; }
	/* Le tre righe stanno al centro della sezione; se non entrano (schermi molto bassi) partono dall'alto invece di essere tagliate sopra. */
	.stadium-home main > section#notizie { display:flex; flex-direction:column; justify-content:safe center; }
	.stadium-home .stadium-news .news-card h3 { grid-column:2; grid-row:2; margin:6px 0 0; font-size:18px; -webkit-line-clamp:3; }
	/* Titoli delle notizie scuri sul telefono, come il resto del testo: senza questa regola prendono il blu dei titoli h3 del vecchio tema
	   (css/custom-*.css di dt-presscore). Sul computer sono chiari su navy. "Tutte le news" resta a 14px medio come "Ulteriori informazioni"
	   (i 18px in grassetto arrivavano per caso dalla vecchia lista notizie di style.css, ora tolta). */
 .stadium-home .stadium-news .news-card h3 { color:var(--ink); } 
}

/* Telefono in orizzontale (schermo basso e largo): titolo e "Tutte le news" su una riga, poi le quattro notizie più recenti in due colonne,
   ognuna con miniatura a sinistra e data e titolo a destra, come l'elenco del telefono. display:contents su .news-lead e .news-grid
   mette titolo e notizie nella stessa griglia senza toccare il markup. Selettori forti e posizione dopo i blocchi mobile:
   vince anche sui telefoni piccoli (667 px di larghezza), dove valgono pure le regole sotto i 700 px. */
@media (max-height:500px) and (min-aspect-ratio:4/3) {
	.stadium-home main > section#notizie.stadium-news { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:min-content; column-gap:28px; row-gap:clamp(10px,3.5vh,16px); align-content:center; }
	.stadium-home main > section#notizie.stadium-news .news-lead, .stadium-home main > section#notizie.stadium-news .news-grid { display:contents; }
	.stadium-home main > section#notizie.stadium-news .news-heading { grid-column:1/-1; display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:24px; margin:0; padding-bottom:10px; border-bottom:1px solid var(--ink); }
	.stadium-home main > section#notizie.stadium-news .news-heading h2 { margin:0; font-size:clamp(30px,10vh,46px); line-height:.9; white-space:nowrap; }
	.stadium-home main > section#notizie.stadium-news .news-heading > a { flex:none; width:max-content; margin:0; }
	.stadium-home main > section#notizie.stadium-news .news-grid > .news-card:nth-child(n+4) { display:none; }
	.stadium-home main > section#notizie.stadium-news .news-card { display:block; grid-column:auto; min-width:0; }
	.stadium-home main > section#notizie.stadium-news .news-card > a { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:14px; align-items:start; }
	.stadium-home main > section#notizie.stadium-news .news-card__media { display:contents; }
	.stadium-home main > section#notizie.stadium-news .news-card > a .news-card__image, .stadium-home main > section#notizie.stadium-news .news-card > a .news-card__placeholder { position:static; grid-column:1; grid-row:1 / span 2; width:auto!important; height:clamp(56px,20vh,92px)!important; aspect-ratio:4/3!important; }
	.stadium-home main > section#notizie.stadium-news .news-card__placeholder { font-size:clamp(11px,4vh,18px); }
	.stadium-home main > section#notizie.stadium-news .news-card__date { position:static; grid-column:2; grid-row:1; margin:0; padding:0; background:none; }
	.stadium-home main > section#notizie.stadium-news .news-card__cat { display:none; }
	.stadium-home main > section#notizie.stadium-news .news-card h3 { grid-column:2; grid-row:2; max-width:none; min-height:0; margin:4px 0 0; padding:0; border:0; background:none; color:var(--ink); font-size:16px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
}
/* "Tutte le news" è un pulsante pieno navy con la freccia gialla, non più un link sottolineato. */
.stadium-home .news-heading > a { padding:12px 18px; border-bottom:0; background:var(--navy); color:var(--paper); }
.stadium-home .news-heading > a span { color:var(--yellow); }

/* Mobile: "Serie B" stays fixed above the slides; each slide centers its content vertically. */
@media (max-width:700px) {
	.stadium-home main > section#calendario .fixtures-head-fixed { flex:0 0 auto; margin:0 0 12px; padding:0 0 12px; }
	.stadium-home main > section#calendario .fixtures-head-fixed h2 { margin:0; }
	/* Mobile: the title and its arrow form one link; the text of the link is kept for screen readers but not shown. */
	.stadium-home main > section#calendario .fixtures-head-fixed { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; }
	.stadium-home main > section#calendario .fixtures-head-fixed > a { position:static; align-items:center; gap:0; padding:0; border:0; min-height:0; font-size:0; }
	.stadium-home main > section#calendario .fixtures-head-fixed > a > span { font-size:22px; color:var(--blue); line-height:1; }
	.stadium-home main > section#calendario .fixtures-head-fixed > a::after { content:""; position:absolute; inset:0; }
	.stadium-home main > section#calendario .fixtures-head-fixed:focus-within { outline:3px solid var(--blue); outline-offset:4px; }
	.stadium-home main > section#calendario .fixtures-head-fixed > a:focus { outline:none; }
	/* Mobile: no rule under the fixed title; smaller standings text so the table fits the slide. */
	.stadium-home main > section#calendario .fixtures-head-fixed { border-bottom:0; }
	/* Mobile: the source line under the standings is smaller. */
	.stadium-home main > section#calendario .standings-panel .standings-panel__status { font-size:11px; }
}

/* The seventh fixture shows only on mobile. */
.fixture-row:nth-child(n+7) { display:none; }

/* Mobile: the fixtures and the standings fill the same height; the source line sits in the bottom padding. */
@media (max-width:700px) {
	.stadium-home main > section#calendario .fixtures-layout .fixtures-column,
	.stadium-home main > section#calendario .fixtures-layout .standings-panel { justify-content:flex-start; position:relative; }
	.stadium-home main > section#calendario .fixture-list { flex:1 1 auto; min-height:0; margin:0; }
	.stadium-home main > section#calendario .fixture-row { flex:1 1 0; min-height:0; }
	/* Cinque partite come su desktop: le righe si dividono l'altezza dello schermo, e con sette restavano schiacciate contro le linee. */
	.stadium-home main > section#calendario .fixture-row:nth-child(n+6) { display:none; }
	.stadium-home main > section#calendario .standings-panel .standings-panel__status { left:0; right:0; bottom:0; }
}
/* Telefoni bassi (es. iPhone SE, 667 px): quattro partite, così ogni riga resta ariosa. */
@media (max-width:700px) and (max-height:720px) {
	.stadium-home main > section#calendario .fixture-row:nth-child(n+5) { display:none; }
}

/* The button under the calendar shows only on mobile. */
.fixtures-more { display:none; }
@media (max-width:700px) {
	.stadium-home main > section#calendario .fixtures-head-fixed { margin-bottom:0; padding-bottom:0; }
	.stadium-home main > section#calendario .fixtures-head-fixed > a { display:none; }
	.stadium-home main > section#calendario .fixtures-more { display:block; flex:0 0 auto; width:max-content; margin:12px auto 0; padding:8px 12px; color:var(--paper); font:500 14px 'Newsreader',serif; text-decoration:none; border:0; }
	/* Mobile: the standings rows are tighter (spacing only, same type) so all teams fit the height of the fixtures. */
	.stadium-home main > section#calendario .standings-panel .standings-table th,
	.stadium-home main > section#calendario .standings-panel .standings-table td { padding-top:1px; padding-bottom:1px; line-height:1.1; }
	/* Mobile: team names on one line and narrower side padding, so all standings rows fit without scrolling. */
	.stadium-home main > section#calendario .standings-panel .standings-table td:nth-child(2),
	.stadium-home main > section#calendario .standings-panel .standings-table th:nth-child(2) { white-space:nowrap; }
	.stadium-home main > section#calendario .standings-panel .standings-table th,
	.stadium-home main > section#calendario .standings-panel .standings-table td { padding-left:3px; padding-right:3px; }
	/* Mobile: the source line belongs to the standings block, so the standings and the fixtures end at the same line. */
	.stadium-home main > section#calendario .fixtures-layout .fixtures-column,
	.stadium-home main > section#calendario .fixtures-layout .standings-panel { padding-bottom:0; }
	.stadium-home main > section#calendario .standings-panel .standings-panel__status { position:static; margin:6px 0 0; padding:0; }
	.stadium-home main > section#calendario .standings-panel .standings-table-wrap { flex:1 1 0; min-height:0; }
	/* Mobile: the table takes the space left by the "one match less" note, so nothing scrolls. */
	.stadium-home main > section#calendario .standings-panel .standings-table-wrap { display:flex; flex-direction:column; }
	.stadium-home main > section#calendario .standings-panel .standings-table { flex:1 1 0; min-height:0; height:auto; }
	/* Mobile: larger fixed title with less space above it; the button sits higher, above the bottom edge. */
	.stadium-home main > section#calendario .fixtures-head-fixed { padding-top:6px; }
	.stadium-home main > section#calendario .fixtures-head-fixed h2 { font-size:clamp(64px,19vw,80px); line-height:.95; }
	.stadium-home main > section#calendario { padding-bottom:64px; }
	.stadium-home main > section#calendario .fixtures-more { margin-top:8px; }
	/* Mobile: the fixed title and the button use the club navy blue. */
	.stadium-home main > section#calendario .fixtures-head-fixed h2 { color:var(--blue)!important; }
	.stadium-home main > section#calendario .fixtures-more { background:var(--blue); }
	/* Mobile: the yellow time highlight is thinner (regular weight, tighter box). */
	.stadium-home main > section#calendario .fixture-row:has(.fixture-row__venue--home) .fixture-row__time { font-weight:400; line-height:1.3; }
	/* Mobile: the "Tutte le news" button has the same shape as "Ulteriori informazioni"; colors unchanged. */
	.stadium-home main .news-heading > a { font:500 14px 'Newsreader',serif; padding:8px 12px; }
	/* Mobile: the links of the sections below the calendar take the same shape as the buttons; colors unchanged.
	   Solo nelle due home: le pagine interne (.stadium-page) hanno anche loro .stadium-home, ma lì .text-link resta il link sottolineato come su desktop. */
	.stadium-home:not(.stadium-page) main .text-link,
	.stadium-home main .stadium-team-photo__identity a,
	.stadium-home main .stadium-women__link,
	.stadium-home main .next-link { display:inline-flex; width:max-content; padding:8px 12px; font:500 14px 'Newsreader',serif; }
	/* Mobile: the section links become buttons in the order yellow/blue text, navy/yellow text, blue/white text, yellow/blue text. */
	.stadium-home:not(.stadium-page) main .text-link,
	.stadium-home main .next-link { background:var(--yellow); color:var(--blue); border:0; }
	.stadium-home main .stadium-team-photo__identity a { background:var(--navy); color:var(--yellow); border:0; }
	.stadium-home main .stadium-women__link { background:var(--blue); color:#fff; border:0; }
	.stadium-home:not(.stadium-page) main .text-link span, .stadium-home main .next-link b, .stadium-home main .stadium-team-photo__identity a span, .stadium-home main .stadium-women__link span { color:inherit; }
	/* Mobile: the gap between each body text and its button is 12px. */
	.stadium-home main .stadium-club__text .text-link,
	.stadium-home main .stadium-team-photo__identity a,
	.stadium-home main .stadium-women__link,
	.stadium-home main .next-match-details + .next-link { margin-top:12px!important; }
}

/* "Il pala ti aspetta": the whole date line is highlighted, the home team (Stadium) is yellow on its own line, the venue is blue on yellow. */
.stadium-home .next-match-details__date { background:var(--yellow); color:var(--blue); }
.stadium-home .next-match-details__home { color:var(--yellow); font:inherit; }
.stadium-home .next-match-details__venue mark { background:var(--yellow); color:var(--blue); }
.stadium-home .next-match-details__date { font-size:12px; }
/* "Il pala ti aspetta": the date and the venue highlights share the same padding and text size. */
.stadium-home .next-match-details__venue mark { font-size:12px; }
/* "Il pala ti aspetta": the four lines are equally spaced and the home team is always bold. */
.stadium-home .next-match-details { gap:10px; }
.stadium-home .next-match-details > span, .stadium-home .next-match-details > strong { display:block; line-height:1.3; }
.stadium-home .next-match-details__date, .stadium-home .next-match-details__venue mark { display:inline-block; line-height:1.3; }
.stadium-home .next-match-details__home { font-weight:700; }
.stadium-home .next-match-details > span:last-child { margin-top:2px; }

/* Mobile: with five social links, WhatsApp and YouTube share the last row. */
@media (max-width:700px) {
	.stadium-home .stadium-socials__links:has(> a:nth-child(5)) a:nth-child(4) { grid-column:1; grid-row:3; }
	.stadium-home .stadium-socials__links:has(> a:nth-child(5)) a:nth-child(5) { grid-column:2; grid-row:3; }
}

/* Desktop: one title for the calendar section ("Serie B" / "Serie C"); the standings panel heading is hidden. */
@media (min-width:701px) {
	.stadium-home main > section#calendario .standings-panel h2 { display:none; }
	/* Desktop calendar: the standings panel starts on the same line as the fixture list (not the section title). */
	.stadium-home main > section#calendario .fixtures-layout { grid-template-rows:auto minmax(0,1fr); }
	.stadium-home main > section#calendario .fixtures-layout .fixtures-column { display:contents; }
	.stadium-home main > section#calendario .fixtures-layout .section-head { grid-column:1; grid-row:1; }
	.stadium-home main > section#calendario .fixtures-layout .fixture-list { grid-column:1; grid-row:2; }
	.stadium-home main > section#calendario .fixtures-layout .standings-panel { grid-column:2; grid-row:2; }
	/* Desktop calendar: the standings header text starts on the same line as the first fixture's date. */
	.stadium-home main > section#calendario .standings-panel .standings-table-wrap { flex:1 1 auto; }
	/* Desktop calendar: the standings block and the fixture list start and end on the same lines. */
	.stadium-home main > section#calendario .standings-panel .standings-table { margin-top:0; }
}

/* Barra di scorrimento della home. Con JavaScript la sostituisce la barra dinamica del sito (scrollbar.js / scrollbar.css, classe .has-stadium-scrollbar su <html>),
   quindi quella nativa si nasconde. Senza JavaScript resta la nativa con i colori della pagina: binario carta con filetto, cursore blu che diventa navy al passaggio. */
@media (hover:hover) and (pointer:fine) {
	body.home .stadium-home::-webkit-scrollbar { display:block; width:12px; background:var(--paper); }
	body.home .stadium-home::-webkit-scrollbar-track { background:var(--paper); box-shadow:inset 1px 0 0 var(--rule); }
	body.home .stadium-home::-webkit-scrollbar-thumb { min-height:56px; background-color:var(--blue); background-clip:padding-box; border:3px solid transparent; border-left-width:4px; border-radius:0; }
	body.home .stadium-home::-webkit-scrollbar-thumb:hover, body.home .stadium-home::-webkit-scrollbar-thumb:active { background-color:var(--navy); border-width:2px 2px 2px 3px; }
	body.home .stadium-home::-webkit-scrollbar-button, body.home .stadium-home::-webkit-scrollbar-corner { display:none; }
	@supports (-moz-appearance:none) {
		body.home .stadium-home { scrollbar-width:thin; scrollbar-color:var(--blue) var(--paper); }
	}
}
.has-stadium-scrollbar body.home .stadium-home { scrollbar-width:none; }
.has-stadium-scrollbar body.home .stadium-home::-webkit-scrollbar { display:none; }

/* Riquadri gialli di evidenza: Newsreader lascia più spazio sotto le lettere che sopra, quindi con padding uguale il testo sembrava alto (misurato: 4-5 px di differenza).
   Il padding sopra cresce quanto cala quello sotto: stessa altezza del riquadro, testo al centro. */
.stadium-fixtures .fixture-row__venue--home { padding:6px 7px 4px; }
.stadium-fixtures .fixture-row:has(.fixture-row__venue--home) .fixture-row__time { padding:6px 7px 4px; }
@media (max-width:700px) {
	.stadium-fixtures .fixture-row__venue--home { padding:7px 7px 3px; }
	.stadium-home main > section#calendario .fixture-row:has(.fixture-row__venue--home) .fixture-row__time { padding:4px 6px 0; }
}
/* "Il pala ti aspetta": il riquadro della data è largo quanto il testo (prima su desktop si allungava fino al bordo della colonna). */
.stadium-home .next-match-details > .next-match-details__date { display:inline-block; justify-self:start; }
.stadium-home .next-match-details__date, .stadium-home .next-match-details__venue mark { padding:4px 8px 0; }

/* Titolo della sezione club su desktop come su mobile: titolo blu e la parola in evidenza gialla dentro un riquadro blu.
   Il giallo sul fondo crema aveva contrasto 1,4:1 (illeggibile su schermi deboli o al sole); giallo su blu è circa 7:1.
   Vale per la home maschile ("Una storia gialloblù.") e per quella femminile ("Le atlete di Stadium."). Interlinea più ampia per staccare il riquadro dalla riga sopra. */
@media (min-width:701px) {
	.stadium-home main > section#club h2 { line-height:1.2; color:var(--blue)!important; }
	.stadium-home main > section#club h2 em { background:var(--blue); padding:.14em .11em .03em; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
	/* Hero (prima sezione della home): il titolo "Qui si tifa Stadium" e il riquadro della prossima partita non si sovrappongono mai.
	   Prima il titolo aveva una posizione fissa (su mobile a 440px dall'alto) e una misura legata solo all'altezza, e il riquadro era ancorato
	   sopra a tutto in fondo: su schermi bassi si coprivano e su laptop bassi il titolo finiva sotto la barra. */
	/* Tablet e desktop: griglia a due colonne. Il titolo occupa la colonna sinistra, il riquadro la cella in basso a destra.
	   Misura del titolo = la più piccola tra: 25% dell'altezza, l'altezza disponibile tra barra e fondo (3 righe + link),
	   la larghezza rimasta accanto al riquadro ("STADIUM" è largo circa 3,2 volte la misura), 202px. */
	.stadium-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:minmax(0,1fr) auto; align-items:center; padding:calc(var(--stadium-nav-height) + 16px) clamp(24px,6vw,92px) 31px 0; }
	.stadium-hero__content { grid-column:1; grid-row:1 / span 2; align-self:center; margin:0; padding-right:24px; }
	.stadium-hero__match { position:static; grid-column:2; grid-row:2; align-self:end; justify-self:end; max-width:min(460px,36vw); }
	.stadium-home .stadium-hero h1 { font-size:clamp(48px, min(calc(var(--stadium-viewport-height,100dvh) * .25), calc((var(--stadium-viewport-height,100dvh) - var(--stadium-nav-height) - 102px) / 3.08), calc((100vw - var(--stadium-gutter) - min(460px,36vw) - clamp(24px,6vw,92px) - 32px) / 3.3)), 202px); }
	/* Senza partita in programma il riquadro non c'è: il titolo ha tutta la larghezza. */
	.stadium-hero:not(:has(.stadium-hero__match)) h1 { font-size:clamp(48px, min(calc(var(--stadium-viewport-height,100dvh) * .25), calc((var(--stadium-viewport-height,100dvh) - var(--stadium-nav-height) - 102px) / 3.08), calc((100vw - 2 * var(--stadium-gutter)) / 3.3)), 202px); }
}
/* Mobile: titolo e riquadro impilati in fondo allo schermo, con uno spazio tra i due. Il titolo scala con larghezza e altezza;
   se il testo è più grande del solito (impostazioni di accessibilità) la sezione si allunga invece di tagliarlo. */
@media (max-width:700px) {
	.stadium-hero { height:auto; justify-content:flex-end; padding:calc(var(--stadium-nav-height) + 12px) 0 clamp(14px,3dvh,24px); }
	.stadium-hero__content { margin:0; }
	.stadium-home .stadium-hero h1 { font-size:clamp(40px, min(21vw, calc(var(--stadium-viewport-height,100dvh) * .1)), 84px); }
	.stadium-hero__match { position:static; margin:clamp(12px,2.2dvh,20px) 22px 0; }
}
