/*
Theme Name: SUW Monitors
Theme URI: https://superultrawidemonitors.com
Author: Entee Digital LLC
Author URI: https://enteedigital.com
Description: Custom WordPress theme for SuperUltraWideMonitors.com — expert reviews and rankings of 49"+ super ultrawide monitors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suw-monitors
Tags: tech-reviews, monitors, dark-mode, custom-post-types
*/

/* ========================================
   SUW Monitors — Design Tokens & Styles
   Dark-first tech review site
   ======================================== */

/* --- Type Scale (fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* --- Spacing (4px base) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Fonts --- */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ========================================
   DARK THEME (default)
   ======================================== */
:root, [data-theme="dark"] {
  --color-bg:             #0d0f12;
  --color-surface:        #141720;
  --color-surface-2:      #1a1e2a;
  --color-surface-offset: #111419;
  --color-border:         #2a2f3d;
  --color-divider:        #1f2333;
  --color-text:           #e8eaf0;
  --color-text-muted:     #8b90a0;
  --color-text-faint:     #505566;
  --color-text-inverse:   #0d0f12;

  /* Primary — Electric Teal */
  --color-primary:        #00d4e0;
  --color-primary-hover:  #00b8c4;
  --color-primary-active: #009aa3;
  --color-primary-glow:   rgba(0, 212, 224, 0.15);

  /* Accent — Subtle Blue */
  --color-accent:         #3b82f6;
  --color-accent-hover:   #2563eb;

  /* Success/Warning/Error */
  --color-success:        #22c55e;
  --color-warning:        #f59e0b;
  --color-error:          #ef4444;

  /* Star rating */
  --color-star:           #f59e0b;
  --color-star-empty:     #2a2f3d;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 224, 0.1);
}

/* ========================================
   LIGHT THEME
   ======================================== */
[data-theme="light"] {
  --color-bg:             #f4f5f7;
  --color-surface:        #ffffff;
  --color-surface-2:      #f9fafb;
  --color-surface-offset: #eef0f3;
  --color-border:         #d1d5de;
  --color-divider:        #e2e5ec;
  --color-text:           #111827;
  --color-text-muted:     #6b7280;
  --color-text-faint:     #9ca3af;
  --color-text-inverse:   #f4f5f7;

  --color-primary:        #0891b2;
  --color-primary-hover:  #0e7490;
  --color-primary-active: #155e75;
  --color-primary-glow:   rgba(8, 145, 178, 0.1);

  --color-accent:         #2563eb;
  --color-accent-hover:   #1d4ed8;

  --color-success:        #16a34a;
  --color-warning:        #d97706;
  --color-error:          #dc2626;

  --color-star:           #d97706;
  --color-star-empty:     #d1d5de;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(8, 145, 178, 0.08);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f4f5f7;
    --color-surface:        #ffffff;
    --color-surface-2:      #f9fafb;
    --color-surface-offset: #eef0f3;
    --color-border:         #d1d5de;
    --color-divider:        #e2e5ec;
    --color-text:           #111827;
    --color-text-muted:     #6b7280;
    --color-text-faint:     #9ca3af;
    --color-text-inverse:   #f4f5f7;
    --color-primary:        #0891b2;
    --color-primary-hover:  #0e7490;
    --color-primary-active: #155e75;
    --color-primary-glow:   rgba(8, 145, 178, 0.1);
    --color-accent:         #2563eb;
    --color-accent-hover:   #1d4ed8;
    --color-success:        #16a34a;
    --color-warning:        #d97706;
    --color-error:          #dc2626;
    --color-star:           #d97706;
    --color-star-empty:     #d1d5de;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(8, 145, 178, 0.08);
  }
}

/* ========================================
   GLOBAL COMPONENT STYLES
   ======================================== */

/* --- Container --- */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-default);
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}

.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}

.logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive);
}

