/**
 * Activity Guide - Premium Design System
 * Risk Assessment Wizard
 * 
 * This stylesheet provides the premium design framework for
 * bespoke activity guide pages (e.g., Judo, Karate, Swimming)
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --guide-primary: #0073aa;
    --guide-primary-hover: #005f8d;
    --guide-primary-light: #e6f4f9;
    --guide-secondary: #1e293b;
    --guide-secondary-light: #334155;
    --guide-accent-warning: #f59e0b;
    --guide-accent-danger: #ef4444;
    --guide-accent-success: #22c55e;
    --guide-text-primary: #0f172a;
    --guide-text-secondary: #475569;
    --guide-text-tertiary: #94a3b8;
    --guide-bg-main: #ffffff;
    --guide-bg-secondary: #f8fafc;
    --guide-bg-tertiary: #f1f5f9;
    --guide-border-light: #e2e8f0;
    --guide-font-heading: 'Poppins', sans-serif;
    --guide-font-body: 'Plus Jakarta Sans', sans-serif;
    --guide-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --guide-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --guide-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --guide-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --guide-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --guide-transition-fast: 0.15s ease;
    --guide-transition-base: 0.3s ease;
    --guide-transition-slow: 0.5s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
.activity-guide-page {
    font-family: var(--guide-font-body);
    color: var(--guide-text-primary);
    background: var(--guide-bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.activity-guide-page h1,
.activity-guide-page h2,
.activity-guide-page h3,
.activity-guide-page h4,
.activity-guide-page h5,
.activity-guide-page h6 {
    font-family: var(--guide-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--guide-text-primary);
}

.activity-guide-page a {
    color: var(--guide-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.activity-guide-page a:hover {
    color: var(--guide-primary-hover);
}

.activity-guide-page img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.guide-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.guide-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--guide-secondary);
}

.guide-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.guide-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
    transform: scale(1.05);
}

.guide-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 95, 0.85) 50%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

/* Decorative elements */
.guide-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 115, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.guide-hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.guide-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px;
    max-width: 950px;
}

.guide-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 36px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.guide-hero-badge i {
    color: #22d3ee;
    font-size: 0.75rem;
}

.guide-hero h1 {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.guide-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.8);
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 400;
}

.guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 56px;
}

.guide-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.guide-hero-trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    font-weight: 500;
}

.guide-hero-trust i {
    color: #22d3ee;
    font-size: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.guide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: var(--guide-font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    transition: all var(--guide-transition-base);
    position: relative;
    overflow: hidden;
}

.guide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.guide-btn:hover::before {
    left: 100%;
}

.guide-btn i {
    font-size: 0.9em;
}

.guide-btn-primary {
    background: linear-gradient(135deg, var(--guide-primary) 0%, #0891b2 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 115, 170, 0.35);
}

.guide-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 115, 170, 0.5);
    color: #ffffff !important;
}

.guide-btn-secondary {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff !important;
}

.guide-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    color: #ffffff !important;
}

.guide-btn-outline {
    background: transparent;
    border: 2px solid var(--guide-border-light);
    color: var(--guide-text-primary) !important;
}

.guide-btn-outline:hover {
    background: var(--guide-bg-secondary);
    border-color: var(--guide-primary);
    color: var(--guide-primary) !important;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.guide-breadcrumb-section {
    background: var(--guide-bg-secondary);
    border-bottom: 1px solid var(--guide-border-light);
    padding: 16px 0;
}

.guide-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--guide-text-tertiary);
}

.guide-breadcrumb a {
    color: var(--guide-text-secondary);
}

.guide-breadcrumb a:hover {
    color: var(--guide-primary);
}

.guide-breadcrumb-separator {
    color: var(--guide-text-tertiary);
}

/* ============================================
   SECTIONS
   ============================================ */
.guide-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.guide-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Decorative background patterns */
.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 115, 170, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(0, 115, 170, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.guide-section > * {
    position: relative;
    z-index: 1;
}

/* Section divider - curved wave */
.guide-section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.guide-section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.guide-section-divider .shape-fill {
    fill: #FFFFFF;
}

.guide-section-alt .guide-section-divider .shape-fill {
    fill: #f8fafc;
}

.guide-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.guide-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--guide-primary);
    margin-bottom: 20px;
    padding: 8px 16px;
    background: var(--guide-primary-light);
    border-radius: 50px;
}

.guide-section-label i {
    font-size: 0.75rem;
}

.guide-section-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.guide-section-subtitle {
    font-size: 1.1875rem;
    color: var(--guide-text-secondary);
    line-height: 1.8;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.guide-toc-section {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--guide-bg-secondary) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--guide-border-light);
}

.guide-toc-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid var(--guide-border-light);
}

.guide-toc-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-toc-title i {
    color: var(--guide-primary);
}

