/* ========================================
   Ansøgningshjælpen - Redesign Styles
   Following SkrivSikkert DESIGN_GUIDE.md
   ======================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Text Colors */
    --text-primary: #495057;
    --text-secondary: #6c757d;
    --text-muted: #9CA3AF;
    --text-tertiary: #6b7280;
    --text-dark: #414141;
    --brand-primary: #2a9fc0;
    --brand-primary-hover: #248aa8;
    --brand-primary-light: #3ab0d1;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-card: #f8f9fa;
    --bg-light-gray: #F8F9FA;
    --bg-hover: rgba(248, 249, 250, 0.8);
    --bg-hover-solid: #f5f6f7;
    
    /* Border Colors */
    --border-default: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.12);
    --border-subtle: rgba(222, 226, 230, 0.006);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 1px 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    --shadow-premium-hover: 0 1px 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
}

/* Skip Link - Hidden (accessible to screen readers only) */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.gradient-text {
    color: var(--brand-primary, #2a9fc0); /* Fallback for browsers that don't support background-clip: text */
    background: linear-gradient(90deg, #6c757d 0%, #2a9fc0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Accessibility: Focus states for interactive elements */
.template-card:focus-visible,
.feature-card:focus-visible,
.feature-card-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.nav-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    border: 1px solid #2a9fc0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #248aa8 0%, #1e7a96 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-premium);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-premium-hover);
    transform: translateY(-1px);
}

/* ========================================
   Header
   ======================================== */

/* ========================================
   Header - Mobile First Responsive
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--space-4);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

/* Logo - Responsive sizing */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
}

/* Navigation - Hidden on mobile */
.nav {
    display: none;
}

/* ----------------------------------------
   Header - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
    .header {
        padding: 0 var(--space-5);
    }
    
    .header-container {
        gap: var(--space-5);
    }
    
    .logo-img {
        height: 42px;
    }
}

/* ----------------------------------------
   Header - Desktop (1024px+)
   ---------------------------------------- */
@media (min-width: 1024px) {
    .header {
        padding: 0 var(--space-6);
    }
    
    .header-container {
        padding: var(--space-3) 0;
        gap: var(--space-6);
    }
    
    .logo-img {
        height: 44px;
    }
    
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-dark);
    background: var(--bg-hover);
}

.nav-chevron {
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Highlighted Nav Link (Jobakademiet) */
.nav-link--highlight {
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.08) 0%, rgba(42, 159, 192, 0.04) 100%);
    border-radius: var(--radius-lg);
    color: var(--brand-primary) !important;
    font-weight: 500;
    padding: var(--space-2) var(--space-4) !important;
    border: 1px solid rgba(42, 159, 192, 0.15);
    transition: all var(--transition-fast);
}

.nav-link--highlight:hover {
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.15) 0%, rgba(42, 159, 192, 0.08) 100%);
    border-color: rgba(42, 159, 192, 0.25);
    color: var(--brand-primary-hover) !important;
}

.nav-link-icon {
    flex-shrink: 0;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 280px;
    padding: var(--space-4);
    margin-top: var(--space-1);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all var(--transition-fast);
}

/* Wide dropdown for Ansøgning menu - 2 column layout */
.dropdown.dropdown-wide {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.dropdown-desc {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Dropdown Section Headers */
.dropdown-section {
    padding: 0;
}

.dropdown-section:not(:first-child) {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/* For wide dropdown, sections are side by side */
.dropdown-wide .dropdown-section {
    padding: 0;
}

.dropdown-section-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-1);
}

/* Dropdown Footer (See all link) */
.dropdown-footer {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-default);
}

.dropdown-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-footer-link:hover {
    background: rgba(42, 159, 192, 0.12);
    color: var(--brand-primary-hover);
}

.dropdown-footer-link svg {
    transition: transform var(--transition-fast);
}

.dropdown-footer-link:hover svg {
    transform: translateX(3px);
}

/* Header CTA Button */
/* CTA Group: Jobakademiet + Skriv din ansøgning */
.header-cta-group {
    display: none;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header-cta-group {
        display: flex;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    .header-cta-group {
        margin-left: 0;
    }
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    position: relative;
    top: 1px;
    transition: transform var(--transition-fast);
}

/* Secondary CTA: Jobakademiet (Learn) */
.header-cta--secondary {
    color: var(--text-primary);
    background: var(--bg-light-gray);
    border: 1px solid var(--border-default);
}

.header-cta--secondary:hover {
    background: #eef0f2;
    border-color: var(--border-medium);
}

/* Primary CTA: Skriv din ansøgning (Do) */
@keyframes cta-soft-glow {
    0%, 100% { box-shadow: 0 1px 3px rgba(42, 159, 192, 0.25); }
    50% { box-shadow: 0 1px 8px rgba(42, 159, 192, 0.45), 0 0 0 3px rgba(42, 159, 192, 0.08); }
}

.header-cta--primary {
    color: #fff;
    background: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(42, 159, 192, 0.25);
    animation: cta-soft-glow 3s ease-in-out 3;
}

.header-cta--primary:hover {
    background: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #fff;
    box-shadow: 0 2px 8px rgba(42, 159, 192, 0.4);
    animation: none;
}

.header-cta--primary:active {
    background: #1e7a96;
    border-color: #1e7a96;
    box-shadow: 0 1px 2px rgba(42, 159, 192, 0.3);
    transform: scale(0.98);
    animation: none;
}

.header-cta--primary:hover svg {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .header-cta--primary {
        animation: none;
    }
}

@media print {
    .header-cta--primary {
        animation: none;
        box-shadow: none;
        border: 1.5px solid #2a9fc0;
    }
}

/* Focus states for accessibility */
.header-cta:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.header-cta--primary:focus-visible {
    outline-offset: 4px;
}

.nav-cta-mobile-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Mobile Menu Button - Touch friendly */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px; /* Offset to align visually */
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--bg-hover);
}

.mobile-menu-btn:active {
    background: rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: calc(80px + var(--space-16)) var(--space-6) var(--space-16);
    background: #ffffff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero Centered Variant (for pages without hero image) */
.hero-centered .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
}

.hero-centered .hero-content {
    text-align: center;
}

.hero-centered .hero-actions {
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.08);
    border-radius: 100px;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-preview {
    width: 100%;
    max-width: 400px;
}

.preview-card {
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.preview-header {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-default);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-medium);
}

.preview-dot:first-child { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:last-child { background: #28c840; }

.preview-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.preview-line {
    height: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

.preview-line.short { width: 60%; }
.preview-line.medium { width: 80%; }

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--space-16) var(--space-6);
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.features-container .section-title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.features-container .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

/* Last element in container should not have bottom margin - section padding handles it */
.features-container .section-subtitle:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

/* Best practice: Last element should not have bottom margin - section padding handles spacing */
.section-subtitle:last-child {
    margin-bottom: 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    text-align: left;
}

/* Remove bottom margin when steps is the last element - section padding handles spacing */
.steps:last-child {
    margin-bottom: 0;
}

.step {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.step:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
}

/* ========================================
   Templates Section
   ======================================== */

.templates {
    padding: var(--space-16) var(--space-6);
    background: var(--bg-card);
}

.templates-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.template-card {
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

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

.template-preview {
    height: 300px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.template-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-default);
    transition: all var(--transition-fast);
}

.template-download:hover {
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.04);
}

.templates-cta {
    text-align: center;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: var(--space-16) var(--space-6);
    background: var(--bg-card);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-container .section-title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.testimonials-container .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.testimonials-container .section-subtitle:last-child {
    margin-bottom: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.testimonials-cta {
    text-align: center;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: var(--space-16) var(--space-6);
    background: var(--bg-white);
}

/* Gray background variant for when FAQ follows white section */
.faq-bg {
    background: var(--bg-card);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-container .section-title {
    text-align: center;
    margin-bottom: var(--space-3); /* 12px - small gap to subtitle */
}

.faq-container .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-10); /* 40px gap to FAQ list */
}

.faq-container .section-subtitle:last-child {
    margin-bottom: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
    text-align: left; /* Override parent containers (e.g. .features-container) that center text */
}

.faq-item:hover {
    border-color: var(--border-medium);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-number {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
}

.faq-answer {
    padding: var(--space-4) var(--space-6) var(--space-5);
    background: var(--bg-white);
    border-top: 1px solid var(--border-default);
    text-align: left; /* Ensure answers/lists don't look "broken" when embedded in centered sections */
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: var(--space-3) 0;
    padding-left: var(--space-6);
    list-style: disc;
}

.faq-answer ol {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: var(--space-3) 0;
    padding-left: var(--space-6);
    list-style: decimal;
}

.faq-answer li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-2);
    padding-left: var(--space-1);
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: var(--space-16) var(--space-6);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-10);
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-info .section-title {
    margin-bottom: var(--space-6);
}

.contact-email a {
    font-size: 16px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-email a:hover {
    color: var(--brand-primary);
}

.social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.08);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset;
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.04) inset;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */

/* ========================================
   Footer - Mobile First Responsive
   ======================================== */

.footer {
    padding: var(--space-8) var(--space-4) var(--space-6);
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Grid - Mobile: stacked */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

/* Footer Column */
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer links - with touch-friendly padding on mobile */
.footer-col a {
    display: inline-block;
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    min-height: 44px;
    line-height: 1.5;
}

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

/* Footer Contact Column */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    min-height: 44px;
    line-height: 1;
}

.footer-email:hover {
    color: var(--text-dark);
}

