/*
Theme Name: WarrantyQ
Theme URI: https://warrantyq.com
Author: WarrantyQ
Author URI: https://warrantyq.com
Description: Dark cinematic editorial theme for WarrantyQ.com — Home, Auto & Electronics Warranty Reviews. Awwwards-level design with luxury aesthetics, cinematic card hovers, and full-bleed hero imagery.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warrantyq
Tags: blog, custom-logo, custom-menu, featured-images, full-width-template, one-column, two-columns, theme-options, translation-ready
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Surface palette — deep cinematic darks */
  --wq-black: #FAFAF7;
  --wq-void: #F5F4F0;
  --wq-night: #FFFFFF;
  --wq-coal: #FFFFFF;
  --wq-ash: #F5F4F0;
  --wq-smoke: #E8E6E1;
  --wq-stone: #DDD;
  --wq-steel: #5A5A5A;
  --wq-grey: #888888;
  --wq-silver: #AAAAAA;
  --wq-mist: #CCCCCC;

  /* Cream & warm highlights */
  --wq-cream: #F0E6D3;
  --wq-ivory: #FAF5ED;
  --wq-white: #FEFCF9;
  --wq-warm: #E8D5B8;

  /* Accent — burnished gold */
  --wq-gold: #9B7B3C;
  --wq-gold-bright: #B8963F;
  --wq-gold-dim: #A88B52;
  --wq-gold-glow: rgba(201, 169, 110, 0.15);

  /* Signal colors — muted, sophisticated */
  --wq-sage: #7DAF7D;
  --wq-sage-bg: rgba(125, 175, 125, 0.08);
  --wq-rose: #C47070;
  --wq-rose-bg: rgba(196, 112, 112, 0.08);
  --wq-azure: #6E9AC9;
  --wq-violet: #9B7DC9;

  /* Stars */
  --wq-star: #C9A96E;
  --wq-star-empty: #3A3A3A;

  /* Category colors */
  --wq-cat-home: #C9A96E;
  --wq-cat-auto: #6E9AC9;
  --wq-cat-elec: #C47070;

  /* Type system — cinematic editorial */
  --wq-font-display: 'Playfair Display', 'Georgia', serif;
  --wq-font-heading: 'Syne', 'Helvetica Neue', sans-serif;
  --wq-font-body: 'Libre Franklin', 'Helvetica Neue', sans-serif;
  --wq-font-mono: 'IBM Plex Mono', monospace;

  /* Spacing */
  --wq-space-xs: 0.25rem;
  --wq-space-sm: 0.5rem;
  --wq-space-md: 1rem;
  --wq-space-lg: 1.5rem;
  --wq-space-xl: 2.5rem;
  --wq-space-2xl: 4rem;
  --wq-space-3xl: 6rem;
  --wq-space-4xl: 8rem;
  --wq-space-5xl: 12rem;

  /* Radius — mostly none or subtle */
  --wq-radius-sm: 3px;
  --wq-radius-md: 6px;
  --wq-radius-lg: 10px;

  /* Shadows — dramatic */
  --wq-shadow-subtle: 0 1px 2px rgba(0,0,0,0.3);
  --wq-shadow-card: 0 4px 30px rgba(0,0,0,0.4);
  --wq-shadow-elevated: 0 20px 60px rgba(0,0,0,0.5);
  --wq-shadow-gold: 0 0 40px rgba(201,169,110,0.08);

  /* Layout */
  --wq-max-width: 1400px;
  --wq-content-width: 820px;
  --wq-sidebar-width: 380px;

  /* Motion — slow, cinematic */
  --wq-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wq-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --wq-ease-dramatic: cubic-bezier(0.77, 0, 0.175, 1);
  --wq-duration: 0.6s;
  --wq-duration-fast: 0.35s;
  --wq-duration-slow: 1s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--wq-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4A4A;
  background: var(--wq-black);
  overflow-x: hidden;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

