/* Les !important de la première couche priment sur les anciennes surcharges. */
@layer home-refresh, legacy-theme, v3-design, site-fixes;
@layer home-refresh {
body.home-refresh .co-home-hero h1{transition:none!important;height:auto!important;max-height:none!important}
body.home-refresh .co-home-hero{clip-path:none!important}
body.home-refresh .hero-clubline{margin:0 0 16px!important;font-size:.7rem!important;line-height:1.4!important}
body.home-refresh .co-hero-meta{margin:0 0 12px!important;padding:0!important;background:none!important;color:#e7b5c6!important;font-size:.7rem!important;border:0!important}
body.home-refresh .co-hero-summary{margin:14px 0 0!important;font-size:.94rem!important;line-height:1.5!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;max-height:3em!important}
body.home-refresh .co-hero-controls{margin-top:20px!important}
body.home-refresh .club-access-card b{display:block!important;opacity:1!important;transform:none!important;inset:auto!important}
body.home-refresh .co-home-hero{min-height:0!important;height:auto!important;display:flex!important;flex-direction:column;align-items:stretch;padding-top:85px!important;overflow:hidden}
body.home-refresh .co-hero-content{width:min(760px,calc(100% - 64px))!important;margin:32px auto 28px  max(32px,calc((100% - 1400px)/2))!important;min-height:270px;display:flex;flex-direction:column;justify-content:center}
body.home-refresh .hero-clubline{margin:0 0 16px;font-size:.7rem;letter-spacing:.16em}
body.home-refresh .co-hero-meta{margin:0 0 12px;font-size:.7rem}
body.home-refresh .co-home-hero h1{font-size:clamp(1.8rem,3.1vw,3rem)!important;line-height:1.08!important;letter-spacing:.01em;text-shadow:none;max-width:25ch;overflow-wrap:anywhere;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
body.home-refresh .co-hero-summary{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:55ch;margin:14px 0 0;font-size:.94rem;line-height:1.5}
body.home-refresh .co-hero-controls{margin-top:20px;flex-shrink:0}
body.home-refresh .co-hero-media img{transform:none!important;object-fit:scale-down!important;object-position:right center!important;max-width:100%;filter:none!important}
body.home-refresh .co-home-hero:before{background:linear-gradient(90deg,rgba(2,7,18,.96),rgba(2,7,18,.78) 42%,rgba(2,7,18,.12) 85%)!important}
body.home-refresh .hero-noise,body.home-refresh .hero-season{display:none!important}
body.home-refresh .hero-bottom-rail{position:relative!important;inset:auto!important;display:block!important;min-height:0!important;background:#0b1628!important;width:100%!important}
body.home-refresh .hero-match-teaser{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto!important;gap:8px 24px!important;min-height:88px!important;padding:16px max(32px,calc((100% - 1400px)/2))!important;border:0;width:100%!important}
body.home-refresh .hero-rail-index{grid-column:auto!important;align-self:center;color:#dfa8b9;font-size:.66rem}
body.home-refresh .hero-match-date{font-size:.85rem;white-space:normal;align-self:center}
body.home-refresh .hero-match-content{grid-column:2;grid-row:1 / span 2;align-self:center}
body.home-refresh .hero-match-content strong{font-size:1.25rem;line-height:1.15}
body.home-refresh .hero-match-content span{white-space:normal;line-height:1.4}
body.home-refresh .hero-match-teaser>b{grid-column:3;grid-row:1 / span 2;align-self:center}
body.home-refresh .hero-news-rail{display:none!important}
.home-newswire{display:flex;align-items:center;gap:20px;min-height:54px;background:#761431;color:#fff;padding:0 max(24px,calc((100% - 1400px)/2));overflow:hidden}
.home-newswire-label{flex-shrink:0;text-transform:uppercase;font:800 .7rem/1.3 var(--rcc-text);letter-spacing:.12em;border-right:1px solid #ffffff40;padding-right:20px}
.home-newswire-viewport{min-width:0;overflow:hidden;flex:1}
.home-newswire-track{display:flex;width:max-content;align-items:center;animation:home-wire 60s linear infinite}
.home-newswire-group{display:flex;align-items:center;flex-shrink:0}
.home-newswire-track a{display:block;color:#fff;white-space:nowrap;padding:16px 26px;font-size:.83rem;text-decoration:none}
.home-newswire-track a:after{content:'◆';margin-left:45px;color:#e6a6bb;font-size:.5rem}
.home-newswire a:hover{text-decoration:underline}
.home-newswire button{flex-shrink:0;background:none;border:1px solid #ffffff60;color:white;border-radius:50%;width:36px;min-height:36px;padding:0}
.home-newswire:hover .home-newswire-track,.home-newswire:focus-within .home-newswire-track,.home-newswire.is-paused .home-newswire-track{animation-play-state:paused}
.home-newswire:focus-within .home-newswire-track{transform:none;animation:none}
.home-newswire:focus-within .home-newswire-viewport{overflow-x:auto}
@keyframes home-wire{to{transform:translateX(-50%)}}
body.home-refresh .club-access{padding:28px 0!important}
body.home-refresh .club-access-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.home-refresh .club-access-card{position:relative;display:flex!important;flex-direction:column;justify-content:space-between;gap:32px;min-width:0;min-height:150px!important;height:auto!important;aspect-ratio:auto!important;padding:24px!important;background:linear-gradient(125deg,#111c2d,#060b13)!important;border:1px solid #293245!important;border-top:3px solid #761431!important;overflow:hidden;transition:transform .2s,border-color .2s}
body.home-refresh .club-access-card:before,body.home-refresh .club-access-card:after{content:none!important;display:none!important}
body.home-refresh .club-access-card span{position:static!important;transform:none!important;font:700 clamp(1.15rem,1.7vw,1.8rem)/1.1 var(--rcc-display)!important;color:white!important;text-transform:uppercase}
body.home-refresh .club-access-card b{position:static!important;color:#d6a6b6!important;font-size:.7rem!important;letter-spacing:.1em;text-transform:uppercase}
body.home-refresh .club-access-card:hover{transform:translateY(-4px);border-color:#ac3c60!important}
body.home-refresh :is(.club-access-card,.co-hero-story,.home-newswire a,button):focus-visible{outline:3px solid #eaa4bd;outline-offset:4px}
@media(max-width:900px){body.home-refresh .club-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){body.home-refresh .co-home-hero{padding-top:72px!important}body.home-refresh .co-hero-content{width:calc(100% - 40px)!important;margin:24px 20px!important;min-height:255px}body.home-refresh .co-home-hero h1{font-size:clamp(1.65rem,5.8vw,2.25rem)!important;max-width:26ch}body.home-refresh .hero-clubline{font-size:.6rem;margin-bottom:12px}body.home-refresh .co-hero-summary{font-size:.85rem}body.home-refresh .co-hero-media img{object-position:center!important;opacity:.4!important}body.home-refresh .co-hero-media img.is-active{opacity:1!important}body.home-refresh .hero-match-teaser{padding:14px 20px!important;grid-template-columns:76px minmax(0,1fr) 14px!important;gap:6px 12px!important}body.home-refresh .hero-match-content strong{font-size:1.05rem}body.home-refresh .hero-match-date{font-size:.7rem}.home-newswire{gap:10px;padding:0 16px}.home-newswire-label{font-size:.6rem;padding-right:10px}.home-newswire-track a{font-size:.78rem}.home-newswire button{width:32px;min-height:32px}body.home-refresh .club-access-card{min-height:130px!important;padding:18px!important;gap:24px}}
@media(prefers-reduced-motion:reduce){.home-newswire-track{animation:none}.home-newswire-viewport{overflow-x:auto}.home-newswire-group[aria-hidden]{display:none}body.home-refresh .club-access-card{transition:none}}
@media(max-width:720px){body.home-refresh .co-hero-content{min-height:190px!important;margin:12px 20px!important}body.home-refresh .hero-clubline{display:none!important}body.home-refresh .co-hero-controls{margin-top:12px!important}body.home-refresh .co-hero-summary{font-size:.8rem!important;margin-top:10px!important}body.home-refresh .hero-match-content strong{font-size:1.05rem!important;line-height:1.18!important}body.home-refresh .hero-match-content span{display:block!important;font-size:.7rem!important;white-space:normal!important;line-height:1.3!important}}
/* Navigation des catégories : bande de boutons, sans changer le reste de l'accueil. */
body.home-refresh .club-access{padding:5px 0!important}
body.home-refresh .club-access>.page-shell{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.home-refresh .club-access-grid{gap:4px!important}
body.home-refresh .club-access-card{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;height:72px!important;min-height:72px!important;max-height:72px!important;padding:0 clamp(18px,2.2vw,36px)!important;border:1px solid #293244!important;border-left:3px solid #8e1c40!important;border-radius:2px!important;background:repeating-linear-gradient(125deg,transparent 0 8px,#ffffff03 8px 9px),linear-gradient(115deg,#151e2d,#080e19)!important;transition:background .22s,border-color .22s!important}
body.home-refresh .club-access-card span{font-size:clamp(1.15rem,1.8vw,1.65rem)!important;font-style:italic!important;letter-spacing:.025em!important;line-height:1.1!important;overflow-wrap:normal!important}
body.home-refresh .club-access-card b{flex:0 0 28px!important;width:28px!important;font-size:0!important;letter-spacing:0!important;line-height:1!important;color:#e6adc0!important;transition:transform .22s,color .22s!important}
body.home-refresh .club-access-card b::after{content:'↗'!important;display:block!important;font:400 1.55rem/1 sans-serif!important}
body.home-refresh .club-access-card:hover,body.home-refresh .club-access-card:focus-visible{transform:none!important;background:repeating-linear-gradient(125deg,transparent 0 8px,#ffffff04 8px 9px),linear-gradient(115deg,#321729,#111b2b)!important;border-color:#ab3157!important;border-left-color:#d24b78!important}
body.home-refresh .club-access-card:hover b,body.home-refresh .club-access-card:focus-visible b{transform:translate(3px,-2px)!important;color:#fff!important}
body.home-refresh .club-access-card:focus-visible{outline-offset:-4px!important}
@media(max-width:720px){body.home-refresh .club-access-card{height:68px!important;min-height:68px!important;max-height:68px!important;padding:0 14px!important;gap:6px!important}body.home-refresh .club-access-card span{font-size:clamp(.96rem,4vw,1.2rem)!important}body.home-refresh .club-access-card b{flex-basis:22px!important;width:22px!important}}
@media(prefers-reduced-motion:reduce){body.home-refresh .club-access-card,body.home-refresh .club-access-card b{transition:none!important}body.home-refresh .club-access-card:hover b,body.home-refresh .club-access-card:focus-visible b{transform:none!important}}
}