.footer-email svg {
    flex-shrink: 0;
    color: #999;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.footer-email span {
    word-break: break-all;
    line-height: 1.4;
}

/* Footer Social Links - Touch friendly */
.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-1);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a {
    display: inline-block;
    padding: var(--space-1) 0;
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--text-secondary);
}

/* ----------------------------------------
   Footer - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
    .footer {
        padding: var(--space-10) var(--space-6) var(--space-6);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-5);
    }
    
    .footer-col a {
        padding: var(--space-1) 0;
        font-size: 14px;
        min-height: auto;
    }
    
    .footer-email {
        padding: var(--space-1) 0;
        font-size: 14px;
        min-height: auto;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-bottom a {
        padding: 0;
    }
}

/* ----------------------------------------
   Footer - Desktop (1024px+)
   ---------------------------------------- */
@media (min-width: 1024px) {
    .footer-grid {
        gap: var(--space-8);
    }
    
    .footer-col a {
        font-size: 14px;
    }
    
    .footer-email {
        font-size: 14px;
    }
}


/* ========================================
   Footer V2 - Premium Layout with Brand
   ======================================== */

/* Main footer layout: Brand on left, links on right */
.footer-v2 .footer-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-logo img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Social in brand area */
.footer-brand .footer-social {
    margin-top: var(--space-2);
}

/* Links grid */
.footer-v2 .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* Footer bottom */
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-right a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom-right a:hover {
    color: var(--text-secondary);
}

.footer-dot {
    color: var(--text-muted);
    user-select: none;
}

/* Tablet */
@media (min-width: 768px) {
    .footer-v2 .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: var(--space-12);
    }
    
    .footer-brand {
        flex-shrink: 0;
        max-width: 200px;
    }
    
    .footer-v2 .footer-links {
        grid-template-columns: repeat(3, auto);
        gap: var(--space-10);
    }
    
    /* 2-column variant */
    .footer-v2 .footer-links-2 {
        grid-template-columns: repeat(2, auto);
        gap: var(--space-12);
    }
    
    .footer-bottom-right {
        justify-content: flex-end;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .footer-v2 .footer-links {
        gap: var(--space-16);
    }
    
    .footer-v2 .footer-links-2 {
        gap: var(--space-16);
    }
    
    .footer-brand {
        max-width: 220px;
    }
}


/* ========================================
   Hero Trust Indicators
   ======================================== */

.hero-trust {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-default);
}

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

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.trust-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Steps Section Extended
   ======================================== */

.steps-section {
    padding: var(--space-16) var(--space-6);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.steps-container .section-subtitle:last-child {
    margin-bottom: 0;
}

.step-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.step:hover .step-icon {
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.08);
}

.steps-cta {
    text-align: center;
    margin-top: var(--space-10);
}

/* ========================================
   Testimonial Cards
   ======================================== */

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: all var(--transition-fast);
}

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

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   FAQ Extended Styles
   ======================================== */

.faq-text {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    background: var(--bg-hover);
}

/* ========================================
   CTA Banner
   ======================================== */

.cta-banner {
    padding: var(--space-16) var(--space-6);
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
}

.cta-banner-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
}

/* Keep centered on all screen sizes - modern, clean layout */

.cta-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-3);
}

.cta-banner-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 400px;
}

.cta-banner-actions {
    margin-top: var(--space-2);
}

.cta-banner-actions .btn,
.cta-banner-actions .btn.btn-lg {
    background: #ffffff !important;
    color: var(--brand-primary) !important;
    border: 2px solid #ffffff !important;
    font-weight: 600;
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-banner-actions .btn:hover,
.cta-banner-actions .btn.btn-lg:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: 16px;
}

/* ========================================
   Template Gallery Extended
   ======================================== */

.template-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-3);
    color: var(--text-muted);
}

.template-placeholder svg {
    opacity: 0.5;
}

.template-placeholder span {
    font-size: 13px;
}

.template-info {
    padding: var(--space-4);
    border-top: 1px solid var(--border-default);
}

.template-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}

.template-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.template-card .template-download {
    border-top: none;
    padding-top: 0;
}

/* ========================================
   Contact Extended
   ======================================== */

.contact-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.contact-details {
    margin-bottom: var(--space-4);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 15px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-email:hover {
    color: var(--brand-primary);
}

.contact-email svg {
    color: var(--text-muted);
}

/* ========================================
   Article Styles
   ======================================== */

.article {
    padding: calc(80px + var(--space-10)) var(--space-6) var(--space-16);
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-10);
}

@media (min-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr 300px;
    }
}

.article-header {
    margin-bottom: var(--space-8);
}

.article-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.article-category {
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
}

.article-date {
    font-size: 13px;
    color: var(--text-muted);
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-4);
}

.article-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-content {
    line-height: 1.7;
}

.article-section {
    margin-bottom: var(--space-8);
}

.article-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.article-section h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.article-section p {
    margin-bottom: var(--space-4);
}

.article-list {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.article-list li {
    position: relative;
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

.article-list li::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-4));
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.tip-box {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(42, 159, 192, 0.06);
    border-radius: var(--radius-lg);
    margin: var(--space-5) 0;
}

.tip-icon {
    flex-shrink: 0;
    color: var(--brand-primary);
}

.tip-content {
    font-size: 14px;
    color: var(--text-primary);
}

.example-box {
    padding: var(--space-5);
    background: var(--bg-card);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-5) 0;
}

.example-box h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.example-box p {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .article-sidebar {
        position: sticky;
        top: calc(80px + var(--space-6));
    }
}

.sidebar-cta {
    padding: var(--space-6);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.08) 0%, rgba(58, 176, 209, 0.04) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
}

.sidebar-cta h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.sidebar-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.sidebar-related {
    padding: var(--space-5);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
}

.sidebar-related h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.sidebar-related ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sidebar-related a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.sidebar-related a:hover {
    color: var(--brand-primary);
}

/* Footer Extended styles moved to main footer section */

/* ========================================
   Mobile Navigation
   ======================================== */

.nav-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-default);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: var(--space-2) var(--space-4);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-open .nav-list {
    flex-direction: column;
    align-items: stretch;
}

.nav-open .nav-item {
    border-bottom: 1px solid var(--border-default);
}

.nav-open .nav-item:last-child {
    border-bottom: none;
}

.nav-open .nav-link {
    padding: var(--space-4) var(--space-2);
    min-height: 48px;
    justify-content: space-between;
}

.nav-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 var(--space-2) var(--space-4);
    margin-top: 0;
    display: none;
}

.nav-open .nav-item.dropdown-open .dropdown {
    display: block;
}

/* Hide subtext and section headers on mobile - cleaner menu */
.nav-open .dropdown-desc,
.nav-open .dropdown-section-title {
    display: none;
}

/* Compact dropdown items on mobile */
.nav-open .dropdown-item {
    padding: var(--space-3) var(--space-3);
}

.nav-open .dropdown-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Fix dropdown-wide on mobile - remove min-width and grid layout */
.nav-open .dropdown-wide {
    min-width: 0;
    grid-template-columns: 1fr;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile CTA buttons inside nav menu */
.nav-cta-mobile {
    display: none;
}

.nav-open .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-2);
    margin-top: var(--space-2);
    border-top: 1px solid var(--border-default);
}

.nav-cta-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    min-height: 48px;
}

.nav-cta-mobile-btn--secondary {
    color: var(--text-primary);
    background: var(--bg-light-gray);
    border: 1px solid var(--border-default);
}

.nav-cta-mobile-btn--secondary:hover {
    background: #eef0f2;
}

.nav-cta-mobile-btn--primary {
    color: #fff;
    background: var(--brand-primary);
    border: none;
    font-weight: 600;
}

.nav-cta-mobile-btn--primary:hover {
    background: var(--brand-primary-hover);
}

.nav-cta-mobile-btn--primary:active {
    background: #1e7a96;
    transform: scale(0.98);
}

/* ========================================
   Image Placeholders
   ======================================== */

.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-8);
    color: var(--text-muted);
}

.image-placeholder svg {
    opacity: 0.5;
}

.image-placeholder span {
    font-size: 13px;
    text-align: center;
}

/* Aspect ratio containers */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-container {
        gap: var(--space-8);
    }
    
    .steps {
        gap: var(--space-4);
    }
    
    .step {
        padding: var(--space-5);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
    :root {
        --space-16: 48px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: calc(70px + var(--space-10)) var(--space-4) var(--space-10);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .steps-section,
    .features,
    .templates,
    .testimonials,
    .faq,
    .contact {
        padding: var(--space-12) var(--space-4);
    }
    
    .step {
        flex-direction: column;
        padding: var(--space-5);
        gap: var(--space-4);
    }
    
    .step-icon {
        order: -1;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: var(--space-4);
        font-size: 14px;
    }
    
    .faq-answer {
        padding: var(--space-3) var(--space-4) var(--space-4); /* 12px top gap */
        padding-left: var(--space-4);
    }
    
    .cta-banner {
        padding: var(--space-12) var(--space-4);
    }
    
    .cta-banner-title {
        font-size: 1.5rem;
    }
    
    .cta-banner-text {
        font-size: 1rem;
    }
    
    .article {
        padding: calc(70px + var(--space-6)) var(--space-4) var(--space-10);
    }
    
    .article-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

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

.text-center {
    text-align: center;
}

/* Background utilities */
.bg-card {
    background: var(--bg-card);
}

.bg-white {
    background: var(--bg-white);
}

/* Spacing utilities */
.mt-8 {
    margin-top: var(--space-8);
}

.text-left {
    text-align: left;
}

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* ========================================
   Enhanced Testimonial Cards
   ======================================== */

.testimonial-card-enhanced {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-fast);
}

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

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #f59e0b;
    color: #f59e0b;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 var(--space-5) 0;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 16px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Feature Cards Component
   ======================================== */

.features-section {
    padding: var(--space-16) 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Features section with background */
.features-bg {
    background: var(--bg-card);
}

/* 3-column variant */
.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* 4-column variant for trust/features sections */
.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1023px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-fast);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Feature card as link */
.feature-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-card-link .feature-title {
    font-size: 15px;
}

.feature-card-link .feature-desc {
    font-size: 14px;
}

/* Centered feature card (for examples/templates) */
.feature-card-centered {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card-centered:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-3);
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary);
    transition: gap 0.2s ease;
}