a {
  color: var(--wq-cream);
  text-decoration: none;
  transition: color var(--wq-duration-fast) var(--wq-ease);
}
a:hover { color: var(--wq-gold); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wq-font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--wq-cream);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p + p { margin-top: var(--wq-space-md); }

::selection { background: var(--wq-gold); color: var(--wq-black); }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ============================================
   CONTAINER
   ============================================ */
.wq-container {
  max-width: var(--wq-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.wq-container--narrow {
  max-width: var(--wq-content-width);
}

/* ============================================
   BADGES — refined, understated
   ============================================ */
.wq-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid;
  background: transparent;
}
.wq-badge--home {
  border-color: var(--wq-cat-home);
  color: var(--wq-cat-home);
}
.wq-badge--auto {
  border-color: var(--wq-cat-auto);
  color: var(--wq-cat-auto);
}
.wq-badge--electronics {
  border-color: var(--wq-cat-elec);
  color: var(--wq-cat-elec);
}
.wq-badge--top-pick {
  border-color: var(--wq-gold);
  color: var(--wq-gold);
  background: var(--wq-gold-glow);
}

/* ============================================
   HEADER — minimal, floating
   ============================================ */
.wq-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--wq-duration) var(--wq-ease);
}
.wq-header--scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}
.wq-header .wq-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.wq-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.wq-logo__mark {
  width: 38px;
  height: 38px;
  background: var(--wq-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wq-font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
}
.wq-logo__mark::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--wq-gold);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.wq-logo__divider {
  width: 1px;
  height: 28px;
  background: var(--wq-stone);
}
.wq-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wq-logo__name {
  font-family: var(--wq-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wq-cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.wq-logo__tagline {
  font-family: var(--wq-font-body);
  font-size: 0.6rem;
  color: var(--wq-steel);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
}

/* Nav */
.wq-nav__menu {
  display: flex;
  list-style: none;
  gap: 0;
}
.wq-nav__menu > li > a {
  display: block;
  padding: 8px 20px;
  color: var(--wq-grey);
  font-family: var(--wq-font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--wq-duration-fast) var(--wq-ease);
  position: relative;
}
.wq-nav__menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--wq-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--wq-duration-fast) var(--wq-ease);
}
.wq-nav__menu > li > a:hover {
  color: var(--wq-cream);
}
.wq-nav__menu > li > a:hover::after,
.wq-nav__menu > li.current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.wq-nav__menu > li.current-menu-item > a {
  color: var(--wq-gold);
}

/* Sub-menus */
.wq-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--wq-coal);
  min-width: 220px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--wq-duration-fast) var(--wq-ease);
  padding: 8px;
  border: 1px solid var(--wq-smoke);
}
.wq-nav__menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.wq-nav__menu .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: #4A4A4A;
  font-size: 0.82rem;
  font-family: var(--wq-font-body);
  letter-spacing: 0.02em;
  text-transform: none;
}
.wq-nav__menu .sub-menu a:hover {
  color: var(--wq-gold);
  background: rgba(201, 169, 110, 0.05);
}

/* Mobile toggle */
.wq-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--wq-stone);
  color: var(--wq-cream);
  padding: 8px 14px;
  font-family: var(--wq-font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-mobile-toggle:hover {
  border-color: var(--wq-gold);
  color: var(--wq-gold);
}

/* ============================================
   HERO — full-bleed cinematic
   ============================================ */
.wq-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--wq-black);
}
.wq-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s var(--wq-ease-out);
  filter: brightness(0.4) contrast(1.1);
}
.wq-hero:hover .wq-hero__bg {
  transform: scale(1);
}
/* Gradient overlays */
.wq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--wq-black) 0%, rgba(10,10,10,0.6) 40%, rgba(10,10,10,0.2) 70%, rgba(10,10,10,0.4) 100%);
  z-index: 1;
}
.wq-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 90%, rgba(201,169,110,0.06) 0%, transparent 70%);
  z-index: 1;
}

.wq-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--wq-space-5xl) 0 var(--wq-space-3xl);
  max-width: 800px;
}

