/*
Theme Name: VizodaHub Premium
Theme URI: https://vizodahub.com
Author: VizodaHub
Description: Premium dark/light editorial WordPress theme.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vizodahub
*/
:root {
    /* Colors - Deep Dark Premium Baseline */
    --vh-bg-base: #141B2D; /* Slightly lighter slate */
    --vh-bg-surface: #1E293B; /* Slightly lighter surface */
    --vh-bg-elevated: #2D3A50;

    --vh-border-subtle: rgba(255, 255, 255, 0.06);
    --vh-border-strong: rgba(255, 255, 255, 0.12);

    --vh-accent-neon: #10B981;
    --vh-accent-teal: #3B82F6;
    --vh-accent-glow: #60A5FA;
    --vh-accent-hover: #D1D5DB;

    --vh-text-primary: #F1F5F9;
    --vh-text-secondary: #CBD5E1;
    --vh-text-muted: #94A3B8;
    --vh-text-inverse: #0B0E14;

    --vh-logo-filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
    --vh-logo-filter-dark: none;

    /* Status Colors */
    --vh-status-approved: #10B981;
    --vh-status-pending: #FBBF24;
    --vh-status-rejected: #EF4444;
    --vh-status-revision: #F97316;

    /* Typography Families */
    --vh-font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --vh-font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    /* Layout & Spacing - Global */
    --vh-space-xs: 0.5rem;
    --vh-space-sm: 1rem;
    --vh-space-md: 1.5rem;
    --vh-space-lg: 2rem;
    --vh-space-xl: 3rem;
    --vh-space-2xl: 4rem;
    --vh-space-3xl: 6rem;

    /* Border Radius - Global */
    --vh-radius-xs: 4px;
    --vh-radius-sm: 8px;
    --vh-radius-md: 16px;
    --vh-radius-lg: 24px;
    --vh-radius-full: 9999px;

    /* Shadows & Materials - Global */
    --vh-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --vh-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transitions - Global */
    --vh-transition-fast: 0.15s ease;
    --vh-transition-md: 0.3s ease;
}

/* Light Theme Overrides - Colors ONLY */
html[data-theme="light"] {
    --vh-bg-base: #F9FAFB;
    --vh-bg-surface: #FFFFFF;
    --vh-bg-elevated: #F3F4F6;

    --vh-border-subtle: rgba(0, 0, 0, 0.05);
    --vh-border-strong: rgba(0, 0, 0, 0.1);

    --vh-accent-neon: #059669;
    --vh-accent-teal: #2563EB;
    --vh-accent-glow: #3B82F6;
    --vh-accent-hover: #1F2937;

    --vh-text-primary: #111827;
    --vh-text-secondary: #374151;
    --vh-text-muted: #6B7280;
    --vh-text-inverse: #FFFFFF;

    --vh-logo-filter: invert(1) brightness(0.2);
}

/* Global Reset & Base Styles */
html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--vh-bg-base);
    color: var(--vh-text-primary);
    font-family: var(--vh-font-body);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--vh-font-heading);
    font-weight: 800;
    /* Bold premium feel */
    margin-top: 0;
    margin-bottom: var(--vh-space-sm);
    line-height: 1.1;
    color: var(--vh-text-primary);
    letter-spacing: -0.04em;
}

a {
    color: var(--vh-text-primary);
    text-decoration: none;
    transition: all var(--vh-transition-fast);
}

a:hover {
    color: var(--vh-accent-neon);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.text-neon {
    color: var(--vh-accent-neon);
}

.text-secondary {
    color: var(--vh-text-secondary);
}

.text-muted {
    color: var(--vh-text-muted);
}

.text-center {
    text-align: center;
}

.vh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--vh-space-md);
}

.vh-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--vh-space-md);
}
/* Layout Architecture */

.vh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--vh-space-md);
}

.vh-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--vh-space-md);
}

/* Light Theme Logo Override - Critical for Text Logos */
html[data-theme="light"] .vh-logo-text {
    color: #111827;
}

html[data-theme="light"] .vh-logo-text .text-neon {
    color: #059669;
    /* Darker green for light mode */
}

/* Site Header */
.vh-site-header {
    background: var(--vh-bg-base);
    border-bottom: 1px solid var(--vh-border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vh-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.vh-site-branding {
    flex-shrink: 0;
}

.vh-site-branding a,
.custom-logo-link img {
    font-size: 2.25rem;
    /* Significantly larger */
    font-weight: 900;
    color: var(--vh-text-primary);
    text-decoration: none;
    letter-spacing: -0.06em;
    filter: var(--vh-logo-filter);
    transition: filter 0.3s ease;
    text-transform: uppercase;
}

.vh-logo-text {
    display: flex;
    align-items: center;
    line-height: 1;
    color: var(--vh-text-primary) !important;
    /* Force primary color */
}

.vh-logo-text span.text-neon {
    color: var(--vh-accent-neon) !important;
}

.vh-main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.vh-main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

/* Dropdown styling */
.vh-nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.vh-dropdown-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vh-border-subtle);
    color: var(--vh-text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    padding: 0.4rem 0.8rem;
    border-radius: var(--vh-radius-sm);
}

.vh-dropdown-toggle:hover {
    border-color: var(--vh-accent-neon);
    color: var(--vh-text-primary);
}

.vh-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-strong);
    border-radius: var(--vh-radius-md);
    min-width: 200px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    padding: 0.5rem 0;
}

.vh-nav-dropdown-wrapper:hover .vh-dropdown-menu,
.vh-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vh-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Header Buttons & Icons - Premium Feel */
.vh-btn-icon {
    background: transparent;
    border: 1px solid var(--vh-border-subtle);
    color: var(--vh-text-secondary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vh-btn-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--vh-accent-neon);
    color: var(--vh-text-primary);
    transform: translateY(-2px);
}

.vh-btn-premium {
    background: var(--vh-accent-neon);
    color: #000 !important;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.vh-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    filter: brightness(1.1);
}

/* Hero Section (Reference Style) - SIGNIFICANT UPDATE */
.vh-hero {
    padding: 3rem 0;
    /* Reduced as requested */
    overflow: hidden;
}

.vh-ref-hero-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 3rem;
    /* Reduced from 4rem */
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.vh-ref-hero-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--vh-accent-neon);
    filter: blur(80px);
    opacity: 0.1;
}

.vh-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vh-editorial-badge {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--vh-accent-teal);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vh-editorial-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--vh-accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--vh-accent-neon);
}

.vh-ref-hero-title {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 2rem;
    color: var(--vh-text-primary);
    text-transform: uppercase;
}

.vh-ref-hero-subtitle {
    font-size: 1.15rem;
    color: var(--vh-text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0.8;
}

.vh-hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0 !important;
    /* Hero search is separate now if needed */
}

.vh-hero-search {
    margin-top: 3rem;
    position: relative;
    max-width: 480px;
}

.vh-hero-search input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 2rem;
    font-size: 1rem;
    color: var(--vh-text-primary);
    border-radius: 100px;
    width: 100%;
    transition: all 0.3s;
}

.vh-hero-search input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--vh-accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1);
    outline: none;
}

.vh-hero-right {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

/* Global Image Rules for Density */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Prevent stretching */
}

/* Main Content Area */
.vh-site-main {
    min-height: 60vh;
    padding: var(--vh-space-xl) 0;
}

/* Grids */
.vh-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--vh-space-lg);
}

/* Mobile Nav Toggle */
.vh-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--vh-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .vh-main-nav {
        display: none;
        /* Add JS toggle class .active */
    }

    .vh-nav-toggle {
        display: block;
    }

    .vh-hero h1 {
        font-size: 2.5rem;
    }
}

/* Single Post Layout */
.vh-single-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.vh-single-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vh-single-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    font-size: 0.9rem;
    color: var(--vh-text-muted);
}

.vh-single-featured-image-wrapper {
    width: 100%;
    margin: 0 auto 3.5rem auto;
    border-radius: var(--vh-radius-lg);
    overflow: hidden;
    border: 1px solid var(--vh-border-subtle);
    background: var(--vh-bg-surface);
}

.vh-single-featured-image-pixel-perfect {
    width: 100%;
    height: auto;
    display: block;
    max-height: 75vh;
    object-fit: contain;
    background: var(--vh-bg-surface);
}

/* Footer Social Icons - Premium Style */
.vh-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vh-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vh-text-secondary);
    transition: all 0.3s ease;
}

.vh-social-link:hover {
    background: var(--vh-accent-neon);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.vh-single-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--vh-text-primary);
    letter-spacing: -0.01em;
    max-width: 720px;
    margin: 0 auto;
}

/* "Final Thoughts" or standard section readability */
.vh-single-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 4rem 0 2rem 0;
    color: var(--vh-text-primary);
    border-left: 4px solid var(--vh-accent-neon);
    padding-left: 1.5rem;
}

.vh-single-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.vh-single-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--vh-bg-surface);
    padding: var(--vh-space-lg);
    border-radius: var(--vh-radius-md);
    border: 1px solid var(--vh-border-subtle);
}

.vh-author-avatar img {
    border-radius: 50%;
    border: 2px solid var(--vh-accent-teal);
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.vh-author-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.vh-author-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--vh-text-secondary);
}

/* Page Headers */
.vh-page-header {
    background: var(--vh-bg-surface);
    border-bottom: 1px solid var(--vh-border-subtle);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.vh-page-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.5rem);
    letter-spacing: -0.03em;
}

.vh-page-header-alt {
    background: var(--vh-bg-elevated);
    border-bottom: 1px solid var(--vh-border-strong);
}

/* Comments Design */
.vh-comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-comments-title,
.vh-comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.vh-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.vh-comment-item {
    margin-bottom: 2rem;
}

.vh-comment-body {
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    padding: 1.5rem;
}

.vh-comment-meta {
    margin-bottom: 1rem;
}

.vh-comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vh-comment-author .vh-avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid var(--vh-bg-elevated);
}

.vh-author-details {
    display: flex;
    flex-direction: column;
}

.vh-author-details b {
    color: var(--vh-text-primary);
    font-size: 1rem;
}

.vh-comment-date {
    font-size: 0.8rem;
    color: var(--vh-text-muted);
}

.vh-comment-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--vh-text-secondary);
    margin-bottom: 1rem;
}

.vh-reply-wrapper a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vh-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vh-comment-form {
    background: var(--vh-bg-surface);
    padding: 2rem;
    border-radius: var(--vh-radius-lg);
    border: 1px solid var(--vh-border-subtle);
}

.vh-form-row {
    display: flex;
    gap: 1.5rem;
}

.vh-form-row .vh-form-group {
    flex: 1;
}

.vh-comment-field textarea {
    width: 100%;
    background: var(--vh-bg-base);
    border: 1px solid var(--vh-border-strong);
    padding: 1rem;
    border-radius: var(--vh-radius-md);
    color: var(--vh-text-primary);
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.vh-comment-field textarea:focus {
    outline: none;
    border-color: var(--vh-accent-teal);
}

.vh-form-group input {
    width: 100%;
    background: var(--vh-bg-base);
    border: 1px solid var(--vh-border-strong);
    padding: 0.8rem 1rem;
    border-radius: var(--vh-radius-md);
    color: var(--vh-text-primary);
}

.vh-form-group input:focus {
    outline: none;
    border-color: var(--vh-accent-teal);
}

.vh-link-arrow {
    color: var(--vh-accent-neon);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.vh-link-arrow:hover {
    transform: translateX(5px);
}

.vh-tag-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--vh-text-secondary);
    transition: all 0.2s;
}

.vh-tag-pill:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--vh-accent-teal);
    color: var(--vh-text-primary);
}

.vh-btn-search-inline {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--vh-accent-neon);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
    transition: scale 0.2s;
}

.vh-btn-search-inline:hover {
    scale: 1.1;
}

/* Cinematic Featured Grid */
.vh-featured-cinematic-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
}

.vh-main-featured-card {
    grid-row: 1 / span 2;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vh-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vh-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vh-main-featured-card:hover .vh-card-bg img {
    transform: scale(1.05);
}

.vh-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.95) 10%, rgba(11, 14, 20, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.vh-card-content {
    position: relative;
    z-index: 3;
}

.vh-badge-neon {
    display: inline-block;
    background: var(--vh-accent-neon);
    color: #000;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.vh-card-content h3 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.vh-card-content p {
    color: var(--vh-text-secondary);
    max-width: 400px;
    margin-bottom: 2rem;
}

.vh-sub-featured-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 20px;
    transition: all 0.2s;
}

.vh-sub-featured-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.vh-sub-card-img {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.vh-sub-card-body h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.vh-card-meta {
    font-size: 0.75rem;
    color: var(--vh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Editors Picks Update */
.vh-editors-picks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.vh-entry-mini {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-entry-mini:nth-last-child(-n+2) {
    border-bottom: none;
}

.vh-entry-mini-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--vh-border-subtle);
}

.vh-entry-mini-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.vh-date-small {
    font-size: 0.8rem;
    color: var(--vh-text-muted);
}

@media (max-width: 992px) {
    .vh-header-right {
        gap: 1rem;
    }

    .vh-main-nav-desktop {
        display: none;
    }

    .vh-mobile-toggle {
        display: block;
    }

    .vh-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .vh-footer-grid {
        grid-template-columns: 1fr;
    }

    .vh-auth-form-card {
        padding: 2rem;
    }

    .vh-search-modal form {
        flex-direction: column;
    }

    .vh-search-modal input {
        font-size: 1.5rem;
    }
}

/* Auth, Footer, and Search modal additions */
.vh-auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.vh-auth-form-card {
    background: var(--vh-bg-elevated);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid var(--vh-border-subtle);
    width: 100%;
    max-width: 450px;
}

.vh-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.vh-footer-links {
    list-style: none;
    padding: 0;
}

.vh-footer-links li {
    margin-bottom: 0.75rem;
}

.vh-footer-links a {
    color: var(--vh-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.vh-footer-links a:hover {
    color: var(--vh-accent-neon);
}

.vh-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.vh-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.vh-search-modal-inner {
    width: 90%;
    max-width: 700px;
    transform: translateY(20px);
    transition: 0.4s;
}

.vh-search-modal.active .vh-search-modal-inner {
    transform: translateY(0);
}

.vh-search-close {
    position: absolute;
    top: -4rem;
    right: 0;
    border: none;
    background: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}

.vh-search-modal input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid #333;
    color: #fff;
    font-size: 2rem;
    padding: 1rem 0;
    outline: none;
}

.vh-search-modal button[type="submit"] {
    background: var(--vh-accent-neon);
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 800;
}

/* Final Structural Grids and Polish */
.vh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 992px) {
    .vh-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 650px) {
    .vh-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Logo Filters and Branding */
.custom-logo,
.custom-logo-link img {
    filter: var(--vh-logo-filter);
    transition: filter 0.3s ease;
}

.vh-logo-text {
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--vh-text-primary);
    font-size: 1.5rem;
}

/* Ensure single headers don't overlap on mobile */
.vh-single-title {
    word-break: break-word;
    hyphens: auto;
}

/* Fix Hero right column visibility */
.vh-hero-right {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--vh-border-subtle);
}

/* Button variants */
.vh-btn-signin {
    background: linear-gradient(135deg, var(--vh-accent-neon), #059669);
    color: #000;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vh-btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
/* Buttons */
.vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    /* Thicker padding for premium feel */
    border-radius: var(--vh-radius-full);
    /* Pill buttons for editorial feel */
    font-family: var(--vh-font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    /* Smaller button text looks more refined */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--vh-transition-md);
    /* Smoother hover */
    border: 1px solid transparent;
}

.vh-btn-primary {
    background: linear-gradient(135deg, var(--vh-accent-teal), var(--vh-accent-neon));
    color: var(--vh-bg-base) !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 213, 255, 0.2);
    /* Subtle base glow */
}

.vh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 213, 255, 0.4);
    /* Stronger intentional glow */
    background: linear-gradient(135deg, var(--vh-accent-neon), var(--vh-accent-teal));
}

