/* ==========================================================================
   MOBY — MEDIA ORIGIN BOGOR
   CLEAN & SOLID EDITORIAL NEWS DESIGN SYSTEM
   Authoritative Professional Journalism | Solid Opaque Surfaces | Crisp Lines
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* Surface & Background (Solid Opaque - No Glassmorphism) */
  --bg: #f4f6fa;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hover: #f1f5f9;
  --bg-dark: #090e1a;
  --bg-dark-2: #111827;
  --bg-dark-3: #1f2937;

  /* Borders (Solid crisp lines) */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #2563eb;

  /* High Contrast Typography */
  --text: #0f172a;
  --text-2: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inv: #ffffff;

  /* Brand Signature Colors (Solid Bold News Identity) */
  --red: #dc2626;
  --red-hover: #b91c1c;
  --red-dark: #991b1b;
  --red-bg: #fef2f2;
  
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-bg: #eff6ff;

  --navy: #0f172a;
  --gold: #d97706;
  --emerald: #059669;

  /* Vibrant Category Accents (Warna Rubrik Berita) */
  --cat-nasional: #dc2626;
  --cat-internasional: #2563eb;
  --cat-ekonomi: #059669;
  --cat-politik: #7c3aed;
  --cat-hukum: #d97706;
  --cat-teknologi: #0284c7;
  --cat-pendidikan: #4f46e5;
  --cat-kesehatan: #0d9488;
  --cat-olahraga: #ea580c;
  --cat-hiburan: #db2777;

  /* Solid / Crisp Gradients */
  --grad-brand: linear-gradient(135deg, #dc2626 0%, #1e3a8a 100%);
  --grad-breaking: #dc2626;
  --grad-live: #dc2626;
  --grad-shorts: #e11d48;
  --grad-blue: #1d4ed8;
  --grad-gold: #d97706;
  --grad-silver: #475569;
  --grad-bronze: #b45309;
  --grad-card-dark: #0f172a;
  --grad-warga: #1e3a8a;

  /* Typography Fonts */
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Crisp Professional Radii */
  --r-xs: 3px;
  --r-sm: 5px;
  --r: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-full: 9999px;

  /* Clean Solid Elevated Shadows (No Neon/Glass Glowing Halos) */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sh: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --sh-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --sh-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --sh-glow-red: none;
  --sh-glow-blue: none;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Layout Constraints */
  --max-w: 1220px;
  --topbar-h: 38px;
  --header-h: 62px;
  --nav-h: 44px;
}

/* ==========================================================================
   RICH DARK MODE
   ========================================================================== */
[data-theme="dark"] {
  --bg: #070b14;
  --bg-card: #0d1424;
  --bg-subtle: #121c32;
  --bg-hover: #182542;
  --bg-dark: #03060c;
  --bg-dark-2: #090e1a;
  --bg-dark-3: #111a2e;

  --border: #1a2744;
  --border-strong: #24355a;
  --border-focus: #60a5fa;

  --text: #f8fafc;
  --text-2: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --text-inv: #070b14;

  --red: #ef4444;
  --red-hover: #f87171;
  --red-dark: #b91c1c;
  --red-bg: #2d0a0f;

  --blue: #3b82f6;
  --blue-hover: #60a5fa;
  --blue-bg: #0a1b38;

  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh: 0 2px 4px rgba(0, 0, 0, 0.35);
  --sh-md: 0 4px 8px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 8px 16px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   RESET & CORE BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; transition: color .15s ease; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-head); 
  color: var(--text); 
  line-height: 1.25; 
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOPBAR & BREAKING TICKER (SOLID PROFESSIONAL STYLING)
   ========================================================================== */
