/*
Theme Name: ReviewPrime
Theme URI: https://reviewprime.com
Author: ClickSite
Author URI: https://clicksite.com.br
Description: Tema profissional para blogs de reviews e comparações de produtos. PageSpeed 95+, SEO otimizado, design premium.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reviewprime
Tags: blog, reviews, products, seo, dark, responsive, clean
*/

/* ===================================
   DESIGN TOKENS
   =================================== */
:root {
  /* Palette */
  --color-bg:        #0D0D0D;
  --color-surface:   #161616;
  --color-surface-2: #1E1E1E;
  --color-border:    #2A2A2A;
  --color-gold:      #C9A84C;
  --color-gold-light:#E5C97E;
  --color-text:      #E8E8E8;
  --color-muted:     #888888;
  --color-white:     #FFFFFF;
  --color-star:      #F5C518;
  --color-green:     #2ECC71;
  --color-red:       #E74C3C;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --max-w-content: 720px;
  --max-w-wide:    1200px;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 220ms;
}

/* ===================================
   RESET & BASE
   =================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover { color: var(--color-gold-light); }

ul, ol { list-style: none; }

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-16) 0; }
.section--lg { padding: var(--space-24) 0; }

/* ===================================
   HEADER / NAV
   =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-logo span { color: var(--color-gold); }

.site-logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Main Navigation — hidden, replaced by drawer */
.main-nav { display: none !important; }

/* Header Actions v2 */
.header-actions { display: flex; align-items: center; gap: var(--space-1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 10px var(--space-4);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-gold);
  color: #0D0D0D;
}

.btn--primary:hover {
  background: var(--color-gold-light);
  color: #0D0D0D;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Mobile Menu Toggle */
/* ===================================
   HERO — FEATURED POST
   =================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 50%,
    rgba(201, 168, 76, 0.04) 100%
  );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  min-height: 560px;
  padding: var(--space-16) 0;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  padding: var(--space-1) var(--space-3);
  margin-bottom: var(--space-4);
}

.hero__label .eyebrow { margin: 0; }

.hero__title {
  margin-bottom: var(--space-4);
}

.hero__excerpt {
  font-size: var(--text-lg);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.hero__author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

.hero__date { font-size: var(--text-sm); color: var(--color-muted); }

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
}

.hero__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.hero__image-wrap:hover .hero__image { transform: scale(1.03); }

.hero__score {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero__score-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.hero__score-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===================================
   STAR RATING (Signature element)
   =================================== */
.star-rating {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.star-rating__stars {
  display: flex;
  gap: 2px;
  position: relative;
}

.star-rating__star {
  width: 16px;
  height: 16px;
  color: var(--color-border);
  transition: color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.star-rating__star.filled { color: var(--color-star); }

.star-rating__star.partial {
  position: relative;
  color: var(--color-border);
}

.star-rating__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-left: var(--space-2);
}

.star-rating__count {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-left: var(--space-1);
}

/* ===================================
   VERDICT BADGE (Signature element)
   =================================== */
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid;
}

.verdict-badge--recommended {
  color: var(--color-green);
  border-color: rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.08);
}

.verdict-badge--avoid {
  color: var(--color-red);
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.08);
}

.verdict-badge--neutral {
  color: var(--color-gold);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.08);
}

/* ===================================
   POST CARDS
   =================================== */
.posts-grid {
  display: grid;
  gap: var(--space-6);
}

.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.posts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.posts-grid--list { grid-template-columns: 1fr; }

.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.post-card__image-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-2);
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.post-card:hover .post-card__image { transform: scale(1.05); }

.post-card__category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
}

.category-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: #0D0D0D;
  padding: 3px 10px;
  border-radius: 100px;
}

.post-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }

.post-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.post-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.post-card__title a {
  color: var(--color-white);
  transition: color var(--duration) var(--ease-out);
}

.post-card__title a:hover { color: var(--color-gold); }

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.post-card__read-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* List variant */
.post-card--list {
  flex-direction: row;
}

.post-card--list .post-card__image-wrap {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.post-card--list .post-card__body {
  padding: var(--space-6);
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}

.section-header__text { flex: 1; }

.section-header__eyebrow { margin-bottom: var(--space-2); }

.section-header__title { margin: 0; }

/* ===================================
   CATEGORY PILLS
   =================================== */
.category-pills {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px var(--space-4);
  border-radius: 100px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
}

.pill:hover,
.pill.active {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.08);
}

.pill__count {
  font-size: var(--text-xs);
  background: var(--color-surface-2);
  padding: 1px 6px;
  border-radius: 100px;
}