.feature-card-centered:hover .feature-link {
    gap: 8px;
}

/* Section CTA wrapper */
.section-cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* Narrow content container */
.content-narrow {
    max-width: 800px;
    margin: var(--space-8) auto 0;
    text-align: left;
}

/* Steps grid component (2x2) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Duplicate removed - .step-number is defined in steps-section above */

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        padding: var(--space-4);
    }
}

/* Content paragraphs */
.content-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-text.centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.content-text + .content-text {
    margin-top: var(--space-4);
}

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

.content-text a {
    color: var(--brand-primary);
    text-decoration: none;
}

.content-text a:hover {
    text-decoration: underline;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.feature-card .btn {
    margin-top: var(--space-3);
}

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

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Stack icon on top, text below (vertical layout) */
    .feature-card {
        text-align: center;
        display: block; /* Reset flex to block for simple stacking */
        padding: var(--space-5);
    }
    
    .feature-icon {
        margin: 0 auto var(--space-3);
        width: 48px;
        height: 48px;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: var(--space-2);
    }
    
    .feature-desc {
        font-size: 14px;
    }
}

/* ========================================
   Article Content Styles
   ======================================== */

.article-section {
    padding: calc(70px + var(--space-10)) 0 var(--space-16);
}

.article-container-wide {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.article-header-enhanced {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-default);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.article-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.1) 0%, rgba(42, 159, 192, 0.05) 100%);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
}

.article-date {
    font-size: 13px;
    color: var(--text-muted);
}

.article-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.article-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Article Body Typography */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: var(--space-10) 0 var(--space-4) 0;
    padding-top: var(--space-4);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: var(--space-8) 0 var(--space-3) 0;
}

.article-body p {
    margin: 0 0 var(--space-5) 0;
}

.article-body ul,
.article-body ol {
    margin: var(--space-5) 0;
    padding-left: var(--space-6);
}

.article-body li {
    margin-bottom: var(--space-2);
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Article Tip Box */
.article-tip {
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.08) 0%, rgba(42, 159, 192, 0.03) 100%);
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-4) var(--space-5);
    margin: var(--space-6) 0;
}

.article-tip strong {
    color: var(--brand-primary);
}

/* Article Key Takeaways */
.article-takeaways {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.article-takeaways h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-4) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-takeaways ul {
    margin: 0;
    padding-left: var(--space-5);
}

.article-takeaways li {
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

/* Article Blockquote */
.article-body blockquote {
    border-left: 3px solid var(--brand-primary);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-6) 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body blockquote p {
    margin: 0;
}

/* ========================================
   Template Gallery Component
   ======================================== */

.template-gallery-section {
    padding: var(--space-16) 0;
    background: var(--bg-card);
}

.template-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.template-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.template-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.template-preview-image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 210/297; /* A4 ratio */
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.template-info {
    padding: var(--space-5);
}

.template-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2) 0;
}

.template-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.5;
}

.template-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.template-format {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

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

@media (max-width: 767px) {
    .template-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   Stats/Numbers Section
   ======================================== */

.stats-section {
    padding: var(--space-12) 0;
    background: var(--bg-white);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6c757d 0%, #2a9fc0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
}

/* ========================================
   Process/How It Works Section
   ======================================== */

/* Intro Section (short text-only sections) */
.intro-section {
    padding: var(--space-12) 0;
}

.intro-section.intro-bg {
    background: var(--bg-card);
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
}

.intro-container .section-title {
    margin-bottom: var(--space-3);
}

.intro-container .section-subtitle {
    margin-bottom: 0;
}

/* Process Section */
.process-section {
    padding: var(--space-16) 0;
    background: var(--bg-card);
}

.process-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
}

.process-container .section-title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.process-container .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-10);
    text-align: left;
}

.process-step {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    background: var(--bg-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-premium);
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2) 0;
}

.process-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   Pricing/Service CTA Box
   ======================================== */

.service-cta-box {
    background: linear-gradient(278deg, #f8f9fa 15%, #fff 85%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin: var(--space-10) 0;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.service-cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-3) 0;
}

.service-cta-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6c757d 0%, #2a9fc0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-2);
}

.service-cta-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 var(--space-6) 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.service-cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-primary);
}

.service-cta-feature svg {
    width: 18px;
    height: 18px;
    color: #28a745;
}

/* ========================================
   Related Content Links
   ======================================== */

.related-section {
    padding: var(--space-12) 0;
    background: var(--bg-card);
    margin-top: var(--space-10);
}

.related-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.related-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-6) 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.related-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    transition: all var(--transition-fast);
}

.related-link:hover {
    background: var(--bg-hover);
    border-color: var(--border-medium);
    transform: translateX(4px);
}

.related-link svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.related-link span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

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

/* ========================================
   Contact Form Enhanced
   ======================================== */

.contact-form-enhanced {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group-enhanced {
    margin-bottom: var(--space-5);
}

.form-label-enhanced {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.form-input-enhanced {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input-enhanced:focus {
    border-color: var(--border-medium);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.form-input-enhanced::placeholder {
    color: var(--text-muted);
}

textarea.form-input-enhanced {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Benefits List Component
   ======================================== */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-default);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list svg {
    width: 20px;
    height: 20px;
    color: #28a745;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-list span {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ========================================
   Table of Contents (for long articles)
   ======================================== */

.toc {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-8);
}

.toc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-3) 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-2);
}

.toc-list a {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-fast);
}

.toc-list a:hover {
    color: var(--brand-primary);
}

.toc-list a::before {
    content: '→';
    color: var(--text-muted);
}

/* ========================================
   Review/Rating Display
   ======================================== */

.rating-display {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    color: #f59e0b;
}

.rating-stars svg.empty {
    fill: #e0e0e0;
    color: #e0e0e0;
}

.rating-score {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.rating-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Aspect Ratio Additions
   ======================================== */

.aspect-wide {
    aspect-ratio: 16 / 10;
}

.aspect-banner {
    aspect-ratio: 3 / 1;
}

.aspect-a4 {
    aspect-ratio: 210 / 297;
}

/* ========================================
   Pricing Table (Comparison)
   ======================================== */

.pricing-table-wrapper {
    overflow-x: auto;
    margin: var(--space-6) 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.pricing-table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr.highlight {
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.05) 0%, rgba(42, 159, 192, 0.02) 100%);
}

.pricing-table tr.highlight td:first-child {
    font-weight: 600;
    color: var(--brand-primary);
}

.pricing-table tr.savings td {
    background: var(--bg-card);
    font-weight: 600;
    color: #28a745;
}

.pricing-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   Checklist Grid (Include/Exclude)
   ======================================== */

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin: var(--space-6) 0;
}

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

.checklist-column {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
}

.checklist-column.include {
    border: 2px solid rgba(40, 167, 69, 0.2);
}

.checklist-column.exclude {
    border: 2px solid rgba(220, 53, 69, 0.2);
}

.checklist-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.checklist-column.include .checklist-title {
    color: #28a745;
}

.checklist-column.exclude .checklist-title {
    color: #dc3545;
}

.checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checklist-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-column.include .checklist-list li svg {
    color: #28a745;
}

.checklist-column.exclude .checklist-list li svg {
    color: #dc3545;
}

/* ========================================
   Pricing Cards
   ======================================== */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-default);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.highlighted {
    border: 2px solid var(--brand-primary);
    transform: scale(1.02);
}

.pricing-card.highlighted::before {
    content: 'Mest populær';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2a9fc0 0%, #1e8aa8 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card-header {
    text-align: center;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-default);
    margin-bottom: var(--space-4);
}

.pricing-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-1) 0;
}

.pricing-card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.pricing-card-price {
    text-align: center;
    margin: var(--space-4) 0;
}

.pricing-card-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-primary);
}

.pricing-card-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5) 0;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card-features li svg {
    width: 18px;
    height: 18px;
    color: #28a745;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card-cta {
    text-align: center;
}

.pricing-card-cta .btn {
    width: 100%;
}

.pricing-card-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-3);
}

/* ========================================
   Important Notice Box
   ======================================== */

.notice-box {
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.08) 0%, rgba(42, 159, 192, 0.03) 100%);
    border: 2px solid rgba(42, 159, 192, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    margin: var(--space-8) 0;
}

.notice-box-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-3) 0;
}

.notice-box-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 var(--space-5) 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Templates Section
   ======================================== */

.templates-section {
    background: var(--bg-white);
    padding: var(--space-16) var(--space-6);
}

.templates-section-bg {
    background: var(--bg-card);
}

.templates-container {
    max-width: 1000px;
    margin: 0 auto;
}

.templates-section-divider {
    margin-top: var(--space-16);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

/* 4-column variant for template galleries with many items */
.templates-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.template-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-default);
}

.template-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.template-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(180deg, #fafbfc 0%, #f0f2f4 100%);
}

