/*
Theme Name: Suara Migran News
Theme URI: https://suaramigran.id
Author: Suara Migran
Author URI: https://suaramigran.id
Description: Portal berita modern bergaya CNN Indonesia dengan slider, multi-kolom, dan sidebar untuk media advokasi pekerja migran.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suara-migran
Tags: news, magazine, blog, custom-menu, featured-images, responsive-layout, two-columns, three-columns, right-sidebar, translation-ready
*/

/* ================================================================
   IMPORTS
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ================================================================
   CSS VARIABLES
================================================================ */
:root {
  --red:        #cc0000;
  --red-dark:   #aa0000;
  --red-light:  #e60000;
  --black:      #0d0d0d;
  --dark:       #1a1a1a;
  --dark2:      #222222;
  --dark3:      #2d2d2d;
  --gray-dark:  #444444;
  --gray:       #666666;
  --gray-mid:   #999999;
  --gray-light: #cccccc;
  --border:     #e0e0e0;
  --bg:         #f5f5f5;
  --white:      #ffffff;
  --card-bg:    #ffffff;

  --font-head: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gap: 16px;
  --radius: 2px;
  --transition: 0.18s ease;
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ================================================================
   CONTAINER
================================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ================================================================
   TOP BAR (red strip at very top)
================================================================ */
.topbar-strip {
  background: var(--black);
  border-bottom: 3px solid var(--red);
}
.topbar-strip .container {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 0;
}
.topbar-logo {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 100%;
  flex-shrink: 0;
}
.topbar-logo svg { width: 38px; height: 22px; fill: var(--white); }
.topbar-nav {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
}
.topbar-nav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  height: 42px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background var(--transition);
}
.topbar-nav a:hover, .topbar-nav a.active { background: var(--red); color: var(--white); }
.topbar-nav .nav-live {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.05em;
  margin-left: 4px;
  border-radius: 2px;
}
.topbar-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding-left: 12px;
}
.topbar-icons button {
  color: var(--white);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.topbar-icons button:hover { background: rgba(255,255,255,0.12); }
.topbar-icons svg { width: 18px; height: 18px; }

/* Mobile hamburger */
.topbar-hamburger {
  display: none;
  color: var(--white);
  padding: 0 14px;
  height: 42px;
  align-items: center;
}
@media (max-width: 900px) {
  .topbar-hamburger { display: flex; }
  .topbar-nav { display: none; }
  .topbar-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 42px;
    left: 0; right: 0;
    background: var(--black);
    z-index: 999;
    padding: 8px 0;
  }
  .topbar-nav.mobile-open a { height: 40px; }
}

/* ================================================================
   TRENDING BAR
================================================================ */
.trending-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trending-bar .container {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 0;
  overflow: hidden;
}
.trending-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 4px;
}
.trending-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  flex: 1;
}
.trending-links a {
  font-size: 13px;
  color: var(--dark);
  font-weight: 500;
  padding: 0 14px;
  white-space: nowrap;
  height: 36px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
  transition: color var(--transition);
}
.trending-links a:first-child { border-left: 1px solid var(--border); }
.trending-links a:hover { color: var(--red); }

/* ================================================================
   MAIN HERO / FEATURED SLIDER AREA
================================================================ */
.hero-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  align-items: start;
}

/* LEFT: Featured article + slider */
.hero-main { }

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-slide {
  display: none;
}
.hero-slide.active {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  align-items: stretch;
  min-height: 260px;
}
.hero-slide-text {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-slide-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 8px;
}
.hero-slide-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 10px;
}
.hero-slide-title a:hover { color: var(--red); }
.hero-slide-excerpt {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
}
.hero-slide-img {
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.4s ease;
}
.hero-slide-img img:hover { transform: scale(1.03); }

/* Slider mini-cards below */
.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.hero-mini-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--transition);
}
.hero-mini-card:hover { opacity: 0.75; }
.hero-mini-card-img {
  width: 68px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.hero-mini-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini-card-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}
.hero-mini-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}
.slider-arrow:hover { background: var(--red); }
.slider-arrow.prev { left: 6px; }
.slider-arrow.next { right: 6px; }
.slider-arrow svg { width: 16px; height: 16px; }

/* Slider dots */
.slider-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 8px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-light);
  transition: background var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: var(--red); }