/* ===================================
   COMPARISON TABLE
   =================================== */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th {
  background: var(--color-surface);
  padding: var(--space-4) var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.comparison-table th:first-child { min-width: 200px; }

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

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

.comparison-table tr:hover td { background: var(--color-surface); }

.comparison-table .highlight-col {
  background: rgba(201, 168, 76, 0.04);
  border-left: 1px solid rgba(201, 168, 76, 0.2);
  border-right: 1px solid rgba(201, 168, 76, 0.2);
}

.comparison-table__product {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.comparison-table__product img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  padding: 4px;
  flex-shrink: 0;
}

.comparison-table__product-name { font-weight: 600; color: var(--color-white); }

.check-icon { color: var(--color-green); }
.cross-icon { color: var(--color-red); }

/* ===================================
   PROS/CONS
   =================================== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.pros-cons__block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.pros-cons__block--pros { border-top: 3px solid var(--color-green); }
.pros-cons__block--cons { border-top: 3px solid var(--color-red); }

.pros-cons__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.pros-cons__block--pros .pros-cons__title { color: var(--color-green); }
.pros-cons__block--cons .pros-cons__title { color: var(--color-red); }

.pros-cons__list { display: flex; flex-direction: column; gap: var(--space-3); }

.pros-cons__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.pros-cons__item svg { flex-shrink: 0; margin-top: 2px; }

/* ===================================
   SCORE BREAKDOWN
   =================================== */
.score-breakdown {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.score-breakdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.score-breakdown__overall {
  text-align: center;
}

.score-breakdown__number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.score-breakdown__label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

.score-breakdown__verdict { flex: 1; padding-left: var(--space-8); }
.score-breakdown__verdict-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.score-breakdown__verdict-text { font-size: var(--text-sm); color: var(--color-muted); }

.score-bars { display: flex; flex-direction: column; gap: var(--space-4); }

.score-bar { display: flex; align-items: center; gap: var(--space-4); }

.score-bar__label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  min-width: 120px;
}

.score-bar__track {
  flex: 1;
  height: 6px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 100px;
  width: 0;
  transition: width 800ms var(--ease-out);
}

.score-bar__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  min-width: 32px;
  text-align: right;
}

/* ===================================
   SIDEBAR
   =================================== */
.site-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: start;
}

.sidebar { position: sticky; top: 80px; }

.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.widget__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

/* Top Picks Widget */
.top-picks-list { display: flex; flex-direction: column; gap: var(--space-4); }

.top-pick-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity var(--duration) var(--ease-out);
}

.top-pick-item:hover { opacity: 0.8; }

.top-pick-item__rank {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-border);
  min-width: 36px;
  line-height: 1;
}

.top-pick-item:first-child .top-pick-item__rank { color: var(--color-gold); }

.top-pick-item__image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--color-surface-2);
}

.top-pick-item__content { flex: 1; min-width: 0; }

.top-pick-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 2px;
}

/* ===================================
   SEARCH OVERLAY
   =================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease-out);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__box {
  width: 100%;
  max-width: 640px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform var(--duration) var(--ease-out);
}

.search-overlay.open .search-overlay__box { transform: translateY(0); }

.search-overlay__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text);
  outline: none;
}

.search-overlay__input::placeholder { color: var(--color-muted); }

.search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  padding: var(--space-1);
  display: flex;
  align-items: center;
  transition: color var(--duration) var(--ease-out);
}

.search-overlay__close:hover { color: var(--color-text); }

.search-results { padding: var(--space-4); }

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--duration) var(--ease-out);
  color: var(--color-text);
}

.search-result-item:hover { background: var(--color-surface-2); }

.search-result-item__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--color-surface-2);
}

.search-result-item__title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-white);
}

.search-result-item__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* ===================================
   PAGINATION
   =================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0D0D0D;
}

/* ===================================
   NEWSLETTER BANNER
   =================================== */
.newsletter-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.12), transparent 70%);
  pointer-events: none;
}

.newsletter-banner__eyebrow { margin-bottom: var(--space-3); }
.newsletter-banner__title { margin-bottom: var(--space-3); }
.newsletter-banner__text { color: var(--color-muted); margin-bottom: var(--space-6); max-width: 480px; margin-left: auto; margin-right: auto; }

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--duration) var(--ease-out);
}

.newsletter-form input:focus { border-color: var(--color-gold); }
.newsletter-form input::placeholder { color: var(--color-muted); }

/* ===================================
   SINGLE POST
   =================================== */
