/* ============================================================
   REDUKSIA — style.css
   Palet: Merah (#C0001D) + Hitam Gelap + Putih Bersih
   Font: Noto Serif (judul) + Source Sans 3 (body)
   ============================================================ */

/* ── RESET & VARIABEL ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #C0001D;
  --red-dark:  #8B0015;
  --red-light: #e8001f;
  --dark:      #111111;
  --dark-2:    #1e1e1e;
  --gray-700:  #444;
  --gray-500:  #777;
  --gray-300:  #ccc;
  --gray-100:  #f4f4f4;
  --white:     #ffffff;
  --bg:        #f7f7f7;

  --serif:    'Noto Serif', Georgia, serif;
  --sans:     'Source Sans 3', sans-serif;

  --radius:   6px;
  --shadow:   0 2px 12px rgba(0,0,0,0.09);
  --shadow-lg: 0 6px 24px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #aaa;
  font-size: 12.5px;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-divider { color: #444; }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a {
  color: #888;
  font-size: 13px;
  transition: color var(--transition);
}
.topbar-right a:hover { color: var(--red-light); }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar-main {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar-logo img { height: 48px; width: auto; object-fit: contain; }
.logo-text-fallback {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
}

/* Search Desktop */
.navbar-search { flex: 1; max-width: 420px; }
.navbar-search form {
  display: flex;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.navbar-search form:focus-within { border-color: var(--red); }
.navbar-search input {
  flex: 1;
  border: none;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 13.5px;
  outline: none;
  background: transparent;
}
.navbar-search button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
}
.navbar-search button:hover { background: var(--red-dark); }

/* Search Mobile — di bawah navbar, hidden di desktop */
.mobile-search {
  display: none;
  padding: 8px 14px;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.mobile-search form {
  display: flex;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.mobile-search form:focus-within { border-color: var(--red); }
.mobile-search input {
  flex: 1;
  border: none;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  background: transparent;
}
.mobile-search button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition);
}
.mobile-search button:hover { background: var(--red-dark); }

/* Actions */
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
  background: var(--red);
  color: var(--white);
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-login:hover { background: var(--red-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Menu */
.nav-menu {
  background: var(--dark);
  border-top: 1px solid #2a2a2a;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-list li a {
  display: block;
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--white);
  background: var(--red);
}

/* ── TRENDING BAR ─────────────────────────────────────────── */
.trending-bar {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  overflow: hidden;
}
.trending-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}
.trending-label {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.trending-scroll-wrapper { overflow: hidden; flex: 1; }
.trending-list {
  display: flex;
  gap: 0;
  animation: trendingScroll 30s linear infinite;
  width: max-content;
}
.trending-list li a {
  color: var(--gray-700);
  font-size: 13px;
  padding: 0 20px;
  border-right: 1px solid var(--gray-300);
  white-space: nowrap;
  transition: color var(--transition);
}
.trending-list li a:hover { color: var(--red); }
@keyframes trendingScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── IKLAN STRIP ─────────────────────────────────────────── */
.iklan-strip {
  background: var(--white);
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.iklan-strip .iklan-img { max-width: 970px; width: 100%; margin: 0 auto; }
.iklan-strip img { max-width: 970px; width: 100%; height: auto; display: block; margin: 0 auto; }
.iklan-block { margin: 28px 0; text-align: center; }
.iklan-block img { max-width: 100%; border-radius: var(--radius); }
.iklan-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 13px;
  height: 250px;
}
.iklan-placeholder.sm { height: 250px; }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  min-height: 460px;
}

