/*
Theme Name: NusaJabar Exact UI
Theme URI: https://nusajabar.online/
Author: NusaJabar
Description: NusaJabar WordPress theme converted directly from the supplied index HTML UI.
Version: 2026.08.16.2230
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nusajabar-exact
*/

/* ============================================================
   0. TOKENS
   ============================================================ */
:root{
  --blue:#000e9c;
  --red:#b80000;
  --gradient: linear-gradient(135deg, var(--blue), var(--red));
  --white:#ffffff;
  --bg-soft:#f7f8fc;
  --blue-soft:#eef1ff;
  --red-soft:#fff1f1;
  --ink-900:#111827;
  --ink-800:#1f2937;
  --ink-600:#475569;
  --ink-500:#64748b;
  --line:#e5e7eb;
  --green:#16a34a;
  --sky:#0ea5e9;
  --violet:#7c3aed;
  --amber:#f59e0b;

  --header-h-desktop:82px;
  --header-h-mobile:64px;
  --header-h: var(--header-h-mobile);

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:20px;
  --shadow-sm: 0 1px 3px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.08);
  --shadow-md: 0 8px 24px rgba(17,24,39,.10);
  --shadow-lg: 0 20px 48px rgba(17,24,39,.16);
}
@media (min-width:992px){ :root{ --header-h: var(--header-h-desktop); } }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Poppins', sans-serif;
  color:var(--ink-900);
  background:var(--bg-soft);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
html.no-scroll, body.no-scroll{ overflow:hidden; height:100%; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }
:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; }

.container{ max-width:1240px; margin:0 auto; padding:0 18px; }
@media (min-width:768px){ .container{ padding:0 28px; } }
@media (min-width:1200px){ .container{ padding:0 32px; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--blue);
}
.eyebrow::before{
  content:""; width:18px; height:3px; border-radius:3px; background:var(--gradient);
}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin:0 0 16px;
}
.section-title{
  font-size:clamp(20px,4vw,28px); font-weight:700; margin:4px 0 0;
}
.section-link{
  font-size:13px; font-weight:600; color:var(--blue); white-space:nowrap;
  display:inline-flex; align-items:center; gap:4px;
}
.badge{
  display:inline-flex; align-items:center; font-size:11px; font-weight:700;
  padding:4px 10px; border-radius:999px; color:#fff; letter-spacing:.02em;
}

/* ============================================================
   1. LOADING SCREEN
   ============================================================ */
.loading-screen{
  position:fixed; inset:0; z-index:5000;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .35s ease, visibility .35s ease;
}
.loading-screen.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-box{ position:relative; width:104px; height:104px; display:flex; align-items:center; justify-content:center; }
.loader-ring{
  position:absolute; inset:0; border-radius:50%;
  border:4px solid var(--blue-soft);
  border-top-color:var(--blue); border-right-color:var(--red);
  animation:spin 1s linear infinite;
}
.loader-logo{ width:56px; height:56px; object-fit:contain; animation:pulse 1.4s ease-in-out infinite; border-radius:8px; }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.55; transform:scale(.92);} }
.nav-loader{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:4000;
  background:var(--gradient); transition:width .25s ease, opacity .25s ease;
}
.nav-loader.active{ width:70%; }
.nav-loader.done{ width:100%; opacity:0; }

/* ============================================================
   2. HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:1000;
  height:var(--header-h);
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease;
}
.site-header::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background:var(--gradient);
}
.header-inner{
  height:100%; max-width:1240px; margin:0 auto; padding:0 14px;
  display:flex; align-items:center; gap:10px;
}
@media (min-width:768px){ .header-inner{ padding:0 28px; gap:16px; } }

.hamburger-btn{
  width:44px; height:44px; min-width:44px; border:none; background:transparent;
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:5px;
  position:relative;
}
.hamburger-btn:hover{ background:var(--blue-soft); }
.hamburger-btn span{
  display:block; width:22px; height:2.5px; border-radius:2px; background:var(--ink-900);
  transition:transform .28s ease, opacity .28s ease, background .28s ease;
}
.hamburger-btn.is-open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); background:var(--red); }
.hamburger-btn.is-open span:nth-child(2){ opacity:0; }
.hamburger-btn.is-open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); background:var(--red); }

.header-logo{ display:flex; align-items:center; height:100%; flex:0 0 auto; }
.header-logo img{ height:38px; width:auto; object-fit:contain; }
@media (min-width:992px){ .header-logo img{ height:56px; } }

.header-spacer{ flex:1 1 auto; }

.header-actions{ display:flex; align-items:center; gap:6px; margin-left:auto; }
@media (min-width:768px){ .header-actions{ gap:10px; } }
.icon-btn{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:center; color:var(--ink-800);
  transition:border-color .2s ease, background .2s ease, color .2s ease;
}
.icon-btn:hover{ border-color:var(--blue); color:var(--blue); background:var(--blue-soft); }
.login-btn{
  height:40px; padding:0 18px; border-radius:999px; border:none; color:#fff;
  font-weight:600; font-size:13.5px; background:var(--gradient);
  display:flex; align-items:center; gap:6px; box-shadow:var(--shadow-sm);
}
.login-btn:hover{ filter:brightness(1.06); }
.login-btn span.login-label{ display:none; }
@media (min-width:480px){ .login-btn span.login-label{ display:inline; } }

/* ============================================================
   3. HAMBURGER PANEL (mega menu desktop / drawer mobile)
   ============================================================ */