.vh-btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    /* White/gray subtle border instead of cyan */
    color: var(--vh-text-primary) !important;
}

.vh-btn-outline:hover {
    background-color: var(--vh-text-primary);
    border-color: var(--vh-text-primary);
    color: var(--vh-bg-base) !important;
    transform: translateY(-2px);
}

.vh-btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.vh-btn-glow {
    /* Kept for arbitrary use, but base buttons are better now */
    box-shadow: var(--vh-shadow-glow);
}

.vh-btn-glow:hover {
    box-shadow: var(--vh-shadow-glow-strong);
}

/* =========================================================================
   CARDS & GRIDS (Reference Style)
   ========================================================================= */

/* The new Reference Featured Grid */
.vh-ref-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: var(--vh-space-lg);
}

/* Feature story takes up 2 cols and 2 rows on desktop */
.vh-featured-card {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: var(--vh-space-lg);
    transition: transform var(--vh-transition-md), box-shadow var(--vh-transition-md);
}

.vh-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vh-shadow-md);
    border-color: var(--vh-border-strong);
}

.vh-featured-img-placeholder {
    width: 100%;
    margin-bottom: var(--vh-space-md);
    border-radius: var(--vh-radius-sm);
    overflow: hidden;
    background: var(--vh-bg-elevated);
    aspect-ratio: 16/9;
}

.vh-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-featured-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vh-featured-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: var(--vh-space-sm);
}

.vh-featured-excerpt {
    color: var(--vh-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--vh-space-md);
}

/* Normal Ref Cards */
.vh-ref-post-card {
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--vh-transition-md), box-shadow var(--vh-transition-md);
}

.vh-ref-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--vh-shadow-sm);
    border-color: var(--vh-border-strong);
}

.vh-ref-post-content {
    flex-grow: 1;
    padding: var(--vh-space-md);
    display: flex;
    flex-direction: column;
}

.vh-ref-post-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: var(--vh-space-xs);
    font-weight: 600;
}

.vh-ref-post-excerpt {
    color: var(--vh-text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.vh-ref-post-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--vh-bg-elevated);
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-ref-post-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--vh-bg-elevated);
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-ref-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .vh-ref-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vh-ref-featured-grid {
        grid-template-columns: 1fr;
    }

    .vh-featured-card {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* =========================================================================
   LEGACY CARDS (Glassmorphism)
   ========================================================================= */
.vh-glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-lg);
    /* Softer corners for cards */
    padding: var(--vh-space-lg);
    box-shadow: var(--vh-shadow-md);
    backdrop-filter: var(--vh-glass-blur);
    -webkit-backdrop-filter: var(--vh-glass-blur);
    transition: all var(--vh-transition-md);
    position: relative;
    overflow: hidden;
}

.vh-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 213, 255, 0.05);
    /* Deep shadow, subtle cyan ambient */
    border-color: var(--vh-border-strong);
}

/* Post Cards */
.vh-post-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.vh-post-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    /* Slightly taller aspect for editorial */
    width: 100%;
    background-color: var(--vh-bg-surface);
    position: relative;
}

.vh-post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vh-post-card:hover .vh-post-card-img {
    transform: scale(1.08);
    /* More noticeable premium zoom */
}

/* Gradient overlay on image */
.vh-post-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 4, 10, 0.8), transparent 50%);
    pointer-events: none;
}

.vh-post-card-content {
    padding: var(--vh-space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    /* Pull content slightly up over the image gradient */
    margin-top: -1.5rem;
}

.vh-post-cat {
    color: var(--vh-accent-neon);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: var(--vh-space-sm);
    display: inline-block;
    background: rgba(2, 4, 10, 0.9);
    padding: 0.2rem 0.6rem;
    border-radius: var(--vh-radius-xs);
    border: 1px solid rgba(0, 213, 255, 0.2);
    align-self: flex-start;
}

.vh-post-title {
    font-size: 1.3rem;
    /* Tighter editorial size */
    margin-bottom: var(--vh-space-sm);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.vh-post-title a {
    color: var(--vh-text-primary);
}

.vh-post-title a:hover {
    color: var(--vh-accent-neon);
}

.vh-post-excerpt {
    color: var(--vh-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--vh-space-lg);
    flex-grow: 1;
    font-weight: 400;
}

.vh-post-meta {
    font-size: 0.75rem;
    color: var(--vh-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--vh-border-subtle);
    padding-top: var(--vh-space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Forms */
.vh-form-group {
    margin-bottom: var(--vh-space-md);
}

.vh-form-group label {
    display: block;
    margin-bottom: var(--vh-space-xs);
    font-weight: 500;
    color: var(--vh-text-secondary);
}

.vh-input,
.vh-auth-form input[type="text"],
.vh-auth-form input[type="email"],
.vh-auth-form input[type="password"],
.wp-editor-area {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    /* Richer input background */
    border: 1px solid var(--vh-border-strong);
    border-radius: var(--vh-radius-md);
    /* Softer inputs */
    padding: 0.85rem 1.2rem;
    color: var(--vh-text-primary);
    font-family: var(--vh-font-body);
    font-size: 1rem;
    transition: all var(--vh-transition-fast);
}

.vh-input:focus,
.vh-auth-form input:focus {
    outline: none;
    border-color: var(--vh-accent-teal);
    box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

/* Auth Forms */
.vh-auth-form {
    max-width: 440px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(7, 11, 20, 0.8), rgba(2, 4, 10, 0.95));
    backdrop-filter: var(--vh-glass-blur);
    padding: var(--vh-space-2xl) var(--vh-space-xl);
    border-radius: var(--vh-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 213, 255, 0.05) inset;
}

.vh-auth-title {
    text-align: center;
    margin-bottom: var(--vh-space-lg);
}

.vh-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vh-checkbox-group input {
    width: auto;
}

.vh-checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.vh-auth-footer {
    text-align: center;
    margin-top: var(--vh-space-md);
    font-size: 0.9rem;
    color: var(--vh-text-secondary);
}

/* Dashboard Styles */
.vh-dashboard-wrap {
    display: flex;
    gap: var(--vh-space-xl);
    align-items: flex-start;
}

.vh-dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.vh-dashboard-content {
    flex-grow: 1;
}

.vh-user-profile {
    text-align: center;
    margin-bottom: var(--vh-space-md);
    padding: var(--vh-space-xl) var(--vh-space-md);
}

.vh-avatar img {
    border-radius: 50%;
    margin: 0 auto var(--vh-space-md);
    border: 3px solid var(--vh-accent-teal);
    padding: 3px;
    background: var(--vh-bg-base);
}

.vh-level-box {
    margin-top: var(--vh-space-lg);
    background: var(--vh-bg-base);
    border-radius: var(--vh-radius-md);
    padding: var(--vh-space-md);
    border: 1px solid var(--vh-border-subtle);
}

.vh-user-level-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--vh-accent-neon);
    padding: 0.2rem 0.8rem;
    border-radius: var(--vh-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.vh-level-progress-wrap {
    height: 6px;
    background: var(--vh-bg-elevated);
    border-radius: var(--vh-radius-full);
    overflow: hidden;
    margin-bottom: var(--vh-space-sm);
}

.vh-level-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--vh-accent-teal), var(--vh-accent-neon));
    border-radius: var(--vh-radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.vh-level-points-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.vh-dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vh-dashboard-nav li {
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-dashboard-nav li:last-child {
    border-bottom: none;
}

.vh-dashboard-nav a {
    display: block;
    padding: var(--vh-space-sm) 0;
    color: var(--vh-text-secondary);
    font-weight: 500;
}

.vh-dashboard-nav a:hover {
    color: var(--vh-accent-neon);
}

.vh-dashboard-nav a.vh-nav-highlight {
    color: var(--vh-accent-teal);
}

.vh-dashboard-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.vh-dashboard-section.active {
    display: block;
}

.vh-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--vh-space-md);
    margin-bottom: var(--vh-space-xl);
}

.vh-stat-value {
    font-size: 2.5rem;
    font-family: var(--vh-font-heading);
    font-weight: 700;
    line-height: 1;
}

/* Premium Card Styles */
.vh-stat-card {
    display: flex;
    flex-direction: column;
}

.vh-premium-locked-card {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2));
}

.vh-premium-active-card {
    border: 1px solid rgba(0, 213, 255, 0.4);
    background: linear-gradient(135deg, rgba(2, 4, 10, 0.95), rgba(0, 213, 255, 0.08));
    box-shadow: 0 0 30px rgba(0, 213, 255, 0.15) inset, 0 10px 20px rgba(0, 0, 0, 0.5);
}

.vh-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--vh-space-sm);
}

.vh-stat-header h4 {
    margin: 0;
}

.vh-stat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.vh-stat-subtext {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: var(--vh-space-xs);
    flex-grow: 1;
}

/* Badges */
.vh-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vh-space-md);
}

.vh-badge-item {
    background: var(--vh-bg-elevated);
    border: 1px solid var(--vh-border-subtle);
    padding: var(--vh-space-md);
    border-radius: var(--vh-radius-md);
    display: flex;
    align-items: flex-start;
    gap: var(--vh-space-md);
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .vh-badge-item {
        flex: 1 1 calc(50% - var(--vh-space-md));
    }
}

.vh-badge-locked {
    opacity: 0.6;
    filter: grayscale(100%);
}

.vh-badge-unlocked {
    border-color: rgba(0, 229, 255, 0.3);
    background: linear-gradient(to bottom right, var(--vh-bg-elevated), rgba(0, 229, 255, 0.05));
}

.vh-badge-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.vh-badge-unlocked .vh-badge-icon {
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.vh-badge-content {
    flex-grow: 1;
}

.vh-badge-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--vh-text-primary);
    margin-bottom: 0.25rem;
}

.vh-badge-desc {
    font-size: 0.8rem;
    color: var(--vh-text-secondary);
    line-height: 1.4;
}

.vh-badge-rule {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--vh-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vh-badge-status-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--vh-accent-teal);
    color: var(--vh-bg-base);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Submission Forms */
.vh-submit-container {
    display: flex;
    gap: var(--vh-space-xl);
}

.vh-submit-main {
    flex-grow: 1;
}

.vh-submit-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.vh-guidelines-box ul {
    padding-left: 1.2rem;
    color: var(--vh-text-secondary);
}

.vh-guidelines-box li {
    margin-bottom: 0.5rem;
}

/* Status Labels */
.vh-status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: var(--vh-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-publish {
    background: rgba(56, 189, 248, 0.1);
    color: var(--vh-status-approved);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.status-pending_review {
    background: rgba(250, 204, 21, 0.1);
    color: var(--vh-status-pending);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.status-rejected {
    background: rgba(248, 113, 113, 0.1);
    color: var(--vh-status-rejected);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.status-needs_revision {
    background: rgba(251, 146, 60, 0.1);
    color: var(--vh-status-revision);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

/* Tables */
.vh-table {
    width: 100%;
    border-collapse: collapse;
}

.vh-table th,
.vh-table td {
    padding: var(--vh-space-sm);
    text-align: left;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-table th {
    color: var(--vh-text-secondary);
    font-weight: 500;
}

/* Prompt Corner Widget */
.vh-prompt-corner-widget {
    position: fixed;
    bottom: var(--vh-space-xl);
    right: var(--vh-space-xl);
    z-index: 9999;
}

.vh-prompt-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 20, 33, 0.9), rgba(7, 11, 20, 0.95));
    border: 1px solid rgba(0, 213, 255, 0.3);
    color: var(--vh-accent-neon);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 213, 255, 0.15) inset;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: var(--vh-glass-blur);
}

.vh-prompt-toggle:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 213, 255, 0.25) inset;
    border-color: var(--vh-accent-neon);
}

.vh-prompt-panel {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 420px;
    /* Slightly wider for a more substantial feel */
    background: rgba(2, 4, 10, 0.85);
    /* Deepest dark glass */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 213, 255, 0.15);
    /* Tech edge */
    border-radius: 24px;
    /* Softer, highly premium corners */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.vh-prompt-panel.vh-prompt-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.vh-prompt-header {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--vh-space-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 213, 255, 0.1);
}

.vh-prompt-title-wrap h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1.15rem;
    color: var(--vh-text-primary);
    font-weight: 700;
}

.vh-prompt-subtitle {
    font-size: 0.8rem;
    color: var(--vh-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.vh-prompt-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 50%;
    color: var(--vh-text-muted);
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--vh-transition-fast);
}

.vh-prompt-close:hover {
    color: var(--vh-text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.vh-prompt-body {
    padding: 0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.vh-prompt-state {
    padding: var(--vh-space-xl) var(--vh-space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.vh-state-icon {
    font-size: 3rem;
    margin-bottom: var(--vh-space-md);
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.3));
}

.vh-prompt-state h5 {
    font-size: 1.2rem;
    margin-bottom: var(--vh-space-sm);
    color: var(--vh-text-primary);
}

.vh-prompt-state p {
    color: var(--vh-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: var(--vh-space-lg);
}

.vh-upsell-benefits {
    list-style: none;
    padding: 0;
    margin: var(--vh-space-lg) 0 0 0;
    text-align: left;
    width: 100%;
    background: var(--vh-bg-base);
    border-radius: var(--vh-radius-md);
    padding: var(--vh-space-md);
    border: 1px solid var(--vh-border-subtle);
}

.vh-upsell-benefits li {
    font-size: 0.85rem;
    color: var(--vh-text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.vh-upsell-benefits li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--vh-accent-neon);
    font-weight: bold;
}

.vh-upsell-benefits li:last-child {
    margin-bottom: 0;
}

.vh-prompt-active {
    padding: 0;
    height: 100%;
}

.vh-prompt-active-header {
    padding: var(--vh-space-lg);
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-prompt-active-header p {
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
}

.vh-chat-interface-placeholder {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--vh-bg-surface);
    color: var(--vh-text-muted);
    font-size: 0.9rem;
    padding: var(--vh-space-xl);
}

.vh-loader-ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: var(--vh-space-md);
}

.vh-loader-ring:after {
    content: " ";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px;
    border-radius: 50%;
    border: 2px solid var(--vh-accent-teal);
    border-color: var(--vh-accent-teal) transparent var(--vh-accent-teal) transparent;
    animation: vh-loader-ring 1.2s linear infinite;
}

@keyframes vh-loader-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alerts */
.vh-alert_error,
.vh-alert_success,
.vh-alert_warning {
    padding: var(--vh-space-sm) var(--vh-space-md);
    border-radius: var(--vh-radius-md);
    margin-bottom: var(--vh-space-md);
    font-weight: 500;
}

.vh-alert_error {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.vh-alert_success {
    background: rgba(56, 189, 248, 0.1);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .vh-dashboard-wrap,
    .vh-submit-container {
        flex-direction: column;
    }

    .vh-dashboard-sidebar,
    .vh-submit-sidebar {
        width: 100%;
    }

    .vh-stats-grid {
        grid-template-columns: 1fr;
    }

    .vh-prompt-corner-widget {
        bottom: var(--vh-space-md);
        right: var(--vh-space-md);
    }

    .vh-prompt-panel {
        width: calc(100vw - (var(--vh-space-md) * 2));
        bottom: 75px;
    }
}
/* ==========================================================================
   COMPREHENSIVE V3 FIXES - Mobile, Bugs, Design Polish
   ========================================================================== */

/* ── MOBILE HAMBURGER ─────────────────────────────────────────────────── */
.vh-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--vh-border-strong);
    color: var(--vh-text-primary);
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: var(--vh-radius-sm);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.vh-hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--vh-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.vh-mobile-toggle:hover {
    border-color: var(--vh-accent-neon);
}

@media (max-width: 992px) {
    .vh-mobile-toggle {
        display: flex;
    }
    .vh-main-nav-desktop {
        display: none;
    }
    .vh-header-cta {
        display: none;
    }
}

/* ── MOBILE NAV OVERLAY ───────────────────────────────────────────────── */
.vh-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vh-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vh-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--vh-bg-surface);
    border-left: 1px solid var(--vh-border-strong);
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vh-mobile-nav.active {
    transform: translateX(0);
}

.vh-mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.vh-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--vh-border-subtle);
    flex-shrink: 0;
}

