:root {
    /* Core palette - warm cream/editorial */
    --bg: #f5f2ec;
    --bg-warm: #faf8f4;
    --bg-section: #edeae3;
    --ink: #1a1a1a;
    --ink-light: #3a3a48;
    --muted: #7a7a88;
    --border: #ddd8ce;
    --gold: #b8943f;
    --gold-hover: #a07e32;
    --gold-bg: rgba(184,148,63,0.08);
    --navy: #1b2a4a;
    --forest: #2c4a2c;
    --crimson: #6b1a1a;
    --dark: #1a1a20;
    --white: #ffffff;
}
.cfo-input-wrapper input[type=text],
.cfo-input-wrapper input[type=email],
.cfo-input-wrapper input[type=url],
.cfo-input-wrapper input[type=password],
.cfo-input-wrapper input[type=search],
.cfo-input-wrapper input[type=number],
.cfo-input-wrapper input[type=tel],
.cfo-input-wrapper input[type=range],
.cfo-input-wrapper input[type=date],
.cfo-input-wrapper input[type=month],
.cfo-input-wrapper input[type=week],
.cfo-input-wrapper input[type=time],
.cfo-input-wrapper input[type=datetime],
.cfo-input-wrapper input[type=datetime-local],
.cfo-input-wrapper input[type=color],
.cfo-input-wrapper select,
.cfo-input-wrapper textarea {
    padding: 1rem 1rem 1rem 3rem !important;
}

#cfo-premium-body {
    font-family: 'Libre Franklin', sans-serif;
    background: #0a0a0a;
        color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 0 !important;
}

.page-template-page-cfo-home #cfo-premium-body,
body.page-template-page-cfo-home {
    background-color: #0a0a0a !important;
    background-image:
        radial-gradient(at 0% 0%, rgba(184, 148, 63, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(184, 148, 63, 0.03) 0px, transparent 50%) !important;
    background-attachment: fixed !important;
    color: #e0e0e0 !important;
}
/* #cfo-premium-body * { margin: 0; padding: 0; box-sizing: border-box; } */

/* ─── UTILITIES ─── */
.cfo-section-padding {
    padding: 6rem 4rem; /* Adjusted for editorial feel */
}

.cfo-container,
.cs-container,
.pc-container,
.cfom-container,
.cfov-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* ─── TOP BAR ─── */
.cfo-top-bar {
    background: var(--dark);
    color: #888;
    font-size: 0.72rem;
    /* padding: 0.5rem 4rem; */
    display: flex;
    justify-content: flex-end;
    gap: 1.75rem;
    letter-spacing: 0.3px;
}

.cfo-top-bar a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.cfo-top-bar a:hover { color: var(--gold); }

ul.cfo-top-nav-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

ul.cfo-top-nav-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

ul.cfo-top-nav-links a:hover { color: var(--gold); }

/* ─── NAV ─── */
.cfo-premium-page nav, 
#cfo-premium-body nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important; /* Stretch to fill height for correct dropdown positioning */
    padding: 0 4rem !important; /* Remove vertical padding */
    /* background: var(--white) !important; */
    position: sticky;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: none !important;
        box-shadow: none !important;
    height: 85px;
        /* Consistent height */
}

.cfo-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.cfo-logo-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cfo-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.cfo-logo-text span { color: var(--gold); }

.cfo-nav-tagline {
    font-size: 0.58rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-top: -2px;
}

/* Nav Links Container */
.cfo-nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    list-style: none !important;
    align-items: stretch !important; /* Stretch to fill height */
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    border: none !important;
    background: transparent !important;
    height: 100% !important;
}

.cfo-nav-links > li { 
    position: relative !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
}

.cfo-nav-links > li > a {
    color: var(--ink-light) !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 0 1rem !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    white-space: nowrap !important;
    line-height: normal !important;
    border: none !important;
    height: 100% !important;
}

.cfo-nav-links > li > a:hover { color: var(--gold) !important; }

/* Submenu / Dropdown */
.cfo-nav-links .cfo-dropdown-menu,
.cfo-nav-links .sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important; /* Back to 100% to avoid gap */
    left: 0 !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
    min-width: 240px !important;
    z-index: 2000 !important;
    padding: 0.75rem 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: left !important;
    border-top: 2px solid var(--gold) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Invisible bridge to prevent menu from closing when moving mouse from link to menu */
.cfo-nav-links .cfo-dropdown-menu::before,
.cfo-nav-links .sub-menu::before {
    content: '';
    position: absolute;
    top: -25px; /* Extension upwards */
    left: 0;
    right: 0;
    height: 30px;
    background: transparent;
    z-index: -1;
}

/* Show on Hover or Active */
.cfo-nav-links > li:hover > .cfo-dropdown-menu,
.cfo-nav-links > li:hover > .sub-menu,
.cfo-nav-links > li.active > .cfo-dropdown-menu,
.cfo-nav-links > li.active > .sub-menu,
.cfo-nav-links > li.submenu-visible > .cfo-dropdown-menu,
.cfo-nav-links > li.submenu-visible > .sub-menu { 
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Mega Menu Support */
.cfo-nav-links > li.cs-mega-menu {
    position: static !important;
}

.cfo-nav-links > li.cs-mega-menu > .sub-menu {
    left: 2rem !important;
    right: 2rem !important;
    width: auto !important;
    min-width: calc(100vw - 4rem) !important;
    padding: 2.5rem 4rem !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    border-top: 2px solid var(--gold) !important;
}

.cfo-nav-links > li.cs-mega-menu .cs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.cs-mm__content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    /* gap: 4rem !important; */
    min-height: 400px;
}
.cs-entry__inner:not(:first-child) {
    margin-top: unset !important;
}

.cs-mm__categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 260px !important;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
}

.cs-mm__categories li {
    padding: 0 !important;
    margin: 0 !important;
}

.cs-mm__categories li a {
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--ink-light) !important;
    border-radius: 4px;
    transition: all 0.2s;
}

.cs-mm__categories li.cs-active-item a {
    background: var(--gold-faint) !important;
    color: var(--gold) !important;
}

.cs-mm__posts-container {
    flex-grow: 1;
    min-height: 200px;
    position: relative;
    display: block !important;
}

.cs-mm__posts {
    display: none !important;
    grid-template-columns: repeat(5, 1fr) !important;
    /* gap: 1.5rem !important; */
    width: 100% !important;
    align-items: stretch !important;
}

.cs-mm__posts.cs-active-item {
    display: grid !important;
}
.cs-mega-menu.cs-mega-menu-terms .cs-mm__content .cs-mm__posts-container .cs-mm__posts.cs-active-item {
    display: flex !important;
}

/* Loading Spinner & Animations */
.cs-mm-loading .cs-mm__posts-container::after {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    border: 3px solid var(--gold-faint);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: cfo-spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes cfo-spin {
    to { transform: rotate(360deg); }
}

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

/* Mega Menu Item Structure */
.mega-menu-item {
    width: 100% !important;
    animation: cfo-fade-in 0.4s ease-out;
}

.cs-mm__term-header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    animation: cfo-fade-in 0.5s ease-out;
}

.cs-mm__term-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: var(--ink) !important;
    margin: 0 0 0.75rem 0 !important;
    letter-spacing: -0.5px !important;
}

.cs-mm__term-desc {
    font-size: 1rem !important;
    color: var(--muted) !important;
    max-width: 800px;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.mega-menu-item .cs-entry__outer,
.mega-menu-item .cs-entry__inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.mega-menu-item .cs-entry__thumbnail {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important; /* Larger, more cinematic ratio */
    margin-bottom: 1.5rem !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    display: block !important;
}

.mega-menu-item .cs-entry__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.mega-menu-item:hover .cs-entry__thumbnail img {
    transform: scale(1.1) !important;
}

/* Category Badges (Grey boxes as in image) */
.mega-menu-item .cs-entry__post-meta {
    margin-bottom: 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.mega-menu-item .cs-meta-category {
    display: inline-flex !important;
    gap: 0.5rem !important;
}

.mega-menu-item .cs-meta-category a {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #f0f0f0 !important;
    color: #444 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
}

.mega-menu-item .cs-entry__title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: var(--ink) !important;
    margin: 0 0 0.6rem 0 !important;
    transition: color 0.2s !important;
}

.mega-menu-item:hover .cs-entry__title {
    color: var(--gold) !important;
}

.mega-menu-item .cs-entry__excerpt {
    display: block !important; /* Re-enable excerpt for detail */
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: var(--muted) !important;
    margin: 0 0 1.25rem 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Hide specific meta but keep author and date as in screenshot */
.mega-menu-item .cs-meta-views,
.mega-menu-item .cs-meta-reading-time,
.mega-menu-item .cs-entry__post-meta > div:not(.cs-meta-category) {
    display: none !important;
}

.mega-menu-item .cs-meta-author,
.mega-menu-item .cs-meta-date {
    display: inline-block !important;
    font-size: 0.75rem !important;
    color: var(--muted) !important;
    opacity: 0.8;
}

.mega-menu-item .cs-meta-author {
    margin-right: 0.3rem !important;
}

.mega-menu-item .cs-meta-author::after {
    content: " — " !important;
    margin-left: 0.2rem !important;
}

/* Submenu Items */
.cfo-nav-links .sub-menu,
.cfo-nav-links .cfo-dropdown-menu {
    background: #050505 !important;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #050505 100%) !important;
    border: 1px solid rgba(201, 168, 76, .2) !important;
    border-top: 2px solid var(--gold) !important;
    padding: 10px 0 !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7) !important;
}

.cfo-nav-links .cfo-dropdown-menu li,
.cfo-nav-links .sub-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cfo-nav-links .cfo-dropdown-menu a,
.cfo-nav-links .sub-menu a {
    display: block !important;
    padding: 0.65rem 1.5rem !important;
    font-size: 0.82rem !important;
    color: #E8E4DB !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.2s !important;
    border: none !important;
}

.cfo-nav-links .cfo-dropdown-menu a:hover,
.cfo-nav-links .sub-menu a:hover {
    background: rgba(201, 168, 76, .1) !important;
    color: var(--gold) !important;
    padding-left: 1.8rem !important;
}

/* ─── HERO BANNER ─── */
.cfo-hero-banner {
    background-image:
            linear-gradient(to bottom, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.95) 100%),
            url('/wp-content/uploads/2026/03/cfo-hero-pro-bg.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 7rem 4rem 9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(184, 148, 63, 0.2);
}

.cfo-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(1px 1px at 10% 20%, #fff, transparent),
            radial-gradient(1.5px 1.5px at 20% 30%, rgba(184, 148, 63, 0.4), transparent),
            radial-gradient(1px 1px at 30% 10%, #fff, transparent),
            radial-gradient(2px 2px at 40% 70%, rgba(184, 148, 63, 0.3), transparent),
            radial-gradient(1px 1px at 50% 40%, #fff, transparent),
            radial-gradient(1.5px 1.5px at 60% 80%, rgba(184, 148, 63, 0.4), transparent),
            radial-gradient(1px 1px at 70% 30%, #fff, transparent),
            radial-gradient(2px 2px at 80% 20%, rgba(184, 148, 63, 0.3), transparent),
            radial-gradient(1px 1px at 90% 60%, #fff, transparent),
            radial-gradient(1.5px 1.5px at 15% 85%, #fff, transparent),
            radial-gradient(2px 2px at 85% 75%, rgba(184, 148, 63, 0.2), transparent);
        background-size: 250px 250px;
        opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.cfo-hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(184, 148, 63, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(184, 148, 63, 0.05) 0%, transparent 40%);
        filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cfo-hero-banner-content {
    position: relative;
    z-index: 1;
    animation: cfoFadeUp 0.8s ease-out;
}

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

.cfo-hero-logo-large {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #f0eeea;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.cfo-hero-logo-large span { color: var(--gold); }

.cfo-hero-tagline-main {
    font-size: 0.85rem;
        letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
        margin-bottom: 2rem;
        opacity: 0.9;
}

.cfo-hero-desc {
    font-size: 1.15rem;
        color: #b0b0b0;
        max-width: 720px;
        margin: 0 auto 3rem;
        line-height: 1.8;
    font-weight: 300;
}

/* HERO ACTIONS */
.cfo-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-hero-primary {
    background: var(--gold);
    color: #fff !important;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 148, 63, 0.3);
}

.btn-hero-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 148, 63, 0.4);
}

/* HERO ASTRONAUT VISUAL */
.cfo-hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    z-index: 10;
    pointer-events: none;
}

.cfo-hero-astro {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: cfoAstroFloat 6s ease-in-out infinite;
    mix-blend-mode: screen;
    /* Effectively removes dark backgrounds */
}

@keyframes cfoAstroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(3deg);
    }
}

@media (max-width: 1100px) {
    .cfo-hero-visual {
        width: 300px;
        right: 2%;
    }
}

@media (max-width: 991px) {
    .cfo-hero-visual {
        display: none;
        /* Hide on smaller tablets/mobile for cleaner layout */
    }
}

.btn-hero-secondary {
    background: transparent;
    color: #fff !important;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cfo-hero-stats-wrap {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 1rem 3rem;
    backdrop-filter: blur(10px);
}
.cfo-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
        align-items: center;
    }
    
    .cfo-hero-stat-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cfo-hero-stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -2rem;
        top: 50%;
        transform: translateY(-50%);
        height: 30px;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
}

.cfo-hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cfo-hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
        color: var(--gold);
        font-weight: 600;
    }
    
    @media (max-width: 768px) {
        .cfo-hero-banner {
            padding: 5rem 1.5rem 6rem;
        }
    
        .cfo-hero-logo-large {
            font-size: 2.5rem;
        }
    
        .cfo-hero-actions {
            flex-direction: column;
            gap: 1rem;
            padding: 0 2rem;
        }
    
        .btn-hero-primary,
        .btn-hero-secondary {
            width: 100%;
            padding: 0.8rem 1.5rem;
        }
    
        .cfo-hero-stats-wrap {
            padding: 1.5rem;
            border-radius: 20px;
            width: 100%;
        }
    
        .cfo-hero-stats {
            flex-direction: column;
            gap: 1.5rem;
        }
    
        .cfo-hero-stat-item:not(:last-child)::after {
            display: none;
        }
}