/* RIGHT: Terpopuler sidebar */
.hero-sidebar {
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.terpopuler-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 10px;
}
.terpopuler-list { }
.terpopuler-item {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.terpopuler-item:last-child { border-bottom: none; }
.terpopuler-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 26px;
  font-family: var(--font-head);
}
.terpopuler-text { flex: 1; min-width: 0; }
.terpopuler-item-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}
.terpopuler-item-title:hover { color: var(--red); }
.terpopuler-item-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.terpopuler-scroll-btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.terpopuler-scroll-btn button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.terpopuler-scroll-btn button:hover { background: var(--red); border-color: var(--red); color: white; }
.terpopuler-scroll-btn svg { width: 14px; height: 14px; }

/* ================================================================
   BERITA UTAMA — 3 column list
================================================================ */
.section-block {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  position: relative;
  padding-bottom: 6px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--red);
}
.lihat-semua {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.lihat-semua:hover { color: var(--red); }

/* 3-col berita utama */
.berita-utama-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.berita-utama-item {
  padding: 0 16px 0 0;
  border-right: 1px solid var(--border);
}
.berita-utama-item:last-child { border-right: none; padding-right: 0; }
.berita-utama-item:not(:first-child) { padding-left: 16px; }
.berita-utama-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.berita-utama-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}
.berita-utama-title:hover { color: var(--red); }

@media (max-width: 768px) {
  .berita-utama-grid { grid-template-columns: 1fr; }
  .berita-utama-item { border-right: none; padding: 8px 0; border-bottom: 1px solid var(--border); }
}

/* ================================================================
   VIDEO SLIDER SECTION
================================================================ */
.video-section {
  background: var(--dark2);
  padding: 16px 0;
}
.video-section .section-title { color: var(--white); }
.video-section .section-title::after { background: var(--red); }

.video-slider-wrap {
  position: relative;
  overflow: hidden;
}
.video-slider-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
}
.video-card {
  flex-shrink: 0;
  width: calc((100% - 60px) / 6);
  min-width: 160px;
}
.video-card-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  background: var(--dark3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.video-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.video-card-play {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0,0,0,0.72);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 2px;
}
.video-card-play svg { width: 10px; height: 10px; fill: white; }
.video-card-on-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--red);
  color: white;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  letter-spacing: 0.06em;
}
.video-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card:hover .video-card-title { color: #ffaaaa; }
.video-nav-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--transition);
}
.video-nav-btn:hover { background: var(--red); }
.video-nav-btn svg { width: 14px; height: 14px; }
.video-nav-btn.vprev { left: 0; }
.video-nav-btn.vnext { right: 0; }

/* ================================================================
   REKOMENDASI — 2-row 3-col grid
================================================================ */
.rekomendasi-section {
  background: var(--dark2);
  padding: 0 0 20px;
  border-top: 1px solid var(--dark3);
}
.rekomendasi-inner {
  background: var(--dark3);
  padding: 14px 16px 16px;
  border-radius: var(--radius);
  max-width: 560px;
}
.rekomendasi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rekomen-card { cursor: pointer; }
.rekomen-card-img {
  width: 100%;
  padding-bottom: 65%;
  position: relative;
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.rekomen-card-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.rekomen-card:hover .rekomen-card-img img { transform: scale(1.04); }
.rekomen-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rekomen-card:hover .rekomen-card-title { color: #ffaaaa; }
.rekomen-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.rekomen-load-more {
  text-align: center;
  margin-top: 14px;
}
.btn-load-more {
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 28px;
  border-radius: 2px;
  transition: background var(--transition);
}
.btn-load-more:hover { background: var(--red-dark); color: white; }

/* ================================================================
   MAIN CONTENT — Sidebar Layout
================================================================ */
.main-content-wrap {
  padding: 20px 0;
}
.main-content-wrap .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .main-content-wrap .container { grid-template-columns: 1fr; }
}

/* Article list (left) */
.article-list-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding-left: 14px;
  padding-right: 14px;
}
.article-list-item:last-child { border-bottom: none; }
.article-list-thumb {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.article-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-list-item:hover .article-list-thumb img { transform: scale(1.05); }
.article-list-info { flex: 1; min-width: 0; }
.article-list-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.article-list-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}
.article-list-title:hover { color: var(--red); }
.article-list-excerpt {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list-meta {
  font-size: 11px;
  color: var(--gray-mid);
  margin-top: 5px;
}
.article-list-source {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
}

/* Sidebar (right) */
.sidebar { }
.sidebar-widget {
  background: var(--white);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.sidebar-widget-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px 8px;
  border-bottom: 2px solid var(--red);
  color: var(--dark);
}
.sidebar-widget-body { padding: 10px 14px; }
.sidebar-post-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-thumb {
  width: 58px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}
.sidebar-post-title:hover { color: var(--red); }
.sidebar-post-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Indeks Berita button */
.indeks-wrap {
  text-align: center;
  padding: 16px 0;
}
.btn-indeks {
  display: inline-block;
  border: 1px solid var(--gray-mid);
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 32px;
  border-radius: 2px;
  transition: all var(--transition);
}
.btn-indeks:hover { background: var(--red); border-color: var(--red); color: white; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
}
.footer-top {
  background: var(--dark2);
  border-bottom: 2px solid var(--red);
  padding: 18px 0;
}
.footer-top .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-box {
  background: var(--red);
  padding: 4px 10px;
  border-radius: 2px;
}
.footer-logo-box svg { width: 42px; height: 24px; fill: white; }
.footer-slogan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-dl {
  margin-left: auto;
}
.footer-dl a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  border: 1px solid var(--gray-dark);
  padding: 5px 14px;
  border-radius: 2px;
  transition: all var(--transition);
}
.footer-dl a:hover { background: var(--red); border-color: var(--red); color: white; }
.footer-dl-label {
  font-size: 10px;
  color: var(--gray-mid);
  margin-bottom: 4px;
}