.vh-mobile-close {
    background: transparent;
    border: 1px solid var(--vh-border-strong);
    color: var(--vh-text-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--vh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.vh-mobile-close:hover {
    border-color: var(--vh-accent-neon);
    color: var(--vh-text-primary);
}

.vh-mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    overflow-y: auto;
    flex-grow: 1;
}

.vh-mobile-link {
    display: block;
    padding: 0.9rem 1.5rem;
    color: var(--vh-text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--vh-border-subtle);
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}

.vh-mobile-link:hover {
    color: var(--vh-accent-neon);
    background: rgba(255, 255, 255, 0.02);
}

.vh-mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--vh-border-subtle);
    flex-shrink: 0;
}

/* ── EXPLORE DROPDOWN OVERFLOW FIX ───────────────────────────────────── */
.vh-dropdown-menu {
    list-style: none !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
}

.vh-dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WordPress wp_list_categories generates <li> with bullet — kill it */
.vh-dropdown-menu li::marker,
.vh-dropdown-menu li::before {
    display: none !important;
    content: none !important;
}

.vh-dropdown-menu li a {
    display: block;
    padding: 0.55rem 1.25rem;
    color: var(--vh-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.vh-dropdown-menu li a:hover {
    color: var(--vh-accent-neon);
    background: rgba(16, 185, 129, 0.06);
}

/* Fix children count inside wp_list_categories */
.vh-dropdown-menu .children {
    display: none;
}

/* ── COMMENT FORM & LIGHT THEME TRANSITION FIX ───────────────────────── */
/* Prevent white-flash / stuck light theme on submit */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Comment form inputs must inherit theme correctly */
.vh-comment-form input,
.vh-comment-form textarea,
.comment-form input,
.comment-form textarea {
    width: 100%;
    background: var(--vh-bg-base) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: var(--vh-radius-md) !important;
    color: var(--vh-text-primary) !important;
    font-family: var(--vh-font-body) !important;
    font-size: 1rem;
    padding: 1rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--vh-text-secondary);
    font-weight: 600;
}

.vh-comment-form input:focus,
.vh-comment-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none !important;
    border-color: var(--vh-accent-teal) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* CRITICAL: After comment submit WordPress reloads the page which may flash */
html[data-theme="light"] body {
    background-color: var(--vh-bg-base) !important;
    color: var(--vh-text-primary) !important;
}

/* ── LIGHT MODE FOOTER FIX ────────────────────────────────────────────── */
html[data-theme="light"] .vh-site-footer {
    background: #F3F4F6 !important;
    color: #111827;
}

html[data-theme="light"] .vh-site-footer .vh-footer-links a,
html[data-theme="light"] .vh-site-footer p,
html[data-theme="light"] .vh-footer-copyright {
    color: #374151 !important;
}

html[data-theme="light"] .vh-site-footer .vh-footer-title {
    color: #111827 !important;
}

/* ── AUTH / SIGN-IN PAGE - No layering artifacts ─────────────────────── */
.vh-auth-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: var(--vh-bg-base);
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.vh-auth-form-card {
    background: var(--vh-bg-surface) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    z-index: 2;
}

html[data-theme="light"] .vh-auth-form-card {
    background: #FFFFFF !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

.vh-auth-form {
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* ── PSYCHOLOGY LAB - BETTER IMAGE HANDLING ───────────────────────────── */
.vh-psych-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .vh-psych-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .vh-psych-grid {
        grid-template-columns: 1fr;
    }
}

.vh-psych-card {
    display: flex;
    flex-direction: column;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vh-psych-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 16px 40px rgba(168, 85, 247, 0.1);
}

.vh-psych-img-wrap {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--vh-bg-elevated);
    flex-shrink: 0;
}

.vh-psych-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease;
    filter: grayscale(10%);
}

.vh-psych-card:hover .vh-psych-img-wrap img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.vh-psych-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vh-psych-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.vh-psych-card-body p {
    color: var(--vh-text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* ── ACTIVE STREAM - THUMBNAILS ────────────────────────────────────────── */
.vh-stream-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vh-stream-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.vh-stream-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.vh-stream-item:last-child {
    border-bottom: none;
}

.vh-stream-thumb {
    width: 54px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--vh-bg-elevated);
    border: 1px solid var(--vh-border-subtle);
}

.vh-stream-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.vh-stream-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vh-bg-elevated), rgba(16,185,129,0.08));
}

.vh-stream-body {
    flex-grow: 1;
    min-width: 0;
}

.vh-stream-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--vh-text-primary);
    margin: 0 0 0.2rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vh-stream-meta {
    font-size: 0.72rem;
    color: var(--vh-text-muted);
    font-weight: 500;
}

/* ── HERO SECTION - PROPORTIONAL HEIGHT FIX ON MOBILE ────────────────── */
@media (max-width: 768px) {
    .vh-ref-hero-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.75rem !important;
        border-radius: 20px !important;
    }

    .vh-hero-right {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }
}

/* ── HERO SECTION HEIGHT REDUCTION (the tall section) ────────────────── */
.vh-hero {
    padding-top: 2.5rem !important;
    padding-bottom: 1rem !important;
}

/* ── FRONT-PAGE SECTION SPACING ──────────────────────────────────────── */
@media (max-width: 768px) {
    section.vh-container,
    .vh-container[style*="padding"] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .vh-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ── MOBILE READABILITY FORCE ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .vh-mobile-toggle {
        display: flex;
    }
}

/* ── FORCE DARK MODE READABILITY ──────────────────────────────────────── */
html:not([data-theme="light"]) .vh-single-content p,
html:not([data-theme="light"]) .vh-single-content li,
html:not([data-theme="light"]) .vh-single-content span,
html:not([data-theme="light"]) .vh-single-content div,
html:not([data-theme="light"]) .vh-single-content strong,
html:not([data-theme="light"]) .vh-single-content em,
html:not([data-theme="light"]) .vh-single-content b,
html:not([data-theme="light"]) .vh-single-content i,
html:not([data-theme="light"]) .vh-single-content h1,
html:not([data-theme="light"]) .vh-single-content h2,
html:not([data-theme="light"]) .vh-single-content h3,
html:not([data-theme="light"]) .vh-single-content h4,
html:not([data-theme="light"]) .vh-single-content h5,
html:not([data-theme="light"]) .vh-single-content h6 {
    color: var(--vh-text-primary) !important;
    background-color: transparent !important;
}

html:not([data-theme="light"]) .vh-single-content * {
    color: #F8FAFC !important;
    background: transparent !important;
}

html:not([data-theme="light"]) .vh-single-content a {
    color: var(--vh-accent-neon) !important;
}

/* ── IMAGES: PIXEL PERFECT, NO CROP ──────────────────────────────────── */
.vh-single-content img {
    max-width: 100% !important;
    height: auto !important;
}

.vh-single-featured-image-wrapper {
    max-width: 700px !important;
    width: 100% !important;
    margin: 0 auto 3rem auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.vh-single-featured-image-pixel-perfect {
    object-fit: contain !important;
    max-height: 50vh !important;
    width: auto !important;
    max-width: 100% !important;
    background: transparent !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ── GLOBAL OVERFLOW PROTECTION ──────────────────────────────────────── */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

img, video, iframe, figure {
    max-width: 100% !important;
}

/* ── DARK THEME ROOT VARS ─────────────────────────────────────────────── */
:root {
    --vh-bg-base: #101623 !important;
    --vh-bg-surface: #1A2332 !important;
    --vh-bg-elevated: #28354A !important;
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.vh-site-footer {
    background: var(--vh-bg-surface);
    border-top: 1px solid var(--vh-border-subtle);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.vh-footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vh-text-primary);
    margin-bottom: 1.25rem;
}

.vh-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--vh-border-subtle);
    font-size: 0.85rem;
    color: var(--vh-text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── MOBILE FULL RESPONSIVE GRID KILLS ───────────────────────────────── */
@media (max-width: 768px) {
    .vh-editors-picks-grid,
    .vh-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .vh-prompt-panel {
        width: 90vw !important;
        right: 5vw !important;
        bottom: 80px !important;
    }

    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .vh-hero-actions a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .vh-footer-grid {
        grid-template-columns: 1fr;
    }
    .vh-auth-form-card {
        padding: 1.75rem !important;
    }
    .vh-search-modal form {
        flex-direction: column;
    }
}

/* ── HERO FRONT-PAGE TITLE CONSTRAINT ────────────────────────────────── */
.vh-ref-hero-title {
    max-width: 90%;
}


@media (max-width: 992px) {
    .vh-mobile-toggle {
        display: block;
    }
}

/* Force dark mode readability against inline styles from editor */
html:not([data-theme="light"]) .vh-single-content p, 
html:not([data-theme="light"]) .vh-single-content li, 
html:not([data-theme="light"]) .vh-single-content span, 
html:not([data-theme="light"]) .vh-single-content div,
html:not([data-theme="light"]) .vh-single-content strong, 
html:not([data-theme="light"]) .vh-single-content em, 
html:not([data-theme="light"]) .vh-single-content b, 
html:not([data-theme="light"]) .vh-single-content i, 
html:not([data-theme="light"]) .vh-single-content h1, 
html:not([data-theme="light"]) .vh-single-content h2, 
html:not([data-theme="light"]) .vh-single-content h3, 
html:not([data-theme="light"]) .vh-single-content h4, 
html:not([data-theme="light"]) .vh-single-content h5, 
html:not([data-theme="light"]) .vh-single-content h6 {
    color: var(--vh-text-primary) !important;
    background-color: transparent !important;
}

/* Ensure mobile images and all content limit correctly */
.vh-single-content img {
    max-width: 100% !important;
    height: auto !important;
}

/* =========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & OVERFLOW CONTAINMENT (MAX-WIDTH: 991px)
   ========================================================================= */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

img, video, iframe, figure {
    max-width: 100% !important;
    height: auto;
}

* {
    max-width: 100vw;
}

/* Tablet & Mobile Adjustments */
@media screen and (max-width: 991px) {
    .vh-header-actions .vh-btn-premium {
        display: none; /* Hide premium/sign in text button on small devices to save space */
    }

    .vh-hero {
        padding-top: 2rem !important;
    }

    .vh-ref-hero-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .vh-ref-hero-title {
        font-size: 2.4rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .vh-ref-hero-subtitle {
        font-size: 1.05rem !important;
        max-width: 100% !important;
    }

    .vh-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }

    .vh-hero-actions a {
        width: 100%;
        text-align: center;
    }

    .vh-sections {
        padding: 3rem 0 !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .vh-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    .vh-footer-about {
        align-items: center;
    }
    
    .vh-footer-social {
        justify-content: center;
    }
}

/* Strictly Mobile Adjustments */
@media screen and (max-width: 768px) {
    .vh-container {
        padding: 0 1rem !important;
    }

    .vh-header-inner {
        gap: 1rem;
    }

    .vh-site-branding a {
        font-size: 1.5rem !important;
    }

    .vh-single-header {
        padding: 0 1rem;
    }

    .vh-single-title {
        font-size: 1.75rem !important;
        word-break: break-word;
    }

    .vh-single-meta {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .vh-single-featured-image-wrapper {
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
    }

    .vh-single-content {
        font-size: 1.05rem !important;
        padding: 0 1rem;
    }

    .vh-single-content h2 {
        font-size: 1.5rem !important;
        margin: 2rem 0 1rem 0 !important;
    }
    
    .vh-author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem !important;
    }

    .vh-related-posts .vh-slider-container {
        padding-bottom: 1rem !important;
    }
    
    .vh-ref-post-card {
        min-width: 85% !important;
        width: 85% !important;
    }

    .vh-comments-area {
        padding: 0 1rem;
    }
    
    .vh-card-standard,
    .vh-entry-mini {
        width: 100% !important;
    }
    
    .vh-editors-picks-grid,
    .vh-grid-3,
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .vh-prompt-panel {
        width: 90vw !important;
        right: 5vw !important;
        bottom: 80px !important;
    }
}

/* =========================================================================
   USER FEEDBACK FIXES: READABILITY, SIZING & COLOR TWEAKS
   ========================================================================= */

/* 1. Lighter Dark Theme Root Overrides */
:root {
    --vh-bg-base: #101623 !important;
    --vh-bg-surface: #1A2332 !important;
    --vh-bg-elevated: #28354A !important;
}

/* 2. Absolute Readability for Single Content Texts */
html:not([data-theme="light"]) .vh-single-content * {
    color: #F8FAFC !important;
    background: transparent !important;
}
html:not([data-theme="light"]) .vh-single-content a {
    color: var(--vh-accent-neon) !important;
}

/* 3. Manage Featured Image Size (Uncropped but smaller on screen) */
.vh-single-featured-image-wrapper {
    max-width: 650px !important;
    width: 100% !important;
    margin: 0 auto 3rem auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
}

.vh-single-featured-image-pixel-perfect {
    object-fit: contain !important;
    max-height: 45vh !important;
    width: auto !important;
    max-width: 100% !important;
    background: transparent !important;
}

/* 4. Front Page Hero Constraint */
.vh-ref-hero-title {
    max-width: 90%;
}

/* ==========================================================================
   FRONT PAGE COMPONENT STYLES V3
   ========================================================================== */

/* ── EDITORIAL BADGE (Hero) ───────────────────────────────────────────── */
.vh-editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vh-accent-neon);
    margin-bottom: 1.75rem;
    width: fit-content;
}

.vh-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--vh-accent-neon);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ── ACTIVE STREAM HEADER ─────────────────────────────────────────────── */
.vh-stream-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--vh-accent-teal);
    margin-bottom: 1.25rem;
}

.vh-stream-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vh-accent-neon);
    flex-shrink: 0;
    animation: pulse-dot 1.8s infinite;
}

/* ── SECTION HEADERS ──────────────────────────────────────────────────── */
.vh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-section-label {
    display: block;
    color: var(--vh-accent-teal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}

.vh-section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.vh-section-link {
    color: var(--vh-text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.vh-section-link:hover {
    color: var(--vh-accent-neon);
}

/* ── LATEST INTEL GRID ────────────────────────────────────────────────── */
.vh-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .vh-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .vh-latest-grid { grid-template-columns: 1fr; }
}

.vh-intel-card {
    display: flex;
    flex-direction: column;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vh-intel-card:hover {
    transform: translateY(-5px);
    border-color: var(--vh-accent-teal);
}

.vh-intel-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--vh-bg-elevated);
    flex-shrink: 0;
}

.vh-intel-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
    display: block;
}

.vh-intel-card:hover .vh-intel-img-wrap img {
    transform: scale(1.04);
}