.guide-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.guide-toc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--guide-text-secondary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.guide-toc-item:hover {
    background: var(--guide-primary-light);
    color: var(--guide-primary);
}

.guide-toc-item span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-bg-tertiary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--guide-text-tertiary);
    flex-shrink: 0;
}

.guide-toc-item:hover span {
    background: var(--guide-primary);
    color: #ffffff;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.guide-intro-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.guide-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.guide-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.guide-intro-content p {
    font-size: 1.125rem;
    color: var(--guide-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.guide-intro-content p:last-of-type {
    margin-bottom: 0;
}

.guide-intro-image {
    position: relative;
}

.guide-intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--guide-primary-light) 0%, #e0f7fa 100%);
    border-radius: 28px;
    z-index: 0;
}

.guide-intro-image img {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    box-shadow: var(--guide-shadow-xl);
    transition: transform var(--guide-transition-base);
}

.guide-intro-image:hover img {
    transform: translateY(-4px);
}

.guide-intro-image-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    z-index: 2;
    background: #ffffff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--guide-shadow-lg);
    border: 1px solid var(--guide-border-light);
}

.guide-intro-image-badge strong {
    display: block;
    font-size: 1.75rem;
    color: var(--guide-primary);
    font-weight: 800;
}

.guide-intro-image-badge span {
    font-size: 0.875rem;
    color: var(--guide-text-secondary);
    font-weight: 500;
}

/* ============================================
   BENEFITS GRID
   ============================================ */
.guide-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.guide-benefit-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--guide-border-light);
    transition: all var(--guide-transition-base);
    position: relative;
    overflow: hidden;
}

.guide-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--guide-primary), #22d3ee);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--guide-transition-base);
}

.guide-benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, var(--guide-primary-light) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.guide-benefit-card:hover {
    box-shadow: var(--guide-shadow-lg);
    border-color: var(--guide-primary);
}

.guide-benefit-card:hover::before {
    transform: scaleX(1);
}

.guide-benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    transition: all var(--guide-transition-base);
    position: relative;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.guide-benefit-card:hover .guide-benefit-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4);
}

.guide-benefit-icon i {
    font-size: 1.75rem;
    color: #ffffff;
    transition: all var(--guide-transition-base);
    position: relative;
    z-index: 1;
}

/* Vibrant icon colors for variety */
.guide-benefit-card:nth-child(1) .guide-benefit-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}
.guide-benefit-card:nth-child(1) .guide-benefit-icon i {
    color: #ffffff;
}

.guide-benefit-card:nth-child(2) .guide-benefit-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
.guide-benefit-card:nth-child(2) .guide-benefit-icon i {
    color: #ffffff;
}

.guide-benefit-card:nth-child(3) .guide-benefit-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.guide-benefit-card:nth-child(3) .guide-benefit-icon i {
    color: #ffffff;
}

.guide-benefit-card:nth-child(4) .guide-benefit-icon {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}
.guide-benefit-card:nth-child(4) .guide-benefit-icon i {
    color: #ffffff;
}

/* Extra colors for additional benefit cards */
.guide-benefit-card:nth-child(5) .guide-benefit-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}
.guide-benefit-card:nth-child(5) .guide-benefit-icon i {
    color: #ffffff;
}

.guide-benefit-card:nth-child(6) .guide-benefit-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.35);
}
.guide-benefit-card:nth-child(6) .guide-benefit-icon i {
    color: #ffffff;
}

.guide-benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color var(--guide-transition-fast);
}

.guide-benefit-card:hover h3 {
    color: var(--guide-primary);
}

