/*
Theme Name: AI Girlfriend Reviews
Theme URI: https://example.com/
Author: Antigravity AI
Author URI: https://deepmind.google/
Description: A premium, conversion-optimized review publication theme for AI Companions and virtual dating platforms. Dark editorial aesthetic with pink-to-orange gradient accents, structured comparison rows, and high-trust review layouts.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-girlfriend-reviews
*/

/* -------------------------------------------------------------
   1. Design System & Variables
   ------------------------------------------------------------- */
:root {
  --bg-color: #0b0b10;
  --bg-elevated: #101018;
  --card-bg: #14141d;
  --card-bg-hover: #181824;
  --card-border: #232332;
  --card-border-hover: #ff4d7e;

  --text-primary: #f4f4f8;
  --text-secondary: #a7abbd;
  --text-muted: #676d80;

  /* Kept name for template compat — single solid accent */
  --accent-orange: #dc3d55;
  --accent-orange-hover: #c22c44;

  --rating-color: #eab308;
  --success-color: #4ade80;
  --online-color: #4ade80;
  --danger-color: #f87171;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --transition-speed: 0.2s;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
}

/* -------------------------------------------------------------
   2. Reset & Typography
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.7rem; margin-top: 1.5em; }
h3 { font-size: 1.25rem; margin-top: 1.2em; }

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-orange);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(220, 61, 85, 0.35);
  color: #fff;
}

/* -------------------------------------------------------------
   3. Layout Structure
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo span.brand-accent {
  color: inherit;
}

.logo::after {
  content: ".";
  color: var(--accent-orange);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 8px 13px;
  border-radius: 8px;
  display: block;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 0;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-speed) ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-content {
  padding: 0 0 80px 0;
}

/* -------------------------------------------------------------
   4. Buttons & Badges
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-family);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: border-color var(--transition-speed) ease;
}

/* -------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------- */
.hero {
  padding: 76px 24px 56px;
  text-align: center;
  max-width: 820px;
}

.hero-eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.1rem;
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: inherit;
}

.hero p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin: 0 auto 30px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-trust-item {
  font-size: 0.83rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-item strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-color);
  display: inline-block;
}

/* -------------------------------------------------------------
   6. Leaderboard (Top-3 comparison rows)
   ------------------------------------------------------------- */
.leaderboard {
  margin-top: 10px;
  margin-bottom: 64px;
}

.section-heading {
  font-size: 1.65rem;
  margin: 0 0 6px 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.leaderboard-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(230px, 1.5fr) minmax(150px, 0.9fr) minmax(170px, 1fr) minmax(200px, auto);
  align-items: center;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 22px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.leaderboard-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.leaderboard-rank {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}

.featured-winner {
  border: 1px solid rgba(220, 61, 85, 0.5);
}

.featured-winner .leaderboard-rank {
  color: var(--accent-orange);
}

.leaderboard-ribbon {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  z-index: 10;
}

.leaderboard-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.leaderboard-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}

.leaderboard-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--online-color);
  box-shadow: 0 0 0 3px rgba(45, 212, 139, 0.15);
  display: inline-block;
  flex-shrink: 0;
}