.hamburger-panel{
  position:fixed; left:0; right:0; top:var(--header-h-mobile);
  z-index:900;
  background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow-lg);
  max-height:calc(100vh - var(--header-h-mobile));
  overflow-y:auto;
  transform:translateY(-8px); opacity:0; visibility:hidden; pointer-events:none;
  transition:transform .28s ease, opacity .28s ease, visibility .28s ease;
}
@media (min-width:992px){ .hamburger-panel{ top:var(--header-h-desktop); max-height:calc(100vh - var(--header-h-desktop)); } }
.hamburger-panel.is-open{ transform:translateY(0); opacity:1; visibility:visible; pointer-events:auto; }
.hamburger-panel::before{ content:""; display:block; height:3px; background:var(--gradient); }
.menu-grid{
  display:grid; grid-template-columns:1fr; gap:2px; padding:8px 14px 22px;
}
@media (min-width:992px){
  .menu-grid{ grid-template-columns:1.1fr 1.6fr 1.3fr 1fr; gap:24px; padding:26px 28px 32px; max-width:1240px; margin:0 auto; }
}
.menu-group{ border-bottom:1px solid var(--line); padding:6px 0; }
@media (min-width:992px){ .menu-group{ border-bottom:none; padding:0; } }
.menu-group summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  padding:12px 4px; font-weight:700; font-size:14.5px; color:var(--ink-900);
}
.menu-group summary::-webkit-details-marker{ display:none; }
.menu-group summary::after{
  content:"▾"; color:var(--ink-500); transition:transform .2s ease; font-size:12px;
}
.menu-group[open] summary::after{ transform:rotate(180deg); }
@media (min-width:992px){
  .menu-group summary{ pointer-events:none; padding:0 0 14px; border-bottom:2px solid var(--blue-soft); margin-bottom:14px; color:var(--blue); font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; }
  .menu-group summary::after{ display:none; }
}
.menu-links{ display:flex; flex-direction:column; gap:2px; padding:2px 4px 14px; }
.menu-links a{
  padding:9px 8px; border-radius:8px; font-size:14px; color:var(--ink-700,#374151); font-weight:500;
  transition:background .15s ease, color .15s ease, padding-left .15s ease;
}
.menu-links a:hover{ background:var(--blue-soft); color:var(--blue); padding-left:12px; }
.menu-links--wrap{ flex-direction:row; flex-wrap:wrap; gap:6px; }
.menu-links--wrap a{ background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:7px 13px; }
.menu-links--wrap a:hover{ background:var(--blue-soft); border-color:var(--blue); padding-left:13px; }
.menu-network-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; padding:6px 4px 16px; }
.menu-network-grid a{
  display:flex; align-items:center; justify-content:center; padding:12px 8px; border:1px solid var(--line);
  border-radius:12px; background:var(--bg-soft);
}
.menu-network-grid a:hover{ border-color:var(--blue); background:var(--blue-soft); }
.menu-network-grid img{ height:26px; width:auto; object-fit:contain; }
.menu-backdrop{
  position:fixed; inset:0; background:rgba(17,24,39,.32); z-index:850;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.menu-backdrop.is-open{ opacity:1; visibility:visible; }

/* ============================================================
   4. CATEGORY BAR
   ============================================================ */
.category-bar{
  background:#fff; border-bottom:1px solid var(--line);
  position:relative; z-index:80;
}
.category-bar-inner{
  display:flex; gap:6px; overflow-x:auto; padding:10px 14px; scrollbar-width:none;
  max-width:1240px; margin:0 auto;
}
@media (min-width:768px){ .category-bar-inner{ padding:12px 28px; gap:8px; } }
.category-bar-inner::-webkit-scrollbar{ display:none; }
.cat-pill{
  flex:0 0 auto; padding:8px 14px; border-radius:999px; font-size:13px; font-weight:600;
  color:var(--ink-700,#374151); background:var(--bg-soft); border:1px solid transparent; white-space:nowrap;
  transition:all .18s ease;
}
.cat-pill:hover{ border-color:var(--blue); color:var(--blue); }
.cat-pill.active{ background:var(--gradient); color:#fff; box-shadow:var(--shadow-sm); }
.breadcrumb{ font-size:12.5px; color:var(--ink-500); padding:14px 0 0; }
.breadcrumb a{ color:var(--blue); font-weight:600; }

/* ============================================================
   5. HERO
   ============================================================ */
.hero-section{ padding:24px 0 8px; }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:992px){ .hero-grid{ grid-template-columns:1.7fr 1fr; gap:20px; } }
.hero-main{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--ink-900);
  min-height:280px; display:flex; align-items:flex-end; box-shadow:var(--shadow-md);
}
@media (min-width:992px){ .hero-main{ min-height:460px; } }
.hero-main img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.82; }
.hero-main::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, rgba(0,14,156,.25) 100%);
}
.hero-main-body{ position:relative; padding:20px; color:#fff; }
@media (min-width:992px){ .hero-main-body{ padding:32px; } }
.hero-main-body .badge{ margin-bottom:12px; }
.hero-main-body h1{
  font-size:clamp(22px,4.4vw,36px); font-weight:700; line-height:1.25; margin:0 0 10px;
}
.hero-meta{ font-size:12.5px; color:rgba(255,255,255,.82); font-weight:500; }
.hero-side{ display:flex; flex-direction:column; gap:12px; }
.hero-side-item{
  display:flex; gap:12px; background:#fff; border-radius:var(--radius-md); padding:10px;
  border:1px solid var(--line); transition:box-shadow .2s ease, transform .2s ease;
}
.hero-side-item:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); }
.hero-side-item img{ width:92px; height:72px; object-fit:cover; border-radius:10px; flex:0 0 auto; }
.hero-side-text h3{ font-size:14px; font-weight:600; line-height:1.4; margin:0 0 6px; }
.hero-side-text .hero-meta{ color:var(--ink-500); }