.wq-hero__label {
  font-family: var(--wq-font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wq-gold);
  margin-bottom: var(--wq-space-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wq-hero__label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--wq-gold);
}

.wq-hero__title {
  font-family: var(--wq-font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--wq-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--wq-space-xl);
}
.wq-hero__title em {
  font-style: normal;
  color: var(--wq-gold);
}

.wq-hero__subtitle {
  font-size: 1.15rem;
  color: var(--wq-grey);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--wq-space-2xl);
  font-weight: 300;
}

/* Hero search */
.wq-hero__search {
  max-width: 480px;
  position: relative;
  margin-bottom: var(--wq-space-2xl);
}
.wq-hero__search input {
  width: 100%;
  padding: 18px 56px 18px 0;
  border: none;
  border-bottom: 1px solid var(--wq-stone);
  background: transparent;
  color: var(--wq-cream);
  font-family: var(--wq-font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: border-color var(--wq-duration-fast) var(--wq-ease);
}
.wq-hero__search input::placeholder { color: var(--wq-steel); }
.wq-hero__search input:focus {
  outline: none;
  border-color: var(--wq-gold);
}
.wq-hero__search button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--wq-gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  transition: transform var(--wq-duration-fast) var(--wq-ease);
}
.wq-hero__search button:hover {
  transform: translateY(-50%) translateX(4px);
}

/* Hero categories */
.wq-hero__cats {
  display: flex;
  gap: var(--wq-space-xl);
}
.wq-hero__cat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--wq-steel);
  font-family: var(--wq-font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--wq-duration-fast) var(--wq-ease);
  position: relative;
  padding-left: 16px;
}
.wq-hero__cat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: background var(--wq-duration-fast) var(--wq-ease);
}
.wq-hero__cat--home::before { background: var(--wq-cat-home); }
.wq-hero__cat--auto::before { background: var(--wq-cat-auto); }
.wq-hero__cat--elec::before { background: var(--wq-cat-elec); }
.wq-hero__cat:hover { color: var(--wq-cream); }
.wq-hero__cat-count {
  font-family: var(--wq-font-body);
  font-size: 0.65rem;
  color: var(--wq-stone);
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* Scroll indicator */
.wq-hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--wq-steel);
  font-family: var(--wq-font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.wq-hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--wq-gold), transparent);
  animation: wqPulse 2s infinite;
}
@keyframes wqPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   SECTION HERO (category pages)
   ============================================ */
.wq-section-hero {
  border-bottom: 1px solid var(--wq-smoke);
}
.wq-section-hero .wq-section-header__label {
  margin-bottom: var(--wq-space-md);
}

/* ============================================
   SECTION LAYOUT
   ============================================ */
.wq-main { padding: 0; }

.wq-section {
  padding: var(--wq-space-3xl) 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.wq-section--flush { padding: 0; border: none; }

.wq-layout {
  display: grid;
  grid-template-columns: 1fr var(--wq-sidebar-width);
  gap: var(--wq-space-3xl);
  align-items: start;
}

/* Section headers — editorial */
.wq-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--wq-space-2xl);
  padding-bottom: var(--wq-space-lg);
  border-bottom: 1px solid var(--wq-smoke);
}
.wq-section-header__label {
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wq-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--wq-space-sm);
}
.wq-section-header__label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--wq-gold);
}
.wq-section-header__title {
  font-family: var(--wq-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 700;
}
.wq-section-header__link {
  font-family: var(--wq-font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wq-steel);
  transition: color var(--wq-duration-fast) var(--wq-ease);
  white-space: nowrap;
}
.wq-section-header__link:hover { color: var(--wq-gold); }

/* ============================================
   REVIEW CARDS — cinematic hover
   ============================================ */
.wq-card-grid {
  display: grid;
  gap: 2px;
}
.wq-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wq-card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.wq-review-card {
  position: relative;
  overflow: hidden;
  background: var(--wq-coal);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.wq-review-card__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.wq-review-card__image img,
.wq-review-card__image .wq-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wq-duration-slow) var(--wq-ease-dramatic), filter var(--wq-duration) var(--wq-ease);
  filter: brightness(0.5) saturate(0.8);
}
.wq-review-card:hover .wq-review-card__image img,
.wq-review-card:hover .wq-review-card__image .wq-placeholder {
  transform: scale(1.08);
  filter: brightness(0.35) saturate(0.6);
}

