/*
Theme Name: ASHA News Modern
Theme URI: https://news.ashapublishing.co.id/
Author: ASHA Publishing
Description: Tema portal berita modern, ringan, responsif, dan kompatibel dengan Ad Inserter serta Yoast SEO.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: asha-news-modern
License: GPL-2.0-or-later
*/
:root{--ink:#18202c;--muted:#657184;--red:#b41f38;--red2:#8f172d;--line:#e6e9ee;--paper:#fff;--wash:#f5f6f8;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;left:-9999px;top:10px;background:white;padding:10px;z-index:999}.skip-link:focus{left:10px}.topbar{background:#111b2a;color:#e5eaf0;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:7px 0;gap:12px}.topbar a{color:#e5eaf0}.masthead{border-bottom:1px solid var(--line);background:white}.masthead-inner{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:12px}.brand-logo{max-height:68px;width:auto}.brand-word{font-size:clamp(27px,4vw,43px);font-weight:850;letter-spacing:-1.7px;line-height:1}.brand-word span{color:var(--red)}.brand-tag{display:block;color:var(--muted);font-size:11px;letter-spacing:2px;font-weight:700;margin-top:6px}.header-right{font-size:12px;color:var(--muted);text-align:right}.nav-shell{background:#fff;border-bottom:2px solid var(--red);position:sticky;top:0;z-index:90;box-shadow:0 3px 10px #10182708}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px}.nav-list{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0;padding:0;list-style:none}.nav-list li{position:relative}.nav-list a{display:block;padding:15px 14px;font-size:13px;font-weight:750}.nav-list .current-menu-item>a,.nav-list a:hover{color:var(--red)}.nav-list .sub-menu{display:none;position:absolute;top:100%;left:0;background:white;box-shadow:0 8px 30px #0002;min-width:200px;list-style:none;padding:0;margin:0;z-index:100}.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:block}.nav-list .sub-menu a{padding:9px 14px}.search-form{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}.search-form input{border:0;outline:0;padding:8px 10px;width:145px;min-width:0}.search-form button{border:0;background:var(--red);color:white;padding:8px 12px}.menu-toggle{display:none;border:1px solid var(--line);background:white;border-radius:7px;padding:7px 11px}.breaking{display:flex;gap:15px;align-items:center;margin:22px 0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.breaking-label{background:var(--red);color:white;font-weight:800;font-size:12px;letter-spacing:.5px;padding:11px 16px;white-space:nowrap}.breaking-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:650;padding-right:15px}.section{margin:32px 0 45px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--line);margin-bottom:22px;gap:12px}.section-heading h2{font-size:21px;letter-spacing:-.5px;margin:0 0 -2px;padding-bottom:12px;border-bottom:3px solid var(--red)}.section-heading a{color:var(--red);font-size:12px;font-weight:800}.hero{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:20px}.hero-card{position:relative;min-height:210px;border-radius:12px;overflow:hidden;background:#263246;color:white;isolation:isolate}.hero-main{min-height:450px}.hero-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .35s}.hero-card:hover img{transform:scale(1.04)}.hero-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#09121de8,transparent 80%);z-index:0}.hero-content{position:absolute;bottom:0;left:0;right:0;padding:25px;z-index:1}.hero-content h2,.hero-content h3{margin:8px 0;line-height:1.27;letter-spacing:-.5px}.hero-content h2{font-size:clamp(25px,3vw,36px)}.hero-content h3{font-size:20px}.eyebrow{display:inline-block;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:var(--red);font-weight:850}.hero-card .eyebrow{background:var(--red);color:white;padding:4px 8px;border-radius:3px}.meta{font-size:12px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.hero-card .meta{color:#e4e9ef}.layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:38px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.news-card{min-width:0}.thumb{display:block;aspect-ratio:16/10;background:var(--wash);border-radius:9px;overflow:hidden}.thumb img{height:100%;width:100%;object-fit:cover;transition:transform .3s}.thumb:hover img{transform:scale(1.035)}.news-card h3{font-size:19px;line-height:1.35;letter-spacing:-.35px;margin:8px 0}.news-card p{font-size:13px;color:var(--muted);margin:8px 0 0}.sidebar .widget{padding:20px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.widget-title,.sidebar h2{font-size:16px;margin:0 0 14px;border-bottom:2px solid var(--red);padding-bottom:10px}.sidebar ul{list-style:none;margin:0;padding:0}.sidebar li{padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}.sidebar li:last-child{border:0}.article-header{max-width:850px;margin:34px auto 25px}.article-header h1{font-size:clamp(32px,4.5vw,48px);letter-spacing:-1.1px;line-height:1.2;margin:12px 0 16px}.article-lead{color:var(--muted);font-size:18px}.article-cover{margin:0 0 28px}.article-cover img{width:100%;max-height:560px;object-fit:cover;border-radius:12px}.article-cover figcaption{font-size:12px;color:var(--muted);padding-top:7px}.article-body{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.9;overflow-wrap:anywhere}.article-body p{margin:0 0 1.35em}.article-body h2,.article-body h3{font-family:system-ui,sans-serif;line-height:1.3;margin-top:1.7em}.article-body a{color:var(--red);text-decoration:underline}.article-body blockquote{border-left:4px solid var(--red);margin:25px 0;padding:10px 25px;background:var(--wash)}.article-body iframe{max-width:100%}.article-body figure{max-width:100%}.share{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:26px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.share a{padding:8px 12px;background:var(--wash);border-radius:6px;font-size:12px;font-weight:800}.share a:hover{background:var(--red);color:white}.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}.post-nav a{padding:15px;background:var(--wash);border-radius:9px;font-size:13px}.page-title{font-size:32px;line-height:1.2;margin:35px 0 25px}.pagination{margin:30px 0;display:flex;gap:7px;flex-wrap:wrap}.pagination .page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:5px}.pagination .current{background:var(--red);color:white}.footer{margin-top:55px;background:#101a29;color:#e4e9f1}.footer-inner{padding:45px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}.footer h3{font-size:15px;margin:0 0 13px;color:white}.footer p,.footer a{font-size:13px;color:#c1cad7}.footer ul{list-style:none;margin:0;padding:0}.footer li{margin:7px 0}.footer-bottom{border-top:1px solid #ffffff24;padding:17px 0;font-size:12px;color:#aeb8c6}.placeholder{background:linear-gradient(135deg,#283447,#7c2639);height:100%;width:100%;display:grid;place-items:center;color:white;font-weight:850;letter-spacing:1px}.empty{padding:28px;background:var(--wash);border-radius:10px}.ad-slot{margin:20px 0}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;height:auto;width:auto;position:static}@media(max-width:900px){.layout{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.hero-main{min-height:390px}.hero-side .hero-card{min-height:220px}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.footer-inner{grid-template-columns:1fr 1fr}.header-right{display:none}}@media(max-width:680px){.container{width:min(100% - 28px,var(--max))}.masthead-inner{min-height:78px}.brand-word{font-size:29px}.brand-logo{max-height:52px}.menu-toggle{display:block}.nav-inner{flex-wrap:wrap;padding:8px 0}.nav-menu-wrap{display:none;order:3;width:100%}.nav-menu-wrap.is-open{display:block}.nav-list{display:block}.nav-list a{padding:10px 6px}.nav-list .sub-menu{display:block;position:static;box-shadow:none;padding-left:18px}.search-form{margin-left:auto}.search-form input{width:100px}.hero-main{min-height:370px}.hero-side{grid-template-columns:1fr}.hero-side .hero-card{min-height:235px}.news-grid,.sidebar,.footer-inner{grid-template-columns:1fr}.article-header h1{font-size:32px}.article-body{font-size:18px}.hero-content{padding:18px}.post-nav{grid-template-columns:1fr}.breaking-label{padding:10px}.footer-inner{gap:20px}}