.guide-benefit-card p {
    color: var(--guide-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   ALERT / INFO BOXES
   ============================================ */
.guide-alert-box {
    padding: 24px 28px !important;
    border-radius: 16px !important;
    margin: 32px 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

.guide-alert-box > .guide-alert-icon {
    order: 0 !important;
}

.guide-alert-box > .guide-alert-content {
    order: 1 !important;
    flex: 1 1 auto !important;
}

.guide-alert-box.info {
    background: var(--guide-primary-light);
    border-left: 4px solid var(--guide-primary);
}

.guide-alert-box.warning {
    background: #fffbeb;
    border-left: 4px solid var(--guide-accent-warning);
}

.guide-alert-box.danger {
    background: #fef2f2;
    border-left: 4px solid var(--guide-accent-danger);
}

.guide-alert-box.success {
    background: #f0fdf4;
    border-left: 4px solid var(--guide-accent-success);
}

.guide-alert-icon {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.guide-alert-box.info .guide-alert-icon {
    background: var(--guide-primary);
    color: #ffffff;
}

.guide-alert-box.warning .guide-alert-icon {
    background: var(--guide-accent-warning);
    color: #ffffff;
}

.guide-alert-box.danger .guide-alert-icon {
    background: var(--guide-accent-danger);
    color: #ffffff;
}

.guide-alert-box.success .guide-alert-icon {
    background: var(--guide-accent-success);
    color: #ffffff;
}

.guide-alert-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.guide-alert-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--guide-text-primary);
    margin: 0 0 6px 0;
}

.guide-alert-content p {
    font-size: 0.9375rem;
    color: var(--guide-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   WIZARD INFO BOX (Contextual CTA)
   ============================================ */
.guide-wizard-info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.guide-wizard-info-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
}

.guide-wizard-info-content {
    flex: 1;
}

.guide-wizard-info-content p {
    font-size: 0.9375rem;
    color: #1e3a5f;
    margin: 0;
    line-height: 1.65;
}

.guide-wizard-info-content strong {
    color: #0369a1;
    font-weight: 600;
}

.guide-wizard-info-content a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.guide-wizard-info-content a:hover {
    border-bottom-color: #0284c7;
}

@media (max-width: 640px) {
    .guide-wizard-info-box {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
}

/* ============================================
   HAZARDS GRID
   ============================================ */
.guide-hazards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.guide-hazard-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--guide-border-light);
    transition: all var(--guide-transition-base);
    position: relative;
}

.guide-hazard-card:hover {
    box-shadow: var(--guide-shadow-xl);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Featured card styling */
.guide-hazard-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 50%);
    border-left: 6px solid #ef4444;
}

.guide-hazard-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--guide-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.guide-hazard-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--guide-font-heading);
}

.guide-hazard-title i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    color: #64748b;
    font-size: 1.125rem;
    transition: all var(--guide-transition-base);
}

.guide-risk-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.guide-risk-high {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border: 2px solid #fecaca;
}

.guide-risk-medium {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #b45309;
    border: 2px solid #fde68a;
}

.guide-risk-low {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
    border: 2px solid #bbf7d0;
}

/* Style hazard cards based on risk level using adjacent sibling */
.guide-hazard-card:has(.guide-risk-high),
.guide-hazard-card.risk-high {
    border-left: 5px solid #ef4444;
}

.guide-hazard-card:has(.guide-risk-high) .guide-hazard-title i,
.guide-hazard-card.risk-high .guide-hazard-title i {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}

.guide-hazard-card:has(.guide-risk-medium),
.guide-hazard-card.risk-medium {
    border-left: 5px solid #f59e0b;
}

.guide-hazard-card:has(.guide-risk-medium) .guide-hazard-title i,
.guide-hazard-card.risk-medium .guide-hazard-title i {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
}

.guide-hazard-card:has(.guide-risk-low),
.guide-hazard-card.risk-low {
    border-left: 5px solid #22c55e;
}

.guide-hazard-card:has(.guide-risk-low) .guide-hazard-title i,
.guide-hazard-card.risk-low .guide-hazard-title i {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
}

.guide-hazard-body {
    padding: 24px 28px 28px;
}

.guide-hazard-section {
    margin-bottom: 24px;
}

.guide-hazard-section:last-child {
    margin-bottom: 0;
}

.guide-hazard-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--guide-text-tertiary);
    margin-bottom: 10px;
}

.guide-hazard-section p {
    font-size: 0.9375rem;
    color: var(--guide-text-secondary);
    margin: 0;
    line-height: 1.7;
}

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

.guide-control-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--guide-text-secondary);
    border-bottom: 1px solid #f1f5f9;
}

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

.guide-control-list li i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border-radius: 50%;
    color: var(--guide-accent-success);
    font-size: 0.65rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   CHECKLIST
   ============================================ */
.guide-checklist-section {
    background: var(--guide-bg-secondary);
}

.guide-checklist-container {
    display: grid;
    gap: 32px;
}

/* Print Button */
.guide-checklist-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.guide-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guide-print-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.guide-print-btn i {
    font-size: 1rem;
}

.guide-checklist-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 2px solid var(--guide-border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guide-checklist-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--guide-text-primary);
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--guide-primary-light);
}

.guide-checklist-card h3 i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-primary);
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
}

.guide-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--guide-text-primary);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.guide-checklist li:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: var(--guide-primary);
    transform: translateX(4px);
}

.guide-checklist li i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--guide-primary);
    border-radius: 4px;
    color: transparent;
    flex-shrink: 0;
    font-size: 0.75rem;
    background: #fff;
}

.guide-checklist li:hover i {
    background: var(--guide-primary-light);
}

.guide-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.guide-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.guide-faq-item {
    background: #ffffff;
    border: 1px solid var(--guide-border-light);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.guide-faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--guide-font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--guide-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
}

.guide-faq-question:hover {
    color: var(--guide-primary);
}

