/* ============================================================
   KissYourPet Theme — Main Stylesheet
   Mobile-first, responsive breakpoints at 768px and 1024px
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- TOKENS ---- */
:root {
  --ink:          #0f0e0c;
  --cream:        #faf7f2;
  --paper:        #f5f1eb;
  --amber:        #e8650a;
  --amber-light:  #f5893a;
  --sage:         #3d5a3e;
  --sage-bg:      #eef3ee;
  --red:          #c0392b;
  --red-bg:       #fdf0ee;
  --warm-gray:    #8a8279;
  --rule:         #d9d3c7;
  --white:        #ffffff;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-width:    1320px;
  --gutter:       20px;
  --radius:       8px;
  --transition:   0.2s ease;
}

/* ---- RESET ---- */
*, *::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(--cream); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
button { cursor: pointer; font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px; gap: 16px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.5px; flex-shrink: 0;
}
.site-logo span { color: var(--amber); }
.site-logo img { max-height: 36px; width: auto; }

/* Primary nav */
#primary-nav { display: none; }
#primary-nav ul { display: flex; gap: 24px; align-items: center; }
#primary-nav a {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none; letter-spacing: 0.04em;
  text-transform: uppercase; transition: color var(--transition);
  white-space: nowrap;
}
#primary-nav a:hover,
#primary-nav .current-menu-item > a,
#primary-nav .current-menu-ancestor > a { color: var(--amber); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 8px 16px; border-radius: 4px;
}
.nav-cta:hover { background: var(--amber-light) !important; }

/* Hamburger */
.menu-toggle {
  display: flex; flex-direction: column;
  gap: 5px; background: none; border: none;
  padding: 4px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--ink); z-index: 199;
  padding: 32px var(--gutter);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-size: 20px; font-family: var(--font-display);
  font-weight: 700; color: var(--white);
  text-decoration: none; letter-spacing: -0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--amber); }

