:root{--black:#070809;--dark:#0d0f12;--panel:#14171b;--line:#292d33;--paper:#f3f3f1;--white:#fff;--muted:#777d85;--red:#ed172c;--yellow:#ffc400;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:#111318;font-family:Inter,Arial,sans-serif}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}a{text-decoration:none;color:inherit}
.utility{height:32px;background:#050607;color:#8c929a;border-bottom:1px solid #191b1f;font-size:10px;letter-spacing:.03em}.utility .wrap{height:100%;display:flex;justify-content:space-between;align-items:center}.utility strong{color:#fff}.brand{background:var(--black);color:#fff}.brand .wrap{height:91px;display:flex;align-items:center;justify-content:space-between}.logo{width:190px;height:auto;display:block}.brand-note{text-align:right}.brand-note b{display:block;font-size:10px;letter-spacing:.16em;text-transform:uppercase}.brand-note span{display:block;color:#747a83;font-size:10px;margin-top:5px}
.nav{background:#111317;color:#fff;border-bottom:3px solid var(--red);box-shadow:0 4px 15px rgba(0,0,0,.12)}.nav .wrap{display:flex;align-items:stretch;overflow:auto}.nav a{padding:14px 15px;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap}.nav a:hover,.nav a.active{background:#20242a}.nav a.home{background:var(--red)}
.breaking{background:#fff;border-bottom:1px solid #ddd}.breaking .wrap{min-height:40px;display:flex;align-items:center}.breaking-label{height:22px;display:flex;align-items:center;padding:0 10px;background:var(--red);color:#fff;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;margin-right:12px}/* Breaking News Ticker */
.breaking-title{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
}
.breaking-title-track{
  display:inline-flex;
  width:max-content;
  min-width:100%;
  animation:gracakBreakingTicker 24s linear infinite;
  will-change:transform;
}
.breaking-title-track a{
  display:inline-block;
  padding-right:70px;
}
.breaking-title-track a:hover{text-decoration:underline}
@keyframes gracakBreakingTicker{
  from{transform:translateX(100%)}
  to{transform:translateX(-100%)}
}
.breaking-title:hover .breaking-title-track,
.breaking-title:focus-within .breaking-title-track{
  animation-play-state:paused;
}
@media (prefers-reduced-motion:reduce){
  .breaking-title-track{animation:none;transform:none}
}.breaking-time{margin-left:auto;color:#8a8f96;font-size:9px;white-space:nowrap;padding-left:12px}
main{padding:27px 0 65px}.eyebrow{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--red)}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #111;padding-bottom:9px;margin-bottom:15px}.section-title h2{font-family:'Barlow Condensed',sans-serif;font-size:27px;line-height:1;margin:0;text-transform:uppercase;letter-spacing:.02em}.section-title h2:before{content:'';display:inline-block;width:5px;height:23px;background:var(--red);margin-right:9px;vertical-align:-4px}.section-title a{font-size:9px;font-weight:800;text-transform:uppercase;color:#73777d}
.lead{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.8fr);gap:18px}.hero{position:relative;aspect-ratio:16/9;overflow:hidden;background:#111;color:#fff}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 28%,rgba(0,0,0,.86) 100%)}.hero-copy{position:absolute;z-index:2;left:29px;right:29px;bottom:26px}.hero h1{font-family:'Barlow Condensed',sans-serif;font-size:54px;line-height:.94;text-transform:uppercase;max-width:900px;margin:7px 0 10px}.hero p{font-size:11px;line-height:1.55;color:#d8dade;max-width:720px;margin:0}.badge{display:inline-block;background:var(--red);color:#fff;padding:6px 9px;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.hero.no-image{background:linear-gradient(135deg,#1b1e23,#070809)}
.headline-side{display:grid;grid-template-rows:repeat(4,1fr);gap:11px}.side-story{background:#fff;display:grid;grid-template-columns:128px 1fr;min-height:112px;border:1px solid #dededb;overflow:hidden}.side-story .thumb{background:#ddd}.side-story img{width:100%;height:100%;object-fit:cover;display:block}.headline-match{background:#111318;color:#fff;border:1px solid #292d33;padding:10px 12px;display:block;min-height:112px;transition:.2s}
.headline-match:hover{transform:translateY(-2px);border-color:#4b5058}
.headline-match-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:8px;color:#9da3ab;text-transform:uppercase;font-weight:800;margin-bottom:7px}
.headline-match-top .status{flex:0 0 auto}
.headline-match-teams{display:flex;justify-content:space-between;gap:10px;align-items:center;font-family:'Barlow Condensed',sans-serif;font-size:18px;line-height:1.05;padding:4px 0;border-bottom:1px solid #2a2e34}
.headline-match-teams em{font-style:normal;font-size:19px}
.headline-match-time{padding-top:7px;color:#8d9299;font-size:8px}
.side-story .copy{padding:10px 11px}.side-story h3{font-family:'Barlow Condensed',sans-serif;font-size:21px;line-height:1.02;text-transform:uppercase;margin:5px 0 7px}.meta{font-size:8px;color:#858a91;text-transform:uppercase;font-weight:800;letter-spacing:.05em}.meta .dot{color:var(--red);padding:0 4px}
.rule{height:1px;background:#d9d9d6;margin:30px 0}.content{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{background:#fff;border:1px solid #dededb;overflow:hidden}.card-media{aspect-ratio:16/9;background:#ddd;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.card:hover .card-media img{transform:scale(1.035)}.card-body{padding:13px 14px 16px}.card h3{font-family:'Barlow Condensed',sans-serif;font-size:26px;line-height:.98;text-transform:uppercase;margin:6px 0 8px}.card p{font-size:10px;color:#70757c;line-height:1.55;margin:0}
.sidecol{display:flex;flex-direction:column;gap:20px}.darkbox{background:#101216;color:#fff;padding:17px}.darkbox h3,.lightbox h3{font-family:'Barlow Condensed',sans-serif;font-size:25px;line-height:1;text-transform:uppercase;margin:0 0 12px}.darkbox h3{border-bottom:1px solid #2c3036;padding-bottom:10px}.rank{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:12px 0;border-bottom:1px solid #292d33}.rank:last-child{border-bottom:0}.rank b{font-family:'Barlow Condensed',sans-serif;font-size:25px;color:var(--yellow)}.rank h4{font-family:'Barlow Condensed',sans-serif;font-size:18px;line-height:1.02;text-transform:uppercase;margin:0}.lightbox{background:#fff;border:1px solid #ddd;padding:16px}.match{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border-top:1px solid #e5e5e2;padding:11px 0;font-size:10px}.match strong{font-size:12px}.score{font-family:'Barlow Condensed',sans-serif;font-size:17px;background:#111;color:#fff;padding:4px 7px}.more{display:inline-block;margin-top:8px;color:var(--red);font-size:9px;font-weight:900;text-transform:uppercase}
.category{margin-top:40px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category .card h3{font-size:21px}.category .card-body{padding:11px 12px 14px}
.quick{margin-top:40px;background:#101216;color:#fff;padding:20px}.quick-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #30343a;padding-bottom:10px;margin-bottom:4px}.quick-head h2{font-family:'Barlow Condensed',sans-serif;font-size:28px;text-transform:uppercase;margin:0}.quick-head a{font-size:9px;color:#aeb3ba;text-transform:uppercase;font-weight:800}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr)}.quick-item{padding:15px 14px 8px;border-right:1px solid #292d33}.quick-item:last-child{border-right:0}.quick-item h3{font-family:'Barlow Condensed',sans-serif;font-size:18px;line-height:1.02;text-transform:uppercase;margin:6px 0 0}.quick-item .meta{color:#8b9199}

.module-block{margin-top:40px;background:#101216;color:#fff;padding:20px}.module-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #30343a;padding-bottom:10px;margin-bottom:14px}.module-head h2{font-family:'Barlow Condensed',sans-serif;font-size:28px;text-transform:uppercase;margin:0}.module-head a{font-size:9px;color:#aeb3ba;text-transform:uppercase;font-weight:800}.match-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.match-card{background:#171a1f;border:1px solid #2b3036;padding:13px;color:#fff}.match-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:9px;color:#9da3ab;text-transform:uppercase;font-weight:800;margin-bottom:12px}.status{font-size:8px;padding:4px 6px;background:#2a2e34;color:#fff}.status.live{background:var(--red)}.status.upcoming{background:var(--yellow);color:#111}.teams-mini{display:flex;justify-content:space-between;gap:10px;align-items:center;font-family:'Barlow Condensed',sans-serif;font-size:19px;line-height:1.05;margin:7px 0}.teams-mini em{font-style:normal;font-size:21px}.match-time{border-top:1px solid #2b3036;margin-top:12px;padding-top:9px;color:#8c929a;font-size:9px}.video-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.video-home-card{background:#171a1f;color:#fff;border:1px solid #2b3036}.video-home-thumb{position:relative;aspect-ratio:16/9;background:#090a0c;overflow:hidden}.video-home-thumb img{width:100%;height:100%;object-fit:cover;display:block}.play-mini{position:absolute;left:10px;bottom:10px;width:34px;height:34px;border-radius:50%;background:var(--red);display:grid;place-items:center;font-size:14px;padding-left:2px}.video-home-body{padding:11px}.video-home-body h3{font-family:'Barlow Condensed',sans-serif;font-size:20px;line-height:1.02;text-transform:uppercase;margin:5px 0}.video-home-body>span{font-size:9px;color:#8b9199}.video-home-body .meta{color:#e1e3e6}
footer{background:#070809;color:#fff;border-top:4px solid var(--red);margin-top:65px}.footer-main{padding:38px 0}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:45px}.footer-logo{width:180px}.footer p{font-size:10px;line-height:1.7;color:#858b93;max-width:490px}.footer h3{font-family:'Barlow Condensed',sans-serif;font-size:21px;text-transform:uppercase;margin:0 0 12px}.footer-links{display:flex;flex-wrap:wrap;gap:8px 16px}.footer-links a{font-size:9px;color:#bfc3c8;text-transform:uppercase;font-weight:800}.copyright{border-top:1px solid #202328;padding:14px 0;color:#656b73;font-size:9px}
.empty{background:#fff;border:1px dashed #c9c9c6;padding:30px;text-align:center;color:#777;font-size:11px}.error{background:#fff0f0;color:#9b2020;border:1px solid #efb9b9;padding:13px;font-size:11px;margin-bottom:18px}
@media(max-width:980px){.match-strip{grid-template-columns:repeat(2,1fr)}.video-strip{grid-template-columns:repeat(2,1fr)}.brand-note{display:none}.lead{grid-template-columns:1fr}.headline-side{grid-template-columns:repeat(2,1fr);grid-template-rows:none}.content{grid-template-columns:1fr}.sidecol{display:grid;grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(3,1fr)}.quick-item:nth-child(3){border-right:0}.quick-item:nth-child(n+4){border-top:1px solid #292d33}}
@media(max-width:640px){.match-strip,.video-strip{grid-template-columns:1fr}.module-block{padding:15px}.wrap{width:calc(100% - 22px)}.utility{display:none}.brand .wrap{height:68px}.logo{width:148px}.nav a{padding:13px 11px;font-size:9px}.breaking .wrap{min-height:36px}.breaking-time{display:none}main{padding-top:18px}.hero{min-height:355px}.hero-copy{left:17px;right:17px;bottom:18px}.hero h1{font-size:38px}.hero p{font-size:10px}.headline-side{grid-template-columns:1fr}.side-story{min-height:92px;grid-template-columns:105px 1fr}.side-story h3{font-size:18px}.news-grid{grid-template-columns:1fr}.section-title h2{font-size:25px}.sidecol{display:flex}.category-grid{grid-template-columns:1fr 1fr;gap:10px}.category .card h3{font-size:18px}.quick{padding:15px}.quick-grid{grid-template-columns:1fr 1fr}.quick-item{border-right:0!important}.quick-item:nth-child(n+3){border-top:1px solid #292d33}.footer-grid{grid-template-columns:1fr;gap:25px}}

/* V10 premium polish */
.nav a{position:relative}.nav a:not(.home):after{content:"";position:absolute;left:15px;right:15px;bottom:0;height:2px;background:transparent;transition:.2s}.nav a:hover:after{background:var(--yellow)}
.hero{box-shadow:0 18px 40px rgba(0,0,0,.12)}.side-story,.card,.lightbox{transition:transform .2s ease,box-shadow .2s ease}.side-story:hover,.card:hover,.lightbox:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.section-title{margin-top:2px}.section-title h2{letter-spacing:.025em}.card h3,.side-story h3,.hero h1{letter-spacing:.005em}
.module-block{background:#fff;border:1px solid #dededb;padding:18px;margin-top:30px}.module-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #111;padding-bottom:10px;margin-bottom:14px}.module-head h2{font-family:'Barlow Condensed',sans-serif;font-size:27px;text-transform:uppercase;margin:0}.module-head a{font-size:9px;font-weight:900;color:var(--red);text-transform:uppercase}
.match-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.match-card{background:#111318;color:#fff;padding:13px;border:1px solid #292d33}.match-top{display:flex;justify-content:space-between;gap:8px;color:#9da2aa;font-size:9px;text-transform:uppercase}.status{font-size:8px;padding:3px 5px;background:#30343a;color:#fff}.status.live{background:var(--red)}.teams-mini{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #2a2e34;font-size:12px}.teams-mini em{font-style:normal;font-family:'Barlow Condensed',sans-serif;font-size:19px}.match-time{padding-top:9px;color:#8d9299;font-size:9px}
.video-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.video-home-card{background:#111318;color:#fff;border:1px solid #25292f}.video-home-thumb{position:relative;aspect-ratio:16/9;background:#222;overflow:hidden}.video-home-thumb img{width:100%;height:100%;object-fit:cover;display:block}.play-mini{position:absolute;left:10px;bottom:10px;background:var(--red);width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:12px}.video-home-body{padding:11px}.video-home-body h3{font-family:'Barlow Condensed',sans-serif;font-size:19px;line-height:1.02;text-transform:uppercase;margin:5px 0}.video-home-body>span{font-size:8px;color:#858b93;text-transform:uppercase}
@media(max-width:980px){.match-strip{grid-template-columns:repeat(2,1fr)}.video-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.module-block{padding:14px}.match-strip,.video-strip{grid-template-columns:1fr}.hero{box-shadow:none}.section-title{margin-bottom:12px}}


/* ===== GRACAK SPORT PREMIUM UI V11 ===== */
:root{--black:#070809;--dark:#0d0f12;--panel:#15181d;--line:#dfe1e3;--paper:#f5f5f3;--white:#fff;--muted:#727780;--red:#e3132b;--red2:#ff3047;--yellow:#ffc400;--max:1320px}
body{background:#f2f2f0;color:#111}.wrap{width:min(var(--max),calc(100% - 44px))}
.utility{height:30px;background:#050607;border-bottom:1px solid #202328}
.brand{background:linear-gradient(180deg,#090a0c 0%,#050607 100%)}.brand .wrap{height:86px}.logo{width:200px}
.nav{position:sticky;top:0;z-index:50;background:rgba(12,14,17,.97);backdrop-filter:blur(12px);border-bottom:2px solid var(--red)}
.nav .wrap{scrollbar-width:none}.nav .wrap::-webkit-scrollbar{display:none}.nav a{padding:15px 16px;font-size:10px;letter-spacing:.07em}.nav a.home{padding-left:18px;padding-right:18px}
.breaking{box-shadow:0 2px 10px rgba(0,0,0,.05)}.breaking-label{background:var(--red);padding:0 12px}
main{padding:30px 0 70px}.section-title{border-bottom:1px solid #cfd1d2;padding-bottom:11px;margin-bottom:17px}.section-title h2{font-size:29px}.section-title h2:before{width:4px;height:25px;background:var(--red)}.section-title a{transition:.2s}.section-title a:hover{color:var(--red)}
.lead{grid-template-columns:minmax(0,1.7fr) minmax(340px,.78fr);gap:20px}.hero{min-height:510px;border-radius:2px;box-shadow:0 18px 45px rgba(0,0,0,.14)}.hero:after{background:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.9) 100%)}.hero-copy{left:32px;right:32px;bottom:30px}.hero h1{font-size:60px;max-width:950px;letter-spacing:-.01em}.badge{background:var(--red);box-shadow:0 4px 12px rgba(227,19,43,.2)}
.headline-side{gap:12px}.side-story{min-height:118px;border:1px solid #d9dbdd;border-radius:2px;box-shadow:0 3px 12px rgba(0,0,0,.035);transition:.22s}.side-story:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.09);border-color:#c9cbce}.side-story .copy{padding:12px 13px}.side-story h3{font-size:22px}
.content{grid-template-columns:minmax(0,1fr) 320px;gap:32px}.news-grid{gap:20px}.card{border:1px solid #dadcde;border-radius:2px;box-shadow:0 3px 12px rgba(0,0,0,.035);transition:.22s}.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.1);border-color:#c9cbd0}.card-media{aspect-ratio:16/9;background:#e2e3e3}.card-body{padding:15px 16px 18px}.card h3{font-size:27px}.meta{font-size:8px;letter-spacing:.07em}
.sidecol{gap:22px}.darkbox{background:linear-gradient(145deg,#0e1013,#181b20);border-radius:2px;box-shadow:0 10px 28px rgba(0,0,0,.12)}.darkbox h3{font-size:27px}.rank{transition:.2s}.rank:hover{padding-left:6px}.lightbox{border-radius:2px;box-shadow:0 3px 12px rgba(0,0,0,.04)}
.category{margin-top:46px}.category-grid{gap:18px}.category .card h3{font-size:22px}
.quick{margin-top:46px;background:linear-gradient(135deg,#0c0e11,#171a1f);border-radius:2px;box-shadow:0 12px 30px rgba(0,0,0,.13)}.quick-head h2{font-size:30px}.quick-item{transition:.2s}.quick-item:hover{background:rgba(255,255,255,.035)}
.module-block{margin-top:46px;border-radius:2px;box-shadow:0 4px 18px rgba(0,0,0,.05)}.module-head h2{font-size:29px}.match-card{transition:.2s}.match-card:hover{transform:translateY(-3px);border-color:#4b5058}.video-home-card{transition:.2s}.video-home-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(0,0,0,.2)}
footer{margin-top:75px}.footer-main{padding:45px 0}.footer-logo{width:190px}.footer-links a:hover{color:#fff}
@media(max-width:980px){.lead{grid-template-columns:1fr}.headline-side{grid-template-columns:repeat(2,1fr);grid-template-rows:none}.hero{min-height:480px}.hero h1{font-size:52px}.content{grid-template-columns:1fr}.sidecol{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:640px){.wrap{width:calc(100% - 20px)}.brand .wrap{height:64px}.logo{width:145px}.nav a{padding:13px 11px;font-size:9px}main{padding-top:20px}.hero{min-height:390px}.hero-copy{left:18px;right:18px;bottom:20px}.hero h1{font-size:39px;line-height:.96}.headline-side{grid-template-columns:1fr}.content{gap:24px}.news-grid{gap:13px}.card-body{padding:13px 13px 15px}.card h3{font-size:23px}.category{margin-top:34px}.category-grid{gap:10px}.category .card h3{font-size:18px}.quick{margin-top:34px;padding:14px}.module-block{margin-top:34px}}


/* ===== STANDARD FOTO BERITA 16:9 ===== */
.hero,
.side-story .thumb,
.card-media,
.category .card-media,
.video-home-card .thumb,
.article-image,
.news-image,
.post-image{
    aspect-ratio:16/9;
    overflow:hidden;
    background:#e2e3e3;
}

.hero img,
.side-story .thumb img,
.card-media img,
.category .card-media img,
.video-home-card .thumb img,
.article-image img,
.news-image img,
.post-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

/* Jangan biarkan gambar asli mengubah tinggi card */
.card-media img,
.category .card-media img{
    aspect-ratio:16/9;
}


/* ===== SEARCH DRAWER — MOBILE MENU STYLE ===== */
.nav .wrap{position:relative}
.search-wrap{position:relative;display:flex;align-items:center;margin-left:7px}
.search-trigger{
    width:38px;height:38px;border:0;border-radius:2px;
    background:transparent;color:#fff;font-size:23px;line-height:1;
    display:grid;place-items:center;cursor:pointer;flex:0 0 auto;
    transition:.18s ease
}
.search-trigger:hover,.search-trigger.active{background:var(--red);color:#fff}

/* Desktop: compact panel */
.search-dropdown{
    position:absolute;right:0;top:calc(100% + 10px);width:390px;
    background:#fff;color:#111;border:1px solid #d7d9dc;
    border-top:3px solid var(--red);padding:14px;
    box-shadow:0 16px 38px rgba(0,0,0,.24);
    display:none;z-index:200
}
.search-dropdown.show{display:block}
.search-form{display:flex;gap:0;border:1px solid #c7c9cc;height:46px}
.search-form input{
    flex:1;min-width:0;height:44px;border:0;outline:0;background:#fff;
    color:#111;padding:0 13px;font-size:14px;font-weight:500
}
.search-form input::placeholder{color:#999}
.search-form button{
    height:44px;border:0;background:var(--red);color:#fff;
    padding:0 19px;font-size:10px;font-weight:900;letter-spacing:.04em;
    cursor:pointer
}
.search-hint{margin-top:9px;color:#7a7f85;font-size:9px}
.search-suggest-title{
    margin:13px 0 7px;padding-top:11px;border-top:1px solid #e1e2e4;
    color:#6d7278;font-size:8px;font-weight:900;letter-spacing:.08em;
    text-transform:uppercase
}
.search-suggest{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.search-suggest a{
    padding:8px 7px;background:#f2f3f4;color:#333;
    font-size:9px;font-weight:800;text-transform:uppercase;
    border-left:3px solid #d7d9dc
}
.search-suggest a:hover{border-left-color:var(--red);background:#eceeef}

/* Mobile drawer + dimmed page */
.search-drawer-overlay{
    display:none;position:fixed;inset:0;background:rgba(0,0,0,.52);
    z-index:998
}
.search-drawer-overlay.show{display:block}
.search-drawer-close{
    display:none
}
@media(max-width:640px){
    .search-wrap{margin-left:3px}
    .search-trigger{width:34px;height:34px;font-size:21px}

    .search-drawer-overlay{
        display:none;
    }
    .search-drawer-overlay.show{display:block}

    .search-dropdown{
        position:fixed;
        z-index:999;
        top:0;
        right:0;
        bottom:0;
        left:auto;
        width:82vw;
        max-width:430px;
        height:100dvh;
        margin:0;
        padding:0;
        background:#fff;
        color:#222;
        border:0;
        border-left:1px solid #ddd;
        box-shadow:-8px 0 28px rgba(0,0,0,.20);
        overflow-y:auto;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }

    .search-dropdown.show{
        display:block;
        animation:searchDrawerIn .22s ease-out
    }

    @keyframes searchDrawerIn{
        from{transform:translateX(100%)}
        to{transform:translateX(0)}
    }

    .search-drawer-head{
        height:72px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:0 18px;
        border-bottom:1px solid #e5e5e5;
        background:#fff;
    }
    .search-drawer-head strong{
        font-size:25px;
        font-weight:800;
        letter-spacing:-.02em;
    }
    .search-drawer-head button{
        width:38px;height:38px;border:0;background:transparent;
        color:#888;font-size:32px;line-height:1;cursor:pointer;
    }

    .search-drawer-body{
        padding:32px 18px 28px;
    }

    .search-drawer .search-form{
        height:56px;
        border:2px solid var(--red);
        border-radius:3px;
        background:#fff;
        box-shadow:none;
    }
    .search-drawer .search-form input{
        height:52px;
        padding:0 14px;
        font-size:17px;
        color:#222;
    }
    .search-drawer .search-form input::placeholder{
        color:#aaa;
    }
    .search-drawer .search-form button{
        width:52px;height:52px;
        padding:0;
        font-size:0;
        background:#fff;
        color:#777;
        position:relative;
    }
    .search-drawer .search-form button:before{
        content:"";
        display:block;
        width:17px;height:17px;
        border:3px solid #858585;
        border-radius:50%;
        margin:auto;
    }
    .search-drawer .search-form button:after{
        content:"";
        position:absolute;
        width:9px;height:3px;
        background:#858585;
        transform:rotate(45deg);
        right:12px;top:34px;
        border-radius:2px;
    }

    .search-hint{
        margin-top:10px;
        font-size:9px;
        color:#999;
        text-transform:none;
    }
    .search-suggest-title{
        margin:25px -18px 0;
        padding:17px 18px 10px;
        border-top:1px solid #e5e5e5;
        font-size:10px;
        color:#333;
        background:#fafafa;
    }
    .search-suggest{
        margin:0 -18px;
        display:block;
    }
    .search-suggest a{
        display:block;
        padding:17px 18px;
        background:#fff;
        color:#252525;
        font-size:16px;
        font-weight:700;
        text-transform:none;
        border:0;
        border-bottom:1px solid #e7e7e7;
    }
    .search-suggest a:hover{
        background:#f7f7f7;
        border-left:0;
    }

    body.search-drawer-open{
        overflow:hidden;
        touch-action:none;
    }
}

/* ===== MOBILE PREMIUM OPTIMIZATION ===== */
@media (max-width:640px){
  body{overflow-x:hidden}
  .wrap{width:calc(100% - 24px);max-width:none}

  /* Header */
  .brand .wrap{height:64px}
  .logo{width:142px}
  .nav{border-bottom:2px solid var(--red)}
  .nav .wrap{width:100%;padding:0 6px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .nav a{padding:12px 11px;font-size:8.5px;letter-spacing:.045em}
  .nav a.home{padding-left:13px;padding-right:13px}
  .search-wrap{margin-right:5px}
  .search-trigger{width:34px;height:34px;font-size:21px}
  .breaking .wrap{width:100%;padding:0 12px;min-height:35px}
  .breaking-label{margin-right:8px;padding:0 8px;font-size:8px}
  .breaking-title{font-size:9.5px}

  /* Main */
  main{padding:16px 0 42px}
  .section-title{padding-bottom:8px;margin-bottom:12px}
  .section-title h2{font-size:24px}
  .section-title h2:before{width:4px;height:20px;margin-right:7px;vertical-align:-3px}
  .section-title a{font-size:8px}

  /* Headline */
  .lead{display:block}
  .hero{aspect-ratio:16/10;min-height:0;border-radius:2px}
  .hero-copy{left:15px;right:15px;bottom:15px}
  .hero h1{font-size:34px;line-height:.94;margin:5px 0 7px}
  .hero p{font-size:9.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .badge{padding:5px 7px;font-size:8px}
  .headline-side{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
  .side-story{grid-template-columns:100px minmax(0,1fr);min-height:86px}
  .side-story .copy{padding:9px 10px}
  .side-story h3{font-size:18px;line-height:.98;margin:4px 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .meta{font-size:7.5px;line-height:1.2}

  .rule{margin:22px 0}

  /* Latest */
  .content{display:block}
  .news-grid{display:grid;grid-template-columns:1fr;gap:11px}
  .card{border-radius:2px}
  .card-media{aspect-ratio:16/9}
  .card-body{padding:10px 11px 12px}
  .card h3{font-size:22px;line-height:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 6px}
  .card p{font-size:9px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .sidecol{display:flex;gap:10px;margin-top:22px}
  .darkbox,.lightbox{padding:13px}
  .darkbox h3,.lightbox h3{font-size:23px}
  .rank{grid-template-columns:27px 1fr;padding:9px 0}
  .rank b{font-size:21px}
  .rank h4{font-size:17px}
  .lightbox{display:none}

  /* Categories */
  .category{margin-top:30px}
  .category-grid{grid-template-columns:1fr 1fr;gap:9px}
  .category .card-media{aspect-ratio:16/9}
  .category .card-body{padding:9px 9px 10px}
  .category .card h3{font-size:17px;line-height:.98;margin:5px 0 0;-webkit-line-clamp:3}
  .category .meta{font-size:7px}

  /* Quick news */
  .quick{margin-top:30px;padding:13px}
  .quick-head{padding-bottom:8px}
  .quick-head h2{font-size:25px}
  .quick-head a{font-size:7.5px}
  .quick-grid{grid-template-columns:1fr 1fr}
  .quick-item{padding:11px 9px 8px}
  .quick-item h3{font-size:17px;line-height:1.02;-webkit-line-clamp:3}
  .quick-item .meta{font-size:7px}

  /* Schedule */
  .module-block{margin-top:28px;padding:13px}
  .module-head{padding-bottom:8px;margin-bottom:10px}
  .module-head h2{font-size:25px}
  .module-head a{font-size:8px}
  .match-strip{grid-template-columns:1fr;gap:8px}
  .match-card{padding:11px}
  .teams-mini{font-size:12px;padding:7px 0}
  .teams-mini em{font-size:18px}
  .match-time{font-size:8px;padding-top:7px}

  /* Video */
  .video-strip{grid-template-columns:1fr 1fr;gap:9px}
  .video-home-body{padding:9px}
  .video-home-body h3{font-size:17px}
  .video-home-body>span{font-size:7px}
  .play-mini{width:28px;height:28px;left:8px;bottom:8px;font-size:10px}

  /* Footer */
  footer{margin-top:42px}
  .footer-main{padding:28px 0}
  .footer-grid{grid-template-columns:1fr;gap:22px}
  .footer-logo{width:155px}
  .footer p{font-size:9px;line-height:1.6}
  .footer h3{font-size:20px;margin-bottom:8px}
  .footer-links{gap:7px 12px}
  .footer-links a{font-size:8px}
  .copyright{padding:12px 0;font-size:8px}

  /* Avoid accidental horizontal overflow from long headlines/URLs */
  .hero h1,.card h3,.side-story h3,.rank h4,.quick-item h3{overflow-wrap:anywhere}
}


/* ===== MOBILE COMFORT / READABILITY V2 ===== */
@media (max-width:640px){
  body{background:#f5f5f3}
  .wrap{width:calc(100% - 28px)}

  /* Header lebih tenang */
  .brand .wrap{height:62px}
  .logo{width:136px}
  .nav .wrap{padding:0 8px}
  .nav a{padding:11px 10px;font-size:8px}
  .nav a.home{padding-left:12px;padding-right:12px}
  .search-trigger{width:30px;height:30px;font-size:16px}

  /* Breaking tidak terlalu tinggi */
  .breaking .wrap{min-height:34px;padding:0 14px}
  .breaking-label{font-size:7px;padding:0 7px;margin-right:7px}
  .breaking-title{font-size:9px}

  main{padding:14px 0 36px}

  /* Section heading */
  .section-title{
    margin-bottom:10px;
    padding-bottom:7px;
    border-bottom:1px solid #d5d6d7
  }
  .section-title h2{font-size:22px}
  .section-title h2:before{height:18px;width:3px;margin-right:6px}
  .section-title a{font-size:7.5px}

  /* Hero: lebih bersih, tidak terlalu tinggi */
  .hero{
    aspect-ratio:16/9;
    min-height:0;
    box-shadow:0 5px 15px rgba(0,0,0,.10)
  }
  .hero-copy{left:14px;right:14px;bottom:14px}
  .hero h1{
    font-size:31px;
    line-height:.96;
    margin:5px 0 6px;
    max-width:100%;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden
  }
  .hero p{
    display:none
  }
  .badge{font-size:7px;padding:4px 6px}

  /* Headline kecil: kartu lebih ringan */
  .headline-side{gap:7px;margin-top:9px}
  .side-story{
    min-height:78px;
    grid-template-columns:92px minmax(0,1fr);
    border:1px solid #e1e2e3;
    box-shadow:none
  }
  .side-story .copy{padding:8px 9px}
  .side-story h3{
    font-size:17px;
    line-height:1;
    margin:3px 0 3px;
    -webkit-line-clamp:2
  }
  .side-story .meta{font-size:7px}
  .headline-match{min-height:78px;padding:8px 9px}
  .headline-match-top{font-size:7px;margin-bottom:4px}
  .headline-match-teams{font-size:16px;padding:3px 0}
  .headline-match-teams em{font-size:17px}
  .headline-match-time{font-size:7px;padding-top:5px}

  .rule{margin:20px 0}

  /* Berita terbaru: thumbnail + headline lebih editorial */
  .news-grid{gap:9px}
  .news-grid .card{
    display:grid;
    grid-template-columns:128px minmax(0,1fr);
    align-items:stretch
  }
  .news-grid .card-media{
    aspect-ratio:auto;
    min-height:86px;
    height:100%
  }
  .news-grid .card-body{
    padding:9px 10px
  }
  .news-grid .card h3{
    font-size:19px;
    line-height:1;
    margin:4px 0 4px;
    -webkit-line-clamp:3
  }
  .news-grid .card p{display:none}

  /* Sidebar populer menjadi lebih compact */
  .sidecol{margin-top:18px}
  .darkbox{padding:12px}
  .darkbox h3{font-size:21px;margin-bottom:7px}
  .rank{grid-template-columns:25px minmax(0,1fr);padding:8px 0}
  .rank b{font-size:19px}
  .rank h4{font-size:16px}
  .lightbox{display:none}

  /* Category cards: tetap visual tapi tidak padat */
  .category{margin-top:28px}
  .category-grid{gap:8px}
  .category .card-media{aspect-ratio:16/9}
  .category .card-body{padding:8px 9px 10px}
  .category .card h3{
    font-size:16px;
    line-height:1;
    margin:4px 0 0;
    -webkit-line-clamp:3
  }
  .category .meta{font-size:6.8px}

  /* Berita pilihan */
  .quick{margin-top:28px;padding:12px}
  .quick-head h2{font-size:23px}
  .quick-head a{font-size:7px}
  .quick-grid{gap:0}
  .quick-item{padding:10px 8px}
  .quick-item h3{font-size:16px;line-height:1.02}

  /* Jadwal */
  .module-block{margin-top:26px;padding:12px}
  .module-head h2{font-size:23px}
  .module-head a{font-size:7px}
  .match-card{padding:10px}
  .match-top{font-size:8px}
  .teams-mini{font-size:12px}
  .teams-mini em{font-size:17px}

  /* Video 2 kolom */
  .video-strip{gap:8px}
  .video-home-body{padding:8px}
  .video-home-body h3{font-size:16px}
  .play-mini{width:26px;height:26px;left:7px;bottom:7px;font-size:9px}

  /* Footer */
  footer{margin-top:36px}
  .footer-main{padding:27px 0}
  .footer-logo{width:145px}
  .footer p{font-size:8.5px}
  .footer h3{font-size:19px}
}

/* Mobile headline image: 4:3 */
@media (max-width: 640px){
  .hero{min-height:0 !important;aspect-ratio:4 / 3 !important;height:auto !important;}
  .hero img{width:100% !important;height:100% !important;object-fit:cover !important;}
}

/* ===== MOBILE PORTRAIT FINAL UI ===== */
@media (max-width:640px){
  body{background:#f3f3f1}
  .wrap{width:calc(100% - 20px)}

  /* Header */
  .brand .wrap{height:60px}
  .logo{width:132px}
  .nav .wrap{padding:0 5px}
  .nav a{padding:10px 9px;font-size:8px}
  .nav a.home{padding-left:11px;padding-right:11px}
  .search-wrap{margin-left:2px;margin-right:3px}
  .search-trigger{width:30px;height:30px;font-size:16px}
  .search-dropdown{top:60px;left:7px;right:7px}
  .breaking .wrap{padding:0 10px;min-height:33px}
  .breaking-label{font-size:7px;padding:0 7px}
  .breaking-title{font-size:8.5px}

  main{padding:14px 0 34px}

  /* Section headings */
  .section-title{margin-bottom:9px;padding-bottom:7px}
  .section-title h2{font-size:21px}
  .section-title h2:before{width:3px;height:17px;margin-right:6px}
  .section-title a{font-size:7px}

  /* Main headline: portrait-friendly 4:3 */
  .lead{display:block}
  .hero{
    width:100%;
    aspect-ratio:4/3 !important;
    min-height:0 !important;
    height:auto !important;
    border-radius:3px;
    box-shadow:0 5px 16px rgba(0,0,0,.10);
  }
  .hero-copy{left:13px;right:13px;bottom:13px}
  .hero h1{
    font-size:29px;
    line-height:.97;
    margin:4px 0 5px;
    max-width:100%;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hero p{display:none}
  .badge{font-size:7px;padding:4px 6px}

  /* Headline stories */
  .headline-side{display:grid;grid-template-columns:1fr;gap:7px;margin-top:9px}
  .side-story{
    min-height:76px;
    grid-template-columns:94px minmax(0,1fr);
    border-radius:2px;
    box-shadow:none;
  }
  .side-story .thumb{aspect-ratio:4/3}
  .side-story .copy{padding:8px 9px}
  .side-story h3{
    font-size:16px;
    line-height:1;
    margin:3px 0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .side-story .meta{font-size:6.8px}

  /* Match cards inside headline */
  .headline-match{
    min-height:76px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:9px 11px;
    border-radius:2px;
  }
  .headline-match .match-top{font-size:7px;margin-bottom:5px}
  .headline-match .teams-mini{font-size:12px;padding:3px 0}
  .headline-match .teams-mini em{font-size:16px}
  .headline-match .match-time{font-size:7px;padding-top:5px;margin-top:3px}

  .rule{margin:18px 0}

  /* Latest news: compact editorial list */
  .content{display:block}
  .news-grid{display:grid;grid-template-columns:1fr;gap:8px}
  .news-grid .card{
    display:grid;
    grid-template-columns:116px minmax(0,1fr);
    min-height:82px;
    border-radius:2px;
  }
  .news-grid .card-media{height:100%;min-height:82px;aspect-ratio:auto}
  .news-grid .card-body{padding:8px 9px}
  .news-grid .card h3{
    font-size:18px;
    line-height:1;
    margin:3px 0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .news-grid .card p{display:none}
  .news-grid .meta{font-size:6.8px}

  /* Popular */
  .sidecol{display:flex;gap:9px;margin-top:18px}
  .darkbox{padding:11px}
  .darkbox h3{font-size:20px;margin-bottom:6px}
  .rank{grid-template-columns:24px minmax(0,1fr);padding:7px 0}
  .rank b{font-size:18px}
  .rank h4{font-size:15px}
  .lightbox{display:none}

  /* Category */
  .category{margin-top:26px}
  .category-grid{grid-template-columns:1fr 1fr;gap:8px}
  .category .card{min-width:0}
  .category .card-media{aspect-ratio:4/3}
  .category .card-body{padding:8px}
  .category .card h3{
    font-size:15.5px;
    line-height:1;
    margin:4px 0 0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .category .meta{font-size:6.5px}

  /* Quick */
  .quick{margin-top:26px;padding:11px;border-radius:3px}
  .quick-head{padding-bottom:7px}
  .quick-head h2{font-size:22px}
  .quick-head a{font-size:7px}
  .quick-grid{grid-template-columns:1fr 1fr}
  .quick-item{padding:9px 8px}
  .quick-item h3{
    font-size:15.5px;
    line-height:1;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* Schedule */
  .module-block{margin-top:25px;padding:11px;border-radius:3px}
  .module-head{padding-bottom:7px;margin-bottom:8px}
  .module-head h2{font-size:22px}
  .module-head a{font-size:7px}
  .match-strip{grid-template-columns:1fr;gap:7px}
  .match-card{padding:10px}
  .match-top{font-size:7px}
  .teams-mini{font-size:12px;padding:6px 0}
  .teams-mini em{font-size:17px}
  .match-time{font-size:7px;padding-top:6px}

  /* Video */
  .video-strip{grid-template-columns:1fr 1fr;gap:7px}
  .video-home-body{padding:7px}
  .video-home-body h3{font-size:15px}
  .video-home-body>span{font-size:6.5px}
  .play-mini{width:25px;height:25px;left:6px;bottom:6px;font-size:9px}

  /* Footer */
  footer{margin-top:34px}
  .footer-main{padding:25px 0}
  .footer-grid{grid-template-columns:1fr;gap:20px}
  .footer-logo{width:140px}
  .footer p{font-size:8.5px}
  .footer h3{font-size:18px}
  .footer-links{gap:6px 10px}
  .footer-links a{font-size:7.5px}
  .copyright{padding:11px 0;font-size:7.5px}
}


/* ===== SEARCH DRAWER ALWAYS IN FRONT ===== */
.search-drawer-front-overlay{
    position:fixed !important;
    inset:0 !important;
    z-index:99998 !important;
    background:rgba(0,0,0,.58) !important;
    display:none;
}
.search-drawer-front-overlay.show{display:block !important}
.search-drawer-front{
    z-index:99999 !important;
}
@media(max-width:640px){
    .search-drawer-front{
        position:fixed !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        left:auto !important;
        width:82vw !important;
        max-width:430px !important;
        height:100dvh !important;
        transform:translateZ(0);
    }
}


/* ===== GRACAK SPORT HOME POLISH V2 ===== */

/* Header desktop */
.brand .wrap{height:82px}
.logo{width:190px}
.nav{border-bottom-width:3px}
.nav a{transition:background .18s ease,color .18s ease}
.nav a.home{font-weight:900}
.search-trigger{border-radius:2px}

/* Headline desktop: editorial hierarchy */
.lead{grid-template-columns:minmax(0,1.72fr) minmax(330px,.78fr);gap:18px}
.hero{border-radius:3px}
.hero-copy{max-width:1000px}
.headline-side{gap:9px}
.side-story,.headline-match{border-radius:3px}
.side-story .thumb{aspect-ratio:4/3}
.headline-match{
  position:relative;
  background:linear-gradient(145deg,#101216,#191c21);
  padding:11px 13px;
}
.headline-match-top{margin-bottom:6px}
.headline-match-teams{
  font-size:19px;
  padding:5px 0;
}
.headline-match-teams strong{max-width:78%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.headline-match-time{font-size:8px}
.headline-match-venue{
  margin-top:5px;color:#737a82;font-size:7.5px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.headline-match .status.live{animation:livePulse 1.5s infinite}
@keyframes livePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(227,19,43,.0)}
  50%{box-shadow:0 0 0 4px rgba(227,19,43,.12)}
}

/* Make schedule cards feel like score cards */
.match-card{border-radius:3px}
.match-card .teams-mini strong{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Mobile portrait */
@media(max-width:640px){
  .brand .wrap{height:60px}
  .logo{width:138px}
  .nav{position:sticky;top:0;z-index:50}
  .nav .wrap{padding-left:5px;padding-right:5px}
  .nav a{padding:10px 9px;font-size:8px}
  .nav a.home{padding-left:12px;padding-right:12px}
  .search-trigger{width:34px;height:34px}

  main{padding-top:13px}
  .section-title{margin-bottom:9px}
  .section-title h2{font-size:21px}

  /* Main hero: strong 4:3 portrait crop */
  .hero{
    aspect-ratio:4/3 !important;
    min-height:0 !important;
    border-radius:3px;
  }
  .hero-copy{left:13px;right:13px;bottom:13px}
  .hero h1{
    font-size:29px;
    line-height:.96;
    -webkit-line-clamp:3;
    text-shadow:0 2px 8px rgba(0,0,0,.25);
  }

  /* Supporting headline cards */
  .headline-side{gap:7px;margin-top:8px}
  .side-story{
    min-height:76px;
    grid-template-columns:94px minmax(0,1fr);
  }
  .side-story .thumb{aspect-ratio:4/3}
  .side-story .copy{padding:8px 9px}
  .side-story h3{font-size:16px;line-height:1}
  .side-story .meta{font-size:6.7px}

  /* Headline score cards */
  .headline-match{
    min-height:78px;
    padding:8px 10px;
  }
  .headline-match-top{font-size:6.8px;margin-bottom:3px}
  .headline-match-teams{font-size:15px;padding:3px 0}
  .headline-match-teams em{font-size:17px}
  .headline-match-time{font-size:6.8px;padding-top:4px}
  .headline-match-venue{font-size:6.5px;margin-top:3px}

  /* Latest: fast-scanning list */
  .news-grid{gap:8px}
  .news-grid .card{
    grid-template-columns:112px minmax(0,1fr);
    min-height:80px;
  }
  .news-grid .card-media{min-height:80px}
  .news-grid .card-body{padding:8px 9px}
  .news-grid .card h3{font-size:17px;line-height:1}
  .news-grid .meta{font-size:6.5px}

  /* Category */
  .category-grid{gap:8px}
  .category .card-media{aspect-ratio:4/3}
  .category .card h3{font-size:15px}

  /* Prevent long names from breaking cards */
  .teams-mini strong,.headline-match-teams strong{min-width:0}
}

/* Extra-small phones */
@media(max-width:380px){
  .logo{width:128px}
  .nav a{padding-left:8px;padding-right:8px}
  .hero h1{font-size:27px}
  .news-grid .card{grid-template-columns:102px minmax(0,1fr)}
  .news-grid .card h3{font-size:16px}
  .side-story{grid-template-columns:88px minmax(0,1fr)}
  .side-story h3{font-size:15px}
}


/* ===== HOME V3 — LATEST NEWS EDITORIAL FEED ===== */
.latest-feed-note{
  color:#858a91;font-size:8px;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em
}
.news-grid .card{position:relative}
.news-grid .card .card-body{min-width:0}
.news-grid .card h3{overflow-wrap:anywhere}
.news-grid .card .meta{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
.news-grid .card-media{position:relative}
.news-grid .card-media:after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 70%,rgba(0,0,0,.12));
  pointer-events:none
}
.news-grid .card:hover .card-media:after{background:rgba(0,0,0,.04)}
.news-grid .card-body .meta .dot{color:var(--red)}

@media(max-width:640px){
  /* Latest becomes a clean newsroom feed */
  .news-grid{gap:7px}
  .news-grid .card{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    align-items:stretch;
    min-height:82px;
    border:1px solid #dedfe0;
    box-shadow:0 1px 4px rgba(0,0,0,.025);
    background:#fff;
  }
  .news-grid .card-media{
    height:100%;
    min-height:82px;
    aspect-ratio:auto;
    border-right:1px solid #e3e4e5;
  }
  .news-grid .card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .news-grid .card-body{
    padding:8px 9px 7px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .news-grid .card .meta{
    font-size:6.5px;
    line-height:1.15;
    margin-bottom:1px;
  }
  .news-grid .card h3{
    font-size:17px;
    line-height:1.02;
    margin:3px 0 0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .news-grid .card p{display:none}

  /* Slight visual distinction for very fresh items */
  .news-grid .card:first-child{
    border-left:3px solid var(--red);
  }

  .latest-feed-note{
    font-size:6.5px;
    white-space:nowrap;
  }
}

@media(max-width:380px){
  .news-grid .card{
    grid-template-columns:100px minmax(0,1fr);
    min-height:76px;
  }
  .news-grid .card-media{min-height:76px}
  .news-grid .card-body{padding:7px 8px}
  .news-grid .card h3{font-size:16px}
}


/* ===== HOME V4 — CATEGORY + POPULAR ===== */

/* Category section */
.category{
  position:relative;
}
.category .section-title{
  margin-bottom:14px;
}
.category-grid{
  align-items:stretch;
}
.category .card{
  position:relative;
}
.category .card-body{
  min-height:88px;
}
.category .card h3{
  overflow-wrap:anywhere;
}
.category .card .meta{
  color:#858a91;
}
.category .card:first-child{
  border-top:3px solid var(--red);
}
.category .card:hover .card-media img{
  transform:scale(1.035);
}

/* Popular ranking */
.darkbox{
  overflow:hidden;
}
.darkbox h3{
  display:flex;
  align-items:center;
  gap:8px;
}
.darkbox h3:before{
  content:'';
  display:block;
  width:4px;
  height:21px;
  background:var(--red);
}
.rank{
  position:relative;
  grid-template-columns:34px minmax(0,1fr);
}
.rank b{
  color:var(--yellow);
  font-variant-numeric:tabular-nums;
}
.rank h4{
  overflow-wrap:anywhere;
}
.rank:first-of-type{
  background:linear-gradient(90deg,rgba(227,19,43,.12),transparent);
}
.rank:first-of-type b{
  color:var(--red2);
}
.rank:hover{
  background:rgba(255,255,255,.035);
}

/* Mobile category: visual cards, but compact */
@media(max-width:640px){
  .category{
    margin-top:27px;
  }
  .category .section-title{
    margin-bottom:9px;
  }
  .category-grid{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  .category .card{
    border-radius:2px;
  }
  .category .card:first-child{
    border-top-width:2px;
  }
  .category .card-media{
    aspect-ratio:4/3 !important;
  }
  .category .card-body{
    min-height:72px;
    padding:7px 8px 9px;
  }
  .category .card .meta{
    font-size:6.3px;
    line-height:1.1;
  }
  .category .card h3{
    font-size:15px;
    line-height:1.02;
    margin:4px 0 0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  /* Popular box becomes a clear mobile ranking module */
  .sidecol{
    margin-top:17px;
  }
  .darkbox{
    border-radius:3px;
    padding:11px 12px;
  }
  .darkbox h3{
    font-size:20px;
    margin-bottom:5px;
  }
  .darkbox h3:before{
    width:3px;
    height:18px;
  }
  .rank{
    grid-template-columns:25px minmax(0,1fr);
    padding:8px 0;
  }
  .rank b{
    font-size:18px;
  }
  .rank h4{
    font-size:15.5px;
    line-height:1.03;
  }
}

/* Very small screens */
@media(max-width:380px){
  .category-grid{gap:6px}
  .category .card-body{min-height:68px;padding:7px}
  .category .card h3{font-size:14px}
  .rank{grid-template-columns:23px minmax(0,1fr)}
  .rank b{font-size:17px}
  .rank h4{font-size:14.5px}
}


/* ===== HOME FINAL — LOWER MODULES ===== */

/* Quick / Editor's picks */
.quick{
  border-radius:3px;
  overflow:hidden;
}
.quick-head{
  align-items:center;
}
.quick-head h2{
  letter-spacing:.015em;
}
.quick-item{
  min-width:0;
}
.quick-item h3{
  overflow-wrap:anywhere;
}
.quick-item:first-child{
  background:rgba(227,19,43,.055);
}

/* Schedule */
.module-block{
  border-radius:3px;
}
.module-head h2{
  display:flex;
  align-items:center;
  gap:8px;
}
.module-head h2:before{
  content:'';
  width:4px;
  height:24px;
  background:var(--red);
  display:inline-block;
}
.match-card{
  border-radius:3px;
  position:relative;
  overflow:hidden;
}
.match-card:before{
  content:'';
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:transparent;
}
.match-card:has(.status.live):before{background:var(--red)}
.match-card:has(.status.upcoming):before{background:var(--yellow)}
.match-card .teams-mini strong{
  max-width:75%;
}
.status.live{
  animation:livePulse 1.5s infinite;
}

/* Video */
.video-home-card{
  border-radius:3px;
  overflow:hidden;
}
.video-home-thumb{
  background:#090a0c;
}
.video-home-body h3{
  overflow-wrap:anywhere;
}
.play-mini{
  box-shadow:0 5px 15px rgba(0,0,0,.28);
}

/* Footer */
footer{
  position:relative;
}
.footer-links a{
  transition:.15s ease;
}

/* Mobile lower modules */
@media(max-width:640px){
  .quick{
    margin-top:25px;
    padding:11px;
  }
  .quick-head{
    padding-bottom:7px;
  }
  .quick-head h2{font-size:22px}
  .quick-grid{
    grid-template-columns:1fr 1fr;
  }
  .quick-item{
    padding:9px 8px;
    min-height:74px;
  }
  .quick-item h3{
    font-size:15.5px;
    line-height:1.02;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .quick-item .meta{font-size:6.5px}

  .module-block{
    margin-top:25px;
    padding:11px;
    border-radius:3px;
  }
  .module-head{
    padding-bottom:7px;
    margin-bottom:8px;
  }
  .module-head h2{
    font-size:22px;
    gap:6px;
  }
  .module-head h2:before{
    width:3px;height:18px;
  }
  .module-head a{font-size:7px}

  .match-strip{
    grid-template-columns:1fr;
    gap:7px;
  }
  .match-card{
    padding:10px 10px 9px;
  }
  .match-top{
    font-size:7px;
    margin-bottom:5px;
  }
  .teams-mini{
    font-size:12px;
    padding:6px 0;
  }
  .teams-mini em{font-size:17px}
  .match-time{
    font-size:7px;
    padding-top:6px;
    margin-top:3px;
  }

  .video-strip{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  .video-home-body{
    padding:7px;
  }
  .video-home-body h3{
    font-size:15px;
    line-height:1.02;
  }
  .video-home-body>span{font-size:6.5px}
  .play-mini{
    width:25px;height:25px;
    left:6px;bottom:6px;font-size:9px;
  }

  footer{margin-top:34px}
}

/* Mobile footer/navigation polish */
@media(max-width:640px){
  .footer-grid{gap:20px}
  .footer-main{padding:25px 0}
  .footer-logo{width:140px}
  .footer p{font-size:8.5px;line-height:1.6}
  .footer h3{font-size:18px}
  .footer-links{gap:6px 10px}
  .footer-links a{font-size:7.5px}
}

/* Accessibility / tap targets */
@media(max-width:640px){
  .nav a,.search-trigger,.section-title a,.module-head a,.quick-head a{
    -webkit-tap-highlight-color:transparent;
  }
  .search-trigger{min-width:34px}
}


/* ===== BERITA PILIHAN — READABILITY & EDITORIAL V2 ===== */
.quick{
  margin-top:46px;
  background:#fff;
  color:#111318;
  border:1px solid #d9dbde;
  border-radius:10px;
  padding:0;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.quick-head{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 22px 16px;
  background:#111318;
  border-bottom:3px solid var(--red);
  margin:0;
}
.quick-head h2{
  position:relative;
  font-family:'Barlow Condensed',sans-serif;
  font-size:30px;
  line-height:1;
  letter-spacing:.02em;
  color:#fff;
  text-transform:uppercase;
  margin:0;
}
.quick-head h2:before{
  content:'';
  display:inline-block;
  width:4px;
  height:27px;
  background:var(--red);
  margin-right:10px;
  vertical-align:-5px;
}
.quick-head a{
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  opacity:.78;
  white-space:nowrap;
}
.quick-head a:hover{opacity:1;color:#fff}
.quick-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  background:#fff;
}
.quick-item{
  position:relative;
  min-width:0;
  min-height:148px;
  padding:18px 17px 18px 48px;
  background:#fff;
  color:#111318;
  border-right:1px solid #e1e3e5;
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.quick-item:last-child{border-right:0}
.quick-item:before{
  content:counter(quick);
  counter-increment:quick;
  position:absolute;
  left:17px;
  top:18px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fbecef;
  color:var(--red);
  font-family:'Barlow Condensed',sans-serif;
  font-size:14px;
  font-weight:800;
}
.quick-grid{counter-reset:quick}
.quick-item:hover{
  background:#fafafa;
  box-shadow:inset 0 -3px 0 var(--red);
}
.quick-item .meta{
  color:#777d85;
  font-size:8px;
  line-height:1.35;
  letter-spacing:.06em;
  font-weight:800;
  text-transform:uppercase;
}
.quick-item h3{
  color:#15171b;
  font-family:'Barlow Condensed',sans-serif;
  font-size:21px;
  line-height:1.04;
  letter-spacing:.005em;
  text-transform:uppercase;
  margin:8px 0 0;
}
@media(max-width:980px){
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-item{border-right:1px solid #e1e3e5;border-bottom:1px solid #e1e3e5;min-height:135px}
  .quick-item:nth-child(2n){border-right:0}
  .quick-item:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:640px){
  .quick{
    margin-top:28px;
    border-radius:9px;
    box-shadow:0 5px 16px rgba(0,0,0,.05);
  }
  .quick-head{
    min-height:60px;
    padding:15px 15px 13px;
    border-bottom-width:2px;
  }
  .quick-head h2{font-size:23px}
  .quick-head h2:before{height:20px;width:3px;margin-right:7px;vertical-align:-4px}
  .quick-head a{font-size:7px}
  .quick-grid{grid-template-columns:1fr}
  .quick-item{
    min-height:0;
    padding:14px 14px 14px 48px;
    border-right:0;
    border-bottom:1px solid #e5e6e8;
  }
  .quick-item:last-child{border-bottom:0}
  .quick-item:nth-last-child(-n+2){border-bottom:1px solid #e5e6e8}
  .quick-item:last-child{border-bottom:0}
  .quick-item:before{left:14px;top:15px;width:23px;height:23px;font-size:13px}
  .quick-item .meta{font-size:7px}
  .quick-item h3{font-size:18px;line-height:1.02;margin-top:5px}
}




.site-footer-premium{
  margin-top:64px;
  background:#0b0d10;
  color:#fff;
  border-top:1px solid #252a31;
}
.footer-main{
  max-width:1180px;
  margin:0 auto;
  padding:48px 24px 38px;
  display:grid;
  grid-template-columns:minmax(280px,1.6fr) minmax(150px,.8fr) minmax(190px,1fr);
  gap:55px;
}
.footer-brand{max-width:440px}
.footer-logo{
  display:inline-flex;
  align-items:baseline;
  gap:7px;
  color:#fff;
  font-weight:900;
  font-size:30px;
  line-height:1;
  letter-spacing:-.055em;
}
.footer-logo .footer-dot{color:#e31b23}
.footer-logo b{
  color:#f4c400;
  font-size:13px;
  letter-spacing:.12em;
}
.footer-desc{
  margin:18px 0 20px;
  max-width:410px;
  color:#9ca3ad;
  font-size:13px;
  line-height:1.7;
}
.footer-social{
  display:flex;
  gap:9px;
  align-items:center;
}
.footer-social a{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #30353d;
  border-radius:50%;
  color:#fff;
  background:#15181d;
  transition:.2s ease;
}
.footer-social svg{
  width:18px;
  height:18px;
  fill:currentColor;
}
.footer-social .social-instagram svg{
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}
.footer-social .social-instagram svg .fill{
  fill:currentColor;
  stroke:none;
}
.footer-social a:hover{
  color:#fff;
  border-color:#e31b23;
  background:#e31b23;
  transform:translateY(-2px);
  box-shadow:0 5px 16px rgba(227,27,35,.24);
}
.footer-col{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.footer-col h3{
  margin:0 0 8px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.footer-col a{
  color:#9ca3ad;
  font-size:13px;
  line-height:1.45;
  transition:.2s ease;
}
.footer-col a:hover{color:#fff}
.footer-bottom-premium{
  max-width:1180px;
  margin:0 auto;
  padding:18px 24px 22px;
  border-top:1px solid #252a31;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color:#777f89;
  font-size:11px;
}
.footer-bottom-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-bottom-links a{color:#8f969f}
.footer-bottom-links a:hover{color:#fff}
.footer-bottom-links span{color:#3e444c}

@media(max-width:760px){
  .site-footer-premium{margin-top:42px}
  .footer-main{
    padding:34px 18px 28px;
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
  }
  .footer-brand{
    grid-column:1 / -1;
    max-width:none;
  }
  .footer-logo{font-size:27px}
  .footer-desc{max-width:560px;margin-top:14px}
  .footer-col h3{font-size:11px}
  .footer-col a{font-size:12px}
  .footer-bottom-premium{
    padding:16px 18px 20px;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
  }
}
@media(max-width:430px){
  .footer-main{
    grid-template-columns:1fr 1fr;
    gap:26px 16px;
  }
  .footer-brand{padding-bottom:3px}
  .footer-desc{font-size:12px;line-height:1.65}
  .footer-social a{width:34px;height:34px}.footer-social svg{width:16px;height:16px}
  .footer-bottom-premium{font-size:10px}
  .footer-bottom-links{font-size:10px}
}



.footer-social .social-facebook{border-color:#30353d}
.footer-social .social-instagram{border-color:#30353d}
.footer-social .social-tiktok{border-color:#30353d}
.footer-social .social-youtube{border-color:#30353d}
.footer-social .social-facebook:hover,
.footer-social .social-instagram:hover,
.footer-social .social-tiktok:hover,
.footer-social .social-youtube:hover{
  background:#e31b23;
  border-color:#e31b23;
}
.footer-social a:focus-visible{
  outline:2px solid #f4c400;
  outline-offset:3px;
}



.footer-logo{
  display:inline-flex !important;
  align-items:center !important;
  width:185px !important;
  max-width:100% !important;
}
.footer-logo img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:58px !important;
  object-fit:contain !important;
  object-position:left center !important;
}
@media(max-width:760px){
  .footer-logo{width:165px !important}
  .footer-logo img{max-height:48px !important}
}



.footer-social{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  height:40px !important;
}
.footer-social a{
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  border-radius:50% !important;
  line-height:0 !important;
}
.footer-social svg{
  width:18px !important;
  height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  display:block !important;
  flex:0 0 18px !important;
  overflow:visible !important;
  fill:currentColor !important;
  stroke:none !important;
}
.footer-social .social-instagram svg{
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8 !important;
}
.footer-social .social-instagram svg circle:last-child{
  fill:currentColor !important;
  stroke:none !important;
}
.footer-social a:hover{
  background:#ed172c !important;
  border-color:#ed172c !important;
  color:#fff !important;
}
@media(max-width:430px){
  .footer-social{gap:8px !important;height:38px !important}
  .footer-social a{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
  }
  .footer-social svg{
    width:17px !important;
    height:17px !important;
    max-width:17px !important;
    max-height:17px !important;
    flex-basis:17px !important;
  }
}



/* ===== FINAL UX POLISH ===== */
html{overflow-x:hidden}
body{overflow-x:hidden}

/* Consistent section rhythm */
main > section,
main > .section,
.quick,
.module-block{
  scroll-margin-top:80px;
}

/* Prevent cards from changing layout because of long headlines */
.news-card h2,.news-card h3,
.latest-card h2,.latest-card h3,
.category-card h2,.category-card h3,
.popular-card h2,.popular-card h3,
.quick-item h3,
.video-home-body h3{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Images: no distortion and stable boxes */
img{
  max-width:100%;
}
.news-card img,
.latest-card img,
.category-card img,
.popular-card img,
.quick-item img,
.video-home-thumb img{
  object-fit:cover !important;
}

/* Cleaner shadows and borders */
.news-card,.latest-card,.category-card,.popular-card,.quick-item,
.module-block,.quick{
  box-shadow:0 3px 12px rgba(0,0,0,.055);
}

/* Search should always sit above homepage content */
.search-overlay,
.search-drawer,
.search-modal{
  z-index:9999 !important;
}
.search-overlay{
  position:fixed !important;
}

/* Avoid accidental horizontal movement from wide children */
.container,.wrap,.content,.section-inner{
  max-width:100%;
}

/* Headline swipe */
@media(max-width:640px){
  .lead{
    scrollbar-width:none !important;
    overscroll-behavior-x:contain !important;
    -webkit-overflow-scrolling:touch !important;
  }
  .lead::-webkit-scrollbar{display:none !important}

  /* Keep headline slide width stable */
  .lead > .hero,
  .lead > .side-story,
  .lead > .headline-match{
    box-sizing:border-box !important;
  }

  /* Make headline text readable without excessive height */
  .lead h1,
  .lead h2{
    line-height:1.04 !important;
  }

  /* Four indicator bars */
  .headline-swipe-cue{
    position:relative !important;
    width:145px !important;
    height:4px !important;
    margin:7px auto 2px !important;
    display:block !important;
    background:
      linear-gradient(90deg,
        #e31b23 0 25%,
        #d9dcdf 25% 26.5%,
        #d9dcdf 26.5% 50%,
        #d9dcdf 50% 51.5%,
        #d9dcdf 51.5% 75%,
        #d9dcdf 75% 76.5%,
        #d9dcdf 76.5% 100%) !important;
    border-radius:99px !important;
  }

  /* Reduce excessive vertical gaps */
  .quick,.module-block{
    margin-top:22px !important;
  }

  /* Compact cards */
  .news-card,.latest-card,.category-card,.popular-card{
    min-width:0 !important;
  }

  /* Prevent long buttons/links from causing overflow */
  a,button{
    max-width:100%;
  }

  /* Footer stays compact */
  .site-footer-premium{
    margin-top:38px !important;
  }
}

/* Respect reduced-motion preference */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}



/* =========================================================
   GRACAK SPORT — RESPONSIVE REDESIGN
   Desktop: editorial grid / Mobile: compact touch-first
   ========================================================= */
:root{
  --container:1320px;
  --gutter:22px;
  --radius:8px;
  --soft-shadow:0 8px 24px rgba(8,10,12,.07);
}
body{overflow-x:hidden}
.wrap{width:min(var(--container),calc(100% - (var(--gutter)*2)))}
main .wrap{min-width:0}
main{padding-bottom:55px}

/* Header */
.brand .wrap{min-height:86px}
.logo{max-width:200px;height:auto}
.nav .wrap{scrollbar-width:none}
.nav .wrap::-webkit-scrollbar{display:none}
.nav a{flex:0 0 auto}

/* Breaking news */
.breaking-title{min-width:0}
.breaking-time{flex:0 0 auto}

/* Headline desktop */
.lead{
  grid-template-columns:minmax(0,1.62fr) minmax(360px,.78fr);
  gap:20px;
}
.hero{
  aspect-ratio:16/9;
  min-height:430px;
  border-radius:var(--radius);
}
.hero-copy{left:32px;right:32px;bottom:30px}
.hero h1{
  font-size:clamp(42px,4.3vw,62px);
  line-height:.94;
  max-width:920px;
}
.headline-side{
  grid-template-rows:repeat(4,minmax(0,1fr));
  gap:12px;
}
.side-story{
  min-height:0;
  grid-template-columns:128px minmax(0,1fr);
  border-radius:var(--radius);
}
.side-story .thumb{
  aspect-ratio:16/9;
  height:100%;
}
.side-story .copy{min-width:0}
.side-story h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* Content area */
.content{
  grid-template-columns:minmax(0,1fr) 300px;
  gap:28px;
}
.news-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.card{
  min-width:0;
  border-radius:var(--radius);
  box-shadow:none;
}
.card-media{aspect-ratio:16/9}
.card-body{min-width:0}
.card h3{
  font-size:clamp(22px,2vw,28px);
  line-height:.99;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.card p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* Categories */
.category-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.category .card h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* Quick / video / matches */
.quick-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.quick-item{min-width:0}
.video-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
.video-home-card{min-width:0;border-radius:var(--radius);overflow:hidden}
.video-home-body h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.match-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
.match-card{min-width:0;border-radius:var(--radius)}
.score-teams>div{min-width:0}
.score-teams strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Footer */
.site-footer-premium{margin-top:55px}
.footer-main{max-width:var(--container);margin:auto;padding-left:var(--gutter);padding-right:var(--gutter)}

/* Tablet */
@media(max-width:1100px) and (min-width:701px){
  :root{--gutter:18px}
  .lead{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr)}
  .hero{min-height:380px}
  .hero h1{font-size:45px}
  .side-story{grid-template-columns:100px minmax(0,1fr)}
  .side-story h3{font-size:18px}
  .content{grid-template-columns:minmax(0,1fr) 270px;gap:20px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .quick-item:nth-child(3){border-right:0}
  .quick-item:nth-child(n+4){border-top:1px solid #292d33}
  .video-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .match-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile portrait */
@media(max-width:700px){
  :root{--gutter:11px}
  .wrap{width:calc(100% - 22px)}

  .brand .wrap{
    height:64px;
    min-height:64px;
    justify-content:center;
  }
  .logo{width:150px}
  .brand-note{display:none}

  .nav .wrap{
    width:100%;
    padding:0 7px;
  }
  .nav a{
    padding:12px 10px;
    font-size:9px;
  }
  .nav a:after{display:none}

  .breaking .wrap{width:100%;padding:0 11px}
  .breaking-label{margin-right:8px;padding:0 8px}
  .breaking-title{font-size:10px}
  .breaking-time{display:none}

  main{padding-top:16px;padding-bottom:38px}

  .section-title{
    padding-bottom:8px;
    margin-bottom:12px;
  }
  .section-title h2{font-size:23px}
  .section-title h2:before{height:19px;width:4px;margin-right:7px}
  .section-title a{font-size:8px}

  /* Headline: 1 main story + 4 swipeable secondary stories */
  .lead{
    display:block;
  }
  .lead>.hero{
    width:100%;
    min-height:0;
    aspect-ratio:4/3;
    border-radius:8px;
  }
  .hero-copy{
    left:15px;
    right:15px;
    bottom:15px;
  }
  .hero h1{
    font-size:clamp(32px,9.5vw,43px);
    line-height:.94;
    -webkit-line-clamp:4;
  }
  .hero p{
    display:none;
  }
  .hero .badge{padding:5px 7px;font-size:8px}

  .headline-side{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    gap:10px !important;
    margin-top:10px;
    padding-bottom:4px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x;
  }
  .headline-side::-webkit-scrollbar{display:none}
  .headline-side .side-story{
    flex:0 0 calc(100vw - 22px);
    width:calc(100vw - 22px);
    min-height:0;
    height:auto;
    grid-template-columns:120px minmax(0,1fr);
    border-radius:8px;
    scroll-snap-align:start;
    box-shadow:var(--soft-shadow);
  }
  .headline-side .side-story .thumb{
    width:120px;
    height:82px;
    aspect-ratio:16/9;
    align-self:center;
  }
  .headline-side .side-story .copy{
    padding:9px 10px;
  }
  .headline-side .side-story h3{
    font-size:18px;
    line-height:1;
    -webkit-line-clamp:3;
    margin:4px 0 0;
  }
  .headline-side .meta{font-size:7px}

  /* Add visual swipe affordance */
  .headline-side:after{
    content:'';
    flex:0 0 18px;
  }

  .content{display:block}
  .news-grid{display:grid;grid-template-columns:1fr;gap:10px}

  /* Latest news: horizontal list */
  .news-grid .card{
    display:block;
    border-radius:8px;
    box-shadow:none;
  }
  .news-grid .card>a{
    display:grid;
    grid-template-columns:118px minmax(0,1fr);
    gap:11px;
    padding:8px;
    align-items:start;
  }
  .news-grid .card-media{
    width:118px;
    height:76px;
    aspect-ratio:16/9;
    border-radius:6px;
  }
  .news-grid .card-body{padding:1px 2px 2px;min-width:0}
  .news-grid .card h3{
    font-size:17px;
    line-height:1.04;
    margin:4px 0 0;
    -webkit-line-clamp:3;
  }
  .news-grid .card p{display:none}
  .news-grid .meta{font-size:7px}

  .sidecol{display:flex;gap:12px;margin-top:18px}
  .darkbox,.lightbox{border-radius:8px}
  .darkbox{padding:14px}
  .darkbox h3,.lightbox h3{font-size:22px}

  /* Category: two columns on portrait */
  .category{margin-top:28px}
  .category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .category .card{border-radius:7px}
  .category .card-media{aspect-ratio:16/9}
  .category .card-body{padding:9px}
  .category .card h3{
    font-size:17px;
    line-height:1;
    -webkit-line-clamp:3;
    margin:4px 0 0;
  }
  .category .meta{font-size:7px}

  /* Choice stories */
  .quick{
    margin-top:28px;
    padding:14px;
    border-radius:8px;
  }
  .quick-head{align-items:center}
  .quick-head h2{font-size:24px}
  .quick-grid{grid-template-columns:1fr 1fr}
  .quick-item{padding:12px 9px}
  .quick-item h3{font-size:17px;line-height:1.03;-webkit-line-clamp:3}
  .quick-item .meta{font-size:7px}

  /* Video */
  .module-block{
    margin-top:28px;
    padding:14px;
    border-radius:8px;
  }
  .module-head h2{font-size:24px}
  .video-strip{
    display:flex;
    overflow-x:auto;
    gap:10px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .video-strip::-webkit-scrollbar{display:none}
  .video-home-card{
    flex:0 0 82%;
    scroll-snap-align:start;
  }
  .video-home-body h3{font-size:18px}

  /* Match center: horizontal cards */
  .home-schedule-score{padding:14px}
  .match-strip{
    display:flex;
    overflow-x:auto;
    gap:10px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .match-strip::-webkit-scrollbar{display:none}
  .match-card{
    flex:0 0 82%;
    scroll-snap-align:start;
  }

  /* Footer */
  .site-footer-premium{margin-top:38px}
  .footer-main{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:26px 18px;
    padding:32px 11px 25px;
  }
  .footer-brand{grid-column:1/-1}
  .footer-logo{width:160px}
  .footer-desc{font-size:11px;line-height:1.6}
  .footer-col h3{font-size:11px}
  .footer-col a{font-size:11px}
  .footer-bottom-premium{
    padding:15px 11px 18px;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}

/* Very small phones */
@media(max-width:380px){
  .hero h1{font-size:31px}
  .headline-side .side-story{
    grid-template-columns:105px minmax(0,1fr);
  }
  .headline-side .side-story .thumb{
    width:105px;height:70px;
  }
  .news-grid .card>a{
    grid-template-columns:105px minmax(0,1fr);
  }
  .news-grid .card-media{
    width:105px;height:68px;
  }
  .news-grid .card h3{font-size:15px}
  .category .card h3{font-size:15px}
}



/* =========================================================
   GRACAK SPORT — SEARCH FINAL FIX
   Search drawer is always above nav/content and cannot be
   clipped by the mobile horizontal navigation.
   ========================================================= */

.search-trigger{
  position:relative !important;
  z-index:10003 !important;
}

.search-drawer-overlay.search-drawer-front-overlay{
  position:fixed !important;
  inset:0 !important;
  z-index:10000 !important;
  background:rgba(0,0,0,.52) !important;
}

.search-dropdown.search-drawer-front{
  z-index:10001 !important;
}

@media(max-width:640px){
  /* The nav may scroll horizontally, but the search panel must not */
  .nav .wrap{
    position:relative !important;
    z-index:10002 !important;
  }

  .search-wrap{
    position:sticky !important;
    right:0 !important;
    z-index:10003 !important;
    flex:0 0 auto !important;
    background:var(--black,#111) !important;
  }

  .search-trigger{
    position:relative !important;
    z-index:10004 !important;
  }

  .search-drawer-front.search-dropdown{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    width:min(86vw,430px) !important;
    height:100dvh !important;
    max-height:100dvh !important;
    margin:0 !important;
    padding:0 !important;
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    transform:translateX(100%) !important;
    z-index:10001 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    background:#fff !important;
    box-sizing:border-box !important;
    border:0 !important;
    border-left:1px solid #ddd !important;
    box-shadow:-10px 0 30px rgba(0,0,0,.24) !important;
  }

  .search-drawer-front.search-dropdown.show{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    transform:translateX(0) !important;
  }

  .search-drawer-front.search-dropdown .search-drawer-head{
    position:sticky !important;
    top:0 !important;
    z-index:2 !important;
  }

  .search-drawer-front.search-dropdown .search-drawer-body{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .search-drawer-front.search-dropdown .search-form{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .search-drawer-front.search-dropdown input{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .search-drawer-front.search-dropdown button{
    visibility:visible !important;
  }

  .search-drawer-overlay.search-drawer-front-overlay{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
  }

  .search-drawer-overlay.search-drawer-front-overlay.show{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  body.search-drawer-open{
    overflow:hidden !important;
    position:relative !important;
  }
}

/* Desktop: ensure dropdown stays above everything */
@media(min-width:641px){
  .search-dropdown.search-drawer-front{
    position:absolute !important;
    z-index:10001 !important;
  }
}



/* ===== GRACAK SPORT LIGHT / DARK MODE ===== */
:root{
  --theme-bg:#f2f2f0;
  --theme-surface:#ffffff;
  --theme-surface-2:#f7f7f5;
  --theme-text:#111318;
  --theme-muted:#727780;
  --theme-line:#dadcde;
  --theme-soft:#eceeed;
}

body{
  background:var(--theme-bg);
  color:var(--theme-text);
  transition:background-color .22s ease,color .22s ease;
}

/* Top-most mode bar */
.theme-bar{
  height:36px;
  background:#050607;
  color:#aeb3ba;
  border-bottom:1px solid #1d2024;
}
.theme-bar .theme-inner{
  width:min(var(--max),calc(100% - 44px));
  height:100%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.theme-toggle{
  height:26px;
  display:inline-flex;
  align-items:center;
  gap:2px;
  padding:2px;
  border:1px solid #30343a;
  border-radius:999px;
  background:#111317;
  color:#aeb3ba;
  cursor:pointer;
  font:700 9px/1 Inter,Arial,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
  transition:.2s ease;
}
.theme-toggle:hover{border-color:#555b63}
.theme-toggle .theme-option{
  min-width:72px;
  height:20px;
  padding:0 9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  border-radius:999px;
  transition:.2s ease;
}
.theme-toggle .theme-option.active{
  background:#fff;
  color:#111318;
}
.theme-toggle .theme-icon{font-size:11px;line-height:1}

/* Light theme surfaces */
body.light-mode .breaking{background:var(--theme-surface);border-bottom-color:var(--theme-line)}
body.light-mode .side-story,
body.light-mode .card,
body.light-mode .lightbox,
body.light-mode .module-block{
  background:var(--theme-surface);
  color:var(--theme-text);
  border-color:var(--theme-line);
}
body.light-mode .section-title{border-bottom-color:#cfd1d2}
body.light-mode .card p{color:#70757c}
body.light-mode .empty{background:var(--theme-surface);border-color:#c9c9c6;color:#777}
body.light-mode .search-dropdown{background:#fff;color:#111}
body.light-mode .search-form input{background:#fff;color:#111}
body.light-mode .search-suggest a{background:#f2f3f4;color:#333}

/* Dark theme */
body.dark-mode{
  --theme-bg:#0c0e11;
  --theme-surface:#15181d;
  --theme-surface-2:#111419;
  --theme-text:#f4f5f6;
  --theme-muted:#9da3ab;
  --theme-line:#2b3036;
  --theme-soft:#1c2025;
  background:#0c0e11;
  color:#f4f5f6;
}
body.dark-mode .theme-bar{
  background:#08090b;
  border-bottom-color:#24282e;
}
body.dark-mode .theme-toggle{
  background:#15181d;
  border-color:#363b43;
  color:#aeb3ba;
}
body.dark-mode .theme-toggle .theme-option.active{
  background:#f4f5f6;
  color:#111318;
}
body.dark-mode .utility{
  background:#08090b;
  border-bottom-color:#252930;
}
body.dark-mode .brand{
  background:linear-gradient(180deg,#101216 0%,#08090b 100%);
}
body.dark-mode .breaking{
  background:#111419;
  color:#f4f5f6;
  border-bottom-color:#292e34;
}
body.dark-mode .breaking-title{color:#f4f5f6}
body.dark-mode .breaking-time{color:#8d949d}
body.dark-mode .section-title{border-bottom-color:#343940}
body.dark-mode .section-title a{color:#9ba1a9}
body.dark-mode .section-title a:hover{color:var(--red)}
body.dark-mode .side-story,
body.dark-mode .card,
body.dark-mode .lightbox,
body.dark-mode .module-block{
  background:#15181d;
  color:#f4f5f6;
  border-color:#2b3036;
}
body.dark-mode .side-story h3,
body.dark-mode .card h3,
body.dark-mode .lightbox h3,
body.dark-mode .module-head h2,
body.dark-mode .section-title h2{
  color:#f4f5f6;
}
body.dark-mode .side-story .meta,
body.dark-mode .card .meta,
body.dark-mode .lightbox .meta,
body.dark-mode .card p{
  color:#9da3ab;
}
body.dark-mode .card-media,
body.dark-mode .category .card-media{
  background:#20242a;
}
body.dark-mode .rule{background:#2b3036}
body.dark-mode .lightbox .match{border-top-color:#2b3036}
body.dark-mode .score{background:#f4f5f6;color:#111}
body.dark-mode .module-block{
  box-shadow:0 4px 18px rgba(0,0,0,.22);
}
body.dark-mode .module-head{border-bottom-color:#343940}
body.dark-mode .search-dropdown{
  background:#15181d;
  color:#f4f5f6;
  border-color:#30353c;
}
body.dark-mode .search-drawer-head{
  background:#15181d;
  border-bottom-color:#30353c;
}
body.dark-mode .search-form{
  border-color:#3b4048;
  background:#111419;
}
body.dark-mode .search-form input{
  background:#111419;
  color:#f4f5f6;
}
body.dark-mode .search-form input::placeholder{color:#777f88}
body.dark-mode .search-hint{color:#9299a2}
body.dark-mode .search-suggest-title{
  color:#aeb4bc;
  border-top-color:#30353c;
}
body.dark-mode .search-suggest a{
  background:#1b1f24;
  color:#e8eaec;
  border-left-color:#363b43;
}
body.dark-mode .search-drawer-head button{color:#aeb4bc}
body.dark-mode .error{
  background:#291619;
  color:#ff9ca7;
  border-color:#633038;
}
body.dark-mode .empty{
  background:#15181d;
  color:#9da3ab;
  border-color:#363b43;
}
body.dark-mode .category .card{
  background:#15181d;
}
body.dark-mode .category .card-body{color:#f4f5f6}

/* Keep existing intentionally-dark editorial modules unchanged */
body.dark-mode .darkbox,
body.dark-mode .quick,
body.dark-mode .match-card,
body.dark-mode .video-home-card{
  color:#fff;
}

/* Mobile */
@media(max-width:640px){
  .theme-bar{height:34px}
  .theme-bar .theme-inner{
    width:100%;
    padding:0 10px;
    justify-content:flex-end;
  }
  .theme-toggle{height:25px;font-size:8px}
  .theme-toggle .theme-option{
    min-width:64px;
    height:19px;
    padding:0 7px;
  }
}



.breaking-title{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
}
.breaking-title-track{
  display:inline-flex;
  width:max-content;
  min-width:100%;
  animation:gsportBreakingTicker 24s linear infinite;
  will-change:transform;
}
.breaking-title-track a{
  display:inline-block;
  padding-right:70px;
}
.breaking-title:hover .breaking-title-track,
.breaking-title:focus-within .breaking-title-track{
  animation-play-state:paused;
}
@keyframes gsportBreakingTicker{
  from{transform:translateX(100%)}
  to{transform:translateX(-100%)}
}
@media(max-width:640px){
  .breaking-title-track{animation-duration:20s}
  .breaking-title-track a{padding-right:55px}
}
@media(prefers-reduced-motion:reduce){
  .breaking-title-track{animation:none;transform:none}
}