/* Card overlay */
.wq-review-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.1) 100%);
  z-index: 1;
  transition: background var(--wq-duration) var(--wq-ease);
}
.wq-review-card:hover .wq-review-card__overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.2) 100%);
}

/* Card content */
.wq-review-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--wq-space-xl);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wq-review-card__badges {
  display: flex;
  gap: 8px;
  position: absolute;
  top: var(--wq-space-xl);
  left: var(--wq-space-xl);
  z-index: 2;
}

.wq-review-card__category {
  font-family: var(--wq-font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wq-gold);
}

.wq-review-card__title {
  font-family: var(--wq-font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--wq-white);
  line-height: 1.15;
  transition: color var(--wq-duration-fast) var(--wq-ease);
}
.wq-review-card__title a {
  color: inherit;
}
.wq-review-card:hover .wq-review-card__title { color: var(--wq-gold-bright); }

.wq-review-card__excerpt {
  font-size: 0.88rem;
  color: var(--wq-grey);
  line-height: 1.5;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--wq-duration) var(--wq-ease), opacity var(--wq-duration-fast) var(--wq-ease);
}
.wq-review-card:hover .wq-review-card__excerpt {
  max-height: 80px;
  opacity: 1;
}

.wq-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 6px;
}
.wq-review-card__date {
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-steel);
}

/* Arrow indicator */
.wq-review-card__arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--wq-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wq-steel);
  font-size: 0.85rem;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-review-card:hover .wq-review-card__arrow {
  border-color: var(--wq-gold);
  color: var(--wq-gold);
  transform: translateX(4px);
}

/* Rating */
.wq-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wq-rating__stars {
  display: flex;
  gap: 2px;
  color: var(--wq-star);
  font-size: 0.8rem;
}
.wq-rating__stars .empty { color: var(--wq-star-empty); }
.wq-rating__score {
  font-family: var(--wq-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--wq-cream);
  letter-spacing: 0.04em;
}
.wq-rating__max {
  color: var(--wq-steel);
  font-size: 0.75rem;
}

/* Featured card — wider */
.wq-review-card--featured {
  aspect-ratio: 21/9;
  grid-column: 1 / -1;
}
.wq-review-card--featured .wq-review-card__content {
  padding: var(--wq-space-2xl);
}
.wq-review-card--featured .wq-review-card__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.wq-review-card--featured .wq-review-card__excerpt {
  max-height: 60px;
  opacity: 0.8;
}

/* ============================================
   COMPARISON TABLE — dark editorial
   ============================================ */
.wq-comparison-table {
  overflow: hidden;
  margin-bottom: var(--wq-space-xl);
}
.wq-comparison-table table {
  width: 100%;
  border-collapse: collapse;
}
.wq-comparison-table thead {
  border-bottom: 1px solid var(--wq-smoke);
}
.wq-comparison-table th {
  padding: 16px 20px;
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wq-steel);
  text-align: left;
}
.wq-comparison-table td {
  padding: 20px;
  font-size: 0.92rem;
  color: #4A4A4A;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.wq-comparison-table tbody tr {
  transition: background var(--wq-duration-fast) var(--wq-ease);
}
.wq-comparison-table tbody tr:hover {
  background: rgba(201, 169, 110, 0.03);
}
.wq-table-rank {
  font-family: var(--wq-font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--wq-gold);
  width: 50px;
}
.wq-table-company {
  font-family: var(--wq-font-heading);
  font-weight: 700;
  color: var(--wq-cream);
  letter-spacing: 0.02em;
}
.wq-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1px solid var(--wq-gold-dim);
  color: var(--wq-gold);
  font-family: var(--wq-font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-table-btn:hover {
  background: var(--wq-gold);
  color: var(--wq-black);
  border-color: var(--wq-gold);
}

/* ============================================
   SIDEBAR — minimal
   ============================================ */
.wq-widget {
  margin-bottom: var(--wq-space-2xl);
  padding-bottom: var(--wq-space-2xl);
  border-bottom: 1px solid var(--wq-smoke);
}
.wq-widget:last-child { border-bottom: none; }
.wq-widget__title {
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wq-gold);
  margin-bottom: var(--wq-space-lg);
}