.vh-intel-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vh-intel-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vh-accent-neon);
    margin-bottom: 0.6rem;
    display: block;
}

.vh-intel-title {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.vh-intel-title a {
    color: var(--vh-text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.vh-intel-title a:hover {
    color: var(--vh-accent-neon);
}

.vh-intel-excerpt {
    color: var(--vh-text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.vh-intel-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--vh-text-muted);
    font-weight: 600;
    border-top: 1px solid var(--vh-border-subtle);
    padding-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── PSYCHOLOGY LAB PSYCH LINK ────────────────────────────────────────── */
.vh-psych-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.vh-psych-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c084fc;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: gap 0.2s;
}

.vh-psych-link:hover {
    gap: 0.6rem;
    color: #c084fc;
}

/* ── RANDOM GRID ──────────────────────────────────────────────────────── */
.vh-random-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .vh-random-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vh-random-grid { grid-template-columns: 1fr; }
}

.vh-random-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 12px;
    padding: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}

.vh-random-card:hover {
    border-color: var(--vh-border-strong);
    transform: translateY(-2px);
}

.vh-random-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--vh-bg-elevated);
}

.vh-random-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.vh-random-body { flex-grow: 1; min-width: 0; }

.vh-random-title {
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.vh-random-title a {
    color: var(--vh-text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.vh-random-title a:hover { color: var(--vh-accent-neon); }

.vh-random-date {
    font-size: 0.72rem;
    color: var(--vh-text-muted);
    font-weight: 600;
}

/* ── CTA BAND ─────────────────────────────────────────────────────────── */
.vh-cta-band {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(0, 0, 0, 0));
    border: 1px solid var(--vh-border-strong);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vh-cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.vh-cta-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}

.vh-cta-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--vh-accent-neon);
    color: var(--vh-accent-neon);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.vh-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.vh-cta-sub {
    color: var(--vh-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.vh-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 580px) {
    .vh-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .vh-cta-actions .vh-btn {
        text-align: center;
        justify-content: center;
    }
    .vh-cta-band {
        padding: 2.5rem 1.25rem;
    }
}

/* ── LIGHT THEME - CARD OVERRIDES ─────────────────────────────────────── */
html[data-theme="light"] .vh-intel-card,
html[data-theme="light"] .vh-psych-card,
html[data-theme="light"] .vh-random-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .vh-intel-card:hover {
    border-color: var(--vh-accent-teal);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .vh-hero-right {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .vh-stream-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .vh-cta-band {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), rgba(255,255,255,0));
    border-color: rgba(0,0,0,0.1);
}

/* ==========================================================================
   SINGLE POST V3 + AUTH PAGE FINAL POLISH + BUG FIXES
   ========================================================================== */

/* ── HEADER COLOR MISMATCH FIX ────────────────────────────────────────── */
.vh-site-header {
    background: var(--vh-bg-base) !important;
    border-bottom: 1px solid var(--vh-border-subtle) !important;
}

main#primary, .vh-site-main, body {
    background: var(--vh-bg-base) !important;
}

/* ── EXPLORE DROPDOWN OVERFLOW FIX ───────────────────────────────────── */
.vh-dropdown-menu {
    list-style: none !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
}

.vh-dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vh-dropdown-menu li::marker,
.vh-dropdown-menu li::before {
    display: none !important;
    content: none !important;
}

.vh-dropdown-menu li a {
    display: block;
    padding: 0.55rem 1.25rem;
    color: var(--vh-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.vh-dropdown-menu li a:hover {
    color: var(--vh-accent-neon);
    background: rgba(16, 185, 129, 0.06);
}

.vh-dropdown-menu .children {
    display: none;
}

/* ── ACTIVE STREAM THUMBNAILS (HIGH QUALITY, SMALL) ──────────────────── */
.vh-stream-thumb {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--vh-bg-elevated);
    border: 1px solid var(--vh-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vh-stream-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.vh-stream-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.02));
}

/* ── READING PROGRESS BAR ─────────────────────────────────────────────── */
.vh-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9998;
    pointer-events: none;
}

.vh-reading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vh-accent-teal), var(--vh-accent-neon));
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px var(--vh-accent-neon);
}

/* ── SINGLE POST META & AUTHOR IMPROVEMENTS ──────────────────────────── */
.vh-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--vh-text-muted);
    margin-top: 1.25rem;
}

.vh-single-sep { opacity: 0.4; }
.vh-read-time {
    color: var(--vh-accent-neon);
    font-weight: 600;
    font-size: 0.8rem;
}

.vh-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-author-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vh-text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.vh-author-img, .vh-avatar-img {
    border-radius: 50%;
    border: 2px solid var(--vh-accent-teal);
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    object-fit: cover;
}

/* ── RELATED POSTS SLIDER ─────────────────────────────────────────────── */
.vh-related-posts {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-related-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.vh-slider-container {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.vh-slider-container::-webkit-scrollbar { display: none; }

.vh-ref-post-card {
    min-width: 320px;
    width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.vh-ref-post-card:hover {
    transform: translateY(-3px);
    border-color: var(--vh-border-strong);
}

.vh-ref-post-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--vh-bg-elevated);
}

.vh-ref-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vh-ref-post-card:hover .vh-ref-post-img {
    transform: scale(1.05);
}

.vh-ref-post-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vh-ref-post-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.vh-ref-post-title a {
    color: var(--vh-text-primary);
    text-decoration: none;
}

.vh-ref-post-date {
    font-size: 0.72rem;
    color: var(--vh-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── PROFESSIONAL SPACIOUS AUTH PAGE ──────────────────────────────────── */
.vh-auth-card-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 70px);
    padding: 4rem 1rem;
}

.vh-auth-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.vh-auth-form-card {
    position: relative;
    z-index: 1;
    background: var(--vh-bg-surface) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: 24px !important;
    padding: 3rem !important;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="light"] .vh-auth-form-card {
    background: #FFFFFF !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0,0,0,0.1) !important;
}

.vh-auth-logo {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-auth-logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vh-text-muted);
    margin-top: 0.5rem;
}

.vh-auth-title {
    font-size: 2rem !important;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.vh-auth-subtitle {
    text-align: center;
    color: var(--vh-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.vh-form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--vh-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vh-auth-input {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: var(--vh-bg-base) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: var(--vh-radius-md) !important;
    color: var(--vh-text-primary) !important;
    font-family: var(--vh-font-body);
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vh-auth-input:focus {
    border-color: var(--vh-accent-teal) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.vh-password-wrap { position: relative; }
.vh-password-wrap .vh-auth-input { padding-right: 3.5rem; }

.vh-pw-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--vh-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}

.vh-pw-toggle:hover, .vh-pw-toggle.active { color: var(--vh-accent-neon); }

.vh-btn-auth {
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--vh-accent-teal), var(--vh-accent-neon));
    color: #000 !important;
    border: none;
    border-radius: var(--vh-radius-md);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.vh-btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.vh-btn-loader {
    display: inline-flex;
    animation: vh-spin 0.8s linear infinite;
}

@keyframes vh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vh-auth-message {
    min-height: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--vh-radius-sm);
    padding: 0;
    text-align: center;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}

.vh-auth-msg-error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1rem;
}

.vh-auth-msg-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--vh-accent-neon);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 1rem;
}

.vh-auth-footer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.95rem;
    color: var(--vh-text-muted);
}

.vh-auth-link {
    color: var(--vh-accent-neon);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .vh-auth-form-card { padding: 2rem !important; }
    .vh-reading-progress { height: 2px; }
    .vh-ref-post-card { min-width: 240px; width: 240px; }
}

/* ── LIGHT THEME COMPLETE FIX ─────────────────────────────────────────── */
html[data-theme="light"] {
    --vh-bg-base: #F9FAFB !important;
    --vh-bg-surface: #FFFFFF !important;
    --vh-bg-elevated: #F3F4F6 !important;
    
    --vh-border-subtle: rgba(0, 0, 0, 0.08) !important;
    --vh-border-strong: rgba(0, 0, 0, 0.12) !important;

    --vh-text-primary: #111827 !important;
    --vh-text-secondary: #374151 !important;
    --vh-text-muted: #6B7280 !important;
    --vh-text-inverse: #FFFFFF !important;
}

html[data-theme="light"] body,
html[data-theme="light"] .vh-site-main,
html[data-theme="light"] .vh-site-header {
    background: var(--vh-bg-base) !important;
    color: var(--vh-text-primary) !important;
}

html[data-theme="light"] .vh-auth-form-card {
    background: #FFFFFF !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0,0,0,0.1) !important;
}

html[data-theme="light"] .vh-auth-input {
    background: #F9FAFB !important;
    border-color: rgba(0,0,0,0.15) !important;
    color: #111827 !important;
}

html[data-theme="light"] .vh-ref-post-card,
html[data-theme="light"] .vh-intel-card,
html[data-theme="light"] .vh-psych-card,
html[data-theme="light"] .vh-random-card {
    background: #FFFFFF !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}

html[data-theme="light"] .vh-stream-thumb {
    background: #F3F4F6 !important;
    border-color: rgba(0,0,0,0.08) !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] span,
html[data-theme="light"] div {
    color: var(--vh-text-primary);
}

html[data-theme="light"] .vh-single-content * {
    color: var(--vh-text-primary) !important;
}

html[data-theme="light"] .vh-single-meta,
html[data-theme="light"] .vh-stream-meta,
html[data-theme="light"] .vh-intel-meta,
html[data-theme="light"] .vh-author-label,
html[data-theme="light"] .vh-auth-subtitle {
    color: var(--vh-text-muted) !important;
}



.vh-single-sep {
    opacity: 0.4;
}

.vh-read-time {
    color: var(--vh-accent-neon);
    font-weight: 600;
    font-size: 0.8rem;
}

/* ── TAGS SECTION ─────────────────────────────────────────────────────── */
.vh-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vh-border-subtle);
}

/* ── AUTHOR BOX LABEL ─────────────────────────────────────────────────── */
.vh-author-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vh-text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.vh-author-img, .vh-avatar-img {
    border-radius: 50%;
    border: 2px solid var(--vh-accent-teal);
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    object-fit: cover;
}

/* ── RELATED POSTS SLIDER ─────────────────────────────────────────────── */
.vh-related-posts {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-related-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.vh-slider-container {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.vh-slider-container::-webkit-scrollbar {
    display: none;
}

.vh-ref-post-card {
    min-width: 320px;
    width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.vh-ref-post-card:hover {
    transform: translateY(-3px);
    border-color: var(--vh-border-strong);
}

.vh-ref-post-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--vh-bg-elevated);
}

.vh-ref-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vh-ref-post-card:hover .vh-ref-post-img {
    transform: scale(1.05);
}

.vh-ref-post-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vh-ref-post-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.vh-ref-post-title a {
    color: var(--vh-text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.vh-ref-post-title a:hover {
    color: var(--vh-accent-neon);
}

.vh-ref-post-date {
    font-size: 0.72rem;
    color: var(--vh-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── AUTH PAGE V3 ─────────────────────────────────────────────────────── */
.vh-auth-card-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 70px);
    padding: 3rem 1rem;
}

.vh-auth-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.vh-auth-form-card {
    position: relative;
    z-index: 1;
    background: var(--vh-bg-surface) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: 24px !important;
    padding: 3rem !important;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="light"] .vh-auth-form-card {
    background: #FFFFFF !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0,0,0,0.1) !important;
}

.vh-auth-logo {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-auth-logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vh-text-muted);
    margin-top: 0.4rem;
}

.vh-auth-title {
    font-size: 1.75rem !important;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.4rem;
    letter-spacing: -0.04em;
}

.vh-auth-subtitle {
    text-align: center;
    color: var(--vh-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.vh-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: var(--vh-text-secondary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vh-auth-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--vh-bg-base) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: var(--vh-radius-md) !important;
    color: var(--vh-text-primary) !important;
    font-family: var(--vh-font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.vh-auth-input:focus {
    border-color: var(--vh-accent-teal) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

html[data-theme="light"] .vh-auth-input {
    background: #F9FAFB !important;
    border-color: rgba(0,0,0,0.15) !important;
    color: #111827 !important;
}

/* Password field with toggle */
.vh-password-wrap {
    position: relative;
}

.vh-password-wrap .vh-auth-input {
    padding-right: 3rem;
}

.vh-pw-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--vh-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.vh-pw-toggle:hover, .vh-pw-toggle.active {
    color: var(--vh-accent-neon);
}

/* Auth submit button */
.vh-btn-auth {
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--vh-accent-teal), var(--vh-accent-neon));
    color: #000 !important;
    border: none;
    border-radius: var(--vh-radius-md);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.vh-btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.vh-btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.vh-btn-loader {
    display: inline-flex;
    animation: vh-spin 0.8s linear infinite;
}

@keyframes vh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Auth messages */
.vh-auth-message {
    min-height: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--vh-radius-sm);
    padding: 0;
    text-align: center;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
}

.vh-auth-msg-error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.75rem 1rem;
}

.vh-auth-msg-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--vh-accent-neon);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.75rem 1rem;
}

.vh-auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--vh-text-muted);
}

.vh-auth-link {
    color: var(--vh-accent-neon);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.vh-auth-link:hover {
    opacity: 0.8;
    color: var(--vh-accent-neon);
}

/* ── SINGLE PAGE V3 MOBILE ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vh-reading-progress {
        height: 2px;
    }

    .vh-auth-form-card {
        padding: 1.75rem !important;
    }

    .vh-slider-container {
        gap: 1rem;
    }

    .vh-ref-post-card {
        min-width: 240px;
        width: 240px;
    }

    .vh-single-tags {
        gap: 0.4rem;
    }
}

/* ── LIGHT THEME AUTH ─────────────────────────────────────────────────── */
html[data-theme="light"] .vh-auth-card-wrap {
    background: transparent;
}

html[data-theme="light"] .vh-auth-glow {
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
}

html[data-theme="light"] .vh-ref-post-card {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.08);
}

html[data-theme="light"] .vh-auth-subtitle,
html[data-theme="light"] .vh-auth-logo-sub {
    color: #6B7280;
}

/* ── MOBILE NAV OVERLAY & HAMBURGER ────────────────────────────────────── */
.vh-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.vh-hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--vh-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .vh-header-cta, .vh-main-nav-desktop {
        display: none !important;
    }
    .vh-mobile-toggle {
        display: flex;
    }
    .vh-stream-list {
        display: none; /* Hide stream on very small screens to save space */
    }
    .vh-hero-right {
        display: none;
    }
    .vh-ref-hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

.vh-mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--vh-bg-surface);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.vh-mobile-nav.active {
    right: 0;
}

.vh-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vh-mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.vh-mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.vh-mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--vh-border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.vh-mobile-close {
    background: transparent;
    border: none;
    color: var(--vh-text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.vh-mobile-close:hover {
    color: var(--vh-text-primary);
}

.vh-mobile-nav-links {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.vh-mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vh-text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s, padding-left 0.2s;
}

.vh-mobile-link:hover {
    color: var(--vh-accent-neon);
    padding-left: 0.5rem;
}

.vh-mobile-nav-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--vh-border-subtle);
}

/* ── RESPONSIVE GRID OVERRIDES FOR FRONT PAGE ────────────────────────── */
@media (max-width: 768px) {
    .vh-intel-card, .vh-psych-card, .vh-random-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }
    
    .vh-intel-img-wrap, .vh-psych-img-wrap {
        aspect-ratio: 16/9; /* Keep images proportional */
    }
    
    .vh-intel-img-wrap img, .vh-psych-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important; /* Prevent cropping as requested */
        background: var(--vh-bg-elevated); /* Add background to fill empty space if any */
    }

    .vh-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .vh-psych-grid, .vh-latest-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vh-hero-container, .vh-ref-hero-container {
        padding: 2rem 0;
    }
}

