/* ================================================
   HuntPhone – Mobile Responsive CSS
   Smartphone-first UI/UX untuk layar ≤ 768px
   Dibuat sebagai tambahan atas style.css
   ================================================ */

/* ════════════════════════════════════════════════
   TABLET (max 900px) — sidebar mulai mengecil
   ════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr 200px;
    padding: 12px 14px;
    gap: 12px;
  }
  .article-thumb { width: 110px; height: 72px; }
}

/* ════════════════════════════════════════════════
   MOBILE (max 768px) — layout stack penuh
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── GLOBAL ── */
  html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }
  body {
    font-size: 14px;
  }

  /* ── HEADER ── */
  .site-header {
    height: 50px;
    padding: 0 12px;
    gap: 8px;
  }
  .logo-img { height: 34px; }
  .logo-text { font-size: 15px; }

  /* Theme toggle: hanya ikon, tanpa teks */
  .theme-btn span:not(.tb-icon):not(.auto-badge) {
    display: none;
  }
  .theme-btn {
    padding: 5px 9px;
    gap: 0;
  }
  .theme-btn .tb-icon { font-size: 15px; }
  .auto-badge { display: none !important; }

  /* ── HAMBURGER MOBILE NAV ── */
  /* Tambah tombol hamburger via CSS (dikelola oleh JS mobile) */
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,0.2);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
    order: -1;
    margin-right: 2px;
  }

  /* ── NAV – horizontal scroll di mobile ── */
  .main-nav {
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a {
    font-size: 12.5px;
    padding: 9px 12px;
    white-space: nowrap;
  }

  /* ── SEARCH BAR ── */
  .search-bar {
    padding: 8px 12px;
    gap: 8px;
  }
  .search-bar-wrap,
  .search-bar > input {
    font-size: 13px;
    padding: 8px 12px;
  }
  .search-bar button {
    padding: 8px 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* ── PAGE WRAP: stack menjadi 1 kolom ── */
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 10px 12px;
    gap: 12px;
  }

  /* Sidebar pindah ke bawah main-col */
  .sidebar {
    order: 2;
    gap: 10px;
  }
  .main-col {
    order: 1;
    gap: 12px;
  }

  /* ── SECTION CARD ── */
  .section-card {
    border-radius: 10px;
  }
  .section-header {
    padding: 9px 13px;
  }
  .section-header h2 { font-size: 10.5px; }

  /* ── HERO BANNER ── */
  .hero-banner {
    padding: 14px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-title { font-size: 17px; }
  .hero-sub { font-size: 12px; margin-bottom: 8px; }
  .hero-badges { gap: 5px; }
  .hero-badge { font-size: 9px; padding: 3px 9px; }

  /* ── REVIEW FEATURED (2 kolom jadi stack) ── */
  .featured-review {
    grid-template-columns: 1fr !important;
  }
  .review-main {
    min-height: 200px;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .review-item { padding: 8px 12px; gap: 9px; }
  .review-thumb { width: 46px; height: 36px; }
  .review-title { font-size: 12px; }
  .review-meta { font-size: 10px; }

  /* ── NEWS GRID (2 kolom tetap, ukuran image lebih kecil) ── */
  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .news-item { padding: 9px 10px; gap: 5px; }
  .news-thumb { height: 68px; }
  .news-title-text { font-size: 11px; }
  .news-time { font-size: 9.5px; }

  /* ── STATS ROW ── */
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 16px; }
  .stat-label { font-size: 9px; }
  .stat-item { padding: 8px 10px; }

  /* ── ARTICLE LIST (berita & review pages) ── */
  .news-article {
    grid-template-columns: 100px 1fr; /* kurangi lebar thumb dari 140px */
    padding: 0;
  }
  .article-thumb-link { width: 100px; height: 72px; }
  .article-thumb { width: 100px; height: 72px; border-radius: 0; padding: 6px; }
  .article-body { padding: 8px 10px; gap: 3px; }
  .article-title { font-size: 12px; line-height: 1.4; }
  .article-excerpt {
    font-size: 11px;
    display: none; /* sembunyikan excerpt di mobile untuk hemat ruang */
  }
  .article-meta { gap: 5px; font-size: 10px; }

  /* ── REVIEW CARDS GRID ── */
  .review-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .review-card { border-radius: 8px; }
  .review-card-thumb-wrap { height: 105px; }
  .review-card-thumb { padding: 8px; }
  .review-card-body { padding: 6px 8px 8px; gap: 3px; }
  .review-card-title { font-size: 11px; line-height: 1.35; }
  .star-row { font-size: 10px; }
  .review-card-date { font-size: 9px; }
  .review-merk-badge { font-size: 8.5px; padding: 1px 5px; }

  /* ── BRAND GRID (3 kolom tetap, ukuran ikon lebih kecil) ── */
  .brand-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .brand-cell { padding: 7px 3px; font-size: 9.5px; }
  .brand-icon-wrap { width: 36px; height: 26px; }
  .brand-logo-img { width: 22px; height: 22px; }

  /* ── SIDEBAR CARDS ── */
  .sidebar-card { border-radius: 10px; }
  .sidebar-header { padding: 8px 12px; }
  .sidebar-header h3 { font-size: 11px; }

  /* ── POPULAR / SIDEBAR LIST ── */
  .popular-item { padding: 8px 12px; gap: 8px; }
  .popular-thumb { width: 30px; height: 36px; }
  .popular-name { font-size: 11px; }
  .popular-sub { font-size: 9.5px; }
  .popular-rank { font-size: 12px; width: 16px; }

  /* ── NEWS DOT LIST ── */
  .news-list-item { padding: 8px 12px; gap: 7px; }
  .news-list-text { font-size: 11.5px; }
  .news-list-time { font-size: 9.5px; }

  /* ── FINDER FORM ── */
  .finder-form { padding: 10px 12px; gap: 7px; }
  .finder-row select { font-size: 13px; padding: 8px 10px; }
  .finder-row label { font-size: 10px; }
  .finder-btn { padding: 10px; font-size: 13px; }

  /* ── TAG PILLS ── */
  .tag-pill { font-size: 10.5px; padding: 4px 10px; }

  /* ── PAGINATION ── */
  .pagination { gap: 3px; padding: 10px 4px; }
  .page-btn { min-width: 32px; height: 32px; font-size: 12px; }
  .page-btn:hover:not(.active) { transform: none; } /* nonaktifkan lift di touch */

  /* ── AD PLACEHOLDER ── */
  .ad-placeholder { padding: 14px; font-size: 11px; }

  /* ── FOOTER ── */
  .site-footer { padding: 16px 0; }
  .footer-inner { padding: 0 14px; gap: 10px; }
  .footer-brand { font-size: 15px; }
  .footer-links { gap: 8px 14px; flex-wrap: wrap; justify-content: center; }
  .footer-links a { font-size: 11.5px; }
  .footer-copy { font-size: 10.5px; text-align: center; }

  /* ── BREADCRUMB ── */
  .breadcrumb { font-size: 10.5px; padding: 3px 0; flex-wrap: wrap; }

  /* ── PAGE TITLE ── */
  .page-title { font-size: 15px; }

  /* ── BACK BTN ── */
  .back-btn { font-size: 11px; padding: 4px 11px 4px 8px; }

  /* ── SIDEBAR REVIEW ITEMS ── */
  .sidebar-review-item { padding: 7px 11px; gap: 8px; }
  .sidebar-review-thumb { width: 40px; height: 50px; }
  .sidebar-review-name { font-size: 10.5px; }
  .sidebar-review-sub { font-size: 9.5px; }

  /* ── BUTTON BELI (review pages) ── */
  .buy-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .buy-btn { padding: 11px 12px; }

  /* ── LINK ITEMS ── */
  .link-item { padding: 8px 12px; font-size: 11.5px; }
  .link-icon { font-size: 13px; }

  /* ── LEGAL PAGES ── */
  .legal-body { padding: 14px; font-size: 12.5px; }
  .legal-body h2 { font-size: 14px; }

  /* ── VIEW COUNTER BADGE ── */
  .view-counter-badge { font-size: 11px; padding: 2px 8px; }

  /* ── COMMENT FORM ── */
  .comment-form { padding: 10px 12px; }
  .comment-form textarea { font-size: 12px; min-height: 70px; }
  .comment-item { padding: 10px 12px; }
  .comment-user { font-size: 11.5px; }
  .comment-text { font-size: 11.5px; }
  .comment-time { font-size: 9.5px; }
  .comment-avatar { width: 28px; height: 28px; font-size: 12px; }

  /* ── SCROLL SHADOW HINT (nav) ── */
  .main-nav::after {
    content: '';
    position: sticky;
    right: 0;
    width: 24px;
    height: 100%;
    flex-shrink: 0;
    background: linear-gradient(to right, transparent, rgba(93,33,217,0.6));
    pointer-events: none;
  }
}

/* ════════════════════════════════════════════════
   SMALL PHONE (max 480px) — lebih agresif
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── HEADER ── */
  .site-header { height: 48px; padding: 0 10px; }
  .logo-img { height: 30px; }
  .logo-text { font-size: 14px; }

  /* ── PAGE WRAP ── */
  .page-wrap { padding: 8px 10px; gap: 10px; }

  /* ── HERO ── */
  .hero-banner { padding: 12px; }
  .hero-title { font-size: 15px; }
  .hero-sub { font-size: 11.5px; }
  .hero-badge { font-size: 8.5px; padding: 2px 8px; }

  /* ── STATS ── */
  .stat-num { font-size: 15px; }
  .stat-label { font-size: 8.5px; }

  /* ── NEWS GRID ── */
  .news-grid { grid-template-columns: 1fr !important; }
  .news-item:nth-child(even) { border-right: none; }
  .news-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .news-item:last-child { border-bottom: none; }
  .news-thumb { height: 90px; }
  .news-title-text { font-size: 12px; }

  /* ── ARTICLE LIST ── */
  .news-article { flex-direction: column; gap: 8px; }
  .article-thumb-link { width: 100%; }
  .article-thumb { width: 100%; height: 140px; }

  /* ── REVIEW CARDS 1 KOLOM ── */
  .review-grid,
  .cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── BRAND GRID 4 KOLOM ── */
  .brand-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* ── FEATURED REVIEW THUMB LEBIH BESAR ── */
  .review-main { min-height: 130px; }

  /* ── SECTION HEADER ── */
  .section-header { padding: 8px 11px; }
  .section-header h2 { font-size: 10px; }
  .section-header a { font-size: 10px; }

  /* ── SEARCH BAR ── */
  .search-bar { flex-wrap: wrap; }
  .search-bar > input,
  .search-bar-wrap { flex: 1; min-width: 0; }
  .search-bar button { flex: 0 0 auto; }

  /* ── FINDER FORM lebih compact ── */
  .finder-row select { font-size: 12.5px; padding: 8px 9px; }

  /* ── FOOTER ── */
  .footer-links { gap: 7px 12px; }
  .footer-links a { font-size: 11px; }

  /* ── PAGE TITLE ── */
  .page-title { font-size: 14px; }
}