/* Ticker */
.ticker-bar {
  background: var(--amber); overflow: hidden;
  height: 32px; display: flex; align-items: center;
}
.ticker-track {
  display: flex; animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: 11px; font-weight: 600;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0 32px;
}
.ticker-dot { color: rgba(255,255,255,0.5); padding: 0 4px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrap { padding: 16px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { font-size: 12px; color: var(--warm-gray); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { font-size: 12px; color: var(--rule); }
.breadcrumb .current { font-size: 12px; color: var(--ink); font-weight: 500; }
.breadcrumb-dark a { color: rgba(255,255,255,0.4); }
.breadcrumb-dark .sep { color: rgba(255,255,255,0.2); }
.breadcrumb-dark .current { color: rgba(255,255,255,0.65); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-block; padding: 13px 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background var(--transition), transform var(--transition), border-color var(--transition); border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); text-align: center; }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--amber); border-color: var(--amber); color: var(--white); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-light); border-color: var(--amber-light); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-full { width: 100%; display: block; }
.btn-sm { padding: 9px 18px; font-size: 12px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { display: flex; align-items: center; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 24px; gap: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(20px, 4vw, 28px); font-weight: 900; letter-spacing: -0.8px; }
.section-link { font-size: 12px; font-weight: 600; color: var(--amber); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.section-link:hover { color: var(--amber-light); }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero { padding: 40px 0 32px; }
.hero-grid { display: grid; gap: 32px; }
.hero-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-label::before { content: ''; width: 20px; height: 2px; background: var(--amber); flex-shrink: 0; }
.hero-headline { font-family: var(--font-display); font-size: clamp(40px, 9vw, 80px); font-weight: 900; line-height: 0.95; letter-spacing: -3px; margin-bottom: 18px; }
.hero-headline em { font-style: italic; font-weight: 300; color: var(--amber); }
.hero-sub { font-size: 16px; color: var(--warm-gray); line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .btn-ghost-inline { color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color var(--transition); }
.hero-actions .btn-ghost-inline:hover { color: var(--amber); }

/* Hero featured card */
.hero-featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;        /* mobile height — grows on desktop */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* content pins to bottom */
  padding: 28px;
}
/* Dark background layer */
.hero-featured-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2f1b 0%, #0f0e0c 100%);
  border-radius: var(--radius);
  overflow: hidden;
}
/* Featured image fills entire card when set */
.hero-featured-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.5;
}
/* Strong dark gradient at bottom — same as demo */
.hero-featured-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.08) 60%);
}
/* Floating emoji — matches demo animation */
.hero-featured-emoji {
  position: absolute; top: 30px; right: 30px;
  font-size: 120px; opacity: 0.15;
  animation: kyp-float 4s ease-in-out infinite;
  z-index: 1;
}
@keyframes kyp-float {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50%       { transform: translateY(-12px) rotate(5deg); }
}
.hero-featured-content { position: relative; z-index: 2; }
/* Featured tag */
.featured-tag { display: inline-block; background: var(--amber); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 16px; }
/* VS badge — matches demo, backdrop-blur on pills */
.vs-badge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.vs-pill { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.vs-text { font-family: var(--font-display); font-size: 11px; font-weight: 900; font-style: italic; color: var(--amber); letter-spacing: 0.05em; }
/* Title — matches demo 32px */
.hero-featured-title { font-family: var(--font-display); font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 12px; text-decoration: none; display: block; transition: color var(--transition); }
.hero-featured-title:hover { color: var(--amber-light); }
.hero-featured-meta { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 400; letter-spacing: 0.03em; }

/* ============================================================
   COMPARISON CARDS GRID
   ============================================================ */
.comp-grid { display: grid; gap: 16px; }
.comp-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color var(--transition); display: flex; flex-direction: column; }
.comp-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); border-color: var(--amber); }
.comp-card-visual { background: var(--ink); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 56px; position: relative; overflow: hidden; flex-shrink: 0; }
.comp-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.comp-card-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.45) 0%, transparent 60%); pointer-events: none; }
.comp-grid-home .comp-card:first-child .comp-card-visual::after { background: linear-gradient(135deg, rgba(232,101,10,0.25) 0%, transparent 60%); }
.comp-card-visual span { position: relative; z-index: 1; }
.comp-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.comp-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.comp-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.2px; margin-bottom: 8px; color: var(--ink); text-decoration: none; display: block; transition: color var(--transition); }
.comp-title:hover { color: var(--amber); }
.comp-excerpt { font-size: 13px; color: var(--warm-gray); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.comp-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 14px; gap: 8px; }
.winner-tag { font-size: 11px; font-weight: 600; color: var(--sage); display: flex; align-items: center; gap: 4px; }
.winner-tag::before { content: '✓'; }
.read-link { font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: color var(--transition); flex-shrink: 0; }
.read-link:hover { color: var(--amber); }