/* ─── CATEGORY LANDING ─── */
.cfo-category-landing {
    padding: 3rem 1.5rem 3rem;
        background-image:
            linear-gradient(to bottom, #050505 0%, rgba(5, 5, 5, 0.7) 30%, rgba(5, 5, 5, 0.7) 70%, #050505 100%),
            url('/wp-content/uploads/2026/03/cat-landing-pro-bg.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        text-align: center;
    position: relative;
        overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cfo-category-landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.2px 1.2px at 85% 25%, rgba(184, 148, 63, 0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 25% 75%, rgba(184, 148, 63, 0.2), transparent),
        radial-gradient(1px 1px at 75% 85%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 300px 300px;
    opacity: 0.4;
    pointer-events: none;
}

.cfo-category-landing::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 148, 63, 0.03) 0%, transparent 70%);
    pointer-events: none;
}
/* ─── CENTERED SECTION HEADER (for category landing) ─── */
.cfo-centered-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cfo-centered-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.cfo-centered-header p {
    font-size: 0.95rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}
.cfo-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        max-width: 1300px;
        margin: 3rem auto 0;
}

.cfo-category-card {
    background: rgba(20, 20, 20, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(12px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
        text-decoration: none;
}

.cfo-category-card:hover {
    transform: translateY(-10px);
        box-shadow:
            0 30px 60px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(184, 148, 63, 0.2);
        border-color: rgba(184, 148, 63, 0.3);
}

.cfo-category-image-wrap {
    width: 100%;
    aspect-ratio: 3/2;
    /* Reduced from 4/5 */
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.cfo-category-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(5, 5, 5, 0.8) 100%);
    pointer-events: none;
}

.cfo-category-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cfo-category-card:hover .cfo-category-image-wrap img {
    transform: scale(1.05);
}

.cfo-card-content {
    padding: 2.5rem 1.75rem 3rem;
    /* Increased padding for luxury */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.cfo-category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1.5rem;
}

.cfo-category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.cfo-category-card:hover h3::after {
    width: 60px;
}

.cfo-category-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
        font-weight: 300;
        color: #b0b0b0;
        line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    max-width: 320px;
}

.cfo-explore-btn {
    font-family: 'Outfit', sans-serif;
    background: var(--gold);
    color: #fff !important;
        padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        box-shadow: 0 4px 15px rgba(184, 148, 63, 0.2);
}

.cfo-category-card:hover .cfo-explore-btn {
    background: var(--gold-hover, #b88d2d);
    box-shadow: 0 8px 25px rgba(184, 141, 45, 0.35);
        transform: scale(1.05);
}

.cfo-explore-btn span {
    transition: transform 0.3s ease;
}

.cfo-category-card:hover .cfo-explore-btn span {
    transform: translateX(4px);
}
.cfo-category-icon {
    font-size: 1.75rem;
    color: var(--gold);
}

.cfo-category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #fff;
    margin: 0;
}

.cfo-category-card p {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.cfo-category-link {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── BOOKS CAROUSEL ─── */
.cfo-books-section {
    padding: 2rem 4rem 2rem;
    background-image:
            linear-gradient(to bottom, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.8) 100%),
            url('/wp-content/uploads/2026/03/cfo-books-pro-bg.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        overflow: visible;
    }
    
    .cfo-books-section .cfo-section-header h2 {
        color: #fff !important;
    }
    
    .cfo-books-section .cfo-section-header p {
        color: #999 !important;
}

.cfo-carousel-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 3rem auto 0;
        /* Add top margin for the track spacing */
        z-index: 1;
    }
    
    /* 3D Metallic Track */
    .cfo-carousel-wrapper::before {
        content: '';
        position: absolute;
        top: 300px;
        /* Align with bottom of books */
        left: 0;
        right: 0;
        height: 70px;
        /* Thinner track cradling the bottom */
        transform: translateY(-50%);
        background: linear-gradient(180deg, #111 0%, #2a2a2a 20%, #050505 80%, #333 100%);
        border-radius: 40px;
        /* Pill shape */
        box-shadow:
            inset 0 4px 10px rgba(0, 0, 0, 0.8),
            inset 0 -1px 3px rgba(184, 148, 63, 0.4),
            /* Gold/Silver rim light */
            0 15px 35px rgba(0, 0, 0, 0.8),
            0 0 0 1px rgba(184, 148, 63, 0.15);
        z-index: -1;
        pointer-events: none;
    }
    
    /* Inner groove for the track */
    .cfo-carousel-wrapper::after {
        content: '';
        position: absolute;
        top: 300px;
        left: 20px;
        right: 20px;
        height: 50px;
        transform: translateY(-50%);
        background: linear-gradient(180deg, #050505 0%, #1a1a1a 100%);
        border-radius: 25px;
        box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.9);
        z-index: -1;
        pointer-events: none;
}

.cfo-books-scroll-outer {
    overflow-x: auto;
    padding: 4rem 1rem 5rem;
        scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    perspective: 1200px;
}

.cfo-books-scroll-outer::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.cfo-books-scroll-inner {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.cfo-scroll-book-item {
    width: 170px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    scroll-snap-align: start;
    perspective: 1000px;
        transform-style: preserve-3d;
}

/* Carousel Arrows - Embedded 3D Style */
.cfo-carousel-arrow {
    position: absolute;
    top: 300px;
        /* Exact same vertical center as track */
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #cca95e 0%, #b8943f 40%, #8a6c2a 100%);
        /* Gold metallic */
        border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
        color: #111 !important;
        /* Dark arrows inside gold background */
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow:
            inset 0 3px 5px rgba(255, 255, 255, 0.4),
            inset 0 -3px 6px rgba(0, 0, 0, 0.5),
            0 5px 15px rgba(0, 0, 0, 0.6),
            0 0 0 2px rgba(184, 148, 63, 0.5);
        /* Metallic rim */
    padding: 0;
    margin: 0;
    pointer-events: auto;
}

.cfo-carousel-arrow svg {
    stroke: #111 !important;
        /* Explicitly set stroke color */
    pointer-events: none; /* Let clicks pass to button */
}

.cfo-carousel-arrow:hover {
    background: radial-gradient(circle at 30% 30%, #dfbf78 0%, #cca95e 40%, #9e7e36 100%);
        color: #000 !important;
        box-shadow:
            inset 0 3px 5px rgba(255, 255, 255, 0.6),
            inset 0 -3px 6px rgba(0, 0, 0, 0.6),
            0 8px 20px rgba(184, 148, 63, 0.4),
            0 0 0 2px rgba(184, 148, 63, 0.7);
        transform: translateY(-50%) scale(1.05);
}

.cfo-carousel-arrow:hover svg {
    stroke: #000 !important;
        /* Invert color on hover */
}

.cfo-carousel-arrow.prev {
    left: 10px;
}

.cfo-carousel-arrow.next {
    right: 15px;
}

/* Handle viewport edges */
@media (max-width: 1400px) {
    .cfo-carousel-arrow.prev { left: 1rem; }
    .cfo-carousel-arrow.next { right: 1rem; }
}

/* Carousel Dots */
.cfo-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: -1rem;
}

.cfo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        border: 1px solid transparent;
    }
    
    .cfo-dot:hover {
        background: rgba(184, 148, 63, 0.3);
        transform: scale(1.4);
}

.cfo-dot.active {
    background: var(--gold);
    transform: scale(1.6);
        box-shadow: 0 0 10px rgba(184, 148, 63, 0.5);
}

.cfo-scroll-book-item:hover { 
    transform: translateX(8px) translateY(-8px);
    }
    
    .cfo-scroll-book-item:hover .cfo-book-img-wrap {
        transform: rotateY(0deg) scale(1.1);
        box-shadow:
            0 30px 70px rgba(0, 0, 0, 0.8),
            0 0 0 1px rgba(184, 148, 63, 0.5);
    }
    
    /* ENTRANCE ANIMATION */
    @keyframes cfoBookEntrance {
        from {
            opacity: 0;
            transform: rotateY(-40deg) translateZ(-100px) translateY(30px);
        }
    
        to {
            opacity: 1;
            transform: rotateY(-25deg) translateZ(0) translateY(0);
        }
    }
    
    .cfo-scroll-book-item {
        animation: cfoBookEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
    }
    
    /* Staggered Entrance */
    .cfo-scroll-book-item:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .cfo-scroll-book-item:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .cfo-scroll-book-item:nth-child(3) {
        animation-delay: 0.3s;
    }
    
    .cfo-scroll-book-item:nth-child(4) {
        animation-delay: 0.4s;
    }
    
    .cfo-scroll-book-item:nth-child(5) {
        animation-delay: 0.5s;
}

.cfo-scroll-book-item:nth-child(n+6) {
    animation-delay: 0.6s;
}
.cfo-book-img-wrap {
    aspect-ratio: 2/3;
    background: #141414;
        border-radius: 2px 6px 6px 2px;
        margin-bottom: 1.5rem;
        position: relative;
        transform-style: preserve-3d;
        transform: rotateY(-20deg);
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow:
            10px 10px 30px rgba(0, 0, 0, 0.6),
            -2px 0 3px rgba(255, 255, 255, 0.15) inset;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Book Spine Simulation */
    .cfo-book-img-wrap::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 20px;
        height: 100%;
        background: linear-gradient(to right,
                rgba(0, 0, 0, 0.5) 0%,
                rgba(0, 0, 0, 0.2) 20%,
                rgba(255, 255, 255, 0.1) 40%,
                rgba(0, 0, 0, 0.1) 60%,
                transparent 100%);
        z-index: 2;
        pointer-events: none;
        border-radius: 2px 0 0 2px;
    }
    
    /* Remove redundant hover shadow */
    
    .cfo-book-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0 4px 4px 0;
    }
    
    /* Forthcoming Book Style Refinement */
    .cfo-book-forthcoming {
        background: linear-gradient(135deg, #1b2a4a, #2a3d6a);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.9);
        font-family: 'Playfair Display', serif;
        text-align: center;
        padding: 1.5rem;
        height: 100%;
    }
    
    .cfo-book-forthcoming .book-label {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
        opacity: 0.7;
    }
    
    .cfo-book-forthcoming .book-title {
        font-weight: 700;
        font-size: 0.95rem;
        line-height: 1.25;
}

.cfo-book-forthcoming .book-badge {
    font-size: 0.55rem;
    margin-top: 0.75rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cfo-book-meta {
    margin-top: 2rem;
    padding: 0 0.5rem;
}

.cfo-book-meta h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
        font-weight: 600;
        margin: 0 0 0.4rem;
        color: #fff;
        line-height: 1.35;
        letter-spacing: 0.3px;
        transition: color 0.3s ease;
    }
    
    .cfo-scroll-book-item:hover .cfo-book-meta h4 {
        color: var(--gold);
}

.cfo-book-meta p {
    font-family: 'Outfit', sans-serif;
        font-size: 0.75rem;
        color: #888;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
        letter-spacing: 1px;
}

/* ─── VALUE PROP STRIP ─── */
/* ─── AUTHORITY SECTION ─── */
.cfo-authority-section {
    padding: 7rem 4rem;
    background: var(--bg-warm);
}

.cfo-authority-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.cfo-authority-visual {
    position: relative;
    background: var(--white);
    padding: 2.25rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(0,0,0,0.03);
}

.cfo-authority-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.45;
    margin-bottom: 2rem;
    position: relative;
}

.cfo-authority-quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: var(--gold-bg);
}

.cfo-author-bio-mini {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.cfo-author-ava {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold-bg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.cfo-author-ava img { width: 100%; height: 100%; object-fit: cover; }

.cfo-author-info h5 {
    font-size: 0.88rem;
    color: var(--ink);
    margin: 0;
    font-weight: 700;
}

.cfo-author-info p {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

.cfo-authority-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.cfo-role-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cfo-role-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.4rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    border-radius: 100px;
}

/* ─── SECTION HEADER (shared across sections) ─── */
.cfo-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.cfo-section-header-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
        font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
        letter-spacing: 0.5px;
}

.cfo-section-header-text p {
    font-family: 'Outfit', sans-serif;
        font-size: 0.9rem;
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
}

.cfo-section-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s;
}

.cfo-section-link:hover {
    color: var(--gold-hover);
}
/* ─── ARTICLES SECTION ─── */
.cfo-articles-section {
    padding: 2rem 4rem 2rem;
        background: transparent !important;
}


.cfo-articles-grid-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Featured Article (Left) */
.cfo-featured-card {
    background: #141414;
        border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
        flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cfo-featured-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
        border-color: rgba(184, 148, 63, 0.4);
}