.topbar {
  height: var(--topbar-h);
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  z-index: 110;
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.topbar-date {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-date-badge {
  background: #1e293b;
  color: #38bdf8;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid #334155;
}

.topbar-sep { color: #334155; flex-shrink: 0; font-size: 11px; }

/* Ticker Breaking News */
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ticker-label {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pulse-radar {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite;
  display: inline-block;
}

.ticker-scroll {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  will-change: transform;
}

.ticker-inner:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e2e8f0;
  margin-right: 28px;
  cursor: pointer;
  transition: color .15s;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item:hover { color: #38bdf8; text-decoration: underline; }

.ticker-cat {
  background: #334155;
  color: #fbbf24;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topbar-link {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  transition: all .15s;
}
.topbar-link:hover { 
  color: #fbbf24; 
  background: #1e293b; 
}

.theme-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .15s ease;
}
.theme-btn:hover { 
  background: #334155; 
  color: #fff;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
  transition: background .2s, border-color .2s;
}

[data-theme="dark"] .site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.4);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-brand-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: transform .25s var(--ease-spring);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}
.logo-link:hover .logo-brand-img { 
  transform: scale(1.04); 
}

/* Search Bar (Capsule / Pill Shape) */
.header-search { 
  flex: 1; 
  max-width: 440px; 
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-inp {
  width: 100%;
  padding: 8px 42px 8px 16px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: all .2s var(--ease);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.search-inp:focus {
  border-color: var(--blue);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-btn {
  position: absolute;
  right: 5px;
  background: var(--blue);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
}
.search-btn:hover { 
  background: var(--blue-hover); 
  transform: scale(1.05); 
}

/* Header CTAs */
.header-cta { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex-shrink: 0; 
}

.btn-header-warga {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-header-warga:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
}

.theme-btn-header {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border-radius: var(--r-full);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all .15s ease;
  flex-shrink: 0;
}
.theme-btn-header:hover {
  background: var(--border);
  color: var(--text);
}

.btn-login {
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-login:hover { 
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   NAVIGATION BAR (Kategori Berita Berwarna Tegas)
   ========================================================================== */
.site-nav {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  height: var(--nav-h);
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.03);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-item {
  list-style: none;
  flex-shrink: 0;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  border-bottom: 2.5px solid transparent;
  transition: all .15s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-item a:hover {
  color: var(--red);
  background: var(--bg-subtle);
}

.nav-item.is-active a {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 800;
}

/* Shorts Nav Pill Solid Styling */
.nav-item-shorts a {
  background: #fef2f2;
  color: #dc2626 !important;
  font-weight: 800 !important;
  border-radius: var(--r-sm);
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  margin: 0 4px;
  border: 1px solid #fecaca;
  box-shadow: none;
}
.nav-item-shorts a:hover {
  background: #dc2626;
  color: #fff !important;
  border-color: #dc2626;
  transform: translateY(-1px);
}
[data-theme="dark"] .nav-item-shorts a {
  background: #2d0a0f;
  color: #f87171 !important;
  border-color: #7f1d1d;
}
[data-theme="dark"] .nav-item-shorts a:hover {
  background: #dc2626;
  color: #fff !important;
  border-color: #dc2626;
}

/* ==========================================================================
   PAGE GRID & SECTION HEADERS
   ========================================================================== */
.main { 
  flex: 1; 
  padding: 22px 0 48px; 
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

/* Section Header (Dual-tone bold accent line) */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.sec-head::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2.5px;
  background: var(--grad-breaking);
  border-radius: 2px;
}

.sec-title {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sec-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.sec-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sec-more:hover { 
  color: var(--red); 
  transform: translateX(2px);
}

/* ==========================================================================
   FEATURED MAGAZINE CARDS (2-COLUMN HERO)
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  transition: all .25s var(--ease);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}

.featured-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.featured-card:hover .featured-img img {
  transform: scale(1.06);
}

/* Overlay gradient on image */
.featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* Category Badge with bold color & drop shadow */
.cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #fff;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 2;
}

.breaking-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-dot 1.2s ease infinite;
  z-index: 2;
}

.featured-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-lg {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
  color: var(--text);
}

.featured-card:hover .card-title-lg { 
  color: var(--red); 
}

.card-sum {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 12px;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-faint);
}

.card-author { 
  font-weight: 700; 
  color: var(--text-2); 
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   MOBY SHORTS (TikTok / Reels Style Section)
   ========================================================================== */
.shorts-home-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--sh);
}

.shorts-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.shorts-badge-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shorts-pill-neon {
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  letter-spacing: .5px;
  box-shadow: none;
}

.shorts-box-title {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.shorts-box-link {
  color: #38bdf8;
  font-weight: 700;
  font-size: 12px;
  transition: all .15s;
}
.shorts-box-link:hover {
  color: #fff;
  text-decoration: underline;
}

.shorts-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .shorts-home-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.short-home-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: var(--r);
  overflow: hidden;
  background: #020617;
  border: 1px solid #1e293b;
  text-decoration: none;
  box-shadow: var(--sh-sm);
  display: block;
  transition: all .2s ease;
}
.short-home-card:hover {
  transform: translateY(-2px);
  border-color: #dc2626;
  box-shadow: var(--sh-md);
}

.short-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
  z-index: 2;
}

.short-duration-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #0f172a;
  color: #38bdf8;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
  z-index: 3;
  border: 1px solid #334155;
}

.short-play-btn {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #ffffff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 3;
  transition: all .15s ease;
  box-shadow: var(--sh-sm);
}
.short-home-card:hover .short-play-btn {
  background: #dc2626;
  border-color: #dc2626;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: none;
}

.short-info-wrap {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  z-index: 3;
}

.short-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.short-meta {
  font-size: 9px;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.short-loc {
  color: #fca5a5;
  font-weight: 700;
}

/* ==========================================================================
   NEWS CARDS & FEED BERITA TERBARU
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--sh-sm);
  transition: all .2s var(--ease);
}

.news-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.news-thumb {
  width: 90px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--bg-subtle);
  transition: transform .25s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.news-card:hover .news-thumb { 
  transform: scale(1.05); 
}

.news-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-cat {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.news-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  color: var(--text);
  transition: color .15s;
}
.news-card:hover .news-title { 
  color: var(--red); 
}

.news-meta {
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
}

.news-meta span { display: flex; align-items: center; gap: 3px; }

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.sidebar { 
  display: flex; 
  flex-direction: column; 
  gap: 18px; 
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}

.widget-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  background: var(--bg-subtle);
  border-left: 4px solid var(--red);
  letter-spacing: -0.01em;
}

/* Popular News with Gold/Silver/Bronze Rank Badges */
.popular-list { list-style: none; }

.popular-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--bg-hover); }

.pop-rank {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Distinct Rank Badges */
.popular-item:nth-child(1) .pop-rank { 
  background: var(--grad-gold); 
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}
.popular-item:nth-child(2) .pop-rank { 
  background: var(--grad-silver); 
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.35);
}
.popular-item:nth-child(3) .pop-rank { 
  background: var(--grad-bronze); 
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.popular-item:nth-child(n+4) .pop-rank { 
  background: #334155; 
  color: #94a3b8;
}

.pop-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
  color: var(--text);
  transition: color .15s;
}
.popular-item:hover .pop-title { color: var(--red); }

.pop-meta { 
  font-size: 11px; 
  color: var(--text-faint); 
  font-weight: 500;
}

/* Categories Pills Widget */
.cat-pills {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-pill-link {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  transition: all .2s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cat-pill-link:hover {
  transform: translateY(-2px);
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

/* Info Warga Widget (Citizen Journalism Prominent Card) */
.widget-warga {
  background: var(--grad-warga);
  border: none;
  padding: 20px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.35);
}

.widget-warga::before {
  content: '📢';
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 80px;
  opacity: 0.12;
  pointer-events: none;
}

.widget-warga h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-warga p {
  color: #e2e8f0;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-warga-action {
  background: #ffffff;
  color: #1e3a8a !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s var(--ease);
  box-shadow: var(--sh-sm);
}
.btn-warga-action:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* Newsletter Widget (Solid Opaque Styling) */
.nl-widget {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--r);
  padding: 18px;
  color: #fff;
  box-shadow: var(--sh);
}

.nl-widget h4 { 
  color: #fff; 
  font-size: 14px; 
  font-weight: 800;
  margin-bottom: 6px; 
}
.nl-widget p { 
  font-size: 12px; 
  color: #94a3b8; 
  margin-bottom: 12px; 
  line-height: 1.45; 
}

.nl-form { display: flex; flex-direction: column; gap: 8px; }

.nl-inp {
  padding: 9px 12px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.nl-inp:focus { 
  border-color: #38bdf8; 
  background: #1e293b;
}

.nl-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
  box-shadow: var(--sh-sm);
}
.nl-btn:hover { 
  background: var(--red-hover);
  transform: translateY(-1px);
}
.nl-btn:active { transform: scale(.98); }

/* ==========================================================================
   ARTICLE READER PAGE
   ========================================================================== */
.article-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--sh);
}

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--border-strong); }