/* Newsletter */
.wq-widget--newsletter p {
  color: var(--wq-grey);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: var(--wq-space-lg);
}
.wq-widget--newsletter input[type="email"] {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--wq-stone);
  background: transparent;
  color: var(--wq-cream);
  font-family: var(--wq-font-body);
  font-size: 0.92rem;
  margin-bottom: var(--wq-space-md);
}
.wq-widget--newsletter input[type="email"]::placeholder { color: var(--wq-steel); }
.wq-widget--newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--wq-gold);
}
.wq-widget--newsletter button {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--wq-gold-dim);
  background: transparent;
  color: var(--wq-gold);
  font-family: var(--wq-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-widget--newsletter button:hover {
  background: var(--wq-gold);
  color: var(--wq-black);
}

/* Popular list */
.wq-popular-list { list-style: none; counter-reset: popular; }
.wq-popular-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  counter-increment: popular;
}
.wq-popular-list__item:last-child { border-bottom: none; }
.wq-popular-list__item::before {
  content: counter(popular, decimal-leading-zero);
  font-family: var(--wq-font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--wq-stone);
  min-width: 32px;
  line-height: 1.2;
}
.wq-popular-list__link {
  font-family: var(--wq-font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: #4A4A4A;
  line-height: 1.4;
  transition: color var(--wq-duration-fast) var(--wq-ease);
}
.wq-popular-list__link:hover { color: var(--wq-gold); }

/* ============================================
   SINGLE ARTICLE
   ============================================ */
.wq-article__hero {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--wq-coal);
}
.wq-article__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.wq-article__header {
  padding: var(--wq-space-2xl) 0;
  border-bottom: 1px solid var(--wq-smoke);
  margin-bottom: var(--wq-space-xl);
}
.wq-article__meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--wq-space-lg);
}
.wq-article__title {
  font-family: var(--wq-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--wq-space-lg);
}
.wq-article__meta-bottom {
  display: flex;
  align-items: center;
  gap: var(--wq-space-xl);
  font-family: var(--wq-font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-steel);
}

/* Score box */
.wq-score-box {
  border: 1px solid var(--wq-smoke);
  padding: var(--wq-space-xl);
  margin-bottom: var(--wq-space-2xl);
  display: flex;
  align-items: center;
  gap: var(--wq-space-xl);
}
.wq-score-box__circle {
  width: 90px; height: 90px;
  border: 2px solid var(--wq-gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wq-score-box__number {
  font-family: var(--wq-font-display);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--wq-gold);
  line-height: 1;
}
.wq-score-box__outof {
  font-family: var(--wq-font-heading);
  font-size: 0.55rem;
  color: var(--wq-steel);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wq-score-box__bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.wq-score-box__bar-label {
  min-width: 80px;
  font-family: var(--wq-font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-steel);
}
.wq-score-box__bar-track {
  flex: 1; height: 3px;
  background: var(--wq-smoke);
}
.wq-score-box__bar-fill {
  height: 100%;
  background: var(--wq-gold);
  transition: width var(--wq-duration-slow) var(--wq-ease-dramatic);
}
.wq-score-box__bar-val {
  min-width: 30px;
  text-align: right;
  font-family: var(--wq-font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--wq-cream);
}

/* Pros/Cons */
.wq-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wq-space-md);
  margin: var(--wq-space-2xl) 0;
}
.wq-proscons__box { padding: var(--wq-space-xl); }
.wq-proscons__box--pros { background: var(--wq-sage-bg); border-left: 2px solid var(--wq-sage); }
.wq-proscons__box--cons { background: var(--wq-rose-bg); border-left: 2px solid var(--wq-rose); }
.wq-proscons__title {
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--wq-space-md);
}
.wq-proscons__box--pros .wq-proscons__title { color: var(--wq-sage); }
.wq-proscons__box--cons .wq-proscons__title { color: var(--wq-rose); }
.wq-proscons__list { list-style: none; font-size: 0.92rem; }
.wq-proscons__list li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: #4A4A4A;
}
.wq-proscons__list li::before {
  position: absolute; left: 0; font-size: 0.8rem;
}
.wq-proscons__box--pros .wq-proscons__list li::before { content: '+'; color: var(--wq-sage); }
.wq-proscons__box--cons .wq-proscons__list li::before { content: '−'; color: var(--wq-rose); }