.footer-body { padding: 28px 0; }
.footer-body .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .footer-body .container { grid-template-columns: 1fr; }
}
.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dark3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a {
  font-size: 13px;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--red); }
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 15px; height: 15px; fill: var(--white); }

.footer-bottom {
  background: var(--black);
  border-top: 1px solid var(--dark3);
  padding: 12px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--gray-dark);
  line-height: 1.7;
}
.footer-bottom a {
  color: var(--gray-mid);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--red); }
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin-top: 6px;
}
.footer-bottom-links a {
  font-size: 11px;
  color: var(--gray-mid);
}

/* ================================================================
   PAGINATION
================================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--white);
}
.page-numbers:hover, .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ================================================================
   SINGLE POST
================================================================ */
.single-layout { padding: 20px 0; }
.single-layout .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
@media (max-width: 900px) {
  .single-layout .container { grid-template-columns: 1fr; }
}
.single-article { background: var(--white); padding: 24px; }
.single-cat-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  margin-bottom: 10px;
}
.single-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 12px;
}
.single-meta {
  font-size: 12px;
  color: var(--gray-mid);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.single-feat-img {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}
.single-feat-img img { width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.single-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark);
}
.single-content p { margin-bottom: 1.2em; }
.single-content h2, .single-content h3 { font-family: var(--font-head); margin: 1.6em 0 0.6em; }
.single-content a { color: var(--red); text-decoration: underline; }
.single-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin: 1.5em 0;
  color: var(--gray);
  font-style: italic;
}
.single-content img { border-radius: var(--radius); margin: 1em 0; }

/* ================================================================
   ARCHIVE / SEARCH
================================================================ */
.archive-header {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 2px solid var(--red);
  margin-bottom: 0;
}
.archive-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}
.archive-count {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* ================================================================
   SEARCH FORM (topbar override)
================================================================ */
.topbar-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-search-form input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  outline: none;
  font-family: var(--font-body);
  width: 160px;
}
.topbar-search-form input::placeholder { color: rgba(255,255,255,0.5); }
.topbar-search-form input:focus { background: rgba(255,255,255,0.18); }
.topbar-search-form button {
  color: white;
  padding: 4px 8px;
}
.topbar-search-form svg { width: 15px; height: 15px; }

/* ================================================================
   SCROLL TO TOP
================================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 500;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn svg { width: 18px; height: 18px; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .hero-section .container { grid-template-columns: 1fr; }
  .hero-sidebar { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 14px; margin-top: 14px; }
  .hero-slide.active { grid-template-columns: 1fr; }
  .hero-slide-img { min-height: 180px; max-height: 200px; }
  .hero-mini-cards { grid-template-columns: 1fr; }
  .video-card { width: calc((100% - 24px) / 3); }
  .rekomendasi-grid { grid-template-columns: repeat(2, 1fr); }
  .rekomendasi-inner { max-width: 100%; }
}

@media (max-width: 600px) {
  .trending-links a:nth-child(n+3) { display: none; }
  .video-card { width: calc((100% - 12px) / 2); }
  .rekomendasi-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   WP DEFAULT CLASSES
================================================================ */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.aligncenter { margin: 0 auto; display: block; }
.alignleft { float: left; margin-right: 1.25rem; }
.alignright { float: right; margin-left: 1.25rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--gray); margin-top: 4px; }
