:root{--red:#d8002a;--dark:#111;--text:#1f2937;--muted:#6b7280;--line:#e8e8e8;--soft:#f7f7f8;--container:1180px;--shadow:0 18px 45px rgba(17,24,39,.08)}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}.container{width:min(100% - 48px,var(--container));margin-inline:auto}.site-header{background:var(--red);color:#fff;position:relative;z-index:50}.header-inner{height:64px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;color:#fff;font-weight:700}.brand-mark{font-size:26px;letter-spacing:.04em;padding-right:16px;border-right:1px solid rgba(255,255,255,.45);line-height:1}.brand-name{font-size:24px;margin-left:16px;white-space:nowrap}.custom-logo{max-height:48px;width:auto}.main-nav{margin-left:20px}.primary-menu{display:flex;gap:0;list-style:none;margin:0;padding:0}.primary-menu a{display:block;color:#fff;font-size:14px;font-weight:700;padding:22px 14px}.primary-menu a:hover{background:rgba(255,255,255,.12);color:#fff}.search-toggle{margin-left:auto;border:0;background:#fff;color:#111;border-radius:50%;width:42px;height:42px;font-size:20px;cursor:pointer}.menu-toggle{display:none;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:8px;padding:10px 12px}.search-overlay{display:none;position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);padding:18px;box-shadow:var(--shadow)}.search-overlay.open{display:block}.search-form{display:flex;gap:8px}.search-field{flex:1;padding:13px;border:1px solid var(--line)}.search-submit,.btn-outline{background:var(--red);color:#fff;border:0;padding:13px 18px;font-weight:700}.hero-press{height:390px;position:relative;overflow:hidden;background:#111}.hero-slide{position:absolute;inset:0;opacity:0;transition:.45s opacity}.hero-slide.active{opacity:1}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,#444,#bbb);background-size:cover;background-position:center}.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.34),rgba(0,0,0,.08),rgba(0,0,0,.18))}.hero-content{height:100%;display:flex;align-items:center}.hero-card{position:relative;background:#fff;border-radius:10px;padding:24px 26px;width:min(430px,92vw);box-shadow:var(--shadow)}.hero-card h1{font-size:22px;margin:0 0 8px;color:#30343b}.hero-card p{margin:0 0 14px;color:#444}.hero-card a{font-weight:700;color:var(--red)}.hero-arrow,.rail-btn{position:absolute;z-index:10;border:0;border-radius:50%;background:rgba(0,0,0,.48);color:#fff;width:34px;height:34px;font-size:24px;cursor:pointer}.hero-arrow.left{left:10%}.hero-arrow.right{right:10%}.hero-arrow{top:50%;transform:translateY(-50%)}.quick-links{background:#fff;border-bottom:1px solid var(--line)}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;padding:26px 0}.quick-card{display:flex;gap:15px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(17,24,39,.04);transition:.2s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);color:inherit}.quick-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#fafafa;border:1px solid var(--line);color:var(--red);font-weight:800}.quick-icon img{width:26px;height:26px;object-fit:contain}.quick-text strong{display:block;font-size:18px}.quick-text em{display:block;font-style:normal;color:var(--muted);font-size:14px}.press-section{padding:42px 0}.front-slider-section+.front-slider-section{padding-top:8px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.section-head h2{font-size:24px;margin:0}.section-head a{color:var(--red);font-weight:700}.book-carousel{position:relative;background:#fbfbfb;border:1px solid #f0f0f0;padding:24px 52px;min-height:330px}.book-rail{display:flex;gap:28px;overflow-x:auto;scroll-behavior:smooth;padding:0 0 14px;scrollbar-width:thin}.book-rail::-webkit-scrollbar{height:7px}.book-rail::-webkit-scrollbar-thumb{background:#ddd;border-radius:999px}.rail-btn{top:45%;background:#ffe9ed;color:var(--red);font-size:26px}.rail-btn.prev{left:18px}.rail-btn.next{right:18px}.pub-card{flex:0 0 150px}.pub-card .cover-link{display:block;background:#eee;box-shadow:0 10px 24px rgba(0,0,0,.08);margin-bottom:12px}.pub-card .cover-link img{display:block;width:100%;aspect-ratio:.68/1;object-fit:cover}.pub-card.is-post{flex-basis:260px}.pub-card.is-post .cover-link img{aspect-ratio:16/10}.pub-meta{font-size:12px;color:#777;margin-bottom:5px}.pub-card h3{font-size:16px;line-height:1.35;margin:0 0 5px;color:var(--red)}.pub-card p{margin:0;color:#666;font-size:13px}.data-strip{background:#111;color:#fff}.strip-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.strip-inner h2{margin:0 0 6px}.strip-inner p{margin:0;color:#d1d5db}.btn-outline{display:inline-flex;border-radius:999px}.site-footer{background:#111;color:#fff;padding:42px 0;margin-top:0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:36px}.footer-title{font-size:24px;font-weight:800}.footer-title span{color:var(--red)}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu a{color:#fff}.archive-page,.single-page,.repo-single{padding:34px 0 54px}.archive-head{border-bottom:1px solid var(--line);margin-bottom:28px;padding-bottom:22px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--red);font-size:12px;font-weight:800;margin:0 0 4px}.archive-head h1,.post-head h1{font-size:38px;line-height:1.15;margin:0}.archive-head p{color:#666}.two-col-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:42px;align-items:start}.content-col{min-width:0}.sidebar-col{position:sticky;top:22px}.side-widget{border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px;margin-bottom:18px;box-shadow:0 8px 24px rgba(17,24,39,.03)}.side-widget h3{margin:0 0 12px;font-size:18px}.side-list{list-style:none;padding:0;margin:0}.side-list li{border-top:1px solid var(--line);padding:10px 0}.side-list li:first-child{border-top:0}.post-grid-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.story-row{display:grid;grid-template-columns:120px 1fr;gap:16px;border-bottom:1px solid var(--line);padding:0 0 18px}.story-row .thumb img{display:block;width:100%;height:86px;object-fit:cover;background:#eee}.story-row span{color:#777;font-size:12px;text-transform:uppercase}.story-row h3{font-size:18px;line-height:1.35;margin:2px 0 6px}.story-row p{margin:0;color:#666}.post-cover{width:100%;height:auto;border-radius:14px;margin:20px 0}.entry-content{font-size:17px}.entry-content a{color:var(--red)}.post-meta-line{color:#777}.comments-area{margin-top:34px;border-top:1px solid var(--line);padding-top:24px}.comment-form textarea,.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url]{width:100%;border:1px solid var(--line);padding:12px}.form-submit .submit{background:var(--red);color:#fff;border:0;padding:12px 18px;font-weight:700}.repo-searchbox{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:24px;box-shadow:var(--shadow)}.repo-searchbox .lpr-search-wrap,.repo-searchbox form{max-width:100%}.repo-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.repo-grid-2 .pub-card{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:start;flex:none}.repo-grid-2 .cover-link{margin:0}.repo-grid-2 .pub-card h3{font-size:18px}.repo-layout-v3{display:grid;grid-template-columns:260px minmax(0,820px);gap:42px;align-items:start}.repo-cover{position:sticky;top:24px;background:#f2f2f2;box-shadow:var(--shadow)}.repo-cover img{display:block;width:100%;aspect-ratio:.68/1;object-fit:cover}.repo-titlebox{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:20px}.repo-kicker{display:inline-flex;background:#f7f7f7;border-radius:20px;padding:5px 12px;font-size:12px;color:#555;margin-bottom:10px}.repo-titlebox h1{font-size:40px;line-height:1.12;margin:0 0 8px;letter-spacing:.01em}.repo-titlebox h2{font-size:20px;font-weight:400;color:#555;margin:0 0 12px}.author-info{background:#fafafa;border-left:3px solid var(--red);padding:12px 16px;margin:14px 0}.author-info summary{font-weight:700;cursor:pointer}.repo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.repo-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;color:#111;border-radius:20px;padding:7px 12px;font-size:13px;cursor:pointer}.repo-section{padding:22px 0;border-bottom:1px solid var(--line)}.repo-section h2{font-size:22px;margin:0 0 12px}.repo-details dl{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.repo-details div{border-bottom:1px solid var(--line);padding:13px 0}.repo-details dt{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#777}.repo-details dd{margin:3px 0 0;font-weight:700}.pdf-viewer{width:100%;height:760px;border:1px solid var(--line);background:#f7f7f7}.lpr-chapter-row{display:grid;grid-template-columns:42px 1fr auto auto;gap:16px;align-items:center;border:1px solid var(--line);padding:14px;margin-bottom:10px}.empty-note{color:#777;background:#fafafa;padding:18px}.screen-reader-text{position:absolute;left:-9999px}.nav-links{display:flex;gap:10px;margin-top:24px}.page-numbers{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border:1px solid var(--line);padding:0 10px}.page-numbers.current{background:var(--red);color:#fff;border-color:var(--red)}
@media (max-width:980px){.container{width:min(100% - 30px,var(--container))}.two-col-layout,.repo-layout-v3{grid-template-columns:1fr}.sidebar-col{position:static}.post-grid-list,.repo-grid-2{grid-template-columns:1fr}.repo-grid-2 .pub-card{grid-template-columns:105px 1fr}.repo-cover{position:static;max-width:220px}.quick-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--red)}.main-nav.open{display:block}.primary-menu{display:block}.primary-menu a{padding:14px 20px}.search-toggle{margin-left:0}.hero-arrow.left{left:18px}.hero-arrow.right{right:18px}.repo-titlebox h1{font-size:32px}.archive-head h1,.post-head h1{font-size:32px}}
@media (max-width:620px){.header-inner{gap:12px}.brand-name{font-size:20px}.brand-mark{font-size:22px}.hero-press{height:340px}.hero-content{align-items:center}.hero-card{padding:20px}.quick-grid{grid-template-columns:1fr}.press-section{padding:30px 0}.book-carousel{padding:18px 38px}.pub-card{flex-basis:135px}.pub-card.is-post{flex-basis:230px}.repo-layout-v3{gap:18px}.repo-single .container{width:min(100% - 26px,var(--container))}.repo-layout-v3{grid-template-columns:100px minmax(0,1fr)}.repo-cover{max-width:none}.repo-titlebox h1{font-size:26px}.repo-titlebox h2{font-size:17px}.author-info,.repo-actions{grid-column:1/-1}.repo-details dl{grid-template-columns:1fr}.strip-inner{display:block}.strip-inner .btn-outline{margin-top:16px}.pdf-viewer{height:520px}}
.search-panel{position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);padding:16px;box-shadow:var(--shadow)}.search-panel[hidden]{display:none}.search-panel .search-form{display:flex;gap:8px}.search-panel .search-field{flex:1;padding:13px;border:1px solid var(--line)}.copyright{margin-top:24px;color:#9ca3af;font-size:13px}

/* =========================
   LabPemilu Press v4 fixes
   ========================= */
:root{--header-h:64px}.site-header{position:sticky;top:0;z-index:999;background:var(--red);box-shadow:0 4px 18px rgba(0,0,0,.07)}.admin-bar .site-header{top:32px}.brand,.brand:hover,.brand:focus,.primary-menu a,.primary-menu a:hover,.primary-menu a:focus{color:#fff!important;opacity:1!important}.brand-name,.brand-mark{color:#fff!important}.primary-menu a:hover,.primary-menu a:focus{background:rgba(255,255,255,.16)!important;text-decoration:none}.search-toggle:hover,.search-toggle:focus{background:#fff;color:#111;opacity:1}.btn-outline:hover,.btn-outline:focus{background:#fff;color:var(--red);box-shadow:0 0 0 1px var(--red) inset}.repo-btn,.repo-btn-v4,.lpr38-primary,.lpr38-share,.lpr-copy-citation{transition:none!important}.repo-btn:hover,.repo-btn-v4:hover,.lpr38-primary:hover,.lpr38-share:hover,.lpr-copy-citation:hover{opacity:1!important;visibility:visible!important;color:var(--red)!important;background:#fff!important;border-color:var(--red)!important}

/* Archive publikasi: satu kolom, bukan grid kosong */
.repo-archive-v4{padding-top:42px;background:#fff}.repo-archive-shell{max-width:1080px}.repo-archive-head-v4{margin-bottom:28px}.repo-searchbox-v4{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 12px 34px rgba(17,24,39,.04)}.repo-searchbox-v4 input,.repo-searchbox-v4 select{border:1px solid #d8d8d8!important;border-radius:0!important;min-height:44px}.repo-searchbox-v4 button,.repo-searchbox-v4 input[type=submit]{background:var(--red)!important;color:#fff!important;border:1px solid var(--red)!important}.repo-stats-v4{margin-top:14px}.repo-list-v4{display:grid;gap:0;border-top:1px solid var(--line)}.repo-list-item-v4{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;padding:26px 0;border-bottom:1px solid var(--line);align-items:start}.repo-list-cover-v4{display:block;background:#f2f2f2;box-shadow:0 8px 20px rgba(17,24,39,.08)}.repo-list-cover-v4 img{display:block;width:150px;aspect-ratio:.68/1;object-fit:cover}.repo-list-kicker-v4{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#777;margin:0 0 6px}.repo-list-body-v4 h2{font-size:24px;line-height:1.18;margin:0 0 5px}.repo-list-body-v4 h2 a{color:#111827}.repo-list-body-v4 h2 a:hover{color:var(--red)}.repo-list-author-v4{font-size:14px;color:var(--red);font-weight:700;margin:0 0 8px}.repo-list-excerpt-v4{color:#4b5563;font-size:15px;max-width:720px}.repo-list-meta-v4{font-size:13px;color:#6b7280;margin:10px 0}.repo-detail-link-v4{display:inline-flex;border:1px solid var(--red);color:var(--red);font-weight:800;font-size:12px;padding:7px 10px;border-radius:3px}.repo-detail-link-v4:hover{background:var(--red);color:#fff}

/* Single publikasi LSE-like dengan sidebar kiri metadata */
.repo-single-v4{padding:38px 0 60px}.repo-shell-v4{max-width:1080px;display:grid;grid-template-columns:205px minmax(0,780px);gap:28px;align-items:start}.repo-side-v4{position:sticky;top:92px;border-bottom:1px solid var(--line)}.repo-cover-v4{margin-bottom:14px;background:#f0f0f0;box-shadow:0 12px 30px rgba(17,24,39,.08)}.repo-cover-v4 img{width:100%;display:block;aspect-ratio:.68/1;object-fit:cover}.repo-side-block{border-top:1px solid var(--line);padding:12px 0}.repo-side-block h4{font-size:13px;margin:0 0 6px;color:#111827}.repo-side-block p{font-size:12px;line-height:1.45;color:#374151;margin:0 0 5px}.repo-side-block strong{display:block;color:#111}.repo-peer-link{display:inline-flex;margin-top:6px;border:1px solid var(--red);color:var(--red);font-weight:700;font-size:12px;padding:5px 7px}.repo-sdg-wrap{display:flex;gap:5px;flex-wrap:wrap}.repo-sdg-wrap img{width:30px;height:30px;object-fit:cover}.repo-tags{display:flex;flex-wrap:wrap;gap:5px}.repo-tags span{font-size:11px;background:#f4f4f5;border:1px solid var(--line);border-radius:999px;padding:3px 7px}.repo-content-v4{min-width:0}.repo-titlebox-v4{padding:2px 0 14px}.repo-kicker-v4{font-size:12px;color:#777;margin-bottom:6px}.repo-titlebox-v4 h1{font-size:34px;line-height:1.12;margin:0 0 7px;color:#111827;max-width:760px}.repo-titlebox-v4 h2{font-size:18px;line-height:1.4;font-weight:400;color:#4b5563;margin:0 0 12px}.repo-author-v4{font-size:14px;color:#b00024;font-weight:700;margin:0 0 10px}.author-info-v4{background:#fafafa;border-left:3px solid var(--red);padding:9px 12px;margin:10px 0 12px}.author-info-v4 summary{cursor:pointer;font-weight:800;font-size:13px;color:#111827}.author-info-v4 p{font-size:13px;color:#4b5563}.repo-actions-v4{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.repo-btn-v4{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1e1e1;background:#fff;color:#111;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;line-height:1;cursor:pointer}.repo-btn-v4 svg{width:13px;height:13px;fill:currentColor}.repo-tabs-v4{display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:4px;background:#f8f8f8;margin:16px 0 14px;overflow:hidden}.repo-tabs-v4 a{display:block;padding:8px 14px;border-right:1px solid var(--line);font-size:12px;font-weight:800;color:#111}.repo-tabs-v4 a:first-child{color:var(--red);background:#fff;border-top:3px solid var(--red);padding-top:5px}.repo-section-v4{border-bottom:1px solid var(--line);padding:18px 0}.repo-section-v4 h2,.repo-metrics-v4 h2{font-size:20px;margin:0 0 10px;color:#111827}.repo-section-v4 .entry-content{font-size:15px;color:#1f2937;max-width:760px}.repo-detail-grid-v4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.repo-detail-item{border-bottom:1px solid #eee;padding:9px 0}.repo-detail-item span{display:block;text-transform:uppercase;letter-spacing:.13em;color:#777;font-size:11px}.repo-detail-item strong{font-size:14px;color:#111827}.pdf-viewer-v4{width:100%;height:780px;border:1px solid var(--line);border-radius:8px}.repo-metrics-v4{padding:18px 0;border-bottom:1px solid var(--line)}.repo-metrics-v4>div{display:flex;justify-content:center;gap:70px;text-align:center}.repo-metrics-v4 span{display:grid;font-size:12px;color:#6b7280}.repo-metrics-v4 strong{font-size:18px;color:var(--red)}

/* Blog single: share, profil penulis, komentar dalam kotak */
.blog-layout-v4{grid-template-columns:minmax(0,760px) 310px;gap:44px;max-width:1120px}.article-wrap-v4{background:#fff}.post-head-v4{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:24px}.post-head-v4 h1{font-size:42px;line-height:1.12}.post-cover-v4{width:100%;border-radius:16px;margin:0 0 24px;box-shadow:0 12px 34px rgba(17,24,39,.08)}.share-box-v4,.author-box-v4,.comments-box-v4{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;margin:28px 0;box-shadow:0 10px 28px rgba(17,24,39,.04)}.share-box-v4 h3,.author-box-v4 h3,.comments-box-v4 h3{margin:0 0 12px;color:#111827}.share-buttons-v4{display:flex;gap:8px;flex-wrap:wrap}.share-buttons-v4 a,.share-buttons-v4 button{border:1px solid #e1e1e1;background:#fafafa;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:800;color:#111;cursor:pointer}.share-buttons-v4 a:hover,.share-buttons-v4 button:hover{border-color:var(--red);color:var(--red);background:#fff}.author-box-v4{display:flex;gap:16px;align-items:flex-start}.author-avatar-v4 img{border-radius:50%}.author-box-v4 p{margin:0 0 8px;color:#4b5563}.author-box-v4 a{color:var(--red);font-weight:800}.comment-list-v4{padding-left:20px}.comment-list-v4 .comment-body{border-bottom:1px solid #eee;padding:12px 0}.comment-form-v4 input,.comment-form-v4 textarea{width:100%;border:1px solid #d8d8d8;border-radius:10px;padding:12px}.comment-form-v4 input[type=submit]{width:auto;background:var(--red);color:#fff;border-color:var(--red);border-radius:999px;font-weight:800;padding:11px 18px}.sidebar-v4 .side-widget{border-radius:16px;box-shadow:0 10px 28px rgba(17,24,39,.04)}

/* Seluler */
@media (max-width: 900px){.admin-bar .site-header{top:0}.repo-shell-v4{grid-template-columns:1fr;gap:18px}.repo-side-v4{position:static;display:grid;grid-template-columns:138px minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:16px;padding:14px}.repo-cover-v4{grid-row:1 / span 6;margin:0}.repo-cover-v4 img{width:138px}.repo-titlebox-v4 h1{font-size:28px}.repo-detail-grid-v4{grid-template-columns:1fr}.repo-metrics-v4>div{gap:34px}.blog-layout-v4,.two-col-layout{grid-template-columns:1fr!important}.sidebar-col{position:static}.post-head-v4 h1{font-size:32px}.repo-list-item-v4{grid-template-columns:112px minmax(0,1fr);gap:16px}.repo-list-cover-v4 img{width:112px}.repo-list-body-v4 h2{font-size:20px}.repo-searchbox-v4{padding:12px}.footer-grid{grid-template-columns:1fr}.header-inner{gap:12px}.brand-name{font-size:18px}.primary-menu a{padding:14px 10px}}
@media (max-width: 560px){.repo-shell-v4,.repo-archive-shell,.blog-layout-v4{width:min(100% - 28px, var(--container))}.repo-side-v4{grid-template-columns:110px minmax(0,1fr)}.repo-cover-v4 img{width:110px}.repo-side-block{padding:7px 0}.repo-list-item-v4{grid-template-columns:94px minmax(0,1fr)}.repo-list-cover-v4 img{width:94px}.repo-list-excerpt-v4,.repo-list-meta-v4{display:none}.repo-titlebox-v4 h1{font-size:24px}.repo-tabs-v4 a{padding:7px 9px}.pdf-viewer-v4{height:540px}.share-buttons-v4 a,.share-buttons-v4 button{width:100%;justify-content:center}.author-box-v4{display:block}.author-avatar-v4{margin-bottom:10px}}

/* =========================
   LabPemilu Press v5 fixes
   ========================= */
html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] body{background:#0f1115;color:#e5e7eb}html[data-theme="dark"] .site-header{background:#111827}html[data-theme="dark"] .quick-links,html[data-theme="dark"] .press-section,html[data-theme="dark"] .archive-page,html[data-theme="dark"] .single-page,html[data-theme="dark"] .repo-single{background:#0f1115}html[data-theme="dark"] .quick-card,html[data-theme="dark"] .book-carousel,html[data-theme="dark"] .repo-searchbox-v4,html[data-theme="dark"] .side-widget,html[data-theme="dark"] .share-box-v4,html[data-theme="dark"] .author-box-v4,html[data-theme="dark"] .comments-box-v4,html[data-theme="dark"] .repo-tabs-v4,html[data-theme="dark"] .author-info-v4,html[data-theme="dark"] .search-panel{background:#161a22;border-color:#2b3240;color:#e5e7eb}html[data-theme="dark"] .repo-list-body-v4 h2 a,html[data-theme="dark"] .repo-titlebox-v4 h1,html[data-theme="dark"] .repo-section-v4 h2,html[data-theme="dark"] .repo-detail-item strong,html[data-theme="dark"] .repo-side-block h4,html[data-theme="dark"] .repo-side-block strong{color:#f9fafb}html[data-theme="dark"] .repo-titlebox-v4 h2,html[data-theme="dark"] .repo-section-v4 .entry-content,html[data-theme="dark"] .repo-list-excerpt-v4,html[data-theme="dark"] .repo-list-meta-v4,html[data-theme="dark"] .archive-head p{color:#cbd5e1}html[data-theme="dark"] .repo-btn-v4,html[data-theme="dark"] .share-buttons-v4 a,html[data-theme="dark"] .share-buttons-v4 button{background:#111827;color:#f9fafb;border-color:#374151}html[data-theme="dark"] .repo-tabs-v4 a{color:#f9fafb;border-color:#2b3240}html[data-theme="dark"] .repo-tabs-v4 a.active{background:#0f1115;color:#ff5c77}html[data-theme="dark"] .repo-tabs-v4 a:first-child{color:inherit;background:transparent;border-top:0;padding-top:8px}html[data-theme="dark"] .repo-side-block,html[data-theme="dark"] .repo-section-v4,html[data-theme="dark"] .repo-titlebox-v4,html[data-theme="dark"] .repo-list-item-v4,html[data-theme="dark"] .repo-list-v4,html[data-theme="dark"] .repo-detail-item{border-color:#2b3240}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#111827;color:#f9fafb;border-color:#374151!important}.theme-toggle{border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:50%;width:42px;height:42px;font-size:18px;font-weight:800;cursor:pointer;display:grid;place-items:center}.theme-toggle:hover,.theme-toggle:focus{background:#fff;color:#111;opacity:1}.theme-icon-moon{display:none}html[data-theme="dark"] .theme-icon-sun{display:none}html[data-theme="dark"] .theme-icon-moon{display:inline}.brand-logo{max-height:46px;width:auto;display:block}.brand-logo-dark{display:none}html[data-theme="dark"] .brand-logo-light{display:none}html[data-theme="dark"] .brand-logo-dark{display:block}.brand-name-fallback{margin-left:12px}

/* pusatkan seluruh halaman repository agar tidak menempel ke kiri */
.repo-archive-shell,.repo-shell-v4,.blog-layout-v4{margin-left:auto!important;margin-right:auto!important}.repo-shell-v4{width:min(100% - 48px,1080px)!important}.repo-archive-shell{width:min(100% - 48px,1080px)!important}.repo-content-v4{max-width:780px}.repo-side-v4{max-width:205px}.repo-list-v4{max-width:100%}.repo-searchbox-v4{max-width:100%}.repo-titlebox-v4 h1{max-width:760px}.repo-section-v4 .entry-content{max-width:760px}.repo-detail-grid-v4{max-width:760px}

/* tab publikasi: isi tidak muncul semua sebelum diklik */
.repo-tabs-v4 a:first-child{color:inherit;background:transparent;border-top:0;padding-top:8px}.repo-tabs-v4 a.active{color:var(--red)!important;background:#fff;border-top:3px solid var(--red);padding-top:5px}.repo-tab-panel{display:none}.repo-tab-panel.active{display:block}.repo-tab-panel{scroll-margin-top:96px}

@media (max-width:900px){.repo-shell-v4,.repo-archive-shell{width:min(100% - 28px,1080px)!important}.repo-content-v4,.repo-side-v4{max-width:none}.repo-side-v4{width:100%}.theme-toggle,.search-toggle{width:38px;height:38px}}

/* =========================
   LabPemilu Press v6: centering repository pages
   ========================= */
.repo-archive-v4,
.repo-single-v4{
  width:100% !important;
}
.repo-archive-v4 > .container.repo-archive-shell,
.repo-single-v4 > .container.repo-shell-v4{
  width:min(1180px, calc(100vw - 72px)) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.repo-single-v4 > .container.repo-shell-v4{
  display:grid !important;
  grid-template-columns:220px minmax(0,760px) !important;
  gap:32px !important;
  justify-content:center !important;
  align-items:start !important;
}
.repo-archive-v4 .repo-archive-head-v4,
.repo-archive-v4 .repo-list-v4,
.repo-archive-v4 .navigation.pagination{
  max-width:1080px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.repo-archive-v4 .repo-searchbox-v4,
.repo-archive-v4 .repo-stats-v4{
  max-width:1080px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.repo-content-v4{
  width:100% !important;
  max-width:760px !important;
}
.repo-side-v4{
  width:220px !important;
  max-width:220px !important;
}
.repo-cover-v4 img{
  width:220px !important;
}
.repo-titlebox-v4 h1,
.repo-section-v4 .entry-content,
.repo-detail-grid-v4,
.pdf-viewer-v4{
  max-width:760px !important;
}
@media (min-width:1400px){
  .repo-archive-v4 > .container.repo-archive-shell,
  .repo-single-v4 > .container.repo-shell-v4{
    transform:none !important;
  }
}
@media (max-width:900px){
  .repo-archive-v4 > .container.repo-archive-shell,
  .repo-single-v4 > .container.repo-shell-v4{
    width:min(100% - 28px, 1080px) !important;
    max-width:none !important;
  }
  .repo-single-v4 > .container.repo-shell-v4{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .repo-side-v4,
  .repo-content-v4{
    width:100% !important;
    max-width:none !important;
  }
  .repo-cover-v4 img{width:138px !important;}
}
@media (max-width:560px){
  .repo-archive-v4 > .container.repo-archive-shell,
  .repo-single-v4 > .container.repo-shell-v4{
    width:min(100% - 24px, 1080px) !important;
  }
  .repo-cover-v4 img{width:110px !important;}
}


/* =========================
   LabPemilu Press v6.1: dark mode blog/article fix
   ========================= */
html[data-theme="dark"] .blog-single-v4,
html[data-theme="dark"] .blog-layout-v4,
html[data-theme="dark"] .article-wrap-v4,
html[data-theme="dark"] .content-col.article-wrap-v4{
  background:transparent !important;
  color:#e5e7eb !important;
}
html[data-theme="dark"] .post-head-v4{
  background:transparent !important;
  border-color:#2b3240 !important;
}
html[data-theme="dark"] .post-head-v4 h1,
html[data-theme="dark"] .single-page .post-head h1,
html[data-theme="dark"] .entry-content h1,
html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3,
html[data-theme="dark"] .entry-content h4{
  color:#f9fafb !important;
}
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .article-wrap-v4 .entry-content,
html[data-theme="dark"] .article-wrap-v4 p,
html[data-theme="dark"] .article-wrap-v4 li{
  color:#dbe3ef !important;
}
html[data-theme="dark"] .post-meta-line,
html[data-theme="dark"] .post-meta-line a,
html[data-theme="dark"] .post-head-v4 .eyebrow{
  color:#cbd5e1 !important;
}
html[data-theme="dark"] .post-head-v4 .eyebrow{
  color:#ff5c77 !important;
}
html[data-theme="dark"] .post-cover-v4,
html[data-theme="dark"] .post-cover{
  box-shadow:0 18px 46px rgba(0,0,0,.35) !important;
}
html[data-theme="dark"] .author-box-v4,
html[data-theme="dark"] .share-box-v4,
html[data-theme="dark"] .comments-area,
html[data-theme="dark"] .comments-box-v4{
  background:#161a22 !important;
  border-color:#2b3240 !important;
  color:#e5e7eb !important;
}
html[data-theme="dark"] .share-box-v4 h3,
html[data-theme="dark"] .author-box-v4 h3,
html[data-theme="dark"] .comments-area h2,
html[data-theme="dark"] .comments-area h3,
html[data-theme="dark"] .comment-reply-title{
  color:#f9fafb !important;
}
html[data-theme="dark"] .author-box-v4 p,
html[data-theme="dark"] .comment-metadata,
html[data-theme="dark"] .comment-notes,
html[data-theme="dark"] .logged-in-as{
  color:#cbd5e1 !important;
}
html[data-theme="dark"] .comment-list-v4 .comment-body,
html[data-theme="dark"] .comment-list .comment-body{
  border-color:#2b3240 !important;
}
html[data-theme="dark"] .sidebar-v4 .side-widget,
html[data-theme="dark"] .sidebar-col .side-widget{
  background:#161a22 !important;
  border-color:#2b3240 !important;
  color:#e5e7eb !important;
}
html[data-theme="dark"] .sidebar-v4 .side-widget h3,
html[data-theme="dark"] .sidebar-col .side-widget h3{
  color:#f9fafb !important;
}
html[data-theme="dark"] .side-list li,
html[data-theme="dark"] .story-row{
  border-color:#2b3240 !important;
}
html[data-theme="dark"] .story-row p,
html[data-theme="dark"] .story-row span{
  color:#cbd5e1 !important;
}
html[data-theme="dark"] .story-row h3,
html[data-theme="dark"] .story-row h3 a{
  color:#f9fafb !important;
}
html[data-theme="dark"] .press-section .section-head h2,
html[data-theme="dark"] .front-slider-section .section-head h2{
  color:#f9fafb !important;
}
html[data-theme="dark"] .pub-card p,
html[data-theme="dark"] .pub-card .pub-meta,
html[data-theme="dark"] .pub-meta{
  color:#cbd5e1 !important;
}
html[data-theme="dark"] .pub-card h3,
html[data-theme="dark"] .pub-card h3 a{
  color:#ff174a !important;
}
html[data-theme="dark"] .book-carousel{
  background:#151a22 !important;
  border-color:#2b3240 !important;
}
html[data-theme="dark"] .rail-btn{
  background:#2a1220 !important;
  color:#ff5c77 !important;
}
html[data-theme="dark"] .rail-btn:hover{
  background:#ff5c77 !important;
  color:#111827 !important;
}