/* Slide Utama */
.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #222;
}
.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.hero-slide.active { display: block; }
.hero-slide > a { display: block; height: 100%; }
.hero-img-wrap { width: 100%; height: 100%; }
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-slide:hover .hero-img-wrap img { transform: scale(1.03); }
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.hero-judul {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 8px 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-meta {
  display: flex;
  gap: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
}
.hero-meta span { display: flex; align-items: center; gap: 5px; }

/* Kontrol */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  transition: background var(--transition);
  z-index: 10;
}
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-prev:hover, .hero-next:hover { background: var(--red); }
.hero-dots {
  position: absolute;
  bottom: 14px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

/* Daftar Kanan */
.hero-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  background: var(--white);
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.hero-list-item.active,
.hero-list-item:hover {
  background: var(--gray-100);
  border-left-color: var(--red);
}
.hero-list-thumb {
  width: 90px;
  height: 65px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}
.hero-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-list-info { flex: 1; min-width: 0; }
.hero-list-info h4 {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 5px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta-time {
  font-size: 11.5px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── BADGE KATEGORI ──────────────────────────────────────── */
.badge-kategori {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-kategori.sm { font-size: 10px; padding: 2px 7px; }
.badge-kategori.overlay { position: absolute; top: 10px; left: 10px; }

/* ── MAIN CONTENT LAYOUT ─────────────────────────────────── */
.main-content { padding: 32px 0 48px; }
.content-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.content-main { min-width: 0; }

/* ── SECTION BLOCK ───────────────────────────────────────── */
.section-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.section-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.section-title span { color: var(--red); }
.lihat-semua {
  font-size: 12.5px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.lihat-semua:hover { gap: 9px; }

/* ── GRID 4 KOLOM (Pilihan Redaksi) ─────────────────────── */
.berita-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card-berita {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-berita:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-100);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-thumb:hover img { transform: scale(1.06); }
.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 25%, #d4d4d4 75%);
}
.card-body { padding: 12px; }
.card-judul {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-judul a:hover { color: var(--red); }
.card-judul.lg { font-size: 1rem; -webkit-line-clamp: 4; }
.card-ringkasan {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ── LIST HORIZONTAL (Berita Terbaru) ───────────────────── */
.berita-list-horizontal { display: flex; flex-direction: column; gap: 16px; }
.card-horizontal {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.card-horizontal:last-child { border-bottom: none; padding-bottom: 0; }
.card-h-thumb {
  width: 140px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-100);
}
.card-h-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card-h-thumb:hover img { transform: scale(1.07); }
.card-h-body { flex: 1; min-width: 0; }
.card-h-judul {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  margin: 6px 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-h-judul a:hover { color: var(--red); }

/* ── DUAL GRID (Politik/Ekonomi dll) ────────────────────── */
.dual-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}
.card-featured { margin-bottom: 14px; }
.card-thumb.tall {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f3f3;
}
.mini-card:last-child { border-bottom: none; }
.mini-thumb {
  width: 80px; height: 58px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-100);
}
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mini-thumb:hover img { transform: scale(1.08); }
.mini-judul {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-judul a:hover { color: var(--red); }

/* ── VIDEO GRID ──────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.video-card { }
.video-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  margin-bottom: 10px;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.video-thumb:hover img { opacity: 0.7; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(192,0,29,0.85);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform var(--transition), background var(--transition);
}
.video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--red);
}
.video-durasi {
  position: absolute;
  bottom: 6px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}
.video-judul {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-judul a:hover { color: var(--red); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 20px;
}
.widget-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--red);
}

/* Populer */
.populer-list { display: flex; flex-direction: column; gap: 14px; }
.populer-item { display: flex; gap: 12px; align-items: flex-start; }
.populer-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gray-300);
  line-height: 1;
  min-width: 24px;
}
.populer-info { flex: 1; min-width: 0; }
.populer-judul {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}
.populer-judul:hover { color: var(--red); }

/* Kategori Widget */
.kategori-widget-list { display: flex; flex-direction: column; gap: 2px; }
.kategori-widget-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.kategori-widget-list li a:hover {
  background: var(--gray-100);
  color: var(--red);
}
.kategori-widget-list li a i { color: var(--red); width: 16px; text-align: center; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  color: #ccc;
  padding: 48px 0 0;
  margin-top: 8px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-about p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #999;
  max-width: 260px;
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #333;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-col h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: #999;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-col p {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}
.footer-col p i { color: var(--red); flex-shrink: 0; }

.footer-bottom {
  background: #111;
  padding: 14px 0;
  border-top: 1px solid #2a2a2a;
}
.footer-bottom p {
  text-align: center;
  font-size: 12.5px;
  color: #666;
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  font-size: 16px;
  border: none;
  transition: background var(--transition), transform var(--transition);
  z-index: 999;
}
#back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}
#back-to-top.show { display: flex; }

/* ────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                               */
/* ────────────────────────────────────────────────────────── */

/* ── Tablet (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-main { height: 380px; position: relative; }
  .hero-slide { position: absolute; }
  .hero-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .hero-list-item { flex-shrink: 0; width: 220px; }

  .content-sidebar-grid {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }

  .berita-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── Mobile Lebar (≤ 768px) ──────────────────────────────── */
@media (max-width: 768px) {
  .topbar { display: none; }

  .navbar-inner { padding-top: 10px; padding-bottom: 10px; }
  .navbar-search { display: none; } /* desktop search disembunyikan */
  .hamburger { display: flex; }

  /* Mobile search tampil */
  .mobile-search { display: block; }

  /* Mobile nav: collapse */
  .nav-menu { display: none; }
  .nav-menu.open { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list li a {
    padding: 12px 20px;
    border-bottom: 1px solid #2a2a2a;
  }

  .hero-main { height: 300px; }
  .hero-judul { font-size: 1.15rem; }
  .hero-list { display: none; }

  .dual-section-grid { grid-template-columns: 1fr; }
  .berita-grid-4 { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .card-h-thumb { width: 110px; height: 80px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ── Mobile Kecil (≤ 480px) ─────────────────────────────── */
@media (max-width: 480px) {
  .berita-grid-4 { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  .hero-main { height: 240px; }
  .hero-judul { font-size: 1rem; }
  .hero-overlay { padding: 40px 16px 16px; }

  .card-horizontal { flex-direction: column; }
  .card-h-thumb { width: 100%; height: 180px; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-about { order: 0; }

  .section-block { padding: 16px 14px; }
  .container { padding: 0 14px; }
}

/* ── FONT LOADING FIX ────────────────────────────────────── */
/* body disembunyikan di header.php, ditampilkan setelah font siap */
body.fonts-ready {
  visibility: visible !important;
}