.cfo-featured-image-wrap {
    width: 100%;
        aspect-ratio: 16/9;
        background: linear-gradient(145deg, var(--navy), #2a3d6a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cfo-featured-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cfo-placeholder-img {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.2);
    font-weight: 700;
}

.cfo-featured-card-body {
    padding: 1.75rem;
        display: flex;
        flex-direction: column;
        flex: 1;
}

.cfo-article-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.cfo-article-tag {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.cfo-featured-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0.75rem;
        letter-spacing: 0.5px;
    transition: color 0.3s;
}

.cfo-featured-card:hover h3 {
    color: var(--gold);
}

.cfo-featured-card-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #999;
    flex: 1;
    margin-bottom: 0;
}

.cfo-featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.cfo-date {
    font-size: 0.78rem;
        color: var(--muted);
    }
    
    .cfo-article-meta {
    display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1.25rem;
        padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.78rem;
    color: #777;
}

.cfo-read-link {
    color: var(--gold);
    font-weight: 600;
        font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Article Stack (Right) */
.cfo-article-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cfo-article-item {
    background: #141414;
    padding: 1.25rem 1.5rem;
    display: block;
    text-decoration: none;
    transition: background 0.15s;
}

.cfo-article-item:hover {
    background: #1c1c1c;
}

.cfo-article-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.cfo-article-item:hover h4 {
    color: var(--gold);
}

.cfo-article-item p {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.cfo-article-item-date {
    font-size: 0.7rem;
    color: #777;
}

/* Legacy stack classes kept for compatibility */
                                                                                                                                                                                                                                                                .cfo-articles-stack {
                                                                                                                                                                                                                                                                    display: flex;
                                                                                                                                                                                                                                                                    flex-direction: column;
}

.cfo-stack-item {
    border-bottom: 1px solid var(--border);
}

.cfo-stack-item:last-child {
    border-bottom: none;
}

.cfo-stack-link {
    display: block;
    padding: 2rem;
    text-decoration: none;
    transition: background 0.2s;
}

.cfo-stack-link:hover {
    background: var(--bg-warm);
}

.cfo-stack-category {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cfo-stack-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cfo-stack-item p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.cfo-stack-date {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.8;
}
/* Responsive Grid */
@media (max-width: 900px) {
    .cfo-articles-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* ─── TOOLKITS SECTION ─── */
.cfo-toolkits-section {
    padding: 2rem 4rem 2rem;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cfo-toolkits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cfo-toolkit-card {
    background: #141414;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 6px;
        padding: 2rem;
        display: flex;
        flex-direction: column;
    background: linear-gradient(145deg, #1c1c1c 0%, #0a0a0a 100%);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-top-color: rgba(255, 255, 255, 0.15);
        /* Top highlight */
        border-left-color: rgba(255, 255, 255, 0.1);
        padding: 2.25rem 2rem 1.5rem;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        display: flex;
        flex-direction: column;
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.6),
            inset 0 15px 30px rgba(255, 255, 255, 0.02),
            inset 0 -20px 40px rgba(0, 0, 0, 0.8);
        position: relative;
        overflow: hidden;
    }
    
    /* Subtle background glow from bottom */
    .cfo-toolkit-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10%;
        right: 10%;
        height: 30%;
        background: radial-gradient(ellipse at bottom, rgba(184, 148, 63, 0.15) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }
    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfo-toolkit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 148, 63, 0.3);
        box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.7),
            inset 0 15px 30px rgba(255, 255, 255, 0.05),
            inset 0 -20px 40px rgba(0, 0, 0, 0.8);
    }
    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfo-toolkit-icon-box {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    width: 60px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    height: 60px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 14px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    background: linear-gradient(135deg, rgba(223, 191, 120, 0.8) 0%, rgba(138, 108, 42, 0.3) 100%);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    /* Gold rim */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding: 2px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    margin-bottom: 2rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    position: relative;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    z-index: 2;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfo-toolkit-icon-inner {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    height: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    background: linear-gradient(145deg, #2a2a2a, #111);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 12px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    justify-content: center;
    font-size: 1.5rem;
        color: var(--gold);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9);
    }
    
    .cfo-toolkit-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
        margin-bottom: 0.8rem;
    color: #fff;
    line-height: 1.3;
        font-weight: 600;
        z-index: 2;
    }
    
                                                                .cfo-toolkit-desc-wrap {
                                                                    display: flex;
                                                                    gap: 0.75rem;
                                                                    margin-bottom: 2rem;
                                                                    flex: 1;
                                                                    z-index: 2;
                                                                }
                                
                                                                .cfo-toolkit-desc-icon {
                                                                    color: rgba(184, 148, 63, 0.8);
                                                                    display: flex;
                                                                    align-items: flex-start;
                                                                    padding-top: 0.2rem;
                                                                    flex-shrink: 0;
                                                                }
                                
                                                                .cfo-toolkit-desc-wrap p {
                                                                    color: #a0a0a0;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    }
    
    .cfo-toolkit-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        z-index: 2;
    }
    
    .cfo-toolkit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfo-btn-outline {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border: 1px solid rgba(184, 148, 63, 0.6);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: var(--gold);
    background: transparent;
    }
    
    .cfo-btn-outline:hover {
        background: rgba(184, 148, 63, 0.1);
        color: #fff;
        border-color: var(--gold);
    }
    
    .cfo-btn-solid {
        background: linear-gradient(135deg, #dfbf78 0%, #b8943f 100%);
        color: #000;
        border: 1px solid transparent;
    }
    
    .cfo-btn-solid:hover {
        background: linear-gradient(135deg, #f0d592 0%, #cca95e 100%);
        box-shadow: 0 5px 15px rgba(184, 148, 63, 0.3);
    }
    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfo-toolkit-stats {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 0.72rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #666;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    letter-spacing: 0.3px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    text-align: right;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    line-height: 1.2;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
    
    @media (max-width: 900px) {
        .cfo-toolkits-grid {
            grid-template-columns: 1fr;
        }
}


/* ─── NEWSLETTER ─── */
.cfo-newsletter-section {
    padding: 5rem 4rem;
    border-top: 1px solid var(--dark-border);
    background: var(--dark);
    text-align: center;
    }
    
    .cfo-newsletter-inner {
        max-width: 620px;
        margin: 0 auto;
    }
    
    .cfo-newsletter-inner h2 {
        font-family: 'Playfair Display', serif !important;
        font-size: 2.2rem !important;
        font-weight: 900 !important;
        color: var(--white) !important;
        margin-bottom: 0.75rem !important;
        letter-spacing: -0.5px !important;
}

.cfo-newsletter-inner p {
    color: #8888a0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cfo-newsletter-form {
    display: flex;
    gap: 1rem;
        max-width: 580px;
    margin: 0 auto;
    align-items: center;
        justify-content: center;
    }
    
    .cfo-input-wrapper {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .cfo-input-icon {
        position: absolute;
        left: 1rem;
        color: var(--gold);
        display: flex;
        align-items: center;
        pointer-events: none;
}

.cfo-newsletter-form input {
    width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-size: 0.95rem;
        outline: none;
    border-radius: 8px;
        transition: border-color 0.3s ease;
    }
    
    .cfo-newsletter-form input::placeholder {
        color: #888;
        font-style: italic;
    }
    
    .cfo-newsletter-form input:focus {
        border-color: rgba(184, 148, 63, 0.4);
        background: rgba(255, 255, 255, 0.08);
}

.cfo-newsletter-form button {
    padding: 1rem 2rem;
        border-radius: 8px;
        background: linear-gradient(135deg, #dfbf78 0%, #b8943f 100%);
        color: #111;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 0 20px rgba(184, 148, 63, 0.3);
    }
    
    .cfo-newsletter-form button:hover {
        background: linear-gradient(135deg, #f0d592 0%, #cca95e 100%);
        box-shadow: 0 0 30px rgba(184, 148, 63, 0.5);
        transform: translateY(-2px);
    }
    
    .cfo-newsletter-disclaimer {
        font-size: 0.8rem !important;
        color: #666 !important;
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
        /* } */
        background: var(--gold);
        color: var(--dark);
        font-size: 0.85rem;
        font-weight: 700;
        border: 1px solid var(--gold);
        cursor: pointer;
        letter-spacing: 0.5px;
        border-radius: 0 4px 4px 0 !important;
        transition: all 0.2s;
    }
    
    .cfo-newsletter-form button:hover {
        background: var(--gold-hover);
}

 #cfo-premium-body {
     padding-top: 0 !important;
 }
/* ─── FOOTER ─── */
#cfo-premium-body footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--dark-border);
    background: var(--black);
}

.cfo-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

.cfo-footer-col h4 {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}

.cfo-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.cfo-footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.cfo-footer-col a:hover { color: var(--gold); }

.cfo-footer-bottom {
    max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border); display: flex; justify-content: space-between;
    align-items: center; font-size: 0.75rem; color: var(--text-muted);
}

/* ─── MOBILE TOGGLE ─── */
.cfo-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.cfo-mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--ink); /* Using dark color for toggle on white nav */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cfo-mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
.cfo-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.cfo-mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }

.cfo-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cfo-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .cfo-container,
        .cs-container,
        .pc-container,
        .cfom-container,
        .cfov-container {
            padding: 0 2rem;
        }
    .cfo-hero-banner { padding: 4rem 2rem; }
    .cfo-category-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {

    .cfo-container,
    .cs-container,
    .pc-container,
    .cfom-container,
    .cfov-container {
        padding: 0 1.5rem;
    }
}
@media (max-width: 900px) {
    #cfo-premium-body nav { padding: 0.8rem 1.5rem; justify-content: space-between; }
    .cfo-mobile-toggle { display: flex; }
    
    .cfo-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem;
        gap: 0;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        display: flex;
        overflow-y: auto;
    }
    
    .cfo-nav-links.active { right: 0; }
    
    .cfo-nav-links > li { width: 100%; border-bottom: 1px solid var(--border); }
    .cfo-nav-links > li > a {
        padding: 1.25rem 0;
        font-size: 1.1rem;
        width: 100%;
        justify-content: space-between;
    }

    .cfo-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-warm);
        padding: 0;
    }

    .cfo-dropdown-menu.active { display: block; }
    .cfo-dropdown-menu a { padding: 0.8rem 1.5rem; }

    /* Page Sections */
    .cfo-hero-logo-large { font-size: 2.5rem; }
    .cfo-hero-tagline-main { font-size: 0.65rem; letter-spacing: 2px; }
    
    .cfo-authority-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .cfo-authority-visual { max-width: 450px; margin: 0 auto; }
    
    .cfo-toolkits-grid { grid-template-columns: 1fr; }
    .cfo-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .cfo-category-grid { grid-template-columns: 1fr; }
    .cfo-hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .cfo-hero-stat-item { flex: 1; min-width: 100px; }
    
    .cfo-section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cfo-section-header h2 { font-size: 2rem !important; }
    
    .cfo-featured-card-body { padding: 1.5rem; }
    .cfo-featured-card-body h3 { font-size: 1.6rem; }
    
    .cfo-newsletter-form { flex-direction: column; }
    .cfo-newsletter-form input { border-right: 1px solid var(--dark-border); border-bottom: none; border-radius: 4px 4px 0 0; }
    .cfo-newsletter-form button { border-radius: 0 0 4px 4px; width: 100%; }
}

body.menu-open {
    overflow: hidden;
}

/* ─── SNIPPETS PAGE ─── */

.cfo-snippets-page {
    background: #f5f2ec;
    color: #1a1a1a;
}

.cfo-snippets-breadcrumb {
    padding: 1.1rem 0;
    font-size: 0.82rem;
    color: #7a7a88;
    border-bottom: 1px solid #ddd8ce;
    background: #faf8f4;
}

.cfo-snippets-breadcrumb a {
    color: #7a7a88;
    text-decoration: none;
}

.cfo-snippets-breadcrumb a:hover {
    color: #b8943f;
}

.cfo-snippets-breadcrumb .sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.cfo-snippets-hero {
    background: #1a1a20;
    padding: 3.25rem 0 0;
    position: relative;
    overflow: hidden;
}

.cfo-snippets-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 55% at 25% 50%, rgba(184,148,63,0.06), transparent),
        radial-gradient(ellipse 40% 50% at 75% 40%, rgba(27,42,74,0.06), transparent);
    pointer-events: none;
}

.cfo-snippets-hero .hero-inner {
    position: relative;
    z-index: 1;
    animation: cfo-fade-up 0.7s ease-out;
}

@keyframes cfo-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.cfo-snippets-hero .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.cfo-snippets-hero .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b8943f;
    font-weight: 600;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cfo-snippets-hero .hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #b8943f;
}

.cfo-snippets-hero h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #f0eeea !important;
    line-height: 1.1 !important;
    margin-bottom: 0.6rem !important;
}

.cfo-snippets-hero h1 em {
    font-style: italic;
    color: #b8943f;
}

.cfo-snippets-hero .hero-desc {
    font-size: 1rem;
    color: rgba(200,210,230,0.55);
    max-width: 460px;
    font-weight: 300;
}

.cfo-snippets-hero .hero-stat-row {
    display: flex;
    gap: 2rem;
    padding-bottom: 0.5rem;
}

.cfo-snippets-hero .hero-stat {
    text-align: center;
}

.cfo-snippets-hero .hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0eeea;
    line-height: 1;
}

.cfo-snippets-hero .hero-stat-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #5a5a6a;
    font-weight: 600;
    margin-top: 0.15rem;
}