/* Article content */
.wq-article__content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4A4A4A;
}
.wq-article__content h2 {
  margin: var(--wq-space-2xl) 0 var(--wq-space-md);
  font-family: var(--wq-font-display);
  font-style: italic;
}
.wq-article__content blockquote {
  border-left: 2px solid var(--wq-gold);
  padding: var(--wq-space-lg) var(--wq-space-xl);
  margin: var(--wq-space-xl) 0;
  font-style: italic;
  color: var(--wq-cream);
  font-size: 1.1rem;
  background: var(--wq-gold-glow);
}

/* ============================================
   BUTTONS — editorial
   ============================================ */
.wq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--wq-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: all var(--wq-duration-fast) var(--wq-ease);
  text-decoration: none;
}
.wq-btn--primary {
  border-color: var(--wq-gold);
  color: var(--wq-gold);
  background: transparent;
}
.wq-btn--primary:hover {
  background: var(--wq-gold);
  color: var(--wq-black);
}
.wq-btn--filled {
  border-color: var(--wq-gold);
  color: var(--wq-black);
  background: var(--wq-gold);
}
.wq-btn--filled:hover {
  background: var(--wq-gold-bright);
  border-color: var(--wq-gold-bright);
  color: var(--wq-black);
}
.wq-btn--ghost {
  border-color: var(--wq-stone);
  color: var(--wq-grey);
  background: transparent;
}
.wq-btn--ghost:hover {
  border-color: var(--wq-cream);
  color: var(--wq-cream);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.wq-breadcrumbs {
  padding: var(--wq-space-lg) 0;
  font-family: var(--wq-font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-steel);
}
.wq-breadcrumbs a { color: var(--wq-grey); }
.wq-breadcrumbs a:hover { color: var(--wq-gold); }
.wq-breadcrumbs .sep { margin: 0 8px; opacity: 0.3; }

/* ============================================
   PAGINATION
   ============================================ */
.wq-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: var(--wq-space-2xl);
}
.wq-pagination a, .wq-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-family: var(--wq-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-pagination a {
  color: var(--wq-grey);
  border: 1px solid var(--wq-smoke);
}
.wq-pagination a:hover {
  border-color: var(--wq-gold);
  color: var(--wq-gold);
}
.wq-pagination .current {
  background: var(--wq-gold);
  color: var(--wq-black);
  border: 1px solid var(--wq-gold);
}

/* ============================================
   FOOTER — editorial masthead
   ============================================ */
.wq-footer {
  border-top: 1px solid var(--wq-smoke);
  margin-top: var(--wq-space-3xl);
}
.wq-footer__main {
  padding: var(--wq-space-3xl) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--wq-space-2xl);
}
.wq-footer__brand-text {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--wq-grey);
  margin-top: var(--wq-space-lg);
  line-height: 1.6;
}
.wq-footer__col-title {
  font-family: var(--wq-font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wq-steel);
  margin-bottom: var(--wq-space-lg);
}
.wq-footer__links { list-style: none; }
.wq-footer__links li { margin-bottom: 10px; }
.wq-footer__links a {
  color: var(--wq-grey);
  font-size: 0.88rem;
  font-weight: 300;
  transition: color var(--wq-duration-fast) var(--wq-ease);
}
.wq-footer__links a:hover { color: var(--wq-gold); }
.wq-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: var(--wq-space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--wq-steel);
  font-weight: 300;
}
.wq-footer__disclaimer {
  max-width: 500px;
  font-size: 0.68rem;
  line-height: 1.5;
  opacity: 0.5;
}