.guide-faq-question i {
    font-size: 1rem;
    color: var(--guide-text-tertiary);
    transition: transform 0.3s ease;
}

.guide-faq-item.active .guide-faq-question i {
    transform: rotate(180deg);
    color: var(--guide-primary);
}

.guide-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.guide-faq-item.active .guide-faq-answer {
    max-height: 500px;
}

.guide-faq-answer-inner,
.guide-faq-answer > p {
    padding: 0 28px 24px;
    color: var(--guide-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.guide-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.guide-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,115,170,0.25) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.guide-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34,211,238,0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite 4s;
}

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

.guide-cta-content,
.guide-cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.guide-cta-section h2 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.guide-cta-section p {
    font-size: 1.1875rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 48px;
    line-height: 1.7;
}

.guide-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-cta-section .guide-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: var(--guide-primary) !important;
    box-shadow: 0 4px 24px rgba(255,255,255,0.25);
    font-size: 1rem;
    padding: 18px 36px;
}

.guide-cta-section .guide-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255,255,255,0.35);
}

.guide-cta-section .guide-btn-outline {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.3);
    color: #ffffff !important;
    font-size: 1rem;
    padding: 18px 36px;
    backdrop-filter: blur(4px);
}

.guide-cta-section .guide-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    color: #ffffff !important;
    transform: translateY(-4px);
}

.guide-cta-note {
    margin-top: 28px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   RELATED GUIDES SECTION
   ============================================ */
.guide-related-section {
    padding: 80px 0;
    background: var(--guide-bg-secondary);
}

.guide-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.guide-related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid var(--guide-border-light);
    border-radius: 16px;
    color: var(--guide-text-primary) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    box-shadow: var(--guide-shadow-sm);
    position: relative;
    overflow: hidden;
}

.guide-related-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--guide-primary), #22d3ee);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-related-item:hover {
    background: #ffffff;
    color: var(--guide-text-primary) !important;
    border-color: var(--guide-primary);
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.1);
}

.guide-related-item:hover::before {
    transform: scaleY(1);
}

.guide-related-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-primary-light);
    border-radius: 10px;
    color: var(--guide-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.guide-related-item:hover i {
    background: var(--guide-primary);
    color: #ffffff;
    transform: scale(1.1);
}

.guide-related-item:hover strong {
    color: var(--guide-primary);
}

/* ============================================
   GUIDE LISTING GRID (Category Pages)
   ============================================ */
.guide-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 640px) {
    .guide-listing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.guide-listing-card {
    text-decoration: none !important;
    display: block;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--guide-border-light);
    transition: all 0.25s ease;
    position: relative;
}

.guide-listing-card:hover {
    border-color: var(--guide-primary);
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.1);
}

.guide-listing-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.guide-listing-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-primary-light);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.guide-listing-icon i {
    font-size: 1.125rem;
    color: var(--guide-primary);
    transition: all 0.25s ease;
}

.guide-listing-card:hover .guide-listing-icon {
    background: var(--guide-primary);
}

.guide-listing-card:hover .guide-listing-icon i {
    color: #ffffff;
}

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

.guide-listing-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--guide-text-primary);
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.guide-listing-card:hover .guide-listing-content h3 {
    color: var(--guide-primary);
}

.guide-listing-content p {
    font-size: 0.8125rem;
    color: var(--guide-text-tertiary);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-listing-draft-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.guide-listing-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-bg-tertiary);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.guide-listing-arrow i {
    font-size: 0.75rem;
    color: var(--guide-text-tertiary);
    transition: all 0.25s ease;
}

.guide-listing-card:hover .guide-listing-arrow {
    background: var(--guide-primary);
}

.guide-listing-card:hover .guide-listing-arrow i {
    color: #ffffff;
    transform: translateX(2px);
}

/* ============================================
   LAST UPDATED META
   ============================================ */
.guide-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--guide-border-light);
}

.guide-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--guide-text-secondary);
}

.guide-meta-item i {
    color: var(--guide-primary);
    font-size: 0.875rem;
}

.guide-meta-item strong {
    color: var(--guide-text-primary);
    font-weight: 600;
}

/* ============================================
   ARTICLE CONTENT
   ============================================ */
.guide-article-section {
    padding: 80px 0;
}

.guide-article-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-article-content h2 {
    font-size: 1.875rem;
    margin-top: 56px;
    margin-bottom: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--guide-border-light);
}

.guide-article-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.guide-article-content h3 {
    font-size: 1.375rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.guide-article-content h4 {
    font-size: 1.125rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.guide-article-content p {
    font-size: 1.0625rem;
    color: var(--guide-text-secondary);
    margin-bottom: 20px;
}

.guide-article-content ul,
.guide-article-content ol {
    padding-left: 0;
    margin-bottom: 24px;
    list-style: none;
}

.guide-article-content ul li,
.guide-article-content ol li {
    font-size: 1.0625rem;
    color: var(--guide-text-secondary);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.guide-article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--guide-primary);
    border-radius: 50%;
}

.guide-article-content ol {
    counter-reset: list-counter;
}

.guide-article-content ol li {
    counter-increment: list-counter;
}

.guide-article-content ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--guide-primary);
}