.cfo-snippets-hero .hero-search-bar {
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cfo-snippets-hero .search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 0 0.85rem;
    flex: 1;
    max-width: 420px;
}

.cfo-snippets-hero .search-box svg {
    width: 16px;
    height: 16px;
    stroke: #5a5a6a;
    flex-shrink: 0;
}

.cfo-snippets-hero .search-box input {
    background: transparent;
    border: none;
    color: #f0eeea;
    font-size: 0.85rem;
    padding: 0.6rem;
    outline: none;
    width: 100%;
}

.cfo-snippets-hero .search-box input:focus {
    box-shadow: none !important;
}

.cfo-snippets-hero .result-count {
    font-size: 0.78rem;
    color: #6a6a7a;
    font-family: 'IBM Plex Mono', monospace;
}

.cfo-snippets-hero .result-count strong {
    color: #b8943f;
}

.cfo-snippets-gallery {
    padding: 2rem 0 4rem;
}

.cfo-snippets-gallery .gallery-grid {
    columns: 3;
    column-gap: 1.25rem;
}

.cfo-snippets-gallery .snippet-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.25rem;
    break-inside: avoid;
    background: #ffffff;
    border: 1px solid #ddd8ce;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.cfo-snippets-gallery .snippet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

.cfo-snippets-gallery .snippet-image {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.cfo-snippets-gallery .snippet-image-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.cfo-snippets-gallery .snippet-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255,255,255,0.9);
}

.cfo-snippets-gallery .snippet-author {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    margin-top: 0.75rem;
    display: block;
}

.cfo-snippets-gallery .snippet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    pointer-events: none;
}

.cfo-snippets-gallery .snippet-card:hover .snippet-overlay {
    background: rgba(0,0,0,0.4);
}

.cfo-snippets-gallery .snippet-li-btn {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a66c2;
    color: #fff;
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.cfo-snippets-gallery .snippet-card:hover .snippet-li-btn {
    opacity: 1;
    transform: translateY(0);
}

.cfo-snippets-gallery .snippet-footer {
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cfo-snippets-gallery .snippet-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    flex: 1;
    margin-right: 0.75rem;
}

.cfo-snippets-gallery .snippet-li-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.cfo-snippets-gallery .snippet-card:hover .snippet-li-icon {
    opacity: 0.7;
}

.cfo-snippets-page .load-more {
    text-align: center;
    margin-top: 2rem;
}

.cfo-snippets-page .btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3a3a48;
    padding: 0.8rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ddd8ce;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.cfo-snippets-page .btn-outline:hover {
    border-color: #b8943f;
    color: #b8943f;
}



@media (max-width: 1024px) {
    .cfo-snippets-hero h1 { font-size: 2.2rem !important; }
    .cfo-snippets-hero .hero-content { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
    .cfo-snippets-gallery .gallery-grid { columns: 2; }
}

@media (max-width: 640px) {
    .cfo-snippets-hero h1 { font-size: 1.85rem !important; }
    .cfo-snippets-gallery .gallery-grid { columns: 1; }
    .cfo-snippets-hero .hero-stat-row { flex-wrap: wrap; gap: 1rem; }
}

/* ─── LINKEDIN POPUP (MAGNIFIC) ─── */

/* Center the popup */
.mfp-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mfp-container {
    text-align: center !important;
    padding: 0 15px;
}

.mfp-content {
    display: inline-block !important;
    text-align: left;
    vertical-align: middle;
}

/* Popup box */
.white-popup {
    background: #ffffff;
    max-width: 540px; /* Aligned with LinkedIn embed width */
    width: 100%;
    margin: 20px auto !important;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

/* Animation */
.mfp-ready .white-popup {
    opacity: 1;
    transform: translateY(0);
}

.mfp-removing .white-popup {
    opacity: 0;
    transform: translateY(20px);
}

/* Full width iframe */
.white-popup iframe {
    width: 100%;
    height: 670px; /* Optimized for LinkedIn embeds */
    border: none;
    display: block;
}

/* Magnific Overlay Fade */
.mfp-bg {
    background: #000;
    opacity: 0.8;
    transition: opacity 0.3s ease-out;
}

.mfp-ready.mfp-bg {
    opacity: 0.85;
}

.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Close button style */
.mfp-close {
    color: #fff !important;
    background: #1a1a1a !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 50% !important;
    top: -45px !important;
    right: 0 !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s;
}

.mfp-close:hover {
    opacity: 1 !important;
}

@media (max-width: 600px) {
    .white-popup iframe {
        height: 550px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SPONSOR PAGE  —  page-sponsor.php
   ═══════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB (shared pattern) ─── */
.cfo-sponsor-breadcrumb {
    padding: 1.1rem 0;
    font-size: 0.82rem;
    color: var(--bg-warm);
        /* border-bottom: 1px solid var(--border); */
        background: var(--dark);
}

.cfo-sponsor-breadcrumb a {
    color: var(--bg-warm);
    text-decoration: none;
}
.cfo-sponsor-breadcrumb a:hover { color: var(--gold); }
.cfo-sponsor-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }

/* ─── PAGE HEADER ─── */
.cfo-sponsor-page-header {
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.cfo-sponsor-page-header .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cfo-sponsor-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--bg);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.cfo-sponsor-page-header p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── SPONSOR PROFILE SECTION ─── */
.cfo-sponsor-section {
    padding: 2rem 0 3.5rem;
}

.cfo-sponsor-card {
    background: var(--dark);
        border: 1px solid var(--gold-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

/* Top dark banner */
.cfo-sponsor-card-top {
    background: var(--dark);
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* Portrait */
.cfo-sponsor-photo {
    width: 180px;
    height: 220px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.cfo-sponsor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cfo-sponsor-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #253a5e, #1b2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfo-sponsor-photo-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.25;
}

/* Intro text on dark */
.cfo-sponsor-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.25rem;
}

.cfo-sponsor-role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.cfo-sponsor-company {
    font-size: 0.88rem;
    color: #8888a0;
    margin-bottom: 1rem;
}

.cfo-sponsor-summary {
    font-size: 0.95rem;
    color: #b0b0c0;
    line-height: 1.75;
    font-weight: 300;
}

/* Card body (light area) */
.cfo-sponsor-card-body {
    padding: 2.5rem 3rem;
}

.cfo-sponsor-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cfo-sponsor-card-body p {
    font-size: 0.98rem;
    color: #b0b0c0;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    /* max-width: 720px;s */
}

/* ─── COMPANY SECTION ─── */
.cfo-sponsor-company-section {
    padding: 3rem 0;
    background: var(--ink);
}

.cfo-sponsor-company-section .cs-container > h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cfo-sponsor-company-section .cs-container > p {
    font-size: 0.98rem;
    color: #b0b0c0;
        line-height: 1.85;
    margin-bottom: 1.25rem;
    /* max-width: 720px; */
}

.cfo-sponsor-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.cfo-sponsor-highlight-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cfo-sponsor-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(184,148,63,0.08);
    border-color: var(--gold);
}

.cfo-sponsor-highlight-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cfo-sponsor-highlight-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ─── PARTNERSHIP SECTION ─── */
.cfo-sponsor-partnership-section {
    padding: 3.5rem 0;
}

.cfo-sponsor-partnership-section .cs-container > h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cfo-sponsor-partnership-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--bg);
    line-height: 1.7;
    padding-left: 1.5rem;
    border-left: 3px solid var(--gold);
    margin-bottom: 1.75rem;
    max-width: 680px;
}

.cfo-sponsor-partnership-section .cs-container > p {
    font-size: 0.98rem;
    color: #b0b0c0;
        line-height: 1.85;
    margin-bottom: 1.25rem;
    max-width: 720px;
}

/* ─── CTA ─── */
.cfo-sponsor-cta {
    padding: 3.5rem 4rem;
    background: var(--dark);
    text-align: center;
}

.cfo-sponsor-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.5rem;
}

.cfo-sponsor-cta p {
    color: #8888a0;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.cfo-sponsor-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cfo-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--dark);
    padding: 0.85rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s, transform 0.2s;
}

.cfo-btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.cfo-btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #c0c0cc;
    padding: 0.85rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #3a3a44;
    border-radius: 2px;
    transition: border-color 0.3s, color 0.3s, transform 0.2s;
}

.cfo-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .cfo-sponsor-page-header h1 { font-size: 2rem; }

    .cfo-sponsor-card-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .cfo-sponsor-photo {
        width: 140px;
        height: 170px;
        margin: 0 auto;
    }

    .cfo-sponsor-intro { text-align: center; }

    .cfo-sponsor-card-body { padding: 2rem; }

    .cfo-sponsor-highlights { grid-template-columns: 1fr; }

    .cfo-sponsor-cta { padding: 2.5rem 1.5rem; }
}


/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE  —  page-about-new.php
   ═══════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ─── */
.cfo-about-breadcrumb {
    padding: 1.1rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg-warm);
}
.cfo-about-breadcrumb a { color: var(--muted); text-decoration: none; }
.cfo-about-breadcrumb a:hover { color: var(--gold); }
.cfo-about-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }

/* ─── HERO ─── */
.cfo-about-hero {
    background: var(--dark);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.cfo-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 25% 50%, rgba(44,74,44,0.1), transparent),
        radial-gradient(ellipse 40% 50% at 75% 40%, rgba(27,42,74,0.08), transparent);
    pointer-events: none;
}

.cfo-about-hero-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: cfoAboutFadeUp 0.8s ease-out;
}

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

/* Portrait */
.cfo-about-photo {
    width: 280px;
    height: 340px;
    position: relative;
    flex-shrink: 0;
}

.cfo-about-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cfo-about-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--navy), #2a3d6a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfo-about-photo-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.2;
}

.cfo-about-photo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    opacity: 0.15;
    z-index: -1;
}

/* Hero text */
.cfo-about-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.25rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.35rem;
    line-height: 1.1;
}

.cfo-about-hero-creds {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.cfo-about-hero-vision {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    color: #b0b0c0;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 560px;
}

.cfo-about-hero-desc {
    font-size: 1rem;
    color: #9090a0;
    line-height: 1.8;
    max-width: 560px;
    font-weight: 300;
}

.cfo-about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cfo-about-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #f0eeea;
    line-height: 1;
}

.cfo-about-stat-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6a6a7a;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* ─── VISION SECTION ─── */
.cfo-about-vision-section {
    padding: 4rem 0;
}

.cfo-about-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.cfo-about-vision-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--bg-section);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cfo-about-vision-text p {
    font-size: 1rem;
    color: var(--bg);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.cfo-about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}

.cfo-about-pillar {
    background: var(--ink);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1.35rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cfo-about-pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border-color: var(--gold);
}

.cfo-about-pillar-icon {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    display: block;
    color: var(--gold);
}

.cfo-about-pillar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-section);
    margin-bottom: 0.3rem;
}

.cfo-about-pillar p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* ─── BOOKS SECTION ─── */
.cfo-about-books-section {
    padding: 3.5rem 0;
    background: var(--dark);
}

.cfo-about-books-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.cfo-about-books-section > .cs-container > p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.cfo-about-books-shelf {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--border);
}

.cfo-about-books-shelf::-webkit-scrollbar { height: 4px; }
.cfo-about-books-shelf::-webkit-scrollbar-track { background: var(--border); }
.cfo-about-books-shelf::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.cfo-about-shelf-book {
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.cfo-about-shelf-book:hover { transform: translateY(-5px); }

.cfo-about-shelf-book-cover {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.14);
    margin-bottom: 0.5rem;
}

.cfo-about-shelf-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cfo-about-shelf-book-cover.ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    gap: 0.35rem;
}

.cfo-about-shelf-book-cover .ph-s { font-size: 0.4rem; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 600; display: block; }
.cfo-about-shelf-book-cover .ph-t { font-family: 'Playfair Display', serif; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.55); line-height: 1.2; display: block; }
.cfo-about-shelf-book-cover .ph-b { font-size: 0.4rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; opacity: 0.6; display: block; }

.cfo-about-shelf-book-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.cfo-about-shelf-book-status {
    font-size: 0.58rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ─── CAREER TIMELINE ─── */
.cfo-about-career-section {
    padding: 4rem 0;
}

.cfo-about-career-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--bg-section);
    margin-bottom: 0.4rem;
}

.cfo-about-career-section > .cs-container > p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.cfo-about-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.cfo-about-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border);
}

.cfo-about-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.cfo-about-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--gold);
    transition: background 0.2s;
}

.cfo-about-timeline-item:hover::before {
    background: var(--gold);
}

.cfo-about-timeline-company {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-section);
    margin-bottom: 0.1rem;
}

.cfo-about-timeline-role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.cfo-about-timeline-desc {
    font-size: 0.92rem;
    color: var(--ink-light);
    line-height: 1.7;
    max-width: 700px;
}

/* ─── EDUCATION & CREDENTIALS ─── */
.cfo-about-education-section {
    padding: 3.5rem 0;
    background: var(--ink);
}

.cfo-about-education-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--bg-section);
    margin-bottom: 2rem;
}

.cfo-about-edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.cfo-about-edu-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.cfo-about-edu-item {
    margin-bottom: 1rem;
}

.cfo-about-edu-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bg-warm);
}

.cfo-about-edu-item-sub {
    font-size: 0.85rem;
    color: var(--muted);
}

.cfo-about-cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cfo-about-cert-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink-light);
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.cfo-about-cert-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ─── BEYOND FINANCE ─── */
.cfo-about-beyond-section {
    padding: 4rem 0;
}

