/*
Theme Name:   VoltWorkHQ Child
Theme URI:    https://voltworkhq.com
Description:  VoltWorkHQ Child Theme for Kadence — Industrial Off-Grid Power Portal
Author:       VoltWorkHQ
Template:     kadence
Version:      2.0.0
*/

/* ============================================================
   TABLE OF CONTENTS
   -----------------
   1.  Design Tokens (CSS Custom Properties)
   2.  Google Fonts
   3.  Global Reset & Base
   4.  Typography Scale
   5.  Header & Navigation
   6.  Mega Menu
   7.  Footer
   8.  Buttons & CTAs
   9.  Badges & Labels
   10. Hero Sections
   11. Dark Page Sections
   12. Product & Gear Cards
   13. Category & Archive Pages
   14. Solutions Row
   15. Trust Bar & Brand Logos
   16. Sidebar
   17. /vs/ Comparison Pages
   18. /tools/ Calculator Pages
   19. Article — Content Well Layout
   20. Article — Typography
   21. Article — Links & Lists
   22. Article — Comparison Tables
   23. Article — Affiliate & Product Boxes
   24. Article — VW Components (Summary, Stats, TOC, Callout, Product, Takeaways, CTA)
   25. RankMath Breadcrumbs
   26. ThirstyAffiliates Links
   27. WP All Import Cleanup
   28. Responsive — Tablet (max 1024px)
   29. Responsive — Mobile (max 768px)
   30. Responsive — Small Mobile (max 480px)
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* Brand Colors — Dark Chrome */
  --color-icon-navy:      #0F172A;
  --color-deep-navy:      #0A0E1A;
  --color-card-surface:   #0F172A;
  --color-card-hover:     #152238;
  --color-border-dark:    rgba(255,255,255,0.07);
  --color-border-dark-md: rgba(255,255,255,0.12);

  /* Cyan Accent */
  --color-cyan:           #38BDF8;
  --color-cyan-hover:     #7DD3FC;
  --color-cyan-dim:       rgba(56,189,248,0.12);
  --color-cyan-border:    rgba(56,189,248,0.20);
  --color-cyan-2:         #3DB7E8;

  /* Content Well — Light Surfaces */
  --color-content-bg:     #FFFFFF;
  --color-content-alt:    #F8FAFC;
  --color-border-light:   #E2E8F0;

  /* Text — Dark Backgrounds */
  --color-text-white:     #FFFFFF;
  --color-text-light:     #E2EDF8;
  --color-text-muted:     #94A3B8;

  /* Text — Light Backgrounds */
  --color-text-dark:      #0F172A;
  --color-text-body:      #1E293B;
  --color-text-meta:      #64748B;

  /* Links */
  --color-link-dark-bg:   #38BDF8;
  --color-link-light-bg:  #0369A1;
  --color-link-hover:     #0284C7;

  /* Accent & Status */
  --color-orange:         #E8622A;
  --color-orange-dim:     rgba(232,98,42,0.12);
  --color-success:        #16A34A;
  --color-warning:        #D97706;

  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Font Scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  44px;
  --text-4xl:  60px;

  /* Spacing Scale */
  --space-1:  4px;  --space-2:  8px;  --space-3:  12px; --space-4:  16px;
  --space-5:  20px; --space-6:  24px; --space-8:  32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;

  /* Layout */
  --max-width:     1280px;
  --content-width: 760px;
  --radius-sm:     4px;
  --radius-md:     6px;
  --radius-lg:     10px;
  --radius-xl:     16px;

  /* Motion & Shadow */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --shadow-card:       0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}


/* ============================================================
   2. GOOGLE FONTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&display=swap');


/* ============================================================
   3. GLOBAL RESET & BASE
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-deep-navy);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-link-dark-bg);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-cyan-hover); }

nav ul,
nav ol { list-style: none; margin: 0; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--color-border-dark);
  margin: var(--space-8) 0;
}


/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text-white);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); font-weight: 800; line-height: 0.95; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); text-transform: none; letter-spacing: 0; }

p { margin-top: 0; margin-bottom: var(--space-5); }
strong, b { font-weight: 600; }
em, i     { font-style: italic; }
small     { font-size: var(--text-xs); }

blockquote {
  border-left: 3px solid var(--color-cyan);
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background: var(--color-card-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-lg);
  color: var(--color-text-light);
}
blockquote cite {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  font-style: normal;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-dark);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-cyan);
}
pre {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  overflow-x: auto;
}
pre code { background: none; border: none; padding: 0; }


/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */

