/*
Theme Name: GearLab Child
Template: generatepress
Description: Child theme for gearlab.io — clean review UI
Version: 1.0
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --accent-dark: #1d4ed8;
  --accent-bg: #eff6ff;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #f1f5f9;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4 {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ═══════════════════════════════════════════════
   GP OVERRIDES — kill all GP containers, full-width
   ═══════════════════════════════════════════════ */
body #page,
body .site,
body .site.grid-container,
body .grid-container:not(.inside-header) {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body #content,
body .site-content {
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

body #primary,
body .content-area,
body #main,
body .site-main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* Kill GP sidebar everywhere */
body .sidebar,
body .widget-area,
body .is-right-sidebar .sidebar,
body .is-left-sidebar .sidebar,
body .right-sidebar,
body .left-sidebar,
body .inside-right-sidebar,
body .inside-left-sidebar,
body #right-sidebar,
body #left-sidebar {
  display: none !important;
}

/* Kill GP page headers / entry headers */
.home .entry-header,
.home .page-header,
.home .inside-article > .entry-header,
.category .entry-header,
.category .page-header,
.archive .entry-header,
.archive .page-header {
  display: none !important;
}

/* Kill GP blog loop on category/archive (our templates handle it) */
.category .site-main > article,
.archive .site-main > article {
  display: none !important;
}

/* Kill GP default footer */
.inside-footer-widgets,
.site-footer,
.site-info,
.footer-bar,
.footer-bar-active .footer-bar,
footer.site-footer,
.footer-widgets,
.copyright-bar {
  display: none !important;
}

/* Kill GP separator/divider blocks */
hr,
.wp-block-separator,
.gp-separator {
  display: none;
}

/* ═══════════════════════════════════════════════
   GP HEADER RESTYLE — match .gl-header reference
   ═══════════════════════════════════════════════ */
.inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  max-width: 1200px;
  padding: 0 24px;
}

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

.main-navigation .main-nav ul li a {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-parent > a {
  color: var(--accent);
  background: var(--accent-bg);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e3a5f 70%, #0f172a 100%);
  color: white;
}

.hero canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease both;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.15s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   CATEGORY SECTIONS — Wire-grid (homepage)
   ═══════════════════════════════════════════════ */
.cat-section {
  padding: 52px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-section:nth-child(even) {
  background: var(--bg);
  max-width: none;
  padding: 52px 24px;
}

.cat-section:nth-child(even) .cat-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cat-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cat-header h2 {
  font-size: 26px;
  font-weight: 700;
}

.cat-header h2 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.cat-header h2 a:hover { color: var(--accent); }

.cat-arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--transition);
  font-size: 18px;
}

.cat-header h2 a:hover .cat-arrow { transform: translateX(4px); }