/* vs divider */
.vs-divider { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.vs-divider-line { flex: 1; height: 1px; background: var(--rule); }
.vs-divider-text { font-family: var(--font-display); font-size: 12px; font-weight: 900; font-style: italic; color: var(--amber); white-space: nowrap; }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card { background: var(--ink); border-radius: var(--radius); padding: 20px; text-decoration: none; display: block; transition: transform var(--transition), background var(--transition); position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 70px; height: 70px; border-radius: 50%; background: rgba(232,101,10,0.15); transition: transform 0.4s; }
.cat-card:hover { transform: translateY(-3px); background: #1c1b18; }
.cat-card:hover::before { transform: scale(2.5); }
.cat-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.cat-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -0.2px; }
.cat-count { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ============================================================
   LATEST ARTICLES
   ============================================================ */
.articles-grid { display: grid; gap: 20px; }
.article-card { border-top: 2px solid var(--ink); padding-top: 18px; transition: border-color var(--transition); }
.article-card:hover { border-color: var(--amber); }
.article-num { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--rule); line-height: 1; letter-spacing: -2px; margin-bottom: 10px; }
.article-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.article-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.2px; color: var(--ink); text-decoration: none; display: block; margin-bottom: 8px; transition: color var(--transition); }
.article-title:hover { color: var(--amber); }
.article-meta { font-size: 11px; color: var(--warm-gray); display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   WINNER BANNER
   ============================================================ */
.winner-banner { background: var(--ink); border-radius: 10px; padding: 36px 28px; position: relative; overflow: hidden; }
.winner-banner::before { content: '🏆'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-size: 120px; opacity: 0.06; }
.banner-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.banner-label::before { content: ''; width: 20px; height: 2px; background: var(--amber); }
.banner-title { font-family: var(--font-display); font-size: clamp(26px, 5vw, 40px); font-weight: 900; color: var(--white); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 10px; }
.banner-title em { font-style: italic; font-weight: 300; color: var(--amber); }
.banner-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 24px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-wrap { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.nl-title { font-family: var(--font-display); font-size: clamp(20px, 4vw, 28px); font-weight: 900; letter-spacing: -0.8px; margin-bottom: 6px; }
.nl-sub { font-size: 14px; color: var(--warm-gray); margin-bottom: 18px; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input { padding: 13px 16px; border: 2px solid var(--rule); border-radius: 4px; font-family: var(--font-body); font-size: 14px; outline: none; background: var(--cream); transition: border-color var(--transition); width: 100%; }
.nl-input:focus { border-color: var(--amber); }
.nl-btn { background: var(--ink); color: var(--white); border: 2px solid var(--ink); padding: 13px 24px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 4px; transition: background var(--transition); }
.nl-btn:hover { background: var(--amber); border-color: var(--amber); }

/* ============================================================
   CATEGORY / ARCHIVE PAGE
   ============================================================ */
.cat-hero { background: var(--ink); padding: 32px 0; position: relative; overflow: hidden; }
.cat-hero-emoji { display: none; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font-size: 160px; opacity: 0.05; pointer-events: none; }
.cat-hero-inner { position: relative; z-index: 1; }
.cat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.cat-hero-title { font-family: var(--font-display); font-size: clamp(32px, 8vw, 72px); font-weight: 900; color: var(--white); letter-spacing: -2px; line-height: 0.95; margin-bottom: 14px; }
.cat-hero-title em { font-style: italic; font-weight: 300; color: var(--amber); }
.cat-hero-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; max-width: 580px; }
.cat-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.cat-stat-num { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--white); line-height: 1; }
.cat-stat-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Filter bar — scroll horizontally on mobile */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 60px; z-index: 100; }
.filter-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 0; height: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-tabs { display: flex; gap: 0; flex-shrink: 0; min-width: 0; }
.filter-tab { padding: 0 12px; height: 48px; display: flex; align-items: center; font-size: 12px; font-weight: 500; color: var(--warm-gray); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--transition), border-color var(--transition); white-space: nowrap; flex-shrink: 0; }
.filter-tab:hover, .filter-tab.active { color: var(--amber); border-bottom-color: var(--amber); }
.filter-tab.active { font-weight: 600; }
.filter-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 0 10px; }
.results-count { font-size: 11px; color: var(--warm-gray); white-space: nowrap; display: none; }
.view-toggle { display: flex; gap: 3px; }
.view-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); font-size: 14px; cursor: pointer; transition: all var(--transition); }
.view-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sort-select { font-family: var(--font-body); font-size: 12px; color: var(--ink); border: 1px solid var(--rule); border-radius: 4px; padding: 5px 10px; background: var(--cream); outline: none; }

/* Archive grid */
.archive-layout { padding: 32px 0; }
.archive-grid { display: grid; gap: 16px; }
.featured-article { background: var(--ink); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform var(--transition); margin-bottom: 24px; }
.featured-article:hover { transform: translateY(-3px); }
.featured-visual { background: linear-gradient(135deg, #1a2030, #0f0e0c); height: 240px; display: flex; align-items: center; justify-content: center; font-size: 80px; position: relative; overflow: hidden; flex-shrink: 0; width: 100%; }
.featured-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.featured-visual > span { position: relative; z-index: 1; }
.featured-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%); pointer-events: none; }
.featured-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.featured-body-top { margin-bottom: 16px; }
.featured-tag { display: inline-block; background: var(--amber); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; margin-bottom: 10px; }
.winner-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(61,90,62,0.4); color: #7ec880; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; margin-bottom: 10px; }
.winner-pill::before { content: '✓'; }
.featured-title { font-family: var(--font-display); font-size: clamp(20px, 4vw, 28px); font-weight: 700; color: var(--white); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 10px; }
.featured-excerpt { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 18px; }
.featured-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.featured-meta { font-size: 11px; color: rgba(255,255,255,0.35); }
.featured-link { font-size: 12px; font-weight: 600; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; }

