/*
Theme Name: NusaJabar News
Theme URI: https://nusajabar.online/
Author: NusaJabar
Description: Tema portal berita NusaJabar dengan UI/UX yang mengikuti desain index HTML referensi dan terhubung dinamis ke WordPress.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nusajabar-news
*/
:root{
  --primary:#0115EA;
  --deep:#071A8C;
  --bright:#1747FF;
  --cyan:#00A8D6;
  --orange:#FF7A00;
  --orange-bright:#FF8C00;
  --red:#E53935;
  --red-bright:#FF1744;
  --lime:#B6FF00;
  --lime2:#A8FF00;
  --lime3:#CCFF00;
  --bg-white:#FFFFFF;
  --bg-1:#F7F9FF;
  --bg-2:#EEF3FF;
  --bg-3:#E8EEFF;
  --ink:#0B1030;
  --ink-soft:#4A5170;
  --ink-mute:#7A82A0;
  --border:#E4E9F7;
  --header-h:80px;
  --header-h-scrolled:68px;
  --topbar-h:34px;
  --catnav-h:48px;
  --scrollY:0px;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  font-family:'Poppins',sans-serif;
  color:var(--ink);
  background:var(--bg-white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
input{font-family:inherit;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p{margin:0;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
:focus-visible{outline:2px solid var(--bright);outline-offset:2px;border-radius:4px;}

/* ================= DECORATIVE BACKGROUND ================= */
.bg-decor{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  background:linear-gradient(180deg,#FFFFFF 0%,#F7F9FF 40%,#EEF3FF 100%);
}
.blob{
  position:absolute;
  border-radius:50%;
  filter:blur(60px);
  opacity:.55;
  will-change:transform;
}
.blob-1{width:520px;height:520px;top:-180px;left:-160px;background:radial-gradient(circle at 30% 30%, var(--bright), transparent 70%);
  transform:translate3d(0, calc(var(--scrollY) * 0.04px), 0);}
.blob-2{width:460px;height:460px;top:20%;right:-200px;background:radial-gradient(circle at 60% 40%, var(--cyan), transparent 70%);
  transform:translate3d(0, calc(var(--scrollY) * -0.05px), 0);}
.blob-3{width:600px;height:600px;bottom:-260px;left:10%;background:radial-gradient(circle at 50% 50%, var(--deep), transparent 70%);
  opacity:.35;
  transform:translate3d(0, calc(var(--scrollY) * 0.03px), 0);}
.blob-4{width:340px;height:340px;top:55%;left:-140px;background:radial-gradient(circle, var(--primary), transparent 70%);
  opacity:.3;
  transform:translate3d(0, calc(var(--scrollY) * -0.06px), 0);}
.glow-white{position:absolute;width:900px;height:900px;top:10%;left:30%;background:radial-gradient(circle, #ffffff 0%, transparent 65%);opacity:.8;}

/* ================= TOP BAR ================= */
.topbar{
  position:relative;
  z-index:60;
  height:var(--topbar-h);
  background:var(--deep);
  color:#EAF0FF;
  display:flex;
  align-items:center;
}
.topbar-inner{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  font-weight:500;
  letter-spacing:.2px;
}
.topbar-brand{font-weight:700;color:#fff;}
.topbar-mid{opacity:.85;}
.topbar-date{opacity:.85;}
.topbar-mobile-only{display:none;}

/* ================= HEADER ================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#FFFFFF;
  border-bottom:1px solid var(--border);
  box-shadow:0 1px 0 rgba(7,26,140,.02);
  transition:height .25s ease, box-shadow .25s ease;
}
.header-grid{
  height:var(--header-h);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  max-width:1320px;
  margin:0 auto;
  padding:0 32px;
  transition:height .25s ease;
}
.site-header.scrolled .header-grid{height:var(--header-h-scrolled);}
.site-header.scrolled{box-shadow:0 4px 18px rgba(7,26,140,.08);}
.header-left{display:flex;align-items:center;justify-content:flex-start;}
.header-right{display:flex;align-items:center;justify-content:flex-end;}
.header-center{display:flex;align-items:center;justify-content:center;}
.icon-btn{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  transition:background .2s ease, transform .15s ease;
  color:var(--deep);
}
.icon-btn:hover{background:#F1F4FF;}
.icon-btn:active{transform:scale(.94);}
.icon-btn svg{width:23px;height:23px;}
.logo-link{display:flex;align-items:center;justify-content:center;height:100%;}
.logo-img{
  height:55px;
  max-width:180px;
  width:auto;
  object-fit:contain;
}

/* ================= CATEGORY NAV ================= */
.category-nav{
  position:relative;
  z-index:40;
  background:#FFFFFF;
  border-bottom:1px solid var(--border);
}
.category-nav-inner{
  max-width:1320px;
  margin:0 auto;
  padding:0 32px;
  height:var(--catnav-h);
  display:flex;
  align-items:center;
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.category-nav-inner::-webkit-scrollbar{display:none;}
.cat-link{
  flex:0 0 auto;
  padding:8px 14px;
  font-size:13.5px;
  font-weight:600;
  color:var(--ink-soft);
  white-space:nowrap;
  border-radius:8px;
  transition:color .2s ease, background .2s ease;
  position:relative;
}
.cat-link:hover{color:var(--primary);background:#F1F4FF;}
.cat-link.active{color:var(--primary);}
.cat-link.active::after{
  content:'';
  position:absolute;left:14px;right:14px;bottom:1px;height:2px;
  background:var(--primary);border-radius:2px;
}

/* ================= HAMBURGER MENU ================= */
.overlay{
  position:fixed;inset:0;
  background:rgba(7,10,40,.45);
  opacity:0;visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
  z-index:90;
}
.overlay.show{opacity:1;visibility:visible;}
.menu-panel{
  position:fixed;top:0;right:0;bottom:0;
  width:420px;max-width:100%;
  background:#FFFFFF;
  z-index:100;
  box-shadow:-12px 0 40px rgba(7,26,140,.14);
  transform:translateX(100%);
  transition:transform .35s cubic-bezier(.2,.9,.25,1);
  overflow-y:auto;
  display:flex;flex-direction:column;
}
.menu-panel.show{transform:translateX(0);}
.menu-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
  position:sticky;top:0;background:#fff;z-index:2;
}
.menu-head-logo{height:38px;object-fit:contain;}
.menu-body{padding:16px 24px 40px;}
.menu-section-title{
  font-size:11px;font-weight:700;letter-spacing:1px;color:var(--ink-mute);
  text-transform:uppercase;margin:22px 0 10px;
}
.menu-list a{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 4px;
  font-size:15px;font-weight:500;color:var(--ink);
  border-bottom:1px solid #F1F3FB;
  transition:color .2s ease, padding-left .2s ease;
}
.menu-list a:hover{color:var(--primary);padding-left:8px;}
.menu-list a svg{width:16px;height:16px;opacity:.4;}
.network-grid a{
  display:block;padding:12px 14px;margin-bottom:8px;
  background:var(--bg-1);border-radius:12px;
  font-weight:600;font-size:14px;color:var(--deep);
  border:1px solid var(--border);
  transition:background .2s ease, transform .15s ease;
}
.network-grid a:hover{background:var(--bg-3);transform:translateX(3px);}
.menu-legal a{font-size:13.5px;color:var(--ink-mute);padding:9px 4px;font-weight:500;}
.menu-legal a:hover{color:var(--primary);}

/* ================= SEARCH OVERLAY ================= */
.search-overlay{
  position:fixed;inset:0;
  background:#FFFFFF;
  z-index:110;
  opacity:0;visibility:hidden;
  transform:translateY(-12px);
  transition:opacity .28s ease, visibility .28s ease, transform .28s ease;
  overflow-y:auto;
}
.search-overlay.show{opacity:1;visibility:visible;transform:translateY(0);}
.search-top{
  position:sticky;top:0;background:#fff;z-index:2;
  border-bottom:1px solid var(--border);
  padding:18px 24px;
}
.search-top-inner{
  max-width:900px;margin:0 auto;
  display:flex;align-items:center;gap:14px;
}
.search-input-wrap{
  flex:1;display:flex;align-items:center;gap:10px;
  background:var(--bg-1);border:1px solid var(--border);
  border-radius:14px;padding:12px 16px;
}
.search-input-wrap svg{width:20px;height:20px;color:var(--ink-mute);flex-shrink:0;}
#searchInput{
  border:none;background:transparent;outline:none;
  width:100%;font-size:16px;color:var(--ink);
}
.search-close-btn{width:44px;height:44px;border-radius:12px;flex-shrink:0;}
.search-close-btn:hover{background:#F1F4FF;}
.search-results{max-width:900px;margin:0 auto;padding:20px 24px 60px;}
.search-hint{color:var(--ink-mute);font-size:14px;padding:20px 4px;}
.search-result-item{
  display:flex;gap:16px;padding:14px 4px;
  border-bottom:1px solid #F1F3FB;
}
.search-result-item img{width:96px;height:72px;border-radius:10px;object-fit:cover;flex-shrink:0;background:var(--bg-2);}
.sr-cat{font-size:11px;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.4px;}
.sr-title{font-size:15px;font-weight:600;margin-top:4px;line-height:1.35;}
.sr-meta{font-size:12px;color:var(--ink-mute);margin-top:6px;}

/* ================= LOADING ================= */
.loading-screen{
  position:fixed;inset:0;z-index:9999;
  background:#FFFFFF;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition:opacity .5s ease, transform .5s ease;
}
.loading-screen.hide{opacity:0;transform:scale(.98);pointer-events:none;}
.loading-decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.loading-decor .blob{opacity:.25;}
.loading-logo{
  height:72px;object-fit:contain;
  animation:loadFade .9s ease forwards, loadPulse 2.2s ease-in-out .9s infinite;
  filter:drop-shadow(0 8px 24px rgba(1,21,234,.12));
  opacity:0;
  transform:scale(.92);
}
@keyframes loadFade{
  from{opacity:0;transform:scale(.92);}
  to{opacity:1;transform:scale(1);}
}
@keyframes loadPulse{
  0%,100%{filter:drop-shadow(0 8px 24px rgba(1,21,234,.10));transform:scale(1);}
  50%{filter:drop-shadow(0 10px 30px rgba(1,21,234,.18));transform:scale(1.02);}
}
.loading-text{
  margin-top:22px;font-size:14px;font-weight:500;color:var(--ink-soft);
  display:flex;align-items:center;gap:2px;
}
.loading-dots span{animation:dotBlink 1.4s infinite;opacity:0;}
.loading-dots span:nth-child(2){animation-delay:.2s;}
.loading-dots span:nth-child(3){animation-delay:.4s;}
@keyframes dotBlink{0%{opacity:0;}30%{opacity:1;}60%{opacity:0;}100%{opacity:0;}}
.loading-progress-track{
  width:150px;height:3px;border-radius:3px;background:#E8EEFF;
  margin-top:20px;overflow:hidden;
}
.loading-progress-bar{
  height:100%;width:0%;background:var(--primary);border-radius:3px;
  transition:width 1s ease;
}

/* ================= LAYOUT / CONTAINER ================= */
.container{max-width:1320px;margin:0 auto;padding:0 32px;position:relative;z-index:1;}
main{position:relative;z-index:1;min-height:50vh;}
.section{padding:44px 0;}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:22px;
  border-bottom:2px solid var(--border);
  padding-bottom:14px;
}
.section-title{
  font-size:22px;font-weight:800;color:var(--ink);
  display:flex;align-items:center;gap:10px;
}
.section-title::before{
  content:'';width:6px;height:22px;border-radius:3px;background:var(--primary);
}
.section-more{font-size:13px;font-weight:600;color:var(--primary);display:flex;align-items:center;gap:4px;}
.section-more:hover{text-decoration:underline;}
.section.alt{background:var(--bg-1);border-radius:24px;}

/* ================= CARDS ================= */
.card{
  background:#FFFFFF;border-radius:16px;overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 2px 10px rgba(7,26,140,.04);
  transition:transform .3s ease, box-shadow .3s ease;
  display:flex;flex-direction:column;
  height:100%;
}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(7,26,140,.10);}
.card-img-wrap{position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--bg-2);}
.card-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.card:hover .card-img-wrap img{transform:scale(1.04);}
.card-cat{
  position:absolute;top:10px;left:10px;
  background:var(--primary);color:#fff;font-size:10.5px;font-weight:700;
  padding:5px 10px;border-radius:6px;letter-spacing:.4px;text-transform:uppercase;
}
.card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.card-title{font-size:15.5px;font-weight:700;line-height:1.4;color:var(--ink);}
.card:hover .card-title{color:var(--primary);}
.card-excerpt{font-size:13px;color:var(--ink-soft);line-height:1.55;flex:1;}
.card-meta{
  display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--ink-mute);
  margin-top:auto;padding-top:8px;border-top:1px solid #F1F3FB;
}
.card-meta svg{width:12px;height:12px;}

/* grids */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}

/* ================= HERO ================= */
.hero-wrap{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;}
.hero-featured{
  position:relative;border-radius:20px;overflow:hidden;
  background:var(--bg-2);
  min-height:440px;display:flex;align-items:flex-end;
}
.hero-featured img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero-featured::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, transparent 20%, rgba(7,10,40,.85) 100%);
}
.hero-featured-content{position:relative;z-index:1;padding:32px;color:#fff;}
.hero-cat{
  display:inline-block;background:var(--orange);color:#fff;font-size:11px;font-weight:700;
  padding:6px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;
}
.hero-headline{font-size:30px;font-weight:800;line-height:1.25;margin-bottom:10px;}
.hero-excerpt{font-size:14px;opacity:.9;line-height:1.6;margin-bottom:14px;max-width:560px;}
.hero-meta{display:flex;gap:14px;font-size:12px;opacity:.85;flex-wrap:wrap;}
.hero-secondary{display:flex;flex-direction:column;gap:16px;}
.hero-sec-item{display:flex;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border);}
.hero-sec-item:last-child{border-bottom:none;padding-bottom:0;}
.hero-sec-img{width:110px;height:78px;border-radius:12px;overflow:hidden;flex-shrink:0;background:var(--bg-2);}
.hero-sec-img img{width:100%;height:100%;object-fit:cover;}
.hero-sec-body .card-cat-text{font-size:10.5px;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.4px;}
.hero-sec-body .sec-title{font-size:13.5px;font-weight:600;line-height:1.4;margin-top:4px;}

/* Ranking / most popular */
.rank-list{display:flex;flex-direction:column;}
.rank-item{
  display:flex;gap:14px;align-items:flex-start;padding:14px 0;
  border-bottom:1px solid var(--border);
}
.rank-item:last-child{border-bottom:none;}
.rank-num{
  font-size:22px;font-weight:800;color:var(--bright);opacity:.35;width:38px;flex-shrink:0;
  font-style:italic;
}
.rank-body .card-title{font-size:14px;}

/* list layout (editorial variation) */
.list-row{
  display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--border);
}
.list-row:last-child{border-bottom:none;}
.list-row-img{width:180px;height:120px;border-radius:14px;overflow:hidden;flex-shrink:0;background:var(--bg-2);}
.list-row-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.list-row:hover .list-row-img img{transform:scale(1.05);}
.list-row-body{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;}

/* Popular sidebar box */
.side-box{background:#FFFFFF;border:1px solid var(--border);border-radius:18px;padding:20px;}
.side-box-title{font-size:15px;font-weight:800;margin-bottom:14px;padding-bottom:12px;border-bottom:2px solid var(--border);display:flex;align-items:center;gap:8px;}
.side-box-title::before{content:'';width:5px;height:16px;background:var(--orange);border-radius:3px;}

/* ================= NEWSLETTER ================= */
.newsletter{
  background:linear-gradient(120deg, var(--deep), var(--primary) 60%, var(--bright));
  border-radius:24px;padding:44px 40px;color:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  position:relative;overflow:hidden;
}
.newsletter::before{
  content:'';position:absolute;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle, rgba(182,255,0,.25), transparent 70%);
  top:-100px;right:-60px;
}
.newsletter-title{font-size:24px;font-weight:800;max-width:480px;position:relative;z-index:1;}
.newsletter-form{display:flex;gap:10px;position:relative;z-index:1;flex-wrap:wrap;}
.newsletter-form input{
  padding:14px 18px;border-radius:12px;border:none;outline:none;min-width:260px;font-size:14px;
}
.newsletter-form button{
  padding:14px 26px;border-radius:12px;background:var(--lime);color:var(--deep);
  font-weight:700;font-size:13.5px;letter-spacing:.4px;transition:transform .15s ease, background .2s ease;
}
.newsletter-form button:hover{background:#c8ff33;transform:translateY(-2px);}

/* ================= FOOTER ================= */
footer{background:var(--deep);color:#D7E0FF;margin-top:20px;padding-top:52px;position:relative;z-index:1;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-logo{height:44px;object-fit:contain;margin-bottom:14px;filter:brightness(0) invert(1);}
.footer-desc{font-size:13px;line-height:1.7;color:#B9C4EE;max-width:280px;}
.footer-col-title{font-size:13px;font-weight:700;color:#fff;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px;}
.footer-col a{display:block;font-size:13.5px;color:#B9C4EE;margin-bottom:11px;transition:color .2s ease;}
.footer-col a:hover{color:#fff;}
.footer-bottom{padding:22px 0;display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:#9FADDE;flex-wrap:wrap;gap:10px;}

/* ================= TOAST ================= */
.toast{
  position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:#fff;padding:14px 22px;border-radius:12px;
  font-size:13.5px;font-weight:500;box-shadow:0 10px 30px rgba(0,0,0,.25);
  z-index:200;opacity:0;visibility:hidden;transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
  max-width:90vw;text-align:center;
}
.toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}

/* ================= BREADCRUMB ================= */
.breadcrumb{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-mute);flex-wrap:wrap;margin-bottom:18px;}
.breadcrumb a:hover{color:var(--primary);}
.breadcrumb span{opacity:.5;}

/* ================= CATEGORY PAGE ================= */
.cat-page-head{padding:30px 0 10px;}
.cat-page-title{font-size:30px;font-weight:800;margin-bottom:8px;}
.cat-page-desc{font-size:14px;color:var(--ink-soft);max-width:680px;line-height:1.6;}
.cat-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start;}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:30px;flex-wrap:wrap;}
.page-btn{
  width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);font-size:13px;font-weight:600;color:var(--ink-soft);
  transition:all .2s ease;
}
.page-btn.active,.page-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary);}

/* ================= ARTICLE PAGE ================= */
.article-wrap{max-width:850px;margin:0 auto;padding:34px 0 60px;}
.article-cat{
  display:inline-block;background:var(--primary);color:#fff;font-size:11.5px;font-weight:700;
  padding:6px 14px;border-radius:8px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:16px;
}
.article-headline{font-size:32px;font-weight:800;line-height:1.3;margin-bottom:14px;}
.article-excerpt{font-size:16px;color:var(--ink-soft);line-height:1.6;margin-bottom:18px;}
.article-meta-row{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;
  padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:24px;
}
.article-author{display:flex;align-items:center;gap:10px;}
.author-avatar{width:42px;height:42px;border-radius:50%;background:var(--bg-3);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--primary);}
.author-name{font-size:13.5px;font-weight:700;}
.author-sub{font-size:12px;color:var(--ink-mute);}
.share-row{display:flex;gap:8px;flex-wrap:wrap;}
.share-btn{
  width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:var(--bg-1);border:1px solid var(--border);transition:all .2s ease;color:var(--ink-soft);
}
.share-btn svg{width:18px;height:18px;}
.share-btn:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(7,26,140,.12);}
.share-btn.copy-active{background:var(--primary);color:#fff;border-color:var(--primary);}
.article-image{width:100%;border-radius:18px;overflow:hidden;margin-bottom:26px;aspect-ratio:16/9;background:var(--bg-2);}
.article-image img{width:100%;height:100%;object-fit:cover;}
.article-body{font-size:18px;line-height:1.75;color:#222840;}
.article-body p{margin-bottom:20px;}
.article-body h3{font-size:20px;font-weight:700;margin:28px 0 14px;color:var(--ink);}
.article-body blockquote{
  margin:24px 0;padding:18px 22px;border-left:4px solid var(--primary);background:var(--bg-1);
  border-radius:0 12px 12px 0;font-style:italic;font-size:17px;color:var(--deep);
}
.article-body .highlight{background:linear-gradient(180deg,transparent 60%, var(--lime3) 60%);font-weight:600;}
.article-body ul{margin:0 0 20px 20px;}
.article-body li{margin-bottom:8px;}
.article-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:30px;}
.tag-pill{padding:7px 14px;background:var(--bg-1);border-radius:20px;font-size:12.5px;font-weight:600;color:var(--ink-soft);border:1px solid var(--border);}
.tag-pill:hover{background:var(--bg-3);color:var(--primary);}

/* Foto / Video */
.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.photo-item{border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:var(--bg-2);position:relative;}
.photo-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.photo-item:hover img{transform:scale(1.06);}
.photo-cap{position:absolute;bottom:0;left:0;right:0;padding:12px;background:linear-gradient(0deg,rgba(7,10,40,.85),transparent);color:#fff;font-size:12px;font-weight:600;}
.video-card{border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--border);}
.video-thumb{position:relative;aspect-ratio:16/9;background:var(--bg-2);}
.video-thumb img{width:100%;height:100%;object-fit:cover;}
.video-play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(7,10,40,.25);
}
.video-play svg{width:52px;height:52px;color:#fff;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4));}

/* Simple static pages */
.static-page{max-width:850px;margin:0 auto;padding:34px 0 60px;}
.static-page h1{font-size:30px;font-weight:800;margin-bottom:18px;}
.static-page h2{font-size:19px;font-weight:700;margin:26px 0 10px;color:var(--deep);}
.static-page p{font-size:15px;line-height:1.75;color:var(--ink-soft);margin-bottom:14px;}
.static-page ul{margin:0 0 16px 20px;}
.static-page li{font-size:15px;line-height:1.75;color:var(--ink-soft);margin-bottom:6px;}

.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.team-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;text-align:center;}
.team-avatar{width:74px;height:74px;border-radius:50%;background:var(--bg-3);margin:0 auto 12px;display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--primary);font-size:22px;}
.team-name{font-weight:700;font-size:14.5px;}
.team-role{font-size:12.5px;color:var(--ink-mute);margin-top:4px;}