/* Subtle overlay on hover */
.template-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.template-card:hover .template-image::after {
    opacity: 1;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.template-card:hover .template-image img {
    transform: scale(1.02);
}

.template-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.template-info {
    padding: var(--space-4) var(--space-4) var(--space-5);
}

.template-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.template-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.templates-cta {
    text-align: center;
    margin-top: var(--space-10);
}

/* Template link - Premium minimal design */
.template-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-3);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-primary);
    transition: all var(--transition-fast);
}

.template-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.template-card:hover .template-link {
    color: var(--brand-primary-hover);
}

.template-card:hover .template-link svg {
    transform: translateX(3px);
}

/* Templates responsive */
@media (max-width: 1023px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .templates-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .templates-grid,
    .templates-grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .template-info {
        padding: var(--space-3);
    }
    
    .template-title {
        font-size: 14px;
    }
    
    .template-desc {
        font-size: 12px;
    }
    
    .template-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }
    
    .template-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Comparison Cards (Do/Don't)
   ======================================== */

/* ========================================
   Comparison Cards - Premium Design
   Uses brand colors only, no red/green
   ======================================== */

.comparison-section {
    padding: var(--space-16) var(--space-6);
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.comparison-container .section-title {
    text-align: center;
    margin-bottom: var(--space-3);
}

.comparison-container .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    text-align: left;
}

.comparison-grid + .comparison-grid {
    margin-top: var(--space-6);
}

.comparison-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-default);
    transition: all var(--transition-normal);
}

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

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.comparison-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* DO card - filled brand icon */
.comparison-card.do .comparison-icon {
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    color: #fff;
}

/* DONT card - outlined style */
.comparison-card.dont .comparison-icon {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.comparison-icon svg {
    width: 20px;
    height: 20px;
}

.comparison-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--space-3);
    color: var(--text-dark);
}

.comparison-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: var(--space-1);
}

.comparison-card.do .comparison-badge {
    background: rgba(42, 159, 192, 0.1);
    color: var(--brand-primary);
}

.comparison-card.dont .comparison-badge {
    background: var(--bg-card);
    color: var(--text-muted);
}

.comparison-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.comparison-desc strong {
    color: var(--text-dark);
    font-weight: 600;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.comparison-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* DO card bullets - brand color */
.comparison-card.do .comparison-list li::before {
    background: var(--brand-primary);
}

/* DONT card bullets - muted gray */
.comparison-card.dont .comparison-list li::before {
    background: var(--text-muted);
}

/* DONT card has slightly muted text */
.comparison-card.dont .comparison-list li {
    color: var(--text-muted);
}

.comparison-grid + .comparison-grid {
    margin-top: var(--space-6);
}

/* Comparison responsive */
@media (max-width: 767px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-card {
        padding: var(--space-5);
    }
    
    .comparison-title {
        font-size: 16px;
    }
    
    .comparison-desc {
        font-size: 14px;
    }
    
    .comparison-list li {
        font-size: 13px;
    }
}

/* ========================================
   Method Grid (3-column layout, minimal)
   ======================================== */

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    max-width: 900px;
    margin: var(--space-6) auto 0;
}

.method-card {
    background: var(--bg-white);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    transition: all var(--transition-normal);
    text-align: left;
}

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

.method-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-dark);
}

.method-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .method-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .method-card {
        padding: var(--space-4);
    }
}

/* ========================================
   Principle List (minimal styling)
   ======================================== */

.principle-box {
    max-width: 800px;
    margin: var(--space-12) auto 0;
    padding-top: var(--space-10);
    border-top: 1px solid var(--border-default);
}

.principle-box:first-of-type {
    margin-top: var(--space-10);
}

.principle-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--text-dark);
    text-align: center;
}

.principle-box > p {
    margin-bottom: var(--space-5);
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
}

.principle-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.principle-list p {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-light, rgba(0,0,0,0.05));
}

.principle-list p:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.principle-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

.principle-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 767px) {
    .principle-box {
        padding: var(--space-5);
    }
    
    .principle-item {
        gap: var(--space-3);
    }
    
    .principle-content {
        font-size: 14px;
    }
}

/* ========================================
   Example Cards (success/error variants)
   ======================================== */

.example-cards {
    max-width: 800px;
    margin: 0 auto;
}

.example-cards h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    text-align: center;
    color: var(--text-dark);
}

/* Example pairs - side by side comparison */
.example-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.example-pair:last-child {
    margin-bottom: 0;
}

.example-card {
    background: var(--bg-white);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    text-align: left;
}

.example-card.success {
    border-top: 3px solid var(--brand-primary);
}

/* No label needed - card styling shows the difference */
.example-label {
    display: none;
}

.example-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}

.example-card.error .example-quote {
    color: var(--text-muted);
}

.example-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .example-pair {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .example-card {
        padding: var(--space-4);
    }
    
    .example-quote {
        font-size: 14px;
    }
    
    .example-note {
        font-size: 13px;
    }
}

/* ========================================
   Comparison Cards - Success/Error variants (subtle, modern)
   ======================================== */

/* Success card - subtle brand approach */
.comparison-card.success {
    border: 1px solid var(--border-default);
    border-top: 3px solid var(--brand-primary);
}

.comparison-card.success .comparison-icon {
    background: linear-gradient(135deg, #2a9fc0 0%, #3ab0d1 100%);
    color: #fff;
}

.comparison-card.success .comparison-badge {
    background: rgba(42, 159, 192, 0.08);
    color: var(--brand-primary);
}

/* Error card - subtle muted approach */
.comparison-card.error {
    border: 1px solid var(--border-default);
}

.comparison-card.error .comparison-icon {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-default);
}

.comparison-card.error .comparison-badge {
    background: var(--bg-card);
    color: var(--text-muted);
}

/* Muted styling for error card content */
.comparison-card.error .comparison-title {
    color: var(--text-secondary);
}

/* Examples/quotes section - minimal styling */
.comparison-card .comparison-examples {
    margin: var(--space-4) 0 var(--space-4);
}

.comparison-card .comparison-examples p {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.comparison-card .comparison-examples p:last-child {
    margin-bottom: 0;
}

/* Error card - muted text */
.comparison-card.error .comparison-examples p {
    color: var(--text-muted);
}



/* ========================================
   VIDENSBASE - Interactive Knowledge Hub
   ======================================== */

/* ----------------------------------------
   VB Hero Section
   ---------------------------------------- */
.vb-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: white;
    padding: calc(80px + var(--space-16)) var(--space-6) var(--space-16);
    text-align: center;
}

.vb-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.vb-hero .hero-title {
    color: white;
    margin-bottom: var(--space-4);
}

.vb-hero .hero-title .gradient-text {
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vb-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
}

.vb-hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
}

.vb-hero-stat {
    text-align: center;
}

.vb-hero-stat .vb-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.vb-hero-stat .vb-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .vb-hero {
        padding: calc(70px + var(--space-12)) var(--space-4) var(--space-12);
    }
    
    .vb-hero-stats {
        gap: var(--space-6);
    }
    
    .vb-hero-stat .vb-stat-number {
        font-size: 2rem;
    }
}

/* ----------------------------------------
   VB Module Grid
   ---------------------------------------- */
.vb-modules {
    padding: var(--space-12) var(--space-6);
}

.vb-modules--alt-bg {
    background: var(--bg-card);
    padding-top: var(--space-10);
}

.vb-modules-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.vb-modules-container .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.vb-modules-container .section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* Phase headers - inside grid, span all columns */
.vb-phase {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
    margin-bottom: var(--space-1);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
}

.vb-phase:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.vb-phase-number {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.vb-phase-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    margin: 0;
}

/* Optional phase (Specialized tracks) */
.vb-phase--optional {
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 2px solid var(--border-default);
}

.vb-phase--optional .vb-phase-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.vb-phase--optional .vb-phase-title::before {
    content: "✦";
    margin-right: var(--space-2);
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

.vb-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.vb-module-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    padding-top: var(--space-8);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: left;
}

.vb-module-card:hover {
    background: var(--bg-card);
    border-color: var(--brand-primary-light);
    box-shadow: 0 4px 16px rgba(42,159,192,0.12);
    transform: translateY(-2px);
}

/* Step number badge */
.vb-module-step {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* In-progress state */
.vb-module-card.vb-is-active {
    border-color: var(--brand-primary);
    border-width: 2px;
}

.vb-module-card.vb-is-active .vb-module-step {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

/* Completed state */
.vb-module-card.vb-is-complete .vb-module-step {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.vb-module-card.vb-is-complete .vb-module-step::after {
    content: "✓";
}

.vb-module-card.vb-is-complete .vb-module-step span {
    display: none;
}

/* Progress bar in card */
.vb-module-progress {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
}

.vb-module-progress-bar {
    height: 4px;
    background: var(--border-default);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.vb-module-progress-fill {
    height: 100%;
    background: var(--brand-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.vb-module-progress-text {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.vb-module-card.vb-is-complete .vb-module-progress-fill {
    background: #10b981;
}

.vb-module-card.vb-is-complete .vb-module-progress-text {
    color: #10b981;
}

.vb-module-card:hover .vb-module-icon {
    background: var(--brand-primary);
}

.vb-module-card:hover .vb-module-icon svg {
    stroke: white;
}

.vb-module-card:hover .vb-module-title {
    color: var(--brand-primary);
}

.vb-module-card:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-module-icon {
    width: 44px;
    height: 44px;
    background: #f5f6f8;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    transition: all var(--transition-fast);
}

.vb-module-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-fast);
}

.vb-module-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
    transition: color var(--transition-fast);
}

.vb-module-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-4);
}

.vb-module-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Recommended badge for suggested next module */
.vb-module-card.vb-is-recommended {
    border-color: rgba(42, 159, 192, 0.3);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.04) 0%, transparent 100%);
}