.site-header,
#masthead,
.kadence-sticky-header,
.header-wrap {
  background-color: var(--color-icon-navy) !important;
  border-bottom: 1px solid var(--color-border-dark) !important;
}

.site-branding .site-title,
.site-branding .site-title a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-text-white);
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a,
.kadence-navigation a,
#site-navigation a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.main-navigation a:hover,
.kadence-navigation a:hover,
#site-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  color: var(--color-cyan);
  background-color: var(--color-cyan-dim);
}

/* Header CTA Button */
.nav-cta-button,
.header-cta-button,
.kadence-header-btn {
  background-color: var(--color-cyan) !important;
  color: var(--color-icon-navy) !important;
  font-family: var(--font-heading) !important;
  font-size: var(--text-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  transition: background-color var(--transition-fast) !important;
}
.nav-cta-button:hover,
.header-cta-button:hover,
.kadence-header-btn:hover {
  background-color: var(--color-cyan-hover) !important;
  color: var(--color-icon-navy) !important;
}

/* Dropdown */
.main-navigation .sub-menu,
.kadence-navigation .sub-menu {
  background-color: var(--color-icon-navy);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  min-width: 220px;
}
.main-navigation .sub-menu a,
.kadence-navigation .sub-menu a {
  color: rgba(255,255,255,0.65);
  padding: 8px 16px;
  border-radius: 0;
  font-size: 12px;
}
.main-navigation .sub-menu a:hover,
.kadence-navigation .sub-menu a:hover {
  color: var(--color-cyan);
  background-color: var(--color-cyan-dim);
}


/* ============================================================
   6. MEGA MENU
   ============================================================ */

.mega-menu,
.kadence-mega-menu {
  background: var(--color-icon-navy);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  padding: var(--space-6);
}

.mega-menu-column-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border-dark);
}

.mega-menu a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  padding: var(--space-2) 0;
  display: block;
}
.mega-menu a:hover { color: var(--color-cyan); }


/* ============================================================
   7. FOOTER
   ============================================================ */

.site-footer,
#colophon,
.footer-wrap {
  background-color: var(--color-icon-navy) !important;
  border-top: 1px solid var(--color-border-dark);
  color: var(--color-text-muted);
}

.site-footer h4,
.site-footer h5,
.site-footer .widget-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-white);
  margin-bottom: var(--space-4);
}

.site-footer a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.site-footer a:hover { color: var(--color-cyan); }

.site-footer p,
.site-footer li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-bottom,
.site-info {
  border-top: 1px solid var(--color-border-dark);
  padding: var(--space-5) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--color-cyan); }


/* ============================================================
   8. BUTTONS & CTAs
   ============================================================ */

/* Shared button base */
.btn-primary,
.btn-ghost,
.btn-dark,
.btn-orange,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
}

/* Primary — cyan */
.btn-primary,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-block-button:not([class*="is-style"]) .wp-block-button__link {
  background: var(--color-cyan) !important;
  color: var(--color-icon-navy) !important;
  transition: background-color var(--transition-fast) !important;
}
.btn-primary:hover,
.wp-block-button.is-style-primary .wp-block-button__link:hover,
.wp-block-button:not([class*="is-style"]) .wp-block-button__link:hover {
  background: var(--color-cyan-hover) !important;
  color: var(--color-icon-navy) !important;
}

/* Ghost — outline */
.btn-ghost,
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent !important;
  color: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  transition: border-color var(--transition-fast), color var(--transition-fast) !important;
}
.btn-ghost:hover,
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
}

/* Dark — navy */
.btn-dark,
.wp-block-button.is-style-dark .wp-block-button__link {
  background: var(--color-icon-navy) !important;
  color: #fff !important;
  transition: background-color var(--transition-fast) !important;
}
.btn-dark:hover,
.wp-block-button.is-style-dark .wp-block-button__link:hover {
  background: #1E3A5F !important;
}

