@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#f4f6f8;--panel:#fff;--text:#1a1d23;--muted:#6b7280;--line:#e5e7eb;--red:#e11d2a;--red2:#b4121d;--navy:#111827;--shadow:0 2px 12px rgba(15,23,42,.07);--radius:12px}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}button{cursor:pointer}
.wrap{max-width:1240px;margin:0 auto;padding:0 20px}
/* progress */
.progress-bar{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--red),#ff7a00);z-index:200;transition:width .1s}
/* topbar */
.topbar{background:var(--navy);color:#cbd5e1;font-size:12px}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:34px}
.topbar-left{display:flex;align-items:center;gap:8px}
.live-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.topbar-right{display:flex;align-items:center;gap:14px}
.topbar-slogan{letter-spacing:.4px;opacity:.8}
.icon-btn{background:none;border:none;color:#cbd5e1;display:grid;place-items:center;padding:4px}
.icon-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.admin-link{display:flex;align-items:center;gap:5px;color:#fff;font-weight:600}
.admin-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
/* header */
.site-header{background:#fff;border-bottom:3px solid var(--red);position:sticky;top:0;z-index:100;transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 4px 16px rgba(0,0,0,.1)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}
.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}
.brand img{display:block;height:48px;width:auto;object-fit:contain;background:#04091c;border-radius:8px;padding:3px}
.brand-divider{width:1px;height:36px;background:var(--line);flex-shrink:0}
.brand-text{display:flex;flex-direction:column;justify-content:center;line-height:1}
.brand-kicker{font-size:9px;font-weight:800;letter-spacing:2.6px;color:var(--muted)}
.brand-name{margin-top:5px;font-size:23px;font-weight:900;letter-spacing:1.6px;color:var(--navy);transition:color .2s;white-space:nowrap}
.brand:hover .brand-name{color:var(--red)}
html.dark .brand-name{color:#f3f4f6}
html.dark .brand-divider{background:#374151}
html.dark .brand-kicker{color:#9ca3af}
.main-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.main-nav a{padding:9px 13px;font-size:13px;font-weight:700;color:#374151;border-radius:6px;transition:.2s}
.main-nav a:hover,.main-nav a.active{background:var(--red);color:#fff}
.menu-btn{display:none;background:none;border:none;flex-direction:column;gap:4px}
.menu-btn span{display:block;width:22px;height:2px;background:#111}
/* ticker */
.ticker{background:linear-gradient(90deg,#b4121d,#e11d2a);color:#fff;overflow:hidden}
.ticker-inner{display:flex;align-items:center;height:38px;gap:14px}
.ticker-label{display:flex;align-items:center;gap:6px;font-weight:900;font-size:11px;letter-spacing:1px;white-space:nowrap;background:rgba(0,0,0,.2);padding:5px 10px;border-radius:4px}
.pulse{width:7px;height:7px;background:#fff;border-radius:50%;animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}
.ticker-track{flex:1;overflow:hidden;white-space:nowrap;position:relative;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.ticker-content{display:inline-flex;gap:40px;animation:scroll 55s linear infinite}
.ticker-content span a{font-size:12px;font-weight:500;color:#fff}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* search */
.search-panel{display:none;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.08);padding:18px 0;position:relative;z-index:90}
.search-panel.show{display:block}
.search-form{display:flex;align-items:center;border:2px solid var(--line);border-radius:10px;padding:4px 6px 4px 14px}
.search-form svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2}
.search-form input{flex:1;border:none;outline:none;padding:10px;font-size:15px;background:transparent;color:var(--text)}
.search-form button{border:none;background:var(--red);color:#fff;font-weight:700;padding:10px 22px;border-radius:7px}
.search-close{background:none!important;color:var(--muted)!important;font-size:26px!important;padding:0 10px!important}
.search-results{max-width:700px;margin-top:12px}
.search-item{display:flex;gap:12px;padding:9px;border-radius:8px;align-items:center}
.search-item:hover{background:#f6f7f9}
.search-item img{width:64px;height:44px;object-fit:cover;border-radius:5px}
.search-item h4{font-size:13px;margin-bottom:2px}
.search-item span{font-size:11px;color:var(--muted)}
.search-empty{padding:14px;color:var(--muted)}
/* hero */
.hero{padding-top:28px}
.hero-main{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}
.hero-feature{display:block;position:relative;border-radius:14px;overflow:hidden;min-height:430px;background:#111;color:#fff}
.hero-feature-img{position:absolute;inset:0}
.hero-feature-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hero-feature:hover img{transform:scale(1.04)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.05) 100%)}
.hero-feature-content{position:absolute;bottom:0;padding:28px;z-index:2}
.hero-badge{display:inline-block;background:var(--red);padding:5px 11px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:.5px;margin-bottom:12px}
.hero-feature-content h1{font-family:'Playfair Display',Georgia,serif;font-size:34px;line-height:1.2;margin-bottom:10px}
.hero-feature-content p{font-size:13px;color:#e5e7eb;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-read{font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:7px;color:#fff}
.hero-read svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.hero-side{display:flex;flex-direction:column;gap:12px}
.hero-side-item{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px;flex:1;transition:.2s;overflow:hidden}
.hero-side-item:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.hero-side-item.first{flex:1.3;flex-direction:column;padding:0}
.hero-side-item.first img{width:100%;height:150px;object-fit:cover}
.hero-side-item.first h3{font-size:16px}
.hero-side-item>div{display:flex;flex-direction:column;justify-content:center}
.card-cat{font-size:10px;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.card-date{font-size:11px;color:var(--muted);margin-top:5px}
.hero-side-item h3{font-size:14px;line-height:1.35;font-weight:700}
/* sections */
.section{margin-top:44px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:2px solid var(--line);padding-bottom:12px;margin-bottom:22px;flex-wrap:wrap}
.section-kicker{font-size:11px;font-weight:800;color:var(--red);letter-spacing:1.4px;text-transform:uppercase}
.section-title{font-family:'Playfair Display',Georgia,serif;font-size:27px;font-weight:800;margin-top:2px}
.section-title span{color:var(--red)}
.filter-tabs{display:flex;gap:6px;flex-wrap:wrap}
.tab{border:1px solid var(--line);background:#fff;padding:7px 13px;border-radius:20px;font-size:12px;font-weight:600;color:#4b5563;transition:.2s}
.tab:hover,.tab.active{background:var(--red);color:#fff;border-color:var(--red)}
.content-layout{display:grid;grid-template-columns:1fr 310px;gap:26px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{display:block;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--line);transition:.22s}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(0,0,0,.11)}
.card-img{position:relative;height:170px;overflow:hidden;background:#e5e7eb}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-img img{transform:scale(1.06)}
.card-cat-badge{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-size:10px;font-weight:800;padding:4px 9px;border-radius:4px}
.card-body{padding:15px}
.card-body h3{font-size:15px;font-weight:800;line-height:1.38;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body p{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{display:flex;justify-content:space-between;font-size:10px;color:#9ca3af;border-top:1px solid #f1f2f4;padding-top:9px}
.compact-card{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.compact-img{width:82px;height:62px;flex-shrink:0;border-radius:7px;overflow:hidden;background:#eee}
.compact-img img{width:100%;height:100%;object-fit:cover}
.compact-body h3{font-size:13px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.compact-card:hover h3{color:var(--red)}
/* sidebar */
.sidebar{display:flex;flex-direction:column;gap:20px}
.widget{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.widget-head{border-bottom:3px solid var(--navy);margin-bottom:14px}
.widget-head h3{display:inline-block;font-size:15px;font-weight:900;padding-bottom:9px;position:relative;top:2px}
.widget-head h3::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:3px;background:var(--red)}
.popular-list{list-style:none;counter-reset:pop}
.popular-list li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid #f0f1f3}
.popular-list li:last-child{border-bottom:none}
.pop-num{font-family:'Playfair Display',serif;font-size:26px;font-weight:800;color:#dfe2e6;line-height:1;min-width:28px}
.popular-list li:nth-child(-n+3) .pop-num{color:var(--red)}
.popular-list a{font-size:13px;font-weight:700;line-height:1.35;display:block;margin:2px 0 3px}
.popular-list a:hover{color:var(--red)}
.wa-widget{background:linear-gradient(145deg,#0a7c43,#128c4e);color:#fff;border:none;text-align:center;padding:22px 18px}
.wa-widget-icon{width:44px;height:44px;background:rgba(255,255,255,.18);border-radius:50%;display:grid;place-items:center;margin:0 auto 10px}
.wa-widget-icon svg{width:24px;height:24px;fill:#fff}
.wa-widget h3{font-size:17px;font-weight:800;margin-bottom:7px;position:static}
.wa-widget h3::after{display:none}
.wa-widget p{font-size:12px;color:#d6f5e4;margin-bottom:14px;line-height:1.5}
.wa-cta{display:inline-block;background:#fff;color:#0a7c43;font-size:12px;font-weight:800;padding:9px 16px;border-radius:7px;transition:.2s}
.wa-cta:hover{background:#eafff2;transform:translateY(-2px)}
.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
.tag-cloud a{font-size:11px;font-weight:600;background:#f3f4f6;color:#4b5563;padding:5px 10px;border-radius:20px;transition:.2s}
.tag-cloud a:hover{background:var(--red);color:#fff}
.load-more-wrap{text-align:center;margin-top:30px}
.load-more{border:2px solid var(--red);background:#fff;color:var(--red);font-weight:800;font-size:13px;padding:12px 34px;border-radius:8px;transition:.2s}
.load-more:hover{background:var(--red);color:#fff}
/* gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery-card{border-radius:11px;overflow:hidden;background:#fff;border:1px solid var(--line);transition:.2s}
.gallery-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.gallery-card img{width:100%;height:150px;object-fit:cover;display:block}
.gallery-info{padding:12px}
.gallery-info span{font-size:10px;font-weight:800;color:var(--red);text-transform:uppercase}
.gallery-info h4{font-size:13px;font-weight:700;line-height:1.4;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* footer */
.footer{background:var(--navy);color:#cbd5e1;margin-top:60px;padding:46px 0 0}
.footer-inner{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:34px}
.footer-logo{height:48px;margin-bottom:14px;filter:brightness(1.1);background:#04091c;border-radius:8px;padding:3px}
.footer-brand p{font-size:12px;line-height:1.7;color:#9ca3af;max-width:280px}
.socials{display:flex;gap:9px;margin-top:16px}
.socials a{width:34px;height:34px;background:#25D366;border-radius:7px;display:grid;place-items:center}
.socials svg{width:17px;height:17px;fill:#fff}
.footer-col h4{color:#fff;font-size:13px;font-weight:800;margin-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a,.footer-col p{display:block;font-size:12px;color:#9ca3af;margin-bottom:9px}
.footer-col a:hover{color:#fff}
.footer-wa{color:#25D366!important;font-weight:700}
.footer-bottom{border-top:1px solid #374151;padding-top:18px;padding-bottom:20px;display:flex;justify-content:space-between;font-size:11px;color:#9ca3af;flex-wrap:wrap;gap:8px}
/* floating wa */
.wa-float{position:fixed;right:24px;bottom:26px;width:58px;height:58px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 6px 22px rgba(37,211,102,.45);z-index:150;transition:.25s;animation:float 3s ease-in-out infinite}
.wa-float:hover{transform:scale(1.1);background:#1ebe5d}
.wa-float svg{width:30px;height:30px;fill:#fff}
.wa-tooltip{position:absolute;right:68px;background:#111827;color:#fff;font-size:11px;font-weight:700;padding:7px 11px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:.2s}
.wa-float:hover .wa-tooltip{opacity:1;right:70px}
.wa-float.wa-left{left:24px;right:auto}
.wa-float.wa-left .wa-tooltip{right:auto;left:68px}
.wa-float.wa-left:hover .wa-tooltip{left:70px;right:auto}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
/* article page */
.article-page{padding-top:26px;min-height:60vh}
.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:20px;display:flex;gap:8px;flex-wrap:wrap}
.breadcrumb a:hover{color:var(--red)}
.article-layout{display:grid;grid-template-columns:1fr 310px;gap:28px}
.article-main{background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px;max-width:860px}
.article-cat-tag{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:5px 12px;border-radius:4px;margin-bottom:14px}
.article-title{font-family:'Playfair Display',Georgia,serif;font-size:36px;line-height:1.25;font-weight:800;margin-bottom:15px}
.article-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}
.article-meta b{color:var(--text)}
.article-cover{width:100%;max-height:440px;object-fit:cover;border-radius:10px;margin-bottom:20px}
.article-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px;font-size:12px;font-weight:700}
.article-share a{padding:7px 12px;border-radius:6px;color:#fff;font-weight:700;font-size:11px}
.share-fb{background:#1877f2}.share-tw{background:#111}.share-wa{background:#25D366}
.article-body{font-size:16px;line-height:1.85;color:#374151}
.article-body p{margin-bottom:20px}
.article-body h1,.article-body h2,.article-body h3,.article-body h4{font-weight:800;line-height:1.35;margin:26px 0 12px;color:#111827}
.article-body h1{font-size:28px}.article-body h2{font-size:23px}.article-body h3{font-size:19px}
.article-body ul,.article-body ol{margin:0 0 20px 24px}.article-body ul{list-style:disc}.article-body ol{list-style:decimal}
.article-body li{margin-bottom:7px}
.article-body blockquote{border-left:4px solid var(--red);background:#fff5f5;padding:12px 18px;margin:0 0 20px;font-style:italic;color:#4b5563}
.article-body img{max-width:100%;height:auto;border-radius:10px;margin:8px 0 20px;display:block}
.article-body a{color:var(--red);text-decoration:underline}
.article-body table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14px}
.article-body td,.article-body th{border:1px solid var(--line);padding:9px 12px;text-align:left}
.article-body pre{background:#f3f4f6;padding:14px;border-radius:8px;overflow:auto;margin-bottom:20px}
.article-body hr.wp-more{border:none;border-top:2px dashed var(--line);margin:26px 0}
.article-tags{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.article-tags a{background:#f3f4f6;color:#4b5563;padding:5px 11px;border-radius:20px;font-size:12px;font-weight:600}
.article-tags a:hover{background:var(--red);color:#fff}
.article-author-box{display:flex;gap:14px;background:#f8f9fb;border-radius:10px;padding:18px;margin-top:28px;align-items:center}
.author-avatar{width:48px;height:48px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:900;font-size:16px;flex-shrink:0}
.article-author-box b{font-size:14px}
.article-author-box p{font-size:12px;color:var(--muted);margin-top:3px}
.related-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.related-item img{width:72px;height:54px;object-fit:cover;border-radius:6px;flex-shrink:0}
.related-item h4{font-size:12px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-item:hover h4{color:var(--red)}
.related-cat{font-size:10px;color:var(--red);font-weight:800;text-transform:uppercase}
.empty-state{grid-column:1/-1;padding:40px;text-align:center;color:var(--muted)}

/* video di galeri */
.video-card{position:relative}
.play-badge{position:absolute;top:10px;left:10px;width:34px;height:34px;border-radius:50%;background:rgba(225,29,42,.94);color:#fff;display:grid;place-items:center;font-size:12px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.video-card:hover .play-badge{background:#b4121d}

/* layanan redaksi */
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.service-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:8px;transition:.2s}
.service-item:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.service-icon{width:44px;height:44px;border-radius:11px;background:#fff1f2;display:grid;place-items:center;font-size:20px;overflow:hidden}
.service-icon img{width:100%;height:100%;object-fit:cover}
.service-item h3{font-size:15px;font-weight:800;color:var(--navy);line-height:1.3}
.service-price{font-size:12px;font-weight:800;color:var(--red)}
.service-item p{font-size:12px;color:var(--muted);line-height:1.6}
.service-cta{margin-top:auto;font-size:12px;font-weight:800;color:var(--red);text-decoration:none}
.service-cta:hover{text-decoration:underline}

/* slot iklan */
.ad-wrap{margin:22px 0}
.ad-slot{position:relative;display:block;border-radius:11px;overflow:hidden;border:1px solid var(--line);background:#fff}
.ad-slot img{width:100%;display:block;max-height:280px;object-fit:cover}
.ad-text{padding:18px;display:flex;flex-direction:column;gap:5px;background:#fff7f7}
.ad-text b{font-size:14px;font-weight:800;color:var(--navy)}
.ad-text span{font-size:11px;color:var(--muted);line-height:1.5}
.ad-label{position:absolute;top:6px;right:6px;background:rgba(15,17,21,.72);color:#fff;font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding:3px 7px;border-radius:4px}

/* komentar pembaca */
.comments-box{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}
.comments-title{font-size:16px;font-weight:900;margin-bottom:4px;color:var(--navy)}
.comment-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.comment-item:last-child{border-bottom:none}
.comment-avatar{width:36px;height:36px;border-radius:50%;background:#fff1f2;color:var(--red);display:grid;place-items:center;font-weight:900;flex-shrink:0}
.comment-head{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.comment-head b{font-size:13px}
.comment-head span{font-size:11px;color:var(--muted)}
.comment-item p{font-size:13px;line-height:1.7;color:#374151}
.comment-empty{font-size:13px;color:var(--muted);padding:8px 0}

/* halaman statis */
.page-shell{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px}
.page-shell h1{font-family:'Playfair Display',serif;font-size:32px;margin-bottom:14px;color:var(--navy)}
.page-shell p{font-size:15px;line-height:1.85;margin-bottom:14px;color:#374151}
.page-shell img{width:100%;border-radius:10px;margin-bottom:18px}

/* dark */
html.dark{--bg:#0f1115;--panel:#1a1d23;--text:#e5e7eb;--muted:#9ca3af;--line:#2d3139}
html.dark .site-header,html.dark .card,html.dark .widget,html.dark .hero-side-item,html.dark .gallery-card,html.dark .article-main,html.dark .search-panel{background:var(--panel);color:var(--text);border-color:var(--line)}
html.dark .service-item,html.dark .ad-slot,html.dark .page-shell{background:var(--panel);border-color:var(--line)}
html.dark .service-item h3,html.dark .page-shell h1{color:#f3f4f6}
html.dark .service-item p,html.dark .page-shell p,html.dark .comment-item p{color:#cbd5e1}
html.dark .service-icon,html.dark .comment-avatar{background:#2b1a1d}
html.dark .main-nav a{color:#d1d5db}
html.dark .main-nav a.active,html.dark .main-nav a:hover{color:#fff}
html.dark .topbar,html.dark .footer{background:#0a0c0f}
html.dark .tab,html.dark .load-more,html.dark .search-form{background:var(--panel);color:var(--text);border-color:var(--line)}
html.dark .article-author-box{background:#20242b}
html.dark .card-meta{border-color:var(--line)}
/* responsive */
@media(max-width:1000px){.hero-main,.content-layout,.article-layout{grid-template-columns:1fr}.article-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.service-grid{grid-template-columns:repeat(2,1fr)}.sidebar{display:grid;grid-template-columns:repeat(2,1fr)}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 20px;box-shadow:0 8px 20px rgba(0,0,0,.1)}.main-nav.open{display:flex}.menu-btn{display:flex}.footer-inner{grid-template-columns:repeat(2,1fr)}html.dark .main-nav{background:#1a1d23}}
@media(max-width:640px){.article-grid,.gallery-grid,.service-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.hero-feature{min-height:340px}.hero-feature-content h1{font-size:25px}.article-main{padding:20px}.article-title{font-size:27px}.topbar-slogan{display:none}.footer-inner{grid-template-columns:1fr}.brand img{height:42px}.page-shell{padding:20px}.page-shell h1{font-size:25px}}

/* brand lockup - Kang Warta */
@media(max-width:900px){.brand{gap:10px}.brand img{height:44px}.brand-divider{height:32px}.brand-name{font-size:20px;letter-spacing:1.2px}.brand-kicker{font-size:8px;letter-spacing:2.8px}}
@media(max-width:640px){.brand{gap:9px}.brand img{height:40px}.brand-divider{height:28px}.brand-name{font-size:17px;letter-spacing:1px;margin-top:4px}.brand-kicker{font-size:7px;letter-spacing:2.2px}}
@media(max-width:380px){.brand-divider,.brand-text{display:none}}


/* =========================================================
   KANG WARTA - SKIN INSPIRASI DETIKNEWS
   Ink style: merah, hitam, putih; headline sans-serif tebal;
   kartu kotak; navigasi rapi dengan underline merah.
   ========================================================= */
:root{--bg:#f7f7f7;--panel:#fff;--text:#111318;--muted:#6b7280;--line:#e3e5e8;--red:#e31e24;--red2:#b81419;--navy:#111318;--radius:3px;--shadow:0 3px 12px rgba(0,0,0,.09)}
body{font-family:Inter,Arial,sans-serif}
.topbar{background:#e31e24;color:#fff;font-size:11px}
.topbar-left,.topbar-right,.icon-btn,.admin-link{color:#fff}
.topbar-slogan{opacity:.95;letter-spacing:.6px}
.site-header{border-top:4px solid #e31e24;border-bottom:1px solid #dcdfe3}
.header-inner{min-height:72px}
.topbar a.admin-link[href="admin.html"]{display:none!important}
.brand img{height:44px;border-radius:3px;padding:2px;background:#04091c}
.brand-kicker{color:#e31e24;letter-spacing:2px}
.brand-name{font-size:21px;letter-spacing:.5px}
.main-nav a{border-radius:0;padding:24px 11px;border-bottom:3px solid transparent;color:#222;font-size:13px}
.main-nav a:hover,.main-nav a.active{background:transparent;color:#e31e24;border-bottom-color:#e31e24}
html.dark .main-nav a{color:#e5e7eb}
.ticker{background:#fff;border-bottom:1px solid var(--line)}
.ticker-inner{height:36px}
.ticker-label{background:#e31e24;color:#fff;border-radius:2px;letter-spacing:.8px}
.ticker-content span a{color:#222;font-weight:600}
html.dark .ticker-content span a{color:#e5e7eb}
.hero{padding-top:20px}
.hero-feature{border-radius:3px;min-height:410px}
.hero-feature-content h1{font-family:Inter,Arial,sans-serif;font-weight:900;font-size:32px;line-height:1.18;letter-spacing:-.6px}
.hero-badge{border-radius:2px}
.hero-side-item{border-radius:3px}
.hero-side-item.first img{height:140px}
.section{margin-top:34px}
.section-head{border-bottom:2px solid #222;padding-bottom:9px}
html.dark .section-head{border-bottom-color:#e5e7eb}
.section-kicker{color:#e31e24}
.section-title{font-family:Inter,Arial,sans-serif;font-weight:900;font-size:24px;letter-spacing:-.5px}
.section-title span{color:#e31e24}
.filter-tabs .tab{border-radius:0;border-color:#dcdfe3}
.tab:hover,.tab.active{background:#e31e24;border-color:#e31e24;color:#fff}
.card,.widget,.gallery-card{border-radius:3px;box-shadow:none}
.card:hover,.gallery-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.12);transform:none}
.card-img{height:158px;border-radius:0}
.card-cat-badge{border-radius:0;background:#e31e24}
.card-body h3{font-weight:800;line-height:1.35}
.widget-head{border-bottom:2px solid #222}
.widget-head h3{font-size:14px;font-weight:900;text-transform:uppercase}
.widget-head h3::after{background:#e31e24;height:2px;bottom:-2px}
.pop-num{font-family:Inter,Arial,sans-serif;color:#d1d5db}
.popular-list li:nth-child(-n+3) .pop-num{color:#e31e24}
.load-more{border-radius:0;border:1px solid #e31e24}
.footer{border-top:4px solid #e31e24;background:#15171b}
.footer-logo{border-radius:3px}
@media(max-width:900px){.main-nav a{padding:10px 12px;border-bottom:none}.main-nav a.active{border-left:3px solid #e31e24}}


/* =========================================================
   KANG WARTA - SINKRONISASI LANGSUNG DASHBOARD -> FRONTEND
   ========================================================= */
.ad-header-wrap,.ad-footer-wrap{margin-top:18px;margin-bottom:18px}
.ad-header-wrap .ad-wrap,.ad-footer-wrap .ad-wrap{margin:0}
.gallery-info p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.comments-box .public-form{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:3px;background:#fff}
.comments-box .public-form h4{font-size:15px;font-weight:900;margin-bottom:12px}
.form-row{display:flex;gap:10px;align-items:stretch}
.form-row input{flex:1;min-width:0}
.public-form input,.public-form textarea,.lead-form input,.lead-form textarea{width:100%;border:1px solid #dcdfe3;border-radius:3px;padding:10px 12px;font-size:13px;background:#fff;color:var(--text);outline:none;transition:.2s}
.public-form input:focus,.public-form textarea:focus,.lead-form input:focus,.lead-form textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(227,30,36,.1)}
.public-form textarea,.lead-form textarea{margin-top:10px;resize:vertical}
.public-form button,.lead-form button{border:none;background:var(--red);color:#fff;font-weight:800;font-size:12px;padding:0 18px;border-radius:3px;white-space:nowrap;transition:.2s}
.public-form button:hover,.lead-form button:hover{background:var(--red2)}
.public-form button:disabled,.lead-form button:disabled{opacity:.6;cursor:wait}
.form-status{min-height:16px;margin-top:9px;font-size:12px;font-weight:600}
.form-status.ok{color:#15803d}
.form-status.err{color:#dc2626}
.form-note{font-size:11px;color:var(--muted);margin-top:4px}
.lead-form{margin-top:12px;display:grid;gap:0}
.footer-col .lead-form input,.footer-col .lead-form textarea{background:#1f2229;border-color:#343943;color:#e5e7eb}
.footer-col .lead-form input::placeholder,.footer-col .lead-form textarea::placeholder{color:#9ca3af}
.footer-contact-mini{display:grid;grid-template-columns:1fr 1.4fr;gap:24px;padding:28px 20px;border-top:1px solid #343943}
.footer-contact-mini h4{color:#fff;font-size:14px;font-weight:900;margin-bottom:6px}
.footer-contact-mini p{color:#9ca3af;font-size:12px;line-height:1.6}
.footer-contact-mini .lead-form{margin-top:0}
@media(max-width:760px){.form-row{flex-direction:column}.public-form button{padding:11px 18px}.footer-contact-mini{grid-template-columns:1fr}}