.guide-article-content li strong {
    color: var(--guide-text-primary);
}

.guide-article-content strong {
    color: var(--guide-text-primary);
}

/* Override article-content styles for alert boxes */
.guide-article-content .guide-alert-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.guide-article-content .guide-alert-box .guide-alert-icon {
    display: flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
}

.guide-article-content .guide-alert-box .guide-alert-content {
    display: block !important;
    flex: 1 !important;
}

.guide-article-content .guide-alert-box .guide-alert-content h4 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.guide-article-content .guide-alert-box .guide-alert-content p {
    margin-bottom: 0 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .guide-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .guide-hazards-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-hazard-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .guide-section {
        padding: 60px 0;
    }
    
    .guide-hero {
        min-height: auto;
    }
    
    .guide-hero-content {
        padding: 60px 20px;
    }
    
    .guide-hero-actions {
        flex-direction: column;
    }
    
    .guide-btn {
        width: 100%;
        justify-content: center;
    }
    
    .guide-hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .guide-toc-card {
        padding: 24px;
    }
    
    .guide-toc-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-checklist-card {
        padding: 24px;
    }
    
    .guide-cta-section {
        padding: 60px 0;
    }
    
    .guide-intro-image-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

/* ============================================
   AUTHOR BOX (E-E-A-T)
   ============================================ */
.guide-author-section {
    padding: 60px 0;
    background: var(--guide-bg-secondary);
    border-top: 1px solid var(--guide-border-light);
}

.guide-author-box {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #ffffff;
    padding: 32px 40px;
    border-radius: 20px;
    box-shadow: var(--guide-shadow-md);
    border: 1px solid var(--guide-border-light);
    max-width: 800px;
    margin: 0 auto;
}

.guide-author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--guide-primary) 0%, #0891b2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-author-avatar i {
    font-size: 2rem;
    color: #ffffff;
}

.guide-author-info {
    flex: 1;
}

.guide-author-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--guide-primary);
    margin-bottom: 6px;
}

.guide-author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--guide-text-primary);
    margin-bottom: 8px;
    font-family: var(--guide-font-heading);
}

.guide-author-bio {
    font-size: 0.9375rem;
    color: var(--guide-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.guide-author-credentials {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.guide-author-credential {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--guide-text-tertiary);
}

.guide-author-credential i {
    color: var(--guide-accent-success);
    font-size: 0.75rem;
}

/* ============================================
   SOCIAL SHARE
   ============================================ */
.guide-share-section {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--guide-border-light);
}

.guide-share-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.guide-share-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--guide-text-secondary);
}

.guide-share-buttons {
    display: flex;
    gap: 10px;
}

.guide-share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.125rem;
    transition: all var(--guide-transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none !important;
}

.guide-share-btn:hover {
    transform: translateY(-3px);
}

.guide-share-btn.x {
    background: #000000;
    color: #ffffff;
}

.guide-share-btn.x:hover {
    background: #1a1a1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.guide-share-btn.facebook {
    background: #1877f2;
    color: #ffffff;
}

.guide-share-btn.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.guide-share-btn.linkedin {
    background: #0a66c2;
    color: #ffffff;
}

.guide-share-btn.linkedin:hover {
    background: #084d94;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
}

.guide-share-btn.email {
    background: var(--guide-text-secondary);
    color: #ffffff;
}

.guide-share-btn.email:hover {
    background: var(--guide-text-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.guide-share-btn.copy {
    background: var(--guide-bg-tertiary);
    color: var(--guide-text-secondary);
    border: 1px solid var(--guide-border-light);
}

.guide-share-btn.copy:hover {
    background: var(--guide-primary-light);
    color: var(--guide-primary);
    border-color: var(--guide-primary);
}

.guide-share-btn.copy.copied {
    background: var(--guide-accent-success);
    color: #ffffff;
    border-color: var(--guide-accent-success);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.guide-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.guide-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.guide-animate-delay-1 { transition-delay: 0.1s; }
.guide-animate-delay-2 { transition-delay: 0.2s; }
.guide-animate-delay-3 { transition-delay: 0.3s; }
.guide-animate-delay-4 { transition-delay: 0.4s; }

/* ============================================
   ENHANCED HERO - FLOATING ELEMENTS
   ============================================ */
.guide-hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.guide-hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--guide-font-heading);
    line-height: 1;
}

.guide-hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    font-weight: 500;
}