/* Orange — deals/urgent */
.btn-orange,
.wp-block-button.is-style-orange .wp-block-button__link {
  background: var(--color-orange) !important;
  color: #fff !important;
  transition: opacity var(--transition-fast) !important;
}
.btn-orange:hover,
.wp-block-button.is-style-orange .wp-block-button__link:hover {
  opacity: 0.9 !important;
}


/* ============================================================
   9. BADGES & LABELS
   ============================================================ */

.badge,
.vw-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.badge-cyan   { background: var(--color-cyan-dim);   color: var(--color-cyan); }
.badge-navy   { background: rgba(15,23,42,0.08);      color: var(--color-icon-navy); }
.badge-orange { background: var(--color-orange-dim);  color: var(--color-orange); }
.badge-blue   { background: rgba(3,105,161,0.1);      color: var(--color-link-light-bg); }
.badge-green  { background: rgba(22,163,74,0.1);      color: var(--color-success); }

.post-categories a,
.cat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: var(--color-cyan-dim);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-bottom: none;
}
.post-categories a:hover,
.cat-label:hover {
  background: rgba(56,189,248,0.2);
  color: var(--color-cyan);
}


/* ============================================================
   10. HERO SECTIONS
   ============================================================ */

.hero-section,
.page-hero,
.category-hero,
.voltwork-hero {
  background-color: var(--color-icon-navy);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.hero-section::before,
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Eyebrow label */
.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
}
.hero-eyebrow::before,
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--color-cyan);
  flex-shrink: 0;
}

.hero-section h1,
.page-hero h1,
.entry-hero h1 {
  font-size: clamp(40px, 5vw, var(--text-4xl));
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-text-white);
  margin-bottom: var(--space-5);
  max-width: 720px;
}
.hero-section h1 em,
.hero-section h1 .highlight,
.page-hero h1 em { color: var(--color-cyan); font-style: normal; }

.hero-section .hero-description,
.hero-section > p,
.page-hero > p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}


/* ============================================================
   11. DARK PAGE SECTIONS
   ============================================================ */

.dark-section,
.voltwork-dark { background-color: var(--color-deep-navy); padding: var(--space-16) 0; }

.dark-section-navy,
.voltwork-navy  { background-color: var(--color-icon-navy); padding: var(--space-16) 0; }

.dark-section h2,
.dark-section-navy h2,
.voltwork-dark h2,
.voltwork-navy h2 { color: var(--color-text-white); }

.dark-section > .section-intro,
.dark-section-navy > .section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-10);
}


/* ============================================================
   12. PRODUCT & GEAR CARDS
   ============================================================ */

.product-card,
.gear-card,
.voltwork-card {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  cursor: pointer;
}
.product-card:hover,
.gear-card:hover,
.voltwork-card:hover {
  background: var(--color-card-hover);
  border-color: var(--color-border-dark-md);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Card image */
.product-card .card-image,
.gear-card .card-image {
  background: var(--color-deep-navy);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-dark);
}
.product-card .card-image img,
.gear-card .card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.product-card:hover .card-image img,
.gear-card:hover .card-image img { transform: scale(1.03); }

/* Card body */
.product-card .card-body,
.gear-card .card-body { padding: var(--space-5) var(--space-5) var(--space-6); }

.product-card .card-title,
.gear-card .card-title,
.product-card h3,
.gear-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-white);
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.product-card .card-excerpt,
.gear-card .card-excerpt,
.product-card p,
.gear-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: var(--space-2);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.card-stars { color: #FBBF24; font-size: 13px; }

/* Card footer */
.product-card .card-footer,
.gear-card .card-footer {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ============================================================
   13. CATEGORY & ARCHIVE PAGES
   ============================================================ */

.archive .page-header,
.category .page-header,
.tag .page-header {
  background: var(--color-icon-navy);
  padding: var(--space-12) 0;
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border-dark);
}

.archive .page-title,
.category .page-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-white);
}

.archive .page-description,
.category .category-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-top: var(--space-3);
}

.archive .posts-container,
.category .posts-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}


/* ============================================================
   14. SOLUTIONS ROW
   ============================================================ */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--color-border-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.solution-card {
  background: var(--color-icon-navy);
  padding: var(--space-6) var(--space-5);
  border-left: 3px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}
.solution-card:hover {
  background: var(--color-card-hover);
  border-left-color: var(--color-cyan);
}