.vb-module-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--brand-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.vb-module-card {
    position: relative;
}

/* Dynamic CTA at bottom of card */
.vb-module-cta-text {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-primary);
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
}

.vb-module-cta-text svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.vb-module-card:hover .vb-module-cta-text svg {
    transform: translateX(3px);
}

/* Hide empty progress bars */
.vb-module-meta .vb-progress-bar {
    display: none;
}

.vb-module-meta.vb-has-progress .vb-progress-bar {
    display: block;
}

/* Progress text styling */
.vb-module-progress-text {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.vb-module-progress-text.vb-is-complete {
    color: #10b981;
    font-weight: 500;
}

/* Complete state for module CTA */
.vb-module-cta-text.vb-is-complete {
    color: #10b981;
}

.vb-module-cta-text.vb-is-complete svg {
    display: none;
}

@media (max-width: 1023px) {
    .vb-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .vb-modules {
        padding: var(--space-10) var(--space-4);
    }
    
    .vb-modules-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   VB Progress Bar (in module cards)
   ---------------------------------------- */
.vb-progress-bar {
    flex-grow: 1;
    max-width: 50px;
    height: 3px;
    background: var(--border-default);
    border-radius: 2px;
    overflow: hidden;
}

.vb-progress-fill {
    height: 100%;
    background: var(--brand-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* ----------------------------------------
   VB Resume Learning Banner
   ---------------------------------------- */
/* Resume Learning Banner - Integrated Hero Style */
.vb-resume-banner {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    margin: 2rem auto 0;
    max-width: fit-content;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: resumeBannerFadeIn 0.5s ease-out;
}

@keyframes resumeBannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vb-resume-banner:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.24) 0%,
        rgba(255, 255, 255, 0.16) 100%
    );
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vb-resume-container {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.vb-resume-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vb-resume-banner:hover .vb-resume-icon {
    transform: scale(1.05);
}

.vb-resume-icon svg {
    margin-left: 2px; /* Optical center for play icon */
}

.vb-resume-content {
    flex: 1;
    min-width: 0;
}

.vb-resume-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.1875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vb-resume-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.vb-resume-link:hover {
    color: #ffffff;
}

.vb-resume-link svg {
    opacity: 0.6;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vb-resume-banner:hover .vb-resume-link svg {
    transform: translateX(4px);
    opacity: 1;
}

/* ----------------------------------------
   VB Floating Progress Badge
   ---------------------------------------- */
.vb-floating-progress {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-white);
    border-radius: 32px;
    padding: 6px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 90;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: 68px;
    text-decoration: none;
    color: inherit;
}

.vb-floating-progress:hover {
    max-width: 280px;
    padding-right: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.16),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ring container */
.vb-floating-progress-ring {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.vb-floating-progress-ring svg {
    transform: rotate(-90deg);
}

.vb-floating-ring-bg {
    fill: none;
    stroke: var(--bg-card);
    stroke-width: 7;
}

.vb-floating-ring-circle {
    fill: none;
    stroke: var(--brand-primary);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 138; /* 2 * PI * 22 */
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.6s ease;
}

/* Progress at different levels */
.vb-floating-progress[data-progress="low"] .vb-floating-ring-circle {
    stroke: var(--brand-primary);
}

.vb-floating-progress[data-progress="mid"] .vb-floating-ring-circle {
    stroke: #f59e0b; /* Amber */
}

.vb-floating-progress[data-progress="high"] .vb-floating-ring-circle {
    stroke: #10b981; /* Green */
}

.vb-floating-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Details (shown on hover) */
.vb-floating-progress-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s ease 0.1s;
    padding-left: 8px;
}

.vb-floating-progress:hover .vb-floating-progress-details {
    opacity: 1;
}

.vb-floating-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.vb-floating-status {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Mobile: slightly smaller and positioned */
@media (max-width: 767px) {
    .vb-floating-progress {
        bottom: 16px;
        right: 16px;
        max-width: 60px;
        padding: 4px;
    }
    
    .vb-floating-progress:hover {
        max-width: 240px;
        padding-right: 12px;
    }
    
    .vb-floating-progress-ring {
        width: 52px;
        height: 52px;
    }
    
    .vb-floating-progress-ring svg {
        width: 52px;
        height: 52px;
    }
    
    .vb-floating-ring-text {
        font-size: 13px;
    }
}

/* ----------------------------------------
   VB Progress Ring (for module cards)
   ---------------------------------------- */
.vb-progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.vb-progress-ring svg {
    transform: rotate(-90deg);
    width: 80px;
    height: 80px;
}

.vb-progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 6;
}

.vb-progress-ring-circle {
    fill: none;
    stroke: #10b981;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 0.5s ease;
}

/* ----------------------------------------
   VB Guide List
   ---------------------------------------- */
.vb-guides {
    padding: var(--space-12) var(--space-6);
    background: var(--bg-card);
}

.vb-guides-container {
    max-width: 700px;
    margin: 0 auto;
}

.vb-guides-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.vb-guide-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    position: relative;
}

.vb-guide-card:hover {
    background: var(--bg-card);
    border-color: var(--border-default);
}

.vb-guide-card:hover .vb-guide-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: var(--brand-primary);
}

.vb-guide-card:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-guide-card.vb-is-read {
    background: var(--bg-white);
    border-color: var(--border-light);
}

.vb-guide-card.vb-is-read .vb-guide-title {
    color: var(--text-secondary);
}

.vb-guide-number {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

/* Arrow indicator for clickable cards */
.vb-guide-arrow {
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
    opacity: 0.5;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.vb-guide-card:hover .vb-guide-number {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.vb-guide-card.vb-is-read .vb-guide-number {
    background: rgba(16, 185, 129, 0.1);
    border-color: transparent;
    color: #10b981;
    font-size: 0.75rem;
}

/* Hide number text and show checkmark for read items */
.vb-guide-card.vb-is-read .vb-guide-number::after {
    content: '✓';
    font-size: 0.85rem;
    font-weight: 600;
}

.vb-guide-card.vb-is-read .vb-guide-number {
    font-size: 0;
}

.vb-guide-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vb-guide-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.vb-guide-card:hover .vb-guide-title {
    color: var(--brand-primary);
}

.vb-guide-meta {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.vb-guide-status {
    display: none; /* Checkmark now shown in number badge */
}

@media (max-width: 767px) {
    .vb-guides {
        padding: var(--space-12) var(--space-4);
    }
}

/* ----------------------------------------
   VB Breadcrumb
   ---------------------------------------- */
.vb-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.vb-breadcrumb a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* First link (parent) slightly muted for hierarchy */
.vb-breadcrumb a:first-of-type {
    color: var(--text-secondary);
}

.vb-breadcrumb a:first-of-type:hover {
    color: var(--brand-primary);
}

.vb-breadcrumb a:hover {
    text-decoration: underline;
}

.vb-breadcrumb a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-breadcrumb span:last-child {
    color: var(--text-dark);
}

/* Back link style (simplified breadcrumb for guide pages) */
.vb-breadcrumb--back {
    margin-bottom: var(--space-4);
}

.vb-back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.vb-back-icon {
    opacity: 0.6;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.vb-back-link:hover .vb-back-icon {
    transform: translateX(-3px);
    opacity: 1;
}

/* ----------------------------------------
   VB Module Context Bar (Guide pages)
   Shows which module user is in + progress
   ---------------------------------------- */
.vb-module-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.08) 0%, rgba(42, 159, 192, 0.03) 100%);
    border: 1px solid rgba(42, 159, 192, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-8);
}

.vb-module-context-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    padding: var(--space-1) var(--space-2);
    margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-2));
    border-radius: var(--radius-md);
}

.vb-module-context-link:hover {
    background: rgba(42, 159, 192, 0.08);
}

.vb-module-context-link:hover .vb-module-context-name {
    color: var(--brand-primary);
}

.vb-module-context-name {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.vb-module-link-arrow {
    opacity: 0.4;
    transition: all var(--transition-fast);
}

.vb-module-context-link:hover .vb-module-link-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: var(--brand-primary);
}

.vb-module-context-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}

.vb-module-context-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.vb-module-context-icon svg {
    stroke: white;
}