.article-cat-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.article-h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--text);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.byline-reporter { 
  font-weight: 800; 
  color: var(--text); 
}

/* Views Counter Badge */
.byline-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .2s;
}
.byline-views:hover {
  background: var(--bg-hover);
  color: var(--red);
  border-color: var(--red);
}
.byline-views svg { color: var(--red); }

/* Share Buttons */
.share-btn {
  border: 1.5px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}
.share-btn:hover { 
  background: var(--bg-hover); 
  transform: translateY(-1px);
}

.share-btn-wa {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.share-btn-wa:hover { filter: brightness(1.08); }

.share-btn-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(220, 39, 67, 0.3);
}
.share-btn-ig:hover { filter: brightness(1.08); }

.article-feat-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--sh-md);
}

.article-body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-2);
  word-break: break-word;
}
.article-body p { 
  margin-bottom: 18px; 
  line-height: 1.8;
}
.article-body h2 { 
  font-family: var(--font-head);
  font-size: 22px; 
  font-weight: 800; 
  margin: 26px 0 10px; 
  color: var(--text); 
  border-left: 4px solid var(--red);
  padding-left: 12px;
}
.article-body blockquote {
  background: var(--bg-subtle);
  border-left: 4px solid var(--red);
  padding: 16px 22px;
  margin: 20px 0;
  font-style: italic;
  font-size: 16px;
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

/* ==========================================================================
   FOOTER (Authoritative & Solid)
   ========================================================================== */
.site-footer {
  background: #090e1a;
  color: #94a3b8;
  border-top: 4px solid var(--red);
  padding: 40px 0 20px;
  font-size: 13px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d90429 0%, #1d4ed8 50%, #059669 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.footer-brand p { color: #94a3b8; line-height: 1.6; max-width: 360px; }

.footer-col h4 {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: #94a3b8; transition: all .15s; font-size: 13px; }
.footer-links a:hover { color: #38bdf8; transform: translateX(3px); }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.footer-admin-gear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  opacity: 0.65;
  padding: 4px;
  border-radius: var(--r-xs);
  transition: color .25s ease, opacity .25s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
  text-decoration: none;
  line-height: 1;
}

.footer-admin-gear:hover {
  color: #94a3b8;
  opacity: 1;
  transform: rotate(60deg);
}

.footer-admin-gear svg {
  display: block;
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.4; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fadeup { animation: fadeInUp .4s var(--ease) both; }
.anim-fadeup:nth-child(1) { animation-delay: .03s; }
.anim-fadeup:nth-child(2) { animation-delay: .07s; }
.anim-fadeup:nth-child(3) { animation-delay: .11s; }
.anim-fadeup:nth-child(4) { animation-delay: .15s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 34px;
    --header-h: 54px;
    --nav-h: 40px;
  }

  /* Full Width Ticker on Mobile (Running text 100% visible & smooth speed) */
  .topbar {
    height: var(--topbar-h);
  }
  .topbar .container {
    padding: 0 10px;
    gap: 6px;
    width: 100%;
  }
  .topbar-date, .topbar-sep { display: none !important; }
  .topbar-end { display: none !important; }

  .ticker-wrap {
    width: 100%;
    min-width: 0;
    gap: 6px;
  }
  .ticker-label {
    font-size: 9px;
    padding: 2.5px 6px;
    letter-spacing: .3px;
    flex-shrink: 0;
  }
  .ticker-scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .ticker-inner {
    animation-duration: 20s;
  }
  .ticker-item {
    font-size: 11.5px;
    margin-right: 20px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
    gap: 10px;
  }
  .header-search { order: 3; max-width: 100%; flex: 0 0 100%; }
  .logo-link { flex: 1; }
  .header-cta { flex-shrink: 0; }

  .site-nav { height: auto; overflow: visible; }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    display: none;
    padding: 6px 0;
  }
  .nav-inner.is-open { display: flex; }
  .nav-item a { height: auto; line-height: 1; padding: 10px 16px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-item.is-active a, .nav-item a:hover { border-left-color: var(--red); border-bottom: none; }
  .nav-toggle { display: block; }

  .featured-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .news-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { flex-direction: column; }
  .featured-img { width: 100%; aspect-ratio: 16/9; }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (NAVBOTTOM)
   ========================================================================== */
.mobile-navbottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.navbottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: color 0.15s ease;
}

.navbottom-item svg { width: 18px; height: 18px; }
.navbottom-item.active,
.navbottom-item:hover { color: var(--red); }

.navbottom-fab {
  position: relative;
  top: -12px;
  background: var(--red);
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-md);
  flex: 0 0 44px;
  margin: 0 6px;
  transition: transform 0.15s;
}
.navbottom-fab:hover { transform: scale(1.06); }

@media (max-width: 768px) {
  .mobile-navbottom { display: flex; }
  body { padding-bottom: 60px; }
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--bg-dark); padding: 18px 14px; display: flex; flex-direction: column; border-right: 1px solid #1a2740; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #1e293b; }
.admin-nav { list-style: none; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; color: #94a3b8; transition: all .15s; }
.admin-nav a:hover, .admin-nav .is-active a { background: #1e293b; color: #ffffff; }
.admin-main { padding: 26px 32px; overflow-y: auto; }
.admin-page-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); border-top: 3.5px solid var(--red); padding: 16px; box-shadow: var(--sh-sm); }
.stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; line-height: 1; margin: 5px 0; color: var(--text); }
.stat-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); letter-spacing: .5px; }
.tbl-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); overflow-x: auto; box-shadow: var(--sh-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { background: var(--bg-subtle); font-weight: 800; padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; color: var(--text-muted); text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg-subtle); }

