/*
Theme Name: Blokosuto News
Theme URI: https://blokosuto.com/
Author: Blokosuto
Description: Tema portal berita responsif dengan struktur headline, berita terbaru, topik populer, dan halaman artikel.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: blokosuto
*/
:root{--blue:#103c91;--blue2:#082967;--red:#d71920;--ink:#17191d;--muted:#737984;--line:#e7e9ed;--paper:#fff;--soft:#f5f6f8;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.site-wrap{max-width:var(--max);margin:0 auto;padding:0 18px}.topline{background:#f5f6f8;border-bottom:1px solid var(--line);font-size:12px;color:#5b6069}.topline-inner{display:flex;justify-content:space-between;align-items:center;min-height:32px;gap:14px}.topline a{margin-left:14px}.masthead{background:#fff}.masthead-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-branding{display:flex;align-items:center;min-width:0}.custom-logo-link img{width:auto;max-width:360px;max-height:88px;object-fit:contain}.brand-fallback{font-size:38px;font-weight:900;letter-spacing:-2px;color:var(--blue)}.brand-fallback span{color:var(--red)}.header-ad{flex:1;max-width:728px;min-height:70px;display:flex;align-items:center;justify-content:center;color:#a0a4ab;background:#fafafa;border:1px dashed #e3e5e8;font-size:11px;text-transform:uppercase;letter-spacing:1px}.primary-nav{background:var(--blue);color:#fff;position:relative;z-index:20}.nav-inner{display:flex;align-items:center;min-height:46px;gap:0}.primary-nav .menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;flex:1;overflow-x:auto;white-space:nowrap}.primary-nav .menu li a{display:block;padding:13px 13px;font-size:13px;font-weight:700;text-transform:uppercase}.primary-nav .menu li a:hover{background:var(--blue2);color:#fff}.nav-search{color:#fff;background:transparent;border:0;padding:10px 12px;cursor:pointer}.search-box{display:none;background:#f5f6f8;padding:12px;border-bottom:1px solid var(--line)}.search-box.is-open{display:block}.search-box form{display:flex;max-width:var(--max);margin:auto}.search-box input{flex:1;min-width:0;padding:10px;border:1px solid #ddd}.search-box button{background:var(--red);color:white;border:0;padding:0 18px;font-weight:bold}.ticker{border-bottom:1px solid var(--line);background:#fff}.ticker-inner{display:flex;align-items:center;gap:12px;min-height:42px;overflow:hidden}.ticker-label{background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:7px 10px;white-space:nowrap}.ticker-text{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticker-text a:hover{color:var(--red)}.ad-slot{margin:18px auto;max-width:970px;min-height:90px;border:1px dashed #e4e6e9;background:#fafafa;display:flex;align-items:center;justify-content:center;color:#a0a4ab;font-size:11px;letter-spacing:1px;text-transform:uppercase}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--blue);margin:0 0 16px;padding:0 0 8px}.section-heading h2{font-size:20px;line-height:1.2;margin:0;font-weight:800}.section-heading a{font-size:12px;font-weight:700;color:var(--blue);text-transform:uppercase}.home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:28px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;margin-bottom:26px}.hero-main{position:relative;min-height:320px;background:#e9edf2;overflow:hidden}.hero-main img{width:100%;height:320px;object-fit:cover}.hero-main .hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 65%);display:flex;flex-direction:column;justify-content:flex-end;padding:20px;color:#fff}.category-label{display:inline-block;color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:7px}.hero-main .category-label{color:#fff;background:var(--red);padding:4px 7px;align-self:flex-start}.hero-main h1{font-size:27px;line-height:1.2;margin:0;font-weight:800}.hero-main .meta{font-size:12px;color:#e6e6e6;margin-top:10px}.hero-side{display:flex;flex-direction:column;gap:14px}.hero-mini{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line)}.hero-mini:last-child{border:0}.hero-mini img{width:112px;height:78px;object-fit:cover;background:#eee}.hero-mini h3{font-size:15px;line-height:1.3;margin:0;font-weight:750}.hero-mini .meta{font-size:11px;color:var(--muted);margin-top:5px}.latest-list{display:flex;flex-direction:column;gap:16px}.news-row{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}.news-row img{width:190px;height:126px;object-fit:cover;background:#f0f1f3}.news-row h3{font-size:20px;line-height:1.28;margin:0 0 7px;font-weight:800}.news-row .excerpt{font-size:13px;color:#5f646d;margin:0 0 8px}.meta{font-size:11px;color:var(--muted)}.sidebar-box{margin-bottom:26px}.sidebar-box .section-heading h2{font-size:17px}.popular-list{list-style:none;padding:0;margin:0;counter-reset:pop}.popular-list li{counter-increment:pop;display:grid;grid-template-columns:30px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;font-weight:700;line-height:1.35}.popular-list li:before{content:counter(pop,decimal-leading-zero);font-size:18px;font-weight:900;color:var(--red)}.topic-list{display:flex;flex-wrap:wrap;gap:8px}.topic-list a{background:#f1f3f6;padding:7px 10px;font-size:12px;font-weight:700;border-radius:2px}.category-block{margin:32px 0}.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category-card img{width:100%;height:140px;object-fit:cover;background:#eee;margin-bottom:8px}.category-card h3{font-size:16px;line-height:1.3;margin:0;font-weight:800}.category-card .meta{margin-top:6px}.page-title{font-size:30px;line-height:1.2;margin:8px 0 22px;font-weight:900}.archive-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:28px}.breadcrumbs{font-size:12px;color:var(--muted);margin:18px 0}.article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(260px,1fr);gap:32px;align-items:start}.article-category{font-size:12px;font-weight:800;color:var(--red);text-transform:uppercase;margin-bottom:10px}.article-title{font-size:36px;line-height:1.17;letter-spacing:-.5px;margin:0 0 14px;font-weight:900}.article-deck{font-size:18px;line-height:1.45;color:#555d68;margin:0 0 18px}.article-byline{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin-bottom:18px;font-size:12px}.article-author{font-weight:800}.article-featured img{width:100%;height:auto;max-height:520px;object-fit:cover}.article-featured figcaption{font-size:12px;color:#777;padding:8px 0 14px;line-height:1.45}.article-content{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.8;color:#24262a}.article-content p{margin:0 0 1.25em}.article-content h2,.article-content h3{font-family:Arial,sans-serif;line-height:1.3}.article-content img{margin:18px auto}.article-content blockquote{border-left:4px solid var(--red);padding:4px 18px;margin:22px 0;color:#4c5159;font-style:italic}.article-content a{color:var(--blue);text-decoration:underline}.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.article-tags a{background:#f1f3f6;padding:6px 9px;font-size:12px}.share-row{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 24px}.share-row a{display:inline-block;background:#f1f3f6;padding:8px 12px;font-size:12px;font-weight:700}.related-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.related-list img{width:100%;height:130px;object-fit:cover}.related-list h3{font-size:15px;line-height:1.3;margin:8px 0}.pagination{display:flex;gap:8px;margin:24px 0}.pagination .page-numbers{padding:8px 12px;border:1px solid var(--line);font-weight:700}.pagination .current{background:var(--blue);color:#fff}.site-footer{background:#101d35;color:#dbe2f0;margin-top:44px;padding:34px 0 20px}.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-logo{max-width:260px;max-height:75px;object-fit:contain;object-position:left}.footer-about{font-size:13px;color:#bfc8d8;max-width:420px}.site-footer h3{font-size:14px;color:#fff;margin:0 0 12px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:7px 0;font-size:13px}.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:25px;padding-top:15px;font-size:12px;color:#aab5c8}.mobile-menu-toggle{display:none}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.header-ad{display:none}.masthead-inner{min-height:84px}.custom-logo-link img{max-width:270px;max-height:72px}.home-grid,.archive-layout,.article-layout{grid-template-columns:minmax(0,1fr)}.home-grid>.sidebar,.archive-layout>.sidebar,.article-layout>.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hero-main,.hero-main img{min-height:280px;height:280px}.article-layout{gap:22px}.article-layout>.sidebar{display:block}}
@media(max-width:600px){.site-wrap{padding:0 13px}.topline-inner{min-height:28px}.topline .top-links{display:none}.masthead-inner{min-height:70px}.custom-logo-link img{max-width:230px;max-height:58px}.brand-fallback{font-size:30px}.primary-nav .menu{display:none;flex-direction:column;align-items:stretch;position:absolute;top:46px;left:0;right:0;background:var(--blue);max-height:70vh;overflow:auto}.primary-nav .menu.is-open{display:flex}.primary-nav .menu li a{padding:12px 16px;border-top:1px solid rgba(255,255,255,.12)}.nav-inner{justify-content:space-between}.mobile-menu-toggle{display:block;background:transparent;border:0;color:#fff;font-size:13px;font-weight:800;padding:12px}.nav-search{margin-left:auto}.ticker-inner{min-height:38px}.ticker-label{font-size:10px;padding:6px}.ticker-text{font-size:12px}.ad-slot{min-height:60px;margin:12px auto}.hero-grid{grid-template-columns:1fr;gap:12px}.hero-main,.hero-main img{height:245px;min-height:245px}.hero-main h1{font-size:22px}.hero-side{display:grid;grid-template-columns:1fr;gap:11px}.hero-mini{grid-template-columns:96px minmax(0,1fr);gap:10px;padding-bottom:10px}.hero-mini img{width:96px;height:68px}.hero-mini h3{font-size:14px}.home-grid,.archive-layout{gap:22px}.news-row{grid-template-columns:112px minmax(0,1fr);gap:12px;padding-bottom:13px}.news-row img{width:112px;height:82px}.news-row h3{font-size:16px;line-height:1.25;margin-bottom:5px}.news-row .excerpt{display:none}.category-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card img{height:105px}.category-card h3{font-size:14px}.home-grid>.sidebar,.archive-layout>.sidebar{display:block}.page-title{font-size:25px}.article-title{font-size:28px;line-height:1.18}.article-deck{font-size:16px}.article-byline{align-items:flex-start;flex-direction:column}.article-content{font-size:18px;line-height:1.75}.related-list{grid-template-columns:repeat(2,minmax(0,1fr))}.related-list img{height:100px}.footer-top{grid-template-columns:1fr;gap:20px}.footer-logo{max-width:220px}.article-layout>.sidebar{display:block}}

/* Blokosuto mobile-first layout inspired by the supplied Liputan6 mobile reference */
.mobile-tabs,.trend-strip{display:none}
@media(max-width:767px){
 body{font-family:Arial,Helvetica,sans-serif;font-size:16px;background:#fff}
 .site-wrap{padding-left:16px;padding-right:16px}
 .topline{display:none}
 .masthead-inner{min-height:76px;padding:10px 16px;justify-content:flex-start}
 .site-branding{width:auto;flex:1}
 .custom-logo-link img{width:auto;max-width:285px;max-height:58px;object-fit:contain;object-position:left center}
 .header-ad{display:none}
 .primary-nav{display:none}
 .mobile-tabs{display:flex;align-items:stretch;gap:0;overflow-x:auto;white-space:nowrap;background:#fff;border-bottom:1px solid #e6e6e6;box-shadow:0 2px 5px rgba(0,0,0,.08);position:relative;z-index:8}
 .mobile-tabs a{flex:0 0 auto;padding:16px 19px 13px;font-size:16px;color:#222;border-bottom:3px solid transparent}
 .mobile-tabs a.active{border-color:#e84b16;font-weight:700}
 .trend-strip{display:flex;align-items:center;gap:12px;margin:16px 16px 56px;height:48px;border:1px solid #e9a2c0;border-radius:12px;padding:5px 9px;overflow:hidden;background:#fff}
 .trend-icon{color:#e54b19;font-size:22px;font-weight:800;flex:0 0 28px;text-align:center}
 .trend-items{display:flex;align-items:center;gap:10px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
 .trend-items::-webkit-scrollbar{display:none}
 .trend-items a{display:inline-block;background:#fff5ef;border-radius:30px;padding:8px 16px;font-size:14px;font-weight:700;color:#252525}
 .ticker{display:none}
 .ad-slot{display:none}
 main.site-wrap{padding-left:16px;padding-right:16px}
 .hero-grid{display:block;margin:0 0 24px}
 .hero-main{height:auto;min-height:0;border-radius:17px;overflow:hidden}
 .hero-main img{width:100%;height:260px;object-fit:cover}
 .hero-main .hero-overlay{padding:16px 14px 18px;background:linear-gradient(0deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.75) 34%,rgba(0,0,0,0) 78%);min-height:100%;justify-content:flex-end}
 .hero-main .category-label{display:none}
 .hero-main h1{font-size:22px;line-height:1.35;font-weight:800}
 .hero-main .meta{font-size:14px;color:#aaa;margin-top:9px}
 .hero-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;margin-top:24px}
 .hero-mini{display:flex;flex-direction:column;gap:0;border:0;padding:0;min-width:0}
 .hero-mini>a{display:block;width:100%;order:0}
 .hero-mini img{width:100%;height:116px;object-fit:cover;border-radius:12px}
 .hero-mini>div{order:1;padding-top:10px}
 .hero-mini .category-label{display:none}
 .hero-mini h3{font-size:17px;line-height:1.45;font-weight:700;margin:0 0 10px}
 .hero-mini .meta{font-size:13px;color:#9a9a9a}
 .home-grid{display:block}
 .section-heading{border-bottom:2px solid #e84b16}
 .section-heading h2{font-size:20px}
 .news-row{grid-template-columns:112px minmax(0,1fr);gap:12px;padding-bottom:14px}
 .news-row img{width:112px;height:84px;border-radius:8px;object-fit:cover}
 .news-row h3{font-size:16px;line-height:1.35;margin:0 0 6px}
 .news-row .excerpt{display:none}
 .category-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .category-card img{height:116px;border-radius:10px}
 .category-card h3{font-size:16px;line-height:1.35}
 .sidebar-box{margin-top:26px}
 .article-layout{display:block}
 .article-main{width:100%}
 .article-title{font-size:28px;line-height:1.25}
 .article-featured img{width:100%;height:auto}
 .article-content{font-size:18px;line-height:1.75}
 .related-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-inner{display:block}
}

/* Header/footer refinements based on the supplied reference screenshots */
:root{--blue:#123b91;--blue2:#082b70;--red:#d71920;--orange:#ef4b12;--ink:#17191d;--soft:#f3f4f6}
.masthead{border-top:5px solid var(--orange)}
.header-tools{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.header-tools button,.header-tools a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:transparent;color:#111;cursor:pointer;padding:4px}
.header-tools svg{width:28px;height:28px}
.header-tools .nav-search{color:#111}
.header-tools .nav-search svg{width:27px;height:27px}
.header-apps svg{width:28px;height:28px}
.footer-logo-link img{width:auto;max-width:310px;max-height:94px;object-fit:contain}
.site-footer{background:#f2f3f5;color:#17191d;padding:32px 0 42px;margin-top:42px}
.footer-brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px}
.footer-brand .custom-logo-link img{max-width:300px;max-height:95px;object-fit:contain}
.footer-tagline{font-size:18px;font-weight:700;margin:0;color:var(--blue)}
.footer-link-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:10px 0 28px}
.footer-link-col h3,.footer-network h3{font-size:17px;font-weight:800;margin:0 0 14px}
.footer-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:9px}
.footer-links li{margin:0;padding:0}
.footer-links a{font-size:16px;line-height:1.45;color:#24262a}
.footer-links a:hover{color:var(--red)}
.footer-network{border-top:1px solid #d9dce1;padding:24px 0}
.network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}
.network-grid a{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600}
.network-mark{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:6px;background:var(--blue);color:#fff;font-weight:900}
.footer-social{padding:12px 0 26px}
.footer-social strong{display:block;font-size:16px;margin-bottom:12px}
.social-links{display:flex;gap:12px}
.social-links a{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:var(--blue);color:#fff;font-weight:900;font-size:19px}
.social-links a:nth-child(2){background:#e00000}.social-links a:nth-child(3){background:#bd287b}.social-links a:nth-child(4){background:#1fae62}
.copyright{border-top:1px solid #d9dce1;padding-top:22px;font-size:14px;color:#333;line-height:1.6}
@media(max-width:767px){
 .masthead{border-top:0}
 .masthead-inner{min-height:76px}
 .site-branding{flex:1;min-width:0}
 .custom-logo-link img{max-width:245px;max-height:54px}
 .header-tools{gap:8px}
 .header-tools button,.header-tools a{width:30px;height:34px;padding:2px}
 .header-tools svg{width:24px;height:24px}
 .mobile-tabs{border-bottom:3px solid var(--orange)}
 .mobile-tabs a.active{border-color:var(--orange)}
 .trend-strip{border-color:#a6c85c}
 .trend-icon{color:var(--orange)}
 .trend-items a{background:#fff4e9}
 .section-heading{border-color:var(--orange)}
 .site-footer{background:#f2f3f5;padding:26px 0 38px;margin-top:32px}
 .footer-brand-row{display:block;padding-bottom:22px}
 .footer-brand .custom-logo-link img,.footer-logo-link img{max-width:245px;max-height:65px}
 .footer-tagline{font-size:15px;margin-top:12px}
 .footer-link-columns{gap:20px;padding:6px 0 24px}
 .footer-link-col h3{display:none}
 .footer-links{gap:10px}
 .footer-links a{font-size:15px}
 .footer-network{padding:22px 0}
 .footer-network h3{font-size:16px}
 .network-grid{gap:12px 10px}
 .network-grid a{font-size:14px;gap:8px}
 .network-mark{width:25px;height:25px;font-size:14px}
 .footer-social{padding:12px 0 24px}
 .social-links{gap:10px}
 .social-links a{width:34px;height:34px;font-size:17px}
 .copyright{font-size:13px;padding-top:18px}
}

/* v5: compact header mark, transparent footer logo, and live headline ticker */
.custom-logo-link img{width:auto;max-width:255px;max-height:64px;object-fit:contain}
.footer-logo-link{display:inline-flex;align-items:center}
.footer-logo-link img{display:block;width:auto;max-width:290px;max-height:86px;object-fit:contain;background:transparent}
.running-news{display:flex;align-items:center;gap:0;overflow:hidden;background:#f5f6f8;border-bottom:1px solid #e3e5e8;min-height:38px;color:#20232a}
.running-label{flex:0 0 auto;background:#123b91;color:#fff;font-size:12px;font-weight:800;letter-spacing:.3px;padding:11px 15px;position:relative;z-index:2}
.running-window{overflow:hidden;flex:1;min-width:0}
.running-track{display:flex;align-items:center;gap:18px;width:max-content;white-space:nowrap;animation:blokosutoTicker 48s linear infinite;padding-left:18px}
.running-track a{font-size:13px;font-weight:700;color:#222;text-decoration:none}
.running-track a:hover{color:#d71920}
.running-separator{font-size:9px;color:#e84b16}
.running-news:hover .running-track{animation-play-state:paused}
@keyframes blokosutoTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@media(max-width:767px){
 .custom-logo-link img{max-width:205px;max-height:48px}
 .footer-logo-link img{max-width:230px;max-height:65px}
 .running-news{min-height:36px}
 .running-label{font-size:11px;padding:10px 10px}
 .running-track{gap:14px;animation-duration:40s}
 .running-track a{font-size:12px}
}