/* Fix light mode mobile overlay */
html[data-theme="light"] .vh-mobile-nav {
    background: #FFFFFF !important;
    border-left: 1px solid rgba(0,0,0,0.1);
}
html[data-theme="light"] .vh-mobile-overlay {
    background: rgba(255, 255, 255, 0.7);
}
html[data-theme="light"] .vh-hamburger-bar {
    background-color: #111827;
}

/* ── FIX COMMENT FLASH IN LIGHT MODE ─────────────────────────────────── */
.vh-comment-form input,
.vh-comment-form textarea {
    background: transparent !important;
    color: var(--vh-text-primary) !important;
}

html[data-theme="light"] .vh-comment-form input,
html[data-theme="light"] .vh-comment-form textarea {
    background: #F9FAFB !important;
    border-color: rgba(0,0,0,0.15) !important;
}

/* ── HERO SECTION AESTHETICS (USER FEEDBACK FIXES) ────────────────────── */
.vh-ref-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    text-transform: none !important;
    margin-bottom: 1.5rem !important;
}

.vh-ref-hero-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem !important;
    max-width: 500px !important;
    opacity: 0.8 !important;
}

.vh-ref-hero-container {
    align-items: center !important; /* Prevents columns from stretching to equal heights */
    gap: 4rem !important; /* More breathing room */
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
}
.vh-ref-hero-container::before {
    display: none !important;
}

@media (min-width: 901px) {
    .vh-ref-hero-container {
        grid-template-columns: 1fr 1fr !important; /* Better balance between text and active stream */
    }
}

.vh-hero-right {
    height: fit-content !important; /* Fixes the empty space at the bottom */
    align-self: center !important; /* Vertically aligns it alongside the text */
    padding: 2.5rem !important;
}

.vh-stream-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   FINAL SINGLE POST PAGE POLISH (USER FEEDBACK BATCH)
   ══════════════════════════════════════════════════════════════════════════ */

/* 1. HIDE TAGS at bottom of posts */
.vh-single-tags {
    display: none !important;
}

/* 2. REMOVE empty gap between header and single post content */
.vh-site-main {
    padding-top: 0 !important;
}

.vh-single-header {
    padding-top: 2rem !important;
    margin-bottom: 1.5rem !important;
}

/* 3. COMPACT AUTHOR BOX */
.vh-author-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--vh-bg-surface);
    border: 1px solid var(--vh-border-subtle);
    border-radius: var(--vh-radius-md);
    margin-top: 2rem;
    max-width: 100%;
}

.vh-author-info h3 {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
}

.vh-author-info p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: var(--vh-text-muted) !important;
    max-height: 4.5em;
    overflow: hidden;
}

/* 4. COMPACT RELATED POSTS */
.vh-related-posts {
    margin-top: 2rem !important;
    padding-top: 2rem !important;
}

.vh-related-title {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

.vh-ref-post-card {
    min-width: 220px !important;
    width: 240px !important;
}

.vh-ref-post-img-wrap {
    aspect-ratio: 16/10 !important;
}

.vh-ref-post-content {
    padding: 0.75rem !important;
}

.vh-ref-post-title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
}

/* 5. COMPACT COMMENT SECTION */
.vh-comments-area {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-comments-area h2 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

.vh-comment-form {
    padding: 1.5rem !important;
}

.vh-comment-form textarea {
    min-height: 80px !important;
}

/* 6. ENLARGE FEATURED IMAGE fully and optimize for screen */
.vh-single-featured-image-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 3rem auto !important;
    border-radius: var(--vh-radius-lg);
    overflow: hidden;
}

.vh-single-featured-image-pixel-perfect {
    width: 100% !important;
    max-height: 600px !important;
    min-height: 350px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* 8. FIX LOGIN PAGE — wider and functional styles */
.vh-auth-page .vh-site-main,
.vh-auth-page main#primary {
    padding: 0 !important;
}

.vh-auth-card-wrap {
    min-height: calc(100vh - 70px) !important;
    padding: 2rem 1rem !important;
}

.vh-auth-form-card {
    max-width: 480px !important;
    padding: 2.5rem !important;
}

.vh-form-group {
    margin-bottom: 1.25rem;
}

/* 9. FIX container-narrow for consistent post width */
.vh-container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   10. DARK MODE TEXT READABILITY — FORCE ALL POST CONTENT TO BE VISIBLE
   ══════════════════════════════════════════════════════════════════════════ */
.vh-single-content,
.vh-single-content p,
.vh-single-content li,
.vh-single-content span,
.vh-single-content div,
.vh-single-content td,
.vh-single-content th,
.vh-single-content blockquote,
.vh-single-content figcaption {
    color: var(--vh-text-secondary) !important;
    line-height: 1.8;
}

.vh-single-content h1,
.vh-single-content h2,
.vh-single-content h3,
.vh-single-content h4,
.vh-single-content h5,
.vh-single-content h6 {
    color: var(--vh-text-primary) !important;
}

.vh-single-content strong,
.vh-single-content b {
    color: var(--vh-text-primary) !important;
    font-weight: 700;
}

.vh-single-content a {
    color: var(--vh-accent-neon) !important;
}

.vh-single-content blockquote {
    border-left: 3px solid var(--vh-accent-teal);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 var(--vh-radius-sm) var(--vh-radius-sm) 0;
    margin: 1.5rem 0;
}

.vh-single-content ul,
.vh-single-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.vh-single-content li {
    margin-bottom: 0.5rem;
}

/* ========================================================================== 
   HOMEPAGE PREMIUM POLISH (DESKTOP SCALE + TOOLS + RADAR)
   ========================================================================== */
body.home .vh-hero {
    padding-top: 2rem !important;
    padding-bottom: 1.25rem !important;
}

body.home .vh-ref-hero-container {
    gap: 2.25rem !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr) !important;
}

body.home .vh-ref-hero-title {
    font-size: clamp(2.15rem, 3.6vw, 3.4rem) !important;
    line-height: 1.07 !important;
    margin-bottom: 1rem !important;
}

body.home .vh-ref-hero-subtitle {
    font-size: 1rem !important;
    max-width: 42ch !important;
    margin-bottom: 1.75rem !important;
}

body.home .vh-hero-right {
    padding: 1.5rem !important;
    border-radius: 18px !important;
}

body.home .vh-stream-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

body.home .vh-stream-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home .vh-ref-post-card {
    min-width: 250px !important;
    width: 270px !important;
}

body.home .vh-slider-container {
    gap: 1rem;
}

body.home .vh-intel-img-wrap,
body.home .vh-psych-img-wrap {
    aspect-ratio: 16 / 10;
}

body.home .vh-intel-img-wrap img,
body.home .vh-psych-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-home-metrics {
    padding-top: 0.25rem;
    padding-bottom: 1.25rem;
}

.vh-home-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.vh-home-metric-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--vh-border-subtle);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vh-home-metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--vh-text-primary);
}

.vh-home-metric-label {
    font-size: 0.82rem;
    color: var(--vh-text-muted);
    letter-spacing: 0.02em;
}

.vh-tools-header {
    align-items: flex-end;
    gap: 1rem;
}