.badge { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .4px; }
.badge-pub { background: #dcfce7; color: #15803d; }
.badge-draft { background: #f1f5f9; color: #64748b; }
.badge-review { background: #fef3c7; color: #92400e; }
.badge-verified { background: #dbeafe; color: #1d4ed8; }

.btn-prim { background: var(--red); color: #fff; border: none; padding: 9px 20px; border-radius: var(--r-sm); font-size: 13px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--sh-sm); transition: all .15s; }
.btn-prim:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--border); background: transparent; color: var(--text-2); padding: 8px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s; }
.btn-ghost:hover { background: var(--bg-hover); }

/* Form controls */
.form-ctrl { padding: 9px 12px; border: 1.5px solid var(--border); background: var(--bg-subtle); color: var(--text); border-radius: var(--r-sm); font-size: 13.5px; font-family: var(--font-body); outline: none; transition: border-color .2s; width: 100%; }
.form-ctrl:focus { border-color: var(--blue); background: var(--bg-card); }

/* Alerts / Notifikasi */
.alert {
  padding: 13px 18px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--sh-sm);
}
.alert-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
}
[data-theme="dark"] .alert-ok {
  background: rgba(6, 95, 70, 0.25);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.4);
}
.alert-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1.5px solid #fecaca;
}
[data-theme="dark"] .alert-err {
  background: rgba(153, 27, 27, 0.25);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.4);
}
.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1.5px solid #bfdbfe;
}
[data-theme="dark"] .alert-info {
  background: rgba(30, 64, 175, 0.25);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.4);
}