.vb-module-context-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vb-module-context-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.vb-module-context-position {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.vb-module-context-progress {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.vb-module-context-bar {
    width: 80px;
    height: 6px;
    background: rgba(42, 159, 192, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.vb-module-context-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, #3ab0d1 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

@media (max-width: 767px) {
    .vb-module-context {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .vb-module-context-progress {
        width: 100%;
    }
    
    .vb-module-context-bar {
        flex-grow: 1;
        width: auto;
    }
}

/* ----------------------------------------
   VB Article
   ---------------------------------------- */
.vb-article {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(80px + var(--space-8)) var(--space-6) var(--space-12);
}

.vb-article-header {
    margin-bottom: var(--space-10);
}

/* Article Meta Row - Combines reading time and progress on one line */
.vb-article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.vb-article-meta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    margin-top: var(--space-3);
}

.vb-article-meta svg {
    color: var(--brand-primary);
    opacity: 0.7;
}

/* Content Freshness Indicator */
.vb-meta-divider {
    margin: 0 0.5em;
    opacity: 0.5;
}

.vb-article-updated {
    color: var(--text-secondary);
}

.vb-article-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 0;
}

.vb-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.vb-article-content h2 {
    font-size: 1.5rem;
    margin: var(--space-10) 0 var(--space-4);
    color: var(--text-dark);
}

.vb-article-content h3 {
    font-size: 1.2rem;
    margin: var(--space-6) 0 var(--space-3);
    color: var(--text-dark);
}

.vb-article-content p {
    margin: 0 0 var(--space-5) 0;
}

/* Lead paragraph - prominent opening statement */
.vb-article-content .vb-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.vb-article-content ul,
.vb-article-content ol {
    margin: 0 0 var(--space-5) 0;
    padding-left: var(--space-6);
}

.vb-article-content ul {
    list-style: disc;
}

.vb-article-content ol {
    list-style: decimal;
}

.vb-article-content li {
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.vb-article-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.vb-article-content blockquote {
    border-left: 4px solid var(--brand-primary);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-6) 0;
    font-style: italic;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.06) 0%, rgba(42, 159, 192, 0.02) 100%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.vb-article-content blockquote strong {
    color: var(--brand-primary);
    font-style: normal;
}

.vb-article-content .example-box p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Article tables - responsive wrapper */
.table-responsive {
    width: 100%;
    margin: var(--space-6) 0;
}

.table-responsive table {
    margin: 0; /* Remove margin when inside wrapper */
}

/* Article tables */
.vb-article-content table,
.vb-article-content .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.95rem;
}

.vb-article-content table th,
.vb-article-content .comparison-table th {
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: var(--space-4) var(--space-5);
}

.vb-article-content table td,
.vb-article-content .comparison-table td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.vb-article-content table tr:last-child td,
.vb-article-content .comparison-table tr:last-child td {
    border-bottom: none;
}

.vb-article-content table tr:nth-child(even),
.vb-article-content .comparison-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* Mobile table: Hide 3rd+ columns, optimize for 2-column view */
@media (max-width: 767px) {
    .vb-article-content table,
    .vb-article-content .comparison-table {
        font-size: 0.875rem;
    }
    
    .vb-article-content table th,
    .vb-article-content table td,
    .vb-article-content .comparison-table th,
    .vb-article-content .comparison-table td {
        padding: var(--space-3);
    }
    
    /* Hide 3rd column and beyond on mobile */
    .vb-article-content table th:nth-child(n+3),
    .vb-article-content table td:nth-child(n+3),
    .vb-article-content .comparison-table th:nth-child(n+3),
    .vb-article-content .comparison-table td:nth-child(n+3) {
        display: none;
    }
    
    /* Make first column take less space, second column more */
    .vb-article-content table th:first-child,
    .vb-article-content table td:first-child {
        width: 45%;
    }
    
    .vb-article-content table th:nth-child(2),
    .vb-article-content table td:nth-child(2) {
        width: 55%;
        text-align: right;
        font-weight: 600;
    }
}

/* Very small screens: even tighter */
@media (max-width: 380px) {
    .vb-article-content table,
    .vb-article-content .comparison-table {
        font-size: 0.8rem;
    }
    
    .vb-article-content table th,
    .vb-article-content table td,
    .vb-article-content .comparison-table th,
    .vb-article-content .comparison-table td {
        padding: var(--space-2);
    }
}

@media (max-width: 767px) {
    .vb-article {
        padding: calc(70px + var(--space-6)) var(--space-4) var(--space-10);
    }
    
    .vb-article-header h1 {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------
   VB Stat Highlight (Legacy - for stats)
   ---------------------------------------- */
.vb-stat-highlight {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    margin: var(--space-8) 0;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.vb-stat-highlight .vb-stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.vb-stat-highlight p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .vb-stat-highlight {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
        padding: var(--space-5);
    }
    
    .vb-stat-highlight .vb-stat-number {
        font-size: 2.5rem;
    }
}

/* ----------------------------------------
   VB Key Takeaway (Guide highlight box)
   ---------------------------------------- */
.vb-key-takeaway {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0 var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    box-shadow: 0 4px 20px rgba(42, 159, 192, 0.25);
}

.vb-key-takeaway-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.vb-key-takeaway-icon svg {
    stroke: white;
}

.vb-key-takeaway p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 767px) {
    .vb-key-takeaway {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
        padding: var(--space-5);
    }
    
    .vb-key-takeaway-icon {
        width: 48px;
        height: 48px;
    }
}

/* ----------------------------------------
   VB Stat Cards
   ---------------------------------------- */
.vb-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    padding: var(--space-6) 0;
}

.vb-stat-card {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
}

.vb-stat-card .vb-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
    letter-spacing: -0.01em;
}

.vb-stat-card .vb-stat-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ----------------------------------------
   VB Reflection Box
   ---------------------------------------- */
.vb-reflection {
    background: var(--bg-card);
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.vb-reflection h3 {
    margin: 0 0 var(--space-2) 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.vb-reflection p {
    margin: 0 0 var(--space-4) 0;
    font-weight: 500;
    color: var(--text-dark);
}

.vb-reflection textarea {
    width: 100%;
    min-height: 80px;
    padding: var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.vb-reflection textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(42, 159, 192, 0.1);
}

/* ----------------------------------------
   VB Mark Complete Button
   ---------------------------------------- */
.vb-mark-complete {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: #10b981;
    color: white;
    border: none;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.vb-mark-complete:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.vb-mark-complete:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.vb-mark-complete.vb-is-completed {
    background: transparent;
    color: #10b981;
    cursor: default;
    box-shadow: none;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: var(--space-2) var(--space-4);
}

.vb-mark-complete.vb-is-completed svg {
    stroke: #10b981;
    width: 14px;
    height: 14px;
}

.vb-mark-complete.vb-is-completed:hover {
    transform: none;
    background: transparent;
}

/* ----------------------------------------
   VB Module Progress Summary (legacy - keep for backwards compat)
   ---------------------------------------- */
.vb-module-progress-summary {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--space-12);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.06) 0%, rgba(42, 159, 192, 0.02) 100%);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-left: 50%;
    transform: translateX(-50%);
}

.vb-module-progress-summary .vb-module-progress-count {
    font-weight: 700;
    color: var(--brand-primary);
}

/* ----------------------------------------
   VB Guide Navigation (Legacy Card Style)
   ---------------------------------------- */
.vb-guide-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
    gap: var(--space-6);
}

.vb-guide-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    max-width: 45%;
}

.vb-guide-nav a:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 159, 192, 0.12);
}

.vb-guide-nav .vb-nav-prev:hover svg:not(.vb-nav-status-icon) {
    transform: translateX(-3px);
}

.vb-guide-nav .vb-nav-next:hover svg:not(.vb-nav-status-icon) {
    transform: translateX(3px);
}

.vb-guide-nav a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-guide-nav a svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.vb-guide-nav a:hover svg {
    color: var(--brand-primary);
}

.vb-guide-nav .vb-nav-prev {
    flex-direction: row;
}

.vb-guide-nav .vb-nav-next {
    margin-left: auto;
    text-align: right;
    flex-direction: row-reverse;
}

.vb-guide-nav .vb-nav-next span:not(.vb-nav-status) {
    text-align: right;
}

@media (max-width: 767px) {
    .vb-guide-nav {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .vb-guide-nav a {
        max-width: 100%;
        width: 100%;
    }
    
    .vb-guide-nav .vb-nav-next {
        margin-left: 0;
    }
}

/* ----------------------------------------
   VB Guide Navigation - Simple (Premium)
   ---------------------------------------- */
.vb-guide-nav-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
    gap: var(--space-4);
}

.vb-nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex: 1;
    max-width: 40%;
}

.vb-nav-link:hover {
    color: var(--brand-primary);
}

.vb-nav-link:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-nav-link svg {
    flex-shrink: 0;
    opacity: 0.4;
    transition: all var(--transition-fast);
}

.vb-nav-link:hover svg {
    opacity: 1;
}

.vb-nav-link.vb-nav-prev:hover svg {
    transform: translateX(-3px);
}

.vb-nav-link.vb-nav-next:hover svg {
    transform: translateX(3px);
}

.vb-nav-link.vb-nav-next {
    text-align: right;
    flex-direction: row-reverse;
}

/* Subtle read indicator - just muted styling */
.vb-nav-link.vb-is-read {
    color: var(--text-tertiary);
}

.vb-nav-link.vb-is-read::after {
    content: '✓';
    font-size: 0.65rem;
    color: var(--text-tertiary);
    margin-left: var(--space-2);
    opacity: 0.5;
}

.vb-nav-link.vb-nav-next.vb-is-read::after {
    margin-left: 0;
    margin-right: var(--space-2);
    order: -1;
}

/* Hide the old status badge element */
.vb-nav-link .vb-nav-status {
    display: none;
}

/* Centered Progress Toggle Button */
.vb-progress-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: transparent;
    border: none;
    padding: var(--space-2) var(--space-4);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50px;
    transition: all var(--transition-fast);
    position: relative;
}

.vb-progress-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border-radius: 50px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.vb-progress-toggle:hover::before {
    opacity: 1;
}

.vb-progress-toggle:hover {
    color: var(--brand-primary);
}

.vb-progress-toggle:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-progress-toggle .vb-progress-count {
    color: var(--brand-primary);
    position: relative;
    z-index: 1;
}

.vb-progress-toggle .vb-progress-total {
    position: relative;
    z-index: 1;
}