.nav-links a:hover,
.nav-links a:focus { color: var(--color-primary); }

.nav-links a.active { color: var(--color-primary); }

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    gap: var(--space-4);
  }
  .nav-links.open { display: flex; }
}

/* --- Theme Toggle --- */
.theme-toggle {
  padding: var(--space-2);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover { color: var(--color-primary); background: var(--color-surface-2); }

/* --- Section Spacing --- */
.section {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
  background: var(--color-primary-glow);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-amazon { background: #ff9900; color: #111; }
.btn-amazon:hover { background: #e88b00; }

.btn-bestbuy { background: #0046be; color: #fff; }
.btn-bestbuy:hover { background: #003a9e; }

.btn-bhphoto { background: #0058a3; color: #fff; }
.btn-bhphoto:hover { background: #004a8c; }

.btn-walmart { background: #0071dc; color: #fff; }
.btn-walmart:hover { background: #004f9a; }

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

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

.card-body { padding: var(--space-5); }

/* --- Star Rating --- */
.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 18px;
  height: 18px;
  color: var(--color-star);
}

.star--empty { color: var(--color-star-empty); }

/* --- Tags / Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: var(--color-primary-glow);
  color: var(--color-primary);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.3);
}

.badge-award {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* --- Spec Table --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.spec-table th,
.spec-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}

.spec-table th {
  color: var(--color-text-muted);
  font-weight: 500;
  width: 40%;
  white-space: nowrap;
}

.spec-table td {
  color: var(--color-text);
  font-weight: 600;
}

/* --- Comparison Table --- */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-3) var(--space-3);
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  white-space: nowrap;
}

.comparison-table th:last-child,
.comparison-table td:last-child { border-right: none; }

.comparison-table thead th {
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  position: sticky;
  top: 0;
  font-size: var(--text-xs);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text-muted);
  position: sticky;
  left: 0;
  background: var(--color-surface);
  z-index: 1;
}

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

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

@media (max-width: 600px) {
  .pros-cons { grid-template-columns: 1fr; }
}

.pros h4, .cons h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pros h4 { color: var(--color-success); }
.cons h4 { color: var(--color-error); }

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
}

.pros li, .cons li {
  padding: var(--space-1) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.pros li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
}

.cons li::before {
  content: '✗';
  color: var(--color-error);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Product Review Card --- */
.product-review {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  position: relative;
}

.product-review .rank-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-lg);
  font-family: var(--font-display);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding-left: var(--space-12);
}

@media (max-width: 768px) {
  .product-header {
    flex-direction: column;
    padding-left: var(--space-12);
  }
  .product-review { padding: var(--space-5); }
}

.product-image-area {
  width: 280px;
  height: 160px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.product-image-area svg {
  width: 80px;
  height: 40px;
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .product-image-area { width: 100%; height: 120px; }
}

.product-info { flex: 1; }

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.product-price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.product-price .original-price {
  text-decoration: line-through;
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  font-weight: 400;
  margin-left: var(--space-2);
}

.product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.mini-review {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-4);
}

.mini-review p { margin-bottom: var(--space-3); }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(from var(--color-bg) l c h / 0.3) 0%,
    oklch(from var(--color-bg) l c h / 0.7) 50%,
    var(--color-bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-16) var(--space-4);
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Category Cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-end;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-card-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-1);
}

.category-card p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
}

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

.newsletter-form input[type="email"] {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-sm);
}

.newsletter-form input[type="email"]::placeholder { color: var(--color-text-faint); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--color-primary); }

@media (max-width: 500px) {
  .newsletter-form { flex-direction: column; }
  .newsletter { padding: var(--space-8) var(--space-4); }
}

/* --- Footer --- */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) 0 var(--space-6);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  max-width: 35ch;
}

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

.footer-col ul { list-style: none; padding: 0; }

.footer-col li { margin-bottom: var(--space-2); }

.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}

.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.footer-bottom p, .footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--color-primary); }

