@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap");
:root{--navy:#0c1930;--blue:#14294a;--yellow:#f5c542;--text:#1a2941;--muted:#728096;--line:#e6eaf0}*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:var(--text);font-family:Inter,Arial,sans-serif;font-size:14px}.cc-section a{text-decoration:none;color:inherit}.cc-section .container{max-width:1180px;margin:auto;padding:0 22px}.cc-section .top{background:#091529;color:#fff}.cc-section .top-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between}.cc-section .sitebrand{font-weight:900;font-size:19px;letter-spacing:.4px}.cc-section .sitebrand small{font-size:10px;color:#a9b8d2;margin-left:13px;letter-spacing:2px}.cc-section .star{color:var(--yellow);font-size:24px}.cc-section .back{font-size:12px;color:#aabbd2}.cc-section .hero{background:radial-gradient(ellipse at 85% 45%,#274e80 0%,transparent 42%),linear-gradient(115deg,#0b1930,#142c4e);color:white;position:relative;overflow:hidden}.cc-section .hero:after{content:"★";position:absolute;right:8%;top:-95px;font-size:430px;color:#ffffff06;transform:rotate(-15deg)}.cc-section .hero-content{position:relative;z-index:1;padding-top:60px;padding-bottom:58px}.cc-section .eyebrow, .cc-section .kicker{color:var(--yellow);font-size:11px;font-weight:800;letter-spacing:2.5px}.cc-section .hero h1{font:900 clamp(65px,10vw,128px)/.95 "Barlow Condensed",sans-serif;letter-spacing:2px;margin:14px 0}.cc-section .hero h1 span{color:var(--yellow)}.cc-section .hero p{font-weight:800;letter-spacing:2px;font-size:14px}.cc-section .dot{color:var(--yellow);margin:0 10px}.cc-section .hero-pill{display:inline-block;margin-top:15px;padding:11px 17px;border:1px solid #647b99;border-radius:4px;color:#d5dfed;font-size:11px;font-weight:800;letter-spacing:1px}.cc-section .hero-pill span{color:var(--yellow);margin:0 8px}.cc-section .nav{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 10px #152a4310}.cc-section .nav-inner{display:flex;gap:34px;overflow:auto}.cc-section .nav a{white-space:nowrap;padding:20px 2px 17px;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.7px;border-bottom:3px solid transparent}.cc-section .nav a.active, .cc-section .nav a:hover{color:#bd8b09;border-color:var(--yellow)}.cc-section .main{padding-top:43px;padding-bottom:65px;min-height:500px}.cc-section .section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.cc-section .section-heading h2{font:800 39px/1.1 "Barlow Condensed";text-transform:uppercase;margin:8px 0}.cc-section .section-heading p{color:var(--muted);line-height:1.6;margin:6px 0}.cc-section .kicker{color:#b48920}.cc-section .columns{display:grid;grid-template-columns:1.55fr 1fr;gap:28px}.cc-section .panel{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 4px 16px #12274607}.cc-section .panel-head{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.cc-section .panel-head h3{margin:0;font:800 24px "Barlow Condensed";text-transform:uppercase}.cc-section .link{color:#ad7c00;font-weight:800;font-size:11px;text-transform:uppercase}.cc-section .day{font-size:11px;letter-spacing:1px;font-weight:900;color:#62718a;background:#f7f9fc;padding:12px 20px;border-bottom:1px solid var(--line)}.cc-section .match{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.cc-section .match:last-child{border-bottom:0}.cc-section .match-time{width:86px;flex-shrink:0;font-size:10px;color:#8794a7;font-weight:800}.cc-section .match-teams{display:flex;align-items:center;gap:9px;flex:1;justify-content:center}.cc-section .match-teams strong{font-size:12px;text-align:center}.cc-section .team-badge{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--team);color:#07182b;font-size:10px;font-weight:900;border:3px solid #edf1f6;flex-shrink:0}.cc-section .versus{font-size:10px;color:#a1acba;font-weight:900}.cc-section .match-score{font-weight:900;font-size:17px;min-width:52px;text-align:right}.cc-section .table-wrap{overflow:auto}.cc-section table{border-collapse:collapse;width:100%;font-size:12px}.cc-section th{background:#f6f8fb;color:#718096;text-transform:uppercase;letter-spacing:.5px;font-size:10px;text-align:left}.cc-section td, .cc-section th{padding:15px 13px;border-bottom:1px solid var(--line)}.cc-section tbody tr:last-child td{border-bottom:0}.cc-section .rank{font-weight:900;color:#9aa6b7}.cc-section .team-cell{display:flex;align-items:center;gap:10px;font-weight:800}.cc-section .team-cell .team-badge{width:30px;height:30px;font-size:8px;border-width:2px}.cc-section .num{text-align:center;font-weight:700}.cc-section .news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.cc-section .news-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.cc-section .news-image{height:145px;background:linear-gradient(135deg,#1b3960,#0c1b33);display:grid;place-items:center;color:#ffffff16;font-size:90px}.cc-section .news-content{padding:21px}.cc-section .news-date{color:#b48a23;font-size:10px;font-weight:900;letter-spacing:1.5px}.cc-section .news-content h3{font:800 24px/1.1 "Barlow Condensed";margin:12px 0}.cc-section .news-content p{color:var(--muted);font-size:12px;line-height:1.7}.cc-section .button{display:inline-block;background:var(--yellow);color:#18253b;border-radius:4px;padding:12px 18px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.7px}.cc-section .actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.cc-section .selector{padding:12px 18px;border:1px solid #dce2eb;border-radius:5px;background:#fff;font-weight:800;color:#263b59;cursor:pointer}.cc-section .selector.active{background:#142b4d;color:white;border-color:#142b4d}.cc-section .roster-group{margin:22px 0}.cc-section .roster-group h3{font:800 24px "Barlow Condensed";text-transform:uppercase;padding:0 4px}.cc-section .notice{padding:14px 18px;background:#fff7df;border-left:4px solid var(--yellow);font-size:12px;color:#6f5c29;margin:0 0 24px}.cc-section .statstrip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}.cc-section .stat{background:white;border:1px solid var(--line);border-radius:7px;padding:21px}.cc-section .stat b{font:900 38px "Barlow Condensed";display:block}.cc-section .stat span{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:1px}.cc-section .footer{background:#0c1930;color:#fff;margin-top:40px}.cc-section .foot-inner{display:flex;justify-content:space-between;align-items:center;padding-top:30px;padding-bottom:30px}.cc-section .foot-inner p, .cc-section .foot-inner span{color:#9aacc5;font-size:11px}.cc-section .space{height:30px}@media (max-width:850px){.cc-section .columns, .cc-section .news-grid{grid-template-columns:1fr}.cc-section .hero-content{padding-top:45px;padding-bottom:45px}.cc-section .nav-inner{gap:20px}.cc-section .statstrip{grid-template-columns:repeat(2,1fr)}.cc-section .match{flex-wrap:wrap}.cc-section .match-time{width:100%;text-align:center}.cc-section .match-teams{justify-content:space-between}.cc-section .match-teams strong{font-size:11px}.cc-section .foot-inner{display:block}}@media (max-width:480px){.cc-section .hero h1{font-size:66px}.cc-section .hero p{font-size:11px}.cc-section .sitebrand small{display:none}.cc-section .match-teams{gap:4px}.cc-section .team-badge{width:32px;height:32px;font-size:8px}.cc-section .match-score{width:100%;text-align:center}.cc-section .section-heading h2{font-size:34px}}

/* Integrazione: le regole della sezione non devono sovrascrivere header/footer esistenti. */
body{margin:0}
.cc-section{background:#f4f6f9;color:#1a2941;font-family:Inter,Arial,sans-serif;font-size:14px}
.cc-section *{box-sizing:border-box}
.cc-section a{text-decoration:none}
.cc-section .container{max-width:1180px;margin-left:auto;margin-right:auto}
.cc-header-fallback{background:#101c34;color:white;padding:24px;display:flex;gap:24px;justify-content:space-between}
.cc-header-fallback a{color:white;font-weight:bold}
.cc-header-fallback span{font-size:12px;color:#d1d8e5}
.cc-footer-fallback{background:#101c34;color:white;padding:32px 0}

/* Integrazione con layout HC Asiago: header e footer rimangono fuori da .cc-section */
.cc-section .cc-nav{background:#fff;border-bottom:1px solid #e6eaf0;box-shadow:0 3px 10px #152a4310;display:block}
.cc-section .cc-nav-inner{display:flex;gap:34px;overflow-x:auto}
.cc-section .cc-nav a{white-space:nowrap;padding:20px 2px 17px;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.7px;border-bottom:3px solid transparent;color:#1a2941}
.cc-section .cc-nav a.active,.cc-section .cc-nav a:hover{color:#bd8b09;border-color:#f5c542}
.cc-section .cc-main{padding-top:43px;padding-bottom:65px;min-height:500px}
.cc-section .hero{min-height:0}
.cc-section .container{width:100%}
.cc-section .hero h1{color:#fff}
.cc-section .hero p{color:#fff}
.cc-section .panel-head h3,.cc-section .section-heading h2{color:#1a2941}
@media(max-width:850px){.cc-section .cc-nav-inner{gap:20px}}

/* Loghi ufficiali caricati dalla cartella squadra_logo */
.cc-section .cc-team-logo {width:43px;height:43px;object-fit:contain;flex-shrink:0;display:inline-block;vertical-align:middle;margin-right:8px}
.cc-section .team-cell .cc-team-logo {width:34px;height:34px}
/* Le news riutilizzano classi e impostazione di news.php */
.cc-section .news_row{display:flex;flex-wrap:wrap;align-items:stretch}
.cc-section .news_row .col-lg-4,.cc-section .news_row .col-md-6{display:flex;margin-bottom:35px}
.cc-section .news_post{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}
.cc-section .news_post_image{height:260px;overflow:hidden;position:relative}
.cc-section .news_post_image img{width:100%;height:100%;object-fit:cover;display:block}
.cc-section .news_post_content{flex:1;display:flex;flex-direction:column}
.cc-section .news_post_text{margin-top:auto}
.cc-section .cc-news-outside{margin-top:55px;padding:45px 0 30px;background:#f7f7f7}
.cc-section .cc-news-more{text-align:center;margin:10px 0 20px}
.cc-section .cc-news-more a{color:#a80000;font-weight:800}
.cc-section .cc-empty{padding:15px;background:#fff8dc;color:#333}

/* Menu Continental: voci distanziate, lingue allineate a destra */
.cc-section .cc-nav .cc-nav-inner{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:22px!important;overflow:visible!important}
.cc-section .cc-nav .cc-nav-links{display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:flex-start!important;flex:1 1 auto!important;min-width:0!important;gap:30px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none}
.cc-section .cc-nav .cc-nav-links::-webkit-scrollbar{display:none}
.cc-section .cc-nav .cc-nav-links>a{display:block!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;margin:0!important;padding:20px 2px 17px!important;line-height:1.4!important;white-space:nowrap!important}
.cc-section .cc-nav .cc-language-switch{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;width:auto!important;margin:0!important;padding:0!important;white-space:nowrap!important}
.cc-section .cc-nav .cc-language-switch>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;margin:0!important;padding:9px 10px!important;border:1px solid #dce2eb;border-radius:5px;font-size:12px!important;line-height:1.2!important;letter-spacing:0!important;white-space:nowrap!important}
.cc-section .cc-nav .cc-language-switch>a.selected{background:#142b4d;color:#fff;border-color:#142b4d}
@media(max-width:900px){.cc-section .cc-nav .cc-nav-inner{gap:10px!important}.cc-section .cc-nav .cc-nav-links{gap:20px!important}.cc-section .cc-nav .cc-language-switch{gap:3px!important}.cc-section .cc-nav .cc-language-switch>a{padding:8px 5px!important}}

/* Menu mobile Continental Cup: dropdown a sinistra, lingue a destra */
.cc-section .cc-mobile-menu{display:none}
@media(max-width:767px){
 .cc-section .cc-nav .cc-nav-inner{position:relative;gap:10px!important;overflow:visible!important;padding-top:10px;padding-bottom:10px}
 .cc-section .cc-nav .cc-nav-links{display:none!important}
 .cc-section .cc-mobile-menu{display:block;position:relative;flex:1 1 auto;min-width:0}
 .cc-section .cc-mobile-menu-button{display:flex;align-items:center;gap:9px;width:100%;max-width:230px;padding:10px 12px;background:#142b4d;color:#fff;border:0;border-radius:5px;font-size:12px;font-weight:800;text-transform:uppercase;cursor:pointer;text-align:left}
 .cc-section .cc-mobile-menu-icon{font-size:16px;line-height:1}
 .cc-section .cc-mobile-menu-arrow{margin-left:auto;font-size:15px}
 .cc-section .cc-mobile-menu-list{display:none;position:absolute;z-index:9999;top:calc(100% + 6px);left:0;min-width:205px;max-width:calc(100vw - 40px);background:#fff;border:1px solid #dce2eb;border-radius:6px;box-shadow:0 8px 22px rgba(12,25,48,.2);overflow:hidden}
 .cc-section .cc-mobile-menu-list.cc-open{display:block}
 .cc-section .cc-nav .cc-mobile-menu-list a{display:block!important;padding:13px 16px!important;border:0!important;border-bottom:1px solid #edf0f5!important;font-size:12px!important;font-weight:800;color:#1a2941;white-space:nowrap}
 .cc-section .cc-nav .cc-mobile-menu-list a:last-child{border-bottom:0!important}
 .cc-section .cc-nav .cc-mobile-menu-list a.active{background:#fff5d7;color:#9b7100}
 .cc-section .cc-nav .cc-language-switch{margin-left:auto!important}
}

/* Calendario: desktop casa / orario / trasferta, mobile su tre righe centrate */
.cc-section .cc-db-match{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;padding:16px 20px;border-bottom:1px solid rgba(130,145,165,.18)}
.cc-section .cc-db-home,.cc-section .cc-db-away{flex:1 1 180px;min-width:0;display:flex;align-items:center;gap:8px}
.cc-section .cc-db-away{justify-content:flex-end;text-align:right}
.cc-section .cc-db-result{text-align:center;min-width:90px;flex:0 0 auto}
.cc-section .cc-db-result-value{font-size:20px;font-weight:800}
.cc-section .cc-db-result-status{font-size:11px;opacity:.7}
@media(max-width:767px){
 .cc-section .cc-db-match{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 20px}
 .cc-section .cc-db-home,.cc-section .cc-db-away{flex:0 0 auto;width:100%;min-width:0;justify-content:center;text-align:center}
 .cc-section .cc-db-result{flex:0 0 auto;width:100%;min-width:0;text-align:center;padding-left:0}
 .cc-section .cc-db-result-value,.cc-section .cc-db-result-status{text-align:center}
}

/* Centratura mobile calendario - priorita sulle regole del tema */
@media screen and (max-width:767px){
 .cc-section .panel .match.cc-db-match, .cc-section .match.cc-db-match{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important}
 .cc-section .match.cc-db-match .cc-db-home, .cc-section .match.cc-db-match .cc-db-away{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;text-align:center!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
 .cc-section .match.cc-db-match .cc-db-home strong, .cc-section .match.cc-db-match .cc-db-away strong{text-align:center!important}
 .cc-section .match.cc-db-match .cc-db-result{display:block!important;flex:0 0 auto!important;width:100%!important;text-align:center!important;margin:0!important;padding:0!important}
 .cc-section .match.cc-db-match .cc-db-result *{text-align:center!important}
}