/* ============================================
   404
   ============================================ */
.wq-404 {
  text-align: center;
  padding: var(--wq-space-5xl) 0 var(--wq-space-3xl);
}
.wq-404__code {
  font-family: var(--wq-font-display);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  font-style: italic;
  color: var(--wq-smoke);
  line-height: 1;
}

/* ============================================
   COMMENTS
   ============================================ */
.wq-comments { padding-top: var(--wq-space-2xl); border-top: 1px solid var(--wq-smoke); }
.wq-comments .comment-list { list-style: none; }
.wq-comments .comment { padding: var(--wq-space-lg) 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.wq-comments .comment-author { font-family: var(--wq-font-heading); font-weight: 700; color: var(--wq-cream); font-size: 0.9rem; }
.wq-comments .comment-metadata { font-size: 0.75rem; color: var(--wq-steel); }
.wq-comments input[type="text"],
.wq-comments input[type="email"],
.wq-comments input[type="url"],
.wq-comments textarea {
  width: 100%; padding: 14px 0;
  border: none; border-bottom: 1px solid var(--wq-stone);
  background: transparent; color: var(--wq-cream);
  font-family: var(--wq-font-body); font-size: 0.95rem;
  margin-bottom: var(--wq-space-md);
}
.wq-comments input:focus, .wq-comments textarea:focus { outline: none; border-color: var(--wq-gold); }
.wq-comments .form-submit input {
  background: transparent; color: var(--wq-gold); border: 1px solid var(--wq-gold-dim);
  padding: 14px 32px; font-family: var(--wq-font-heading); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: all var(--wq-duration-fast) var(--wq-ease);
}
.wq-comments .form-submit input:hover { background: var(--wq-gold); color: var(--wq-black); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes wqReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wqFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wqSlideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.wq-hero__content > * {
  animation: wqSlideIn 0.8s var(--wq-ease) both;
}
.wq-hero__content > :nth-child(1) { animation-delay: 0.3s; }
.wq-hero__content > :nth-child(2) { animation-delay: 0.5s; }
.wq-hero__content > :nth-child(3) { animation-delay: 0.7s; }
.wq-hero__content > :nth-child(4) { animation-delay: 0.9s; }
.wq-hero__content > :nth-child(5) { animation-delay: 1.1s; }
.wq-hero__scroll { animation: wqFadeIn 1s 1.5s var(--wq-ease) both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .wq-layout { grid-template-columns: 1fr; }
  .wq-card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .wq-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wq-nav { display: none; }
  .wq-mobile-toggle { display: block; }
  .wq-nav--open {
    display: flex;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    z-index: 9998;
    align-items: center;
    justify-content: center;
  }
  .wq-nav--open .wq-nav__menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .wq-nav--open .wq-nav__menu > li > a {
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    padding: 12px 24px;
    color: var(--wq-cream);
  }
  .wq-card-grid--3, .wq-card-grid--2 { grid-template-columns: 1fr; }
  .wq-review-card { aspect-ratio: 3/2; }
  .wq-hero__content { padding-top: var(--wq-space-4xl); }
  .wq-hero__cats { flex-direction: column; gap: var(--wq-space-md); }
  .wq-hero__scroll { display: none; }
  .wq-proscons { grid-template-columns: 1fr; }
  .wq-score-box { flex-direction: column; text-align: center; }
  .wq-footer__main { grid-template-columns: 1fr; }
  .wq-footer__bottom { flex-direction: column; gap: var(--wq-space-md); text-align: center; }
  .wq-comparison-table { overflow-x: auto; }
}
