: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;
}

/* =========================
   LabPemilu Press v6.2 mobile/header/subscribe fix
   ========================= */
.brand-mark{display:none!important}.brand-name-only{margin-left:0;font-size:24px;font-weight:800}.brand-logo{max-height:44px;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}.mobile-nav-search{display:none}.site-header{position:sticky;top:0}.site-bar{background:inherit}.site-header .brand:hover,.site-header .brand:focus{color:#fff!important;opacity:1}.theme-toggle,.search-toggle,.menu-toggle{flex:0 0 auto}.search-toggle:hover,.theme-toggle:hover,.menu-toggle:hover{color:#111!important;background:#fff!important;opacity:1}.theme-toggle{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:50%;width:42px;height:42px;font-size:18px;cursor:pointer}.theme-toggle:hover{background:rgba(255,255,255,.24)!important;color:#fff!important}html[data-theme="light"] .theme-icon-moon,html[data-theme="dark"] .theme-icon-sun{display:none}

.subscribe-strip{background:linear-gradient(135deg,#f7f8fb,#fff);color:var(--text);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.subscribe-strip .strip-inner{min-height:170px}.strip-copy h2{font-size:30px;line-height:1.22}.strip-copy p{color:var(--muted);font-size:17px}.subscribe-capsule{display:flex;align-items:center;gap:8px;width:min(100%,520px);background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px;box-shadow:0 18px 45px rgba(17,24,39,.08)}.subscribe-capsule input{flex:1;min-width:0;border:0;background:transparent;padding:12px 16px;font-size:15px;color:var(--text);outline:0}.subscribe-capsule button{border:0;border-radius:999px;background:var(--red);color:#fff;font-weight:800;padding:12px 20px;cursor:pointer}.subscribe-capsule button:hover{background:#a90020;color:#fff}.footer-logo-wrap{margin-bottom:16px}.footer-logo{max-height:46px;width:auto}.footer-logo-dark{display:none}html[data-theme="dark"] .footer-logo-light{display:none}html[data-theme="dark"] .footer-logo-dark{display:block}

/* Make repository/search section visually part of the site, not a detached white block */
.repo-searchbox,.repo-searchbox-v4{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.repo-archive-v4 .archive-head,.repo-archive-head-v4{border-bottom:0!important}.lpr-search,.lpr-search-v39{border-radius:22px!important;box-shadow:0 20px 55px rgba(17,24,39,.10);margin-top:20px!important}.lpr-stats{gap:14px}.lpr-stats>div,.lpr-stat{border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(17,24,39,.04)}

/* Dark mode for repository plugin when theme uses html[data-theme] */
html[data-theme="dark"] body{background:#0b0f17;color:#e5e7eb}html[data-theme="dark"] .quick-links,html[data-theme="dark"] .quick-card,html[data-theme="dark"] .press-section:not(.data-strip){background:#0b0f17;color:#e5e7eb}html[data-theme="dark"] .quick-card{background:#141a24;border-color:#293142}html[data-theme="dark"] .quick-icon{background:#0f1520;border-color:#293142}html[data-theme="dark"] .quick-text em{color:#cbd5e1}html[data-theme="dark"] .subscribe-strip{background:linear-gradient(135deg,#111827,#0b0f17);border-color:#293142;color:#f8fafc}html[data-theme="dark"] .strip-copy p{color:#cbd5e1}html[data-theme="dark"] .subscribe-capsule{background:#0f1520;border-color:#293142}html[data-theme="dark"] .subscribe-capsule input{color:#f8fafc}html[data-theme="dark"] .lpr-search,html[data-theme="dark"] .lpr-search-v39{background:#0f1117!important;color:#fff!important;border-color:#d71920!important}html[data-theme="dark"] .lpr-search input,html[data-theme="dark"] .lpr-search select,html[data-theme="dark"] .lpr-filter-row select{background:#111827!important;color:#f8fafc!important;border-color:#293142!important}html[data-theme="dark"] .lpr-search input::placeholder{color:#9ca3af!important}html[data-theme="dark"] .lpr-stats>div,html[data-theme="dark"] .lpr-stat{background:#141a24!important;border-color:#293142!important;color:#e5e7eb!important}html[data-theme="dark"] .lpr-stats span,html[data-theme="dark"] .lpr-stat span{color:#cbd5e1!important}html[data-theme="dark"] .lpr40-card,html[data-theme="dark"] .lpr38-card{border-color:#293142!important}html[data-theme="dark"] .lpr40-card-author,html[data-theme="dark"] .lpr40-card-excerpt,html[data-theme="dark"] .lpr40-card-meta,html[data-theme="dark"] .lpr38-card-author,html[data-theme="dark"] .lpr38-card-excerpt,html[data-theme="dark"] .lpr38-card-meta{color:#dbe3ef!important}html[data-theme="dark"] .lpr38-page,html[data-theme="dark"] .lpr38-main,html[data-theme="dark"] .lpr38-sidebar{background:transparent!important;color:#e5e7eb!important}html[data-theme="dark"] .lpr38-header h1,html[data-theme="dark"] .lpr38-header h2,html[data-theme="dark"] .lpr38-tab-panel h3,html[data-theme="dark"] .lpr38-metrics h3{color:#f8fafc!important}html[data-theme="dark"] .lpr38-description p,html[data-theme="dark"] .lpr38-side-block p,html[data-theme="dark"] .lpr38-author-bio p{color:#e5e7eb!important}html[data-theme="dark"] .lpr38-side-block,html[data-theme="dark"] .lpr38-metrics,html[data-theme="dark"] .lpr38-metric-row{border-color:#293142!important}html[data-theme="dark"] .lpr38-side-block h4,html[data-theme="dark"] .lpr38-kicker{color:#cbd5e1!important}html[data-theme="dark"] .lpr38-author-bio,html[data-theme="dark"] .lpr38-mobile-author-bio{background:rgba(255,255,255,.07)!important;border-color:#d71920!important}html[data-theme="dark"] .lpr38-tabs{background:rgba(255,255,255,.07)!important;border-color:#293142!important}html[data-theme="dark"] .lpr38-tabs button{background:rgba(255,255,255,.04)!important;color:#e5e7eb!important;border-color:#293142!important}html[data-theme="dark"] .lpr38-tabs button.active{background:rgba(255,255,255,.14)!important;color:#fff!important}html[data-theme="dark"] .lpr38-detail-table th{background:rgba(255,255,255,.08)!important;color:#cbd5e1!important;border-color:#293142!important}html[data-theme="dark"] .lpr38-detail-table td{background:rgba(255,255,255,.03)!important;color:#f8fafc!important;border-color:#293142!important}

@media(max-width:900px){.header-inner{height:58px;gap:12px}.brand{min-width:0}.brand-name,.brand-name-only{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-logo,.brand-logo{max-height:34px}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;order:2;margin-left:auto}.theme-toggle{order:3;width:38px;height:38px}.search-toggle{display:none!important}.main-nav{display:none;position:absolute;left:0;right:0;top:58px;background:var(--red);padding:12px 18px 18px;margin-left:0;box-shadow:0 18px 45px rgba(0,0,0,.18)}.main-nav.open{display:block}.primary-menu{display:grid;gap:4px}.primary-menu a{padding:12px;border-radius:10px}.primary-menu a:hover{background:rgba(255,255,255,.14)}.mobile-nav-search{display:block;margin-top:10px}.mobile-nav-search .search-form{display:flex;background:#fff;border-radius:999px;padding:5px}.mobile-nav-search .search-field{border:0;background:transparent;padding:10px 12px}.mobile-nav-search .search-submit{border-radius:999px;padding:10px 14px}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 0}.quick-card{display:grid;text-align:center;justify-items:center;align-content:start;gap:8px;border-radius:16px;padding:12px 8px;min-height:112px}.quick-icon{width:42px;height:42px}.quick-text strong{font-size:13px;line-height:1.25}.quick-text em{font-size:11px;line-height:1.25}.strip-inner{display:grid;gap:18px}.subscribe-strip .strip-inner{min-height:0;padding:32px 0}.strip-copy h2{font-size:23px}.strip-copy p{font-size:14px}.subscribe-capsule{border-radius:24px;display:grid;padding:10px}.subscribe-capsule input{width:100%;text-align:left}.subscribe-capsule button{width:100%}.lpr-search,.lpr-search-v39{border-radius:18px!important}.lpr-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.lpr-filter-row select{font-size:12px;padding:0 8px}.lpr-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.site-footer .footer-grid{grid-template-columns:1fr!important;gap:24px}}
@media(max-width:380px){.quick-grid{gap:8px}.quick-card{padding:10px 6px}.quick-text em{display:none}.lpr-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* =========================
   LabPemilu Press v6.3: header search polish + repository harmony
   ========================= */
.site-header{box-shadow:0 8px 24px rgba(0,0,0,.08)}
.header-inner{gap:22px}.brand{min-width:0}.brand-name-only,.brand-name{letter-spacing:.01em}.main-nav{flex:1;min-width:0}.primary-menu{justify-content:flex-start}.theme-toggle,.search-toggle,.menu-toggle{transition:background .18s ease,color .18s ease,transform .18s ease}.theme-toggle:hover,.search-toggle:hover,.menu-toggle:hover{transform:translateY(-1px)}
.search-panel{position:absolute;left:0;right:0;top:64px;background:transparent!important;border:0!important;box-shadow:none!important;padding:12px 0!important;z-index:60}.search-panel[hidden]{display:none!important}.search-panel>.container{display:flex;justify-content:flex-end}.search-panel .search-form{width:min(100%,520px);display:flex;align-items:center;gap:8px;background:#fff;border:1px solid rgba(17,24,39,.10);border-radius:999px;padding:8px;box-shadow:0 18px 42px rgba(17,24,39,.18)}.search-panel .search-field{border:0!important;background:transparent!important;padding:10px 14px!important;outline:0;color:#111}.search-panel .search-submit{border-radius:999px!important;padding:10px 18px!important;background:var(--red)!important;color:#fff!important}.search-panel .search-submit:hover{background:#a90020!important;color:#fff!important}
html[data-theme="dark"] .search-panel .search-form{background:#151a22;border-color:#2b3240;box-shadow:0 18px 42px rgba(0,0,0,.45)}html[data-theme="dark"] .search-panel .search-field{color:#f8fafc!important}.mobile-nav-search .search-form{display:flex;align-items:center;gap:0;background:#fff;border-radius:999px;padding:6px;overflow:hidden}.mobile-nav-search .search-field{min-width:0;flex:1;border:0!important;background:transparent!important;padding:10px 12px!important;color:#111}.mobile-nav-search .search-submit{border-radius:999px!important;padding:9px 15px!important;color:#fff!important;background:var(--red)!important}
.repo-archive-v4 .repo-archive-head-v4{border-top:4px solid var(--red);border-bottom:0;background:#fff;border-radius:0 0 22px 22px;padding:28px 28px 8px;margin-bottom:24px;box-shadow:0 20px 60px rgba(17,24,39,.06)}.repo-archive-v4 .archive-head h1{font-size:42px}.repo-searchbox-v4{border-radius:24px!important;border:1px solid #eef0f4!important;background:#fff!important;box-shadow:0 22px 60px rgba(17,24,39,.08)!important;padding:22px!important;margin-top:20px}.repo-stats-v4{margin-top:16px}.repo-list-v4{max-width:100%}.repo-list-item-v4{border-radius:22px!important;background:#fff!important;border:1px solid #eef0f4!important;box-shadow:0 20px 50px rgba(17,24,39,.06)!important;padding:28px!important}.repo-list-cover-v4{border-radius:10px;overflow:hidden}.repo-detail-link-v4{border-radius:999px!important}
html[data-theme="dark"] .repo-archive-v4 .repo-archive-head-v4,html[data-theme="dark"] .repo-searchbox-v4,html[data-theme="dark"] .repo-list-item-v4{background:#111827!important;border-color:#263042!important;color:#e5e7eb!important;box-shadow:0 22px 60px rgba(0,0,0,.28)!important}html[data-theme="dark"] .archive-head p,html[data-theme="dark"] .repo-list-excerpt-v4,html[data-theme="dark"] .repo-list-meta-v4{color:#cbd5e1!important}
@media(max-width:760px){.site-header .header-inner{height:58px;gap:12px}.site-header .brand-logo{max-height:36px}.brand-name-only{font-size:18px}.main-nav{position:absolute;left:0;right:0;top:58px;background:var(--red);padding:12px 16px 18px;display:none;box-shadow:0 20px 40px rgba(0,0,0,.18)}.main-nav.open{display:block}.primary-menu{display:block}.primary-menu a{padding:13px 12px;border-radius:12px}.mobile-nav-search{display:block;margin:10px 0 0}.search-toggle{display:none!important}.menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;padding:0}.theme-toggle{width:38px;height:38px}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.quick-card{display:block;text-align:center;padding:12px 8px!important;border-radius:16px}.quick-icon{margin:0 auto 7px;width:36px;height:36px}.quick-text strong{font-size:12px;line-height:1.25}.quick-text em{font-size:11px;line-height:1.25}.repo-archive-v4>.container.repo-archive-shell{width:min(100% - 28px, 560px)!important;margin-inline:auto!important}.repo-archive-v4 .repo-archive-head-v4{padding:22px 14px 8px;border-radius:0;margin-inline:0;box-shadow:none}.repo-archive-v4 .archive-head h1{font-size:34px}.repo-searchbox-v4{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.repo-stats-v4 .lpr-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.repo-list-item-v4{grid-template-columns:96px minmax(0,1fr)!important;gap:14px!important;padding:16px!important;border-radius:18px!important}.repo-list-body-v4 h2{font-size:17px!important}.repo-list-excerpt-v4{display:none}.subscribe-strip .strip-inner{display:block;padding:34px 0}.subscribe-capsule{margin-top:18px;width:100%;border-radius:22px;display:block}.subscribe-capsule input{width:100%;display:block}.subscribe-capsule button{width:100%;margin-top:8px}}
@media(max-width:430px){.repo-archive-v4>.container.repo-archive-shell{width:min(100% - 22px, 390px)!important}.repo-archive-v4 .repo-archive-head-v4{padding-left:8px;padding-right:8px}.repo-stats-v4 .lpr-stats>div{padding:16px 14px}.quick-grid{gap:7px!important}.quick-card{padding:10px 5px!important}.quick-text strong{font-size:11px}.quick-text em{font-size:10px}}


/* =========================================================
   LabPemilu Press v6.4: Repository/plugin compatibility patch
   ========================================================= */

/* Center archive and detail */
.repo-archive-v4 > .container.repo-archive-shell,
.repo-single-v4 > .container.repo-shell-v4 {
  margin-left: auto !important;
  margin-right: auto !important;
}
.repo-archive-v4 .repo-archive-head-v4,
.repo-archive-v4 .repo-searchbox-v4,
.repo-archive-v4 .repo-stats-v4,
.repo-archive-v4 .repo-list-v4,
.repo-archive-v4 .navigation.pagination {
  margin-left: auto !important;
  margin-right: auto !important;
}
.repo-archive-v4 .repo-archive-head-v4,
.repo-archive-v4 .repo-searchbox-v4,
.repo-archive-v4 .repo-stats-v4,
.repo-archive-v4 .repo-list-v4 {
  max-width: 1080px !important;
}

/* Search area: no region/institution by default in theme archive */
.repo-searchbox-v4 .lpr-filter-row,
.repo-searchbox-v4 .lpr-filter-row-v39 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Official SDG icons complete with tooltip */
.repo-sdg-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
}
.repo-sdg-wrap img {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  display: block !important;
}
.repo-sdg-tip {
  position: relative !important;
  display: inline-flex !important;
}
.repo-sdg-tip::after {
  content: attr(data-tooltip) !important;
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 8px) !important;
  transform: translateX(-50%) !important;
  display: none !important;
  white-space: nowrap !important;
  background: #111827 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  z-index: 9999 !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.25) !important;
}
.repo-sdg-tip:hover::after { display: block !important; }

/* Peer review visible and tidy */
.repo-peer-link {
  display: inline-flex !important;
  margin-top: 8px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--red) !important;
  border-radius: 999px !important;
  color: var(--red) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* Mobile hero: cover left, content right, metadata below */
.repo-mobile-hero-v4 { display: none; }

@media (max-width: 900px) {
  .repo-single-v4 > .container.repo-shell-v4 {
    display: flex !important;
    flex-direction: column !important;
    width: min(100% - 24px, 1080px) !important;
    max-width: none !important;
    gap: 18px !important;
  }

  .repo-content-v4 { order: 1 !important; max-width: none !important; width: 100% !important; }
  .repo-side-v4 { order: 2 !important; max-width: none !important; width: 100% !important; }

  .repo-desktop-head-v4 { display: none !important; }
  .repo-mobile-hero-v4 {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    border-top: 4px solid var(--red) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 10px 26px rgba(17,17,17,.06) !important;
  }

  .repo-mobile-cover-v4 img {
    width: 108px !important;
    max-height: 160px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .repo-mobile-meta-v4 .repo-kicker-v4 {
    margin: 0 0 4px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .repo-mobile-meta-v4 h1 {
    margin: 0 0 5px !important;
    font-size: 19px !important;
    line-height: 1.22 !important;
    color: #111827 !important;
  }

  .repo-mobile-meta-v4 h2 {
    margin: 0 0 7px !important;
    font-size: 13px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
  }

  .repo-mobile-meta-v4 .repo-author-v4 {
    margin: 0 0 7px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .repo-mobile-meta-v4 .author-info-v4 {
    margin: 7px 0 8px !important;
    padding: 7px 9px !important;
    border-left: 3px solid var(--red) !important;
    background: rgba(255,255,255,.72) !important;
    border-radius: 0 8px 8px 0 !important;
  }

  .repo-mobile-meta-v4 .author-info-v4 summary {
    font-size: 11px !important;
    color: var(--red) !important;
  }

  .repo-mobile-meta-v4 .author-info-v4 p {
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: #374151 !important;
  }

  .repo-mobile-meta-v4 .repo-actions-v4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 7px !important;
  }

  .repo-mobile-meta-v4 .repo-btn-v4 {
    height: 29px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
  }

  /* metadata/sidebar below tabs, not beside cover */
  .repo-side-v4 {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .repo-side-v4 .repo-cover-v4 {
    display: none !important;
  }

  .repo-tabs-v4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    border-radius: 12px !important;
    margin-top: 14px !important;
  }

  .repo-tabs-v4 a {
    text-align: center !important;
    padding: 10px 8px !important;
  }

  /* Search box: full width inside red boundary */
  .repo-searchbox-v4 {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .repo-searchbox-v4 .lpr-search,
  .repo-searchbox-v4 .lpr-search-v39 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 26px 18px 18px !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
  }
  .repo-searchbox-v4 .lpr-search input[type="search"],
  .repo-searchbox-v4 .lpr-search button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* Dark mode readability */
html[data-theme="dark"] .repo-side-block h4,
html[data-theme="dark"] .repo-side-block p,
html[data-theme="dark"] .repo-side-block span,
html[data-theme="dark"] .repo-side-block strong,
html[data-theme="dark"] .repo-detail-item span,
html[data-theme="dark"] .repo-detail-item strong {
  color: #e5e7eb !important;
  opacity: 1 !important;
}
html[data-theme="dark"] .repo-side-block p,
html[data-theme="dark"] .repo-side-block span,
html[data-theme="dark"] .repo-detail-item span,
html[data-theme="dark"] .repo-metrics-v4 span {
  color: #cbd5e1 !important;
}
html[data-theme="dark"] .repo-section-v4 .entry-content,
html[data-theme="dark"] .repo-section-v4 .entry-content p {
  color: #e5e7eb !important;
}
html[data-theme="dark"] .repo-mobile-hero-v4 {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.14) !important;
}
html[data-theme="dark"] .repo-mobile-meta-v4 h1,
html[data-theme="dark"] .repo-mobile-meta-v4 h2 {
  color: #f8fafc !important;
}
html[data-theme="dark"] .repo-mobile-meta-v4 .author-info-v4 {
  background: rgba(255,255,255,.08) !important;
}
html[data-theme="dark"] .repo-mobile-meta-v4 .author-info-v4 p {
  color: #e5e7eb !important;
}

/* Light mode stays readable */
html:not([data-theme="dark"]) .repo-titlebox-v4 h1,
html:not([data-theme="dark"]) .repo-section-v4 h2,
html:not([data-theme="dark"]) .repo-side-block h4 {
  color: #111827 !important;
}
html:not([data-theme="dark"]) .repo-section-v4 .entry-content,
html:not([data-theme="dark"]) .repo-section-v4 .entry-content p,
html:not([data-theme="dark"]) .repo-side-block p {
  color: #1f2937 !important;
}


/* =========================================================
   LabPemilu Press v6.5 — repo center + mobile search full width
   ========================================================= */

/* Desktop: halaman publikasi dan detail publikasi benar-benar center */
@media (min-width: 901px) {
  .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 - 96px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-single-v4 > .container.repo-shell-v4 {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 820px) !important;
    gap: 46px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .repo-archive-v4 .repo-archive-head-v4,
  .repo-archive-v4 .repo-searchbox-v4,
  .repo-archive-v4 .repo-stats-v4,
  .repo-archive-v4 .repo-list-v4,
  .repo-archive-v4 .navigation.pagination {
    width: min(100%, 1080px) !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-list-item-v4 {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-titlebox-v4 h1,
  .repo-titlebox-v4 h2,
  .repo-titlebox-v4 .author-info-v4,
  .repo-tabs-v4,
  .repo-section-v4,
  .repo-metrics-v4 {
    max-width: 820px !important;
  }
}

/* Mobile archive: kartu pencarian melebar mengikuti batas layar/container */
@media (max-width: 760px) {
  .repo-archive-v4 > .container.repo-archive-shell {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-archive-v4 .repo-archive-head-v4 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .repo-archive-v4 .repo-archive-head-v4 > .eyebrow,
  .repo-archive-v4 .repo-archive-head-v4 > h1,
  .repo-archive-v4 .repo-archive-head-v4 > p {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .repo-searchbox-v4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .repo-searchbox-v4 .lpr-search,
  .repo-searchbox-v4 .lpr-search-v39 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 26px 18px 18px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-search-title {
    width: 100% !important;
    max-width: 100% !important;
  }

  .repo-searchbox-v4 .lpr-search input[type="search"],
  .repo-searchbox-v4 .lpr-search-v39 input[type="search"],
  .repo-searchbox-v4 .lpr-search button[type="submit"],
  .repo-searchbox-v4 .lpr-search-v39 button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-filter-row select,
  .repo-searchbox-v4 .lpr-filter-row-v39 select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 22px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }
}

/* Very small phones: tetap tiga filter, tetapi lebih padat */
@media (max-width: 390px) {
  .repo-archive-v4 > .container.repo-archive-shell {
    width: calc(100% - 14px) !important;
  }

  .repo-searchbox-v4 .lpr-search,
  .repo-searchbox-v4 .lpr-search-v39 {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    gap: 8px !important;
  }
}


/* =========================================================
   v6.6 Repository Container + Header Customizer Compatibility
   ========================================================= */

/* Header now follows Customizer colors */
.site-header,
.site-header .site-bar {
  background: var(--labp-header-bg, var(--red)) !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header .site-bar {
  background: var(--labp-header-bg-dark, #111827) !important;
}

.site-header .brand,
.site-header .brand:hover,
.site-header .brand:focus,
.site-header .brand-name,
.site-header .brand-name-only,
.site-header .brand-name-fallback,
.site-header .primary-menu a,
.site-header .primary-menu a:hover,
.site-header .primary-menu a:focus {
  color: var(--labp-header-text, #fff) !important;
}

/* Use one container logic for blog and repository */
.repo-archive .container,
.repo-single .container,
.repo-archive-shell,
.repo-shell-v4 {
  width: min(100% - 48px, var(--container, 1180px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Archive repository should sit in the same visual center as blog pages */
.repo-archive-v4,
.archive-page.repo-archive {
  padding-top: 34px !important;
}

.repo-archive-head-v4,
.repo-list-v4,
.repo-stats-v4,
.repo-searchbox-v4,
.navigation.pagination {
  margin-left: auto !important;
  margin-right: auto !important;
}

.repo-archive-head-v4,
.repo-list-v4 {
  width: min(100%, 1120px) !important;
}

.repo-searchbox-v4 {
  width: min(100%, 1120px) !important;
  box-sizing: border-box !important;
}

/* Desktop detail: balanced and centered */
@media (min-width: 901px) {
  .repo-shell-v4 {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 820px) !important;
    gap: 42px !important;
    justify-content: center !important;
    align-items: start !important;
  }

  .repo-side-v4 {
    grid-column: 1 !important;
    width: 260px !important;
    max-width: 260px !important;
  }

  .repo-content-v4 {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 820px !important;
    min-width: 0 !important;
  }

  .repo-titlebox-v4,
  .repo-tabs-v4,
  .repo-section-v4,
  .repo-metrics-v4 {
    width: 100% !important;
    max-width: 820px !important;
  }
}

/* Archive list: LSE-like, centered, not tilted left */
.repo-list-item-v4 {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.repo-list-v4 {
  display: block !important;
}

/* Keep repository search clean on desktop */
.repo-searchbox-v4 .lpr-search,
.repo-searchbox-v4 .lpr-search-v39 {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Mobile archive: search should fill the red boundary area */
@media (max-width: 900px) {
  .repo-archive .container,
  .repo-single .container,
  .repo-archive-shell,
  .repo-shell-v4 {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-archive-head-v4 {
    width: 100% !important;
  }

  .repo-searchbox-v4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .repo-searchbox-v4 .lpr-search,
  .repo-searchbox-v4 .lpr-search-v39 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 18px 18px 18px !important;
    padding: 24px 18px 18px !important;
  }

  .repo-searchbox-v4 .lpr-search input[type="search"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-search button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
  }

  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .repo-searchbox-v4 .lpr-filter-row select,
  .repo-searchbox-v4 .lpr-filter-row-v39 select {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
    padding-left: 8px !important;
    padding-right: 20px !important;
  }
}

/* Mobile detail: agreed order and side-by-side cover */
@media (max-width: 900px) {
  .repo-shell-v4 {
    display: flex !important;
    flex-direction: column !important;
  }

  .repo-content-v4 {
    order: 1 !important;
    width: 100% !important;
  }

  .repo-side-v4 {
    order: 2 !important;
    width: 100% !important;
    margin-top: 22px !important;
  }

  .repo-desktop-head-v4,
  .repo-side-v4 .repo-cover-v4 {
    display: none !important;
  }

  .repo-mobile-hero-v4 {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    border-top: 4px solid var(--red) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.55) !important;
    box-shadow: 0 10px 26px rgba(17,17,17,.06) !important;
  }

  .repo-mobile-cover-v4 {
    width: 108px !important;
    max-width: 108px !important;
    background: transparent !important;
  }

  .repo-mobile-cover-v4 img {
    width: 100% !important;
    height: auto !important;
    max-height: 158px !important;
    object-fit: contain !important;
    background: transparent !important;
  }

  .repo-mobile-meta-v4 {
    min-width: 0 !important;
  }

  .repo-mobile-meta-v4 .repo-kicker-v4 {
    margin: 0 0 4px !important;
    font-size: 10px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .repo-mobile-meta-v4 h1 {
    margin: 0 0 4px !important;
    font-size: 19px !important;
    line-height: 1.22 !important;
    color: #111827 !important;
  }

  .repo-mobile-meta-v4 h2 {
    margin: 0 0 7px !important;
    font-size: 13px !important;
    line-height: 1.32 !important;
    color: #4b5563 !important;
  }

  .repo-mobile-meta-v4 .repo-author-v4 {
    margin: 0 0 7px !important;
    color: var(--red) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .repo-mobile-meta-v4 .author-info-v4 {
    margin: 7px 0 8px !important;
    padding: 7px 9px !important;
    border-left: 3px solid var(--red) !important;
    border-radius: 0 8px 8px 0 !important;
    background: rgba(255,255,255,.65) !important;
  }

  .repo-mobile-meta-v4 .author-info-v4 summary {
    font-size: 11px !important;
    color: var(--red) !important;
  }

  .repo-actions-v4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .repo-actions-v4 .repo-btn-v4 {
    width: auto !important;
    min-width: 0 !important;
    height: 29px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .repo-tabs-v4 {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 16px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .repo-tabs-v4 a {
    text-align: center !important;
    padding: 11px 8px !important;
    font-size: 12px !important;
  }
}

/* SDG icons full and tidy */
.repo-sdg-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
}

.repo-sdg-tip {
  position: relative !important;
  display: inline-flex !important;
}

.repo-sdg-tip img {
  width: 43px !important;
  height: 43px !important;
  object-fit: contain !important;
  display: block !important;
}

.repo-sdg-tip::after {
  content: attr(data-tooltip) !important;
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 8px) !important;
  transform: translateX(-50%) !important;
  display: none !important;
  white-space: nowrap !important;
  background: #111827 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  z-index: 9999 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.25) !important;
}

.repo-sdg-tip:hover::after {
  display: block !important;
}

/* Peer Review block */
.repo-peer-link {
  display: inline-flex !important;
  margin-top: 8px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--red) !important;
  color: var(--red) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Dark mode readability */
html[data-theme="dark"] .repo-side-block h4,
html[data-theme="dark"] .repo-side-block strong,
html[data-theme="dark"] .repo-detail-item strong {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .repo-side-block p,
html[data-theme="dark"] .repo-side-block span,
html[data-theme="dark"] .repo-side-block dd,
html[data-theme="dark"] .repo-section-v4 .entry-content,
html[data-theme="dark"] .repo-section-v4 .entry-content p,
html[data-theme="dark"] .repo-metrics-v4 span {
  color: #dbe3ee !important;
  opacity: 1 !important;
}

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-detail-item,
html[data-theme="dark"] .repo-metrics-v4 {
  border-color: #293142 !important;
}

html[data-theme="dark"] .repo-mobile-hero-v4 {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.14) !important;
}

html[data-theme="dark"] .repo-mobile-meta-v4 h1,
html[data-theme="dark"] .repo-mobile-meta-v4 h2 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .repo-mobile-meta-v4 .author-info-v4 {
  background: rgba(255,255,255,.08) !important;
}

html[data-theme="dark"] .repo-mobile-meta-v4 .author-info-v4 p {
  color: #e5e7eb !important;
}

/* Light mode fallback */
html[data-theme="light"] .repo-side-block h4,
html:not([data-theme="dark"]) .repo-side-block h4 {
  color: #111827 !important;
}

html[data-theme="light"] .repo-side-block p,
html:not([data-theme="dark"]) .repo-side-block p {
  color: #374151 !important;
}


/* =========================================================
   v6.7 HARD FIX — Repository breakout full viewport + center
   =========================================================
   Masalah sebelumnya:
   Repository terlihat kiri karena parent wrapper halaman masih membatasi
   area konten. Solusi ini memaksa halaman repository keluar dari parent
   wrapper (100vw), lalu isi di dalamnya dipusatkan ulang.
*/

/* 1) Breakout dari wrapper tema/WordPress */
body.post-type-archive-lpr_publication .repo-archive-v4,
body.post-type-archive-lpr_book .repo-archive-v4,
body.post-type-archive-lpr_chapter .repo-archive-v4,
body.post-type-archive-lpr_dataset .repo-archive-v4,
body.single-lpr_publication .repo-single-v4,
body.single-lpr_book .repo-single-v4,
body.single-lpr_chapter .repo-single-v4,
body.single-lpr_dataset .repo-single-v4,
.repo-archive-v4,
.repo-single-v4 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

/* fallback kalau browser lama belum support overflow-x: clip */
@supports not (overflow-x: clip) {
  .repo-archive-v4,
  .repo-single-v4 {
    overflow-x: hidden !important;
  }
}

/* 2) Isi repository dipusatkan ulang seperti blog */
.repo-archive-v4 > .container,
.repo-single-v4 > .container,
.repo-archive-shell,
.repo-shell-v4 {
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Desktop archive center */
@media (min-width: 901px) {
  .repo-archive-shell {
    width: min(1180px, calc(100vw - 96px)) !important;
    max-width: min(1180px, calc(100vw - 96px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .repo-archive-head-v4,
  .repo-searchbox-v4,
  .repo-stats-v4,
  .repo-list-v4,
  .navigation.pagination {
    width: min(1120px, 100%) !important;
    max-width: min(1120px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .repo-list-item-v4 {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Desktop single/detail center */
@media (min-width: 901px) {
  .repo-shell-v4 {
    width: min(1120px, calc(100vw - 96px)) !important;
    max-width: min(1120px, calc(100vw - 96px)) !important;
    display: grid !important;
    grid-template-columns: 260px minmax(0, 820px) !important;
    gap: 42px !important;
    justify-content: center !important;
    align-items: start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .repo-side-v4 {
    width: 260px !important;
    max-width: 260px !important;
    grid-column: 1 !important;
  }

  .repo-content-v4 {
    width: 100% !important;
    max-width: 820px !important;
    min-width: 0 !important;
    grid-column: 2 !important;
  }

  .repo-titlebox-v4,
  .repo-tabs-v4,
  .repo-section-v4,
  .repo-metrics-v4 {
    width: 100% !important;
    max-width: 820px !important;
  }
}

/* 3) Paksa tidak ada float/transform/left dari patch lama yang membuat miring */
.repo-archive-shell,
.repo-shell-v4,
.repo-archive-head-v4,
.repo-searchbox-v4,
.repo-stats-v4,
.repo-list-v4,
.repo-list-item-v4,
.repo-content-v4,
.repo-side-v4 {
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* 4) Mobile: area repository benar-benar penuh mengikuti layar */
@media (max-width: 900px) {
  .repo-archive-v4,
  .repo-single-v4 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .repo-archive-shell,
  .repo-shell-v4 {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .repo-archive-head-v4,
  .repo-searchbox-v4,
  .repo-stats-v4,
  .repo-list-v4 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Search box mepet ke batas container, bukan sempit di tengah */
  .repo-searchbox-v4 {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .repo-searchbox-v4 .lpr-search,
  .repo-searchbox-v4 .lpr-search-v39,
  .lpr-search,
  .lpr-search-v39 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-search input[type="search"],
  .repo-searchbox-v4 .lpr-search button[type="submit"],
  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .repo-searchbox-v4 .lpr-filter-row,
  .repo-searchbox-v4 .lpr-filter-row-v39 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .repo-searchbox-v4 .lpr-filter-row select,
  .repo-searchbox-v4 .lpr-filter-row-v39 select {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
  }
}

/* 5) Kalau halaman /publikasi dibuat sebagai page biasa, shortcode-nya ikut breakout juga */
body.page .entry-content > .repo-archive-v4,
body.page .entry-content > .lpr-search,
body.page .entry-content > .lpr-stats,
body.page .entry-content > .lpr-grid,
body.page .entry-content > .lpr-publications {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page .entry-content > .lpr-search,
body.page .entry-content > .lpr-stats {
  width: min(1120px, 100%) !important;
}

body.page .entry-content > .lpr-grid,
body.page .entry-content > .lpr-publications {
  width: min(980px, 100%) !important;
}

/* 6) Debug-safety: hilangkan max-width lama yang mungkin nempel dari container */
.repo-archive-v4 .container.repo-archive-shell,
.repo-single-v4 .container.repo-shell-v4 {
  max-width: none !important;
}

/* Tetapi kontennya tetap dibatasi rapi melalui width min() di atas */