/* ════════════════════════════════════════════════
   REVIEW PAGE – spesifik halaman review HP
   (spec table, score bar, vs section, dll)
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Spec table stack */
  .spec-table,
  table.spec-table { font-size: 12px; }
  .spec-table td,
  .spec-table th { padding: 7px 10px; }

  /* Score bar section */
  .score-section { padding: 12px 13px; }
  .score-item { gap: 8px; margin-bottom: 8px; }
  .score-label { font-size: 11.5px; min-width: 80px; }
  .score-bar-track { height: 7px; }
  .score-value { font-size: 12px; min-width: 30px; }

  /* Verdict box */
  .verdict-box { padding: 12px 13px; gap: 8px; }
  .verdict-title { font-size: 14px; }
  .verdict-score { font-size: 30px; }
  .verdict-sub { font-size: 11px; }

  /* Pros/Cons */
  .pros-cons { grid-template-columns: 1fr; gap: 8px; }
  .pros-item, .cons-item { font-size: 12px; padding: 5px 0; }

  /* Review body teks */
  .review-body-text { font-size: 13px; line-height: 1.7; padding: 13px 13px; }
  .review-body-text h3 { font-size: 14px; }
  .review-body-text h4 { font-size: 13px; }
  .review-body-text table { font-size: 11.5px; }
  .review-body-text table td,
  .review-body-text table th { padding: 6px 8px; }

  /* HP header section */
  .hp-header { padding: 13px 13px; gap: 12px; }
  .hp-header-img { width: 100px; }
  .hp-name { font-size: 16px; }
  .hp-sub { font-size: 12px; }
  .hp-price { font-size: 17px; }
  .hp-badges { gap: 5px; }

  /* Versus section */
  .vs-row { padding: 10px 12px; gap: 8px; }
  .vs-label { font-size: 11.5px; }
  .vs-bar-wrap { height: 8px; }

  /* Tab nav (review/versus) */
  .tab-nav { padding: 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-nav a, .tab-btn { font-size: 12px; padding: 9px 12px; white-space: nowrap; }
}