.cfo-about-beyond-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--bg-section);
    margin-bottom: 1.25rem;
}

.cfo-about-beyond-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cfo-about-beyond-card {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cfo-about-beyond-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(2, 2, 2, 0.588);
    border-color: var(--gold);
}

.cfo-about-beyond-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cfo-about-beyond-card p {
    font-size: 0.92rem;
    color: var(--border);
    line-height: 1.7;
    margin: 0;
}

/* ─── CTA ─── */
.cfo-about-cta {
    padding: 3.5rem 4rem;
    background: var(--dark);
    text-align: center;
}

.cfo-about-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.5rem;
}

.cfo-about-cta p {
    color: #8888a0;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.cfo-about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .cfo-about-hero { padding: 3rem 0; }

    .cfo-about-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cfo-about-photo {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }

    .cfo-about-hero-text { text-align: center; }
    .cfo-about-hero-text h1 { font-size: 2.5rem; }
    .cfo-about-hero-vision { margin: 0 auto 1.25rem; }
    .cfo-about-hero-desc { margin: 0 auto; }
    .cfo-about-stats { justify-content: center; }

    .cfo-about-vision-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .cfo-about-pillars-grid { grid-template-columns: 1fr 1fr; }

    .cfo-about-edu-grid { grid-template-columns: 1fr; }
    .cfo-about-beyond-grid { grid-template-columns: 1fr; }

    .cfo-about-cta { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
    .cfo-about-pillars-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   SITEMAP PAGE  —  page-sitemap-new.php
   ═══════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ─── */
.cfo-sitemap-breadcrumb {
    padding: 1.1rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg-warm);
}
.cfo-sitemap-breadcrumb a { color: var(--muted); text-decoration: none; }
.cfo-sitemap-breadcrumb a:hover { color: var(--gold); }
.cfo-sitemap-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }

/* ─── PAGE HEADER ─── */
.cfo-sitemap-header {
    background: var(--dark);
    padding: 3rem 4rem;
    text-align: center;
}
.cfo-sitemap-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.4rem;
}
.cfo-sitemap-header h1 em {
    font-style: italic;
    color: var(--gold);
}
.cfo-sitemap-header p {
    font-size: 0.95rem;
    color: #8888a0;
    max-width: 480px;
    margin: 0 auto;
}

/* ─── SITEMAP CONTENT WRAPPER ─── */
.cfo-sitemap-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 4rem 4rem;
}

/* ─── GRID ─── */
.cfo-sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ─── BLOCKS ─── */
.cfo-sitemap-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.cfo-sitemap-block:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: var(--gold);
}

.cfo-sitemap-full-width {
    grid-column: 1 / -1;
}

.cfo-sitemap-block-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-warm);
}
.cfo-sitemap-block-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

/* ─── BLOCK ICONS ─── */
.cfo-block-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.cfo-icon-gold    { background: var(--gold-bg); border: 1px solid var(--border); color: var(--gold); }
.cfo-icon-forest  { background: rgba(44,74,44,0.08); border: 1px solid rgba(44,74,44,0.12); color: var(--forest); }
.cfo-icon-navy    { background: rgba(27,42,74,0.08); border: 1px solid rgba(27,42,74,0.12); color: var(--navy); }
.cfo-icon-crimson { background: rgba(107,26,26,0.08); border: 1px solid rgba(107,26,26,0.12); color: var(--crimson); }
.cfo-icon-dark    { background: rgba(26,26,32,0.06); border: 1px solid rgba(26,26,32,0.1); color: var(--ink-light); }

/* ─── BLOCK BODY ─── */
.cfo-sitemap-block-body { padding: 0.5rem 0; }

/* ─── PRIMARY LINKS ─── */
.cfo-sitemap-link {
    display: flex;
    align-items: center;
    padding: 0.55rem 1.5rem;
    text-decoration: none;
    color: var(--ink-light);
    font-size: 0.88rem;
    transition: background 0.15s, color 0.15s;
    gap: 0.6rem;
}
.cfo-sitemap-link:hover { background: var(--bg-warm); color: var(--gold); }
.cfo-sitemap-link .arrow { font-size: 0.7rem; color: var(--border); transition: color 0.15s; }
.cfo-sitemap-link:hover .arrow { color: var(--gold); }

/* ─── SUBLINKS ─── */
.cfo-sitemap-sublink {
    display: flex;
    align-items: center;
    padding: 0.45rem 1.5rem 0.45rem 2.75rem;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.82rem;
    transition: background 0.15s, color 0.15s;
    gap: 0.5rem;
}
.cfo-sitemap-sublink:hover { background: var(--bg-warm); color: var(--gold); }
.cfo-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    display: inline-block;
}
.cfo-sitemap-sublink:hover .cfo-dot { background: var(--gold); }

/* ─── DIVIDER ─── */
.cfo-sitemap-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 1.5rem;
}

/* ─── FULL-WIDTH MEDIA TWO-COL ─── */
.cfo-sitemap-two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
}
.cfo-sub-col { border-right: 1px solid var(--border); }
.cfo-sub-col:last-child { border-right: none; }
.cfo-sub-col-header {
    font-size: 0.62rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    padding: 0.75rem 1.5rem 0.25rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .cfo-sitemap-header { padding: 2.5rem 1.5rem; }
    .cfo-sitemap-content { padding: 2rem 1.5rem; }
    .cfo-sitemap-grid { grid-template-columns: 1fr; }
    .cfo-sitemap-two-col { grid-template-columns: 1fr; }
    .cfo-sub-col { border-right: none; border-bottom: 1px solid var(--border); }
    .cfo-sub-col:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   VIDEOS PAGE  —  page-videos-new.php  (cfov-* prefix)
   ═══════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ─── */
.cfov-breadcrumb {
    padding: 1rem 4rem;
    font-size: 0.82rem;
    color: #777;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: #0a0a0a;
}
@media (max-width: 1024px) {
    .cfov-breadcrumb {
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .cfov-breadcrumb {
        padding: 1rem 1.5rem;
    }
}
.cfov-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.cfov-breadcrumb a {
    color: #777;
    text-decoration: none;
}
.cfov-breadcrumb a:hover { color: var(--gold); }
.cfov-breadcrumb span {
    margin: 0 0.4rem;
    opacity: 0.2;
}

/* ─── PREMIUM VIDEO HERO (Image-Type UI) ─── */
.cfov-hero-premium {
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
}
.cfov-hero-banner {
    position: relative;
    padding: 2.5rem 0 0;
    min-height: 480px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cfov-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: 1;
}

.cfov-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.cfov-hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* Left: Person */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-person-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex: 0 0 340px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    align-self: flex-end;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    margin-bottom: -1px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-person-img {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    max-width: 140%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    height: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.8));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    transform: translateX(-15%);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: block;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* Center: Text */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-text-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    text-align: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #fff;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding-bottom: 3rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-text-col h1 {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-family: 'Playfair Display', serif !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 4.2rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-weight: 800 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    margin-bottom: 1.25rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    line-height: 1 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #fff !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    letter-spacing: -1px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-text-col h1 em {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: var(--gold);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-style: italic;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-desc {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 1.2rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: rgba(255, 255, 255, 0.7) !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    max-width: 600px !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    margin: 0 auto 2.5rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    line-height: 1.6 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-weight: 300 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-brand-line {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 0.85rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    letter-spacing: 5px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    text-transform: uppercase;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: var(--gold);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-weight: 700;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    opacity: 0.8;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* Right: Stats */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-stats-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex: 0 0 200px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    gap: 1.25rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-stat-badge {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    background: rgba(255, 255, 255, 0.03);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border: 1px solid rgba(255, 255, 255, 0.1);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    backdrop-filter: blur(8px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding: 1.25rem 1rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 4px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    text-align: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    transition: all 0.3s ease;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-stat-badge:hover {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    transform: translateX(-5px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    background: rgba(184, 148, 63, 0.08);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-color: var(--gold);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-stat-num {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem !important;
        font-weight: 800;
        color: var(--gold) !important;
        line-height: 1;
        margin-bottom: 0.25rem;
    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-stat-label {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: block;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 0.65rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    text-transform: uppercase;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    letter-spacing: 1.5px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #fff !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    opacity: 0.5;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* Controls spacing adjustment */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .cfov-hero-premium .cfov-controls-bar {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-top: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding: 1.5rem 0 2rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* Responsive Overrides for Video Hero */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @media (max-width: 1200px) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-text-col h1 {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        font-size: 3.5rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-person-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-basis: 280px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @media (max-width: 1024px) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-banner {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        min-height: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        padding-bottom: 2rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-flex {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        gap: 2.5rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-person-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        display: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-stats-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-direction: row;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-basis: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        justify-content: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        gap: 1rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-stat-badge {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        max-width: 160px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        padding: 1rem 0.5rem;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-text-col {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        padding-bottom: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @media (max-width: 768px) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-text-col h1 {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        font-size: 2.8rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .cfov-hero-desc {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        font-size: 1.1rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        margin-bottom: 1.5rem !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

/* ─── CONTROLS BAR ─── */
.cfov-controls-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
        /* Prevent overlap on medium screens */
}
.cfov-playlist-tabs { display: flex; gap: 0.25rem; }
.cfov-tab {
    font-size: 0.78rem; font-weight: 500;
    color: #6a6a7a; padding: 0.55rem 1rem;
    cursor: pointer; border: none;
    background: transparent;
    font-family: 'Libre Franklin', sans-serif;
    transition: color 0.15s;
    position: relative; white-space: nowrap;
}
.cfov-tab:hover { color: #b0b0c0; }
.cfov-tab.active { color: var(--gold); font-weight: 600; }
.cfov-tab.active::after {
    content: ''; position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px; background: var(--gold);
}
.cfov-tab-count { font-size: 0.62rem; font-family: 'IBM Plex Mono', monospace; color: #4a4a5a; margin-left: 0.25rem; }
.cfov-tab.active .cfov-tab-count { color: rgba(184,148,63,0.6); }
.cfov-search-box {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0 0.85rem;
        min-width: 280px;
        /* Increased to prevent truncation */
        transition: all 0.2s;
}
.cfov-search-box svg {
    width: 16px;
    height: 16px;
    stroke: #8a8a9a;
    flex-shrink: 0;
}
.cfov-search-box input {
    background: transparent !important;
        border: none !important;
        color: #f0eeea !important;
        font-size: 0.82rem;
    font-family: 'Libre Franklin', sans-serif;
    padding: 0.55rem 0.6rem; outline: none; width: 100%;
}
.cfov-search-box input::placeholder {
    color: #6a6a7a;
}

.cfov-search-box:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

/* ─── INFO CARD ─── */
/* ─── INFO CARD (Consolidated & Refined) ─── */
.cfov-info-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3rem 4rem 1rem;
}
.cfov-info-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        padding: 2rem 2.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
}
.cfov-info-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.cfov-info-icon {
    width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fdfaf3;
        border: 1px solid rgba(184, 148, 63, 0.2);
        flex-shrink: 0;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
.cfov-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.cfov-info-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.cfov-info-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.cfov-info-right {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.cfov-pi-stat {
    text-align: center;
}

.cfov-pi-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cfov-pi-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 700;
}
.cfov-yt-btn {
    display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        background: linear-gradient(135deg, #ff0000, #ff4d4d);
        color: #fff;
        padding: 0.85rem 1.75rem;
        font-size: 0.85rem;
        font-weight: 800;
        text-decoration: none;
        border-radius: 8px;
        font-family: 'Libre Franklin', sans-serif;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 16px rgba(255, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
}

.cfov-yt-btn:hover {
    background: linear-gradient(135deg, #e60000, #ff3333);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.3);
}

.cfov-yt-btn svg {
    width: 20px;
    height: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ─── VIDEO GRID (Consolidated & Refined) ─── */
.cfov-videos-section {
    /* padding: 3rem 4rem 5rem; */
    max-width: 1240px;
    margin: 0 auto;
}

.cfov-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.cfov-video-card {
    background: var(--white);
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.05);
}
.cfov-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(184, 148, 63, 0.2);
}

.cfov-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.cfov-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cfov-video-card:hover .cfov-thumb img {
    transform: scale(1.05);
}
.cfov-play-overlay {
    position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.1);
        transition: background 0.3s ease;
}
.cfov-video-card:hover .cfov-play-overlay {
    background: rgba(0, 0, 0, 0.3);
}
.cfov-play-btn {
    width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold), #d4af37);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        opacity: 0.9;
}

.cfov-play-btn::after {
    content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--dark);
    margin-left: 4px;
}
.cfov-video-card:hover .cfov-play-btn {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.cfov-duration {
    position: absolute;
        bottom: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
        color: #fff;
        font-size: 0.65rem;
        font-family: 'IBM Plex Mono', monospace;
        font-weight: 600;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
    }
    
    .cfov-series-badge,
    .cfov-short-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-weight: 700;
        padding: 0.3rem 0.75rem;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.95);
        color: var(--dark);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .cfov-short-badge {
        background: var(--gold);
        color: var(--dark);
}
.cfov-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cfov-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
        font-weight: 800;
        color: var(--bg-section);
        line-height: 1.4;
        margin-bottom: 0.75rem;
        transition: color 0.3s ease;
    }
    
    .cfov-video-card:hover .cfov-card-body h3 {
        color: var(--gold);
}
.cfov-card-body p {
    font-size: 0.88rem;
        color: var(--muted);
        line-height: 1.6;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1.25rem;
}