/* ── Policy, Legal & Redaksi Styling ──────────────────────────────── */
.policy-hero {
  margin-bottom: 22px;
}
.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
[data-theme="dark"] .policy-badge {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.policy-h1 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.policy-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.policy-meta-bar strong {
  color: var(--text);
}

.policy-callout {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 24px;
  box-shadow: var(--sh-sm);
}
.policy-callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--red);
}

/* Redaksi Structure Sections */
.redaksi-section {
  margin-bottom: 26px;
}
.redaksi-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
}

/* Redaksi Grid & Cards */
.redaksi-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .redaksi-grid-2 {
    grid-template-columns: 1fr;
  }
}

.redaksi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--sh-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.redaksi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
}

.redaksi-role {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red);
  margin-bottom: 6px;
}
.redaksi-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.redaksi-cert {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sidebar Policy Navigation List */
.policy-side-list {
  list-style: none;
  padding: 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.policy-side-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.15s ease;
}
.policy-side-item a:hover {
  background: var(--bg-hover);
  color: var(--red);
}
.policy-side-item.is-active a {
  background: var(--bg-subtle);
  color: var(--red);
  font-weight: 800;
  border-left: 3px solid var(--red);
}

/* Policy Articles & Pasals */
.policy-pasal-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--sh-sm);
}
.policy-pasal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.policy-pasal-tag {
  font-weight: 800;
  font-size: 12px;
  color: var(--red);
  text-transform: uppercase;
}
.policy-pasal-text {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}
.policy-interpret {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  background: var(--bg-subtle);
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.policy-interpret-title {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