/* ============================================================
   6. GENERIC ARTICLE CARDS
   ============================================================ */
.card{ background:#fff; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); transition:box-shadow .2s ease, transform .2s ease; }
.card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.card-thumb{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--bg-soft); }
.card-thumb img{ width:100%; height:100%; object-fit:cover; }
.card-thumb .badge{ position:absolute; top:10px; left:10px; }
.card-body{ padding:14px; }
.card-body h3{ font-size:15px; font-weight:600; line-height:1.42; margin:0 0 8px; }
.card-meta{ font-size:11.5px; color:var(--ink-500); font-weight:500; }

.grid-3{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:576px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:992px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }

.list-row{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.list-row:last-child{ border-bottom:none; }
.list-row img{ width:100px; height:74px; object-fit:cover; border-radius:10px; flex:0 0 auto; }
@media (min-width:576px){ .list-row img{ width:132px; height:92px; } }
.list-row-body h3{ font-size:14.5px; font-weight:600; line-height:1.4; margin:0 0 6px; }

.ranked-row{ display:flex; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); }
.ranked-row:last-child{ border-bottom:none; }
.rank-num{ font-size:26px; font-weight:800; color:var(--blue-soft); -webkit-text-stroke:1.5px var(--blue); flex:0 0 auto; width:40px; }
.ranked-row img{ width:76px; height:58px; object-fit:cover; border-radius:8px; flex:0 0 auto; }
.ranked-row-body h3{ font-size:14px; font-weight:600; margin:0 0 4px; line-height:1.4; }

/* ============================================================
   7. SECTION WRAPPER / LAYOUT VARIANTS
   ============================================================ */