.cfov-card-meta {
    display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .cfov-watch {
        color: var(--gold);
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: gap 0.3s ease;
    }
    
    .cfov-video-card:hover .cfov-watch {
        gap: 0.75rem;
    }
    
    .cfov-empty {
        text-align: center;
        padding: 5rem 2rem;
    }
    
    .cfov-empty h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        color: var(--ink);
        margin-bottom: 0.5rem;
    }
    
    .cfov-empty p {
        font-size: 1rem;
        color: var(--muted);
}

/* ─── SERIES BLOCKS ─── */
.cfov-series-block { margin-bottom: 3rem; }
.cfov-series-header {
    display: flex; gap: 1.5rem; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px 8px 0 0; padding: 1.5rem 2rem;
}
.cfov-series-cover { width: 100px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.cfov-series-meta h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.cfov-series-meta p { font-size: 0.82rem; color: var(--muted); margin: 0.25rem 0; }
.cfov-series-meta span { font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.cfov-series-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border);
    border: 1px solid var(--border); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden;
}
.cfov-ep-card { background: var(--white); text-decoration: none; color: inherit; transition: background 0.15s; }
.cfov-ep-card:hover { background: var(--bg-warm); }
.cfov-ep-thumb { aspect-ratio: 16/9; }
.cfov-ep-meta { padding: 0.65rem 0.85rem; }
.cfov-ep-meta h4 { font-size: 0.78rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .cfov-hero {
        padding: 2.5rem 1.5rem 0;
    }

    .cfov-hero h1 {
        font-size: 2.2rem;
    }

    .cfov-hero-top {
        flex-direction: column;
        gap: 1.25rem;
    }

    .cfov-controls-bar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .cfov-search-box {
        min-width: 100%;
    }

    .cfov-playlist-tabs {
        flex-wrap: wrap;
    }

    .cfov-info-wrap {
        padding: 2rem 1.5rem 0;
    }

    .cfov-info-card {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cfov-videos-section {
        padding: 1.5rem;
    }

    .cfov-videos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cfov-series-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cfov-hero h1 {
        font-size: 1.85rem;
    }

    .cfov-videos-grid {
        grid-template-columns: 1fr;
    }
}

.cfov-hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.cfov-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #f0eeea;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.cfov-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.cfov-hero-desc {
    font-size: 1rem;
    color: rgba(200, 210, 230, 0.55);
    max-width: 480px;
    font-weight: 300;
}

.cfov-hero-stats {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    padding-bottom: 0.5rem;
}

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

.cfov-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0eeea;
    display: block;
}

.cfov-stat-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #5a5a6a;
    font-weight: 600;
}

/* ─── CONTROLS BAR ─── */
.cfov-controls-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cfov-playlist-tabs {
    display: flex;
    gap: 0.25rem;
}

.cfov-tab {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6a6a7a;
    padding: 0.55rem 1rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: 'Libre Franklin', sans-serif;
    transition: color 0.15s;
    position: relative;
    white-space: nowrap;
}

.cfov-tab:hover {
    color: #b0b0c0;
}

.cfov-tab.active {
    color: var(--gold);
    font-weight: 600;
}

.cfov-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.cfov-tab-count {
    font-size: 0.62rem;
    font-family: 'IBM Plex Mono', monospace;
    color: #4a4a5a;
    margin-left: 0.25rem;
}

.cfov-tab.active .cfov-tab-count {
    color: rgba(184, 148, 63, 0.6);
}

.cfov-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0 0.85rem;
    min-width: 240px;
}

.cfov-search-box svg {
    width: 16px;
    height: 16px;
    stroke: #5a5a6a;
    flex-shrink: 0;
}

.cfov-search-box input {
    background: transparent;
    border: none;
    color: #f0eeea;
    font-size: 0.82rem;
    font-family: 'Libre Franklin', sans-serif;
    padding: 0.55rem 0.6rem;
    outline: none;
    width: 100%;
}

.cfov-search-box input::placeholder {
    color: #4a4a5a;
}

.cfov-search-box:focus-within {
    border-color: var(--gold);
}


/* ─── SERIES BLOCKS ─── */

/* ─── SERIES BLOCKS ─── */
.cfov-series-block {
    margin-bottom: 3rem;
}

.cfov-series-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
    padding: 1.5rem 2rem;
}

.cfov-series-cover {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cfov-series-meta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
}

.cfov-series-meta p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0.25rem 0;
}

.cfov-series-meta span {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
}

.cfov-series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.cfov-ep-card {
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.cfov-ep-card:hover {
    background: var(--bg-warm);
}

.cfov-ep-thumb {
    aspect-ratio: 16/9;
}

.cfov-ep-meta {
    padding: 0.65rem 0.85rem;
}

.cfov-ep-meta h4 {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}
/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .cfov-hero { padding: 2.5rem 1.5rem 0; }
    .cfov-hero h1 { font-size: 2.2rem; }
    .cfov-hero-top { flex-direction: column; gap: 1.25rem; }
        .cfov-controls-bar {
            flex-direction: column;
            gap: 1rem;
            align-items: stretch;
        }
    
        .cfov-search-box {
            min-width: 100%;
            order: -1;
        }
    
        /* Search above tabs on mobile/tablet */
    .cfov-playlist-tabs { flex-wrap: wrap; }
    .cfov-info-wrap { padding: 2rem 1.5rem 0; }
    .cfov-info-card { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .cfov-videos-section { padding: 1.5rem; }
    .cfov-videos-grid { grid-template-columns: 1fr 1fr; }
    .cfov-series-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .cfov-hero h1 { font-size: 1.85rem; }
    .cfov-videos-grid { grid-template-columns: 1fr; }
    .cfov-series-grid { grid-template-columns: 1fr; }
    .cfov-hero-stats { flex-wrap: wrap; gap: 1rem; }
    .cfov-series-header { flex-direction: column; }
}

/* ─── MODELS PLAN PAGE (cfom-) ─── */
.cfom-hero {
    background: #0d0d0d;
    padding: 3.5rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cfom-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0eeea;
    margin-bottom: 0.5rem;
}

.cfom-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.cfom-hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cfom-hero-desc {
    color: #999;
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.cfom-summary-bar {
    background: #1a1a1a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 4rem;
    display: flex !important;
    justify-content: center !important;
    gap: 3rem;
    text-align: center;
}

.cfom-summary-stat {
    text-align: center;
}

.cfom-summary-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.cfom-summary-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    font-weight: 600;
}

.cfom-content-wrap {
    padding: 4rem 4rem;
    background: #0a0a0a;
}

.cfom-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cfom-book-section {
    margin-bottom: 4rem;
}

.cfom-book-section:last-child {
    margin-bottom: 0;
}

.cfom-book-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--gold);
}

.cfom-book-badge {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 3px;
    color: var(--white);
    white-space: nowrap;
}

.cfom-bg-forest {
    background: var(--forest);
}

.cfom-bg-crimson {
    background: var(--crimson);
}

.cfom-bg-navy {
    background: var(--navy);
}

.cfom-bg-gold {
    background: var(--gold);
    color: var(--dark) !important;
}

.cfom-bg-muted {
    background: #555;
}

.cfom-book-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.cfom-table-responsive {
    overflow-x: auto;
}

.cfom-model-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.cfom-model-table th {
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6a6a7a;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: #1a1a1a;
}

.cfom-model-table td {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    background: #141414;
}

.cfom-model-table tr:hover td {
    background: #1c1c1c;
}

.cfom-model-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.cfom-model-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.cfom-model-desc {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

.cfom-model-format {
    font-size: 0.75rem;
    color: var(--muted);
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
}

.cfom-model-format a {
    color: var(--muted);
    text-decoration: none;
}

.cfom-model-format a:hover {
    color: var(--gold);
    text-decoration: underline;
}
.cfom-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    white-space: nowrap;
}

.cfom-tag-free {
    background: rgba(92, 219, 125, 0.1);
        color: #5cdb7d;
}

.cfom-tag-gated {
    background: rgba(184, 148, 63, 0.12);
    color: var(--gold);
}

.cfom-tag-premium {
    background: rgba(255, 142, 152, 0.1);
        color: #ff8e98;
}

.cfom-complexity-dots {
    display: inline-flex;
    gap: 4px;
}

.cfom-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cfom-dot.filled {
    background: var(--gold);
}

.cfom-strategy-wrap {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cfom-strategy-note {
    background: #141414;
        border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--gold);
    padding: 2rem;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cfom-strategy-note h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.cfom-strategy-note p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.7;
}

.cfom-strategy-note strong {
    color: #e0e0e0;
    font-weight: 700;
}

@media (max-width: 900px) {
    .cfom-hero {
        padding: 3rem 1.5rem;
    }

    .cfom-hero h1 {
        font-size: 2rem;
    }

    .cfom-summary-bar {
        padding: 1.5rem;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .cfom-content-wrap {
        padding: 2rem 1rem;
    }

    .cfom-strategy-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cfom-book-header h2 {
        font-size: 1.4rem;
    }
}
.cs-header__nav:not(:first-child) {
    margin-left: unset !important;
}
/* ─── MOBILE NAV ─── */

/* Hamburger toggle — hidden on desktop */
.cfo-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    padding: 4px;
    z-index: 1100;
    flex-shrink: 0;
}

.cfo-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X when menu is open */
.cfo-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cfo-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.cfo-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay behind mobile menu */
.cfo-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cfo-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Close button — hidden on desktop, shown only in mobile panel */
.cfo-mobile-close {
    display: none;
}
@media (max-width: 900px) {

    /* Reduce nav padding on mobile */
    .cfo-premium-page nav,
    #cfo-premium-body nav {
        padding: 0 1.25rem !important;
        height: 64px !important;
    }

    /* Show hamburger */
    .cfo-mobile-toggle {
        display: flex;
    }

                /* Close button inside slide panel */
                .cfo-mobile-close {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: absolute;
                    top: 1rem;
                    right: 1rem;
                    width: 36px;
                    height: 36px;
                    background: none;
                    border: 1px solid var(--border);
                    border-radius: 50%;
                    color: var(--ink);
                    font-size: 1.4rem;
                    line-height: 1;
                    cursor: pointer;
                    z-index: 1200;
                    transition: background 0.2s, color 0.2s;
                }
        
                .cfo-mobile-close:hover {
                    background: var(--gold);
                    color: #fff;
                    border-color: var(--gold);
                }
    /* Slide-in menu panel */
    .cfo-nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: min(320px, 85vw) !important;
        height: 100dvh !important;
        background: var(--white) !important;
        z-index: 1100 !important;
        padding: 5rem 1.5rem 2rem !important;
        gap: 0 !important;
        overflow-y: auto !important;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12) !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        height: 100% !important;
    }

    .cfo-nav-links.active {
        right: 0 !important;
    }

    /* Nav items fill width */
    .cfo-nav-links>li {
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid var(--border) !important;
        align-items: unset !important;
    }

    .cfo-nav-links>li>a {
        display: block !important;
        padding: 0.85rem 0 !important;
        font-size: 0.95rem !important;
        height: auto !important;
        white-space: normal !important;
        align-items: unset !important;
    }

    /* Submenus become static accordion */
    .cfo-nav-links .sub-menu,
    .cfo-nav-links .cfo-dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--gold) !important;
        margin: 0 0 0 0.5rem !important;
        padding: 0.25rem 0 !important;
        min-width: unset !important;
        width: calc(100% - 0.5rem) !important;
    }

    /* Mega menu — show ONLY category labels on mobile */
    .cfo-nav-links>li.cs-mega-menu>.sub-menu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        min-width: unset !important;
        padding: 0 !important;
        margin: 0 !important;
        border-left: none !important;
        border-top: none !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cs-mm__content {
        flex-direction: column !important;
        min-height: unset !important;
    }

    /* Hide heavy visual elements — keep only text links */
    .cs-mm__term-header,
    .cs-mm__header,
    .mega-menu-item .cs-entry__thumbnail,
    .mega-menu-item .cs-entry__excerpt,
    .mega-menu-item .cs-entry__post-meta {
        display: none !important;
    }

    /* Show posts container as a flat list */
    .cs-mm__posts-container {
        display: block !important;
        width: 100% !important;
    }

    .cs-mm__posts {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        grid-template-columns: unset !important;
        width: 100% !important;
    }

    .cs-mm__posts.cs-active-item {
        display: flex !important;
    }

    /* Latest Articles items — same style as category labels */
    .mega-menu-item {
        width: 100% !important;
        animation: none !important;
    }

    .mega-menu-item .cs-entry__outer,
    .mega-menu-item .cs-entry__inner {
        display: block !important;
        height: auto !important;
    }

    .mega-menu-item .cs-entry__title {
        font-family: 'Libre Franklin', sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }

    .mega-menu-item .cs-entry__title a {
        display: block !important;
        width: 100% !important;
        padding: 0.65rem 0.5rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid var(--border) !important;
        color: var(--ink-light) !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }

    .mega-menu-item .cs-entry__title a:hover {
        color: var(--gold) !important;
    }

    /* Category labels — full-width, properly readable */
    .cs-mm__categories {
        width: 100% !important;
        border-right: none !important;
        border-bottom: none !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }

    .cs-mm__categories li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .cs-mm__categories li a {
        display: block !important;
        width: 100% !important;
        padding: 0.65rem 0.5rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid var(--border) !important;
    }


    /* Hide Latest Articles posts container (with spinner) on mobile */
    .cs-mm__posts-container.cs-has-spinner,
    .cs-mm__posts-container {
        display: none !important;
    }

    /* Terms mega menu categories — full width on mobile */
    .cs-mega-menu.cs-mega-menu-terms .cs-mm__content .cs-mm__categories {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Lock body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }

    /* Hide top bar on mobile */
    .cfo-top-bar {
        display: none;
    }