/* Floating badge animation */
.guide-hero-floating {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
    z-index: 2;
    animation: float-badge 4s ease-in-out infinite;
}

.guide-hero-floating.left {
    left: 5%;
    top: 30%;
    animation-delay: 0s;
}

.guide-hero-floating.right {
    right: 5%;
    bottom: 35%;
    animation-delay: 2s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.guide-proof-bar {
    background: linear-gradient(135deg, var(--guide-secondary) 0%, #1e3a5f 100%);
    padding: 20px 0;
    overflow: hidden;
}

.guide-proof-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.guide-proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    font-weight: 500;
}

.guide-proof-item i {
    color: #22d3ee;
    font-size: 1rem;
}

.guide-proof-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* ============================================
   CARD HOVER ENHANCEMENTS
   ============================================ */
.guide-benefit-card,
.guide-hazard-card,
.guide-checklist-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.guide-benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.guide-hazard-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   RESPONSIVE - NEW ELEMENTS
   ============================================ */
@media (max-width: 768px) {
    .guide-author-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    
    .guide-author-credentials {
        justify-content: center;
    }
    
    .guide-hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .guide-hero-floating {
        display: none;
    }
    
    .guide-proof-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .guide-share-container {
        flex-direction: column;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .guide-hero,
    .guide-cta-section,
    .guide-toc-section {
        display: none;
    }
    
    .guide-section {
        padding: 20px 0;
    }
}

/* ============================================
   CATEGORY INDEX PAGE
   ============================================ */

.category-index-page {
    background: #ffffff;
}

/* Hero */
.category-index-hero {
    position: relative;
    padding: 60px 0 80px;
    text-align: center;
    overflow: hidden;
}

.category-index-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}

.category-index-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.category-index-hero .guide-container {
    position: relative;
    z-index: 1;
}

.category-index-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.category-index-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.category-index-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-index-breadcrumb a:hover {
    color: #ffffff;
}

.category-index-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.category-index-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #67e8f9;
}

.category-index-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: var(--guide-font-heading);
    letter-spacing: -0.02em;
}

.category-index-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Search */
.category-index-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    height: 52px;
}

.category-index-search-wrap .fa-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.category-index-search {
    width: 100% !important;
    height: 52px !important;
    padding: 0 20px 0 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.category-index-search:focus {
    outline: none !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(14, 165, 233, 0.2) !important;
}

.category-index-search::placeholder {
    color: #94a3b8 !important;
}

/* Guides Section */
.category-index-guides {
    padding: 40px 0 80px;
}

.category-index-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.category-index-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #64748b;
}

.category-index-count i {
    color: #0073aa;
}

.category-index-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.category-index-back:hover {
    color: #0073aa;
    background: #e0f2fe;
}

/* Guides Grid */
.category-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.category-guide-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.category-guide-card:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 20px rgba(0, 115, 170, 0.12);
    transform: translateY(-2px);
}

.category-guide-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 12px;
    color: #0073aa;
    font-size: 1.125rem;
    transition: all 0.2s ease;
}

.category-guide-card:hover .category-guide-card-icon {
    background: #0073aa;
    color: #ffffff;
}

.category-guide-card-content {
    flex: 1;
    min-width: 0;
}

.category-guide-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-guide-card:hover .category-guide-card-content h3 {
    color: #0073aa;
}

.category-guide-card-type {
    font-size: 0.8125rem;
    color: #64748b;
}

.category-guide-draft-badge {
    display: inline-flex;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.category-guide-card-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.category-guide-card:hover .category-guide-card-arrow {
    background: #0073aa;
    color: #ffffff;
    transform: translateX(4px);
}

/* No Results */
.category-index-no-results {
    padding: 60px 20px;
    text-align: center;
}

.category-index-no-results i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.category-index-no-results h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.category-index-no-results p {
    color: #64748b;
}

.category-index-clear-btn {
    background: none;
    border: none;
    color: #0073aa;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.category-index-clear-btn:hover {
    color: #005a87;
}

/* CTA */
.category-index-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.category-index-cta-content {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 36px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.category-index-cta-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0073aa 0%, #0891b2 100%);
    border-radius: 16px;
    color: #ffffff;
    font-size: 1.5rem;
}

.category-index-cta-text {
    flex: 1;
}

.category-index-cta-text h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-family: var(--guide-font-heading);
}

.category-index-cta-text p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .category-index-hero {
        padding: 48px 0 60px;
    }
    
    .category-index-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-index-hero h1 {
        font-size: 1.75rem;
    }
    
    .category-index-hero-subtitle {
        font-size: 1rem;
    }
    
    .category-index-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .category-index-grid {
        grid-template-columns: 1fr;
    }
    
    .category-guide-card {
        padding: 16px;
    }
    
    .category-guide-card-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .category-index-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    
    .category-index-cta-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
}

