/* Revisione del 26 ottobre: proporzioni, navigazione e contenuti. */
.site-header { background:#fff; }
.brand, .home-page .brand { gap:0; flex-shrink:0; }
.brand img, .home-page .brand img { display:block; width:128px; height:128px; max-width:none; object-fit:contain; aspect-ratio:1; flex-shrink:0; border-radius:0; clip-path:none; }
.header-inner, .home-page .header-inner { min-height:144px; padding-block:8px; }
.footer-identity img { object-fit:contain; aspect-ratio:1; flex-shrink:0; border-radius:0; clip-path:none; }
.home-page .hero::before { background-image:none; }
.home-page .hero-art-space { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; padding:35px; }
.home-page .hero-art-space img { display:block; width:min(100%,420px); max-width:100%; height:auto; object-fit:contain; border-radius:0; }
.home-page .hero-art-space p { color:#d2e5bc; font-size:clamp(22px,3vw,38px); text-align:center; font-weight:700; }
.leadership-photo { display:block; width:100%; height:auto; object-fit:contain; margin-bottom:20px; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.gallery-grid figure { margin:0; min-width:0; }
.gallery-grid img { display:block; width:100%; height:320px; object-fit:contain; background:#edf1e9; }
.gallery-grid figcaption { padding:16px 0; font-weight:650; }
main .article-index, main .roster-intro { background-image:linear-gradient(90deg,#002b2066,#00392115),url('../images/avellino26ers-hero-v2.png'); background-size:cover; }
@media(max-width:800px) {
 .brand img, .home-page .brand img { width:96px; height:96px; }
 .header-inner, .home-page .header-inner { min-height:112px; padding-block:8px; }
 .header-inner { gap:16px; }
 .main-nav, .home-page .main-nav { display:flex; flex-wrap:wrap; overflow:visible; gap:8px 20px; }
 .main-nav a { min-height:44px; display:flex; align-items:center; }
 .home-page .hero-art-space { height:auto; padding:20px 0 40px; }
 .home-page .hero-art-space img { width:min(100%,360px); max-width:100%; }
 .gallery-grid { grid-template-columns:1fr; }
 .gallery-grid img { height:auto; max-height:520px; }
}
/* Revisione completa: identità vettoriale, società e navigazione mobile. */
.home-page .hero { background:#003921 url('../images/avellino26ers-hero-v2.png') center/cover no-repeat; }
.home-page .hero-art-space.hero-brand-composition { gap:14px; padding:38px 20px; }
.hero-brand-words { display:flex; flex-direction:column; align-items:flex-start; width:100%; max-width:360px; }
.hero-more,.hero-team { display:block; font-family:'Segoe UI',Arial,sans-serif; font-size:clamp(60px,6vw,88px); font-weight:300; line-height:1.04; letter-spacing:.035em; color:#b5da7e; }
.hero-more { color:transparent; -webkit-text-stroke:1.5px #9cc94c; }
.hero-than { margin:14px 0; color:#fff; font-size:21px; letter-spacing:.38em; }
.home-page .hero-art-space .hero-mission { margin:6px 0; font-size:16px; font-weight:400; letter-spacing:.25em; color:#fff; }
.hero-mission span { color:#badb87; font-size:12px; letter-spacing:.1em; }
.home-page .hero-art-space img.hero-official-mark { width:160px; height:160px; object-fit:contain; opacity:.85; }
.society-layout { grid-template-columns:1fr; gap:38px; }
.society-intro { max-width:780px; }
.society-intro h2 br { display:none; }
.leadership { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; border:0; }
.leadership article { min-width:0; padding:0 0 24px; border:1px solid #dce4d8; background:white; }
.leadership article>span,.leadership article>h3,.leadership article>p,.leadership article>blockquote { margin-left:22px; margin-right:22px; }
.leadership article>span { display:block; margin-top:22px; }
.leadership-photo { margin:0; width:100%; aspect-ratio:4/5; height:auto; object-fit:contain; background:#003921; }
.leadership h3 { font-size:25px; }
.leadership p { font-size:14px; line-height:1.75; }
.leadership blockquote { margin-top:18px; margin-bottom:0; padding-left:14px; border-left:3px solid #8cbd65; color:#325342; font-size:13px; line-height:1.7; }
.manager-photo { position:relative; width:100%; aspect-ratio:4/5; overflow:hidden; background:#003921; }
.manager-photo img { position:absolute; display:block; max-width:none; height:auto; }
.manager-photo-nello img { width:110%; left:-8.5%; top:0; }
.manager-photo-dario img { width:153%; left:-19.5%; top:-25.3%; }
.roster-profile-link { display:inline-block; margin-top:22px; font-size:13px; font-weight:700; color:#034832; }
.roster-profile-link:focus-visible { outline:3px solid #8cbd65; outline-offset:4px; }
.gallery-social { padding:0 0 60px; }
.gallery-social h2 { font-size:28px; color:#034832; }
.gallery-social p { color:#637168; line-height:1.7; }
.gallery-social a { display:inline-block; padding:12px 20px; margin:10px 12px 0 0; border:1px solid #08714d; color:#08714d; }
@media(max-width:1000px) { .leadership { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .header-inner,.home-page .header-inner { grid-template-columns:1fr auto; } .main-nav,.home-page .main-nav { grid-column:1/-1; width:100%; display:flex; flex-wrap:wrap; justify-content:center; gap:4px 18px; } .main-nav a { padding-block:8px; min-height:44px; } .home-page .hero-art-space.hero-brand-composition { padding:20px 0 42px; } .hero-brand-words { align-items:center; } }
@media(max-width:560px) { .brand img,.home-page .brand img { width:88px; height:88px; } .header-inner,.home-page .header-inner { min-height:100px; } .header-button { display:inline-flex; min-height:42px; padding-inline:15px; } .main-nav,.home-page .main-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 8px; padding:6px 0; } .main-nav a { justify-content:center; text-align:center; font-size:11px; } .leadership { grid-template-columns:1fr; } .hero-more,.hero-team { font-size:70px; } .home-page .hero-art-space .hero-mission { font-size:14px; letter-spacing:.18em; } }
.manager-photo-dario img { top:-19.2%; }
/* Calendario: schede leggibili senza scorrimento laterale sui piccoli schermi. */
.calendar-leg summary { flex-wrap:wrap; }
.calendar-leg summary span { line-height:1.5; }
@media(max-width:760px) {
 .calendar-scroll { overflow:visible; }
 .club-calendar { display:block; min-width:0; width:100%; }
 .club-calendar caption { display:block; padding:14px 16px; }
 .club-calendar thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 .club-calendar tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:0 14px 14px; }
 .club-calendar tr { display:flex; flex-direction:column; min-width:0; border:1px solid #d8e3d3; border-top:3px solid #08714d; background:#fff; }
 .club-calendar td,.club-calendar td:first-child,.club-calendar td:nth-child(2),.club-calendar td:nth-child(3) { display:block; width:auto; min-width:0; padding:12px 14px; border-bottom:1px solid #e8ede4; white-space:normal; overflow-wrap:anywhere; }
 .club-calendar td:first-child { padding-block:9px; background:#edf3e8; font-size:11px; letter-spacing:.06em; }
 .club-calendar td:first-child::before { content:attr(data-label) ' '; }
 .club-calendar td:nth-child(2) { color:#034832; font-size:15px; font-weight:700; }
 .club-calendar td:nth-child(2) br { display:none; }
 .club-calendar td:nth-child(2) span { margin-left:10px; font-size:13px; }
 .club-calendar td:nth-child(3) { flex:1; }
 .club-calendar td:last-child { margin-top:auto; color:#637168; font-size:12px; line-height:1.65; border:0; }
 .club-calendar td:last-child::before { content:'Campo'; display:block; margin-bottom:4px; color:#08714d; font-weight:650; font-size:10px; text-transform:uppercase; }
 .calendar-leg summary span { width:100%; order:3; margin:0; font-size:11px; }
 .calendar-team { gap:8px; }
 .calendar-team img { flex-basis:34px; width:34px; height:34px; }
 .club-calendar .calendar-vs { padding-left:42px; }
 .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .gallery-grid img { height:260px; }
}
@media(max-width:480px) {
 .club-calendar tbody { grid-template-columns:1fr; }
 .gallery-grid { grid-template-columns:1fr; }
 .gallery-grid img { height:auto; }
 .hero-brand-composition { min-width:0; }
 .hero-brand-words { max-width:100%; }
 .sponsor-site-link,.partner-logo { min-width:0; max-width:100%; }
}
@media(hover:none) { a,button,summary { -webkit-tap-highlight-color:#08714d22; } .partner-card:hover,.roster-player:hover { transform:none; } }
/* Scritte originali del post: nessun font sostitutivo. Il logo resta SVG. */
.home-page .hero-art-space.hero-brand-composition { gap:4px; padding:24px 12px 32px; }
.hero-original-lettering { position:relative; width:100%; max-width:470px; aspect-ratio:1080/760; overflow:hidden; -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 93%,transparent); mask-image:linear-gradient(to right,transparent,#000 6%,#000 93%,transparent); }
.home-page .hero-art-space .hero-original-lettering img { display:block; width:100%; max-width:none; height:auto; margin:0; border-radius:0; }
.home-page .hero-art-space img.hero-official-mark { width:148px; height:148px; margin-top:8px; }
@media(max-width:560px) { .home-page .hero-art-space.hero-brand-composition { padding:8px 0 34px; } .hero-original-lettering { max-width:390px; } }
/* Lettere trasparenti, nessun riquadro o contatore; logo soltanto in filigrana. */
.home-page .hero-art-space.hero-brand-composition { position:relative; isolation:isolate; justify-content:center; min-height:520px; }
.hero-original-lettering { position:relative; z-index:1; aspect-ratio:auto; overflow:visible; max-width:510px; -webkit-mask-image:none; mask-image:none; }
.home-page .hero-art-space .hero-original-lettering img { width:100%; height:auto; }
.hero-brand-composition::before { content:''; position:absolute; z-index:0; width:240px; height:240px; right:12px; bottom:12px; background:url('../images/logo-contorno-regolare.svg') center/contain no-repeat; opacity:.09; pointer-events:none; }
@media(max-width:800px) { .home-page .hero-art-space.hero-brand-composition { min-height:360px; height:auto; padding:12px 0 54px; } .hero-brand-composition::before { width:180px; height:180px; bottom:10px; right:8px; } }
/* Main sponsor: gerarchia compatta e loghi protagonisti. */
.home-page .main-sponsors { padding-block:56px; }
.home-page .main-sponsors .partner-layout { grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr); gap:64px; }
.home-page .main-sponsors .partner-copy h2 { margin:14px 0 18px; font-size:clamp(32px,3.2vw,44px); line-height:1.12; letter-spacing:-.035em; }
.home-page .main-sponsors .partner-copy > p:last-child { max-width:390px; font-size:14px; line-height:1.8; }
.home-page .main-sponsors-partners { gap:0; align-items:center; }
.home-page .main-sponsors-partners .partner-card { min-height:190px; padding:16px 28px; }
.home-page .main-sponsors-partners .partner-card + .partner-card { border-left:1px solid #e4eae6; }
.home-page .main-sponsors-partners .partner-logo { display:grid; place-items:center; min-height:158px; padding:0; }
.home-page .main-sponsors-partners .partner-logo a { display:grid; place-items:center; width:100%; min-height:158px; }
.home-page .main-sponsors-partners .partner-logo img { display:block; width:100%; max-width:300px; height:146px; object-fit:contain; }
.home-page .main-sponsors-partners .partner-logo a:focus-visible { outline:2px solid #08714d; outline-offset:8px; }
@media(max-width:980px) {
 .home-page .main-sponsors .partner-layout { grid-template-columns:1fr; gap:28px; }
 .home-page .main-sponsors .partner-copy > p:last-child { max-width:600px; }
}
@media(max-width:560px) {
 .home-page .main-sponsors { padding-block:36px; }
 .home-page .main-sponsors-partners { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-page .main-sponsors-partners .partner-card { min-height:134px; padding:12px; }
 .home-page .main-sponsors-partners .partner-logo,.home-page .main-sponsors-partners .partner-logo a { min-height:110px; }
 .home-page .main-sponsors-partners .partner-logo img { height:104px; }
}
/* Ritratti ingranditi dalle fotografie originali dei dirigenti. */
.leadership-portrait { position:relative; width:100%; aspect-ratio:4/5; overflow:hidden; background:#003921; }
.leadership-portrait .leadership-photo { position:absolute; width:180%; max-width:none; height:auto; aspect-ratio:auto; left:-80%; top:-55%; }
.home-page .main-sponsors-partners .partner-card + .partner-card { border:0; }
.home-page .main-sponsors-partners img[src*="gennaro"] { clip-path:inset(.6% .4% .9% .4%); }
.sponsors-page .main-sponsor-tile { border:0; box-shadow:none; }
.sponsors-page .main-sponsor-logo img[src*="gennaro"] { clip-path:inset(.6% .4% .9% .4%); }
.home-page .main-sponsors-partners img[src*="gennaro"] { height:auto; max-height:146px; clip-path:inset(.6% .4% .9% .4%); }
@media(max-width:560px) { .home-page .main-sponsors-partners img[src*="gennaro"] { max-height:104px; } }



/* Anteprima fotografica della gallery in home. */
.home-gallery { background:#f5f6f1; }
.home-gallery-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:32px; }
.home-gallery-heading .section-label { margin:0 0 12px; }
.home-gallery-heading h2 { margin:0; color:#034832; font-size:clamp(32px,4vw,48px); letter-spacing:-.035em; }
.home-gallery-heading > a { flex-shrink:0; color:#08714d; font-size:13px; font-weight:700; padding-block:10px; }
.home-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.home-gallery-grid figure { margin:0; min-width:0; }
.home-gallery-grid figure > a { display:block; background:#e6ede5; overflow:hidden; }
.home-gallery-grid img { display:block; width:100%; height:290px; object-fit:contain; }
.home-gallery-grid figcaption { padding-top:16px; font-size:16px; font-weight:600; color:#034832; line-height:1.5; }
.home-gallery-grid a:focus-visible { outline:3px solid #08714d; outline-offset:4px; }
@media(max-width:800px) { .home-gallery-grid { gap:16px; } .home-gallery-grid img { height:220px; } }
@media(max-width:560px) { .home-gallery-heading { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:24px; } .home-gallery-grid { grid-template-columns:1fr; gap:28px; } .home-gallery-grid img { height:auto; max-height:400px; } }
/* Footer: identità, navigazione e social con gerarchie leggibili. */
.site-footer .footer-main { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto; align-items:start; gap:48px; min-height:0; padding-block:48px; }
.site-footer .footer-identity { gap:20px; }
.site-footer .footer-identity img { width:88px; height:88px; }
.site-footer .footer-identity strong { display:block; font-size:21px; line-height:1.35; }
.site-footer .footer-identity p { max-width:245px; font-size:13px; line-height:1.7; color:#c1d3cb; }
.site-footer .footer-main > nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); justify-content:start; gap:4px 30px; max-width:none; }
.site-footer .footer-main nav a { display:flex; align-items:center; min-height:32px; font-size:13px; color:#e0eae5; }
.site-footer .footer-main nav a:hover { color:#b8dc9b; }
.site-footer .footer-social > span { font-size:11px; margin:0 0 14px; }
.site-footer .footer-social .social-links a { width:42px; height:42px; }
.site-footer .instagram-handle { display:block; margin-top:12px; color:#c1d3cb; font-size:12px; }
.site-footer .footer-bottom { min-height:64px; color:#bdcfc5; font-size:11px; letter-spacing:.04em; }
.footer-legal { display:flex; gap:24px; margin-left:auto; margin-right:28px; text-transform:none; letter-spacing:0; font-size:12px; }
.site-footer a:focus-visible { outline:2px solid #b8dc9b; outline-offset:4px; }
@media(max-width:900px) { .site-footer .footer-main { grid-template-columns:minmax(0,1fr) auto; gap:28px; } .site-footer .footer-main > nav { grid-column:1/-1; grid-row:2; grid-template-columns:repeat(4,minmax(0,1fr)); } .site-footer .footer-social { grid-column:2; grid-row:1; justify-self:end; } }
@media(max-width:560px) { .site-footer .footer-main { grid-template-columns:1fr; padding-block:34px; gap:26px; } .site-footer .footer-identity img { width:72px; height:72px; } .site-footer .footer-identity strong { font-size:18px; } .site-footer .footer-main > nav { grid-column:1; grid-row:auto; grid-template-columns:repeat(2,minmax(0,1fr)); } .site-footer .footer-main nav a { min-height:40px; } .site-footer .footer-social { grid-column:1; grid-row:auto; justify-self:start; } .site-footer .footer-bottom { padding-block:20px; gap:16px; } .footer-legal { margin:0; } }
.site-footer .footer-legal { border:0; padding:0; }
/* Pulsante news identico in ogni intestazione. */
.site-header .header-button { display:inline-flex; min-height:43px; min-width:148px; justify-content:center; align-items:center; padding:0 21px; background:#08714d; color:#fff; font-size:11px; font-weight:700; letter-spacing:.12em; line-height:1.3; text-transform:uppercase; white-space:nowrap; }
.site-header .header-button:hover { background:#034832; }
@media(max-width:560px) { .site-header .header-button { min-width:0; padding-inline:15px; } }
/* Footer essenziale, senza duplicare il menu principale. */
.site-footer .footer-main { grid-template-columns:minmax(0,1fr) auto; align-items:center; padding-block:38px; }
.site-footer .footer-social { grid-column:2; grid-row:1; justify-self:end; }
@media(max-width:560px) { .site-footer .footer-main { grid-template-columns:1fr; gap:24px; padding-block:30px; } .site-footer .footer-social { grid-column:1; grid-row:auto; justify-self:start; } }
.site-footer .footer-policy-pending { color:#bdcfc5; cursor:default; }
/* Tre punti di equilibrio: club, territorio e canali social. */
.site-footer .footer-main { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto; gap:48px; align-items:center; }
.footer-roots { border-left:1px solid #ffffff26; padding-left:32px; }
.footer-roots > span { display:block; color:#b8dc9b; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; margin-bottom:12px; }
.footer-roots strong { color:#fff; font-size:17px; font-weight:600; }
.footer-roots p { margin:8px 0 0; color:#c1d3cb; font-size:12px; line-height:1.6; }
.site-footer .footer-social { grid-column:3; grid-row:1; justify-self:end; }
@media(max-width:900px) { .site-footer .footer-main { gap:28px; } .footer-roots { padding-left:24px; } }
@media(max-width:700px) { .site-footer .footer-main { grid-template-columns:1fr auto; } .footer-roots { grid-column:1; grid-row:2; border:0; padding-left:0; } .site-footer .footer-social { grid-column:2; grid-row:2; } }
@media(max-width:420px) { .site-footer .footer-main { grid-template-columns:1fr; gap:26px; } .footer-roots { grid-column:1; grid-row:auto; } .site-footer .footer-social { grid-column:1; grid-row:auto; justify-self:start; } }
.site-footer .footer-roots { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.site-footer .footer-roots .footer-roots-label { margin:0 0 4px; color:#b8dc9b; font-size:10px; line-height:1.5; font-weight:700; text-transform:uppercase; letter-spacing:.15em; }
.site-footer .footer-roots strong { display:block; line-height:1.4; }
.site-footer .footer-roots p:not(.footer-roots-label) { margin:0; }
@media(max-width:560px) {
 .site-footer .footer-main { grid-template-columns:1fr; gap:20px; padding-block:28px 24px; text-align:center; }
 .site-footer .footer-identity { flex-direction:column; gap:12px; }
 .site-footer .footer-identity img { width:64px; height:64px; }
 .site-footer .footer-identity strong { font-size:17px; }
 .site-footer .footer-identity p { max-width:none; margin-top:6px; font-size:11px; }
 .site-footer .footer-roots { grid-column:1; grid-row:auto; align-items:center; gap:4px; padding:0; border:0; }
 .site-footer .footer-roots strong { font-size:14px; }
 .site-footer .footer-roots p { font-size:11px; }
 .site-footer .footer-social { grid-column:1; grid-row:auto; justify-self:center; }
 .site-footer .footer-social > span { display:none; }
 .site-footer .footer-social .social-links { justify-content:center; }
 .site-footer .instagram-handle { margin-top:8px; font-size:11px; }
 .site-footer .footer-bottom { display:grid; grid-template-columns:1fr; justify-items:center; gap:12px; padding-block:18px; text-align:center; }
 .site-footer .footer-bottom > span { font-size:10px; }
 .site-footer .footer-legal { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 18px; margin:0; }
 .site-footer .footer-legal a,.site-footer .footer-legal button { min-height:40px; display:inline-flex; align-items:center; justify-content:center; margin:0; }
 .site-footer .site-credit { font-size:10px; }
 .home-page .main-sponsors-partners img[src*="gennaro"],
 .sponsors-page .main-sponsor-logo img[src*="gennaro"] { clip-path:inset(.6% .4% .9% .4%); object-fit:contain; object-position:center; }
 .home-page .main-sponsors-partners .partner-logo { overflow:visible; }
}
.home-page .main-sponsors-partners img[src*="gennaro"],
.sponsors-page .main-sponsor-logo img[src*="gennaro"] { height:auto; max-height:none; aspect-ratio:1343/629; clip-path:inset(.8% .6% 1.5% .6%); }