.solution-icon { font-size: 24px; margin-bottom: var(--space-3); display: block; }

.solution-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-white);
  margin-bottom: var(--space-2);
}

.solution-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}


/* ============================================================
   15. TRUST BAR & BRAND LOGOS
   ============================================================ */

.trust-bar {
  background: var(--color-icon-navy);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: var(--space-5) 0;
}

.trust-bar-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trust-bar-logos {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.brand-logo-item {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  transition: color var(--transition-fast);
  cursor: default;
}
.brand-logo-item:hover { color: rgba(255,255,255,0.5); }

.brand-logo-item img {
  height: 24px; width: auto;
  opacity: 0.25;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-fast);
}
.brand-logo-item:hover img { opacity: 0.5; }


/* ============================================================
   16. SIDEBAR
   ============================================================ */

.widget-area,
.sidebar { padding: var(--space-6); }

.dark-sidebar .widget,
.sidebar-dark .widget {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-white);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-dark);
}


/* ============================================================
   17. /vs/ COMPARISON PAGES
   ============================================================ */

.vs-hero {
  background: var(--color-icon-navy);
  padding: var(--space-16) 0;
  text-align: center;
}

.vs-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-white);
}

.vs-separator {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-cyan);
  margin: 0 var(--space-4);
}

.vs-winner {
  background: var(--color-cyan-dim);
  border: 1px solid var(--color-cyan-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  position: relative;
}
.vs-winner-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-2);
}


/* ============================================================
   18. /tools/ CALCULATOR PAGES
   ============================================================ */

.calculator-wrap,
.vw-tool {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 640px;
  margin: 0 auto;
}

.calculator-wrap label,
.vw-tool label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calculator-wrap input,
.calculator-wrap select,
.vw-tool input,
.vw-tool select {
  width: 100%;
  background: var(--color-deep-navy);
  border: 1px solid var(--color-border-dark-md);
  border-radius: var(--radius-md);
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 10px 14px;
  margin-bottom: var(--space-5);
  transition: border-color var(--transition-fast);
}
.calculator-wrap input:focus,
.calculator-wrap select:focus,
.vw-tool input:focus,
.vw-tool select:focus {
  outline: none;
  border-color: var(--color-cyan);
}

.calculator-result {
  background: var(--color-deep-navy);
  border: 1px solid var(--color-cyan-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-top: var(--space-6);
  text-align: center;
}
.calculator-result .result-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1;
}
.calculator-result .result-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ============================================================
   19. ARTICLE — CONTENT WELL LAYOUT
   ============================================================ */

/* Switch single posts to white surface */
.single .site-main,
.single-post .site-main,
body.single .content-area,
body.single-post .content-area,
.single .entry-content-wrap,
.vw-content-well {
  background-color: var(--color-content-bg);
  color: var(--color-text-body);
}

/* Constrain content for readability */
.single .entry-content,
.single-post .entry-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

/* Featured image */
.single .post-thumbnail,
.single-post .post-thumbnail {
  margin-bottom: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.single .post-thumbnail img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* Sidebar inside articles */
.single .widget-area .widget {
  background: var(--color-content-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}
.single .widget-area .widget-title {
  color: var(--color-text-dark);
  border-bottom-color: var(--color-border-light);
}
.single .widget-area a { color: var(--color-link-light-bg); border-bottom: none; }
.single .widget-area a:hover { color: var(--color-link-hover); }


/* ============================================================
   20. ARTICLE — TYPOGRAPHY
   ============================================================ */

/* Post title */
.entry-title,
.single .entry-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text-dark);
  margin-bottom: var(--space-4);
}

/* Post meta */
.entry-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-meta);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}
.entry-meta a,
.post-meta a { color: var(--color-text-meta); border-bottom: none; }
.entry-meta a:hover,
.post-meta a:hover { color: var(--color-link-light-bg); }

/* Override heading colors inside the content well */
.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5 { color: var(--color-text-dark); }

.single .entry-content h2 {
  font-size: 28px;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}