.post-header { padding: var(--space-12) 0 var(--space-8); }
.post-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
.post-header__breadcrumb a { color: var(--color-muted); }
.post-header__breadcrumb a:hover { color: var(--color-gold); }
.post-header__breadcrumb span { color: var(--color-border); }

.post-header__cats { margin-bottom: var(--space-4); display: flex; gap: var(--space-2); }
.post-header__title { margin-bottom: var(--space-4); }
.post-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-muted);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.post-header__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.post-header__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
}

.post-header__author-name { color: var(--color-text); font-weight: 600; }

.post-thumbnail {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: var(--space-12);
  border: 1px solid var(--color-border);
}

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

/* Post Content */
.post-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.post-content p { margin-bottom: var(--space-6); }

.post-content a { color: var(--color-gold); }

.post-content ul, .post-content ol {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: var(--space-2); }

.post-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
}

.post-content img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.post-content code {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 0.9em;
  color: var(--color-gold);
}

.post-content pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  overflow-x: auto;
  margin: var(--space-6) 0;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.post-content th {
  background: var(--color-surface);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-white);
}

.post-content td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

/* Table of Contents */
.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.toc__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.toc__list { display: flex; flex-direction: column; gap: var(--space-2); }

.toc__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.toc__number {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  min-width: 20px;
  margin-top: 2px;
}

.toc__link {
  font-size: var(--text-sm);
  color: var(--color-text);
}

.toc__link:hover { color: var(--color-gold); }

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

.share-bar__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  margin-right: var(--space-2);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--ease-out);
}

.share-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ===================================
   RELATED POSTS
   =================================== */
.related-posts { padding: var(--space-12) 0; border-top: 1px solid var(--color-border); }

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
}

.footer-about__logo {
  margin-bottom: var(--space-4);
  display: inline-flex;
}

.footer-about__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all var(--duration) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-col__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color var(--duration) var(--ease-out);
}

.footer-links a:hover { color: var(--color-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom__copy { font-size: var(--text-sm); color: var(--color-muted); }

.footer-bottom__links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom__links a {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.footer-bottom__links a:hover { color: var(--color-gold); }

/* ===================================
   SKIP LINK (Accessibility)
   =================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-gold);
  color: #0D0D0D;
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  transition: top var(--duration) var(--ease-out);
}

.skip-link:focus { top: 0; }

/* ===================================
   PROGRESS BAR
   =================================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  z-index: 1000;
  width: 0%;
  transition: width 100ms linear;
}

/* ===================================
   SCROLL TO TOP
   =================================== */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-muted);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease-out);
  z-index: 90;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .site-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero__image-wrap { order: -1; }

  .posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .posts-grid--3,
  .posts-grid--2 { grid-template-columns: 1fr; }

  .post-card--list { flex-direction: column; }
  .post-card--list .post-card__image-wrap { width: 100%; aspect-ratio: 16/9; }

  .pros-cons { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .newsletter-form { flex-direction: column; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .comparison-table__product img { display: none; }

  .score-breakdown__header { flex-direction: column; text-align: center; }
  .score-breakdown__verdict { padding-left: 0; padding-top: var(--space-4); }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --space-6: 1rem; }
  .container, .container--narrow { padding: 0 var(--space-4); }
  h1 { font-size: var(--text-3xl); }
}

/* ===================================
   HEADER ICON BUTTONS (v2)
   =================================== */
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-muted);
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
  position: relative;
}

.header-icon-btn:hover {
  color: var(--color-white);
  background: var(--color-surface);
}

/* Hamburger icon animation */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out), width 300ms var(--ease-out);
  transform-origin: center;
}

.hamburger-icon span:nth-child(3) { width: 14px; }

.drawer-open .hamburger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.drawer-open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.drawer-open .hamburger-icon span:nth-child(3) {
  width: 20px;
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   SEARCH OVERLAY v2
   =================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__box {
  width: 100%;
  max-width: 660px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(-16px) scale(0.98);
  transition: transform 220ms var(--ease-out);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
}

.search-overlay.open .search-overlay__box {
  transform: translateY(0) scale(1);
}

/* Input row */
.search-overlay__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.search-overlay__icon {
  color: var(--color-muted);
  flex-shrink: 0;
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  caret-color: var(--color-gold);
}

.search-overlay__input::placeholder { color: var(--color-muted); }

.search-kbd {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.search-overlay__close:hover {
  color: var(--color-white);
  background: var(--color-surface-2);
}

/* Search states */
.search-state { overflow-y: auto; flex: 1; }
.search-state[hidden] { display: none; }

/* Suggestions / default state */
.search-suggestions-wrap {
  padding: var(--space-4) var(--space-5);
}

.search-section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.search-suggestion-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 5px 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  font-family: var(--font-body);
}

.search-suggestion-tag:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.08);
}