/* Archive list view — hidden by default, shown via JS toggle */
.list-view-content { display: none; flex-direction: column; }
.list-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; text-decoration: none; transition: background var(--transition); }
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--cream); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 6px; }
.list-thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-num { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--rule); min-width: 28px; line-height: 1; flex-shrink: 0; margin-top: 4px; }
.list-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }
.list-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; display: block; transition: color var(--transition); }
.list-title:hover { color: var(--amber); }
.list-meta { font-size: 11px; color: var(--warm-gray); margin-top: 5px; display: flex; gap: 8px; flex-wrap: wrap; }
.list-right { margin-left: auto; text-align: right; flex-shrink: 0; padding-left: 8px; }
.list-winner { font-size: 11px; font-weight: 600; color: var(--sage); white-space: nowrap; margin-bottom: 6px; }
.list-winner::before { content: '✓ '; }
.list-read { font-size: 11px; font-weight: 600; color: var(--amber); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); transition: all var(--transition); background: var(--white); padding: 0 8px; }
.page-btn:hover, .page-btn.active { background: var(--amber); border-color: var(--amber); color: var(--white); }
.page-dots { font-size: 13px; color: var(--warm-gray); }

/* Type badges */
.type-badge { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em; display: inline-block; }
.badge-comparison { background: #fff1e6; color: var(--amber); }
.badge-guide { background: var(--sage-bg); color: var(--sage); }
.badge-bestof { background: #edf0ff; color: #4c63d2; }

/* ============================================================
   SINGLE POST — UNIFIED TWO-COLUMN LAYOUT
   ============================================================ */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--amber); z-index: 300; width: 0; transition: width 0.1s linear; }

/* Outer wrapper — padding top/bottom */
.single-page-wrap { padding: 28px 0 60px; }

/* Two-column grid — stacked on mobile, side-by-side on tablet+ */
.single-page-grid { display: flex; flex-direction: column; gap: 40px; }

/* Left column */
.single-main { min-width: 0; }

/* Right column */
.single-sidebar { display: flex; flex-direction: column; gap: 20px; }
.single-sidebar-inner { display: flex; flex-direction: column; gap: 20px; }

/* Article body layout (prose area below hero) */
.article-layout { padding: 0; }
.article-body { min-width: 0; }

.article-meta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.article-cat-link { display: inline-block; background: var(--amber); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; text-decoration: none; }
.article-cat-link:hover { background: var(--amber-light); color: var(--white); }
.meta-pill { font-size: 11px; color: var(--warm-gray); }
.meta-dot { color: var(--rule); font-size: 11px; }
.article-headline { font-family: var(--font-display); font-size: clamp(28px, 6vw, 52px); font-weight: 900; line-height: 1.0; letter-spacing: -2px; margin-bottom: 16px; }
.article-headline em { font-style: italic; font-weight: 300; color: var(--amber); }
.article-deck { font-size: 16px; color: var(--warm-gray); line-height: 1.7; margin-bottom: 24px; }
.author-row { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 14px; font-weight: 600; }
.author-title { font-size: 12px; color: var(--warm-gray); }
.updated-badge { background: var(--sage-bg); color: var(--sage); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 4px; margin-left: auto; white-space: nowrap; }