/* ─── FOOTER MOBILE ─── */
.cfo-footer {
    padding: 3rem 1.25rem 1.5rem !important;
}

.cfo-footer .cfo-container {
    padding: 0 !important;
}

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

/* Brand col spans full width on mobile */
.cfo-footer-col:first-child {
    grid-column: 1 / -1 !important;
}

.cfo-footer-bottom {
    flex-direction: column !important;
    gap: 0.5rem !important;
    text-align: center !important;
    font-size: 0.75rem !important;
    padding-top: 1.5rem !important;
}
}

/* ─── FOOTER BASE STYLES (desktop) ─── */
.cfo-footer {
    background: #050505;
    border-top: 1px solid rgba(207, 170, 67, 0.1);
    padding: 5rem 2rem 2rem;
}

.cfo-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.cfo-footer-col h4 {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin: 0 0 1.25rem;
}

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

.cfo-footer-col ul li a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.cfo-footer-col ul li a:hover {
    color: var(--gold);
}

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

@media (max-width: 600px) {
    .cfo-footer-inner {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
}
/* ──────────────────────────────────────────────────────────────────────────
   ═══ 14. BLOG PAGE (CFOB) ═══
   ────────────────────────────────────────────────────────────────────────── */

.cfob-page {
    background: #0a0a0a;
        color: #e0e0e0;
}

.cfob-breadcrumb {
    padding: 1.5rem 4rem;
    font-size: 0.72rem;
    color: #999;
        background: rgba(255, 255, 255, 0.02);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cfob-breadcrumb-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.cfob-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.cfob-breadcrumb a:hover {
    color: var(--gold);
}

.cfob-breadcrumb .sep {
    margin: 0 0.6rem;
    opacity: 0.5;
}

/* ═══ HERO ═══ */
.cfob-hero {
    background: #0d0d0d;
    padding: 5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.cfob-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(184,148,63,0.03), transparent 40%);
    pointer-events: none;
}

.cfob-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.cfob-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.cfob-hero-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cfob-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -1px;
}

.cfob-hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.cfob-hero-desc {
    font-size: 1.15rem;
    color: #999;
    max-width: 580px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Stats in hero */
.cfob-hero-stats {
    display: flex;
    gap: 3rem;
}

.cfob-hero-stat {
    display: flex;
    flex-direction: column;
}

.cfob-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.cfob-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6a6a7a;
    font-weight: 600;
    margin-top: 0.4rem;
}

/* ═══ CONTROLS BAR ═══ */
.cfob-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: #141414;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cfob-category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.cfob-category-tabs::-webkit-scrollbar { display: none; }

.cfob-tab {
    background: transparent;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s;
}

.cfob-tab:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.cfob-tab.active {
    background: var(--gold);
    color: var(--white);
}

.cfob-tab .cfob-tab-count {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 0.4rem;
    font-weight: 400;
}

/* Search Box */
.cfob-search-box {
    position: relative;
    width: 320px;
}

.cfob-search-box svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--muted);
    pointer-events: none;
}

.cfob-search-box input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.8rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
        color: #fff;
    transition: all 0.3s;
}

.cfob-search-box input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 0 4px rgba(184, 148, 63, 0.1);
}

/* ═══ BLOG GRID ═══ */
.cfob-section {
    padding: 4rem 1.5rem 8rem;
    max-width: 1240px;
    margin: 0 auto;
}

.cfob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3rem 2rem;
}

/* ═══ BLOG CARD ═══ */
.cfob-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #141414;
        border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.cfob-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--gold);
}

.cfob-card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.cfob-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cfob-card:hover .cfob-card-thumb img {
    transform: scale(1.08);
}

.cfob-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 2;
}

.cfob-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cfob-card-meta {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cfob-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 1.25rem;
    transition: color 0.2s;
}

.cfob-card:hover h3 {
    color: var(--gold);
}

.cfob-card p {
    font-size: 0.92rem;
    color: #999;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.cfob-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.cfob-card:hover .cfob-read-more {
    gap: 0.8rem;
}

/* Empty State */
.cfob-empty {
    text-align: center;
    padding: 6rem 2rem;
    grid-column: 1 / -1;
}

.cfob-empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 991px) {
    .cfob-breadcrumb,
    .cfob-hero-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cfob-hero-top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }

    .cfob-controls-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
    }

    .cfob-search-box {
        width: 100%;
    }

    .cfob-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .cfob-hero {
        padding: 4rem 1rem;
    }

    .cfob-hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .cfob-stat-num {
        font-size: 1.5rem;
    }

    .cfob-card-body {
        padding: 1.5rem;
    }

    .cfob-card h3 {
        font-size: 1.25rem;
    }
}


/* CFOB Tab Colors */
.cfob-tab-start-here-the-systems-cfo-model {
    background: rgba(0, 86, 179, 0.1) !important;
    color: #70b0ff !important;
}

.cfob-tab-for-pe-and-vc-backed-cfos {
    background: rgba(133, 100, 4, 0.1) !important;
    color: #fcc45c !important;
}

.cfob-tab-for-founders-scaling-from-10m-to-100m {
    background: rgba(21, 87, 36, 0.1) !important;
    color: #5cdb7d !important;
}

.cfob-tab-for-boards-and-audit-committees {
    background: rgba(114, 28, 36, 0.1) !important;
    color: #ff8e98 !important;
}

.cfob-tab.active {
    background: var(--gold) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(184,148,63,0.3);
}


/* Fix for controls bar overlap */
.cfob-controls-bar {
    gap: 1.25rem !important;
    padding: 0.75rem 1.25rem !important;
}

.cfob-category-tabs {
    flex: 1 !important;
    min-width: 0 !important;
}

.cfob-search-box {
    width: 280px !important;
    flex-shrink: 0 !important;
}


/* Robust Fix for controls bar overlap */
.cfob-controls-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 0.75rem 1.5rem !important;
    overflow: hidden !important;
}

.cfob-category-tabs {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    gap: 0.5rem !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 1.5rem !important;
    /* Some breathing room */
}

.cfob-category-tabs::-webkit-scrollbar {
    display: none !important;
}

.cfob-search-box {
    width: 250px !important;
    /* Slightly narrower */
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.cfob-search-box input {
    padding-right: 1rem !important;
}

@media (max-width: 991px) {
    .cfob-controls-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .cfob-search-box {
        width: 100% !important;
}
}
/* --- SERVICES MEGA MENU STYLES --- */
.mega {
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #050505;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    border: 1px solid rgba(201, 168, 76, .2);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 14px 14px;
    padding: 22px 26px 18px;
    min-width: 400px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 168, 76, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.menu-item-has-children.cfo-custom-mega:hover .mega,
.menu-item-has-children.cfo-custom-mega.active .mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
    display: block !important;
}

.mega-w {
    min-width: 680px;
    z-index: 99;
}

.mega-xw {
    min-width: 760px;
    z-index: 99;
}

.mega-n {
    min-width: 360px;
    z-index: 99;
}

.mhdr {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 168, 76, .14);
}

.mgrid {
    display: grid;
    gap: 6px;
}

.m1 {
    grid-template-columns: 1fr;
}

.m2 {
    grid-template-columns: 1fr 1fr;
}

.m3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.mslbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7a7a88;
    padding: 6px 10px 2px;
    grid-column: 1/-1;
}

.mi {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.22s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.mi:hover {
    background: rgba(201, 168, 76, .07);
}

.mi-ico {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.mi-ttl {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mi-dsc {
    font-size: 11.5px;
    color: #7a7a88;
    line-height: 1.5;
}

.mbdg {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    background: rgba(201, 168, 76, .15);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, .25);
}

.mbdg-f {
    background: rgba(76, 175, 134, .12);
    color: #4CAF86;
    border-color: rgba(76, 175, 134, .3);
}

.mbdg-n {
    background: rgba(42, 143, 170, .15);
    color: #3BB0CF;
    border-color: rgba(42, 143, 170, .3);
}

.mfoot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(201, 168, 76, .14);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mft {
    font-size: 11px;
    color: #7a7a88;
}

.mfl {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    text-decoration: none;
}

.cfo-custom-mega>a {
    color: var(--gold) !important;
    font-weight: 600 !important;
}

.cfo-custom-mega .mega {
    border-top: 2px solid var(--gold) !important;
}
/* ── CORE NAV V3 ── */
.cfo-v3-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;

    background: #050505;
    background-image: 
        radial-gradient(circle at 20% 0%, rgba(207, 170, 67, 0.08) 0%, transparent 40%),
        linear-gradient(to bottom, #111 0%, #050505 100%);
    border-bottom: 1px solid rgba(207, 170, 67, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Gold & Black Theme */
.cfo-v3-nav.theme-gold-black {
    background: #050505 !important;
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(207, 170, 67, 0.12) 0%, transparent 60%),
        linear-gradient(to bottom, #111 0%, #050505 100%) !important;
    border-bottom: 1px solid rgba(207, 170, 67, 0.3) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.cfo-v3-nav.theme-gold-black .nav-btn {
    color: #E8E4DB !important;
}
.cfo-v3-nav.theme-gold-black .nav-logo {
    color: #F8F6F1 !important;
}

/* White Theme */
.cfo-v3-nav.theme-white {
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid #eeeeee !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05) !important;
}
.cfo-v3-nav.theme-white .nav-btn {
    color: #1a1a1a !important;
}
.cfo-v3-nav.theme-white .nav-logo {
    color: #1a1a1a !important;
}
.cfo-v3-nav.theme-white .cfo-mobile-toggle span {
    background: #1a1a1a !important;
}

.cfo-v3-nav .nav-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 64px;
    padding: 0 32px;
}

.cfo-v3-nav .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 19.5px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none !important;
}

.cfo-v3-nav .nav-logo span {
    color: var(--gold);
}

.cfo-v3-nav .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.cfo-v3-nav .nav-item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cfo-v3-nav .nav-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    height: 64px;
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff !important;
    background: none;
    border: none;
    font-family: 'Libre Franklin', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.22s ease;
    text-decoration: none !important;
}

.cfo-v3-nav .nav-btn:hover,
.cfo-v3-nav .nav-item:hover .nav-btn,
.cfo-v3-nav .nav-item.active .nav-btn {
    color: var(--gold) !important;
}

.cfo-v3-nav .nav-btn.gold {
    color: var(--gold);
    font-weight: 600;
}

.cfo-v3-nav .chv {
    font-size: 8px;
    opacity: .5;
    transition: transform 0.22s ease;
}

.cfo-v3-nav .nav-item:hover .chv,
.cfo-v3-nav .nav-item.active .chv {
    transform: rotate(180deg);
}

.cfo-v3-nav .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cfo-v3-nav .nav-btn-link {
    color: #E8E4DB;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.22s ease;
}

.cfo-v3-nav .nav-btn-link:hover {
    color: var(--gold);
}

.cfo-v3-nav .nav-cta {
    padding: 8px 18px;
    background: var(--gold);
    color: #0A1628;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.22s ease, transform 0.22s ease;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
}

.cfo-v3-nav .nav-cta:hover {
    background: #e3c066 !important;
    color: #000000 !important;
    transform: translateY(-1px);
    opacity: 1 !important;
}

.cfo-v3-nav .nav-item:hover .mega,
.cfo-v3-nav .nav-item.active .mega {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: all !important;
}

/* Align the first dropdown to the left so it doesn't overlap the logo */
.cfo-v3-nav .nav-links .nav-item:first-child .mega {
    left: 0;
    transform: translateY(10px);
}
.cfo-v3-nav .nav-links .nav-item:first-child:hover .mega {
    transform: translateY(0) !important;
}

/* ── RESPONSIVE V3 NAV ── */
@media (max-width: 991px) {
    .cfo-v3-nav .cfo-mobile-toggle {
        display: flex;
    }

    .cfo-v3-nav .cfo-mobile-toggle span {
        background: #E8E4DB;
    }

    .cfo-v3-nav .nav-right {
        display: none;
    }

    .cfo-v3-nav .nav-links {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 64px);
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        border-right: 1px solid rgba(201, 168, 76, 0.14);
    }

    body.menu-open .cfo-v3-nav .nav-links {
        left: 0;
    }

    .cfo-v3-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .cfo-v3-nav .nav-btn {
        width: 100%;
        height: 55px;
        justify-content: space-between;
        font-size: 15px;
        padding: 0 10px;
    }

    .cfo-v3-nav .mega {
        position: static;
        transform: none !important;
        width: 100%;
        min-width: 100% !important;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0.5rem 0 1rem;
        border: none !important;
        background: transparent;
    }

    .cfo-v3-nav .mgrid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
    }

    .cfo-v3-nav .mi {
        padding: 8px 10px;
    }

    /* Use active class set by JS for mobile expand/collapse */
    .cfo-v3-nav .nav-item:hover .mega,
    .cfo-v3-nav .nav-item:first-child:hover .mega {
        display: none; /* Disable sticky hover on mobile */
    }

    .cfo-v3-nav .nav-item.active .mega,
    .cfo-v3-nav .nav-item.active:first-child .mega {
        display: block;
        transform: none !important;
    }

    .cfo-v3-nav .nav-links {
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        padding-bottom: 100px; /* Extra padding to ensure bottom items are reachable */
    }
}