/* Expandable Progress Panel */
.vb-progress-panel {
    display: none;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-top: var(--space-4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.2s ease-out;
}

.vb-progress-panel.vb-is-open {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vb-progress-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-light);
}

.vb-progress-panel-module {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.vb-progress-panel-status {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.vb-progress-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: guide-counter;
}

.vb-progress-panel-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: 0.875rem;
    color: var(--text-primary);
    counter-increment: guide-counter;
    transition: color var(--transition-fast);
}

.vb-progress-panel-list li::before {
    content: counter(guide-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.vb-progress-panel-list li.vb-is-read {
    color: var(--text-tertiary);
}

.vb-progress-panel-list li.vb-is-read::before {
    content: '✓';
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

.vb-progress-panel-list li.vb-is-current {
    color: var(--text-dark);
    font-weight: 600;
}

.vb-progress-panel-list li.vb-is-current::before {
    background: var(--brand-primary);
    border-radius: 50%;
    color: white;
    font-size: 0.65rem;
}

.vb-progress-panel-list li a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.vb-progress-panel-list li a:hover {
    color: var(--brand-primary);
}

.vb-progress-panel-list li.vb-is-read a {
    color: var(--text-secondary);
}

@media (max-width: 767px) {
    .vb-guide-nav-simple {
        flex-wrap: nowrap;
        gap: var(--space-4);
        align-items: center;
        margin-top: var(--space-8);
    }
    
    /* Arrow-only nav buttons on mobile */
    .vb-nav-link {
        font-size: 0;
        padding: 0;
        background: transparent;
        border: none;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        flex: 0 0 auto;
        max-width: none;
    }
    
    .vb-nav-link svg {
        width: 24px;
        height: 24px;
        opacity: 1;
        color: var(--text-secondary);
    }
    
    .vb-nav-link:hover svg,
    .vb-nav-link:active svg {
        color: var(--brand-primary);
    }
    
    /* Hide the checkmark on mobile */
    .vb-nav-link.vb-is-read::after {
        display: none;
    }
    
    .vb-progress-toggle {
        font-size: 1.25rem;
        font-weight: 700;
        padding: var(--space-2) var(--space-4);
        flex-grow: 1;
        justify-content: center;
    }
    
    .vb-progress-toggle .vb-progress-count {
        color: var(--brand-primary);
    }
    
    /* Tighter feedback spacing on mobile */
    .vb-feedback {
        margin-top: var(--space-6);
    }
    
    /* Mobile progress panel */
    .vb-progress-panel {
        padding: var(--space-4);
    }
    
    .vb-progress-panel-list li {
        padding: var(--space-3) 0;
    }
}

/* ----------------------------------------
   VB Reading Progress Bar
   ---------------------------------------- */
.vb-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(42, 159, 192, 0.15);
    z-index: 1001;
}

.vb-reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ----------------------------------------
   VB Module Progress Indicator
   ---------------------------------------- */
.vb-module-progress-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(42, 159, 192, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(42, 159, 192, 0.12);
}

.vb-module-progress-bar {
    flex-grow: 1;
    max-width: 120px;
    height: 6px;
    background: rgba(42, 159, 192, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.vb-module-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.vb-module-progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vb-module-progress-count {
    font-weight: 600;
    color: var(--brand-primary);
}

/* ----------------------------------------
   VB Completion Area & Celebration
   ---------------------------------------- */
.vb-completion-area {
    position: relative;
    margin-top: var(--space-10);
    text-align: center;
}

.vb-celebration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.vb-celebration.vb-is-celebrating::before,
.vb-celebration.vb-is-celebrating::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: celebrate 0.6s ease-out forwards;
}

.vb-celebration.vb-is-celebrating::before {
    background: #10b981;
    animation-delay: 0s;
}

.vb-celebration.vb-is-celebrating::after {
    background: var(--brand-primary);
    animation-delay: 0.1s;
}

@keyframes celebrate {
    0% {
        opacity: 1;
        transform: scale(0) translate(0, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1) translate(var(--tx, 30px), var(--ty, -40px));
    }
}

.vb-celebration.vb-is-celebrating .vb-confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti 0.8s ease-out forwards;
}

@keyframes confetti {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(0);
    }
    20% {
        transform: translate(var(--tx), var(--ty)) rotate(180deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) + 20px)) rotate(360deg) scale(0.5);
    }
}

/* ----------------------------------------
   VB Quick Feedback
   ---------------------------------------- */
.vb-feedback {
    margin-top: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.vb-feedback-question {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.vb-feedback-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.vb-feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.vb-feedback-btn span {
    display: none; /* Hide text labels, icon only */
}

.vb-feedback-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.vb-feedback-btn:hover {
    background: var(--bg-white);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vb-feedback-btn:hover svg {
    transform: scale(1.1);
}

.vb-feedback-btn[data-feedback="yes"]:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.vb-feedback-btn[data-feedback="yes"]:hover svg {
    color: #10b981;
}

.vb-feedback-btn[data-feedback="no"]:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

.vb-feedback-btn[data-feedback="no"]:hover svg {
    color: #ef4444;
}

.vb-feedback-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-feedback-btn.vb-is-selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.vb-feedback-btn.vb-is-selected svg {
    color: white;
}

.vb-feedback-btn[data-feedback="yes"].vb-is-selected {
    background: #10b981;
    border-color: #10b981;
}

.vb-feedback-thanks {
    display: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vb-feedback.vb-has-feedback .vb-feedback-question,
.vb-feedback.vb-has-feedback .vb-feedback-buttons {
    display: none;
}

.vb-feedback.vb-has-feedback .vb-feedback-thanks {
    display: block;
}

/* ----------------------------------------
   VB Nav Status (legacy read indicator - for old card-style nav)
   ---------------------------------------- */
.vb-guide-nav .vb-nav-status {
    display: none;
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid #10b981;
    border-radius: 50%;
    flex-shrink: 0;
}

.vb-guide-nav .vb-nav-status::after {
    content: '✓';
    color: #10b981;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.vb-guide-nav a.vb-is-read .vb-nav-status {
    display: flex;
}

/* Position status badge in legacy nav */
.vb-guide-nav .vb-nav-prev .vb-nav-status {
    order: -1;
}

.vb-guide-nav .vb-nav-next .vb-nav-status {
    order: 1;
}

/* ----------------------------------------
   VB Achievement Notification
   ---------------------------------------- */
.vb-achievement {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.vb-achievement.vb-show {
    transform: translateX(0);
}

.vb-achievement-icon {
    font-size: 2rem;
}

.vb-achievement-content strong {
    display: block;
    color: var(--text-dark);
}

.vb-achievement-content p {
    margin: var(--space-1) 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .vb-achievement {
        left: var(--space-4);
        right: var(--space-4);
        bottom: var(--space-4);
    }
}


/* ----------------------------------------
   VB Module Hero Variant
   Additional styles for module landing pages
   ---------------------------------------- */
.vb-hero--module .vb-breadcrumb {
    justify-content: center;
    margin-bottom: var(--space-6);
}

.vb-hero--module .vb-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.vb-hero--module .vb-breadcrumb a:hover {
    color: white;
}

.vb-hero--module .vb-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.vb-hero--module .vb-breadcrumb span:last-child {
    color: white;
}

.vb-hero-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    line-height: 1;
}

.vb-hero .hero-title--module {
    margin-bottom: var(--space-3);
}

.vb-hero-progress {
    margin-top: var(--space-8);
}

.vb-hero-progress-label {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 0.9rem;
}

/* Hero actions for module pages */
.vb-hero-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.vb-hero-actions .btn {
    min-width: 160px;
}

.vb-hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.vb-hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------
   VB Stats Section (with intro)
   ---------------------------------------- */
.vb-stats-section {
    background: var(--bg-white);
    padding: var(--space-10) var(--space-6);
}

.vb-stats-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vb-stats-container .section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.vb-stats-container .section-subtitle {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
}

/* ----------------------------------------
   VB Learning Outcomes (optional)
   ---------------------------------------- */
.vb-outcomes {
    padding: var(--space-10) var(--space-6);
}

.vb-outcomes-container {
    max-width: 800px;
    margin: 0 auto;
}

.vb-outcomes-list {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.vb-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.vb-outcome-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.vb-outcome-text {
    color: var(--text-primary);
    line-height: 1.5;
}

/* ----------------------------------------
   VB Guide List Section (improved)
   ---------------------------------------- */
.vb-guides .section-title {
    font-size: 1.125rem;
    text-align: center;
}

.vb-guides .section-subtitle {
    text-align: center;
    margin-bottom: var(--space-6);
}

.vb-guides-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.vb-guides-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-2);
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.vb-guides-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.vb-guides-meta svg {
    opacity: 0.6;
}

/* ----------------------------------------
   VB Related Modules (alternate background)
   ---------------------------------------- */
.vb-modules--alt-bg {
    background: var(--bg-white);
}

.vb-modules--alt-bg .section-title {
    font-size: 1.5rem;
}

.vb-modules--alt-bg .section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 2x2 grid for specialized tracks (only 4 items) */
.vb-modules--alt-bg .vb-modules-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .vb-modules--alt-bg .vb-modules-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

/* ----------------------------------------
   VB Module Hero - Redesigned (Compact)
   ---------------------------------------- */
.vb-hero--module {
    padding: calc(80px + var(--space-12)) var(--space-6) var(--space-12);
}

.vb-hero--module .vb-breadcrumb {
    margin-bottom: var(--space-8);
}

.vb-hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.vb-hero-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    flex-shrink: 0;
}

.vb-hero-title-icon svg {
    width: 32px;
    height: 32px;
}

.vb-hero--module .hero-title--module {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    flex-shrink: 1;
    min-width: 0;
}

.vb-hero--module .hero-subtitle {
    max-width: 540px;
    margin: 0 auto var(--space-6);
    font-size: 1.15rem;
    line-height: 1.65;
}

.vb-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    font-size: 0.95rem;
    opacity: 0.9;
}

.vb-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vb-hero-meta-item svg {
    opacity: 0.8;
}

.vb-hero-meta-divider {
    opacity: 0.5;
}

.vb-hero-meta-progress {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vb-hero-progress-value {
    font-weight: 600;
    color: white;
}

.vb-breadcrumb-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Chevron color for hero (white) */
.vb-hero--module .vb-breadcrumb-chevron {
    stroke: white;
}

/* Chevron color for articles (gray) */
.vb-breadcrumb--article .vb-breadcrumb-chevron {
    stroke: var(--text-secondary);
}

/* White button for hero */
.btn-white {
    background: white;
    color: var(--brand-primary);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.vb-hero--module .vb-hero-actions {
    margin-top: 0;
}

@media (max-width: 767px) {
    .vb-hero--module {
        padding: calc(70px + var(--space-10)) var(--space-4) var(--space-10);
    }
    
    .vb-hero-title-row {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .vb-hero-title-icon {
        width: 52px;
        height: 52px;
    }
    
    .vb-hero--module .hero-title--module {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .vb-hero--module .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .vb-hero-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2) var(--space-3);
        font-size: 0.85rem;
    }
}

/* ========================================
   Vidensbase Search
   ======================================== */

.vb-search {
    width: 100%;
    max-width: 440px;
    margin: var(--space-8) auto var(--space-4);
    position: relative;
    z-index: 95;
}

.vb-search-container {
    position: relative;
    width: 100%;
}

/* Search Input */
.vb-search-input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);
    outline: none;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.vb-search-input::placeholder {
    color: var(--text-muted);
}

.vb-search-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.vb-search-input:hover:not(:focus) {
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Search Icon */
.vb-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
    z-index: 2;
}

.vb-search-container:focus-within .vb-search-icon {
    color: var(--text-secondary);
}

/* Clear Button */
.vb-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.vb-search-clear:hover {
    background: var(--bg-card);
    color: var(--text-secondary);
}

.vb-search-clear:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.vb-search-clear[hidden] {
    display: none;
}

/* Results Dropdown */
.vb-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    padding: 6px;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 100;
    max-height: 380px;
    overflow: hidden;
    overflow-y: auto;
    animation: vbSearchFadeIn 0.15s ease-out;
    /* Clip scrollbar to border-radius */
    clip-path: inset(0 round var(--radius-xl));
}

.vb-search-results[hidden] {
    display: none;
}

@keyframes vbSearchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
.vb-search-results::-webkit-scrollbar {
    width: 6px;
}

.vb-search-results::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.vb-search-results::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

/* Individual Result */
.vb-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 2px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.vb-search-result:last-child {
    margin-bottom: 0;
}

/* Module results - subtle highlight */
.vb-search-result--modul {
    background: rgba(42, 159, 192, 0.05);
    padding: 12px 14px;
    margin-bottom: 4px;
    border: 1px solid rgba(42, 159, 192, 0.08);
}

.vb-search-result--modul .vb-search-result-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Guide results - clean separation */
.vb-search-result:not(.vb-search-result--modul) + .vb-search-result:not(.vb-search-result--modul) {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 10px;
    margin-top: -2px;
}

.vb-search-result:hover,
.vb-search-result[aria-selected="true"] {
    background: var(--bg-card);
}

.vb-search-result--modul:hover,
.vb-search-result--modul[aria-selected="true"] {
    background: rgba(42, 159, 192, 0.08);
    border-color: rgba(42, 159, 192, 0.15);
}

.vb-search-result:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: -2px;
}

/* Content area */
.vb-search-result-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

/* Result Title */
.vb-search-result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

/* Parent info - subtle, inline */
.vb-search-result-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    text-align: left;
}