/* Article hero featured image */
.article-hero-image { margin-top: 24px; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; position: relative; background: var(--rule); }
.article-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Post navigation */
.post-navigation { border-top: 2px solid var(--ink); padding-top: 24px; margin-top: 48px; }
.post-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav-item { min-width: 0; }
.post-nav-next { text-align: right; }
.post-nav-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 16px; border: 1px solid var(--rule); border-radius: 6px; transition: border-color var(--transition), background var(--transition); }
.post-nav-link:hover { border-color: var(--amber); background: rgba(232,101,10,0.04); }
.post-nav-link--right { align-items: flex-end; }
.post-nav-dir { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.post-nav-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ============================================================
   VERDICT CARD (sticky sidebar)
   ============================================================ */
.verdict-card { background: var(--ink); border-radius: 10px; padding: 28px; }
.verdict-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.verdict-label::before { content: ''; width: 18px; height: 2px; background: var(--amber); }
.verdict-vs { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.verdict-brand { flex: 1; text-align: center; }
.verdict-brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); }
.verdict-score { font-size: 36px; font-weight: 900; line-height: 1; margin: 5px 0; font-family: var(--font-display); }
.verdict-score.winner { color: var(--amber); }
.verdict-score.loser { color: rgba(255,255,255,0.25); }
.verdict-sub { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }
.verdict-vs-text { font-family: var(--font-display); font-size: 12px; font-weight: 900; font-style: italic; color: rgba(255,255,255,0.25); }
.verdict-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 18px 0; }
.verdict-winner-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.verdict-winner-label { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.verdict-winner-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
.verdict-reason { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 20px; }
.verdict-disclaimer { font-size: 10px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 12px; line-height: 1.5; }

/* ============================================================
   ARTICLE BODY — PROSE
   ============================================================ */
.article-layout { padding: 0; }
.article-body { min-width: 0; }

.toc { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--amber); border-radius: 6px; padding: 20px 24px; margin-bottom: 36px; }
.toc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.toc li:last-child { border-bottom: none; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--amber); min-width: 20px; }
.toc a { font-size: 13px; color: var(--ink); text-decoration: none; font-weight: 500; transition: color var(--transition); line-height: 1.4; }
.toc a:hover { color: var(--amber); }

