/* DETIK SUMATERA 24 — CLEAN NEWSROOM CSS v2 */
:root{--blue:#2f52b2;--blue-dark:#20358f;--ink:#17233b;--muted:#6d7a92;--line:#dce5fb;--surface:#fff;--soft:#f5f8ff}
*{box-sizing:border-box}html,body{margin:0;padding:0;overflow-x:hidden}body:not(.admin-body){background:#f7f9fe;color:var(--ink);font-family:Arial,Helvetica,sans-serif}body:not(.admin-body) a{color:inherit;text-decoration:none}body:not(.admin-body) img{max-width:100%;display:block}
body:not(.admin-body) .container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
body:not(.admin-body) .topbar{background:#151515;color:#fff;font-size:11px;padding:8px 0;letter-spacing:.3px}
body:not(.admin-body) .site-header{background:#fff;border-bottom:1px solid #e9edfa}.site-header .header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-brand{display:flex;align-items:center;min-width:0}.site-logo{width:auto;max-width:230px;height:auto}.header-search{display:flex;align-items:stretch;width:min(360px,42%);height:42px}.header-search input{flex:1;min-width:0;border:1px solid #d8def0;padding:0 13px;font-size:14px;outline:none}.header-search button{width:72px;border:0;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}.navbar{background:var(--blue);color:#fff}.navbar .container{width:min(1120px,calc(100% - 40px))}.navbar ul{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none;overflow-x:auto}.navbar a{display:block;padding:15px 18px;font-size:13px;font-weight:700;white-space:nowrap}.navbar a:hover{background:var(--blue-dark)}
body:not(.admin-body) main.container{padding-top:24px;padding-bottom:36px}.home-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.home-primary{min-width:0}.home-sidebar{min-width:0}.hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:16px;margin-bottom:30px}.hero-main,.hero-right .news-card,.news-grid .news-card{border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px rgba(31,63,150,.10)}.hero-main{position:relative;height:380px;min-width:0;background:var(--blue-dark)}.hero-main>img{width:100%;height:100%;object-fit:cover}.hero-main .hero-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:28px 24px 22px;background:linear-gradient(transparent 25%,rgba(10,24,75,.94));color:#fff}.hero-main .category,.hero-right .category,.news-card .category{font-size:11px;font-weight:800;text-transform:uppercase;color:var(--blue);letter-spacing:.3px}.hero-main .category{color:#dbe6ff}.hero-title{margin:7px 0 0;font-size:clamp(24px,3vw,36px);line-height:1.14;font-weight:800;color:#fff}.hero-meta,.meta{margin-top:9px;color:var(--muted);font-size:11px}.hero-main .hero-meta{color:#e2e9ff}.hero-right{display:flex;flex-direction:column;gap:14px;min-width:0}.hero-right>div{display:contents}.hero-right .news-card{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);height:112px;min-height:112px}.hero-right .news-card>img,.hero-right .media-placeholder{width:104px;height:110px;object-fit:cover}.hero-right .news-card-content{min-width:0;padding:12px;background:#fff;display:flex;flex-direction:column;justify-content:center}.hero-right .news-title,.news-title{margin:5px 0 0;font-size:16px;line-height:1.25;font-weight:800;color:var(--ink);overflow-wrap:anywhere}.hero-right .news-title a,.news-title a{color:var(--ink)}
.section-title{margin:22px 0 14px;padding-bottom:10px;border-bottom:3px solid var(--blue);font-size:20px;color:var(--blue-dark);font-weight:800}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.news-grid .news-card{display:flex;flex-direction:column;min-width:0}.news-grid .news-card>img,.news-grid .media-placeholder{width:100%;height:180px;object-fit:cover;background:#dfe7fa}.news-card-content{padding:14px 15px 16px;background:#fff;min-width:0}.news-grid .news-title{font-size:17px;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.news-grid .meta{white-space:normal}.news-card:hover{box-shadow:0 7px 18px rgba(31,63,150,.18);transform:translateY(-1px)}
.sidebar-box{margin-bottom:22px;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.sidebar-box h3{margin:0;padding:12px 14px;background:var(--blue);color:#fff;font-size:15px}.popular-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:11px 12px;border-bottom:1px solid #edf1fb;min-width:0}.popular-card img{width:82px;height:58px;object-fit:cover;border-radius:5px}.popular-title{font-size:13px;line-height:1.25;font-weight:700;color:var(--ink);overflow-wrap:anywhere}.popular-meta{font-size:10px;color:var(--muted);margin-top:4px}
.site-footer{background:#161616;color:#fff;padding:36px 0}.site-footer .container{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer a{color:#dbe6ff}
@media(max-width:900px){body:not(.admin-body) .container{width:min(100% - 32px,760px)}.home-columns{display:block}.home-sidebar{margin-top:30px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-sidebar .sidebar-box{margin:0}.hero{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body:not(.admin-body) .container{width:calc(100% - 24px)}.site-header .header-inner{min-height:68px;gap:10px}.site-logo{max-width:145px}.header-search{width:auto;flex:1;height:38px}.header-search button{width:52px}.navbar .container{width:100%}.navbar ul{padding:0 8px}.navbar a{padding:13px 14px;font-size:12px}body:not(.admin-body) main.container{padding-top:16px}.home-columns{display:block}.hero{display:block;margin-bottom:24px}.hero-main{height:300px;margin-bottom:14px}.hero-title{font-size:25px}.hero-right{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-right .news-card{height:92px;min-height:92px;grid-template-columns:82px minmax(0,1fr)}.hero-right .news-card>img,.hero-right .media-placeholder{width:82px;height:90px}.hero-right .news-card-content{padding:8px}.hero-right .news-title{font-size:12px;-webkit-line-clamp:3}.section-title{font-size:18px;margin-top:18px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.news-grid .news-card>img,.news-grid .media-placeholder{height:150px}.news-card-content{padding:11px 12px 13px}.news-grid .news-title{font-size:14px;line-height:1.25}.home-sidebar{display:block}.home-sidebar .sidebar-box{margin-bottom:16px}.site-footer .container{grid-template-columns:1fr;gap:20px}}
@media(max-width:520px){.site-logo{max-width:125px}.header-search input{font-size:12px;padding:0 9px}.header-search button{width:46px;font-size:11px}.hero-right{grid-template-columns:1fr}.hero-main{height:270px}.hero-title{font-size:22px}.news-grid{grid-template-columns:1fr}.news-grid .news-card{display:grid;grid-template-columns:110px minmax(0,1fr);min-height:110px}.news-grid .news-card>img,.news-grid .media-placeholder{width:110px;height:108px}.news-card-content{padding:10px 11px}.news-grid .news-title{font-size:14px;-webkit-line-clamp:3}.news-grid .meta{font-size:10px}.home-sidebar{display:block}}

/* AUTHORITATIVE CARD RULES — override legacy style.css selectors */
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img){position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#fff!important;pointer-events:auto!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)::before{display:none!important;content:none!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>img{position:static!important;display:block!important;width:100%!important;height:180px!important;min-height:180px!important;max-height:180px!important;object-fit:cover!important;opacity:1!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content{position:static!important;display:block!important;inset:auto!important;width:100%!important;height:auto!important;min-height:120px!important;max-height:none!important;overflow:visible!important;padding:14px 15px 16px!important;background:#fff!important;color:#17233b!important;z-index:2!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .category{display:block!important;color:#2f52b2!important;-webkit-text-fill-color:#2f52b2!important;font-size:11px!important;line-height:1.15!important;margin:0 0 6px!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .news-title,body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .news-title a{display:-webkit-box!important;position:static!important;width:auto!important;max-height:none!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#17233b!important;-webkit-text-fill-color:#17233b!important;font-size:17px!important;line-height:1.28!important;font-weight:800!important;text-shadow:none!important;margin:0 0 7px!important;pointer-events:auto!important}
body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .meta{display:block!important;position:static!important;color:#6d7a92!important;-webkit-text-fill-color:#6d7a92!important;font-size:11px!important;white-space:normal!important}
@media(max-width:767px){body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>img{height:150px!important;min-height:150px!important;max-height:150px!important}body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content{min-height:112px!important;padding:11px 12px 13px!important}body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .news-title,body:not(.admin-body) .home-primary .news-grid .news-card:has(>img)>.news-card-content .news-title a{font-size:14px!important}}

/* AUTHORITATIVE HERO LAYOUT — prevent desktop overlap */
body:not(.admin-body) .home-primary .hero{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)!important;align-items:stretch!important;gap:16px!important;height:auto!important;min-height:0!important;overflow:visible!important}
body:not(.admin-body) .home-primary .hero-main{position:relative!important;display:block!important;width:auto!important;height:380px!important;min-height:380px!important;max-height:380px!important;overflow:hidden!important;grid-column:auto!important;float:none!important}
body:not(.admin-body) .home-primary .hero-main>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
body:not(.admin-body) .home-primary .hero-main .hero-content{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:flex!important;overflow:hidden!important}
body:not(.admin-body) .home-primary .hero-right{position:static!important;display:flex!important;flex-direction:column!important;width:auto!important;height:auto!important;min-height:0!important;gap:14px!important;overflow:visible!important;float:none!important}
body:not(.admin-body) .home-primary .hero-right>div{display:contents!important}
body:not(.admin-body) .home-primary .hero-right .news-card{position:relative!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;overflow:hidden!important;float:none!important;transform:none!important}
body:not(.admin-body) .home-primary .hero-right .news-card>img{position:static!important;width:104px!important;height:110px!important;max-width:none!important;object-fit:cover!important}
body:not(.admin-body) .home-primary .hero-right .news-card-content{position:static!important;display:flex!important;width:auto!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:12px!important;background:#fff!important}
body:not(.admin-body) .home-primary .hero-right .news-title{position:static!important;display:-webkit-box!important;overflow:hidden!important;white-space:normal!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;font-size:14px!important;line-height:1.25!important;color:#17233b!important;-webkit-text-fill-color:#17233b!important}
@media(max-width:900px) and (min-width:768px){body:not(.admin-body) .home-primary .hero{grid-template-columns:minmax(0,1.45fr) minmax(220px,1fr)!important}}
@media(max-width:767px){body:not(.admin-body) .home-primary .hero{display:block!important;height:auto!important}body:not(.admin-body) .home-primary .hero-main{height:300px!important;min-height:300px!important;max-height:300px!important;margin-bottom:14px!important}body:not(.admin-body) .home-primary .hero-right{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}body:not(.admin-body) .home-primary .hero-right .news-card{height:92px!important;min-height:92px!important;max-height:92px!important;grid-template-columns:82px minmax(0,1fr)!important}body:not(.admin-body) .home-primary .hero-right .news-card>img{width:82px!important;height:90px!important}body:not(.admin-body) .home-primary .hero-right .news-card-content{padding:8px!important}}
@media(max-width:520px){body:not(.admin-body) .home-primary .hero-right{grid-template-columns:1fr!important}}

/* STRUCTURAL HERO FIX — actual markup uses hero-left wrapper */
body:not(.admin-body) .home-primary .hero{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr)!important;grid-template-rows:auto!important}
body:not(.admin-body) .home-primary .hero-left{position:static!important;display:grid!important;grid-column:1!important;grid-row:1!important;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr)!important;align-items:stretch!important;gap:14px!important;width:auto!important;height:380px!important;min-width:0!important;overflow:visible!important}
body:not(.admin-body) .home-primary .hero-left .hero-main{grid-column:1!important;grid-row:1!important;width:auto!important;height:380px!important;min-height:380px!important;max-height:380px!important}
body:not(.admin-body) .home-primary .hero-left .hero-more-news{position:static!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:auto!important;height:380px!important;min-width:0!important;overflow:visible!important}
body:not(.admin-body) .home-primary .hero-left .hero-more-news .news-card{position:relative!important;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
body:not(.admin-body) .home-primary .hero-left .hero-more-news .news-card>img{width:92px!important;height:100%!important;min-height:0!important;object-fit:cover!important}
body:not(.admin-body) .home-primary .hero-left .hero-more-news .news-card-content{display:flex!important;position:static!important;height:100%!important;min-height:0!important;overflow:hidden!important;padding:10px!important;justify-content:center!important}
body:not(.admin-body) .home-primary .hero-right{grid-column:2!important;grid-row:1!important;width:auto!important;height:380px!important;min-width:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important}
body:not(.admin-body) .home-primary .hero-right>div{display:contents!important}
body:not(.admin-body) .home-primary .hero-right .news-card{height:auto!important;min-height:0!important;max-height:none!important;grid-template-columns:92px minmax(0,1fr)!important}
body:not(.admin-body) .home-primary .hero-right .news-card>img{width:92px!important;height:100%!important;min-height:0!important}
@media(max-width:767px){body:not(.admin-body) .home-primary .hero{display:block!important}.home-primary .hero-left{display:block!important;width:auto!important;height:auto!important}.home-primary .hero-left .hero-main{height:300px!important;min-height:300px!important;max-height:300px!important}.home-primary .hero-left .hero-more-news{height:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:none!important;margin-top:14px!important}.home-primary .hero-left .hero-more-news .news-card{height:92px!important;min-height:92px!important;grid-template-columns:82px minmax(0,1fr)!important}.home-primary .hero-right{height:auto!important;margin-top:10px!important}}
@media(max-width:520px){.home-primary .hero-left .hero-more-news{grid-template-columns:1fr!important}.home-primary .hero-right{grid-template-columns:1fr!important}}

/* LAST HERO GRID RESET — remove legacy named areas and zero-width tracks */
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left{display:grid!important;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr)!important;grid-template-rows:380px!important;grid-template-areas:none!important;gap:14px!important;width:auto!important;height:380px!important;min-width:0!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-main{display:block!important;grid-column:1!important;grid-row:1!important;grid-area:auto!important;width:auto!important;height:380px!important;min-width:0!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-more-news{display:grid!important;grid-column:2!important;grid-row:1!important;grid-area:auto!important;grid-template-columns:1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;width:auto!important;height:380px!important;min-width:0!important}
@media(max-width:767px){body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left{display:block!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-template-areas:none!important;height:auto!important}body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-main{height:300px!important;grid-area:auto!important}body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-more-news{display:grid!important;grid-column:auto!important;grid-row:auto!important;grid-template-columns:1fr 1fr!important;grid-template-rows:none!important;height:auto!important}}
@media(max-width:520px){body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-more-news{grid-template-columns:1fr!important}}

/* RESPONSIVE COMPACT SPACING — reduce empty gaps without overlap */
body:not(.admin-body) main.container{padding-top:14px!important;padding-bottom:24px!important}
body:not(.admin-body) .home-primary .hero{margin-bottom:14px!important}
body:not(.admin-body) .home-primary .section-title{margin-top:14px!important;margin-bottom:10px!important;padding-bottom:7px!important}
body:not(.admin-body) .home-primary .news-grid{gap:12px!important}
@media(max-width:767px){body:not(.admin-body) main.container{padding-top:10px!important;padding-bottom:18px!important}body:not(.admin-body) .home-primary .hero{margin-bottom:10px!important}body:not(.admin-body) .home-primary .hero-main{margin-bottom:8px!important}body:not(.admin-body) .home-primary .hero-left .hero-more-news{margin-top:8px!important;gap:8px!important}body:not(.admin-body) .home-primary .hero-right{margin-top:8px!important;gap:8px!important}body:not(.admin-body) .home-primary .section-title{margin-top:10px!important;margin-bottom:8px!important;padding-bottom:6px!important}body:not(.admin-body) .home-primary .news-grid{gap:8px!important}}

/* USER REQUEST — keep only main hero card (#3), remove side cards #1/#2/#4/#5 */
body:not(.admin-body) main.container .home-columns .home-primary .hero{display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin-bottom:14px!important;overflow:visible!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left{display:block!important;width:100%!important;height:auto!important;min-height:0!important;grid-template:none!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-main{display:block!important;width:100%!important;height:430px!important;min-height:430px!important;max-height:430px!important;margin:0!important;grid-area:auto!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-more-news,body:not(.admin-body) main.container .home-columns .home-primary .hero>.hero-right{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;visibility:hidden!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main>img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main .hero-content{width:100%!important;height:100%!important;padding:32px 30px 26px!important}
body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main .hero-title{font-size:clamp(28px,3.2vw,44px)!important;line-height:1.12!important}
@media(max-width:767px){body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-main{height:330px!important;min-height:330px!important;max-height:330px!important}body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main .hero-content{padding:24px 20px 20px!important}body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main .hero-title{font-size:26px!important}}
@media(max-width:520px){body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-left>.hero-main{height:280px!important;min-height:280px!important;max-height:280px!important}body:not(.admin-body) main.container .home-columns .home-primary .hero .hero-main .hero-title{font-size:22px!important}}


/* BREAKING NEWS TICKER FIX — 2026-09-04 */
.breaking-ticker{background:#fff;border-bottom:1px solid #dce5fb;overflow:hidden}
.breaking-ticker-inner{display:flex;align-items:center;gap:14px;min-height:42px;overflow:hidden}
.breaking-label{flex:0 0 auto;color:#2f52b2;font-size:12px;white-space:nowrap}
.ticker-viewport{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap}
.ticker-track{display:inline-flex;align-items:center;width:max-content;min-width:max-content;white-space:nowrap;animation:ticker-scroll var(--ticker-speed,70s) linear infinite;will-change:transform}
.ticker-track a{display:inline-block;white-space:nowrap;color:#17233b}
.ticker-separator{display:inline-block;margin:0 14px;color:#2f52b2}
@keyframes ticker-scroll{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
@media (prefers-reduced-motion:reduce){.ticker-track{animation-duration:120s}}
@media (max-width:767px){.breaking-ticker-inner{gap:9px}.ticker-separator{margin:0 8px}}


/* FIX BREAKING NEWS STICKY — tetap terlihat saat halaman di-scroll */
.breaking-ticker{position:sticky;top:169.6px;z-index:1200;}


/* BREAKING NEWS STICKY MOBILE OFFSET */
@media (max-width:767px){.breaking-ticker{top:150px;}}
