
/* Cabecera compartida 24 Segundos. Los estilos se limitan al encabezado. */
:root{--hgreen:#006b43;--hdeep:#083a2b}
*{box-sizing:border-box}
body{margin:0}
.s24-header-area{font-family:Arial,Helvetica,sans-serif;position:relative;z-index:100;color:#fff}
.s24-header-area a{text-decoration:none}
.s24-header-area .ticker{background:#052e24;color:#fff;height:51px;display:flex;align-items:center;gap:16px;padding:6px max(24px,calc((100vw - 1800px)/2));overflow:hidden;white-space:nowrap;font-size:12px;font-weight:750;letter-spacing:0}
.s24-header-area .breaking-tag{flex-shrink:0;background:#ed343e;padding:11px 13px;border-radius:4px;font-size:13px;font-weight:900;z-index:2}
.s24-header-area .breaking-viewport{min-width:0;flex:1;overflow:hidden}
.s24-header-area .breaking-track{display:flex;align-items:center;width:max-content;animation:s24-scroll 38s linear infinite}
.s24-header-area .breaking-loop-group{display:flex;align-items:center;gap:28px;white-space:nowrap;flex:0 0 auto;padding-right:28px}
.s24-header-area .breaking-item{color:#fff;font-size:13px;font-weight:800}
.s24-header-area .breaking-item:hover{text-decoration:underline}
.s24-header-area .breaking-separator{color:#96d6b1}
.s24-header-area .breaking-viewport:hover .breaking-track,.s24-header-area .breaking-viewport:focus-within .breaking-track{animation-play-state:paused}
@keyframes s24-scroll{to{transform:translateX(-50%)}}
.s24-header-area .header{background:linear-gradient(105deg,#073b2b,#086b42);color:white;border:0}
.s24-header-area .header-inner{max-width:1840px;min-height:183px;padding:22px 42px;margin:auto;display:flex;align-items:center;gap:28px}
.s24-header-area .logo{width:128px;height:125px;object-fit:contain}
.s24-header-area .brand-text{flex:1;min-width:0}
.s24-header-area .brand-text strong{font-size:clamp(29px,3.3vw,60px);letter-spacing:-1.8px;font-weight:950;display:block;line-height:1.05;color:white}
.s24-header-area .brand-text span{display:block;margin-top:10px;font-size:clamp(12px,1.1vw,20px);color:#f1f8f3}
.s24-header-area .header-actions{display:flex;align-items:center;gap:20px;margin-left:auto}
.s24-header-area .header-search{position:relative;display:flex;align-items:center;width:clamp(230px,24vw,440px);height:55px;border:1px solid #d9e4dd;background:#fff;border-radius:6px;z-index:120}
.s24-header-area .header-search:focus-within{outline:3px solid #a0d3b4}
.s24-header-area .header-search-icon{font-size:25px;color:#006b43;margin:0 12px 0 17px}
.s24-header-area .header-search input{font:15px Arial,Helvetica,sans-serif;width:100%;height:100%;min-width:0;padding:0 12px 0 0;background:transparent;border:0;outline:0;color:#1c3026}
.s24-header-area .header-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;color:#20382c;border:1px solid #dce7df;box-shadow:0 18px 40px #071d1470;border-radius:6px;max-height:370px;overflow:auto;padding:7px}
.s24-header-area .header-search-results[hidden]{display:none}
.s24-header-area .header-search-results a{display:block;padding:11px 12px;border-bottom:1px solid #edf1ed;color:#1a3023}
.s24-header-area .header-search-results a:hover{background:#edf7f0}
.s24-header-area .header-search-results strong{display:block;font-size:13px;line-height:1.4}
.s24-header-area .header-search-results small{display:block;color:#006b43;font-size:10px;font-weight:800;margin-bottom:5px}
.s24-header-area .search-status{padding:12px;font-size:13px;line-height:1.4}
.s24-header-area .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.s24-header-area .header-cta{display:inline-flex;align-items:center;justify-content:center;background:#ed343e;color:white;border-radius:5px;padding:0 25px;height:55px;font-size:14px;font-weight:900;white-space:nowrap}
.s24-header-area .nav{background:#fff;color:#23372c;border:0;border-bottom:1px solid #d9e6dd;box-shadow:0 5px 16px #0b3b2510;position:sticky;top:0;z-index:110}
.s24-header-area .nav-inner{max-width:1500px;margin:auto;padding:0 24px;display:flex;align-items:stretch;justify-content:center;gap:clamp(16px,2.8vw,48px);min-height:76px;overflow:visible}
.s24-header-area .nav-inner>a,.s24-header-area .nav-dropdown>a{display:flex;align-items:center;gap:8px;position:relative;padding:0 2px;color:#24372d;font-size:16px;font-weight:750;white-space:nowrap;letter-spacing:0;text-transform:none}
.s24-header-area .nav-inner>a:hover,.s24-header-area .nav-dropdown>a:hover{color:#007447}
.s24-header-area .nav-inner>a[aria-current="page"]{color:#006b43}
.s24-header-area .nav-inner>a[aria-current="page"]:after{content:"";position:absolute;height:2px;background:#007447;bottom:0;left:0;right:0}
.s24-header-area .nav-dropdown{display:flex;align-items:stretch;position:relative;gap:0}
.s24-header-area .nav-dropdown .drop-toggle{border:0;background:transparent;color:#6b8173;padding:0 7px;cursor:pointer;font-size:13px}
.s24-header-area .nav-club-crest{width:28px;height:28px;object-fit:contain;flex-shrink:0}
.s24-header-area .nav-live-dot{width:9px;height:9px;background:#d82e46;border-radius:50%;box-shadow:0 0 0 4px #fce4e9}
.s24-header-area .nav-inner .nav-breaking{color:#b52b3c}
.s24-header-area .drop-menu{display:none;position:absolute;top:100%;left:0;min-width:245px;padding:7px;background:white;border:1px solid #dce7df;border-top:3px solid #006b43;box-shadow:0 15px 30px #0a281c25;z-index:200}
.s24-header-area .nav-dropdown.open .drop-menu,.s24-header-area .nav-dropdown:hover .drop-menu{display:block}
.s24-header-area .drop-menu a{display:block;padding:12px 13px;color:#253a2d;font-size:13px;font-weight:700;white-space:nowrap}
.s24-header-area .drop-menu a:hover{background:#e9f4ed;color:#006b43}
.s24-header-area .mobile-menu-button{display:none}
@media(max-width:1120px) and (min-width:761px){
.s24-header-area .header-inner{min-height:135px;padding:14px 20px;gap:15px}
.s24-header-area .logo{width:90px;height:90px}
.s24-header-area .header-search{width:230px;height:44px}
.s24-header-area .header-cta{height:44px;padding:0 12px}
.s24-header-area .nav-inner{gap:13px;min-height:62px}
.s24-header-area .nav-inner>a,.s24-header-area .nav-dropdown>a{font-size:12px}
.s24-header-area .nav-club-crest{width:23px;height:23px}
}
@media(max-width:760px){
.s24-header-area .header-inner{min-height:0;padding:14px 16px;flex-wrap:wrap;gap:10px}
.s24-header-area .logo{width:69px;height:70px}
.s24-header-area .brand-text strong{font-size:27px;letter-spacing:-.7px}
.s24-header-area .brand-text span{font-size:11px;margin-top:5px}
.s24-header-area .header-actions{width:100%;margin:0}
.s24-header-area .header-search{width:100%;height:43px}
.s24-header-area .header-cta{display:none}
.s24-header-area .ticker{height:45px;padding:6px 12px}
.s24-header-area .breaking-tag{padding:9px;font-size:11px}
.s24-header-area .breaking-item{font-size:12px}
.s24-header-area .nav{position:relative}
.s24-header-area .mobile-menu-button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:#fff;color:#143d2b;padding:14px 20px;font-size:14px;font-weight:900}
.s24-header-area .nav-inner{display:none;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0 16px 15px;max-height:70vh;overflow-y:auto}
.s24-header-area .nav.mobile-open .nav-inner{display:flex}
.s24-header-area .nav-inner>a,.s24-header-area .nav-dropdown>a{min-height:45px;font-size:14px}
.s24-header-area .nav-dropdown{display:grid;grid-template-columns:1fr 45px}
.s24-header-area .drop-toggle{min-height:45px}
.s24-header-area .drop-menu{position:static;grid-column:1/-1;min-width:0;border:0;border-top:1px solid #dce7df;box-shadow:none;background:#f2f7f3}
.s24-header-area .nav-dropdown:hover .drop-menu{display:none}
.s24-header-area .nav-dropdown.open .drop-menu{display:block}
}
@media(prefers-reduced-motion:reduce){.s24-header-area .breaking-track{animation:none;max-width:100%;overflow-x:auto}}

/* Correcciones finales para navegación táctil y pantallas estrechas */
@media(max-width:760px){
 .s24-header-area{max-width:100%;min-width:0}
 .s24-header-area .header-inner{min-width:0}
 .s24-header-area .brand-text{min-width:0}
 .s24-header-area .brand-text strong{font-size:clamp(20px,6vw,27px);overflow-wrap:anywhere}
 .s24-header-area .header-actions{min-width:0}
 .s24-header-area .nav-inner{max-height:min(72vh,650px);overscroll-behavior:contain}
 .s24-header-area .nav-dropdown{min-width:0}
 .s24-header-area .nav-dropdown>a{min-width:0;white-space:normal;line-height:1.35}
 .s24-header-area .nav-dropdown .drop-toggle{width:45px;min-height:45px;touch-action:manipulation}
 .s24-header-area .drop-menu{width:100%;min-width:0}
 .s24-header-area .drop-menu a{white-space:normal;line-height:1.4}
 .s24-header-area .mobile-menu-button{touch-action:manipulation}
 .s24-header-area .nav-dropdown:not(.open):hover .drop-menu{display:none}
 .s24-header-area .nav-dropdown.open .drop-menu{display:block}
}
@media(max-width:380px){.s24-header-area .header-inner{padding:12px}.s24-header-area .logo{width:56px;height:60px}.s24-header-area .brand-text span{font-size:10px}}

/* Menú táctil móvil: enlaces sin cortes ni hover accidental */
@media(max-width:760px){.s24-header-area .nav-inner{max-height:min(75dvh,640px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}.s24-header-area .nav-dropdown{min-width:0!important;grid-template-columns:minmax(0,1fr) 48px!important}.s24-header-area .nav-dropdown>a{min-width:0!important;white-space:normal!important;line-height:1.35!important;padding:12px 4px!important}.s24-header-area .nav-inner>a{white-space:normal!important;min-width:0!important;padding:12px 4px!important;line-height:1.35!important}.s24-header-area .nav-dropdown .drop-toggle{min-height:48px!important;min-width:48px!important}.s24-header-area .drop-menu{width:100%!important;min-width:0!important}.s24-header-area .drop-menu a{white-space:normal!important;line-height:1.35!important;padding:12px!important}.s24-header-area .nav-dropdown:hover:not(.open) .drop-menu{display:none!important}.s24-header-area .nav-dropdown.open .drop-menu{display:block!important}}

/* 24S Legends aplazado: ocultar enlaces en menú, también antes de cargar JS. */
.s24-header-area a[href*="legends" i],
.s24-header-area a[href*="Legends"]{display:none!important}