.leaderboard-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.tag-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.leaderboard-rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.rating-stars {
  color: var(--rating-color);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.rating-value {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.tier-badge {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: inline-block;
}

.tier-badge.stier {
  background: rgba(255, 176, 31, 0.12);
  color: var(--rating-color);
  border: 1px solid rgba(255, 176, 31, 0.4);
}

.tier-badge.aptier {
  background: rgba(45, 212, 139, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(45, 212, 139, 0.35);
}

.tier-badge.amtier {
  background: rgba(90, 148, 255, 0.1);
  color: #5a94ff;
  border: 1px solid rgba(90, 148, 255, 0.35);
}

.leaderboard-verdict {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.leaderboard-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: center;
}

.deal-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* -------------------------------------------------------------
   7. Review Row Cards (post list)
   ------------------------------------------------------------- */
.posts-section {
  margin-top: 10px;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.post-row-card {
  display: grid;
  grid-template-columns: 190px 1fr 230px 210px;
  align-items: stretch;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.post-row-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card-col-brand {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.015);
}

.brand-rank {
  margin-bottom: 10px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--card-border);
  margin-bottom: 12px;
}

.brand-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.rating-number {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.card-col-details {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--card-border);
  min-width: 0;
}

.card-verdict-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.07em;
}

.card-title {
  font-size: 1.32rem;
  margin: 0 0 8px 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.card-excerpt p {
  margin: 0 0 8px 0;
}

.card-excerpt p:last-child {
  margin-bottom: 0;
}

.card-meta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meta-tag strong {
  color: var(--text-primary);
}

.card-col-proscons {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.008);
}

.quick-pros {
  font-size: 0.85rem;
}

.quick-pros strong {
  color: var(--success-color);
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.quick-pros ul {
  list-style: none;
}

.quick-pros li {
  margin-bottom: 7px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.quick-pros li::before {
  content: "✓";
  color: var(--success-color);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.card-col-actions {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.btn-cta {
  width: 100%;
}

.btn-review-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.btn-review-link:hover {
  color: var(--accent-orange);
}

/* Guide / editorial cards */
.post-article-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  align-items: center;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.post-article-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.article-card-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.article-category-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.article-card-actions {
  text-align: right;
}

/* -------------------------------------------------------------
   8. Single Review Layout
   ------------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-orange);
}

.review-header {
  margin: 36px 0 30px;
}

.review-header h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.review-byline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.review-byline .byline-rating {
  color: var(--text-primary);
  font-weight: 700;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 36px;
}

.review-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 40px;
}

.featured-media {
  margin-bottom: 32px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article body typography */
.entry-content {
  font-size: 1.02rem;
}

.entry-content p {
  margin-bottom: 1.4em;
  color: var(--text-secondary);
  line-height: 1.75;
}

.entry-content strong {
  color: var(--text-primary);
}

.entry-content a {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 77, 126, 0.4);
}

.entry-content a:hover {
  text-decoration-color: var(--accent-orange);
}

.entry-content h2 {
  font-size: 1.55rem;
  margin: 1.8em 0 0.7em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.entry-content h3 {
  font-size: 1.2rem;
  margin: 1.5em 0 0.6em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.4em 1.3em;
  color: var(--text-secondary);
}

.entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.65;
}

.entry-content img {
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin: 10px 0 18px;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 12px 22px;
  margin: 0 0 1.4em;
  background: rgba(255, 77, 126, 0.04);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: 0.92rem;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid var(--card-border);
  padding: 11px 14px;
  text-align: left;
  color: var(--text-secondary);
}

.entry-content table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-weight: 700;
}

.section-title {
  font-size: 1.55rem;
  margin: 2em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

/* Quick verdict shortcode box */
.quick-verdict-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--border-radius-sm);
  padding: 22px 26px;
  margin: 0 0 2em;
}

.quick-verdict-score {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  text-align: center;
}

.quick-verdict-score small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.quick-verdict-body strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.quick-verdict-body span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

.pros-box, .cons-box {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 26px 28px;
}

.pros-cons-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.pros-cons-list {
  list-style: none;
}

.pros-cons-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}

.pros-box li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.cons-box li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

/* Final CTA box */
.final-cta-box {
  text-align: center;
  margin-top: 34px;
  padding: 36px 30px;
  background: var(--bg-elevated);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--card-border);
}

.final-cta-box h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

/* Sidebar */
.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

.widget-sticky {
  position: sticky;
  top: 86px;
}

.review-summary-card {
  text-align: center;
}

.score-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--accent-orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 4px auto 20px;
}

.score-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.score-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.summary-verdict {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 20px;
}

.features-list {
  text-align: left;
  margin: 20px 0;
  border-top: 1px solid var(--card-border);
  padding-top: 18px;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 0.88rem;
}

.feature-name {
  color: var(--text-secondary);
}

.feature-value {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.affiliate-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* -------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------- */
.site-footer {
  background: #08080d;
  padding: 64px 0 40px;
  border-top: 1px solid var(--card-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: var(--text-secondary);
}

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

.disclaimer-box {
  margin-top: 26px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.78rem;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

/* -------------------------------------------------------------
   10. Pagination
   ------------------------------------------------------------- */
.posts-navigation {
  margin: 44px 0 0;
  width: 100%;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.posts-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-speed) ease;
}

.posts-navigation a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* -------------------------------------------------------------
   11. Responsive
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .widget-sticky {
    position: static;
  }

  .leaderboard-item {
    grid-template-columns: 40px minmax(200px, 2fr) 1fr auto;
  }

  .leaderboard-verdict {
    display: none;
  }

  .post-row-card {
    grid-template-columns: 1fr;
  }

  .card-col-brand, .card-col-details, .card-col-proscons {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 22px;
  }

  .card-col-brand {
    flex-direction: row;
    gap: 18px;
    justify-content: flex-start;
    text-align: left;
  }

  .brand-logo {
    margin-bottom: 0;
  }

  .brand-rank {
    margin-bottom: 0;
    order: 3;
    margin-left: auto;
  }

  .brand-rating {
    align-items: flex-start;
  }

  .card-col-actions {
    padding: 22px;
  }

  .post-article-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }

  .article-card-actions {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Navbar mobile toggle */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: #0e0e15;
    border-left: 1px solid var(--card-border);
    flex-direction: column;
    padding: 80px 26px;
    gap: 8px;
    transition: right 0.3s ease;
    z-index: 105;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 40px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust {
    gap: 14px 22px;
  }

  .review-header h1 {
    font-size: 1.85rem;
  }

  .review-content {
    padding: 24px 20px;
  }

  .leaderboard-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
    padding: 28px 20px;
  }

  .leaderboard-rank {
    display: none;
  }

  .leaderboard-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leaderboard-name {
    justify-content: center;
  }

  .leaderboard-tags {
    justify-content: center;
  }

  .leaderboard-rating {
    align-items: center;
  }

  .leaderboard-action .btn {
    width: 100%;
  }

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

  .quick-verdict-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
}