/* Type Badge - right aligned, subtle */
.vb-search-result-type {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.vb-search-result-type--modul {
    color: var(--brand-primary);
    background: rgba(42, 159, 192, 0.08);
}

.vb-search-result-type--guide {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-default);
}

/* Hide old elements */
.vb-search-result-header,
.vb-search-result-step,
.vb-search-result-desc,
.vb-search-result-parent {
    display: none;
}

/* Empty State */
.vb-search-empty {
    padding: 24px 16px;
    text-align: center;
}

.vb-search-empty-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.vb-search-empty-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Highlight matched text */
.vb-search-highlight {
    background: rgba(42, 159, 192, 0.2);
    color: var(--brand-primary);
    font-weight: 600;
    border-radius: 2px;
    padding: 0 1px;
}

/* Visually Hidden (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .vb-search {
        max-width: 100%;
        margin: var(--space-5) auto;
        padding: 0 var(--space-4);
    }

    .vb-search-input {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 12px 40px 12px 44px;
    }

    .vb-search-results {
        max-height: 60vh;
        left: var(--space-4);
        right: var(--space-4);
    }

    .vb-search-result {
        padding: 14px 12px;
    }

    .vb-search-result-desc {
        padding-left: 0;
        margin-top: 6px;
    }

    .vb-search-result-parent {
        padding-left: 0;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

/* Background variants */
.bg-alt {
    background: var(--bg-card) !important;
}

.bg-white {
    background: var(--bg-white) !important;
}

/* Text utilities */
.text-center {
    text-align: center;
}

/* Spacing utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* ========================================
   Blog Article Components
   ======================================== */

/* Related Articles Section */
.vb-related-section {
    margin-top: var(--space-12);
    padding-top: var(--space-10);
    border-top: 1px solid var(--border-default);
}

.vb-related-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
}

/* Related Articles Grid */
.vb-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

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

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

/* Related Article Card */
.vb-related-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.vb-related-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(42, 159, 192, 0.15);
    transform: translateY(-2px);
}

.vb-related-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42, 159, 192, 0.1) 0%, rgba(42, 159, 192, 0.05) 100%);
    border: 1px solid rgba(42, 159, 192, 0.3);
    border-radius: var(--radius-md);
    color: var(--brand-primary);
    margin-bottom: var(--space-3);
}

.vb-related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.vb-related-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.vb-related-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Section (Full-width) */
.vb-cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1e8aa0 100%);
    padding: var(--space-12) var(--space-6);
}

.vb-cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.vb-cta-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
}

.vb-cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

.vb-cta-section .btn-primary {
    background: white;
    color: var(--brand-primary);
    font-size: 1rem;
    padding: 14px 32px;
    border: none;
}

.vb-cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .vb-cta-section {
        padding: var(--space-10) var(--space-4);
    }
    
    .vb-cta-section h2 {
        font-size: 1.5rem;
    }
}

/* Content Freshness Indicators */
.vb-meta-divider {
    margin: 0 0.5em;
    opacity: 0.5;
}

.vb-article-updated {
    color: var(--text-secondary);
}

/* ========================================
   Mest Læste Artikler (Popular Articles)
   ======================================== */

.latest-article-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-default);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
    display: block;
}

.latest-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 159, 192, 0.3);
}

.latest-article-card:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .latest-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .latest-articles-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   Blog Explorer — Interactive Filter + Grid
   ======================================== */

/* Filter Bar */
.blog-explorer-filters {
    position: sticky;
    top: 64px;
    z-index: 90;
    background: var(--bg-white);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    padding: var(--space-4) 0;
}

.blog-explorer-filters.is-stuck {
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-md);
}

.blog-explorer-filters-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.blog-explorer-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Category Pills */
.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: 2px 0;
}


.blog-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-default);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-normal);
    user-select: none;
    -webkit-user-select: none;
}

.blog-filter-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-1px);
}

.blog-filter-pill--active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.blog-filter-pill--active:hover {
    background: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.blog-filter-pill:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.pill-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.07);
    padding: 1px 7px;
    border-radius: 100px;
    min-width: 22px;
    text-align: center;
    transition: background var(--transition-normal);
}

.blog-filter-pill--active .pill-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Results count */
.blog-results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: var(--space-2) 0 var(--space-4);
    max-width: 1000px;
    margin: 0 auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

/* Explorer Card Grid */
.blog-explorer-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    min-height: 200px;
}

.blog-explorer-grid .vb-module-card {
    opacity: 0;
    transform: translateY(12px);
}

.blog-explorer-grid .vb-module-card.is-entering {
    animation: cardEnter 0.3s ease-out forwards;
}

.blog-explorer-grid .vb-module-card.is-hidden {
    display: none !important;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Load More Button */
.blog-load-more-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    text-align: center;
}

.blog-load-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 28px;
    border-radius: 100px;
    border: 1px solid var(--border-default);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-load-more:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.blog-load-more svg {
    transition: transform var(--transition-normal);
}

.blog-load-more:hover svg {
    transform: translateY(2px);
}

.blog-load-more:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.blog-load-more:disabled {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-explorer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-explorer-filters {
        top: 56px;
    }

    .blog-filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .blog-filter-pills::-webkit-scrollbar {
        display: none;
    }
    
    .blog-explorer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

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

/* ========================================
   HERO IMAGE (Automated)
   ======================================== */
.vb-hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    margin-top: var(--space-6);
    box-shadow: var(--shadow-card, 0 4px 12px rgba(0,0,0,0.08));
    object-fit: cover;
    background: var(--bg-white);
    border: 1px solid var(--border-default);
}
