/* =========================================
   BLOG & KNOWLEDGE HUB - V12 ULTRA PREMIUM
   Theme: Vibrant Storytelling & Dynamic Motion
   ========================================= */

:root {
    --blog-green: #053e2f;
    --blog-emerald: #10b981;
    --blog-gold: #d4af37;
    --blog-gold-light: #fef08a;
    --blog-dark: #0f172a;
    --blog-white: #ffffff;
    --blog-ivory: #fafaf9;
    --gold-grad: linear-gradient(135deg, #d4af37 0%, #fef08a 50%, #a8850b 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    color: var(--blog-dark);
}

/* 1. CINEMATIC HERO (HIGH VISIBILITY) */
.knowledge-hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    background: var(--blog-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img-box {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.5);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
        /* Reduced zoom to prevent clipping */
    }
}

.hero-overlay-v2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 62, 47, 0.4), rgba(15, 23, 42, 0.85));
    z-index: 2;
}

.hero-content-v2 {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 900px;
}

.v3-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--blog-gold);
    color: var(--blog-gold-light);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 0.75rem;
    margin-bottom: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.v3-title {
    font-size: clamp(3.5rem, 9vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    color: #ffffff;
    /* Explicitly white as requested */
}

.serif-gold {
    font-family: 'Playfair Display', serif;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.v3-lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.5;
}

/* 2. DYNAMIC GRID & CARDS */
.knowledge-grid-section {
    padding: 140px 0;
    background: #fff;
}

.section-head-v12 h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--blog-dark);
}

.lux-divider {
    width: 80px;
    height: 5px;
    background: var(--blog-gold);
    margin: 0 auto 60px;
    border-radius: 10px;
}

.blog-card-v12 {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.blog-card-v12:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(5, 62, 47, 0.15);
    border-color: var(--blog-gold);
}

.card-thumb-v12 {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-thumb-v12 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.blog-card-v12:hover .card-thumb-v12 img {
    transform: scale(1.1);
}

.card-cat-v12 {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--blog-green);
    color: #fff;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-body-v12 {
    padding: 40px;
}

.card-body-v12 h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--blog-dark);
    line-height: 1.2;
}

.card-summary-v12 {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

/* NEW: EXPANDED CONTENT INTERFACE */
.expand-v12 {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.expand-v12.show {
    max-height: 400px;
    opacity: 1;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.btn-insight-v12 {
    margin-top: 30px;
    background: var(--blog-green);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-insight-v12:hover {
    background: var(--blog-gold);
    transform: scale(1.05);
}

/* 3. JOURNEY INFOGRAPHIC (LIGHT MODE) */
.journey-v12 {
    background: #ffffff;
    /* Removed dark background */
    padding: 120px 0;
    color: var(--blog-dark);
    border-top: 1px solid #f1f5f9;
}

.journey-v12 .v3-title {
    color: var(--blog-dark) !important;
}

.journey-v12 .text-white-50 {
    color: #64748b !important;
}

.j-node {
    text-align: center;
}

.j-circle {
    width: 100px;
    height: 100px;
    background: var(--blog-ivory);
    border: 2px solid var(--blog-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--blog-green);
    margin: 0 auto 30px;
    transition: 0.6s;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.j-node:hover .j-circle {
    background: var(--blog-gold);
    color: #fff;
    transform: none;
}

.j-connector {
    height: 2px;
    background: #e2e8f0;
    /* Darker for light background */
    flex-grow: 1;
    margin-top: 50px;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