.vh-tools-subtitle {
    margin: 0;
    max-width: 420px;
    color: var(--vh-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.vh-tools-grid {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vh-tool-card {
    border: 1px solid var(--vh-border-subtle);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.vh-tool-card p {
    margin: 0;
    color: var(--vh-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.vh-tool-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.vh-tool-card-head h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.vh-tool-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--vh-accent-neon);
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.vh-tool-label {
    color: var(--vh-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.vh-tool-input {
    width: 100%;
    border: 1px solid var(--vh-border-subtle);
    background: rgba(0, 0, 0, 0.16);
    color: var(--vh-text-primary);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vh-tool-input:focus {
    border-color: var(--vh-accent-teal);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.vh-tool-textarea {
    min-height: 112px;
    resize: vertical;
}

.vh-tool-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--vh-text-muted) 50%), linear-gradient(135deg, var(--vh-text-muted) 50%, transparent 50%);
    background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.vh-tool-btn {
    margin-top: 0.2rem;
}

.vh-tool-output {
    min-height: 54px;
    border: 1px solid var(--vh-border-subtle);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 0.75rem;
    color: var(--vh-text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.vh-tool-list {
    margin: 0;
    padding: 0.7rem 0.7rem 0.7rem 1.25rem;
    border: 1px solid var(--vh-border-subtle);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--vh-text-secondary);
    min-height: 140px;
    font-size: 0.86rem;
    line-height: 1.45;
}

.vh-radar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.vh-radar-card {
    border: 1px solid var(--vh-border-subtle);
    border-radius: 16px;
    padding: 1.1rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.vh-radar-title {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
}

.vh-radar-copy {
    margin: 0 0 0.8rem;
    color: var(--vh-text-muted);
    font-size: 0.9rem;
}

.vh-radar-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.vh-radar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
}

.vh-radar-link {
    font-weight: 600;
    font-size: 0.92rem;
}

.vh-radar-link:hover {
    color: var(--vh-accent-neon);
}

.vh-radar-count {
    color: var(--vh-text-muted);
    font-size: 0.8rem;
}

.vh-radar-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.vh-radar-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--vh-accent-neon), var(--vh-accent-teal));
}

.vh-radar-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.vh-radar-quick-link {
    border: 1px solid var(--vh-border-subtle);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--vh-text-secondary);
    background: rgba(255, 255, 255, 0.01);
}

.vh-radar-quick-link:hover {
    border-color: var(--vh-accent-neon);
    color: var(--vh-text-primary);
}

html[data-theme="light"] .vh-home-metric-card,
html[data-theme="light"] .vh-tool-card,
html[data-theme="light"] .vh-tool-list,
html[data-theme="light"] .vh-tool-output,
html[data-theme="light"] .vh-radar-card,
html[data-theme="light"] .vh-radar-quick-link,
html[data-theme="light"] .vh-tool-input {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .vh-tool-pill {
    border-color: rgba(5, 150, 105, 0.25);
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
}

html[data-theme="light"] .vh-radar-bar {
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 1100px) {
    .vh-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vh-home-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vh-radar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.home .vh-ref-hero-container {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    body.home .vh-ref-hero-title {
        font-size: clamp(1.9rem, 8.5vw, 2.5rem) !important;
    }

    body.home .vh-ref-post-card {
        min-width: 220px !important;
        width: 235px !important;
    }

    .vh-tools-grid,
    .vh-home-metrics-grid,
    .vh-radar-link-grid {
        grid-template-columns: 1fr;
    }

    .vh-tools-subtitle {
        max-width: 100%;
    }
}
/* ========================================================================== 
   MOBILE STABILITY AND PERFORMANCE SAFETY
   ========================================================================== */
body.home .vh-intel-title a,
body.home .vh-ref-post-title a,
body.home .vh-radar-link,
body.home .vh-tool-card h3 {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .vh-tool-input,
    .vh-tool-select,
    .vh-tool-textarea,
    .vh-auth-form input,
    .vh-auth-form textarea,
    .vh-auth-form select {
        font-size: 16px !important;
    }

    body.home .vh-hero-actions,
    body.home .vh-cta-actions {
        flex-wrap: wrap;
    }

    body.home .vh-stream-item {
        min-width: 0;
    }

    .vh-mobile-nav {
        max-width: min(92vw, 320px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ========================================================================== 
   REAL-READER UI FIXES (single post readability + balanced layout + header)
   ========================================================================== */
.vh-header-spacer {
    flex: 1 1 auto;
}

.vh-main-nav-desktop {
    display: none !important;
}

.vh-header-actions {
    margin-left: auto;
}

.vh-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Single post: stabilize widths and readability */
.single-post .vh-container {
    max-width: 1080px;
}

.single-post .vh-container-narrow {
    max-width: 900px !important;
}

.single-post .vh-single-header {
    max-width: 900px;
    margin: 0 auto 1.25rem auto !important;
}

.single-post .vh-single-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.9rem !important;
}

.single-post .vh-single-featured-image-wrapper {
    max-width: 920px !important;
    margin: 0 auto 2rem auto !important;
    border-radius: 18px !important;
}

.single-post .vh-single-featured-image-pixel-perfect {
    width: 100% !important;
    max-height: 460px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.single-post .vh-single-content {
    max-width: 780px !important;
    margin: 0 auto !important;
    font-size: 1.08rem !important;
    line-height: 1.85 !important;
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content p,
.single-post .vh-single-content li,
.single-post .vh-single-content span,
.single-post .vh-single-content div,
.single-post .vh-single-content td,
.single-post .vh-single-content th,
.single-post .vh-single-content figcaption,
.single-post .vh-single-content blockquote {
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content h1,
.single-post .vh-single-content h2,
.single-post .vh-single-content h3,
.single-post .vh-single-content h4,
.single-post .vh-single-content h5,
.single-post .vh-single-content h6,
.single-post .vh-single-content strong,
.single-post .vh-single-content b {
    color: var(--vh-text-primary) !important;
}

.single-post .vh-single-content a {
    color: var(--vh-accent-neon) !important;
}

/* Neutralize Gutenberg color utility classes causing unreadable dark text */
.single-post .vh-single-content [class*="has-"][class*="-color"],
.single-post .vh-single-content .has-text-color,
.single-post .vh-single-content .has-black-color,
.single-post .vh-single-content .has-cyan-bluish-gray-color,
.single-post .vh-single-content .has-vivid-cyan-blue-color {
    color: var(--vh-text-secondary) !important;
}

/* Force consistent content width: no random full-bleed text blocks */
.single-post .vh-single-content .alignfull,
.single-post .vh-single-content .alignwide,
.single-post .vh-single-content .wp-block-group.alignfull,
.single-post .vh-single-content .wp-block-group.alignwide,
.single-post .vh-single-content .wp-block-columns.alignfull,
.single-post .vh-single-content .wp-block-columns.alignwide,
.single-post .vh-single-content .wp-block-cover.alignfull,
.single-post .vh-single-content .wp-block-cover.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

.single-post .vh-single-content img {
    width: 100% !important;
    height: auto !important;
    max-height: 500px;
    object-fit: cover;
    border-radius: 14px;
}

/* Read next + comments: keep compact and centered */
.single-post .vh-author-box,
.single-post .vh-related-posts,
.single-post .vh-comments-area,
.single-post .vh-comment-form {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .vh-related-posts {
    padding-top: 1.25rem !important;
}

.single-post .vh-related-title,
.single-post .vh-comment-reply-title,
.single-post .vh-comments-title {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.single-post .vh-comments-area {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem !important;
}

.single-post .vh-comment-form textarea {
    min-height: 140px !important;
}

.single-post .vh-slider-container {
    gap: 0.9rem !important;
}

.single-post .vh-ref-post-card {
    min-width: 220px !important;
    width: 240px !important;
}

/* Home cleanup after section removals */
body.home .vh-home-metrics,
body.home .vh-tools-section,
body.home .vh-radar-section {
    display: none !important;
}

@media (max-width: 992px) {
    .vh-header-cta {
        display: none;
    }

    .single-post .vh-single-featured-image-wrapper {
        max-width: 100% !important;
    }

    .single-post .vh-single-featured-image-pixel-perfect {
        max-height: 360px !important;
    }

    .single-post .vh-single-content {
        max-width: 100% !important;
        font-size: 1.02rem !important;
    }

    .single-post .vh-author-box,
    .single-post .vh-related-posts,
    .single-post .vh-comments-area,
    .single-post .vh-comment-form {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   HARD READABILITY FIX (all single posts)
   ========================================================================== */
.single-post .vh-single-content,
.single-post .vh-single-content * {
    color: var(--vh-text-secondary) !important;
    opacity: 1 !important;
}

.single-post .vh-single-content h1,
.single-post .vh-single-content h2,
.single-post .vh-single-content h3,
.single-post .vh-single-content h4,
.single-post .vh-single-content h5,
.single-post .vh-single-content h6,
.single-post .vh-single-content strong,
.single-post .vh-single-content b {
    color: var(--vh-text-primary) !important;
}

.single-post .vh-single-content a {
    color: var(--vh-accent-teal) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-post .vh-single-content li::marker {
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content .has-text-color,
.single-post .vh-single-content .has-inline-color,
.single-post .vh-single-content [class*="has-"][class*="-color"],
.single-post .vh-single-content .text-neon,
.single-post .vh-single-content .text-teal {
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content blockquote,
.single-post .vh-single-content pre,
.single-post .vh-single-content code {
    color: var(--vh-text-primary) !important;
}

html[data-theme="light"] .single-post .vh-single-content,
html[data-theme="light"] .single-post .vh-single-content * {
    color: #1f2937 !important;
}

html[data-theme="light"] .single-post .vh-single-content h1,
html[data-theme="light"] .single-post .vh-single-content h2,
html[data-theme="light"] .single-post .vh-single-content h3,
html[data-theme="light"] .single-post .vh-single-content h4,
html[data-theme="light"] .single-post .vh-single-content h5,
html[data-theme="light"] .single-post .vh-single-content h6,
html[data-theme="light"] .single-post .vh-single-content strong,
html[data-theme="light"] .single-post .vh-single-content b {
    color: #0f172a !important;
}

html[data-theme="light"] .single-post .vh-single-content a {
    color: #2563eb !important;
}

/* ==========================================================================
   IMAGE NO-CROP FIX (fit full image inside same area)
   ========================================================================== */
.single-post .vh-single-featured-image-pixel-perfect {
    width: 100% !important;
    height: 100% !important;
    max-height: 460px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: var(--vh-bg-surface) !important;
}

.single-post .vh-single-content img {
    width: 100% !important;
    max-height: 500px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: var(--vh-bg-surface) !important;
}

/* ==========================================================================
   GLOBAL IMAGE FIT FIX (no crop, same visual area)
   ========================================================================== */
.vh-ref-post-img,
.vh-post-card-img,
.vh-stream-thumb img,
.vh-intel-img-wrap img,
.vh-psych-img-wrap img,
.vh-card-bg img,
.vh-sub-card-img,
.vh-featured-img,
.single-post .vh-single-featured-image-pixel-perfect,
.single-post .vh-single-content img {
    object-fit: contain !important;
    object-position: center center !important;
    background: var(--vh-bg-surface) !important;
}

/* ==========================================================================
   ARCHIVE + SEARCH + FOOTER QUALITY PASS
   ========================================================================== */

/* Archive pages: compact, consistent, non-amateur spacing */
body.archive .vh-archive-shell,
body.category .vh-archive-shell,
body.tag .vh-archive-shell {
    max-width: 1220px;
}

body.archive .vh-archive-header,
body.category .vh-archive-header,
body.tag .vh-archive-header {
    margin-bottom: 1.8rem !important;
    padding: 1.4rem 0 1.2rem !important;
    background: transparent !important;
    border-bottom: 1px solid var(--vh-border-subtle);
}

.vh-archive-title {
    margin: 0 !important;
    font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
    color: var(--vh-text-primary) !important;
}

.vh-archive-description {
    max-width: 760px;
    margin: 0.8rem auto 0 !important;
    color: var(--vh-text-secondary) !important;
}

body.archive .vh-archive-grid,
body.category .vh-archive-grid,
body.tag .vh-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.35rem !important;
    align-items: stretch !important;
}

body.archive .vh-ref-post-card,
body.category .vh-ref-post-card,
body.tag .vh-ref-post-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: var(--vh-bg-surface) !important;
    border: 1px solid var(--vh-border-subtle) !important;
}

body.archive .vh-ref-post-img-wrap,
body.category .vh-ref-post-img-wrap,
body.tag .vh-ref-post-img-wrap {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

body.archive .vh-ref-post-img,
body.category .vh-ref-post-img,
body.tag .vh-ref-post-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.vh-archive-card-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    padding: 0.95rem !important;
    height: 100% !important;
}

.vh-archive-cat {
    color: var(--vh-accent-neon) !important;
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
}

body.archive .vh-ref-post-title,
body.category .vh-ref-post-title,
body.tag .vh-ref-post-title {
    margin: 0 !important;
    font-size: 1.06rem !important;
    line-height: 1.35 !important;
}

body.archive .vh-ref-post-title a,
body.category .vh-ref-post-title a,
body.tag .vh-ref-post-title a {
    color: var(--vh-text-primary) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.archive .vh-ref-post-excerpt,
body.category .vh-ref-post-excerpt,
body.tag .vh-ref-post-excerpt {
    color: var(--vh-text-secondary) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.4em;
}

.vh-archive-meta {
    margin-top: auto !important;
    padding-top: 0.9rem !important;
    font-size: 0.72rem !important;
    color: var(--vh-text-muted) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid var(--vh-border-subtle) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
    gap: 0.75rem !important;
}

/* Search modal: cleaner and less heavy */
.vh-search-modal {
    background: rgba(7, 12, 22, 0.64) !important;
    backdrop-filter: blur(6px) !important;
    padding: 1rem !important;
}

.vh-search-modal-inner {
    width: min(900px, 96vw) !important;
    padding: 1.5rem 1.5rem 1.35rem !important;
    background: var(--vh-bg-surface) !important;
    border: 1px solid var(--vh-border-strong) !important;
    border-radius: 18px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.42) !important;
    transform: translateY(16px) scale(0.98) !important;
    position: relative !important;
}

.vh-search-modal.active .vh-search-modal-inner {
    transform: translateY(0) scale(1) !important;
}

.vh-search-close {
    position: absolute !important;
    top: 0.7rem !important;
    right: 0.8rem !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    border: 1px solid var(--vh-border-subtle) !important;
    background: transparent !important;
    color: var(--vh-text-secondary) !important;
    font-size: 1.65rem !important;
    line-height: 1 !important;
}

.vh-search-title {
    margin: 0 2.6rem 0.35rem 0 !important;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem) !important;
    line-height: 1.15 !important;
}

.vh-search-subtitle {
    margin: 0 0 1rem !important;
    color: var(--vh-text-secondary) !important;
    max-width: 64ch !important;
}

.vh-search-form {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 0.65rem !important;
    margin: 0 !important;
}

.vh-search-form input[type="search"] {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0.8rem 1rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--vh-border-strong) !important;
    background: var(--vh-bg-base) !important;
    color: var(--vh-text-primary) !important;
    font-size: 1rem !important;
}

.vh-search-form button[type="submit"] {
    min-height: 52px !important;
    padding: 0.8rem 1.1rem !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.vh-search-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.vh-search-meta-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--vh-border-subtle);
    border-radius: 12px;
    padding: 0.85rem;
}

.vh-search-meta-block h3 {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.7rem 0;
    color: var(--vh-text-primary);
}

.vh-search-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vh-search-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--vh-border-subtle);
    color: var(--vh-text-secondary) !important;
    font-size: 0.8rem;
    font-weight: 600;
}

.vh-search-chip:hover {
    border-color: var(--vh-accent-neon);
    color: var(--vh-text-primary) !important;
}

.vh-search-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.vh-search-recent-list a {
    color: var(--vh-text-secondary) !important;
    line-height: 1.35;
}

.vh-search-recent-list a:hover {
    color: var(--vh-text-primary) !important;
}

/* Footer links readability and consistency */
.vh-footer-grid {
    gap: 2.2rem !important;
}

.vh-footer-about p {
    max-width: 35ch;
}

.vh-footer-links li {
    margin-bottom: 0.65rem !important;
}

.vh-footer-links a {
    display: inline-block;
    line-height: 1.4;
}

.vh-footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Pagination style moved from archive.php for consistency */
.vh-pagination {
    margin-top: 2.2rem;
}

.vh-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vh-pagination a,
.vh-pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--vh-border-strong);
    border-radius: 999px;
}

@media (max-width: 1024px) {
    body.archive .vh-archive-grid,
    body.category .vh-archive-grid,
    body.tag .vh-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .vh-search-form {
        grid-template-columns: 1fr !important;
    }

    .vh-search-meta-grid {
        grid-template-columns: 1fr;
    }

    body.archive .vh-archive-grid,
    body.category .vh-archive-grid,
    body.tag .vh-archive-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* ==========================================================================
   FINAL MEDIA + PROMPT CENTER STABILITY FIX
   ========================================================================== */
:root {
    --vh-uniform-media-ratio: 16 / 9;
    --vh-uniform-media-max-width: 860px;
    --vh-uniform-media-radius: 16px;
}

/* Uniform image frames across cards and single posts */
.vh-ref-post-img-wrap,
.vh-post-card-img-wrap,
.vh-intel-img-wrap,
.vh-psych-img-wrap,
.vh-stream-thumb,
.single-post .vh-single-featured-image-wrapper,
.single-post .vh-single-content figure,
.single-post .vh-single-content .wp-block-image {
    overflow: hidden !important;
    border-radius: var(--vh-uniform-media-radius) !important;
    background: var(--vh-bg-surface) !important;
}

.vh-ref-post-img-wrap,
.vh-post-card-img-wrap,
.vh-intel-img-wrap,
.vh-psych-img-wrap,
.vh-stream-thumb {
    aspect-ratio: var(--vh-uniform-media-ratio) !important;
}

.vh-ref-post-img,
.vh-post-card-img,
.vh-intel-img-wrap img,
.vh-psych-img-wrap img,
.vh-stream-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
}

/* Featured image: same visual size, no side blanks, not oversized */
.single-post .vh-single-featured-image-wrapper {
    width: 100% !important;
    max-width: var(--vh-uniform-media-max-width) !important;
    aspect-ratio: var(--vh-uniform-media-ratio) !important;
    margin: 0 auto 2rem auto !important;
}

.single-post .vh-single-featured-image-pixel-perfect {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
}

/* In-article media: controlled size without letterboxing */
.single-post .vh-single-content figure,
.single-post .vh-single-content .wp-block-image,
.single-post .vh-single-content p > img,
.single-post .vh-single-content > img {
    width: 100% !important;
    max-width: var(--vh-uniform-media-max-width) !important;
    margin: 1.5rem auto !important;
}

.single-post .vh-single-content figure,
.single-post .vh-single-content .wp-block-image {
    aspect-ratio: var(--vh-uniform-media-ratio) !important;
}

.single-post .vh-single-content .wp-block-image img,
.single-post .vh-single-content figure img,
.single-post .vh-single-content p > img,
.single-post .vh-single-content > img {
    width: 100% !important;
    height: 100% !important;
    max-height: 420px !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: transparent !important;
    border-radius: var(--vh-uniform-media-radius) !important;
}

/* Stop Prompt Center and complex Gutenberg blocks from breaking layout */
.single-post .vh-single-content,
.single-post .vh-single-content > *,
.single-post .vh-single-content .wp-block-group,
.single-post .vh-single-content .wp-block-columns,
.single-post .vh-single-content .wp-block-column,
.single-post .vh-single-content .wp-block-cover,
.single-post .vh-single-content .wp-block-media-text,
.single-post .vh-single-content .wp-block-table,
.single-post .vh-single-content .wp-block-embed,
.single-post .vh-single-content pre,
.single-post .vh-single-content code,
.single-post .vh-single-content table,
.single-post .vh-single-content iframe,
.single-post .vh-single-content video {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.single-post .vh-single-content .wp-block-columns,
.single-post .vh-single-content .wp-block-media-text {
    gap: 1.25rem !important;
    align-items: start !important;
}

.single-post .vh-single-content .wp-block-column {
    flex: 1 1 0 !important;
}

.single-post .vh-single-content .wp-block-cover,
.single-post .vh-single-content .wp-block-group,
.single-post .vh-single-content .wp-block-media-text,
.single-post .vh-single-content .wp-block-table,
.single-post .vh-single-content .wp-block-embed {
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.single-post .vh-single-content pre {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-x: auto !important;
    padding: 1rem !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.48) !important;
}

.single-post .vh-single-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
}

.single-post .vh-single-content iframe,
.single-post .vh-single-content video,
.single-post .vh-single-content .wp-block-embed iframe {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 14px !important;
}

.single-post.category-prompt-center .vh-single-content {
    overflow-x: hidden !important;
}

@media (max-width: 900px) {
    .single-post .vh-single-featured-image-wrapper,
    .single-post .vh-single-content figure,
    .single-post .vh-single-content .wp-block-image,
    .single-post .vh-single-content p > img,
    .single-post .vh-single-content > img {
        max-width: 100% !important;
    }

    .single-post .vh-single-content .wp-block-columns,
    .single-post .vh-single-content .wp-block-media-text {
        display: flex !important;
        flex-direction: column !important;
    }

    .single-post .vh-single-content .wp-block-image img,
    .single-post .vh-single-content figure img,
    .single-post .vh-single-content p > img,
    .single-post .vh-single-content > img {
        max-height: 300px !important;
    }
}

/* ==========================================================================
   BRAND + AUTH EXPERIENCE REFRESH
   ========================================================================== */
.vh-site-branding {
    min-width: 0;
}

.vh-brand-lockup {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--vh-text-primary) !important;
}

.vh-brand-logo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 240px;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.18));
}

.vh-brand-tagline {
    font-size: 0.72rem;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vh-text-muted);
}

.vh-brand-lockup--header .vh-brand-logo {
    height: 38px;
    max-width: 220px;
}

.vh-brand-lockup--mobile .vh-brand-logo {
    height: 34px;
    max-width: 190px;
}

.vh-brand-lockup--footer .vh-brand-logo {
    height: 44px;
    max-width: 240px;
}

.vh-brand-lockup--auth .vh-brand-logo {
    height: 48px;
    max-width: 260px;
}

.vh-brand-lockup--auth-form .vh-brand-logo {
    height: 42px;
    max-width: 220px;
}

.vh-footer-logo .vh-brand-lockup {
    align-items: flex-start;
}

.vh-mobile-nav-header .vh-brand-lockup {
    max-width: calc(100% - 56px);
}

.vh-mobile-nav-header .vh-brand-tagline {
    display: none;
}

.vh-auth-page {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2.5rem) 1rem 3rem;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 36%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.vh-auth-shell {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 480px);
    gap: clamp(1.2rem, 2.4vw, 2rem);
    align-items: stretch;
}

.vh-auth-showcase {
    position: relative;
    min-height: 680px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--vh-border-subtle);
    background:
        linear-gradient(145deg, rgba(14, 165, 233, 0.14), rgba(16, 185, 129, 0.1)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.68));
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.38);
}

.vh-auth-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(125, 211, 252, 0.26), transparent 22%),
        radial-gradient(circle at 84% 82%, rgba(52, 211, 153, 0.18), transparent 20%);
    pointer-events: none;
}

.vh-auth-showcase-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 3rem);
}

