/* Orlandina Home: Play structure retained, palette adapted to the official logo. */
:root {--p-green:#00538d;--p-green-dark:#032d4e;--p-red:#1392c6;--p-paper:#f4f7fa;--p-card-border:#ccdae4;--p-ink:#08263f;--p-muted:#50657a;--p-line:#d6e1e8;--p-energy-orange:#a8def4;--p-brand-stripe:linear-gradient(105deg,#00538d 0 60%,#1392c6 60% 100%);--match-accent:#69c8ed;--match-accent-ink:#03243b;--match-text:#00538d;--match-tint:#eef7fc;--match-line:#cbdde9;--match-gold:#a8def4}
* {box-sizing:border-box} html{scroll-behavior:smooth;scroll-padding-top:calc(var(--p-header-height,108px) + 20px)} body{margin:0} button,input{font:inherit} button{cursor:pointer} figure,fieldset{margin:0} fieldset{padding:0;border:0;min-width:0} img{max-width:100%} svg{flex-shrink:0} a{color:inherit} button{border-radius:0} dialog:not([open]){display:none!important} dialog::backdrop{background:#02172ccc;backdrop-filter:blur(5px)} body:has(dialog[open]){overflow:hidden}
.o-skip{position:fixed;top:8px;left:8px;z-index:100;padding:12px 20px;background:#fff;color:#00538d;transform:translateY(-180%)}.o-skip:focus{transform:none}
:is(a,button,summary):focus-visible{outline:3px solid #1392c6;outline-offset:4px}
.play-page [id],#contatti{scroll-margin-top:calc(var(--p-header-height,108px) + 18px)}
.p-header,.p-header.is-scrolled{background:#032d4ef5;border-bottom:2px solid #1392c6;gap:30px;min-height:98px;max-height:none}
.p-header .p-header-note{letter-spacing:0;opacity:1}.p-header .p-club-logo,.p-footer-compact .p-club-logo{background:transparent;border-radius:0;padding:0;object-fit:contain}
.p-header .p-wordmark strong{font-size:27px}.p-header .p-wordmark>span{font-size:9px;letter-spacing:.25em}.p-brand{min-width:0}.p-logo-lockup{display:inline-flex;align-items:center;gap:14px}.p-header .p-search-trigger{flex-shrink:0}.p-header-context{padding:0}
[data-slot='sheet-content'].p-drawer{margin:0;background:#032d4e;max-height:100dvh}.p-close{font-size:32px;line-height:1;min-width:44px;min-height:44px}.p-drawer-nav>a[aria-current='location']{background:#064b72;border-left-color:#69c8ed}.p-drawer-nav>a:hover{background:#064b72}
.p-page-home .p-home-hero{min-height:650px;gap:42px;padding-top:140px;padding-bottom:48px;background:#061728;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.p-page-home .p-home-hero::before{background:linear-gradient(100deg,#031529a8,#032d4e87),var(--p-card-art) center/cover no-repeat}
.p-page-home .p-home-hero h1{font-size:clamp(58px,6.35vw,90px);line-height:1.04;letter-spacing:0}.p-page-home .p-home-hero h1 span,.p-page-home .p-home-hero .p-eyebrow{color:#8bd3f1}.p-page-home .p-home-intro{color:#edf7ff;max-width:38ch}.p-page-home .p-home-actions .p-home-secondary{background:#032d4ee8;border:1px solid #8bd3f1}.p-home-actions .p-button{gap:15px}
.p-home-hero-media,.p-home-hero-media[data-photo-panel]{background:#061a2c;border:1px solid #8bd3f160;border-bottom:4px solid #1392c6;transform:rotate(2deg);padding:9px}.p-home-hero-media[data-photo-panel='squadra']{transform:rotate(-2deg)}.p-home-photo-title>span:first-child{color:#9eddf7}.p-home-hero-media>.p-photo{aspect-ratio:3/4;height:auto;object-fit:contain;background:#061a2c}.p-home-hero-media figcaption{color:#e4f3fb}.p-home-hero-teams{gap:20px;max-width:640px}
.p-match-section{background:#071b2b}.o-competition-badge{padding:10px 16px;border:1px solid #82cde769;color:#b9e7f8;font-size:13px;font-weight:700;line-height:1.4}.p-match-graphic{border-color:#72c0e65e;border-bottom-color:#1392c6}.p-match-art{background:linear-gradient(100deg,#03172b66,#032d4e33),var(--p-card-art) center/100% 100% no-repeat}.p-match-section[data-team] .p-match-graphic .p-match-poster-status{background:#69c8ed;color:#03243b}.p-match-section[data-team] .p-match-graphic .p-match-side-label{color:#c7eaff}.p-match-graphic .p-match-poster-top>span{background:#031d30e8}.p-match-graphic .p-match-poster-headline>span,.p-countdown-label>span,.p-countdown-digits>div:last-child strong{color:#a8def4}.p-match-section[data-team] .p-match-graphic .p-match-poster-info,.p-match-section[data-team] .p-match-graphic .p-match-poster-info strong{color:#a8def4}.p-match-section[data-team] .p-match-graphic .p-match-poster-vs{border-color:#79c9ee;background:#032d4ee8}.p-match-poster-team.o-opponent-name{grid-template-columns:minmax(0,1fr);text-align:left}.p-match-poster-team.o-opponent-name>.p-match-side-label,.p-match-poster-team.o-opponent-name>strong{grid-column:1}.p-match-links .o-link-button{color:inherit;width:100%;justify-content:center}.o-link-button{font:700 15px/1.4 PlayText,Arial,sans-serif;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 0;background:none;border:0;color:inherit}.p-match-note{color:#bdd5e5}
.p-sponsors-strip{background:#f4f7fa}.p-sponsor-grid .p-partner-tile{font:inherit;text-align:left;color:#08263f;background:#fff;padding:0;width:100%;display:flex;flex-direction:column;min-width:0}.p-partner-tile-top{background:linear-gradient(105deg,#031f36,#00538d);width:100%;text-align:left}.p-partner-tile-top>span{background:#69c8ed}.p-partner-logo-area{width:calc(100% - 24px);height:130px;min-height:130px!important;flex:1;margin:0 12px!important}.p-sponsors-strip .p-partner-logo-area>.p-brand-logo{width:100%;height:120px;max-width:250px;object-fit:contain}.p-partner-tile-bottom{width:100%;font-size:14px}.p-sponsors-strip .p-caption{color:#52677a}.p-sponsors-swipe-hint{color:#52677a}
.p-home-results-pending a{color:#00538d}.p-home-academy{background:linear-gradient(100deg,#031e36ee,#00538dde 58%,#071728b8),var(--p-card-art) center/cover no-repeat}.p-home-academy-copy .p-eyebrow{color:#b1e5fa}.p-academy-groups li{border-color:#9eddf769;background:#032d4eb8}.p-home-academy-copy .p-button{color:#00538d!important;border:0}.p-home-academy-copy .o-academy-note{font-size:13px;margin-top:18px;color:#d6eafb}.p-home-academy-poster{background:#061a2c;border-color:#93c8e06b;border-bottom-color:#1392c6}.p-home-academy-poster .p-photo{height:auto;aspect-ratio:1;object-fit:contain}.o-image-button{display:block;width:100%;padding:0;border:0;background:transparent}.p-home-academy-poster figcaption{color:#e4f3fb}
.p-news-card .p-demo-label{color:#00538d;background:#edf5fa}.p-news-card .p-category{color:#00699b}.p-page-home .p-news-image{background:#071b2b;aspect-ratio:4/5}.p-page-home .p-news-image>.p-photo{height:100%;object-fit:contain}.p-news-image .p-image-arrow{background:#00538d}.p-news-copy h3{color:#00538d}.p-home-team-card[data-team] .p-category{color:#a8def4}.p-home-team-card[data-team]{background:linear-gradient(100deg,#032d4ecd,#05223cb3),var(--p-card-art) center/cover;border-color:#8bd3f16b;border-left-color:#1392c6}.p-home-team-card[data-team]:hover{background:linear-gradient(100deg,#054273cd,#05223cb3),var(--p-card-art) center/cover}
.p-footer-compact{background:#032d4e;border-top-color:#1392c6}.p-footer-compact .p-footer-demo-note p{color:#e0effb}.p-footer-compact .p-wordmark strong{font-size:25px}.p-footer-nav .o-link-button{font-size:14px}.p-footer-compact a:focus-visible{outline-color:#8bd3f1}
.o-detail{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;padding:0;border:1px solid #82b9d1;border-top:4px solid #1392c6;width:min(820px,calc(100vw - 40px));max-height:calc(100dvh - 40px);background:#f4f7fa;color:#08263f;box-shadow:0 20px 100px #00162666;font:16px/1.65 PlayText,Arial,sans-serif;overflow:hidden}.o-detail[open]{display:flex;flex-direction:column}.o-detail-head{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #ccdae4;background:#fff;flex-shrink:0}.o-detail-head h2{margin:0;font:italic 400 32px/1.2 PlayHeading,Impact,sans-serif;letter-spacing:.01em;color:#00538d;overflow-wrap:break-word}.o-detail-head button{height:44px;min-width:44px;border:1px solid #aec7d7;background:#fff;color:#00538d;font-size:28px}.o-detail-body{padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0}.o-detail-body p{margin:16px 0}.o-detail-body h3{margin:24px 0 10px;font:700 18px/1.4 PlayText,Arial,sans-serif}.o-detail-body a:not(.p-button){color:#00538d;text-decoration:underline;text-underline-offset:3px}.o-detail-body .p-button{margin:8px 8px 8px 0;text-decoration:none;border:0}.o-detail-poster{width:100%;height:auto;display:block;object-fit:contain;max-width:640px;margin:0 auto 24px}.o-detail[id^='partner-'] .o-detail-poster{max-width:300px}.o-modal-eyebrow,.o-source-note{font-size:13px;color:#51687b}.o-info-list{margin:24px 0}.o-info-list>div{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:12px 0;border-bottom:1px solid #ccdae4}.o-info-list dt{font-weight:700}.o-info-list dd{margin:0}.o-source-list{padding-left:20px}.o-source-list a{display:inline-flex;align-items:center;min-height:44px}
[data-slot='sheet-content'].p-search-dialog{margin:0;background:#f4f7fa;color:#00538d;border-top-color:#1392c6}.p-search-heading [data-slot='sheet-title']{font-family:PlayHeading,Impact,sans-serif;color:#00538d}.p-search-close,.p-search-field input{color:#00538d}.p-search-field>div{border-color:#739cb8;border-bottom-color:#00538d}.p-search-description,.p-search-status{color:#50657a}.p-search-results li{border-color:#ccdae4;border-left-color:#1392c6}.p-search-results li a{color:#00538d}.p-search-results li small,.p-search-results li span span{color:#50657a}.p-search-results a:hover{background:#edf5fa}.o-detail :is(button,a):focus-visible,.p-search-dialog :is(button,a):focus-visible{outline:3px solid #1392c6;outline-offset:3px}
@media(min-width:1001px) and (max-height:720px){.p-page-home .p-home-hero{min-height:610px;padding-top:128px;padding-bottom:32px}.p-home-hero-teams{max-width:570px}.p-page-home .p-home-hero h1{font-size:76px}}
@media(min-width:761px) and (max-width:1000px){.p-page-home .p-home-hero{grid-template-columns:1fr;grid-template-areas:'copy' 'photo';padding:140px 40px 40px}.p-home-hero-teams{max-width:700px}.p-header{gap:18px;padding-inline:24px}.p-quick-nav{display:none}.p-header .p-header-context .p-header-note{max-width:160px}}
@media(max-width:760px){.p-header,.p-header.is-scrolled{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;column-gap:14px;row-gap:6px;padding:14px 20px 9px;min-height:104px}.p-header .p-brand{justify-self:center;grid-column:2;grid-row:1}.p-header .p-club-logo{width:43px;height:43px}.p-header .p-wordmark strong{font-size:20px}.p-header .p-wordmark>span{font-size:7px;letter-spacing:.2em}.p-header .p-logo-lockup{gap:8px}.p-quick-nav{display:none}.p-header>.p-header-context{grid-column:1/-1;grid-row:2;justify-content:center;align-items:center;padding:0;min-height:23px}.p-header .p-header-context .p-header-note{font-size:11px;line-height:1.4;text-align:center;max-width:none}.p-menu-trigger{width:44px;min-height:48px}.p-header>.p-search-trigger{grid-column:3;grid-row:1}.p-page-home .p-home-hero{grid-template-columns:1fr;grid-template-areas:'copy' 'photo';gap:24px;padding:134px 20px 26px;min-height:0}.p-page-home .p-home-hero h1{font-size:clamp(54px,15.3vw,76px)}.p-page-home .p-home-hero .p-eyebrow{font-size:12px}.p-page-home .p-home-actions{grid-template-columns:1fr 1fr}.p-page-home .p-home-actions .p-button{font-size:13px;gap:8px}.p-home-hero-teams{max-width:none;gap:12px}.p-home-photo-switch{padding:0;border:0;min-width:0}.p-home-photo-switch button{background:#061a2c;border-bottom-color:#69c8ed}.p-home-photo-switch button[aria-pressed=true]{background:#69c8ed;color:#03243b}.p-home-hero-media[data-photo-panel]{transform:none;padding:0}.p-home-hero-media>.p-photo{aspect-ratio:3/4;object-fit:contain;background:#061a2c}.p-home-hero-media figcaption{padding:4px 12px}.p-match-heading .o-competition-badge{width:fit-content;font-size:12px;padding:7px 10px}.p-match-section .p-match-poster-team.o-opponent-name{display:flex;text-align:center;justify-content:center;align-self:center;min-height:108px}.p-match-section .p-match-graphic .p-match-poster-team strong{font-size:clamp(19px,5vw,25px)}.p-match-section .p-match-graphic .p-match-poster-team>.p-team-logo-frame.is-large{width:60px;height:60px}.p-match-countdown{margin-inline:12px}.p-home-matchday .p-match-poster-info>div+div{padding-left:0}.p-match-links{gap:0!important}.p-match-note{font-size:12px}.p-page-home .p-news-card>a{grid-template-columns:108px minmax(0,1fr)}.p-page-home .p-news-image{aspect-ratio:4/5}.p-page-home .p-news-copy h3{font-size:22px}.p-news-copy>p:last-child{font-size:14px}.p-section-head{flex-wrap:wrap;gap:8px}.p-home-teams .p-home-team-grid{grid-template-columns:minmax(0,1fr)}.p-home-academy-layout{gap:24px}.p-home-academy-poster{transform:none}.p-footer-compact .p-wordmark strong{font-size:23px}.o-detail{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.o-detail-head{padding:12px 16px;gap:12px}.o-detail-head h2{font-size:26px}.o-detail-body{padding:16px}.o-info-list>div{grid-template-columns:1fr;gap:4px}.o-detail-body .p-button{max-width:100%;justify-content:center}.o-source-note{font-size:12px}}
@media(max-width:360px){.p-header,.p-header.is-scrolled{padding-inline:12px;column-gap:8px}.p-header .p-wordmark strong{font-size:18px}.p-header .p-club-logo{width:36px;height:36px}.p-page-home .p-home-hero{padding-inline:16px}.p-page-home .p-home-actions .p-button{font-size:12px;padding:10px 7px}.p-page-home .p-news-card>a{grid-template-columns:88px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Final local QA: use one anchor offset and keep team names aligned. */
html{scroll-padding-top:0}
.p-header,.p-header.is-scrolled{background:#032d4e}
.p-home-matchday .p-match-poster-team.o-opponent-name{display:flex;flex-direction:column;align-items:flex-start;gap:8px;align-self:center;text-align:left;justify-content:center}
.p-home-academy-copy>p.o-academy-note{font-size:13px;line-height:1.6;margin-top:18px;color:#d6eafb}
@media(max-width:760px){.p-home-matchday .p-match-poster-team.o-opponent-name{align-items:center;text-align:center}}
.p-sponsors-designed .p-eyebrow{color:#00538d}

/* Shared navigation: two local pages, with Home sections kept separate. */
.p-drawer-nav>a[aria-current="page"]{background:#064b72;border-left:4px solid #69c8ed;color:#fff}
.o-menu-label{margin:28px 0 10px;color:#b1d8ed;font:700 12px/1.5 PlayText,Arial,sans-serif;letter-spacing:.07em}
.o-menu-sections{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
.o-menu-sections>a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:8px 10px;color:#e6f4fc;border-bottom:1px solid #7cafc733;font:700 14px/1.4 PlayText,Arial,sans-serif;text-decoration:none}
.o-menu-sections>a:hover,.o-menu-sections>a[aria-current="location"]{background:#064b72;color:#fff}
.p-footer-nav>a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px;text-decoration-color:#69c8ed}