/* Prevent body scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    .cfo-v3-nav .cfo-mobile-toggle {
        display: none;
    }
}
/* --- SUB NAVIGATION --- */
.cfo-sub-nav {
    background: #080808;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 32px;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.sub-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sub-nav-inner::-webkit-scrollbar {
    display: none;
}

.sub-nav-inner a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 0;
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
}

.sub-nav-inner a:hover {
    color: #fff;
}

.sub-nav-inner a.active {
    color: var(--gold);
}

.sub-nav-inner a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--gold);
}

@media (max-width: 991px) {
    .sub-nav-inner {
        justify-content: flex-start;
        gap: 24px;
    }
    .cfo-sub-nav {
        padding: 0 20px;
        height: 36px;
    }
}

/* ═══ GLOBAL DARK MODE REFINEMENTS ═══ */
.cfo-premium-page,
.cfob-page,
.cfo-search-page,
.single-post #cfo-premium-body {
    background-color: #0a0a0a !important;
    color: #e0e0e0;
}
.cfo-search-page {
    background: #080808;
    color: #fff;
    min-height: 100vh;
    padding-bottom: 5rem;
}

.cfo-search-hero {
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(184, 148, 63, 0.08), transparent 40%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.search-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cfo-search-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cfo-search-hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.cfo-search-hero p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.cfo-search-filter-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cfo-search-filter-container {
    position: relative;
    max-width: 100%;
    display: inline-flex;
}

.search-tab-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 76, 0.5); /* Gold border to match theme */
    color: var(--gold);
    width: 36px;
    height: 36px;
    border-radius: 8px; /* Slightly square like the drawing */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.search-tab-scroll.left {
    left: -70px;
        /* Overlap nicely on the left edge */
}

.search-tab-scroll.right {
    right: -70px;
        /* Overlap nicely on the right edge */
}

.search-tab-scroll:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.cfo-search-filter-bar {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 45px; /* Increased side padding to 45px to prevent arrows from overlapping the text */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    max-width: 100%;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.cfo-search-filter-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn .count {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: var(--gold);
    color: #000;
}

.filter-btn.active .count {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
}

.cfo-search-results-section {
    padding: 5rem 0;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.search-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
}

.search-card .card-inner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.search-card:hover .card-inner {
    transform: translateY(-8px);
    border-color: rgba(184, 148, 63, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-thumb {
    position: relative;
    aspect-ratio: 16/10;
    background: #111;
    overflow: hidden;
    max-height: 200px;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.search-card:hover .card-thumb img {
    transform: scale(1.05);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #161f2e 0%, #080c13 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.85);
    border-bottom: 1px solid rgba(207, 170, 67, 0.2);
    padding: 35px 15px 10px; /* Push center content down so it never clashes with the badge */
}

/* Subtle architectural grid lines */
.thumb-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
}

/* Premium shine animation on card hover */
.thumb-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-25deg);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-card:hover .thumb-placeholder::after {
    left: 150%;
}

.thumb-placeholder .tp-logo {
    font-size: 1.8rem; /* Perfectly proportioned for narrow card grids */
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 20px rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    line-height: 1;
}

.thumb-placeholder .tp-logo span {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(207, 170, 67, 0.6);
}

.thumb-placeholder .tp-sub {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(207, 170, 67, 0.85);
    margin-top: 10px;
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 23, 0.6);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(207, 170, 67, 0.25);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px; /* Force bounds so it never overflows */
    width: fit-content;
    max-width: calc(100% - 24px);
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(207, 170, 67, 0.25);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 5;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-card:hover .play-overlay { opacity: 1; }

.play-overlay svg {
    width: 40px;
    height: 40px;
    color: #fff;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 700;
    transition: color 0.3s ease;
}

.search-card:hover h3 { color: var(--gold); }

.card-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* NO RESULTS STATE */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2.5rem;
}

.suggested-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.suggest-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.suggest-link:hover {
    color: var(--gold);
    border-color: #fff;
}

/* ═══ SINGLE POST DARK MODE ═══ */
.single-post #cfo-premium-body {
    background-color: #0a0a0a !important;
}

.cfo-single-post-area {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 6rem;
    padding-bottom: 8rem;
    background: #0a0a0a;
}

.cfo-post-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 2rem;
}

.single-post .cs-entry__header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.single-post .cs-entry__title,
.single-post .cs-entry__header h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff !important;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.single-post .cs-entry__post-meta,
.single-post .cs-entry__post-meta a {
    color: var(--gold) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Entry Content */
.single-post .cs-entry__content,
.single-post .entry-content {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.15rem;
    line-height: 1.8;
}

.single-post .cs-entry__content p,
.single-post .cs-entry__content li {
    margin-bottom: 1.5rem;
}

.single-post .cs-entry__content img,
.single-post .entry-content img,
.single-post .cs-entry__content .wp-block-image img {
    max-width: 100%;
    height: auto;
    margin: 3rem auto;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.single-post .cs-entry__content h2,
.single-post .cs-entry__content h3,
.single-post .cs-entry__content h4 {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.single-post .cs-entry__content a {
    color: var(--gold) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.single-post .cs-entry__content blockquote {
    border-left: 3px solid var(--gold);
    padding: 1rem 0 1rem 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.4rem;
}

/* Featured Image */
.single-post .cs-entry__featured,
.single-post .csco-post-media {
    max-width: 1000px;
    margin: 0 auto 5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.single-post .cs-entry__featured img,
.single-post .csco-post-media img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01); /* Subtle zoom fix */
}

/* Post Banner Intro Styles */
.single-post .ef-post-banner-text {
    text-align: center;
    margin: 3rem auto;
    max-width: 900px;
}

.single-post .ef-post-banner-text__meta {
    color: var(--gold) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 0.5rem !important;
}

.single-post .ef-post-banner-text__tagline {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    font-style: italic;
}

/* Prev/Next Navigation Dark Mode */
.single-post .cs-entry__prev-next {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6rem 0;
    padding: 0;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
}

.single-post .cs-entry__prev-next-item {
    flex: 1;
    min-width: 300px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    border: none !important;
}

.single-post .cs-entry__prev:not(:only-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.single-post .cs-entry__prev-next-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.single-post .cs-entry__prev-next-label {
    color: var(--gold) !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.single-post .cs-entry__prev-next-title,
.single-post .cs-entry__prev-next-title-wrapper span {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.single-post .cs-entry__prev-next-link {
    text-decoration: none !important;
}

.single-post .cs-entry__prev-next-link:hover .cs-entry__prev-next-title {
    color: var(--gold) !important;
}

.single-post .cs-entry__prev-next .csco-post-meta,
.single-post .cs-entry__prev-next .csco-post-meta span {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .single-post .cs-entry__prev:not(:only-child) {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

/* ==========================================================================
   INTELLIGENCE DIRECTORY STANDARDIZATION & MASTERCLASS PARITY
   Applies to all 9 Intelligence Directory Templates
   ========================================================================== */

/* 1. Global Wrapper Standardization */
.pe-firms-container,
.vc-firms-container,
.recruiters-directory-wrap,
.top40-global-wrap,
.top60-prof-wrap,
.top60-journals-wrap,
.top60-assoc-wrap,
.top180-firms-wrap,
.b-schools-directory-wrap {
    --navy: #0a0a0a !important; /* Standardize on premium dark background */
    --navy-mid: #111111 !important;
    --navy-card: #141414 !important;
    --navy-light: #1c1c1c !important;
    --gold: #C9A84C !important;
    --gold-light: #E8C96A !important;
    --gold-dim: rgba(201, 168, 76, 0.12) !important;
    --gold-b: rgba(201, 168, 76, 0.28) !important;
    --teal: #1A5F7A !important;
    --teal-l: #2A8FAA !important;
    --teal-light: #2A8FAA !important;
    --teal-dim: rgba(26, 95, 122, 0.15) !important;
    --teal-b: rgba(26, 95, 122, 0.3) !important;
    --white: #FFFFFF !important;
    --g400: #94A3B8 !important;
    --g500: #64748B !important;
    --g700: #2D3A4A !important;
    
    background-color: var(--navy) !important;
    color: var(--white) !important;
    font-family: 'DM Sans', sans-serif !important;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Gold Radial Gradients & Premium Grid Overlay */
.pe-firms-container::before,
.vc-firms-container::before,
.recruiters-directory-wrap::before,
.top40-global-wrap::before,
.top60-prof-wrap::before,
.top60-journals-wrap::before,
.top60-assoc-wrap::before,
.top180-firms-wrap::before,
.b-schools-directory-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 15%, rgba(201, 168, 76, 0.08) 0%, transparent 65%),
                linear-gradient(rgba(201, 168, 76, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(201, 168, 76, 0.02) 1px, transparent 1px) !important;
    background-size: 100% 100%, 64px 64px, 64px 64px !important;
    pointer-events: none;
    z-index: 0;
}

/* Hero Section Parity */
.pe-firms-container .hero,
.vc-firms-container .hero,
.recruiters-directory-wrap .hero,
.top40-global-wrap .hero,
.top60-prof-wrap .hero,
.top60-journals-wrap .hero,
.top60-assoc-wrap .hero,
.top180-firms-wrap .hero,
.b-schools-directory-wrap .hero {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding-bottom: 4rem;
}

/* Executive Card Grid Design */
.pe-firms-container .card,
.vc-firms-container .card,
.recruiters-directory-wrap .card,
.top40-global-wrap .s-card,
.top60-prof-wrap .p-card,
.top60-journals-wrap .j-card,
.top60-assoc-wrap .a-card,
.top180-firms-wrap .f-card,
.b-schools-directory-wrap .school-card {
    background: var(--navy-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Shimmer Hover Effect & Accent Border */
.pe-firms-container .card:hover,
.vc-firms-container .card:hover,
.recruiters-directory-wrap .card:hover,
.top40-global-wrap .s-card:hover,
.top60-prof-wrap .p-card:hover,
.top60-journals-wrap .j-card:hover,
.top60-assoc-wrap .a-card:hover,
.top180-firms-wrap .f-card:hover,
.b-schools-directory-wrap .school-card:hover {
    border-color: rgba(201, 168, 76, 0.4) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

/* Card Typography & Badges */
.pe-firms-container .card-name,
.vc-firms-container .card-name,
.recruiters-directory-wrap .card-name,
.top40-global-wrap .card-name,
.top60-prof-wrap .card-name,
.top60-journals-wrap .card-name,
.top60-assoc-wrap .card-name,
.top180-firms-wrap .card-name,
.b-schools-directory-wrap .school-name {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    letter-spacing: 0.01em;
}

/* Standardized Controls & Search Filtering */
.pe-firms-container .controls,
.vc-firms-container .controls,
.recruiters-directory-wrap .controls,
.top40-global-wrap .controls,
.top60-prof-wrap .controls-row,
.top60-journals-wrap .controls-row,
.top60-assoc-wrap .controls-row,
.top180-firms-wrap .controls-row,
.b-schools-directory-wrap .controls {
    background: rgba(17, 17, 17, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    backdrop-filter: blur(12px) !important;
    margin-bottom: 2.5rem !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pe-firms-container .search-box input,
.vc-firms-container .search-box input,
.recruiters-directory-wrap .search-box input,
.top40-global-wrap .search-box input,
.top60-prof-wrap .search-w input,
.top60-journals-wrap .search-w input,
.top60-assoc-wrap .search-w input,
.top180-firms-wrap .search-w input,
.b-schools-directory-wrap .search-box input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 0.6rem 1rem 0.6rem 2.5rem !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
}

.pe-firms-container .search-box input:focus,
.vc-firms-container .search-box input:focus,
.recruiters-directory-wrap .search-box input:focus,
.top40-global-wrap .search-box input:focus,
.top60-prof-wrap .search-w input:focus,
.top60-journals-wrap .search-w input:focus,
.top60-assoc-wrap .search-w input:focus,
.top180-firms-wrap .search-w input:focus,
.b-schools-directory-wrap .search-box input:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.2) !important;
    outline: none !important;
}

/* Modal Viewers Parity */
.pe-firms-container .modal-box,
.vc-firms-container .modal-box,
.recruiters-directory-wrap .modal-box,
.top40-global-wrap .modal-box,
.top60-prof-wrap .modal-box,
.top60-journals-wrap .modal-box,
.top60-assoc-wrap .modal-box,
.top180-firms-wrap .modal-box,
.b-schools-directory-wrap .modal {
    background: #111111 !important;
    border: 1px solid var(--gold-b) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(201, 168, 76, 0.1) !important;
}

/* Category Tabs & Sub-Navigation Alignment */
.pe-firms-container .tab-btn.active,
.vc-firms-container .tab-btn.active,
.recruiters-directory-wrap .tab-btn.active,
.top40-global-wrap .tab-btn.active,
.top60-prof-wrap .tab-btn.active,
.top60-journals-wrap .tab-btn.active,
.top60-assoc-wrap .tab-btn.active,
.top180-firms-wrap .tab-btn.active,
.b-schools-directory-wrap .filter-btn.active {
    color: var(--gold) !important;
    border-bottom-color: var(--gold) !important;
    border-color: var(--gold) !important;
    background: rgba(201, 168, 76, 0.12) !important;
}

