/* fondasi: geometri awal yang ditulis baru dari kontrak visual REV06.
 * Satu renderer, dua mode mobile. Pengaturan efektif Customizer belum terpasang. */
:root {
  --lp-brand: #174b9b;
  --lp-brand-kontras: #fff;
  --lp-aksen-kedua: #e32636;
  --lp-lembar: #fff;
  --lp-tinta: #1c2430;
  --lp-batas: #e5e7ea;
  --lp-lebar: 1180px;
  --lp-font: Montserrat, Arial, sans-serif;
  --lp-header-desktop-tinggi: 90px;
  --lp-header-mobile-tinggi: 64px;
  --lp-header-modern-tinggi: 72px;
  --lp-logo-desktop-lebar: 240px;
  --lp-logo-mobile-lebar: 190px;
}
.lp-header-shell, .lp-header-shell * { box-sizing: border-box; }
.lp-header-shell { width:100%; max-width:100%; color:var(--lp-tinta); font-family:var(--lp-font); background:var(--lp-lembar); }
.lp-header-shell a { color:inherit; text-decoration:none; }
.lp-header-shell button, .lp-header-shell input { font:inherit; }
.lp-header-shell button { cursor:pointer; }
.lp-header-shell svg { width:21px; height:21px; display:block; }
.lp-header-shell details > summary { cursor:pointer; list-style:none; }
.lp-header-shell details > summary::-webkit-details-marker { display:none; }
.lp-header-shell :is(a,button,summary,input):focus-visible { outline:2px solid var(--lp-brand); outline-offset:3px; }
.lp-a11y-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; border:0!important; white-space:nowrap!important; }
.lp-header-muatan, .lp-header-nav-inner, .lp-header-sorotan-inner { margin-inline:auto; max-width:var(--lp-lebar); }
.lp-header-utama { background:var(--lp-lembar); }
.lp-header-top { position:relative; display:grid; grid-template-columns:auto minmax(0,270px) minmax(0,1fr) auto; align-items:center; gap:22px; min-height:var(--lp-header-desktop-tinggi); padding:12px 12px; }
.lp-header-logo { display:inline-flex; min-width:0; max-width:100%; height:100%; align-items:center; overflow:hidden; }
.lp-header-logo-gambar { max-width:min(var(--lp-logo-desktop-lebar),100%); max-height:70px; width:auto; height:auto; object-fit:contain; }
.lp-header-logo-teks { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:26px; font-weight:800; color:var(--lp-brand); letter-spacing:-.5px; }
.lp-header-menu { position:relative; z-index:20; }
.lp-header-menu > summary { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:var(--lp-brand-kontras); background:var(--lp-brand); }
.lp-header-menu-panel { position:absolute; z-index:30; top:calc(100% + 9px); left:0; width:min(280px,82vw); max-height:min(70vh,600px); overflow:auto; padding:8px; background:var(--lp-lembar); border:1px solid var(--lp-batas); box-shadow:0 10px 25px #0d244222; border-radius:8px; }
.lp-header-menu-panel a { display:block; padding:10px 12px; font-size:14px; font-weight:600; border-radius:4px; }
.lp-header-menu-panel a:hover { background:#edf3fc; color:var(--lp-brand); }
.lp-header-cari { position:relative; width:min(100%,310px); justify-self:center; z-index:15; }
.lp-header-cari > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; height:40px; min-width:0; padding:0 0 0 15px; border:1px solid var(--lp-batas); background:#f5f6f7; color:#666; border-radius:5px; }
.lp-header-cari-placeholder { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:13px; }
.lp-header-cari > summary > svg { flex:0 0 40px; width:40px; height:40px; padding:9px; color:#fff; background:var(--lp-brand); border-radius:0 4px 4px 0; }
.lp-header-cari-form { position:absolute; top:calc(100% + 6px); right:0; z-index:40; display:flex; align-items:center; width:min(360px,85vw); background:#fff; padding:6px; border:1px solid var(--lp-batas); box-shadow:0 8px 22px #1327422b; border-radius:6px; }
.lp-header-cari-form input { width:100%; min-width:0; border:0; outline:0; padding:9px; font-size:14px; }
.lp-header-cari-form button { display:grid; place-items:center; width:40px; height:37px; border:0; background:var(--lp-brand); color:#fff; border-radius:3px; }
.lp-header-aksi { display:flex; align-items:center; gap:8px; justify-self:end; }
.lp-header-simpan { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:var(--lp-brand)!important; }
.lp-header-simpan:hover { background:#eef3fc; }
.lp-header-cari--mobile, .lp-header-cari--breaking, .lp-header-breaking { display:none; }
/* Desktop: both variants share the original header/nav behavior. */
.lp-header-nav { width:100%; font-size:14px; font-weight:700; }
.lp-header-nav--desktop { display:block; background:#fff; border-top:1px solid #eee; border-bottom:1px solid var(--lp-batas); }
.lp-header-nav-inner { position:relative; display:flex; align-items:stretch; gap:20px; min-height:45px; padding:0 12px; }
.lp-header-nav-tautan { display:flex; flex:0 0 auto; align-items:center; min-height:45px; white-space:nowrap; }
.lp-header-nav-tautan.is-active { color:var(--lp-aksen-kedua); }
.lp-header-nav-tautan:hover { color:var(--lp-brand); }
.lp-header-nav-kanal[hidden], .lp-header-lainnya-panel a[hidden] { display:none!important; }
.lp-header-nav--mobile { display:none; }
.lp-header-lainnya { position:relative; margin-left:auto; flex:0 0 auto; display:none; z-index:12; }
.lp-header-lainnya > summary { display:flex; align-items:center; gap:6px; height:100%; padding:0 8px; }
.lp-header-lainnya > summary svg { width:18px; }
.lp-header-lainnya-panel { position:absolute; top:100%; right:0; width:220px; max-height:320px; overflow-y:auto; background:#fff; border:1px solid var(--lp-batas); box-shadow:0 8px 20px #13274233; }
.lp-header-lainnya-panel a { display:block; padding:10px 12px; }
.lp-header-lainnya-panel a:hover { background:#edf3fc; }
.lp-header-ad { width:100%; line-height:0; }
.lp-header-ad-gambar, .lp-header-ad-tautan { display:block; width:100%; height:auto; max-width:100%; }
.lp-header-ad-gambar { object-fit:contain; }
.lp-header-iklan-atas, .lp-header-inline-default, .lp-header-inline-modern-lainnya, .lp-header-inline-beranda { display:none; }
.lp-header-iklan-desktop { display:block; }
.lp-header-sorotan--desktop { display:block; background:#f5f6f7; border-bottom:1px solid var(--lp-batas); }
.lp-header-sorotan--mobile { display:none; }
.lp-header-sorotan-inner { display:flex; align-items:center; gap:16px; padding:8px 12px; min-width:0; }
.lp-header-sorotan-label { flex:0 0 auto; font-size:13px; font-weight:800; font-style:italic; color:var(--lp-aksen-kedua); }
.lp-header-sorotan-rail { flex:1 1 auto; display:flex; align-items:center; min-width:0; gap:10px; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:none; }
.lp-header-sorotan-rail::-webkit-scrollbar { display:none; }
.lp-header-sorotan-topik { display:inline-flex; flex:0 0 auto; max-width:280px; padding:5px 9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px; font-weight:600; background:#e8e8e8; color:#34373a; border-radius:4px; }
.lp-header-sorotan-topik.is-active { color:#fff; background:var(--lp-brand); }

@media (max-width:900px) {
  .lp-header-shell { overflow-x:clip; }
  .lp-header-sticky { position:sticky; top:0; z-index:40; background:#fff; }
  .lp-header-top { min-height:var(--lp-header-mobile-tinggi); padding:6px 14px; gap:7px; grid-template-columns:auto minmax(0,1fr) auto; }
  .lp-header-logo-gambar { max-height:calc(var(--lp-header-mobile-tinggi) - 12px); max-width:min(var(--lp-logo-mobile-lebar),100%); }
  .lp-header-logo-teks { font-size:22px; }
  .lp-header-menu > summary { width:38px; height:38px; }
  .lp-header-top--default .lp-header-logo { justify-self:start; }
  .lp-header-top--modern { min-height:var(--lp-header-modern-tinggi); grid-template-columns:44px minmax(0,1fr) 44px; }
  .lp-header-top--modern .lp-header-logo { justify-self:center; justify-content:center; width:100%; text-align:center; }
  .lp-header-top--modern .lp-header-logo-gambar { max-width:min(var(--lp-logo-mobile-lebar),100%); max-height:56px; }
  .lp-header-top--modern .lp-header-menu, .lp-header-top--modern .lp-header-aksi { justify-self:center; }
  .lp-header-top--modern .lp-header-menu > summary { background:transparent; color:var(--lp-brand); border-radius:0; }
  .lp-header-top--modern .lp-header-menu > summary svg { width:20px; height:20px; }
  .lp-header-top--modern .lp-header-aksi { width:44px; justify-content:center; }
  .lp-header-top--modern .lp-header-simpan { width:44px; height:44px; }
  .lp-header-cari--desktop { display:none; }
  .lp-header-cari--mobile { display:block; width:38px; }
  .lp-header-cari--mobile > summary { width:38px; height:38px; padding:0; border:0; background:transparent; }
  .lp-header-cari--mobile .lp-header-cari-placeholder { display:none; }
  .lp-header-cari--mobile > summary > svg { color:var(--lp-tinta); background:transparent; padding:7px; width:38px; height:38px; }
  .lp-header-simpan { width:38px; height:38px; }
  .lp-header-breaking { display:flex; align-items:center; gap:12px; min-height:42px; padding:4px 12px; background:var(--lp-brand); color:var(--lp-brand-kontras); }
  .lp-header-breaking-judul { flex:0 0 auto; padding:7px 9px; border-radius:6px; background:#113a78; color:#fff; font-size:11px; font-weight:800; white-space:nowrap; }
  .lp-header-breaking-topik { flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; }
  .lp-header-cari--breaking { display:block; flex:0 0 38px; width:38px; margin-left:auto; }
  .lp-header-cari--breaking > summary { height:34px; border:0; padding:0; background:transparent; justify-content:flex-end; }
  .lp-header-cari--breaking .lp-header-cari-placeholder { display:none; }
  .lp-header-cari--breaking > summary > svg { height:32px; width:32px; padding:5px; background:transparent; }
  .lp-header-shell--default .lp-header-breaking { display:none; }
  .lp-header-nav--desktop { display:none; }
  .lp-header-nav--mobile { display:block; background:#fff; }
  .lp-header-nav--mobile .lp-header-nav-inner { gap:20px; min-height:44px; overflow-x:auto; overflow-y:hidden; white-space:nowrap; scrollbar-width:none; overscroll-behavior-inline:contain; padding:0 14px; }
  .lp-header-nav--mobile .lp-header-nav-inner::-webkit-scrollbar { display:none; }
  .lp-header-nav--mobile .lp-header-nav-tautan { min-height:44px; font-size:14px; }
  .lp-header-nav--mobile .lp-header-nav-beranda+.lp-header-nav-tautan::before { content:""; display:inline-block; width:6px; height:6px; margin-right:8px; border-radius:50%; background:var(--lp-aksen-kedua); }
  .lp-header-shell--modern .lp-header-nav--mobile { background:#fff; color:#fff; padding:0 12px 0; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-inner { background:var(--lp-brand); border-radius:6px; min-height:42px; gap:0; padding-inline:0; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-tautan { min-height:42px; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-tautan { color:#fff; padding:0 9px; border-left:1px solid #fff2; font-size:12px; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-beranda { border-left:0; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-tautan.is-active { background:var(--lp-aksen-kedua); color:#fff; }
  .lp-header-shell--modern .lp-header-nav--mobile .lp-header-nav-beranda svg { width:20px; }
  .lp-header-iklan-desktop { display:none; }
  .lp-header-iklan-atas { display:block; position:relative; z-index:1; }
  .lp-header-inline-default, .lp-header-inline-modern-lainnya, .lp-header-inline-beranda { display:block; }
  .lp-header-sorotan--desktop { display:none; }
  .lp-header-sorotan--mobile { display:block; background:linear-gradient(90deg,#102f7e,#0f4da4 52%,#1264bf); color:#fff; box-shadow:0 2px 6px #0002; }
  .lp-header-sorotan--mobile .lp-header-sorotan-inner { gap:0; padding:0; min-height:40px; }
  .lp-header-sorotan--mobile .lp-header-sorotan-label { position:relative; flex:0 0 auto; max-width:44%; padding:11px 25px 11px 12px; margin-right:-12px; color:#fff; background:#ff1717; clip-path:polygon(0 0,100% 0,88% 100%,0 100%); font-size:12px; text-shadow:0 1px 1px #0002; }
  .lp-header-sorotan--mobile .lp-header-sorotan-rail { gap:14px; padding:6px 14px 6px 24px; }
  .lp-header-sorotan--mobile .lp-header-sorotan-topik { background:transparent; color:#fff; padding:0; border-radius:0; font-weight:600; font-size:12px; }
  .lp-header-shell--modern .lp-header-sorotan--mobile { background:#fff; color:#242830; box-shadow:none; border-bottom:1px solid var(--lp-batas); }
  .lp-header-shell--modern .lp-header-sorotan--mobile .lp-header-sorotan-label { clip-path:none; background:none; color:var(--lp-tinta); padding:9px 12px; margin:0; }
  .lp-header-shell--modern .lp-header-sorotan--mobile .lp-header-sorotan-rail { padding:5px 10px; gap:8px; }
  .lp-header-shell--modern .lp-header-sorotan--mobile .lp-header-sorotan-topik { padding:7px 8px; background:#ededed; color:#303030; border:1px solid #e4e6e8; border-radius:4px; }
  .lp-header-shell--modern .lp-header-sorotan--mobile .lp-header-sorotan-topik.is-active { background:var(--lp-brand); color:#fff; }
}
@media (max-width:600px) {
  .lp-header-top { padding-inline:12px; }
  .lp-header-shell--default .lp-header-top { grid-template-columns:38px minmax(0,1fr) auto; }
  .lp-header-top--default .lp-header-aksi { gap:1px; }
  .lp-header-sorotan--mobile .lp-header-sorotan-label { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .lp-header-shell * { scroll-behavior:auto!important; transition:none!important; } }