/* ============================================
   CHECKLISTS INDEX PAGE
   ============================================ */
/* ==========================================================================
   CHECKLISTS PAGE - IMPROVED UX
   ========================================================================== */

.checklists-page {
    background: var(--guide-bg-primary);
}

.checklists-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    padding: 60px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checklists-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.checklists-hero-content {
    position: relative;
    z-index: 1;
}

.checklists-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #67e8f9;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.checklists-hero-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: var(--guide-font-heading);
    letter-spacing: -0.02em;
}

.checklists-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.checklists-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.checklists-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.checklists-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--guide-font-heading);
}

.checklists-stat-number i {
    font-size: 1.5rem;
}

.checklists-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Section */
.checklists-search-section {
    background: #ffffff;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.checklists-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.checklists-search-input-wrap {
    flex: 1;
    position: relative;
    height: 52px;
}

.checklists-search-input-wrap .fa-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
}

.checklists-search-input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 20px 0 50px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.checklists-search-input:focus {
    outline: none !important;
    border-color: #0073aa !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1) !important;
}

.checklists-search-input::placeholder {
    color: #94a3b8 !important;
    font-size: 16px !important;
}

.checklists-search-info {
    font-size: 0.875rem;
    color: var(--guide-text-secondary);
    white-space: nowrap;
}

/* Category Sections */
.checklists-category {
    padding: 40px 0;
    border-bottom: 1px solid var(--guide-border-light);
}

.checklists-category:last-of-type {
    border-bottom: none;
}

.checklists-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: var(--guide-bg-secondary);
    border: 1px solid var(--guide-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.checklists-category-header:hover {
    background: var(--guide-bg-tertiary);
    border-color: var(--guide-primary);
}

.checklists-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checklists-category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--guide-primary) 0%, #0891b2 100%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.125rem;
}

.checklists-category-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--guide-text-primary);
    font-family: var(--guide-font-heading);
    margin: 0;
}

.checklists-count {
    font-size: 0.8125rem;
    color: #ffffff;
    background: var(--guide-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.checklists-toggle-icon {
    color: var(--guide-text-tertiary);
    transition: transform 0.2s ease;
}

.checklists-category-header[aria-expanded="false"] .checklists-toggle-icon {
    transform: rotate(-90deg);
}

/* Checklists Grid */
.checklists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.checklist-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--guide-border-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.checklist-card:hover {
    border-color: var(--guide-primary);
    box-shadow: 0 4px 20px rgba(0, 115, 170, 0.12);
    transform: translateY(-2px);
}

.checklist-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.checklist-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--guide-primary-light);
    border-radius: 10px;
    color: var(--guide-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

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

.checklist-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--guide-text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.checklist-card-content p {
    font-size: 0.8125rem;
    color: var(--guide-text-tertiary);
    margin: 0;
}

.checklist-card-actions {
    display: flex;
    gap: 10px;
}

.checklist-download-btn,
.checklist-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    flex: 1;
}

.checklist-download-btn {
    background: var(--guide-primary) !important;
    color: #ffffff !important;
}

.checklist-download-btn:hover {
    background: var(--guide-primary-hover) !important;
}

.checklist-view-btn {
    background: var(--guide-bg-secondary);
    color: var(--guide-text-secondary);
    border: 1px solid var(--guide-border-light);
}

.checklist-view-btn:hover {
    background: var(--guide-bg-tertiary);
    color: var(--guide-text-primary);
    border-color: var(--guide-text-tertiary);
}

/* No Results */
.checklists-no-results {
    padding: 80px 0;
    text-align: center;
}

.checklists-no-results-content i {
    font-size: 3rem;
    color: var(--guide-text-tertiary);
    margin-bottom: 16px;
}

.checklists-no-results-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--guide-text-primary);
    margin-bottom: 8px;
}

.checklists-no-results-content p {
    color: var(--guide-text-secondary);
}

.checklists-clear-btn {
    background: none;
    border: none;
    color: var(--guide-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.checklists-clear-btn:hover {
    color: var(--guide-primary-hover);
}

/* CTA Section */
.checklists-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--guide-bg-secondary) 0%, #e0f2fe 100%);
}

.checklists-cta-box {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.checklists-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--guide-primary) 0%, #0891b2 100%);
    border-radius: 20px;
    color: #ffffff;
    font-size: 2rem;
    flex-shrink: 0;
}

.checklists-cta-content {
    flex: 1;
}

.checklists-cta-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--guide-text-primary);
    margin-bottom: 8px;
    font-family: var(--guide-font-heading);
}