.single .entry-content h3 { font-size: 22px; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.single .entry-content h4 { font-size: 18px; margin-top: var(--space-6); margin-bottom: var(--space-2); }

/* Body text */
.single .entry-content p,
.single-post .entry-content p,
.single .entry-content li,
.single-post .entry-content li {
  color: var(--color-text-body);
  font-size: var(--text-base);
  line-height: 1.8;
}

/* Blockquote — light version */
.single .entry-content blockquote {
  background: #F0F7FF;
  border-left-color: var(--color-link-light-bg);
  color: var(--color-text-body);
}

/* Code — light version */
.single .entry-content code {
  background: var(--color-content-alt);
  border-color: var(--color-border-light);
  color: var(--color-link-light-bg);
}

/* HR — light version */
.single .entry-content hr { border-color: var(--color-border-light); }

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-6) 0;
}
.entry-content figure { margin: var(--space-8) 0; text-align: center; }
.entry-content figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-meta);
  margin-top: var(--space-2);
  font-style: italic;
}

/* Tag chips — header only */
.entry-footer .entry-tags { display: none; }

.vw-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}
.vw-header-tags a {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #1a1a2e;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a2e;
  text-decoration: none;
}
.vw-header-tags a:hover { background: #1a1a2e; color: #fff; }


/* ============================================================
   21. ARTICLE — LINKS & LISTS
   ============================================================ */

/* Body links — WCAG AA (6.9:1 on white) */
.single .entry-content a,
.single-post .entry-content a,
.vw-content-well a {
  color: var(--color-link-light-bg);
  text-decoration: none;
  border-bottom: 1px solid rgba(3,105,161,0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.single .entry-content a:hover,
.single-post .entry-content a:hover,
.vw-content-well a:hover {
  color: var(--color-link-hover);
  border-bottom-color: var(--color-link-hover);
}

/* Lists */
.single .entry-content ul,
.single .entry-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}
.single .entry-content li { margin-bottom: var(--space-2); }
.single .entry-content ul li::marker { color: var(--color-cyan-2); }

/* Quick specs */
.quick-specs,
.spec-list {
  background: var(--color-content-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}
.quick-specs dt {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-dark);
  float: left; clear: left;
  width: 40%;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.quick-specs dd {
  font-size: var(--text-sm);
  color: var(--color-text-body);
  margin-left: 40%;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}
.quick-specs dt:last-of-type,
.quick-specs dd:last-of-type { border-bottom: none; }


/* ============================================================
   22. ARTICLE — COMPARISON TABLES
   ============================================================ */

.comparison-table,
.vw-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin: var(--space-8) 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead th {
  background: var(--color-icon-navy);
  color: var(--color-text-white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 2px solid var(--color-cyan);
}

/* "Our Pick" column */
.comparison-table thead th.highlight-col {
  background: var(--color-link-light-bg);
  color: #fff;
  border-bottom-color: #fff;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color var(--transition-fast);
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: #F0F7FF; }

.comparison-table tbody td {
  padding: var(--space-3) var(--space-5);
  color: var(--color-text-body);
  vertical-align: middle;
}
.comparison-table tbody td:first-child { font-weight: 600; color: var(--color-text-dark); }

.comparison-table td.highlight-col {
  background: rgba(3,105,161,0.05);
  font-weight: 600;
  color: var(--color-link-light-bg);
}

.table-win  { color: var(--color-success); font-weight: 700; }
.table-lose { color: #DC2626; }
.table-draw { color: var(--color-text-meta); }


/* ============================================================
   23. ARTICLE — AFFILIATE & PRODUCT BOXES
   ============================================================ */

.affiliate-box,
.product-recommendation,
.vw-product-box,
.wp-block-group.is-style-product-box {
  background: var(--color-content-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.affiliate-box-label,
.product-box-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-link-light-bg);
  background: rgba(3,105,161,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.affiliate-box-label.best-value,
.label-best-value { color: var(--color-orange); background: var(--color-orange-dim); }

/* Product thumbnail */
.affiliate-box .product-image,
.vw-product-box .product-image {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.affiliate-box .product-image img { width: 100%; height: 100%; object-fit: contain; }

/* Product info */
.affiliate-box .product-info { flex: 1; min-width: 0; }

.affiliate-box .product-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: var(--space-1);
}
.affiliate-box .product-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-meta);
  margin-bottom: var(--space-2);
}
.affiliate-box .product-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-link-light-bg);
}

/* Buy button */
.affiliate-box .affiliate-btn,
.vw-product-box .affiliate-btn {
  flex-shrink: 0;
  background: var(--color-icon-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  border-bottom: none;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}
.affiliate-box .affiliate-btn:hover,
.vw-product-box .affiliate-btn:hover {
  background: #1E3A5F;
  color: #fff;
  border-bottom: none;
}

/* Disclosure */
.affiliate-disclosure {
  font-size: 11px;
  color: var(--color-text-meta);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}


/* ============================================================
   24. ARTICLE — VW COMPONENTS
   ============================================================ */

/* Summary bar */
.vw-summary {
  background: #f8f9fa;
  border-left: 4px solid var(--color-orange);
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.4rem;
  margin: 0 0 2rem;
  font-size: 15.5px;
  font-weight: 500;
  color: #374151;
  line-height: 1.75;
}

/* Key stats grid */
.vw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 2rem;
}
.vw-stat {
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--color-border-light);
  background: #fff;
}
.vw-stat:last-child { border-right: none; }
.vw-stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: .25rem;
  display: block;
}
.vw-stat-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #94A3B8;
  display: block;
}

/* Table of contents */
.vw-toc {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.vw-toc-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-orange);
  margin-bottom: .8rem;
  display: block;
}
.vw-toc ol {
  padding-left: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 1.5rem;
  margin: 0;
}
.vw-toc li { font-size: 13.5px; color: #64748B; margin: 0; }
.vw-toc a {
  color: #64748B;
  text-decoration: none;
  border-bottom: none !important;
  transition: color .15s;
}
.vw-toc a:hover { color: var(--color-link-light-bg); }

/* Callout box */
.vw-callout {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
}
.vw-callout-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #C2410C;
  margin-bottom: .35rem;
  display: block;
}
.vw-callout p {
  font-size: 14.5px;
  color: #431407 !important;
  margin: 0 !important;
  line-height: 1.7;
}

