/* ===== BeliCerdas - Content Site Styles ===== */
:root {
  --primary: #1E40AF;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --secondary: #F8FAFC;
  --text: #1F2937;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --danger: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans', system-ui, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

/* v11: top-bar removed */
.header-top {display:none;/* v11: disabled */
  background: var(--primary);
  color: white;
  font-size: 13px;
  padding: 6px 0;
}

.header-top .container {display:none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a { color: white; opacity: 0.9; }
.header-top a:hover { opacity: 1; }

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-icon {
  display: inline-block;
  background: transparent;
  width: auto;
  height: 40px;
  border-radius: 0;
  text-align: center;
  line-height: 40px;
  font-size: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav {
  flex: 1;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover { color: var(--primary); }

.nav-link.has-dropdown::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-btn:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { margin: 0 6px; opacity: 0.5; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-search {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  outline: none;
}

.hero-search button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search button:hover { background: var(--primary-dark); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ===== Section ===== */
.section {
  padding: 56px 0;
}

.section-alt { background: var(--secondary); }

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header > div { flex: 1; }

.section-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Category Grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.cat-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== Article Card ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

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

.article-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

/* v11.2: ensure <picture> inside .article-image fills the container */
.article-image > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.article-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* v11.2: emoji fallback (only visible when image fails to load) */
.article-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.article-image > picture { z-index: 1; }
.article-image > .article-category { z-index: 2; }

.article-image.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
  font-size: 80px;
}

.article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-title { color: var(--primary); }

.article-excerpt {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ===== Article Detail ===== */
.article-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 40px 0;
}

.article-content {
  max-width: 760px;
}

.article-header {
  margin-bottom: 32px;
}

.article-cat {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-meta-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.author-avatar-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.author-bio {
  font-size: 12px;
  color: var(--text-light);
}

.article-hero {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.article-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
  z-index: 2;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--secondary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-style: italic;
}

.article-body strong {
  color: var(--text);
  font-weight: 700;
}

/* Table of Contents */
.toc {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.toc-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  padding: 4px 0;
  font-size: 14px;
}

.toc li::before {
  content: counter(toc) ". ";
  color: var(--primary);
  font-weight: 700;
  margin-right: 4px;
}

.toc a { color: var(--text); }
.toc a:hover { color: var(--primary); }

/* Pros / Cons Box */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.pros, .cons {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pros {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.cons {
  background: #FEF2F2;
  border-color: #FECACA;
}

.pros h4, .cons h4 {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pros h4 { color: var(--success); }
.cons h4 { color: var(--danger); }

.pros ul, .cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros li, .cons li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.pros li::before { content: '✓'; color: var(--success); position: absolute; left: 0; font-weight: 700; }
.cons li::before { content: '✗'; color: var(--danger); position: absolute; left: 0; font-weight: 700; }

/* v11.2: Table responsive wrapper for mobile */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
}

.table-scroll > .compare-table {
  margin: 0;
  border: none;
  border-radius: 0;
  min-width: 480px;  /* force horizontal scroll on narrow screens */
}

/* Product Compare Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table th {
  background: var(--secondary);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr.winner {
  background: #FEF3C7;
}

.compare-table .winner-tag {
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  text-transform: uppercase;
}

/* Rating Stars */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.rating-stars {
  color: var(--accent);
  letter-spacing: 2px;
}

/* Ad Placeholder (AdSense) */
.ad-slot {
  background: var(--secondary);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
  margin: 32px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot::before {
  content: '📢';
  margin-right: 8px;
  font-size: 20px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: pop;
}

.popular-list li:last-child { border-bottom: none; }

.popular-list li::before {
  content: counter(pop);
  flex: 0 0 28px;
  height: 28px;
  background: var(--secondary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

.popular-list li:nth-child(1)::before,
.popular-list li:nth-child(2)::before,
.popular-list li:nth-child(3)::before {
  background: var(--accent);
  color: white;
}

.popular-list a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-list a:hover { color: var(--primary); }

.newsletter-widget {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
}

.newsletter-widget .widget-title {
  color: white;
  border-color: white;
}

.newsletter-widget p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-widget input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  outline: none;
}

.newsletter-widget button {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-widget button:hover { background: var(--accent-dark); }

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--secondary);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

/* Newsletter Bar */
.newsletter-bar {
  background: var(--primary);
  color: white;
  padding: 48px 0;
  text-align: center;
}

.newsletter-bar h2 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 800;
}

.newsletter-bar p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: var(--accent-dark); }

/* ===== Footer ===== */
.site-footer {
  background: #1F2937;
  color: #9CA3AF;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--primary); }

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #9CA3AF;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a { color: #9CA3AF; margin-left: 16px; }
.footer-bottom a:hover { color: white; }

.disclaimer {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  color: #92400E;
  margin-top: 12px;
  line-height: 1.5;
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .article-page { grid-template-columns: 1fr; gap: 32px; padding: 24px 0; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 24px; }
}

@media (max-width: 768px) {
  /* Tablet portrait & small laptop */
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat-card { padding: 20px 12px; }
  .cat-icon { font-size: 32px; }
  .article-grid { gap: 20px; }
  .article-h1 { font-size: clamp(24px, 5vw, 32px); }
  .article-body { font-size: 16px; line-height: 1.75; }
  .article-body h2 { font-size: 24px; }
  .article-body h3 { font-size: 18px; }
  .article-meta-detail { flex-wrap: wrap; gap: 12px; font-size: 13px; }
  .section-title { font-size: 24px; }
  .hero-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-main { padding: 10px 0; }
  .header-main .container { gap: 8px; }
  .main-nav { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .article-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-image.featured { grid-column: span 1; }
  .proscons { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .section { padding: 32px 0; }
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 14px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 11px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: 22px; margin: 32px 0 12px; }
  .article-body h3 { font-size: 17px; margin: 24px 0 10px; }
  .article-hero { font-size: 64px; }
  .article-h1 { font-size: 24px; line-height: 1.25; }
  .article-header { margin-bottom: 24px; }
  .article-meta-detail { font-size: 12px; gap: 8px; padding: 12px 0; }
  .author-avatar-lg { width: 36px; height: 36px; font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
  .toc { padding: 16px; }
  .toc-title { font-size: 14px; }
  .breadcrumb { font-size: 12px; padding: 12px 0; }
  .ad-slot { padding: 16px; min-height: 60px; font-size: 11px; }
  .site-footer { padding: 32px 0 16px; }
  .site-footer .logo { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .disclaimer { font-size: 11px; padding: 10px 12px; }
  .sidebar .widget { padding: 16px; }
  .widget-title { font-size: 15px; margin-bottom: 12px; }
  .newsletter-widget input { font-size: 14px; padding: 10px 12px; }
  .newsletter-widget button { font-size: 14px; padding: 10px; }
  .newsletter-bar { padding: 32px 0; }
  .newsletter-bar h2 { font-size: 22px; }
  .newsletter-bar p { font-size: 14px; }
  .category-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 24px; }
  .cat-grid { gap: 8px; }
  .cat-card { padding: 16px 8px; }
  .cat-icon { font-size: 28px; }
  .cat-name { font-size: 13px; }
  .article-body h2 { font-size: 20px; }
  .article-body h3 { font-size: 16px; }
}


/* ===== v10: Priceza-style Header (clean + prominent hero search) ===== */

.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* v11: top-bar removed */
.header-top {display:none;/* v11: disabled */
  background: var(--primary);
  color: white;
  font-size: 12px;
  padding: 6px 0;
}

.header-top .container {display:none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-top a { color: white; opacity: 0.9; text-decoration: none; }
.header-top a:hover { opacity: 1; }

/* v11: .top-bar-left disabled */
.top-bar-left {display:none;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

/* v11: .top-bar-tag disabled */
.top-bar-tag {display:none;
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.top-bar-left a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.top-bar-left a:hover {
  text-decoration: underline;
}

/* v11: .top-bar-right disabled */
.top-bar-right {display:none;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* v11: .top-bar-sep disabled */
.top-bar-sep {display:none; opacity: 0.5; }

/* Main header row */
.header-main {
  padding: 12px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 32px;
  width: auto;
  display: block;
}

.logo-text-white {
  color: white;
  font-weight: 700;
  font-size: 18px;
  margin-left: 8px;
}

/* Main nav links (desktop only) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin: 0 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Right-side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}

.header-icon-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: white;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover { color: var(--primary); }

.mobile-nav {
  padding: 8px 0;
}

.mobile-nav-section {
  padding: 12px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: var(--secondary);
  color: var(--primary);
}

/* ===== v10: Hero Search (prominent) ===== */
.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 4px 4px 4px 20px;
  height: 56px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
}

.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
}

.hero-search .search-icon {
  font-size: 18px;
  margin-right: 10px;
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  color: var(--text);
  min-width: 0;
}

.hero-search input::placeholder {
  color: var(--text-light);
}

.hero-search button[type="submit"] {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 22px;
  padding: 0 24px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  flex-shrink: 0;
}

.hero-search button[type="submit"]:hover {
  background: #1E3A8A;
}

.hero-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
}

.hero-search-suggestions a {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(30, 64, 175, 0.2);
  transition: all 0.15s;
}

.hero-search-suggestions a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== v10: Mobile Responsive ===== */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .top-bar-right {
    display: none;
  }

  .header-main .container {
    gap: 8px;
  }

  .header-icon-btn[aria-label="Tentang"] {
    display: none;
  }

  .top-bar-left {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-img {
    height: 36px;
  }

  .hero-search {
    height: 50px;
    border-radius: 24px;
  }

  .hero-search input {
    font-size: 14px;
  }

  .hero-search button[type="submit"] {
    padding: 0 18px;
    height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-search-suggestions {
    gap: 6px;
  }
  .hero-search-suggestions a {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* ===== v10: Mobile Fullscreen Search Overlay ===== */
.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 1500;
  display: none;
  flex-direction: column;
  padding: 16px;
}

.mobile-search-overlay.active {
  display: flex;
}

.mobile-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.mobile-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  padding: 8px 0;
}

.mobile-search-bar button.close-search {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  padding: 0 4px;
}