.vh-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vh-auth-hero-title {
    max-width: 10ch;
    margin: 0.35rem 0 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.vh-auth-hero-copy {
    max-width: 54ch;
    margin: 0;
    color: var(--vh-text-secondary);
    font-size: 1.02rem;
    line-height: 1.75;
}

.vh-auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.vh-auth-feature-card {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.vh-auth-feature-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.vh-auth-feature-card p {
    margin: 0;
    color: var(--vh-text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.vh-auth-form-card {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 680px;
    padding: clamp(1.5rem, 3vw, 3rem) !important;
    border-radius: 32px !important;
}

.vh-auth-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    text-align: left;
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
}

.vh-auth-title,
.vh-auth-subtitle {
    text-align: left;
}

.vh-auth-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
    margin-bottom: 0.45rem;
}

.vh-auth-subtitle {
    margin-bottom: 1.4rem;
    max-width: 38ch;
}

.vh-auth-form {
    display: grid;
    gap: 1rem;
}

.vh-form-group {
    display: grid;
    gap: 0.45rem;
}

.vh-form-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vh-auth-input {
    min-height: 54px;
    border-radius: 16px !important;
}

.vh-pw-toggle {
    right: 0.9rem;
}

.vh-btn-auth {
    min-height: 56px;
    margin-top: 0.35rem;
    border-radius: 16px !important;
    font-size: 0.9rem;
}

.vh-auth-message {
    text-align: left;
}

.vh-auth-footer {
    margin-top: 1.35rem;
    text-align: left;
    line-height: 1.7;
}

html[data-theme="light"] .vh-auth-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 35%),
        radial-gradient(circle at bottom right, rgba(5, 150, 105, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 1));
}

html[data-theme="light"] .vh-auth-showcase {
    background:
        linear-gradient(145deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .vh-auth-feature-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .vh-auth-eyebrow {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
    color: #0F172A;
}

@media (max-width: 1024px) {
    .vh-auth-shell {
        grid-template-columns: 1fr;
    }

    .vh-auth-showcase,
    .vh-auth-form-card {
        min-height: 0;
    }

    .vh-auth-feature-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .vh-brand-lockup--header .vh-brand-logo {
        height: 34px;
        max-width: 190px;
    }

    .vh-auth-page {
        padding: 1rem 0.85rem 2rem;
    }

    .vh-auth-shell {
        gap: 1rem;
    }

    .vh-auth-showcase-inner,
    .vh-auth-form-card {
        padding: 1.25rem !important;
    }

    .vh-auth-hero-title {
        max-width: none;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .vh-auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .vh-auth-title,
    .vh-auth-subtitle,
    .vh-auth-footer,
    .vh-auth-message {
        text-align: left;
    }
}

/* ==========================================================================
   FINAL GLOBAL STABILITY + MOBILE OPTIMIZATION
   ========================================================================== */

/* Brand visibility */
.vh-brand-lockup--header .vh-brand-logo {
    height: 52px !important;
    max-width: 320px !important;
}

.vh-brand-lockup--mobile .vh-brand-logo {
    height: 44px !important;
    max-width: 250px !important;
}

.vh-site-header {
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
}

/* Keep prompt corner out of critical mobile interactions */
.vh-prompt-corner-widget {
    z-index: 7000 !important;
}

.vh-mobile-nav {
    z-index: 12050 !important;
}

.vh-mobile-overlay {
    z-index: 12040 !important;
}

.vh-mobile-nav-inner {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
}

.vh-mobile-nav-links {
    flex: 0 0 auto !important;
    overflow: visible !important;
}

.vh-mobile-nav-footer {
    margin-top: auto !important;
    position: sticky;
    bottom: 0;
    background: var(--vh-bg-surface);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 2;
}

body.vh-mobile-nav-open .vh-prompt-corner-widget,
body.vh-modal-open .vh-prompt-corner-widget {
    display: none !important;
}

/* Homepage psychology header alignment */
body.home .vh-psych-section .vh-psych-header {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body.home .vh-psych-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    white-space: nowrap;
    transform: none !important;
}

/* Search modal mobile fit */
@media (max-width: 768px) {
    #vhSearchModal {
        padding: 0.85rem !important;
    }

    #vhSearchModal .vh-search-modal-inner {
        width: 100% !important;
        max-width: none !important;
        max-height: calc(100dvh - 1.7rem) !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
        padding: 1rem !important;
    }

    #vhSearchModal .vh-search-close {
        top: 0.45rem !important;
        right: 0.45rem !important;
    }

    #vhSearchModal .vh-search-meta-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    #vhSearchModal .vh-search-form {
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }
}

/* Static page content must not fall back to card-grid feel */
.vh-static-page-main {
    background: var(--vh-bg-base);
}

.vh-static-page-header {
    background: transparent !important;
    border-bottom: 1px solid var(--vh-border-subtle);
    margin-bottom: 1.25rem !important;
    padding: 1.6rem 0 !important;
}

.vh-static-page-title {
    margin: 0;
    font-size: clamp(1.95rem, 5vw, 3rem);
    line-height: 1.08;
}

.vh-static-page-subtitle {
    margin: 0.7rem 0 0;
    color: var(--vh-text-secondary);
}

.vh-static-page-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--vh-text-secondary);
}

.vh-static-page-content > * {
    max-width: 100%;
}

.vh-static-page-content h2,
.vh-static-page-content h3,
.vh-static-page-content h4,
.vh-static-page-content strong {
    color: var(--vh-text-primary);
}

.vh-static-page-content a {
    color: var(--vh-accent-teal);
}

/* Auth layout: single strong card, no left promo panel */
.vh-auth-page-compact .vh-auth-shell-single {
    max-width: 920px;
    margin: 0 auto;
    grid-template-columns: 1fr !important;
}

.vh-auth-page-compact .vh-auth-showcase {
    display: none !important;
}

.vh-auth-page-compact .vh-auth-form-card-single {
    min-height: min(88dvh, 820px) !important;
    max-width: 720px !important;
    width: min(100%, 720px) !important;
    margin: 0 auto !important;
    justify-content: flex-start !important;
    padding-top: clamp(1.4rem, 3vw, 2.2rem) !important;
}

.vh-auth-page-compact .vh-auth-logo {
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.75rem !important;
}

.vh-auth-page-compact .vh-auth-title {
    margin-bottom: 0.2rem !important;
}

.vh-auth-page-compact .vh-auth-subtitle {
    margin-bottom: 0.55rem !important;
}

.vh-auth-page-compact .vh-auth-message {
    margin-bottom: 0.35rem !important;
}

@media (max-width: 768px) {
    .vh-auth-page-compact .vh-auth-form-card-single {
        min-height: 0 !important;
        width: 100% !important;
    }
}

/* Single post global stability across categories */
body.single-post,
body.single-post #page,
body.single-post #content,
body.single-post .site-content,
body.single-post .vh-site-main,
body.single-post .vh-single-article {
    background: var(--vh-bg-base) !important;
}

.single-post .vh-single-header,
.single-post .vh-single-title {
    color: var(--vh-text-primary) !important;
}

.single-post .vh-single-title {
    text-wrap: balance;
}

.single-post .vh-single-content,
.single-post .vh-single-content * {
    color: var(--vh-text-secondary) !important;
    opacity: 1 !important;
}

.single-post .vh-single-content h1,
.single-post .vh-single-content h2,
.single-post .vh-single-content h3,
.single-post .vh-single-content h4,
.single-post .vh-single-content h5,
.single-post .vh-single-content h6,
.single-post .vh-single-content strong,
.single-post .vh-single-content b {
    color: var(--vh-text-primary) !important;
}

