/*
Theme Name: OtoRev
Theme URI: https://otorev.id
Author: OtoRev Team
Author URI: https://otorev.id
Description: Tema WordPress premium untuk portal otomotif Indonesia. Clean, editorial, SEO-optimized.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: otorev
*/

/* ─────────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────────── */
:root {
  --white: #ffffff;
  --off-white: #fafaf7;
  --paper: #f5f4ef;
  --ink: #1a1a18;
  --ink-2: #3d3d38;
  --ink-3: #6b6b64;
  --ink-4: #a8a89e;
  --border: #e8e7e0;
  --border-dark: #d0cfc6;
  --accent: #e8390e;
  --accent-light: #fff0ec;
  --accent-2: #0f5fe8;
  --accent-2-light: #eff4ff;
  --success: #1a7a4a;
  --gold: #c8960e;
  --gold-light: #fef9ec;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --container: 1120px;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: color .15s; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}
.badge-red    { background: var(--accent-light); color: var(--accent); }
.badge-blue   { background: var(--accent-2-light); color: var(--accent-2); }
.badge-gold   { background: var(--gold-light); color: var(--gold); }
.badge-green  { background: #edf7f2; color: var(--success); }
.badge-gray   { background: var(--paper); color: var(--ink-3); border: 1px solid var(--border); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────── */
.site-topbar {
  background: var(--ink);
  color: var(--ink-4);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 7px 0;
  border-bottom: 1px solid #2a2a26;
}
.site-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-left  { display: flex; gap: 16px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-date  { color: #666; }
.site-topbar a { color: var(--ink-4); }
.site-topbar a:hover { color: #fff; }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 28px;
}
.site-branding { flex-shrink: 0; }
.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
}
.site-logo .accent { color: var(--accent); }
.site-tagline {
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ─── Main Nav ─── */
.main-navigation { display: flex; gap: 2px; margin-left: 12px; }
.main-navigation a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .15s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: var(--ink); background: var(--paper); }
.main-navigation .current-menu-item > a { color: var(--accent); background: var(--accent-light); }

/* ─── Header Actions ─── */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .2s;
  width: 200px;
}
.header-search:hover { border-color: var(--border-dark); background: var(--white); }
.header-search svg { opacity: .5; flex-shrink: 0; }
.header-cta {
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 24px;
  transition: all .2s;
  white-space: nowrap;
}
.header-cta:hover { background: #c82e0a; color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,57,14,.3); }

/* ─────────────────────────────────────────────
   CATEGORY NAV BAR
───────────────────────────────────────────── */
.category-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner {
  display: flex;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.cat-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .15s;
}
.cat-link:hover { color: var(--ink); border-bottom-color: var(--border-dark); }
.cat-link.current { color: var(--accent); border-bottom-color: var(--accent); }

/* ─────────────────────────────────────────────
   HERO SECTION (Homepage)
───────────────────────────────────────────── */
.hero-section { padding: 36px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.hero-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.hero-main:hover { box-shadow: var(--shadow-lg); }
.hero-thumb {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #e8f0f8, #d0e4f5);
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb .illus-label {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 9px;
  color: rgba(0,0,0,.4);
  font-style: italic;
  background: rgba(255,255,255,.75);
  padding: 3px 10px;
  border-radius: 20px;
}
.hero-body { padding: 24px 28px 28px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
}
.hero-category { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.hero-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.hero-time { color: var(--ink-4); }
.hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.hero-excerpt { font-size: 14px; color: var(--ink-3); line-height: 1.65; margin-bottom: 20px; }
.hero-footer { display: flex; align-items: center; gap: 12px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); }
.read-more:hover { gap: 10px; color: var(--accent); }
.hero-specs { display: flex; gap: 16px; margin-left: auto; }
.spec-chip { text-align: center; }
.spec-chip .val { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink); display: block; }
.spec-chip .key { font-size: 9px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; display: block; }

/* ─── Hero Sidebar ─── */
.hero-sidebar { display: flex; flex-direction: column; gap: 12px; }
.sidebar-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: all .2s;
}
.sidebar-article:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.sidebar-thumb {
  width: 88px;
  flex-shrink: 0;
  background: var(--paper);
  overflow: hidden;
}
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-body { padding: 12px 14px; flex: 1; }
.sidebar-cat { font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.sidebar-title { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 4px; }
.sidebar-time { font-size: 10px; color: var(--ink-4); }

/* Lead Gen Widget */
.lead-widget {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: white;
}
.lead-widget-label { font-size: 11px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.lead-widget-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lead-widget-sub { font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.lead-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.lead-btn {
  width: 100%;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 11px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.lead-btn:hover { background: #c82e0a; }

/* ─────────────────────────────────────────────
   SECTION
───────────────────────────────────────────── */
.site-section { padding: 40px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.section-title .accent { color: var(--accent); }
.section-more { font-size: 12px; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--accent); gap: 8px; }

/* ─────────────────────────────────────────────
   ARTICLE CARDS (GRID)
───────────────────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow); border-color: var(--border-dark); transform: translateY(-2px); }
.card-thumb {
  height: 168px;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .card-thumb img { transform: scale(1.03); }
.card-thumb .illus-label {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: rgba(0,0,0,.4);
  font-style: italic;
  background: rgba(255,255,255,.75);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat { margin-bottom: 8px; }
.card-title { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 8px; letter-spacing: -.01em; flex: 1; }
.card-excerpt { font-size: 12px; color: var(--ink-3); line-height: 1.55; margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-time { font-size: 10px; color: var(--ink-4); }
.card-readmore { font-size: 10px; font-weight: 500; color: var(--accent); }

/* ─────────────────────────────────────────────
   HARGA OTR SECTION
───────────────────────────────────────────── */
.harga-section {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.harga-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.harga-title { font-family: var(--font-display); font-size: 22px; color: var(--white); letter-spacing: -.02em; }
.harga-subtitle { font-size: 12px; color: var(--ink-4); margin-top: 4px; }
.harga-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.harga-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: all .2s;
  cursor: pointer;
}
.harga-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.15); transform: translateY(-2px); }
.harga-brand { font-size: 10px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.harga-model { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 14px; }
.harga-price-label { font-size: 9px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.harga-price { font-family: var(--font-mono); font-size: 17px; font-weight: 500; color: var(--white); }
.harga-card-tag { margin-top: 10px; }

/* ─────────────────────────────────────────────
   SINGLE ARTICLE
───────────────────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 0 0 60px;
  align-items: start;
}
.single-article {}

/* Breadcrumb */
.breadcrumb { padding: 14px 0; display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-4); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--border-dark); }

/* Article hero image */
.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  height: 400px;
  background: linear-gradient(160deg, #e4eff8, #cce0f0);
  position: relative;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-img .illus-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(0,0,0,.45);
  font-style: italic;
  background: rgba(255,255,255,.8);
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Article header */
.article-header { margin-bottom: 28px; }
.article-cats { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.article-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.article-excerpt {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.65;
  font-weight: 300;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-4);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.meta-dot { width: 3px; height: 3px; background: var(--border); border-radius: 50%; }
.meta-score { color: var(--accent); font-weight: 500; }

/* Quick specs */
.quick-specs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.qs-item { text-align: center; }
.qs-item + .qs-item { border-left: 1px solid var(--border); }
.qs-val { font-family: var(--font-mono); font-size: 20px; font-weight: 500; color: var(--accent); display: block; }
.qs-key { font-size: 10px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .07em; margin-top: 3px; display: block; }

/* Article body */
.entry-content { font-size: 15px; line-height: 1.78; color: var(--ink-2); }
.entry-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 36px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.entry-content h3 { font-size: 17px; font-weight: 500; color: var(--ink); margin: 24px 0 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 20px; }
.entry-content li { margin-bottom: 7px; color: var(--ink-3); }
.entry-content strong { color: var(--ink); font-weight: 500; }
.entry-content a { color: var(--accent); border-bottom: 1px solid var(--accent-light); }
.entry-content a:hover { border-bottom-color: var(--accent); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ink-3);
  font-size: 16px;
}

/* Spec table */
.spec-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0 28px;
}
.spec-table-title {
  padding: 12px 18px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.spec-table-title::before { content:''; width:3px; height:14px; background:var(--accent); border-radius:2px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table tr:nth-child(even) { background: var(--off-white); }
.spec-table td { padding: 10px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--ink-3); width: 40%; font-size: 12px; }
.spec-table td:last-child { font-weight: 500; color: var(--ink); font-family: var(--font-mono); font-size: 12px; }

/* Infografis */
.otorev-infografis {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
}
.otorev-infografis img { width: 100%; display: block; }
.otorev-infografis figcaption {
  text-align: center;
  font-size: 11px;
  color: var(--ink-4);
  font-style: italic;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Verdict */
.verdict-box {
  background: var(--accent-light);
  border: 1px solid rgba(232,57,14,.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.verdict-score { flex-shrink: 0; text-align: center; }
.verdict-num { font-family: var(--font-mono); font-size: 48px; font-weight: 500; color: var(--accent); line-height: 1; }
.verdict-label { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.verdict-body h3 { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.verdict-body p { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* FAQ */
.faq-section { margin: 32px 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.faq-q::before {
  content: 'Q';
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-light);
  width: 22px; height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-a { font-size: 13px; color: var(--ink-3); line-height: 1.65; padding-left: 32px; }

/* ─────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────── */
.article-sidebar { position: sticky; top: 78px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title::before { content:''; width:3px; height:14px; background:var(--accent); border-radius:2px; }

/* Price widget */
.price-display { text-align: center; padding: 20px 16px; border-bottom: 1px solid var(--border); }
.price-from { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-4); margin-bottom: 6px; }
.price-main { font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: var(--ink); }
.price-city-note { font-size: 10px; color: var(--ink-4); margin-top: 4px; }
.price-rows {}
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 12px; }
.price-row:last-child { border-bottom: none; }
.price-city { color: var(--ink-3); }
.price-val { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 11px; }
.btn-dealer {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: background .15s;
}
.btn-dealer:hover { background: #c82e0a; color: white; }

/* Related articles widget */
.related-list {}
.related-item { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.related-item:last-child { border-bottom: none; }
.related-thumb { width: 52px; height: 40px; border-radius: 6px; overflow: hidden; background: var(--paper); flex-shrink: 0; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-title { font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.related-cat { font-size: 10px; color: var(--accent); margin-bottom: 2px; }

/* Popular widget */
.popular-item { padding: 10px 16px; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }
.popular-item:last-child { border-bottom: none; }
.popular-num { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--border-dark); width: 24px; flex-shrink: 0; }
.popular-title { font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.popular-views { font-size: 10px; color: var(--ink-4); margin-top: 2px; }

/* ─────────────────────────────────────────────
   SCORE/INFOGRAFIS WIDGET
───────────────────────────────────────────── */
.score-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.score-header { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.score-overall { display: flex; align-items: baseline; gap: 6px; }
.score-num { font-family: var(--font-mono); font-size: 40px; font-weight: 500; color: var(--accent); line-height: 1; }
.score-denom { font-size: 16px; color: var(--ink-4); }
.score-label-text { font-size: 12px; color: var(--ink-3); }
.score-body { padding: 16px 18px; }
.score-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.score-bar-row:last-child { margin-bottom: 0; }
.score-label { width: 110px; font-size: 11px; color: var(--ink-3); flex-shrink: 0; }
.score-track { flex: 1; height: 5px; background: var(--paper); border-radius: 3px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 3px; background: var(--accent); }
.score-val { width: 36px; text-align: right; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--ink); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.45); margin-top: 60px; }
.footer-top {
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .site-logo { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 260px; margin-bottom: 12px; }
.footer-illus-note { font-size: 10px; color: rgba(255,255,255,.22); font-style: italic; }
.footer-col h4 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,.38); transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.8); }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { color: rgba(255,255,255,.3); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 300px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .harga-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .main-navigation { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-title { font-size: 24px; }
  .harga-section { padding: 24px; }
  .harga-grid { grid-template-columns: 1fr 1fr; }
  .quick-specs { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .header-search { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .harga-grid { grid-template-columns: 1fr; }
  .quick-specs { grid-template-columns: 1fr; }
  .verdict-box { flex-direction: column; gap: 12px; }
  .hero-title { font-size: 20px; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-main { animation: fadeUp .45s ease both; }
.sidebar-article:nth-child(1) { animation: fadeUp .45s .1s ease both; }
.sidebar-article:nth-child(2) { animation: fadeUp .45s .18s ease both; }
.sidebar-article:nth-child(3) { animation: fadeUp .45s .26s ease both; }
