/*
Theme Name: Best AI Weekly
Theme URI: https://bestaiweekly.com
Author: Reazul Islam
Author URI: https://bestaiweekly.com
Description: A dark, modern AI tools review and blog theme optimised for AdSense income. Features sticky navigation, hero section, category grid, review cards, comparison table, and newsletter signup.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.0
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: bestaiweekly
Tags: blog, dark, modern, ai, tech, adsense
*/

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

:root {
  --navy:           #0B1120;
  --navy-2:         #111827;
  --navy-3:         #1a2236;
  --electric:       #6366F1;
  --electric-light: #818CF8;
  --electric-glow:  rgba(99,102,241,0.15);
  --cyan:           #22D3EE;
  --white:          #FFFFFF;
  --gray-100:       #F1F5F9;
  --gray-200:       #E2E8F0;
  --gray-400:       #94A3B8;
  --gray-500:       #64748B;
  --text-primary:   #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;
  --card-bg:        rgba(255,255,255,0.04);
  --card-border:    rgba(255,255,255,0.08);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
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.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { line-height: 1.7; color: var(--text-secondary); }

/* ─────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section--dark { background: var(--navy-2); }
.section--bordered { border-top: 1px solid var(--card-border); }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-light);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  background: var(--electric);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--card-border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
}

/* ─────────────────────────────────────────
   BADGES
───────────────────────────────────────── */
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  display: inline-block;
}
.badge--review  { background: var(--electric-glow); color: var(--electric-light); border: 1px solid rgba(99,102,241,0.3); }
.badge--new     { background: rgba(34,211,238,0.1); color: var(--cyan); border: 1px solid rgba(34,211,238,0.3); }
.badge--free    { background: rgba(52,211,153,0.1); color: #34D399; border: 1px solid rgba(52,211,153,0.3); }
.badge--paid    { background: rgba(251,146,60,0.1); color: #FB923C; border: 1px solid rgba(251,146,60,0.3); }
.badge--cat     { background: var(--electric-glow); color: var(--electric-light); }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--text-primary);
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--electric);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.primary-nav a {
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item,
.primary-nav a.current_page_item { color: var(--white); background: var(--card-bg); }
.nav-cta {
  background: var(--electric) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.85; background: var(--electric) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  font-family: var(--font-body);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--electric-glow);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--electric-light);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--electric-light); border-radius: 50%; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--electric-light); }
.hero .hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.1rem; }