.wire-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: stretch;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.featured-img {
  width: 100%;
  height: 340px;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-img img { transform: scale(1.05); }

.featured-img .no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.featured-body {
  padding: 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 10px;
}

.featured-body h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.featured-card:hover .featured-body h3 { color: var(--accent); }

.featured-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar list */
.sidebar-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.sidebar-list:hover { box-shadow: var(--shadow); }

.sidebar-list-header {
  padding: 18px 20px 14px;
  flex-shrink: 0;
}

.sidebar-list-header h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.sidebar-list-header h4 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.sidebar-list-header h4 a:hover { color: var(--accent); }

.sidebar-articles {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px 18px;
}

.sidebar-article {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  padding: 0;
  border-bottom: 1px solid var(--border-light);
  transition: padding var(--transition);
  min-height: 0;
}

.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { padding-left: 8px; }

.sa-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.sidebar-article:hover .sa-title { color: var(--accent); }

.sa-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   SUGGESTION FORM
   ═══════════════════════════════════════════════ */
.suggestion-section {
  padding: 60px 24px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.suggestion-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.suggestion-inner h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sug-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.sug-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.sug-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sug-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sug-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.sug-field input,
.sug-field select,
.sug-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.sug-field input:focus,
.sug-field select:focus,
.sug-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}

.sug-field textarea {
  resize: vertical;
  min-height: 100px;
}

.sug-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.sug-submit button {
  padding: 12px 32px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.sug-submit button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.sug-submit button:active { transform: translateY(1px); }

.sug-note {
  font-size: 13px;
  color: var(--text-muted);
}

.sug-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.sug-success.show { display: block; }

.sug-success .check-icon {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.sug-success h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.sug-success p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.gl-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg);
}

.gl-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   CATEGORY PAGE — header, stats, filter chips
   ═══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cat-page-header {
  padding: 56px 0 0;
}

.cat-page-header h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.cat-page-header p {
  color: var(--text-secondary);
  margin-top: 10px;
  font-size: 16px;
  max-width: 640px;
  line-height: 1.6;
}

.cat-stats {
  display: flex;
  gap: 24px;
  margin-top: 18px;
}

.cat-stat {
  font-size: 14px;
  color: var(--text-muted);
}

.cat-stat strong {
  color: var(--text);
  font-weight: 600;
}

/* Filter chips */
.subcat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.subcat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-right: 4px;
  white-space: nowrap;
}

.subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.subcat-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.subcat-chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-weight: 600;
}

.subcat-chip .chip-count {
  font-size: 11px;
  opacity: 0.7;
  background: rgba(0,0,0,0.06);
  padding: 1px 7px;
  border-radius: 10px;
}

.subcat-chip.active .chip-count {
  background: rgba(255,255,255,0.20);
}

/* ═══════════════════════════════════════════════
   TAGS & BADGES
   ═══════════════════════════════════════════════ */
.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  flex-shrink: 0;
}