.section{ padding:30px 0; }
.section.alt{ background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-tinted{ background:var(--blue-soft); }

.feature-split{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:992px){ .feature-split{ grid-template-columns:1.2fr 1fr; } }
.feature-main{ }
.feature-main img{ border-radius:var(--radius-md); aspect-ratio:16/10; object-fit:cover; margin-bottom:12px; }
.feature-main h3{ font-size:clamp(18px,2.6vw,24px); font-weight:700; margin:0 0 10px; line-height:1.3; }
.feature-side{ display:flex; flex-direction:column; gap:10px; }

.horiz-scroll{ display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; scrollbar-width:thin; }
.horiz-scroll .card{ flex:0 0 240px; }
@media (min-width:992px){ .horiz-scroll{ overflow:visible; display:grid; grid-template-columns:repeat(6,1fr); } .horiz-scroll .card{ flex:none; } }

.masonry-2{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:768px){ .masonry-2{ grid-template-columns:1fr 1fr; } }
@media (min-width:992px){ .masonry-2{ grid-template-columns:1.1fr .9fr; } }

/* ============================================================
   8. ADVERTORIAL
   ============================================================ */
.ad-card{ position:relative; border:1.5px dashed var(--amber); background:#fffaf0; }
.ad-card .badge{ background:var(--amber); }

/* ============================================================
   9. NUSA NETWORK SECTION
   ============================================================ */
.network-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:576px){ .network-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:992px){ .network-grid{ grid-template-columns:repeat(5,1fr); } }
.network-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px 16px;
  text-align:center; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.network-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:var(--blue); }