.checklists-cta-box p {
    font-size: 1rem;
    color: var(--guide-text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .checklists-hero {
        padding: 48px 0 56px;
    }
    
    .checklists-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .checklists-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .checklists-hero-stats {
        gap: 24px;
    }
    
    .checklists-stat-number {
        font-size: 1.5rem;
    }
    
    .checklists-search-section {
        padding: 16px 0;
    }
    
    .checklists-search-bar {
        flex-direction: column;
        gap: 12px;
    }
    
    .checklists-search-info {
        text-align: center;
    }
    
    .checklists-category {
        padding: 24px 0;
    }
    
    .checklists-category-header {
        padding: 14px 16px;
    }
    
    .checklists-category-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .checklists-category-header h2 {
        font-size: 1rem;
    }
    
    .checklists-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .checklist-card {
        padding: 16px;
    }
    
    .checklist-card-header {
        margin-bottom: 14px;
    }
    
    .checklist-card-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .checklist-card-content h3 {
        font-size: 0.9375rem;
    }
    
    .checklist-card-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .checklist-download-btn,
    .checklist-view-btn {
        padding: 12px 16px;
    }
    
    .checklists-cta {
        padding: 48px 0;
    }
    
    .checklists-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .checklists-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}


/* ==========================================================================
   GUIDES INDEX PAGE - IMPROVED UX
   ========================================================================== */

.guides-index-page {
    background: #ffffff;
}

/* Hero Section */
.guides-index-hero {
    position: relative;
    padding: 80px 0 100px;
    text-align: center;
    overflow: hidden;
}

.guides-index-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}

.guides-index-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.guides-index-hero .guide-container {
    position: relative;
    z-index: 1;
}

.guides-index-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.guides-index-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #67e8f9;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.guides-index-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--guide-font-heading);
    letter-spacing: -0.02em;
}

.guides-index-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Search in Hero */
.guides-index-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto 40px;
    height: 56px;
}

.guides-index-search-wrap .fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
}

.guides-index-search {
    width: 100% !important;
    height: 56px !important;
    padding: 0 24px 0 56px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.guides-index-search:focus {
    outline: none !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(14, 165, 233, 0.2) !important;
}

.guides-index-search::placeholder {
    color: #94a3b8 !important;
}

/* Hero Stats */
.guides-index-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.guides-index-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.guides-index-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--guide-font-heading);
}

.guides-index-stat-number i {
    font-size: 1.75rem;
}

.guides-index-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Categories Section */
.guides-index-categories {
    padding: 80px 0;
    background: #f8fafc;
}

.guides-index-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.guides-index-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0073aa;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.guides-index-section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    font-family: var(--guide-font-heading);
}

.guides-index-section-header p {
    font-size: 1.125rem;
    color: #64748b;
}

/* Category Grid */
.guides-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.guides-index-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    min-height: 180px;
}

.guides-index-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.guides-index-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guides-index-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guides-index-card-title {
    flex: 1;
    min-width: 0;
}

.guides-index-card-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    font-family: var(--guide-font-heading);
}

.guides-index-card:hover .guides-index-card-title h3 {
    color: #0073aa;
}

.guides-index-card-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.guides-index-card-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.guides-index-card-preview span {
    font-size: 0.6875rem;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.guides-index-card-preview span.more {
    color: #0073aa !important;
    background: #e0f2fe !important;
    font-weight: 600;
}

/* No Results */
.guides-index-no-results {
    text-align: center;
    padding: 60px 20px;
}

.guides-index-no-results i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.guides-index-no-results h3 {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 8px;
}

.guides-index-no-results p {
    color: #64748b;
}

.guides-index-clear-btn {
    background: none;
    border: none;
    color: #0073aa;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* CTA Section */
.guides-index-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.guides-index-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.guides-index-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 20px;
    color: #ffffff;
    font-size: 2rem;
    flex-shrink: 0;
}

.guides-index-cta-text {
    flex: 1;
}

.guides-index-cta-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: var(--guide-font-heading);
}

.guides-index-cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.guides-index-cta .guide-btn-primary {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .guides-index-hero {
        padding: 60px 0 80px;
    }
    
    .guides-index-hero h1 {
        font-size: 2rem;
    }
    
    .guides-index-hero-subtitle {
        font-size: 1rem;
    }
    
    .guides-index-hero-stats {
        gap: 24px;
    }
    
    .guides-index-stat-number {
        font-size: 1.5rem;
    }
    
    .guides-index-categories {
        padding: 48px 0;
    }
    
    .guides-index-section-header h2 {
        font-size: 1.75rem;
    }
    
    .guides-index-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .guides-index-card {
        padding: 20px;
    }
    
    .guides-index-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .guides-index-card-preview {
        display: none;
    }
    
    .guides-index-cta {
        padding: 48px 0;
    }
    
    .guides-index-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guides-index-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .guides-index-cta-text h2 {
        font-size: 1.5rem;
    }
}