/* Product card (vw-product) */
.vw-product {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 0 0 1.5rem;
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15,23,42,.07);
}
.vw-product::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--color-orange);
}
.vw-product-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.4rem 1.6rem 0;
}
.vw-product-img {
  width: 140px; height: 140px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--color-content-alt);
  padding: 8px;
  flex-shrink: 0;
}

/* Product badge */
.vw-badge {
  background: var(--color-orange);
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 11px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 3px;
  display: inline-block;
}
.vw-badge-value { background: var(--color-link-light-bg) !important; }

.vw-product h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  color: var(--color-text-dark) !important;
  margin: 0 0 .6rem !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Spec chips */
.vw-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 .85rem;
}
.vw-chip {
  background: var(--color-content-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.vw-chip.hi {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #C2410C;
}

.vw-product p {
  font-size: 14.5px;
  color: #475569 !important;
  margin-bottom: .85rem !important;
  line-height: 1.68;
}

/* Buy button */
.vw-buy {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 10px 22px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: background .15s;
}
.vw-buy:hover {
  background: #C2410C !important;
  color: #fff !important;
  border-bottom: none !important;
}

/* Key takeaways */
.vw-takeaways {
  background: var(--color-content-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin: 2.5rem 0 1.75rem;
}
.vw-takeaways h3 {
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  color: var(--color-orange) !important;
  margin: 0 0 1rem !important;
  border: none !important;
  padding: 0 !important;
}
.vw-takeaways ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.vw-takeaways li {
  font-size: 14.5px;
  padding: .5rem 0 .5rem 1.4rem !important;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  color: #475569 !important;
  line-height: 1.65;
  margin: 0 !important;
}
.vw-takeaways li::before {
  content: '→';
  color: var(--color-orange);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.vw-takeaways li::marker { display: none; }
.vw-takeaways li:last-child { border-bottom: none; }

/* Bottom CTA block */
.vw-cta {
  background: var(--color-icon-navy);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  text-align: center;
  margin: 1.75rem 0 2rem;
}
.vw-cta p {
  font-size: 15px;
  color: #94A3B8 !important;
  margin-bottom: 1.25rem !important;
}
.vw-cta-btn {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 14px 36px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  transition: background .15s;
}
.vw-cta-btn:hover {
  background: #C2410C !important;
  color: #fff !important;
  border-bottom: none !important;
}


/* ============================================================
   25. RANKMATH BREADCRUMBS
   ============================================================ */

.breadcrumb-trail,
.rank-math-breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-text-meta);
  margin-bottom: var(--space-4);
  padding: var(--space-3) 0;
}

.breadcrumb-trail a,
.rank-math-breadcrumb a { color: var(--color-text-meta); border-bottom: none; }

.breadcrumb-trail a:hover,
.rank-math-breadcrumb a:hover { color: var(--color-link-light-bg); }

.breadcrumb-trail .sep,
.rank-math-breadcrumb .separator { color: var(--color-border-light); margin: 0 var(--space-1); }

.rank-math-breadcrumb p { font-size: var(--text-xs); color: var(--color-text-meta); margin-bottom: 0; }

/* Dark page variant */
body:not(.single) .rank-math-breadcrumb p,
body:not(.single) .rank-math-breadcrumb a { color: var(--color-text-muted); }
body:not(.single) .rank-math-breadcrumb a:hover { color: var(--color-cyan); }


/* ============================================================
   26. THIRSTYAFFILIATES LINKS
   ============================================================ */

.single .entry-content a[href*="go.voltworkhq"],
.single .entry-content a.thirstylink {
  color: var(--color-link-light-bg);
  font-weight: 500;
  border-bottom: 1px solid rgba(3,105,161,0.3);
}
.single .entry-content a[href*="go.voltworkhq"]:hover,
.single .entry-content a.thirstylink:hover {
  color: var(--color-link-hover);
  border-bottom-color: var(--color-link-hover);
}

/* Arrow indicator */
a.thirstylink::after { content: ' ↗'; font-size: 10px; opacity: 0.5; }


/* ============================================================
   27. WP ALL IMPORT CLEANUP
   ============================================================ */

/* Strip inline styles from AI-generated content */
.entry-content [style*="color"]       { color: inherit !important; }
.entry-content [style*="font-family"] { font-family: inherit !important; }
.entry-content [style*="font-size"]   { font-size: inherit !important; }
.entry-content [style*="background"]  { background: inherit !important; }

/* Exception: allow inline styles in designated shortcodes */
.entry-content .wp-block-shortcode [style],
.entry-content .vw-allow-inline [style] {
  color: unset !important;
  font-family: unset !important;
  font-size: unset !important;
  background: unset !important;
}

/* Normalize bold/italic */
.entry-content strong { font-weight: 600; color: var(--color-text-dark); }
.entry-content em     { font-style: italic; color: inherit; }


/* ============================================================
   28. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  :root { --text-4xl: 48px; --text-3xl: 36px; }

  .hero-section h1, .page-hero h1 { font-size: 44px; }
  .hero-stats { gap: var(--space-6); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { font-size: 12px; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: var(--space-3) var(--space-4); }
}


/* ============================================================
   29. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --text-4xl: 36px; --text-3xl: 28px;
    --text-2xl: 24px; --text-base: 16px;
  }

  .hero-section, .page-hero { padding: var(--space-12) 0 var(--space-10); }
  .hero-section h1, .page-hero h1 { font-size: 36px; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-5); }
  .hero-stat-number { font-size: 28px; }

  .single .entry-content,
  .single-post .entry-content { padding: var(--space-8) var(--space-5); }

  /* Affiliate box — stack vertically */
  .affiliate-box, .vw-product-box { flex-direction: column; align-items: flex-start; }
  .affiliate-box .affiliate-btn { width: 100%; text-align: center; margin-top: var(--space-3); }

  /* Comparison table — horizontal scroll */
  .comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 560px; }

  /* TOC — single column */
  .vw-toc ol { grid-template-columns: 1fr; }

  /* Product card — single column */
  .vw-product-inner { grid-template-columns: 1fr; }
  .vw-product-img { width: 100%; height: 180px; }

  .solutions-grid { grid-template-columns: 1fr; }

  .calculator-wrap, .vw-tool { padding: var(--space-5); border-radius: var(--radius-lg); }

  .main-navigation { background: var(--color-icon-navy); }

  .archive .posts-container,
  .category .posts-container { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }

  .trust-bar-logos { gap: var(--space-5); }
}


/* ============================================================
   30. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
  .archive .posts-container,
  .category .posts-container { grid-template-columns: 1fr; }

  .entry-title { font-size: 28px; }
}