.single-post .vh-single-content [style*="color"],
.single-post .vh-single-content .has-text-color,
.single-post .vh-single-content .has-inline-color,
.single-post .vh-single-content [class*="has-"][class*="-color"] {
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content > * {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .vh-single-content p,
.single-post .vh-single-content li {
    overflow-wrap: anywhere;
}

/* Mobile logo and CTA fit */
@media (max-width: 900px) {
    .vh-brand-lockup--header .vh-brand-logo {
        height: 44px !important;
        max-width: 240px !important;
    }

    .vh-header-inner {
        gap: 0.75rem !important;
    }

    .vh-btn-premium {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ==========================================================================
   FINAL LOGO + MOBILE MENU SHIFT FIX
   ========================================================================== */
html {
    scrollbar-gutter: stable;
}

.vh-brand-lockup--header .vh-brand-logo {
    height: 58px !important;
    max-width: 360px !important;
}

.vh-brand-lockup--mobile .vh-brand-logo {
    height: 48px !important;
    max-width: 290px !important;
}

.vh-brand-lockup--footer .vh-brand-logo {
    height: 50px !important;
    max-width: 310px !important;
}

.vh-mobile-nav {
    right: 0 !important;
    width: min(88vw, 360px) !important;
    max-width: none !important;
    transform: translate3d(104%, 0, 0) !important;
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
}

.vh-mobile-nav.active {
    transform: translate3d(0, 0, 0) !important;
}

.vh-mobile-nav-header {
    gap: 0.75rem !important;
}

.vh-mobile-nav-header .vh-brand-lockup {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.vh-mobile-nav-header .vh-brand-logo {
    max-width: 100% !important;
}

.vh-mobile-nav-links {
    padding-right: 0.2rem;
}

.vh-mobile-nav-footer .vh-btn-premium {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .vh-brand-lockup--header .vh-brand-logo {
        height: 48px !important;
        max-width: 260px !important;
    }

    .vh-mobile-nav {
        width: min(92vw, 340px) !important;
    }
}

/* ==========================================================================
   FINAL READABILITY + MOBILE META + BRAND CONTRAST FIX
   ========================================================================== */
.single-post .vh-single-content,
.single-post .vh-single-content :where(p, li, span, div, td, th, blockquote, figcaption) {
    color: var(--vh-text-secondary) !important;
    opacity: 1 !important;
}

.single-post .vh-single-content :where(h1, h2, h3, h4, h5, h6, strong, b) {
    color: var(--vh-text-primary) !important;
}

.single-post .vh-single-content :where(h2, h3, h4) {
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: -0.02em !important;
    text-wrap: pretty;
    scroll-margin-top: 110px;
}

.single-post .vh-single-content h2 {
    font-size: clamp(1.72rem, 2.7vw, 2.2rem) !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    border-left: 0 !important;
    padding-left: 0 !important;
}

.single-post .vh-single-content h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important;
    margin-top: 2rem !important;
    margin-bottom: 0.8rem !important;
}

.single-post .vh-single-content h4 {
    font-size: clamp(1.18rem, 1.8vw, 1.38rem) !important;
    margin-top: 1.6rem !important;
    margin-bottom: 0.7rem !important;
}

.single-post .vh-single-content p,
.single-post .vh-single-content li {
    line-height: 1.82 !important;
}

.single-post .vh-single-content li::marker {
    color: var(--vh-text-muted) !important;
}

.single-post .vh-single-content a {
    color: var(--vh-accent-teal) !important;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.12em;
}

.single-post .vh-single-content :where([style*="color"], .has-text-color, .has-inline-color, [class*="has-"][class*="-color"], .text-neon, .text-teal) {
    color: var(--vh-text-secondary) !important;
}

.single-post .vh-single-content :where(h1, h2, h3, h4, h5, h6, strong, b).text-neon,
.single-post .vh-single-content :where(h1, h2, h3, h4, h5, h6, strong, b).text-teal {
    color: var(--vh-text-primary) !important;
}

@media (max-width: 768px) {
    .single-post .vh-single-meta {
        justify-content: center !important;
        gap: 0.35rem 0.5rem !important;
        margin-top: 0.95rem !important;
    }

    .single-post .vh-single-meta .vh-single-date,
    .single-post .vh-single-meta .vh-read-time,
    .single-post .vh-single-meta .vh-single-sep {
        display: none !important;
    }

    .single-post .vh-single-content h2 {
        font-size: clamp(1.44rem, 6vw, 1.75rem) !important;
        margin-top: 1.95rem !important;
    }

    .single-post .vh-single-content h3 {
        font-size: clamp(1.2rem, 5vw, 1.45rem) !important;
        margin-top: 1.6rem !important;
    }

    .single-post .vh-single-content h4 {
        font-size: clamp(1.08rem, 4.5vw, 1.28rem) !important;
    }
}

.vh-site-branding .vh-brand-lockup,
.vh-footer-logo .vh-brand-lockup,
.vh-mobile-nav-header .vh-brand-lockup,
.vh-auth-page .vh-brand-lockup {
    filter: none !important;
}

.vh-brand-logo {
    filter: none !important;
}

.vh-brand-logo--light {
    display: none;
}

html[data-theme="light"] .vh-brand-logo--dark {
    display: none !important;
}

html[data-theme="light"] .vh-brand-logo--light {
    display: block !important;
}

/* ==========================================================================
   SINGLE POST HARD LOCK (CONSISTENT TOP/BOTTOM + READABILITY)
   ========================================================================== */
body.single-post {
    --vh-single-block-bg: rgba(148, 163, 184, 0.12);
}

html[data-theme="light"] body.single-post {
    --vh-single-block-bg: rgba(15, 23, 42, 0.06);
}

body.single-post,
body.single-post #page,
body.single-post .vh-site-main,
body.single-post #primary,
body.single-post .vh-single-article,
body.single-post .vh-single-header,
body.single-post .vh-site-footer {
    background: var(--vh-bg-base) !important;
    color: var(--vh-text-primary) !important;
}

body.single-post .vh-site-header {
    background: var(--vh-bg-surface) !important;
}

body.single-post .vh-single-content,
body.single-post .vh-single-content * {
    opacity: 1 !important;
}

body.single-post .vh-single-content :where(p, li, span, div, td, th, figcaption, em, i, small) {
    color: var(--vh-text-secondary) !important;
}

body.single-post .vh-single-content :where(h1, h2, h3, h4, h5, h6, strong, b) {
    color: var(--vh-text-primary) !important;
}

body.single-post .vh-single-content :where([style*="color"], .has-text-color, .has-inline-color, [class*="has-"][class*="-color"], .text-neon, .text-teal) {
    color: var(--vh-text-secondary) !important;
}

body.single-post .vh-single-content a,
body.single-post .vh-single-content a * {
    color: var(--vh-accent-teal) !important;
}

body.single-post .vh-single-content :where(.has-background, .wp-block-group, .wp-block-cover, .wp-block-column, .wp-block-media-text, .wp-block-quote, .wp-block-pullquote) {
    background-color: var(--vh-single-block-bg) !important;
    background-image: none !important;
}

body.single-post .vh-single-content .alignwide,
body.single-post .vh-single-content .alignfull,
body.single-post .vh-single-content [class*="alignwide"],
body.single-post .vh-single-content [class*="alignfull"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-post .vh-single-content {
    overflow-x: clip !important;
}

/* ==========================================================================
   FINAL LOGO + MOBILE SIGN-IN VISIBILITY LOCK
   ========================================================================== */
.vh-site-branding .vh-brand-lockup,
.vh-mobile-nav-header .vh-brand-lockup,
.vh-footer-logo .vh-brand-lockup {
    display: inline-flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-width: 0;
}

.vh-site-branding .vh-brand-lockup {
    flex-direction: row !important;
    gap: 0 !important;
}

.vh-mobile-nav-header .vh-brand-lockup {
    flex-direction: row !important;
    gap: 0 !important;
    max-width: calc(100% - 54px) !important;
}

.vh-footer-logo .vh-brand-lockup {
    flex-direction: column !important;
    gap: 0.3rem !important;
}

.vh-brand-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: none !important;
}

.vh-brand-lockup--header .vh-brand-logo {
    width: clamp(165px, 21vw, 250px) !important;
    max-height: 54px !important;
}

.vh-brand-lockup--mobile .vh-brand-logo {
    width: clamp(150px, 54vw, 220px) !important;
    max-height: 48px !important;
}

.vh-brand-lockup--footer .vh-brand-logo {
    width: clamp(175px, 22vw, 250px) !important;
    max-height: 56px !important;
}

.vh-brand-logo--light {
    display: none !important;
}

html[data-theme="light"] .vh-brand-logo--dark {
    display: none !important;
}

html[data-theme="light"] .vh-brand-logo--light {
    display: block !important;
}

.vh-mobile-nav {
    overflow: hidden !important;
}

.vh-mobile-nav-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
}

.vh-mobile-nav-links {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding: 0.45rem 0 0.9rem !important;
}

.vh-mobile-nav-footer {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 4 !important;
    background: var(--vh-bg-surface) !important;
    border-top: 1px solid var(--vh-border-strong) !important;
    padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom, 0px)) !important;
}

.vh-mobile-nav-footer .vh-btn-premium {
    display: flex !important;
    width: 100% !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.08em !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.vh-mobile-nav-open .vh-prompt-corner-widget {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html[data-theme="light"] .vh-mobile-nav-footer {
    background: #FFFFFF !important;
}

/* ==========================================================================
   AUTH SPACING + RESPONSIVE + PERFORMANCE HARD LOCK
   ========================================================================== */
.vh-auth-page-compact .vh-auth-form-card-single {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding: clamp(1rem, 2.2vw, 1.6rem) !important;
    gap: 0 !important;
}

.vh-auth-page-compact .vh-auth-logo {
    margin-bottom: 0.6rem !important;
    padding-bottom: 0.5rem !important;
}

.vh-auth-page-compact .vh-auth-title {
    margin-bottom: 0.2rem !important;
}

.vh-auth-page-compact .vh-auth-subtitle {
    margin-bottom: 0.65rem !important;
    max-width: 44ch !important;
}

.vh-auth-page-compact .vh-auth-form {
    display: grid !important;
    gap: 0.8rem !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vh-auth-page-compact .vh-form-group {
    margin-bottom: 0 !important;
    gap: 0.35rem !important;
}

.vh-auth-page-compact .vh-auth-message {
    min-height: 0 !important;
    margin-bottom: 0.2rem !important;
}

.vh-auth-page-compact .vh-btn-auth {
    margin-top: 0.25rem !important;
}

.vh-auth-page-compact .vh-auth-footer {
    margin-top: 0.85rem !important;
}

@media (max-width: 992px) {
    .vh-auth-page {
        padding: 0.75rem 0.65rem 1rem !important;
    }

    .vh-auth-page-compact .vh-auth-shell-single,
    .vh-auth-page-compact .vh-auth-form-card-single {
        width: 100% !important;
        max-width: 100% !important;
    }

    .vh-auth-page-compact .vh-auth-form-card-single {
        border-radius: 16px !important;
        padding: 0.9rem !important;
    }

    .vh-auth-page-compact .vh-auth-input {
        min-height: 48px !important;
        font-size: 16px !important;
    }
}

/* Render faster below-the-fold blocks */
.vh-section,
.vh-related-posts,
.vh-comments-area,
.vh-site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

/* Keep interactions smooth on mobile/low power devices */
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
    .vh-search-modal,
    .vh-mobile-overlay,
    .vh-auth-feature-card,
    .vh-auth-showcase,
    .vh-site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .vh-auth-form-card,
    .vh-auth-showcase,
    .vh-search-modal-inner,
    .vh-mobile-nav {
        box-shadow: 0 10px 26px rgba(2, 6, 23, 0.22) !important;
    }

    .vh-btn-icon,
    .vh-btn-premium,
    .vh-intel-card,
    .vh-psych-card,
    .vh-ref-post-card,
    .vh-mobile-link,
.vh-search-chip {
        transition:
            color 0.18s ease,
            background-color 0.18s ease,
            border-color 0.18s ease,
            transform 0.18s ease,
            opacity 0.18s ease !important;
    }
}

/* Absolute readability lock for all post content variants */
body.single-post .vh-single-content :is(p, li, span, div, td, th, figcaption, blockquote, em, i, small) {
    color: var(--vh-text-secondary) !important;
    opacity: 1 !important;
}

body.single-post .vh-single-content :is(h1, h2, h3, h4, h5, h6, strong, b) {
    color: var(--vh-text-primary) !important;
    opacity: 1 !important;
}

body.single-post .vh-single-content :is([style*="color"], [class*="has-"][class*="-color"], .has-text-color, .has-inline-color) {
    color: var(--vh-text-secondary) !important;
}

body.single-post .vh-single-content :is(h1, h2, h3, h4, h5, h6, strong, b):is([style*="color"], [class*="has-"][class*="-color"], .has-text-color, .has-inline-color) {
    color: var(--vh-text-primary) !important;
}

/* Prevent random full-width text rows from breaking layout */
body.single-post .vh-single-content :is(.wp-block-group.alignfull, .wp-block-group.alignwide, .wp-block-columns.alignfull, .wp-block-columns.alignwide, .wp-block-list.alignfull, .wp-block-list.alignwide, .wp-block-paragraph.alignfull, .wp-block-paragraph.alignwide) {
    max-width: min(100%, 780px) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Final frame lock: remove random white top/side bands on single posts */
body.single-post {
    background: #081325 !important;
    overflow-x: hidden !important;
}

body.single-post #page,
body.single-post .site,
body.single-post #content,
body.single-post .site-content,
body.single-post main#primary,
body.single-post .vh-site-main,
body.single-post .vh-single-article {
    background: #081325 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.single-post .vh-site-header,
body.single-post .vh-site-header::before,
body.single-post .vh-site-header::after,
body.single-post .vh-single-header {
    background: #081325 !important;
}

html[data-theme="light"] body.single-post,
html[data-theme="light"] body.single-post #page,
html[data-theme="light"] body.single-post #content,
html[data-theme="light"] body.single-post .site-content,
html[data-theme="light"] body.single-post .vh-site-main {
    background: #081325 !important;
}

/* Global wrapper reset: prevent random outer white frames across templates */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--vh-bg-base) !important;
}

body #page.site,
body #content.site-content,
body .site-content,
body main#primary,
body .vh-site-main {
    margin: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* ==========================================================================
   FINAL SINGLE POST TYPOGRAPHY + CONSISTENCY LOCK
   ========================================================================== */
body.single-post .vh-single-content {
    color: var(--vh-text-secondary) !important;
    font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.08rem) !important;
    line-height: 1.8 !important;
}

body.single-post .vh-single-content * {
    color: inherit !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
}

body.single-post .vh-single-content :is(h1, h2, h3, h4, h5, h6, strong, b) {
    color: var(--vh-text-primary) !important;
}

body.single-post .vh-single-content a,
body.single-post .vh-single-content a * {
    color: var(--vh-accent-teal) !important;
}

body.single-post .vh-single-content :is([class*="has-"][class*="-color"], [class*="has-"][class*="-background-color"], .has-text-color, .has-inline-color, .has-background, .text-neon, .text-teal) {
    color: inherit !important;
    background: transparent !important;
}

body.single-post .vh-single-content :is(.alignfull, .alignwide, [class*="alignfull"], [class*="alignwide"]) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-post .vh-single-content :is(.wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-column, .wp-block-media-text, .wp-block-pullquote, .wp-block-quote) {
    background: transparent !important;
    background-image: none !important;
}

body.single-post,
body.single-post #page,
body.single-post #content,
body.single-post .site-content,
body.single-post main#primary,
body.single-post .vh-site-main,
body.single-post .vh-single-article,
body.single-post .vh-site-header,
body.single-post .vh-single-header {
    background: var(--vh-bg-base) !important;
}

html[data-theme="light"] body.single-post,
html[data-theme="light"] body.single-post #page,
html[data-theme="light"] body.single-post #content,
html[data-theme="light"] body.single-post .site-content,
html[data-theme="light"] body.single-post main#primary,
html[data-theme="light"] body.single-post .vh-site-main,
html[data-theme="light"] body.single-post .vh-single-article,
html[data-theme="light"] body.single-post .vh-site-header,
html[data-theme="light"] body.single-post .vh-single-header {
    background: var(--vh-bg-base) !important;
}

@media (max-width: 768px) {
    body.single-post .vh-single-content {
        font-size: 1rem !important;
        line-height: 1.74 !important;
    }
}

/* ==========================================================================
   ULTIMATE SINGLE POST ROOT FIX
   ========================================================================== */
html.vh-single-post-page {
    background: #0f172a !important;
}

html.vh-single-post-page[data-theme="light"] {
    background: #f8fafc !important;
}

html.vh-single-post-page body.single-post {
    background: inherit !important;
    min-height: 100vh !important;
}

html.vh-single-post-page body.single-post,
html.vh-single-post-page body.single-post #page,
html.vh-single-post-page body.single-post #page.site,
html.vh-single-post-page body.single-post .site,
html.vh-single-post-page body.single-post #content,
html.vh-single-post-page body.single-post .site-content,
html.vh-single-post-page body.single-post main#primary,
html.vh-single-post-page body.single-post .vh-site-main,
html.vh-single-post-page body.single-post .vh-single-article,
html.vh-single-post-page body.single-post .vh-site-footer {
    background: inherit !important;
    margin: 0 !important;
    padding-top: 0 !important;
}

html.vh-single-post-page body.single-post .vh-site-header {
    background: var(--vh-bg-surface) !important;
    border-bottom: 1px solid var(--vh-border-subtle) !important;
    margin: 0 !important;
}

html.vh-single-post-page body.single-post .vh-single-header {
    background: transparent !important;
    margin: 0 auto 1.5rem !important;
    padding-top: clamp(1.25rem, 2.6vw, 2rem) !important;
}

html.vh-single-post-page body.single-post .vh-container-narrow,
html.vh-single-post-page body.single-post .vh-single-content {
    max-width: 820px !important;
}

html.vh-single-post-page body.single-post .vh-single-content > :where(h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table, figure, form, div, section, article, aside) {
    width: min(100%, 780px) !important;
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html.vh-single-post-page body.single-post .vh-single-content > :where(ul, ol, blockquote, pre, table, figure, form, div, section, article, aside) {
    margin-top: 1.1rem !important;
    margin-bottom: 1.1rem !important;
}

html.vh-single-post-page body.single-post .vh-single-content :where(form, fieldset, .wpforms-container, .mc4wp-form, [class*="quiz"], [class*="test"], [class*="poll"]) {
    width: min(100%, 780px) !important;
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html.vh-single-post-page body.single-post .vh-single-content :where(input, select, textarea, button) {
    max-width: 100% !important;
}

/* ==========================================================================
   FRONT PAGE SECTION REPLACEMENT + NAV POLISH
   ========================================================================== */
.vh-briefing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.08);
    color: var(--vh-accent-neon);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.home .vh-briefing-section .vh-section-header {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body.home .vh-briefing-section .vh-psych-link {
    color: var(--vh-accent-neon) !important;
}

.vh-stream-thumb-placeholder--text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--vh-accent-neon);
}

.vh-section--latest {
    padding: 4rem 0 2rem;
}

.vh-section--briefings {
    padding: 4rem 0 1.5rem;
}

.vh-section--curated {
    padding: 4rem 0;
    border-top: 1px solid var(--vh-border-subtle);
}

.vh-section--cta {
    padding: 4rem 0 6rem;
}

.vh-section-header--centered {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.vh-section-header--spaced {
    margin-bottom: 2.5rem;
}

.vh-section-title--compact {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.vh-home-section-copy {
    color: var(--vh-text-muted);
    max-width: 620px;
    margin: 0 auto;
}

body.vh-mobile-nav-open .vh-prompt-corner-widget,
body.vh-mobile-nav-open [class*="prompt-corner"],
body.vh-mobile-nav-open [id*="prompt-corner"],
body.vh-modal-open .vh-prompt-corner-widget,
body.vh-modal-open [class*="prompt-corner"],
body.vh-modal-open [id*="prompt-corner"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.vh-mobile-nav-open {
    overflow: hidden !important;
}

.vh-mobile-nav {
    overscroll-behavior: contain;
}

.vh-mobile-nav-footer {
    box-shadow: 0 -12px 24px rgba(2, 6, 23, 0.2) !important;
}

.vh-mobile-nav-footer .vh-btn-premium {
    min-height: 50px !important;
    border-radius: 14px !important;
}

@media (max-width: 900px) {
    .vh-mobile-nav {
        width: 100vw !important;
        max-width: 100vw !important;
        right: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
    }

    .vh-mobile-nav-inner {
        padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    .vh-mobile-nav-header {
        padding: 0 0 1rem !important;
        margin-bottom: 0.85rem !important;
    }

    .vh-mobile-nav-links {
        padding: 0.2rem 0 1rem !important;
    }

    .vh-mobile-nav-footer {
        padding: 0.95rem 0 calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    .vh-section-header--centered,
    .vh-section-header--spaced {
        margin-bottom: 1.75rem;
    }

    .vh-section--latest,
    .vh-section--briefings,
    .vh-section--curated,
    .vh-section--cta {
        padding-top: 3rem;
    }

    .vh-section--cta {
        padding-bottom: 4rem;
    }
}

/* ==========================================================================
   CANONICAL HEADER INTERACTION + INLINE LOGO SAFETY
   ========================================================================== */
.vh-brand-lockup {
    position: relative;
    z-index: 2;
}

.vh-brand-lockup .vh-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}

.vh-brand-wordmark {
    display: inline-block;
    color: var(--vh-text-primary);
    font-size: clamp(1.45rem, 1.7vw, 2.1rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vh-site-header {
    position: sticky !important;
    top: 0;
    z-index: 13000 !important;
    isolation: isolate;
}

.vh-site-header::before,
.vh-site-header::after {
    pointer-events: none !important;
}

.vh-header-inner,
.vh-site-branding,
.vh-header-actions,
.vh-header-cta,
.vh-site-branding a,
.vh-btn-icon,
.vh-mobile-toggle,
.vh-header-cta a {
    position: relative;
    z-index: 13010;
    pointer-events: auto !important;
}

.vh-search-modal,
.vh-mobile-overlay,
.vh-mobile-nav {
    pointer-events: none !important;
}

.vh-search-modal.active,
.vh-mobile-overlay.active,
.vh-mobile-nav.active,
.vh-search-modal.active .vh-search-modal-inner {
    pointer-events: auto !important;
}

/* ==========================================================================
   SINGLE POST FOOTER NORMALIZATION
   ========================================================================== */
body.single-post .vh-single-after-content {
    max-width: 1160px;
    margin: 0 auto;
}

body.single-post .vh-single-footer {
    max-width: 100%;
    margin: 4rem auto 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.single-post .vh-author-box {
    width: min(100%, 780px);
    margin: 0 auto 2.5rem;
}

body.single-post .vh-related-posts {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.single-post .vh-related-title {
    font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
    margin-bottom: 1.25rem !important;
}

body.single-post .vh-slider-container {
    padding-bottom: 0.4rem !important;
}

body.single-post .vh-comments-area,
body.single-post .vh-comments-shell {
    width: min(100%, 780px);
    max-width: 780px;
    margin: 3rem auto 0 !important;
    padding-top: 2rem !important;
}

body.single-post .vh-comments-area {
    border-top: 1px solid var(--vh-border-subtle) !important;
}

body.single-post .vh-related-posts,
body.single-post .vh-comments-area,
body.single-post .vh-comments-shell {
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
}

@media (max-width: 768px) {
    body.single-post .vh-single-footer {
        margin-top: 3rem !important;
    }

    body.single-post .vh-author-box,
    body.single-post .vh-comments-area,
    body.single-post .vh-comments-shell {
        width: 100%;
    }

    body.single-post .vh-ref-post-card {
        min-width: min(82vw, 320px) !important;
        width: min(82vw, 320px) !important;
    }
}
