/*
Theme Name: GunVaultAdvisor
Theme URI: https://gunvaultadvisor.com
Author: GunVaultAdvisor Team
Author URI: https://gunvaultadvisor.com
Description: A lightweight, high-performance affiliate authority theme for gun safe reviews and buying guides.
Version: 1.0.82
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gunvaultadvisor
Domain Path: /languages
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, news, affiliate, e-commerce

GunVaultAdvisor - Smarter Firearm Storage Starts Here
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    /* Colors - Clean editorial palette */
    --color-primary: #1a3a5c;
    --color-primary-dark: #112a42;
    --color-primary-light: #2a4a6c;
    --color-accent: #2e7d32;
    --color-accent-hover: #1b5e20;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --color-text-muted: #6b7280;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-border: #e5e7eb;
    --color-star: #f59e0b;
    
    /* Typography - Enhanced scale */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.5rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height-tight: 1.2;
    --line-height-snug: 1.35;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    
    /* Spacing - Enhanced rhythm */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4.5rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 1000px;
    --container-wide: 1280px;
    --container-padding: 1.25rem;
    --header-height: 72px;
    
    /* Borders & Shadows - Clean elevation */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 20px;
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 10px 20px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions - Smooth */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* GVA Container Utility - Consistent max-width wrapper */
.gva-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

.gva-container--wide {
    max-width: var(--container-wide);
}

/* GVA Section Utility - Consistent vertical spacing */
.gva-section {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .gva-section {
        padding-top: var(--spacing-3xl);
        padding-bottom: var(--spacing-3xl);
    }
}

@media (min-width: 1024px) {
    .gva-section {
        padding-top: var(--spacing-4xl);
        padding-bottom: var(--spacing-4xl);
    }
}

/* GVA Card Utility - Reusable card component base */
.gva-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.gva-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-gray-300);
}

.gva-card__image {
    aspect-ratio: 4/3;
    background-color: var(--color-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gva-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gva-card__body {
    padding: var(--spacing-md);
}

.gva-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.gva-card__meta {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Buttons - Clean editorial style
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn--outline:active {
    transform: translateY(0);
}

.btn--outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn--outline-dark:active {
    transform: translateY(0);
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-sm);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-lg);
}

/* ==========================================================================
   Header - Clean editorial style
   ========================================================================== */
.site-header {
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    transition: opacity var(--transition-fast);
}

.site-logo:hover {
    opacity: 0.9;
}

.site-logo__icon {
    width: 34px;
    height: 34px;
}

/* Custom Logo from Customizer */
.site-branding {
    flex-shrink: 0;
}

.site-logo--custom {
    display: flex;
    align-items: center;
}

.site-logo--custom a,
.custom-logo-link {
    display: flex;
    align-items: center;
}

.site-logo--custom img,
.custom-logo {
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .site-logo--custom img,
    .custom-logo {
        max-height: 36px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .site-logo--custom img,
    .custom-logo {
        max-height: 32px;
    }
    
    .site-logo__text {
        font-size: var(--font-size-base);
    }
}

/* Small mobile */
@media (max-width: 479px) {
    .site-logo--custom img,
    .custom-logo {
        max-height: 28px;
    }
}

.main-nav {
    display: none;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.main-nav__link {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-xs);
    position: relative;
    transition: color var(--transition-fast);
}

.main-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--spacing-xs);
    right: var(--spacing-xs);
    height: 2px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.main-nav__link:hover {
    color: var(--color-white);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--spacing-sm);
    color: var(--color-white);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: currentColor;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--color-primary-dark);
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.is-active {
    display: block;
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.mobile-nav__link {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-md);
    display: block;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav__link:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Page Header - Subpage banner with hero background
   ========================================================================== */
.page-header {
    background-color: #1e3a5f;
    background-image: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1a3a5c 100%);
    color: var(--color-white);
    padding: 2.5rem 0;
    position: relative;
    text-align: center;
}

.page-header__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-header__title {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   Hero Section - GunVaultAdvisor Reference Design
   Two-column grid: content left, product image right
   ========================================================================== */
.hero {
    background-color: #1e3a5f;
    background-image: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1a3a5c 100%);
    color: var(--color-white);
    padding: 3rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.hero__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

.hero__actions .btn--primary {
    background-color: #2e7d32;
    border-color: #2e7d32;
    padding: 0.6875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero__actions .btn--primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
}

.hero__actions .btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero__actions .btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.hero__image {
    display: none;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@media (min-width: 768px) {
    .hero {
        padding: 3.5rem 0 4rem;
    }
    
    .hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .hero__content {
        text-align: left;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__description {
        margin-left: 0;
        margin-right: 0;
        max-width: 380px;
    }
    
    .hero__actions {
        justify-content: flex-start;
    }
    
    .hero__image {
        display: flex;
    }
    
    .hero__image img {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 4rem 0 4.5rem;
    }
    
    .hero__title {
        font-size: 2.25rem;
    }
    
    .hero__description {
        font-size: 1rem;
        max-width: 400px;
    }
    
    .hero__actions .btn--primary,
    .hero__actions .btn--outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero__image img {
        max-width: 380px;
    }
}

/* ==========================================================================
   Trust Bar - Reference Design Match
   Lightweight horizontal row with check icons
   ========================================================================== */
.trust-bar {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.875rem 0;
}

.trust-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
}

.trust-bar__icon {
    width: 16px;
    height: 16px;
    color: #2e7d32;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .trust-bar {
        padding: 1rem 0;
    }
    
    .trust-bar__list {
        gap: 0.75rem 2.5rem;
    }
    
    .trust-bar__item {
        font-size: 0.875rem;
    }
    
    .trust-bar__icon {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Section Styles - Reference Design Match
   ========================================================================== */
.section {
    padding: 2.5rem 0;
}

.section--alt {
    background-color: #f9fafb;
}

.section--gray {
    background-color: #f3f4f6;
}

.section--dark {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1a3a5c 100%);
    color: var(--color-white);
}

.section__header {
    text-align: left;
    margin-bottom: 1.25rem;
}

.section__title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    color: #1f2937;
}

.section--dark .section__title {
    color: var(--color-white);
}

@media (min-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .section__title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 3.5rem 0;
    }
}