.tag-comparison    { background: #fef3c7; color: #92400e; }
.tag-commercial    { background: #dbeafe; color: #1e40af; }
.tag-informational { background: #f0fdf4; color: #166534; }

.badge-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #dc2626;
  color: white;
  margin-left: 6px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   NO-IMAGE FALLBACK — subtle gradient, no emoji
   ═══════════════════════════════════════════════ */
.no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
}

/* ═══════════════════════════════════════════════
   BENTO GRID (category listing)
   ═══════════════════════════════════════════════ */
.bento-section {
  padding: 36px 0 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
  grid-auto-flow: dense;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: bentoIn 0.35s ease both;
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Big: 2×2 */
.bento-card.big { grid-column: span 2; grid-row: span 2; }
.bento-card.big .bento-img { height: 220px; flex-shrink: 0; }
.bento-card.big .bento-body { padding: 18px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bento-card.big .bento-body h3 { font-size: 20px; }

/* Wide: 2×1 */
.bento-card.wide { grid-column: span 2; grid-row: span 1; flex-direction: row; }
.bento-card.wide .bento-img { width: 200px; min-width: 200px; height: 100%; flex-shrink: 0; }
.bento-card.wide .bento-body { padding: 18px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bento-card.wide .bento-body h3 { font-size: 16px; }

/* Tall: 1×2 */
.bento-card.tall { grid-column: span 1; grid-row: span 2; }
.bento-card.tall .bento-img { height: 220px; flex-shrink: 0; }
.bento-card.tall .bento-body { padding: 14px 18px; flex: 1; display: flex; flex-direction: column; }
.bento-card.tall .bento-body h3 { font-size: 14px; }

/* Standard: 1×1 */
.bento-card.standard .bento-img { height: 90px; flex-shrink: 0; }
.bento-card.standard .bento-body { padding: 11px 16px; flex: 1; display: flex; flex-direction: column; }
.bento-card.standard .bento-body h3 { font-size: 13px; }

.bento-img {
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03) 100%);
  pointer-events: none;
}

.bento-body h3 {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.bento-card:hover .bento-body h3 { color: var(--accent); }

.bento-body .bento-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.bento-body .bento-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes bentoIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════
   ROW CARDS (category filtered view)
   ═══════════════════════════════════════════════ */
.rows-section {
  padding: 36px 0 0;
}

.rows-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.row-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: rowIn 0.35s ease both;
  min-height: 220px;
}

.row-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.row-card:hover .row-num { color: var(--accent-light); }
.row-card:hover .row-body h3 { color: var(--accent); }

.row-img {
  min-height: 220px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03) 100%);
  pointer-events: none;
}

.row-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.row-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 8px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.row-body .row-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row-body .row-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes rowIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   ARTICLE COMPONENTS
   ═══════════════════════════════════════════════ */
.article-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.article-breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.article-breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.article-breadcrumbs a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.article-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.article-feat-img {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 32px;
}

.article-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Callout */
.gearlab-callout {
  background: var(--accent-bg);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Badges */
.badge-row {
  margin: 16px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: default;
}

.badge.best-overall { background: #fbbf24; color: #78350f; }
.badge.best-budget  { background: var(--accent-light); color: #1e40af; }
.badge.best-premium { background: #1e293b; color: #f1f5f9; }

/* Pros/Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.pros, .cons {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
}

.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fef2f2; border: 1px solid #fecaca; }

.pros strong, .cons strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: #0f172a;
}

.pros ul, .cons ul { margin: 0; padding-left: 0; list-style: none; }
.pros li, .cons li { margin-bottom: 5px; padding-left: 18px; position: relative; }
.pros li::before { content: '+'; position: absolute; left: 0; font-weight: 700; color: #16a34a; }
.cons li::before { content: '−'; position: absolute; left: 0; font-weight: 700; color: #dc2626; }

/* Specs */
.specs-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.specs-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.specs-box dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  font-size: 15px;
}

.specs-box dt { font-weight: 600; color: var(--text-secondary); }
.specs-box dd { color: var(--text); }

/* Comparison Table */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comp-table thead th {
  background: #1e293b;
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.comp-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.comp-table tbody tr:nth-child(even) { background: var(--bg); }
.comp-table tbody tr:hover { background: var(--accent-bg); }

/* TOC */
.toc-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
}

.toc-box summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 14px;
  user-select: none;
}

.toc-box summary:hover { color: var(--accent); }

.toc-box ul { list-style: none; padding-left: 0; }
.toc-box li { margin-bottom: 7px; }

.toc-box a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 4px;
  transition: all var(--transition);
  display: inline-block;
}

.toc-box a:hover {
  color: var(--accent);
  background: var(--accent-light);
  padding-left: 12px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state .empty-text {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .inside-header { flex-wrap: wrap; height: auto; padding: 10px 16px; }

  .hero { padding: 56px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }

  .wire-grid { grid-template-columns: 1fr; }
  .featured-img { height: 220px; }

  .sidebar-article { flex: none; padding: 12px 0; }
  .sug-row { grid-template-columns: 1fr; }

  .cat-page-header h1 { font-size: 26px; }
  .subcat-bar { gap: 8px; }
  .subcat-chip { padding: 6px 12px; font-size: 13px; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-card.big { grid-column: span 2; grid-row: span 2; }
  .bento-card.wide { grid-column: span 2; }
  .bento-card.tall { grid-column: span 1; grid-row: span 2; }

  .row-card { grid-template-columns: 1fr; }
  .row-img { min-height: 200px; }
  .row-body { padding: 20px 24px; }
  .row-num { font-size: 36px; }

  .pros-cons-grid { grid-template-columns: 1fr; }
  .specs-box dl { grid-template-columns: 1fr; }
  .article-title { font-size: 28px; }
  .article-feat-img { height: 220px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .wire-grid { grid-template-columns: 1fr 260px; gap: 18px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.big { grid-column: span 2; }
  .bento-card.wide { grid-column: span 2; }
  .row-card { grid-template-columns: 240px 1fr; }
  .row-body { padding: 22px 26px; }
}