/* ════════════════════════════════════════════════
   VERSUS PAGE – halaman perbandingan HP
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* VS header 2 kolom tetap tapi lebih compact */
  .versus-header { grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 12px; }
  .vs-phone-img { max-height: 100px; }
  .vs-phone-name { font-size: 12px; }
  .vs-badge { font-size: 11px; }
  .vs-vs { font-size: 18px; }

  /* Comparison rows */
  .versus-row { padding: 8px 12px; font-size: 12px; }
  .versus-row .label { font-size: 10.5px; }

  /* Winner badge */
  .winner-badge { font-size: 9px; padding: 1px 6px; }
}

/* ════════════════════════════════════════════════
   PENCARI HP PAGE – finder & results
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Finder full width */
  .finder-wrap { padding: 12px; }
  .finder-filters { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .finder-filter-item { width: 100%; }

  /* Results grid */
  .results-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .result-card-img { height: 120px; }
  .result-card-title { font-size: 12px; }
  .result-card-price { font-size: 13px; }
  .result-card-meta { font-size: 10px; }

  /* No results */
  .no-results { padding: 30px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .finder-filters { grid-template-columns: 1fr !important; }
  .results-grid { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   KONTAK PAGE
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .contact-form { padding: 14px; gap: 10px; }
  .contact-input,
  .contact-textarea { font-size: 13px; padding: 9px 11px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .contact-info-item { padding: 10px 12px; font-size: 12.5px; }
}

/* ════════════════════════════════════════════════
   BERITA DETAIL & ARTICLE PAGE
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .article-page-wrap { padding: 10px 12px; gap: 12px; grid-template-columns: 1fr; }
  .article-page-title { font-size: 17px; line-height: 1.35; }
  .article-hero-img { height: 190px; border-radius: 8px; }
  .article-content { font-size: 13px; line-height: 1.75; padding: 13px; }
  .article-content h2 { font-size: 15px; }
  .article-content h3 { font-size: 13.5px; }
  .article-content img { border-radius: 8px; }
  .article-meta-bar { padding: 9px 12px; flex-wrap: wrap; gap: 6px; font-size: 11px; }
  .article-tags { padding: 9px 12px; gap: 6px; }

  /* ── HALAMAN ARTIKEL DETAIL (page-wrap umum) ── */
  /* Pastikan page-wrap di artikel detail juga stack 1 kolom */
  .page-wrap {
    grid-template-columns: 1fr !important;
  }
  /* main-col di atas, sidebar di bawah */
  .main-col { order: 1; }
  .sidebar   { order: 2; }

  /* Article header */
  .article-cover { max-height: 220px; object-fit: cover; }
  .article-title-main { font-size: 17px; padding: 8px 14px 6px; line-height: 1.35; }
  .article-lead { font-size: 12.5px; padding: 0 14px 12px; }
  .article-meta-header { padding: 10px 14px 4px; gap: 6px; }
  .article-tag { font-size: 10px; padding: 2px 8px; }

  /* Article body teks */
  .article-body { padding: 14px; }
  .article-body h2 { font-size: 14px; margin: 16px 0 7px; }
  .article-body h3 { font-size: 13px; }
  .article-body p  { font-size: 13px; line-height: 1.75; }
  .article-body li { font-size: 13px; }
  .article-body blockquote { font-size: 12.5px; padding: 8px 12px; }

  /* Share bar */
  .share-bar { padding: 10px 12px; gap: 7px; }
  .share-btn { font-size: 11.5px; padding: 5px 12px; }

  /* Related cards */
  .related-card { padding: 8px 10px; gap: 8px; }
  .related-thumb { width: 60px; height: 44px; }
  .related-title { font-size: 11.5px; }

  /* Sidebar berita terpopuler / terbaru di halaman artikel */
  .sidebar-news-item { padding: 7px 10px; gap: 7px; }
  .sidebar-news-thumb { width: 48px; height: 34px; }
  .sidebar-news-text { font-size: 11px; }
  .sidebar-news-time { font-size: 9.5px; }
}

/* ════════════════════════════════════════════════
   AUTOCOMPLETE DROPDOWN
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ac-container { max-height: 220px; }
  .ac-item { padding: 9px 12px; gap: 9px; }
  .ac-img { width: 32px; height: 32px; }
  .ac-name { font-size: 12.5px; }
  .ac-sub { font-size: 10.5px; }
  .ac-footer { font-size: 10.5px; padding: 7px 12px; }
}

/* ════════════════════════════════════════════════
   TOUCH IMPROVEMENTS – tap target minimum 44px
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Semua link & button navigasi: tap target lebih besar */
  .main-nav a { min-height: 40px; display: flex; align-items: center; }
  .review-item,
  .news-item,
  .news-article,
  .popular-item,
  .news-list-item,
  .link-item,
  .sidebar-review-item,
  .brand-cell { cursor: pointer; }

  /* Mencegah double-tap zoom pada elemen interaktif */
  button, a, select, input, textarea {
    touch-action: manipulation;
  }

  /* Remove hover effects yang tidak relevan di touch */
  .review-card:hover { transform: none; box-shadow: var(--shadow); }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .finder-btn:hover { transform: none; box-shadow: none; }

  /* Focus ring yang lebih besar untuk aksesibilitas */
  input:focus, select:focus, textarea:focus, button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  /* Smooth scroll untuk seluruh halaman */
  html { scroll-behavior: smooth; }

  /* Image lazy loading placeholder */
  img[loading="lazy"] { background: var(--bg-tertiary); }
}

/* ════════════════════════════════════════════════
   SAFE AREA (iPhone notch / Android gesture bar)
   ════════════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .site-header {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

/* ════════════════════════════════════════════════
   MOBILE NAV OVERLAY (opsional, jika hamburger menu aktif)
   ════════════════════════════════════════════════ */
.mobile-menu-btn { display: none; } /* tersembunyi di desktop */

@media (max-width: 768px) {
  /* Mobile nav overlay – diaktifkan JS dengan class .nav-open */
  body.nav-open .main-nav {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    flex-direction: column;
    overflow-y: auto;
    padding: 8px 0;
    background: var(--nav-bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  body.nav-open .main-nav a {
    font-size: 15px;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-bottom-width: 1px !important;
  }
  body.nav-open .main-nav::after { display: none; }

  /* Overlay backdrop */
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    animation: fadeInBg .2s ease;
  }
  @keyframes fadeInBg { from { opacity: 0; } to { opacity: 1; } }

  /* Kunci scroll body saat menu terbuka */
  body.nav-open { overflow: hidden; }

  /* Hamburger icon state */
  .mobile-menu-btn.open { background: rgba(0,0,0,0.35); }
}

/* ════════════════════════════════════════════════
   UTILITY: hide/show per breakpoint
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
  .show-mobile-flex { display: flex !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ════════════════════════════════════════════════
   FIX 1 & 2: REVIEW CARDS + SUMMARY — MOBILE
   Optimasi tampilan smartphone ≤ 768px
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── REVIEW CARD: Cegah terpotong ── */
  .review-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .review-card-thumb-wrap {
    height: 105px;
    flex-shrink: 0;
  }
  .review-card-body {
    padding: 6px 8px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 0;
  }
  .review-card-title {
    font-size: 11px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .star-row {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .review-card-meta {
    margin-top: auto;
    padding-top: 2px;
  }
  .review-card-date { font-size: 9px; }
  .review-merk-badge { font-size: 8.5px; padding: 1px 5px; }

  /* ── REVIEW FEATURED: kompak di mobile ── */
  .review-featured-inner {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
  }
  .review-featured-thumb-wrap {
    width: 110px !important;
    min-width: 110px;
    height: auto !important;
    min-height: 120px;
    border-right: 1px solid var(--border) !important;
    flex-shrink: 0;
  }
  .review-featured-thumb { padding: 10px !important; }
  .review-featured-body {
    padding: 10px 11px !important;
    gap: 4px !important;
    justify-content: center;
  }
  .review-featured-title { font-size: 12.5px !important; }
  .review-featured-excerpt { font-size: 11px !important; line-height: 1.45 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .review-featured-meta { gap: 6px !important; font-size: 10.5px !important; }
  .rev-date { font-size: 10px !important; }
  .badge-featured { font-size: 9px !important; padding: 2px 7px !important; }

  /* ── REVIEW HERO SUMMARY: Stack vertikal ── */
  .review-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .review-hero-img-wrap {
    padding: 14px;
    border-right: none !important;
    border-bottom: 0.5px solid var(--border);
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .review-hero-img {
    width: 80px;
    max-height: 130px;
  }
  .review-hero-body {
    padding: 12px;
    gap: 8px;
  }
  .review-hp-name {
    font-size: 17px !important;
  }
  /* Ringkasan: font sedikit lebih kecil tapi tetap terbaca */
  .review-tagline {
    font-size: 11.5px !important;
    line-height: 1.65 !important;
  }
  /* Stats grid: 4 kotak tetap dalam 1 baris tapi lebih kecil */
  .review-stats {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 5px;
  }
  .stat-box {
    padding: 6px 4px;
  }
  .stat-val {
    font-size: 12px !important;
  }
  .stat-lbl {
    font-size: 8.5px !important;
  }
  .review-quick-badges {
    gap: 4px;
  }
  .qbadge {
    font-size: 9.5px !important;
    padding: 2px 7px;
  }
}

@media (max-width: 480px) {
  /* Pada layar sangat kecil, stats bisa 2x2 */
  .review-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 5px;
  }
  .stat-val { font-size: 13px !important; }
  .stat-lbl { font-size: 9px !important; }

  .review-hero-img-wrap {
    flex-direction: column;
    align-items: center;
  }
  .review-hero-img {
    width: 90px;
    max-height: 150px;
  }
  .review-hp-name { font-size: 15px !important; }
  .review-tagline { font-size: 11px !important; }
}

/* ── PAGINATION: HP sangat kecil (≤ 400px) ── */
@media (max-width: 400px) {
  .pagination { gap: 2px; padding: 8px 2px; }
  .page-btn { min-width: 28px; height: 28px; font-size: 11px; padding: 0 4px; }
  .page-btn.page-prev,
  .page-btn.page-next { min-width: 28px; font-size: 15px; }
}

/* ── VERSUS: Ringkasan summary (ss-*) — agar teks tidak terpotong di mobile ── */
@media (max-width: 768px) {
  .ss-wrap {
    grid-template-columns: 90px 1fr 1fr !important;
  }
  .ss-lbl {
    font-size: 9px !important;
    padding: 8px 6px !important;
  }
  .ss-item {
    padding: 8px 6px !important;
  }
  .ss-val {
    font-size: 12px !important;
    line-height: 1.35 !important;
    word-break: break-word;
  }
  .ss-key {
    font-size: 8px !important;
  }
}

@media (max-width: 480px) {
  .ss-wrap {
    grid-template-columns: 70px 1fr 1fr !important;
  }
  .ss-val {
    font-size: 11px !important;
  }
  .ss-key {
    font-size: 7.5px !important;
  }
}