/* Terminal card */
.terminal-card {
  background: var(--navy-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.terminal-bar {
  background: var(--navy-3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot-r { background: #FF5F57; }
.t-dot-y { background: #FFBD2E; }
.t-dot-g { background: #28CA41; }
.terminal-filename {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin: 0 auto;
  font-family: monospace;
}
.terminal-body { padding: 1.25rem; }
.score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.score-label { font-size: 0.82rem; color: var(--text-secondary); width: 90px; flex-shrink: 0; font-family: monospace; }
.score-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.score-bar { height: 100%; border-radius: 3px; }
.bar-1 { width: 94%; background: linear-gradient(90deg,#6366F1,#818CF8); }
.bar-2 { width: 88%; background: linear-gradient(90deg,#22D3EE,#67E8F9); }
.bar-3 { width: 82%; background: linear-gradient(90deg,#A78BFA,#C4B5FD); }
.bar-4 { width: 75%; background: linear-gradient(90deg,#34D399,#6EE7B7); }
.bar-5 { width: 68%; background: linear-gradient(90deg,#FB923C,#FCA5A5); }
.score-val { font-size: 0.78rem; color: var(--text-muted); font-family: monospace; width: 36px; text-align: right; }
.terminal-divider { height: 1px; background: var(--card-border); margin: 1rem 0; }
.terminal-tag {
  display: inline-block;
  background: var(--electric-glow);
  color: var(--electric-light);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: monospace;
  margin: 0.2rem 0.2rem 0 0;
}

/* ─────────────────────────────────────────
   CATEGORY GRID
───────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
  color: var(--text-primary);
}
.cat-card:hover {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.06);
  transform: translateY(-2px);
}
.cat-icon   { font-size: 2rem; margin-bottom: 0.75rem; }
.cat-name   { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--text-primary); }
.cat-count  { font-size: 0.78rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   REVIEW CARDS
───────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.review-card {
  background: var(--navy);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover { border-color: rgba(99,102,241,0.35); transform: translateY(-3px); }
.review-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.review-img {
  background: var(--navy-3);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.review-img .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.review-card--featured .review-img { min-height: 280px; }
.review-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.review-card--featured .review-body { padding: 2rem; }
.review-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.review-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}
.review-card--featured .review-title { font-size: 1.35rem; }
.review-excerpt { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.review-score   { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.score-pill {
  background: var(--electric-glow);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--electric-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-family: monospace;
}
.stars      { color: #FBBF24; font-size: 0.85rem; letter-spacing: 1px; }
.review-meta { font-size: 0.78rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   BLOG POST CARDS
───────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Thumbnail image area */
.post-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-3);
  position: relative;
  flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

/* Placeholder shown when no featured image */
.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2236, #0f1729);
}
.post-card-thumb-placeholder .placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* Category badge overlaid on image */
.post-card-thumb .post-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--electric-light);
  background: rgba(11,17,32,0.85);
  border: 1px solid rgba(99,102,241,0.3);
  backdrop-filter: blur(8px);
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
}

/* Card body below image */
.post-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.post-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--electric-light);
}
.post-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}
.post-title a { color: inherit; }
.post-title a:hover { color: var(--electric-light); }
.post-excerpt { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-border);
  margin-top: auto;
}
.post-date { font-size: 0.78rem; color: var(--text-muted); }
.post-read { font-size: 0.78rem; color: var(--electric-light); font-weight: 500; transition: gap 0.2s; }

/* ─────────────────────────────────────────
   TOOLS COMPARISON TABLE
───────────────────────────────────────── */
.tools-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
}
.tools-table { width: 100%; border-collapse: collapse; }
.tools-table thead { background: var(--navy-3); }
.tools-table th {
  text-align: left;
  padding: 0.9rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.tools-table td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.tools-table tr:last-child td { border-bottom: none; }
.tools-table tbody tr { transition: background 0.15s; }
.tools-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.tool-name { font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 0.6rem; }
.tool-emoji { font-size: 1.1rem; }
.rating-dots { display: flex; gap: 3px; }
.dot-filled { width: 8px; height: 8px; background: var(--electric); border-radius: 2px; }
.dot-empty  { width: 8px; height: 8px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.verdict-badge { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 4px; white-space: nowrap; }
.verdict-best  { background: rgba(52,211,153,0.15); color: #34D399; }
.verdict-great { background: var(--electric-glow); color: var(--electric-light); }
.verdict-good  { background: rgba(251,191,36,0.1); color: #FBBF24; }
.price-free    { color: #34D399; font-weight: 600; }
.price-paid    { color: var(--text-secondary); }

/* ─────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(34,211,238,0.06) 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 5rem 2rem;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-inner .section-title { font-size: 2rem; margin-bottom: 0.75rem; }
.newsletter-inner p { color: var(--text-secondary); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: rgba(99,102,241,0.5); }
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ─────────────────────────────────────────
   SINGLE POST / PAGE
───────────────────────────────────────── */
.single-hero {
  background: var(--navy-2);
  border-bottom: 1px solid var(--card-border);
  padding: 4rem 2rem 3rem;
}
.single-hero-inner { max-width: 800px; margin: 0 auto; }
.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.single-meta .post-date, .single-meta .post-read { font-size: 0.85rem; color: var(--text-muted); }
.single-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.single-hero .excerpt { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }

.single-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 4rem;
  align-items: start;
}
.entry-content { min-width: 0; }
.entry-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--text-primary); }
.entry-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--text-primary); }
.entry-content p  { margin-bottom: 1.25rem; color: var(--text-secondary); }
.entry-content ul, .entry-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content a { color: var(--electric-light); text-decoration: underline; }
.entry-content a:hover { color: var(--white); }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; max-width: 100%; }
.entry-content blockquote {
  border-left: 3px solid var(--electric);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--electric-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.entry-content pre, .entry-content code {
  font-family: monospace;
  background: var(--navy-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--cyan);
}
.entry-content pre  { padding: 1.25rem; overflow-x: auto; margin: 1.5rem 0; }
.entry-content code { padding: 0.2rem 0.4rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th {
  background: var(--navy-3);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}
.entry-content td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.sidebar { position: sticky; top: 80px; }
.widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}
.widget ul li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
.widget ul li a:hover { color: var(--electric-light); }

/* AdSense widget */
.widget--adsense { padding: 0; overflow: hidden; background: transparent; border-color: transparent; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--card-border);
}
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─────────────────────────────────────────
   ARCHIVE / BLOG PAGE
───────────────────────────────────────── */
.archive-header {
  background: var(--navy-2);
  border-bottom: 1px solid var(--card-border);
  padding: 3rem 2rem;
}
.archive-header-inner { max-width: 800px; margin: 0 auto; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 3rem 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0 4rem;
}
.pagination a, .pagination span {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .single-content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem 3rem; }
  .hero-visual { order: -1; }
  .review-card--featured { grid-template-columns: 1fr; grid-column: auto; }
  .reviews-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .menu-toggle  { display: block; }
  .primary-nav  { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-2); border-bottom: 1px solid var(--card-border); padding: 1rem; gap: 0.25rem; }
  .primary-nav.open { display: flex; }
  .primary-nav a { width: 100%; padding: 0.65rem 1rem; }
  section { padding: 3.5rem 0; }
  .section { padding: 3rem 0; }
  .posts-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.25rem; }
}

/* ─────────────────────────────────────────
   WORDPRESS CORE CLASSES
───────────────────────────────────────── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sticky { /* wp sticky post */ }
.bypostauthor { /* wp author highlight */ }