.prose h2 { font-family: var(--font-display); font-size: clamp(22px, 4vw, 28px); font-weight: 900; letter-spacing: -0.6px; margin: 40px 0 14px; padding-top: 40px; border-top: 1px solid var(--rule); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin: 24px 0 10px; }
.prose p { font-size: 16px; line-height: 1.8; color: #2a2925; margin-bottom: 16px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px 0; padding-left: 0; }
.prose li { font-size: 16px; line-height: 1.75; color: #2a2925; padding: 4px 0 4px 22px; position: relative; }
.prose li::before { content: '→'; position: absolute; left: 0; color: var(--amber); font-size: 12px; top: 7px; }
.prose a { color: var(--amber); }
.prose a:hover { color: var(--amber-light); }

/* Callout boxes */
.callout { border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; display: flex; gap: 12px; align-items: flex-start; }
.callout.tip { background: var(--sage-bg); border-left: 3px solid var(--sage); }
.callout.warn { background: #fef9ec; border-left: 3px solid #d4a012; }
.callout.pro { background: var(--cream); border: 1px solid var(--rule); border-left: 3px solid var(--amber); }
.callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-text { font-size: 14px; line-height: 1.65; color: var(--ink); }
.callout-text strong { font-weight: 600; display: block; margin-bottom: 3px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comp-table-wrap { margin: 32px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.comp-table-header { background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.comp-table-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); }
.comp-table-legend { display: flex; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,0.5); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.a { background: var(--amber); }
.legend-dot.b { background: rgba(255,255,255,0.3); }
.kyp-comp-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); border-top: none; min-width: 520px; }
.kyp-comp-table thead th { padding: 14px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; border-bottom: 2px solid var(--rule); text-align: left; }
.kyp-comp-table thead th:first-child { color: var(--warm-gray); width: 28%; background: #fafaf8; }
.kyp-comp-table thead th.col-a { color: var(--amber); background: #fff8f4; }
.kyp-comp-table thead th.col-b { color: var(--warm-gray); }
.kyp-comp-table thead th.col-winner { color: var(--ink); background: var(--cream); text-align: center; }
.kyp-comp-table tbody tr { border-bottom: 1px solid var(--rule); transition: background var(--transition); }
.kyp-comp-table tbody tr:hover { background: var(--cream); }
.kyp-comp-table tbody tr:last-child { border-bottom: none; }
.kyp-comp-table td { padding: 14px 16px; font-size: 14px; vertical-align: middle; }
.kyp-comp-table td:first-child { font-weight: 600; font-size: 12px; background: #fafaf8; }
.kyp-comp-table td.col-a { background: #fff8f4; }
.kyp-comp-table td.col-winner { text-align: center; background: var(--cream); }
.win-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--sage-bg); color: var(--sage); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.win-badge::before { content: '✓'; }
.tie-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; color: var(--warm-gray); padding: 3px 9px; border-radius: 100px; background: var(--cream); border: 1px solid var(--rule); }
.star-row { display: flex; gap: 2px; align-items: center; }
.star { color: #f0b429; font-size: 13px; }
.star.empty { color: var(--rule); }
.star-num { font-size: 12px; font-weight: 600; color: var(--ink); margin-left: 3px; }
.price-chip { font-weight: 700; font-size: 15px; }
.price-chip.lower { color: var(--sage); }
.price-chip.higher { color: var(--red); }
.icon-check { color: var(--sage); font-size: 15px; }
.icon-cross { color: var(--red); font-size: 15px; }
.icon-partial { color: #d4a012; font-size: 13px; }
.table-footer-bar { background: var(--cream); border: 1px solid var(--rule); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.table-footer-note { font-size: 11px; color: var(--warm-gray); }
.table-footer-updated { font-size: 11px; color: var(--warm-gray); }

/* Score cards */
.score-cards { display: grid; gap: 16px; margin: 28px 0; }
.score-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; background: var(--white); }
.score-card.highlight { border-color: var(--amber); background: #fff8f4; }
.score-card-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.score-row { display: flex; align-items: center; margin-bottom: 9px; gap: 8px; }
.score-label { font-size: 12px; color: var(--warm-gray); font-weight: 500; min-width: 110px; }
.score-bar-wrap { flex: 1; height: 5px; background: var(--rule); border-radius: 100px; overflow: hidden; }
.score-bar { height: 100%; border-radius: 100px; background: var(--amber); transition: width 1s ease; }
.score-card:not(.highlight) .score-bar { background: var(--ink); }
.score-value { font-size: 12px; font-weight: 700; min-width: 26px; text-align: right; }
.score-total { border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 4px; display: flex; align-items: baseline; gap: 6px; }
.score-total-num { font-family: var(--font-display); font-size: 32px; font-weight: 900; line-height: 1; }
.score-card.highlight .score-total-num { color: var(--amber); }
.score-total-label { font-size: 12px; color: var(--warm-gray); }

/* Pros cons */
.pros-cons { display: grid; gap: 14px; margin: 28px 0; }
.pros { background: var(--sage-bg); border-radius: var(--radius); padding: 20px; }
.cons { background: var(--red-bg); border-radius: var(--radius); padding: 20px; }
.pros-cons-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.pros .pros-cons-title { color: var(--sage); }
.cons .pros-cons-title { color: var(--red); }
.pros-cons-list li { font-size: 14px; line-height: 1.6; padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; position: static; }
.pros-cons-list li::before { display: none; }

/* Final verdict */
.final-verdict { background: var(--ink); border-radius: 10px; padding: 32px; margin: 40px 0; }
.verdict-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.verdict-section-label::before { content: ''; width: 18px; height: 2px; background: var(--amber); }
.verdict-heading { font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); font-weight: 900; color: var(--white); letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.verdict-heading em { font-style: italic; font-weight: 300; color: var(--amber); }
.verdict-text { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 22px; }
.verdict-grid { display: grid; gap: 12px; margin-bottom: 24px; }
.verdict-box { background: rgba(255,255,255,0.06); border-radius: 6px; padding: 18px; }
.verdict-box-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.verdict-box-content { font-size: 14px; color: var(--white); line-height: 1.6; }
.verdict-cta-row { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.widget-header { padding: 14px 18px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; }
.widget-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.widget-link { font-size: 11px; color: var(--amber); text-decoration: none; font-weight: 600; }
.widget-body { padding: 16px 18px; font-size: 13px; color: var(--warm-gray); line-height: 1.65; }
.widget-body a { color: var(--amber); }

/* Quick picks widget */
.pick-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); transition: background var(--transition); text-decoration: none; }
.pick-item:last-child { border-bottom: none; }
.pick-item:hover { background: var(--cream); }
.pick-rank { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--rule); min-width: 24px; line-height: 1; }
.pick-rank.gold { color: #f0b429; }
.pick-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.pick-sub { font-size: 11px; color: var(--warm-gray); }
.pick-score { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--amber); margin-left: auto; }

/* Related articles widget */
.related-item { padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.related-item:last-child { border-bottom: none; }
.related-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }
.related-title { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.4; display: block; transition: color var(--transition); }
.related-title:hover { color: var(--amber); }

/* Dark affiliate widget */
.widget-dark { background: var(--ink); border-radius: var(--radius); padding: 22px; }
.widget-dark .widget-title { color: rgba(255,255,255,0.4); margin-bottom: 14px; display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.affiliate-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.affiliate-item:last-child { border-bottom: none; padding-bottom: 0; }
.affiliate-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.affiliate-desc { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 10px; line-height: 1.4; }
.affiliate-btn { display: block; background: var(--amber); color: var(--white); text-align: center; padding: 10px; border-radius: 4px; font-size: 12px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--transition); }
.affiliate-btn:hover { background: var(--amber-light); color: var(--white); }
.affiliate-btn.secondary { background: rgba(255,255,255,0.1); }
.affiliate-btn.secondary:hover { background: rgba(255,255,255,0.2); }

/* Newsletter widget */
.widget-nl { background: var(--ink); border-radius: var(--radius); padding: 22px; }
.widget-nl .widget-title { color: rgba(255,255,255,0.4); }
.widget-nl h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; margin-bottom: 6px; line-height: 1.25; }
.widget-nl p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 14px; }
.widget-nl .nl-input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--white); margin-bottom: 8px; }
.widget-nl .nl-input::placeholder { color: rgba(255,255,255,0.3); }
.widget-nl .nl-input:focus { border-color: var(--amber); }

/* Other cats widget */
.other-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background var(--transition); }
.other-cat-item:last-child { border-bottom: none; }
.other-cat-item:hover { background: var(--cream); }
.other-cat-left { display: flex; align-items: center; gap: 10px; }
.other-cat-icon { font-size: 18px; width: 32px; height: 32px; background: var(--cream); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.other-cat-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.other-cat-count { font-size: 11px; color: var(--warm-gray); }
.other-cat-arrow { color: var(--rule); transition: color var(--transition); }
.other-cat-item:hover .other-cat-arrow { color: var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--ink); padding: 48px 0 24px; margin-top: 64px; }
.footer-brand { margin-bottom: 28px; }
.footer-brand .site-logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.25); }