.search-suggestion-tag::before {
  content: '#';
  color: var(--color-gold);
  font-weight: 700;
}

/* Result items */
.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-5);
  text-decoration: none;
  transition: background var(--duration) var(--ease-out);
  color: var(--color-text);
  border-radius: 0;
  position: relative;
}

.search-result-item:hover,
.search-result-item.keyboard-focus {
  background: var(--color-surface-2);
}

.search-result-item.keyboard-focus::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gold);
  border-radius: 0 2px 2px 0;
}

.search-result-item__img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.search-result-item__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-item__img--placeholder::after {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--color-border);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
}

.search-result-item__body { flex: 1; min-width: 0; }

.search-result-item__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.search-result-item__title mark {
  background: none;
  color: var(--color-gold);
  font-weight: 700;
}

.search-result-item__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.search-result-item__dot { color: var(--color-border); }

.search-result-item__score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-star);
}

/* Loading state */
.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-8);
}

.search-loading__dot {
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: searchPulse 1.2s ease-in-out infinite;
}

.search-loading__dot:nth-child(2) { animation-delay: 0.2s; }
.search-loading__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes searchPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1; }
}

/* Empty state */
.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.search-empty__title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.search-empty__text { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }

/* Search results section header */
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5) var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

/* Footer */
.search-overlay__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 10px var(--space-5);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.search-kbd-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.search-kbd-hint kbd {
  font-family: var(--font-body);
  font-size: 10px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--color-muted);
}

.search-view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  margin-left: auto;
  text-decoration: none;
}

.search-view-all:hover { color: var(--color-gold-light); }

/* ===================================
   NAV DRAWER (Gaveta)
   =================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-out);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  width: 380px;
  max-width: 90vw;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  overflow: hidden;
  /* Subtle grain texture for depth */
  background-image: radial-gradient(
    ellipse at top right,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 60%
  );
}

.nav-drawer.open {
  transform: translateX(0);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5);
}

/* Drawer header */
.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  height: 64px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-muted);
  transition: all var(--duration) var(--ease-out);
}

.nav-drawer__close:hover {
  color: var(--color-white);
  border-color: var(--color-muted);
  background: var(--color-surface-2);
}

/* Drawer body */
.nav-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-6) 0;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.nav-drawer__body::-webkit-scrollbar { width: 4px; }
.nav-drawer__body::-webkit-scrollbar-track { background: transparent; }
.nav-drawer__body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

.nav-drawer__section {
  padding: 0 var(--space-6);
  margin-bottom: var(--space-6);
}

.nav-drawer__section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.nav-drawer__divider {
  height: 1px;
  background: var(--color-border);
  margin: 0 var(--space-6) var(--space-6);
}

/* Primary links */
.nav-drawer__primary-links { display: flex; flex-direction: column; gap: var(--space-1); }

.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition: all var(--duration) var(--ease-out);
}

.nav-drawer__link:hover {
  background: var(--color-surface-2);
  color: var(--color-white);
}

.nav-drawer__link.active {
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-drawer__link.active svg { color: var(--color-gold); }

.nav-drawer__link svg { flex-shrink: 0; color: inherit; }

/* Categories grid */
.nav-drawer__categories { display: flex; flex-direction: column; gap: 2px; }

.nav-drawer__cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px var(--space-4);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration) var(--ease-out);
}

.nav-drawer__cat-link:hover,
.nav-drawer__cat-link.active {
  background: var(--color-surface-2);
}

.nav-drawer__cat-link.active { border-left: 2px solid var(--color-gold); padding-left: calc(var(--space-4) - 2px); }

.nav-drawer__cat-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.nav-drawer__cat-link:hover .nav-drawer__cat-name { color: var(--color-white); }
.nav-drawer__cat-link.active .nav-drawer__cat-name { color: var(--color-gold); }

.nav-drawer__cat-count {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-surface-2);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

/* Featured posts in drawer */
.nav-drawer__featured-post {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: opacity var(--duration) var(--ease-out);
}

.nav-drawer__featured-post:last-child { border-bottom: none; }
.nav-drawer__featured-post:hover { opacity: 0.75; }

.nav-drawer__featured-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.nav-drawer__featured-body { flex: 1; min-width: 0; }

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

.nav-drawer__featured-score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-star);
}

/* Drawer footer */
.nav-drawer__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.nav-drawer__footer-link {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

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