/* Contact form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;}
.contact-info-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--border);}
.contact-info-item svg{width:20px;height:20px;color:var(--primary);flex-shrink:0;margin-top:2px;}
.contact-info-title{font-weight:700;font-size:13.5px;margin-bottom:3px;}
.contact-info-sub{font-size:13px;color:var(--ink-soft);}
.form-group{margin-bottom:16px;}
.form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;}
.form-group input,.form-group textarea{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;font-size:14px;
  outline:none;transition:border-color .2s ease;background:#fff;
}
.form-group input:focus,.form-group textarea:focus{border-color:var(--primary);}
.form-error{color:var(--red);font-size:12px;margin-top:5px;display:none;}
.form-error.show{display:block;}
.submit-btn{
  padding:14px 28px;background:var(--primary);color:#fff;border-radius:12px;font-weight:700;font-size:14px;
  transition:background .2s ease, transform .15s ease;
}
.submit-btn:hover{background:var(--deep);transform:translateY(-2px);}

/* 404 */
.error-page{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:100px 24px;
}
.error-code{font-size:96px;font-weight:800;color:var(--primary);line-height:1;opacity:.85;}
.error-title{font-size:24px;font-weight:800;margin:14px 0 8px;}
.error-desc{font-size:14.5px;color:var(--ink-soft);max-width:420px;margin-bottom:26px;}
.back-home-btn{padding:14px 28px;background:var(--primary);color:#fff;border-radius:12px;font-weight:700;font-size:14px;}
.back-home-btn:hover{background:var(--deep);}

/* Animation utility */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* ============ RESPONSIVE ============ */
@media (max-width:1024px){
  .container{padding:0 32px;}
  .topbar-inner{padding:0 32px;}
  .category-nav-inner{padding:0 32px;}
  .logo-img{height:50px;max-width:160px;}
  :root{--header-h:78px;--header-h-scrolled:66px;}
  .hero-wrap{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .cat-layout{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .photo-grid{grid-template-columns:repeat(2,1fr);}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
}
@media (max-width:900px){
  .menu-panel{width:390px;}
}
@media (max-width:820px){
  :root{--header-h:74px;--header-h-scrolled:64px;}
}
@media (max-width:768px){
  .container{padding:0 20px;}
  .topbar-inner{padding:0 20px;}
  .category-nav-inner{padding:0 20px;}
  .topbar-mid{display:none;}
  .topbar-mobile-only{display:inline;}
  :root{--header-h:68px;--header-h-scrolled:60px;}
  .logo-img{height:46px;max-width:150px;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;}
  .newsletter{flex-direction:column;text-align:center;padding:34px 24px;}
  .newsletter-form{justify-content:center;width:100%;}
  .newsletter-form input{min-width:0;flex:1;}
  .article-headline{font-size:24px;}
  .article-body{font-size:16px;}
  .list-row-img{width:120px;height:88px;}
  .photo-grid{grid-template-columns:1fr 1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  :root{--header-h:64px;--header-h-scrolled:58px;}
  .logo-img{height:44px;max-width:145px;}
  .icon-btn{width:42px;height:42px;}
  .section-title{font-size:18px;}
  .hero-headline{font-size:22px;}
  .hero-featured{min-height:320px;}
  .hero-featured-content{padding:20px;}
  .newsletter-title{font-size:19px;}
  .footer-grid{grid-template-columns:1fr;gap:26px;}
  .article-meta-row{flex-direction:column;align-items:flex-start;}
  .menu-panel{width:100%;max-width:390px;}
  .grid-4{grid-template-columns:1fr;}
  .list-row{flex-direction:column;}
  .list-row-img{width:100%;height:180px;}
  .photo-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr;}
}
@media (max-width:400px){
  .container{padding:0 14px;}
  .topbar-inner{padding:0 14px;}
  .category-nav-inner{padding:0 14px;}
  .logo-img{height:42px;max-width:140px;}
}

/* WordPress dynamic states */
.empty-widget{min-height:170px;border:1px dashed var(--border);border-radius:16px;background:rgba(255,255,255,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:var(--ink-soft);}
.empty-widget span{font-size:16px;font-weight:800;color:var(--ink);}
.empty-widget small{font-size:12.5px;margin-top:6px;color:var(--ink-mute);}
.search-submit{display:none;}
.wp-caption{max-width:100%;}
.aligncenter{margin-left:auto;margin-right:auto;}
.article-body img{height:auto;border-radius:14px;}
.article-body a{color:var(--primary);text-decoration:underline;}
.article-body figure{margin:24px 0;}
.article-body .wp-block-image{margin-left:0;margin-right:0;}
.screen-reader-text{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;white-space:nowrap!important;border:0!important;}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}


/* ================= NUSAJABAR LIGHT PERFORMANCE MODE =================
   Static surfaces only: no fixed blurred blobs, no scroll-parallax and no
   continuous animations. This keeps the mobile GPU/CPU workload low. */
.bg-decor{display:none!important;}
body{background:linear-gradient(135deg,#FFFFFF 0%,#F7F9FF 58%,#EEF9FF 100%);}
.site-header{box-shadow:0 1px 8px rgba(7,26,140,.045);}
.site-header.scrolled{box-shadow:0 2px 10px rgba(7,26,140,.07);}
.blob{filter:none!important;will-change:auto!important;}
.reveal{opacity:1;transform:none;transition:none;}
.reveal.in{opacity:1;transform:none;}
.card,.share-btn,.icon-btn,.page-btn,.network-grid a,.menu-list a{transition:none;}
.card:hover{transform:none;box-shadow:0 2px 10px rgba(7,26,140,.04);}
.share-btn:hover{transform:none;box-shadow:none;}
.loading-screen{transition:opacity .18s ease;}
.loading-logo{animation:none;opacity:1;transform:none;filter:none;}
.loading-text,.loading-dots span{animation:none!important;}
.loading-progress-bar{transition:width .25s linear;}
/* Article: title goes directly to author/share row. */
.article-excerpt{display:none!important;}
.article-wrap{padding-top:28px;}
.article-headline{margin-bottom:20px;}
.article-meta-row{margin-bottom:22px;}
@media (max-width:600px){
  .article-wrap{padding-top:22px;}
  .article-headline{font-size:25px;line-height:1.25;margin-bottom:18px;}
  .article-meta-row{gap:12px;padding:14px 0;}
  .article-author{width:100%;}
  .share-row{width:100%;}
  .share-btn{width:44px;height:44px;}
}