/* ============================================================
   SEARCH
   ============================================================ */
.search-form { display: flex; gap: 0; max-width: 100%; }
.search-input { flex: 1; padding: 12px 16px; border: 2px solid var(--rule); border-right: none; border-radius: 4px 0 0 4px; font-family: var(--font-body); font-size: 14px; background: var(--cream); outline: none; transition: border-color var(--transition); }
.search-input:focus { border-color: var(--amber); }
.search-submit { background: var(--ink); color: var(--white); border: 2px solid var(--ink); padding: 12px 20px; font-family: var(--font-body); font-size: 13px; font-weight: 600; border-radius: 0 4px 4px 0; cursor: pointer; transition: background var(--transition); }
.search-submit:hover { background: var(--amber); border-color: var(--amber); }

/* ============================================================
   404 / MISC
   ============================================================ */
.error-page { text-align: center; padding: 80px var(--gutter); }
.error-num { font-family: var(--font-display); font-size: 120px; font-weight: 900; color: var(--rule); line-height: 1; letter-spacing: -6px; }
.error-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.error-sub { font-size: 16px; color: var(--warm-gray); margin-bottom: 28px; }

/* ============================================================
   SPACING HELPERS
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.section-gap { margin-top: 48px; }

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
/* ============================================================
   ARTICLE MOBILE PADDING
   ============================================================ */