.section__subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    max-width: 600px;
    margin-top: 0.25rem;
}

.section--dark .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Product Cards (Top Picks) - Reference Design Match
   4-column grid with equal height cards
   ========================================================================== */
.product-grid {
    display: grid;
    gap: 0.875rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.product-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.product-card__image {
    aspect-ratio: 1/1;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.product-card__image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card__body {
    padding: 0.625rem 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.25rem;
}

.product-card__title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
    margin: 0;
}

@media (min-width: 768px) {
    .product-card__title {
        font-size: 0.8125rem;
    }
}

.product-card__rating {
    display: flex;
    gap: 1px;
    margin: 0.25rem 0 0.375rem;
}

.product-card__star {
    width: 12px;
    height: 12px;
    color: #f59e0b;
}

@media (min-width: 768px) {
    .product-card__star {
        width: 13px;
        height: 13px;
    }
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background-color: #1a3a5c;
    color: #ffffff;
    padding: 0.4375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    transition: background-color 0.15s ease;
    margin-top: auto;
    white-space: nowrap;
    text-decoration: none;
}

.product-card__link:hover {
    background-color: #112a42;
    color: #ffffff;
}

.product-card__link-icon {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-card__link {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .product-card__link-icon {
        width: 11px;
        height: 11px;
    }
}

/* ==========================================================================
   CTA Banner (Quick Selector) - Reference Design Match
   ========================================================================== */
.cta-banner {
    text-align: center;
    padding: 2.5rem 0;
}

.cta-banner__title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.375rem;
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn,
.cta-banner .btn--primary,
.cta-banner .btn--large {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 6px;
}

.cta-banner .btn:hover,
.cta-banner .btn--primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
}

@media (min-width: 768px) {
    .cta-banner {
        padding: 3rem 0;
    }
    
    .cta-banner__title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Guide Cards - Reference Design Match
   Icon cards with illustrations
   ========================================================================== */
.guide-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.guide-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.guide-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.guide-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.guide-card:hover .guide-card__icon {
    /* Keep icon as-is on hover for reference design */
    background: transparent;
}

.guide-card__icon-svg {
    width: 48px;
    height: 48px;
    color: #1a3a5c;
}

.guide-card__title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .guide-card {
        padding: 1.5rem 1rem;
    }
    
    .guide-card__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .guide-card__icon-svg {
        width: 52px;
        height: 52px;
    }
    
    .guide-card__title {
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   Brands Section - Reference Design Match
   ========================================================================== */
.brands-section__header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.brands-section__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.brands-section__link {
    color: #1a3a5c;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.brands-section__link:hover {
    text-decoration: underline;
}

.brands-section__link-icon {
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .brands-section__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .brands-section__title {
        font-size: 1.25rem;
    }
    
    .brands-section__link {
        font-size: 0.875rem;
    }
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    min-height: 56px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.brand-logo:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.brand-logo img {
    max-height: 28px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-logo__text {
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .brand-logo {
        min-height: 60px;
        padding: 1rem 1.5rem;
    }
    
    .brand-logo img {
        max-height: 32px;
    }
    
    .brand-logo__text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Footer - Reference Design Match
   Simple centered text links
   ========================================================================== */
.site-footer {
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0;
}

.footer-nav__link {
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.15s ease;
    padding: 0.25rem 0;
    text-decoration: none;
}

.footer-nav__link:hover {
    color: #1a3a5c;
}

.footer-nav__separator {
    color: #9ca3af;
    font-size: 0.8125rem;
    padding: 0 0.5rem;
}

.site-footer__copyright {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.75rem;
}

.site-footer__copyright p {
    margin: 0;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 2rem 0;
    }
    
    .footer-nav__link {
        font-size: 0.875rem;
    }
    
    .footer-nav__separator {
        padding: 0 0.75rem;
    }
    
    .site-footer__copyright {
        font-size: 0.8125rem;
    }
}

/*
 * CRITICAL: Footer Icon Safety Constraints
 * Prevents SVG icons from scaling to full width.
 * All icons in footer area should be 20-32px max.
 */
.site-footer svg,
.site-footer img:not(.brand-logo img),
.footer-nav svg,
.footer-nav img {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.site-footer__inner svg,
.site-footer__inner img {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

/* ==========================================================================
   Global SVG Icon Safety (CRITICAL)
   Prevents any unclassed SVG from exploding to full width.
   This is a defensive catch-all for icons output via wp_footer hooks.
   ========================================================================== */

/*
 * CRITICAL: Force ALL SVGs to have a sensible max size.
 * This prevents any SVG from taking over the page.
 */
svg {
    max-width: 100%;
    height: auto;
}

/* SVGs without explicit width attribute get hard limits */
svg:not([width]):not([class*="hero"]):not([class*="logo"]):not(.site-logo svg) {
    max-width: 40px !important;
    max-height: 40px !important;
}

/* Ensure SVGs in buttons, links, and common containers stay small */
button svg,
a svg,
span svg,
p svg,
li svg {
    width: auto;
    height: auto;
    max-width: 24px !important;
    max-height: 24px !important;
}

/* SVGs that are direct children of a div (common icon pattern) */
div > svg {
    max-width: 48px;
    max-height: 48px;
}

/* Body-level orphan SVGs (from wp_footer hooks) must be constrained */
body > svg,
#page ~ svg,
.site-content ~ svg,
footer ~ svg {
    position: fixed !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Hidden modals and popups should not render */
.gva-modal[aria-hidden="true"],
.gva-exit-modal[aria-hidden="true"],
.gva-scroll-cta[aria-hidden="true"],
.gva-scroll-trigger[aria-hidden="true"],
#gva-exit-modal[aria-hidden="true"],
#gva-scroll-cta[aria-hidden="true"],
.gva-modal:not(.is-visible),
.gva-exit-modal:not(.is-visible) {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: var(--spacing-lg);
}

.alignright {
    float: right;
    margin-left: var(--spacing-lg);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-sm);
}

.sticky,
.gallery-caption,
.bypostauthor {
    /* Required WordPress classes - empty by design */
    display: block;
}

/* ==========================================================================
   Phase 4: Conversion & Authority Enhancements
   ========================================================================== */

/* Pros/Cons Badges (Best For + Tested Date) */
.pros-cons__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
}

.pros-cons__badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.pros-cons__badge--best-for {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.pros-cons__badge--tested {
    background: var(--color-success-light, #d4edda);
    color: var(--color-success-dark, #155724);
}

.pros-cons__badge-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pros-cons__badge-label {
    font-weight: 600;
}

.pros-cons__item--highlighted {
    background: var(--color-primary-light);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Inline CTA Styles */
.gva-inline-cta {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-subtle) 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
}

.gva-inline-cta__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.gva-inline-cta__info {
    flex: 1;
    min-width: 200px;
}

.gva-inline-cta__name {
    display: block;
    font-size: var(--font-size-md);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.gva-inline-cta__meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.gva-inline-cta__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.gva-inline-cta__rating svg {
    width: 16px;
    height: 16px;
    fill: var(--color-warning);
}

.gva-inline-cta__button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.gva-inline-cta__button:hover {
    background: var(--color-primary-dark);
    color: white;
}

.gva-inline-cta__button svg {
    width: 16px;
    height: 16px;
}

/* Content Freshness Label */
.gva-freshness-label {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-subtle);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.gva-freshness-label__tested,
.gva-freshness-label__updated {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.gva-freshness-label__tested svg,
.gva-freshness-label__updated svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.gva-freshness-label--fresh {
    border-left: 3px solid var(--color-success);
}

.gva-freshness-label--aging {
    border-left: 3px solid var(--color-warning);
}

.gva-freshness-label--outdated {
    border-left: 3px solid var(--color-danger);
}

/* Editorial Badge Variants */
.editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.editorial-badge__icon {
    width: 14px;
    height: 14px;
}

.editorial-badge--accent {
    background: var(--color-primary);
    color: white;
}

.editorial-badge--best-overall {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.editorial-badge--best-budget {
    background: var(--color-success);
    color: white;
}

.editorial-badge--best-premium {
    background: linear-gradient(135deg, #856404 0%, #c49102 100%);
    color: white;
}

.editorial-badge--editor-choice {
    background: var(--color-primary-dark);
    color: white;
}

.editorial-badge--most-secure {
    background: var(--color-secondary);
    color: white;
}

.editorial-badge--best-fire {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.editorial-badge--best-value {
    background: var(--color-success);
    color: white;
}

/* Review Card Featured State */
.review-card--featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.15);
}

.review-card--featured .review-card__badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gva-inline-cta__content {
        flex-direction: column;
        text-align: center;
    }
    
    .gva-inline-cta__info {
        text-align: center;
    }
    
    .gva-inline-cta__meta {
        justify-content: center;
    }
    
    .pros-cons__badges {
        flex-direction: column;
    }
    
    .gva-freshness-label {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}