/* -------------------------------------------------------------
   9. Redesign 2026-07: real screenshots, fractional stars
   ------------------------------------------------------------- */
.stars { position: relative; display: inline-block; line-height: 1; font-size: 1rem; letter-spacing: 2px; }
.stars-base { color: rgba(255, 255, 255, 0.16); }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f0b24a; }

.leaderboard-shot,
.brand-shot {
  width: 128px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  display: block;
  flex: none;
}
.thumb-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 61, 85, 0.10);
  border: 1px solid rgba(220, 61, 85, 0.35);
  color: var(--accent-orange);
  font-weight: 800;
  font-size: 1.5rem;
}
.leaderboard-action { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }

.post-article-card { display: grid; grid-template-columns: 168px 1fr auto; gap: 20px; align-items: center; }
.article-card-thumb img, .article-card-thumb { width: 168px; height: 105px; object-fit: cover; object-position: top; border-radius: 8px; display: block; border: 1px solid var(--card-border); }
@media (max-width: 760px) {
  .post-article-card { grid-template-columns: 1fr; }
  .article-card-thumb, .article-card-thumb img { width: 100%; height: 160px; }
  .leaderboard-shot, .brand-shot { width: 100%; height: 140px; }
}
.post-article-card.no-thumb { grid-template-columns: 1fr auto; }

/* -------------------------------------------------------------
   14. Hub pages (category archives + rankings)
   ------------------------------------------------------------- */
.hub-header {
  padding: 48px 24px 8px;
}

.hub-title {
  font-size: 2.6rem;
  margin: 10px 0 12px;
}

.hub-subtitle,
.hub-intro {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.hub-intro p { margin-bottom: 12px; }

.hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 10px;
}

.hub-chip {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-speed);
}

.hub-chip:hover {
  border-color: var(--accent-orange);
  color: var(--text-primary);
}

.hub-chip.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.hub-cta {
  margin: 40px auto 64px;
}

.post-row-card.ranked {
  position: relative;
}

.rank-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm) 0 var(--border-radius-sm) 0;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  z-index: 2;
}

/* -------------------------------------------------------------
   15. Single-post additions
   ------------------------------------------------------------- */
.review-layout.no-sidebar {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.summary-title {
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.btn-block {
  width: 100%;
}

.sidebar-links-card {
  margin-top: 16px;
  padding: 18px 20px;
}

.sidebar-links {
  list-style: none;
  margin-top: 10px;
}

.sidebar-links li {
  padding: 5px 0;
  border-bottom: 1px solid var(--card-border);
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.sidebar-links a:hover { color: var(--accent-orange); }

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 20px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
}

.author-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.author-bio strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.author-bio p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.author-bio a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.author-bio a:hover { color: var(--accent-orange); }

.related-section {
  margin: 56px 0 64px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
}

.related-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.related-card .article-category-badge { align-self: flex-start; }

.related-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.related-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* -------------------------------------------------------------
   16. [vs] comparison table
   ------------------------------------------------------------- */
.vs-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
}

.vs-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.vs-table th,
.vs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  vertical-align: top;
}

.vs-table thead th {
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-size: 1rem;
}

.vs-table tbody th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.vs-table tr:last-child th,
.vs-table tr:last-child td { border-bottom: none; }

/* -------------------------------------------------------------
   17. Static pages
   ------------------------------------------------------------- */
.static-page {
  max-width: 820px;
  margin: 0 auto 64px;
}

.page-body {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.03rem;
}

.page-body h2 {
  color: var(--text-primary);
  margin-top: 2em;
}

.page-body h3 { color: var(--text-primary); }

.page-body ul,
.page-body ol {
  margin: 0 0 1.2em 1.4em;
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--card-border);
}

.page-body th,
.page-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
}

.page-body thead th { background: var(--bg-elevated); color: var(--text-primary); }

.footer-blurb {
  margin-bottom: 15px;
  max-width: 320px;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
  .hub-title { font-size: 2rem; }
  .review-layout.no-sidebar { grid-template-columns: 1fr; }
}