@media (max-width: 767px) {
  .single-page-wrap { padding: 20px 0 40px; }
  .single-page-wrap .container { padding-left: 20px; padding-right: 20px; }
  .article-headline { letter-spacing: -1px; }
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .post-nav-link--right { align-items: flex-start; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }

  /* Header */
  .menu-toggle { display: none; }
  #primary-nav { display: block; }
  .mobile-menu { display: none !important; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .hero-headline { font-size: clamp(48px, 7vw, 80px); }
  .hero-featured-card { min-height: 520px; padding: 40px 40px 48px; }

  /* Grids */
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-grid-home { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .comp-grid-home .comp-card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; flex-direction: unset; }
  .comp-grid-home .comp-card:first-child .comp-card-visual { min-height: 240px; height: auto; }
  .comp-grid-home .comp-card:first-child .comp-card-body { padding: 28px; }
  .comp-grid-home .comp-card:first-child .comp-title { font-size: 22px; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }

  /* Newsletter */
  .nl-form { flex-direction: row; }
  .nl-input { border-right: none; border-radius: 4px 0 0 4px; }
  .nl-btn { border-radius: 0 4px 4px 0; white-space: nowrap; }
  .newsletter-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .nl-wrap-text { margin-bottom: 0; }

  /* Category hero */
  .cat-hero { padding: 48px 0; }
  .cat-hero-emoji { display: block; font-size: 180px; }
  .cat-stat-num { font-size: 30px; }
  .results-count { display: block; }

  /* Archive */
  .archive-main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-main-grid > .sidebar { align-self: start; position: sticky; top: 80px; }

  /* Featured article — horizontal layout */
  .featured-article { flex-direction: row; min-height: 280px; }
  .featured-visual { width: 340px; height: auto; min-height: 280px; flex-shrink: 0; }
  .featured-body { padding: 32px; }

  /* Single post — activate two-column grid */
  .single-page-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
  .single-main { align-self: start; }
  .single-sidebar { align-self: start; position: sticky; top: 80px; }
  .single-sidebar-inner { position: static; }

  /* Score cards, pros/cons */
  .score-cards { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .verdict-grid { grid-template-columns: 1fr 1fr; }
  .verdict-cta-row { flex-direction: row; }

  /* Footer */
  .footer-inner-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { margin-bottom: 0; }
  .footer-cols { display: contents; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr 440px; gap: 56px; }

  /* Grids */
  .comp-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* First card: spans 2 cols, splits image left / content right */
  .comp-grid-home .comp-card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; flex-direction: unset; }
  .comp-grid-home .comp-card:first-child .comp-card-visual { min-height: 280px; height: auto; }
  .comp-grid-home .comp-card:first-child .comp-card-body { padding: 32px; }
  .comp-grid-home .comp-card:first-child .comp-title { font-size: 26px; letter-spacing: -0.5px; }
  .cats-grid { grid-template-columns: repeat(5, 1fr); }
  .articles-grid { grid-template-columns: repeat(4, 1fr); }

  /* Single */
  .single-page-grid { grid-template-columns: 1fr 360px; gap: 64px; }

  /* Archive */
  .archive-main-grid { grid-template-columns: 1fr 360px; gap: 48px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, .ticker-bar, .single-sidebar, #site-footer, .verdict-card, .nl-widget, .filter-bar { display: none; }
  .single-page-grid { display: block; }
  .comp-table-wrap { overflow: visible; }
  .kyp-comp-table { min-width: unset; }
}