.network-card img{ height:44px; margin:0 auto 14px; object-fit:contain; }
.network-card p{ font-size:12.5px; color:var(--ink-600); line-height:1.5; margin:0 0 12px; min-height:38px; }
.network-count{ font-size:12px; font-weight:700; color:var(--blue); margin-bottom:12px; }
.network-btn{
  display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; color:#fff;
  background:var(--gradient); padding:9px 18px; border-radius:999px;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer{ background:var(--ink-900); color:#cbd5e1; margin-top:20px; }
.footer-top{ padding:40px 0 24px; display:grid; grid-template-columns:1fr; gap:28px; }
@media (min-width:768px){ .footer-top{ grid-template-columns:1.3fr .8fr .8fr 1fr; gap:24px; } }
.footer-brand img{ height:38px; margin-bottom:12px; }
.footer-brand p{ font-size:13px; line-height:1.7; color:#94a3b8; max-width:320px; }
.footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:#fff; margin:0 0 14px; }
.footer-col ul{ display:flex; flex-direction:column; gap:9px; }
.footer-col a{ font-size:13.5px; color:#94a3b8; transition:color .15s ease; }
.footer-col a:hover{ color:#fff; }
.footer-network{ display:flex; flex-wrap:wrap; gap:10px; }
.footer-network a{ background:rgba(255,255,255,.06); border-radius:10px; padding:8px 10px; display:flex; align-items:center; }
.footer-network img{ height:20px; object-fit:contain; filter:brightness(0) invert(1); opacity:.85; }
.footer-network a:hover img{ opacity:1; }
.footer-social{ display:flex; gap:10px; margin-top:14px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--gradient); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:18px 0; font-size:12.5px; color:#94a3b8; text-align:center; }

/* ============================================================
   11. SEARCH MODAL
   ============================================================ */
.overlay-modal{
  position:fixed; inset:0; z-index:3000; display:flex; align-items:flex-start; justify-content:center;
  background:rgba(17,24,39,.5); padding:0;
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease;
}
.overlay-modal.is-open{ opacity:1; visibility:visible; }
.search-panel{
  width:100%; background:#fff; padding:18px 16px 26px; max-height:100vh; overflow-y:auto;
  transform:translateY(-16px); transition:transform .25s ease;
}
.overlay-modal.is-open .search-panel{ transform:translateY(0); }
@media (min-width:768px){
  .overlay-modal{ align-items:flex-start; padding-top:90px; }
  .search-panel{ width:640px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); max-height:80vh; padding:26px; }
}
.modal-close{
  position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  background:#fff; font-size:18px; color:var(--ink-600); display:flex; align-items:center; justify-content:center;
}
.modal-close:hover{ background:var(--red-soft); color:var(--red); border-color:var(--red); }
.search-input-wrap{
  display:flex; align-items:center; gap:10px; border:2px solid var(--blue-soft); border-radius:14px; padding:12px 16px;
  margin-top:6px;
}
.search-input-wrap:focus-within{ border-color:var(--blue); }
#searchInput{ border:none; outline:none; flex:1; font-family:inherit; font-size:15px; background:transparent; }
.search-popular{ margin-top:18px; }
.search-popular-label{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-500); }
.search-chip-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.search-chip{
  font-size:12.5px; font-weight:600; padding:8px 14px; border-radius:999px; background:var(--bg-soft);
  border:1px solid var(--line); color:var(--ink-700,#374151);
}
.search-chip:hover{ background:var(--blue-soft); border-color:var(--blue); color:var(--blue); }
.search-results{ margin-top:16px; display:flex; flex-direction:column; gap:4px; }
.search-empty{ font-size:13.5px; color:var(--ink-500); padding:14px 4px; }

/* ============================================================
   12. AUTH MODAL
   ============================================================ */
.auth-panel{
  width:100%; background:#fff; padding:28px 20px; max-height:100vh; overflow-y:auto;
  transform:translateY(-16px); transition:transform .25s ease;
}
.overlay-modal.is-open .auth-panel{ transform:translateY(0); }
@media (min-width:768px){
  .auth-panel{ width:420px; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:34px 30px; }
}
.auth-panel h2{ font-size:20px; font-weight:700; margin:0 0 20px; }
.auth-panel label{ display:block; font-size:12.5px; font-weight:600; color:var(--ink-700,#374151); margin-bottom:14px; }
.auth-panel input{
  display:block; width:100%; margin-top:6px; padding:11px 13px; border-radius:10px; border:1.5px solid var(--line);
  font-family:inherit; font-size:14px; outline:none;
}
.auth-panel input:focus{ border-color:var(--blue); }
.btn-primary{
  width:100%; padding:12px; border:none; border-radius:10px; background:var(--gradient); color:#fff;
  font-weight:700; font-size:14.5px; margin-top:6px; box-shadow:var(--shadow-sm);
}
.link-muted{ display:block; text-align:center; font-size:12.5px; color:var(--ink-500); margin-top:14px; }
.auth-panel p{ text-align:center; font-size:13px; color:var(--ink-600); margin-top:16px; }
.auth-panel p a{ color:var(--blue); font-weight:700; }

/* ============================================================
   13. SINGLE POST — compact, balanced article header
   ============================================================ */
.post-intro-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,.95fr); gap:28px; align-items:center; padding:18px 28px 4px; }
.post-intro-grid .post-header{ padding:0; min-width:0; }
.post-intro-grid .post-hero{ margin:0; width:100%; align-self:center; }

.post-header > .badge{ margin-bottom:8px; }
.post-title{
  font-family:'Poppins',sans-serif !important;
  font-size:22px !important;
  font-weight:650 !important;
  line-height:1.22 !important;
  margin:6px 0 12px !important;
  letter-spacing:-.28px !important;
  color:#111827 !important;
  max-width:900px !important;
  width:auto !important;
  display:block !important;
}
.post-meta-inline{ font-size:16px; color:var(--ink-600); font-weight:400; line-height:1.35; }
.post-author-meta{ display:flex; align-items:center; gap:12px; min-height:54px; }
.post-author-meta.no-avatar{ min-height:0; }
.post-author-avatar{ width:54px; height:54px; flex:0 0 54px; display:block; border-radius:50%; overflow:hidden; background:transparent; box-shadow:0 3px 9px rgba(17,24,39,.12); }
.post-author-avatar img{ width:100%; height:100%; display:block; object-fit:cover; border-radius:50%; }
.post-author-copy{ min-width:0; }
.post-author-line{ display:flex; align-items:baseline; flex-wrap:wrap; font-size:16px; line-height:1.28; font-weight:400; }
.post-author-name{ color:#b40000; font-weight:500; }
.post-author-media{ color:#111827; font-weight:400; }
.post-date-line{ color:#9aa3b5; font-weight:400; margin-top:2px; font-size:14.5px; line-height:1.3; }
.post-meta-inline b{ color:#111827; font-weight:500; }
.post-hero{
  position:relative; display:block; width:min(520px,100%); aspect-ratio:16/9 !important;
  height:auto !important; min-height:0 !important; max-height:none !important;
  margin:0 0 8px auto; border-radius:0 !important; overflow:hidden;
  background:var(--bg-soft); box-shadow:var(--shadow-sm);
}
.post-hero img{
  display:block !important; width:100% !important; height:100% !important;
  min-width:100% !important; min-height:100% !important; max-width:none !important;
  max-height:none !important; aspect-ratio:auto !important; object-fit:cover !important;
  object-position:center center !important;
}
.post-caption{ font-size:12px; color:var(--ink-500); font-style:italic; padding:7px 0 0; max-width:520px; margin-left:auto; margin-right:28px; }
.post-body{ max-width:820px; margin:20px auto 0; font-size:17px; line-height:1.65; color:var(--ink-800); }
@media (min-width:992px){ .post-body{ font-size:18px; } }
.post-body p{ margin:0 0 18px; }
.post-share{ display:flex; align-items:center; gap:10px; max-width:820px; margin:10px auto 26px; flex-wrap:wrap; }
.post-share span{ font-size:12.5px; font-weight:700; color:var(--ink-500); text-transform:uppercase; letter-spacing:.05em; }
.post-tags{ max-width:820px; margin:0 auto 30px; display:flex; flex-wrap:wrap; gap:8px; }
.post-tags a{ font-size:12.5px; font-weight:600; padding:8px 14px; border-radius:999px; background:var(--bg-soft); border:1px solid var(--line); }
.post-tags a:hover{ background:var(--blue-soft); border-color:var(--blue); color:var(--blue); }
@media (max-width:575px){
  /* SINGLE POST MOBILE — mengikuti referensi: teks 15px dari tepi, foto full-bleed */
  .single-article{ padding-left:15px !important; padding-right:15px !important; }
  .post-intro-grid{ grid-template-columns:1fr; gap:10px; padding:15px 0 3px; margin:0 !important; align-items:start; }
  .post-intro-grid .post-header{
    padding:0 !important;
    margin:0 !important;
    width:100% !important;
    max-width:none !important;
  }
  .post-header > .badge{ margin-bottom:7px; }
  .post-title{ font-size:22px !important; line-height:1.22 !important; margin:5px 0 10px !important; letter-spacing:-.25px !important; max-width:100% !important; width:100% !important; }
  .post-meta-inline{ font-size:16px; line-height:1.35; }
  .post-author-meta{ gap:10px; min-height:50px; }
  .post-author-avatar{ width:50px; height:50px; flex-basis:50px; }
  .post-author-line{ font-size:16px; line-height:1.28; }
  .post-date-line{ font-size:14px; margin-top:2px; line-height:1.3; }
  .post-intro-grid .post-hero{ width:calc(100% + 30px) !important; max-width:none; aspect-ratio:16/9 !important; margin:4px 0 0 -15px !important; border-radius:0 !important; }
  .post-intro-grid .post-header{ margin-left:0 !important; margin-right:0 !important; width:100% !important; }
  .post-caption{ padding:7px 0 0; max-width:100%; margin:0; }
  .post-body{ margin-top:16px; font-size:17px; line-height:1.65; }
  .post-body p{ margin-bottom:18px; }
}

/* ============================================================
   14. TOAST
   ============================================================ */
.toast-stack{ position:fixed; bottom:18px; left:50%; transform:translateX(-50%); z-index:6000; display:flex; flex-direction:column; gap:8px; width:calc(100% - 32px); max-width:360px; }
.toast{
  background:var(--ink-900); color:#fff; font-size:13.5px; font-weight:500; padding:12px 16px; border-radius:12px;
  box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px;
  animation:toastIn .25s ease;
}
.toast.success{ background:var(--green); }
@keyframes toastIn{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }

/* misc utils */
.empty-state{ padding:40px 16px; text-align:center; color:var(--ink-500); font-size:14px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ============================================================
   DEMO AUTH MODAL — FRONT-END ONLY
   ============================================================ */
.auth-google{
  width:100%; min-height:46px; border:1px solid var(--line); border-radius:10px; background:#fff;
  color:var(--ink-800); display:flex; align-items:center; justify-content:center; gap:10px;
  font-size:14px; font-weight:600; transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-google:hover{ border-color:#cbd5e1; background:#f8fafc; box-shadow:var(--shadow-sm); }
.google-mark{ width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; font-family:Arial,sans-serif; font-size:17px; font-weight:700; color:#4285F4; }
.auth-note{ margin:0 0 16px !important; text-align:left !important; font-size:12.5px !important; line-height:1.6; color:var(--ink-500) !important; }
.auth-divider{ display:flex; align-items:center; gap:10px; margin:16px 0; color:var(--ink-500); font-size:11.5px; }
.auth-divider::before,.auth-divider::after{ content:""; height:1px; flex:1; background:var(--line); }
.auth-switch{ margin-top:16px !important; }
.auth-demo-status{ min-height:20px; margin-top:12px; text-align:center; font-size:12.5px; color:var(--green); font-weight:600; }
.auth-demo-status.error{ color:var(--red); }
@media (max-width:767px){
  .auth-panel{ padding:26px 18px; }
}