.affiliate-disclosure {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Top Picks Grid --- */
.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.pick-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: oklch(from var(--color-primary) l c h / 0.3);
}

.pick-card-rank {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: oklch(from var(--color-primary) l c h / 0.2);
  line-height: 1;
}

.pick-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-2) 0;
}

.pick-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.spec-chip {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.pick-card-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-3) 0;
  font-family: var(--font-display);
}

.pick-card-footer { margin-top: auto; }

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: var(--space-16) 0 var(--space-8);
  text-align: center;
}

.page-header-with-image {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-with-image .page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-with-image .page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-header-with-image .page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(from var(--color-bg) l c h / 0.5), var(--color-bg));
}

.page-header-with-image .page-header-content {
  position: relative;
  z-index: 1;
  padding: var(--space-16) var(--space-4);
  text-align: center;
}

/* --- Prose / Long-form Content --- */
.prose { max-width: 75ch; }

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-10) 0 var(--space-4);
  color: var(--color-text);
}

.prose h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-text);
}

.prose p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.prose ul, .prose ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
}

.prose li { margin-bottom: var(--space-2); line-height: 1.6; }

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

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Budget Tier Cards --- */
.budget-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

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

.budget-tier h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.budget-tier .price-range {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
}

.budget-tier p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Latest Reviews Grid --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
  text-decoration: none;
  color: inherit;
  display: block;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card-image {
  height: 160px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card-image svg {
  width: 80px;
  height: 40px;
  color: var(--color-text-faint);
}

.review-card-body { padding: var(--space-5); }

.review-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.review-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- About Page --- */
.about-content {
  max-width: 75ch;
  margin-inline: auto;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: var(--space-10) 0 var(--space-4);
  color: var(--color-text);
}

.about-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-base);
}

.about-content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
}

.about-content li { margin-bottom: var(--space-2); line-height: 1.6; }

/* --- Tabular Nums for prices/specs --- */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ========================================
   MONITOR REVIEW (single-monitors.php)
   Deep-review template styles
   ======================================== */

/* --- Article wrapper --- */
.mr-article {
  max-width: var(--content-default);
  margin-inline: auto;
}

/* --- Numbered section headings --- */
.mr-section {
  margin-bottom: var(--space-12);
}

.mr-section-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mr-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary-glow);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
}

/* --- Section 1: Summary --- */
.mr-summary-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.mr-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mr-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.mr-cta-wrap {
  margin-top: var(--space-6);
}

/* --- Section 2: Key Facts --- */
.mr-key-facts-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.mr-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: var(--space-5);
  margin: 0;
}

.mr-fact {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mr-fact dt {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

.mr-fact dd {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.mr-fact--full {
  grid-column: 1 / -1;
}

/* --- Section 3: Specs columns --- */
.mr-specs-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.mr-specs-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mr-specs-col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-4) var(--space-4) var(--space-2);
}

/* --- Section 4: Use-cases --- */
.mr-uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}

.mr-uc-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.mr-uc-body p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.mr-uc-body strong {
  color: var(--color-text);
}

/* --- Section 6: Pricing --- */
.mr-pricing-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.mr-pricing-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.mr-typical-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.mr-value-summary {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* --- Section 7: Videos --- */
.mr-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  gap: var(--space-6);
}

.mr-video-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mr-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.mr-video-embed iframe,
.mr-video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mr-video-label {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

/* --- Section 8: Alternatives --- */
.mr-alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-4);
}

.mr-alt-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.mr-alt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: oklch(from var(--color-primary) l c h / 0.3);
}

.mr-alt-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}

.mr-alt-specs {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.mr-alt-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

/* --- Section 9: Full specs table --- */
.mr-full-specs-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

/* --- Bottom CTA --- */
.mr-bottom-cta {
  text-align: center;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
}

.mr-secondary-links {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.mr-secondary-links a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
