/* =========================================================================
   Shyphan Blog — shared stylesheet
   Auto-extracted from inline <style> blocks. Cached aggressively.
   ========================================================================= */

/* ==== Blog page hero — dark workspace photo + blackish overlay (matches About/Contact) ==== */
        .breadcrumb-area.blog-bread {
            background: #0B1220 !important;
            padding: 130px 0 90px !important;
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }
        .breadcrumb-area.blog-bread::before {
            content: '';
            position: absolute; inset: 0;
            background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
            opacity: 0.22;
            z-index: -2;
            filter: saturate(.85) blur(1px);
        }
        .breadcrumb-area.blog-bread::after {
            content: '';
            position: absolute; inset: 0;
            background:
                linear-gradient(115deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.74) 45%, rgba(11,18,32,.58) 100%),
                radial-gradient(1100px 540px at 85% -10%, rgba(30,64,175,.28) 0, transparent 60%),
                radial-gradient(800px 420px at -5% 110%, rgba(14,165,233,.18) 0, transparent 65%);
            z-index: -1;
            pointer-events: none;
        }
        /* Title and container sit above the overlay layers */
        .breadcrumb-area.blog-bread .text-block,
        .breadcrumb-area.blog-bread .container {
            position: relative;
            z-index: 1;
        }

        /* Navbar — keep white text over the dark blog hero, revert when sticky */
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links .dropdown-symbol { color: #fff !important; }
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .lang-btn { background: rgba(255,255,255,.1) !important; border: 1.5px solid rgba(255,255,255,.25) !important; color: #fff !important; }
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .lang-btn .lang-code,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .lang-btn i { color: #fff !important; }
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .lang-btn:hover { background: rgba(255,255,255,.18) !important; border-color: rgba(255,255,255,.4) !important; }
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .ph-c,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .toggle-button,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .dark-mode-toggle,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) .dark-mode-toggle i,
        body:has(.breadcrumb-area.blog-bread) .main-header:not(.sticky) i.fas { color: #fff !important; }

        .breadcrumb-area.blog-bread .bread-title h1,
        .breadcrumb-area.blog-bread .bread-title h2 {
            color: #fff !important;
            font-size: clamp(1.7rem, 3.4vw, 2.6rem);
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.02em;
            margin-bottom: 14px;
        }
        .breadcrumb-area.blog-bread .bread-title p {
            color: rgba(255,255,255,0.92);
            font-size: 1rem;
            max-width: 720px;
            margin: 0 auto;
        }
        .breadcrumb-area.blog-bread .bread-menu ul li,
        .breadcrumb-area.blog-bread .bread-menu ul li a { color: rgba(255,255,255,0.9) !important; }

        .blog-cat-chip {
            display: inline-block;
            background: rgba(255,255,255,0.15);
            color: #fff;
            padding: 4px 14px; border-radius: 999px;
            font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
            margin-bottom: 14px; text-transform: uppercase;
        }
        .blog-meta { color: rgba(255,255,255,0.85); font-size: 14px; margin-top: 10px; }
        .blog-meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
        .blog-meta .meta-sep { opacity: 0.55; padding: 0 2px; }

        .blog-meta span { margin: 0 10px; }

        /* ===== POST BODY ===== */
        .blog-section { padding: 60px 0 80px; background: #fff; }
        .blog-content {
            max-width: 800px; margin: 0 auto;
            color: #334155;
        }
        .blog-content .lead {
            font-size: 1.18rem;
            line-height: 1.75;
            color: #1e293b;
            margin-bottom: 30px;
        }
        .blog-content h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-top: 40px;
            margin-bottom: 16px;
            color: #1e293b;
            letter-spacing: -0.01em;
        }
        .blog-content p {
            font-size: 0.98rem;
            line-height: 1.78;
            color: #475569;
            margin-bottom: 18px;
        }
        .blog-faq {
            margin-top: 50px;
            padding: 32px 36px;
            background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
            border-radius: 18px;
            border: 1px solid #e2e8f0;
        }
        .blog-faq h2 { margin-top: 0; }
        .blog-faq .faq-q {
            font-weight: 700; color: #1e293b;
            margin-top: 22px; margin-bottom: 6px;
            font-size: 1.04rem;
        }
        .blog-faq .faq-a {
            color: #475569;
            margin-bottom: 0;
            line-height: 1.7;
        }
        
        .zoho-partner-strip {
            display: flex; justify-content: center; align-items: center;
            margin-top: 36px; margin-bottom: -10px;
            padding: 18px 22px;
            background: #ffffff;
            border:  1px solid #e2e8f0;
            border-radius: 14px;
        }
        .zoho-partner-strip img {
            height: 50px; width: auto; object-fit: contain;
        }
.blog-cta {
            margin-top: 44px;
            padding: 36px 40px;
            background: linear-gradient(135deg, #4f4daf 0%, #667eea 50%, #764ba2 100%);
            border-radius: 18px;
            color: #fff;
            text-align: center;
            box-shadow: 0 10px 30px rgba(79,70,229,0.18);
        }
        .blog-cta h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
        .blog-cta p { color: rgba(255,255,255,0.92); margin-bottom: 22px; font-size: 1rem; }
        .blog-cta .btn-cta {
            display: inline-block;
            background: #fff; color: #4f46e5;
            padding: 14px 32px; border-radius: 999px;
            font-weight: 700; text-decoration: none;
            box-shadow: 0 4px 14px rgba(0,0,0,0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .blog-cta .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

        /* Back-to-blog link */
        .back-to-blog {
            display: inline-flex; align-items: center; gap: 6px;
            color: #4f46e5; text-decoration: none;
            font-weight: 600; font-size: 14px;
            margin-bottom: 12px;
        }
        .back-to-blog:hover { color: #312e81; }

        /* ===== BLOG INDEX GRID ===== */
        .blog-grid { padding: 70px 0 80px; background: #fafbfc; }
        .blog-cat-section { margin-bottom: 50px; }
        .blog-cat-heading {
            font-size: 1.6rem; font-weight: 700;
            margin-bottom: 24px;
            display: flex; align-items: center; gap: 12px;
            color: #1e293b;
        }
        .blog-cat-heading i { color: #4f46e5; font-size: 1.4rem; }

        /* keep top spacing right under fixed header */
        body.inner-page { padding-top: 0; }

/* ---- block separator ---- */

/* Smooth scroll transitions for navbar */
    .main-header {
        transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease !important;
    }

    .main-header .custom-nav .nav-list li a.menu-links {
        transition: color 0.3s ease !important;
    }

    .main-header .lang-btn {
        transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
    }

    .nav-bg-b .custom-nav .nav-list li a.menu-links,
    .top-header .navbar .custom-btn:focus,
    .top-header .navbar .custom-btn:hover {
        color: white !important;
    }

    .main-header.sticky {
        background: #fff !important;
        color: black !important;
        box-shadow: 0 4px 6px 0 rgba(12, 0, 46, 0.08) !important;
    }

    .main-header.sticky .custom-nav .nav-list li a.menu-links {
        color: black !important;
    }

    /* Language selector button on scroll */
    .main-header.sticky .lang-btn {
        background: rgba(0, 0, 0, 0.05) !important;
        border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
        color: #000 !important;
    }

    .main-header.sticky .lang-btn:hover {
        background: rgba(0, 0, 0, 0.1) !important;
        border: 1.5px solid rgba(0, 0, 0, 0.3) !important;
    }

/* ---- block separator ---- */

/* Language Selector Styles */
        .language-selector-wrapper {
            position: relative;
        }
        
        .lang-btn {
            background: rgba(255, 255, 255, 0.15) !important;
            border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
            border-radius: 6px !important;
            padding: 6px 10px !important;
            cursor: pointer !important;
            display: flex !important;
            align-items: center !important;
            gap: 6px !important;
            color: #fff !important;
            font-size: 13px !important;
            transition: all 0.3s ease !important;
            font-weight: 600 !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
            backdrop-filter: blur(5px) !important;
        }
        
        .lang-btn:hover {
            background: rgba(255, 255, 255, 0.25) !important;
            border-color: rgba(255, 255, 255, 0.4) !important;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
            transform: translateY(-1px) !important;
        }
        
        /* Make language selector visible on dark backgrounds */
        .dark-header .lang-btn,
        .dark-header-nav .lang-btn,
        header[class*="dark"] .lang-btn {
            background: rgba(255, 255, 255, 0.15) !important;
            border-color: rgba(255, 255, 255, 0.3) !important;
            color: #fff !important;
        }
        
        /* Make language selector visible on light backgrounds */
        .light-header .lang-btn,
        .light-header-nav .lang-btn,
        header:not([class*="dark"]) .lang-btn {
            background: rgba(0, 0, 0, 0.08) !important;
            border-color: rgba(0, 0, 0, 0.15) !important;
            color: #333 !important;
        }
        
        .light-header .lang-btn:hover,
        .light-header-nav .lang-btn:hover,
        header:not([class*="dark"]) .lang-btn:hover {
            background: rgba(0, 0, 0, 0.12) !important;
            border-color: rgba(0, 0, 0, 0.2) !important;
        }
        
        /* Ensure visibility with text shadow */
        .lang-btn .lang-code,
        .lang-btn .lang-flag {
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        }
        
        .light-header .lang-btn .lang-code,
        .light-header .lang-btn .lang-flag {
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
        }
        
        .lang-flag {
            font-size: 16px !important;
            line-height: 1 !important;
        }
        
        .lang-code {
            font-weight: 600 !important;
            letter-spacing: 0.5px !important;
        }
        
                .lang-dropdown {
            max-height: 400px;
            overflow-y: auto;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            pointer-events: none;
        }
        
        .lang-dropdown[style*="block"] {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        
        .lang-dropdown::-webkit-scrollbar {
            width: 6px;
        }
        
        .lang-dropdown::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        .lang-dropdown::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }
        
        .lang-dropdown::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        
        @media (max-width: 768px) {
            .language-selector-wrapper {
                margin-right: 10px;
            }
            
            .lang-btn {
                padding: 5px 8px !important;
                font-size: 12px !important;
            }
            
            .lang-flag {
                font-size: 14px !important;
            }
        }

/* ---- block separator ---- */

/* Initial state (over purple gradient hero) — force white text */
        body.inner-page .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links,
        body.inner-page .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links span {
            color: #fff !important;
        }
        body.inner-page .main-header:not(.sticky) .lang-btn {
            background: rgba(255, 255, 255, 0.15) !important;
            border-color: rgba(255, 255, 255, 0.35) !important;
            color: #fff !important;
        }
        body.inner-page .main-header:not(.sticky) .lang-btn .lang-flag,
        body.inner-page .main-header:not(.sticky) .lang-btn .lang-code,
        body.inner-page .main-header:not(.sticky) .lang-btn i {
            color: #fff !important;
        }
        /* Hamburger / mobile toggle bars white at top */
        body.inner-page .main-header:not(.sticky) .toggle span,
        body.inner-page .main-header:not(.sticky) .toggle span:before,
        body.inner-page .main-header:not(.sticky) .toggle span:after {
            background: #fff !important;
        }
        /* CTA button outline white at top */
        body.inner-page .main-header:not(.sticky) .btn-round-,
        body.inner-page .main-header:not(.sticky) .btn-br,
        body.inner-page .main-header:not(.sticky) a.btn-main {
            color: #fff !important;
            border-color: rgba(255,255,255,0.6) !important;
        }
        /* Dropdown caret arrows white at top */
        body.inner-page .main-header:not(.sticky) .dropdown-symbol {
            color: #fff !important;
        }

        /* Sticky state — explicitly DARK text + light language button */
        body.inner-page .main-header.sticky .custom-nav .nav-list li a.menu-links,
        body.inner-page .main-header.sticky .custom-nav .nav-list li a.menu-links span {
            color: #050748 !important;
        }
        body.inner-page .main-header.sticky .lang-btn {
            background: rgba(0, 0, 0, 0.05) !important;
            border-color: rgba(0, 0, 0, 0.18) !important;
            color: #050748 !important;
        }
        body.inner-page .main-header.sticky .lang-btn .lang-flag,
        body.inner-page .main-header.sticky .lang-btn .lang-code,
        body.inner-page .main-header.sticky .lang-btn i {
            color: #050748 !important;
        }
        body.inner-page .main-header.sticky .toggle span,
        body.inner-page .main-header.sticky .toggle span:before,
        body.inner-page .main-header.sticky .toggle span:after {
            background: #050748 !important;
        }
        body.inner-page .main-header.sticky .dropdown-symbol {
            color: #050748 !important;
        }

        /* Logo switching — white logo at top, dark logo on sticky */
        body.inner-page .main-header:not(.sticky) .mega-white-logo {
            display: inline-block !important;
        }
        body.inner-page .main-header:not(.sticky) .mega-darks-logo {
            display: none !important;
        }
        body.inner-page .main-header.sticky .mega-white-logo {
            display: none !important;
        }
        body.inner-page .main-header.sticky .mega-darks-logo {
            display: inline-block !important;
        }

/* ---- LIGHT HERO override ----
   Blog pages use a light (white) op-hero, not a dark purple hero, so the
   navbar must stay DARK at the top (non-sticky) too — otherwise the white
   links above are invisible until you scroll. Scoped to body:has(.op-hero)
   so only light-hero pages are affected. */
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .custom-nav .nav-list li a.menu-links span,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .dropdown-symbol {
            color: #050748 !important;
        }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .lang-btn {
            background: rgba(0, 0, 0, 0.05) !important;
            border-color: rgba(0, 0, 0, 0.18) !important;
            color: #050748 !important;
        }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .lang-btn .lang-flag,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .lang-btn .lang-code,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .lang-btn i {
            color: #050748 !important;
        }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .toggle span,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .toggle span:before,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .toggle span:after {
            background: #050748 !important;
        }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .btn-round-,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .btn-br,
        body.inner-page:has(.op-hero) .main-header:not(.sticky) a.btn-main {
            color: #050748 !important;
            border-color: rgba(5, 7, 72, 0.45) !important;
        }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .mega-white-logo { display: none !important; }
        body.inner-page:has(.op-hero) .main-header:not(.sticky) .mega-darks-logo { display: inline-block !important; }

/* ---- block separator ---- */

/* === Data tables (case-study style) === */
        .blog-content .blog-table-wrap { margin: 32px 0; overflow-x: auto; }
        .blog-content table.blog-table {
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            overflow: hidden;
            font-size: 0.95rem;
        }
        .blog-content table.blog-table caption {
            caption-side: top;
            text-align: left;
            font-weight: 700;
            font-size: 0.92rem;
            color: #475569;
            padding: 0 0 10px 0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .blog-content table.blog-table thead th {
            background: #1e3a8a;
            color: #fff;
            font-weight: 600;
            text-align: left;
            padding: 14px 18px;
            font-size: 0.92rem;
            letter-spacing: 0.01em;
        }
        .blog-content table.blog-table tbody td {
            padding: 13px 18px;
            border-top: 1px solid #e2e8f0;
            color: #334155;
            line-height: 1.55;
            vertical-align: top;
        }
        .blog-content table.blog-table tbody tr:nth-child(even) td {
            background: #f8fafc;
        }
        .blog-content table.blog-table tbody tr:hover td {
            background: #eff6ff;
        }

        /* === Stat highlights (case-study 70% / 80% boxes) === */
        .blog-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
            gap: 14px;
            margin: 30px 0;
        }
        .blog-stat-card {
            background: #f0f4ff;
            border: 1px solid #dde4f3;
            border-radius: 14px;
            padding: 22px 18px;
            text-align: center;
        }
        .blog-stat-card .stat-big {
            display: block;
            font-size: 2rem;
            font-weight: 800;
            color: #1e3a8a;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 4px;
        }
        .blog-stat-card .stat-label {
            font-size: 0.82rem;
            color: #475569;
            line-height: 1.4;
        }

        /* === Table of contents === */
        .blog-toc {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 22px 28px;
            margin: 28px 0 36px;
        }
        .blog-toc-title {
            font-size: 0.82rem;
            text-transform: uppercase;
            font-weight: 700;
            color: #475569;
            letter-spacing: 0.07em;
            margin-bottom: 12px;
        }
        .blog-toc ol {
            margin: 0;
            padding-left: 22px;
            counter-reset: item;
            list-style: none;
        }
        .blog-toc ol li {
            counter-increment: item;
            margin: 7px 0;
            font-size: 0.97rem;
        }
        .blog-toc ol li::before {
            content: counter(item) ".";
            color: #4f46e5;
            font-weight: 700;
            margin-right: 8px;
        }
        .blog-toc a {
            color: #1e293b;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border 0.2s ease, color 0.2s ease;
        }
        .blog-toc a:hover {
            color: #4f46e5;
            border-bottom-color: #4f46e5;
        }

        /* === Related articles === */
        .blog-related {
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid #e2e8f0;
        }
        .blog-related-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 20px;
            letter-spacing: -0.01em;
        }
        .blog-related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;
        }
        .blog-related-item {
            display: block;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 18px 20px;
            text-decoration: none !important;
            color: inherit;
            transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }
        .blog-related-item:hover {
            border-color: rgba(79, 70, 229, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.06);
            color: inherit;
        }
        .blog-related-item .related-cat {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            color: #4f46e5;
            letter-spacing: 0.05em;
            display: block;
            margin-bottom: 6px;
        }
        .blog-related-item .related-title {
            font-size: 0.98rem;
            font-weight: 600;
            color: #0f172a;
            line-height: 1.4;
        }

/* ---- block separator ---- */

/* =========================================================================
   Blog index cards (homepage of /blog.html) — desktop base styles
   ========================================================================= */
.blog-grid { padding: 70px 0 90px; background: #fafbfc; }
.blog-cat-section { margin-bottom: 56px; }
.blog-cat-section:last-child { margin-bottom: 0; }
.blog-cat-heading {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-cat-heading .blog-cat-heading-text { font-weight: inherit; color: inherit; }
/* Hide the colored accent dot — clean professional headings */
.blog-cat-heading .blog-cat-dot { display: none !important; }
.blog-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(79, 70, 229, 0.25);
    color: inherit;
}
.blog-card-bar { height: 4px; width: 100%; }
.blog-card-media {
    background: #f8fafc;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 76px;
}
.blog-card-media img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}
.blog-card-body { padding: 22px 24px 24px; }
.blog-card-meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 12px;
}
.blog-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #0f172a;
    letter-spacing: -0.005em;
}
.blog-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}
.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f46e5;
    transition: color 0.2s ease;
}
.blog-card:hover .blog-card-link { color: #312e81; }

/* Blog hero typography (background + overlay defined at top of file) */
.breadcrumb-area.blog-bread .bread-title h1 {
    color: #fff !important;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.breadcrumb-area.blog-bread .bread-title p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto;
}
.blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    padding: 7px 16px; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
    margin-bottom: 16px; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.blog-cat-chip::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14,165,233,.25);
}

/* ===== Blog hero meta strip (counts + author line) ===== */
.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin-top: 18px;
    color: rgba(255,255,255,.78);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}
.blog-hero-meta .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,.4);
    display: inline-block;
}

/* ===== Image-led blog card (used on /blog.html) =====
   Markup expected:
     <a class="blog-card blog-card--zoho" href="...">
       <div class="blog-card-media">
         <img src="..." alt="...">
         <span class="blog-card-chip">Zoho Books · Jordan</span>
       </div>
       <div class="blog-card-body">
         <h3 class="blog-card-title">...</h3>
         <p class="blog-card-excerpt">...</p>
         <span class="blog-card-link">Read article →</span>
       </div>
     </a>
*/
.blog-grid .blog-card {
    position: relative;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.blog-grid .blog-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E40AF 0%, #0EA5E9 100%);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .35s ease;
    border-radius: 0 0 14px 14px;
}
.blog-grid .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06);
    border-color: rgba(30,64,175,0.20);
}
.blog-grid .blog-card:hover::after { transform: scaleX(1); }

.blog-grid .blog-card-media {
    position: relative;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #0EA5E9 100%);
    padding: 0;
    border-bottom: 0;
    min-height: 0;
    height: 190px;
    overflow: hidden;
    display: block;
}
.blog-grid .blog-card-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.blog-grid .blog-card:hover .blog-card-media img {
    transform: scale(1.06);
}
.blog-grid .blog-card-media::after {
    /* readability gradient at the bottom of the image */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(11,18,32,0) 0%, rgba(11,18,32,.55) 100%);
    pointer-events: none;
}
.blog-grid .blog-card-chip {
    position: absolute;
    bottom: 14px; left: 14px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    color: #1E3A8A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(11,18,32,.18);
}
.blog-grid .blog-card-body { padding: 22px 24px 26px; }

/* Title + excerpt size bump on the index page only */
.blog-grid .blog-card-title {
    font-size: 1.12rem;
    line-height: 1.4;
    color: #0B1220;
    min-height: 3.5em;
}
.blog-grid .blog-card-excerpt {
    color: #475569;
    margin-bottom: 18px;
}
.blog-grid .blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1E40AF;
}
.blog-grid .blog-card-link::after {
    content: '→';
    transition: transform .25s ease;
    display: inline-block;
}
.blog-grid .blog-card:hover .blog-card-link { color: #0B1220; }
.blog-grid .blog-card:hover .blog-card-link::after { transform: translateX(4px); }

/* Older `Read article →` markup that already includes the arrow inside the text — strip the duplicate arrow */
.blog-grid .blog-card-link:has(> *) ::after { content: none; }

/* Hide legacy text-arrow when our pseudo-arrow handles it */
.blog-grid .blog-card-link {
    /* keep text-as-is, our ::after adds the arrow visually */
}

/* Section heading: small accent bar + better spacing */
.blog-grid .blog-cat-section { margin-bottom: 70px; }
.blog-grid .blog-cat-heading {
    position: relative;
    padding-left: 0;
    margin-bottom: 30px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.015em;
}
/* Vertical accent bar removed for a cleaner, professional heading */
.blog-grid .blog-cat-heading::before { content: none !important; display: none !important; }
.blog-grid .blog-cat-section-sub {
    color: #64748b;
    font-size: 0.95rem;
    margin: -20px 0 28px;
    padding-left: 14px;
    max-width: 720px;
}

/* Better page background — soft gradient */
.blog-grid {
    background:
        radial-gradient(900px 400px at 90% 0%, rgba(14,165,233,.05) 0, transparent 70%),
        radial-gradient(900px 400px at -10% 100%, rgba(30,64,175,.05) 0, transparent 70%),
        #f7f9fc;
    padding: 80px 0 110px;
}

/* Filter bar (sticky-friendly) */
.blog-filter-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(15,23,42,0.05);
    margin-bottom: 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.blog-filter-bar::-webkit-scrollbar { display: none; }
.blog-filter-pill {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none !important;
    white-space: nowrap;
}
.blog-filter-pill:hover { color: #0B1220; background: rgba(30,64,175,0.06); }
.blog-filter-pill.is-active {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(30,64,175,0.25);
}

@media (max-width: 600px) {
    .blog-grid .blog-card-media { height: 170px; }
    .blog-grid .blog-card-title { min-height: 0; font-size: 1.05rem; }
    .blog-grid .blog-cat-heading { font-size: 1.35rem; }
    .blog-grid { padding: 50px 0 70px; }
    .blog-filter-bar { border-radius: 18px; padding: 12px 14px; }
}


        /* === Better fluid typography for the post body === */
        @media (min-width: 992px) {
            .blog-content { font-size: 17px; }
        }
        /* Tighter, friendlier mobile spacing */
        @media (max-width: 768px) {
            .breadcrumb-area.blog-bread { padding: 90px 0 50px !important; }
            .breadcrumb-area.blog-bread .bread-title h1,
            .breadcrumb-area.blog-bread .bread-title h2 {
                font-size: clamp(1.5rem, 6vw, 1.9rem) !important;
                line-height: 1.3 !important;
            }
            .breadcrumb-area.blog-bread .bread-title p { font-size: 0.95rem !important; }
            .blog-section { padding: 36px 0 56px; }
            .blog-content .lead { font-size: 1.04rem; line-height: 1.65; padding-bottom: 18px; margin-bottom: 22px; }
            .blog-content p  { font-size: 0.97rem; line-height: 1.7; }
            .blog-content h2 { font-size: 1.32rem; margin-top: 30px; margin-bottom: 12px; }
            .blog-toc { padding: 16px 18px; margin: 20px 0 26px; border-radius: 12px; }
            .blog-toc-title { font-size: 0.74rem; }
            .blog-toc ol li { font-size: 0.92rem; margin: 6px 0; }
            .blog-faq { padding: 22px 18px; margin-top: 36px; border-radius: 14px; }
            .blog-faq .faq-q { font-size: 0.98rem; }
            .blog-faq .faq-a { font-size: 0.93rem; line-height: 1.6; }
            .blog-cta { padding: 26px 22px; }
            .blog-cta h3 { font-size: 1.2rem; }
            .blog-cta p  { font-size: 0.94rem; }
            .blog-cta .btn-cta { padding: 12px 24px; font-size: 0.95rem; }
            .zoho-partner-strip { padding: 14px 18px; }
            .zoho-partner-strip img { height: 40px; }
            /* Tables: scrollable + tighter on phone */
            .blog-content .blog-table-wrap { margin: 22px -12px; padding: 0 12px; }
            .blog-content table.blog-table { font-size: 0.85rem; min-width: 480px; }
            .blog-content table.blog-table thead th { padding: 11px 12px; }
            .blog-content table.blog-table tbody td { padding: 10px 12px; }
            /* Stat cards: 2-up on tablet, 1-up on small phones */
            .blog-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
            .blog-stat-card { padding: 16px 12px; }
            .blog-stat-card .stat-big { font-size: 1.7rem; }
            .blog-stat-card .stat-label { font-size: 0.78rem; }
            /* Related articles 1-col on phones */
            .blog-related { margin-top: 44px; padding-top: 30px; }
            .blog-related-title { font-size: 1.2rem; }
            .blog-related-grid { grid-template-columns: 1fr; gap: 12px; }
            /* Index page tweaks */
            .blog-cat-section { margin-bottom: 40px; }
            .blog-cat-heading { font-size: 1.25rem; margin-bottom: 16px; }
            .blog-card-title { font-size: 1rem; }
            .blog-card-excerpt { font-size: 0.88rem; }
            .blog-card-media { padding: 16px 18px; min-height: 64px; }
            .blog-card-media img { max-height: 26px; }
            .blog-card-body { padding: 16px 18px 20px; }
            .back-to-blog { font-size: 13px; }
        }
        @media (max-width: 480px) {
            .blog-stats { grid-template-columns: 1fr; }
            .blog-content { padding: 0 4px; }
            .blog-faq { padding: 18px 14px; }
        }
        /* Touch targets: ensure all interactive blog elements are ≥40px tall on touch */
        @media (hover: none) {
            .blog-card, .blog-related-item, .blog-toc a, .blog-cta .btn-cta {
                min-height: 40px;
            }
        }
        /* Reading-friendly text rendering */
        .blog-content { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
        .blog-content p, .blog-content li { hyphens: auto; word-break: normal; overflow-wrap: break-word; }
        /* Reduce motion for users who prefer it */
        @media (prefers-reduced-motion: reduce) {
            .blog-card, .blog-related-item, .blog-cta .btn-cta { transition: none !important; }
            .blog-card:hover, .blog-related-item:hover { transform: none !important; }
        }
        /* Print stylesheet — many readers print articles */
        @media print {
            .main-header, .blog-cta, .blog-related, .back-to-blog,
            footer, .whatsapp-button, .lead-modal, .lang-dropdown { display: none !important; }
            .blog-section { padding: 0; }
            .blog-content { max-width: 100%; color: #000; font-size: 11pt; }
            .blog-content h2 { color: #000; page-break-after: avoid; }
            .blog-table thead th { background: #000 !important; -webkit-print-color-adjust: exact; }
            a { color: #000; text-decoration: underline; }
            a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
        }

/* ---- block separator ---- */

        /* Hero category chip variant — Zoho logo instead of text */
        .blog-cat-chip.blog-cat-chip--logo {
            background: #ffffff !important;
            padding: 14px 24px !important;
            border-radius: 12px !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
            margin-bottom: 18px;
        }
        .blog-cat-chip.blog-cat-chip--logo img {
            height: 36px;
            width: auto;
            display: block;
        }
        @media (max-width: 768px) {
            .blog-cat-chip.blog-cat-chip--logo {
                padding: 12px 20px !important;
                border-radius: 10px !important;
            }
            .blog-cat-chip.blog-cat-chip--logo img { height: 28px; }
        }
/* ========================================================================
   BLOG POST WIDE LAYOUT — large-screen 2-column with sticky TOC sidebar.
   Pure CSS — no markup changes across the 60+ blog post HTML files.
   The existing `.blog-toc` (currently inside `.blog-content`) gets
   repositioned via CSS Grid into a right-hand sticky sidebar on ≥1100px.
   ======================================================================== */
@media (min-width: 1100px) {
    .blog-section { padding: 70px 0 90px; }
    .blog-section > .container {
        max-width: 1280px;
        padding-left: 28px;
        padding-right: 28px;
    }
    .blog-content {
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 260px;
        column-gap: 60px;
        row-gap: 0;
        align-items: start;
    }
    /* All children default to the left (main content) column */
    .blog-content > * {
        grid-column: 1;
        min-width: 0;
    }
    /* Place the TOC into the right sidebar slot, sticky to the viewport */
    .blog-content > .blog-toc {
        grid-column: 2;
        grid-row: 2 / span 1000;
        position: sticky;
        top: 100px;
        align-self: start;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        margin: 0;
        font-size: 0.92rem;
    }
    /* Hide the inner TOC scrollbar visually, keep it functional */
    .blog-content > .blog-toc::-webkit-scrollbar { width: 6px; }
    .blog-content > .blog-toc::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
    .blog-content > .blog-toc::-webkit-scrollbar-track { background: transparent; }
    /* "Back to all articles" stays on top, full row */
    .blog-content > .back-to-blog { grid-row: 1; }
    /* Headings + paragraphs get slightly more breathing room and a touch larger */
    .blog-content { font-size: 17px; line-height: 1.78; }
    .blog-content .lead { font-size: 1.25rem; line-height: 1.7; }
    .blog-content h2 { font-size: 1.3rem; margin-top: 40px; line-height: 1.3; }
    .blog-content h3 { font-size: 1.25rem; margin-top: 28px; }
    .blog-content p { font-size: 1.06rem; line-height: 1.8; }
    .blog-content ul li,
    .blog-content ol li { font-size: 1.04rem; line-height: 1.75; margin-bottom: 6px; }
    /* TOC styling refinement for the sidebar context */
    .blog-content > .blog-toc {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        padding: 20px 22px;
    }
    .blog-content > .blog-toc .blog-toc-title {
        font-size: 11px;
        letter-spacing: .18em;
        text-transform: uppercase;
        font-weight: 800;
        color: #1E40AF;
        margin-bottom: 12px;
    }
    .blog-content > .blog-toc ol { counter-reset: tocnum; padding: 0; list-style: none; margin: 0; }
    .blog-content > .blog-toc ol li {
        counter-increment: tocnum;
        margin: 0 0 4px 0;
        font-size: 0.9rem;
    }
    .blog-content > .blog-toc ol li a {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 7px 10px;
        border-radius: 8px;
        color: #475569;
        text-decoration: none;
        line-height: 1.4;
        transition: all .15s ease;
    }
    .blog-content > .blog-toc ol li a::before {
        content: counter(tocnum, decimal-leading-zero);
        font-weight: 800;
        color: #94A3B8;
        font-size: 0.78rem;
        flex-shrink: 0;
        font-variant-numeric: tabular-nums;
        margin-top: 1px;
    }
    .blog-content > .blog-toc ol li a:hover {
        background: #fff;
        color: #1E40AF;
    }
    .blog-content > .blog-toc ol li a:hover::before {
        color: #0EA5E9;
    }
    /* The related-articles aside should span full width below the content */
    .blog-content > .blog-related {
        grid-column: 1 / -1;
        margin-top: 56px;
    }
    /* CTA panel also spans full width */
    .blog-content > .blog-cta {
        grid-column: 1 / -1;
    }
    /* FAQ + zoho-partner-strip — keep in main column for readability */
    .blog-content > .blog-faq,
    .blog-content > .zoho-partner-strip {
        grid-column: 1;
    }
    /* Better related-articles grid — 3 cols on wide screens */
    .blog-related-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .blog-related-item {
        padding: 18px 22px;
        border-radius: 14px;
    }
    /* Make tables a bit nicer */
    .blog-content .blog-table-wrap { margin: 32px 0; }
    .blog-content table.blog-table { font-size: 0.98rem; }
    /* Pull-out for FAQ section (visual break) */
    .blog-content > .blog-faq {
        padding: 40px 44px;
        margin-top: 56px;
    }
    .blog-content > .blog-faq h2 { font-size: 1.55rem; }
}

/* Slight extra breathing room at 1400px+ */
@media (min-width: 1400px) {
    .blog-section > .container {
        max-width: 1340px;
    }
    .blog-content {
        grid-template-columns: minmax(0, 1fr) 280px;
        column-gap: 80px;
    }
}

/* Tablet — single column but wider than before (≥ 769 and < 1100) */
@media (min-width: 769px) and (max-width: 1099px) {
    .blog-section > .container { max-width: 920px; }
    .blog-content { max-width: 100%; font-size: 17px; }
    .blog-content .lead { font-size: 1.2rem; }
    .blog-content h2 { font-size: 1.25rem; }
}

/* ========================================================================
   BLOG POST — PDF CASE STUDY LAYOUT
   Restyle headings/tables/callouts/stats to match the brand PDF design:
   - Numbered H2 sections (1., 2., 3.) with thick navy underline
   - Refined navy-header tables with rounded corners
   - Yellow "In Their Words" callout via blockquote.in-their-words
   - PDF-style stat-grid cards for results sections
   - Cleaner "Label: description" bullet treatment
   ======================================================================== */

/* ---------- Auto-numbered, underlined H2 sections (matches the PDF case-study style) ---------- */
.blog-content { counter-reset: section; }

/* Override the earlier left-bar look on H2 — number prefix, no underline */
.blog-content h2 {
    position: relative;
    counter-increment: section;
    padding-left: 0;
    padding-bottom: 0;
    margin-top: 44px;
    margin-bottom: 14px;
    color: #1E3A8A;
    font-weight: 800;
    letter-spacing: -0.01em;
    border-bottom: 0;
    border-image: none;
}
.blog-content h2::before {
    content: counter(section) ". ";
    color: #1E40AF;
    font-weight: 800;
    margin-right: 4px;
}
/* Remove the old vertical accent bar */
.blog-content h2::after { content: none !important; }

/* FAQ section keeps its tinted card look (no number, no underline since it's inside a styled box) */
.blog-faq h2 {
    counter-increment: none;
    color: #0B1220;
    border: 0;
    border-image: none;
    padding-bottom: 0;
    margin-top: 0;
}
.blog-faq h2::before { content: none; }
.blog-content > .blog-faq { counter-reset: none; }
/* And don't increment section counter from inside FAQ Q items if any */
.blog-faq * { counter-reset: none; }

/* ---------- H3 subheadings (PDF uses lighter blue + section label feel) ---------- */
.blog-content h3 {
    color: #1E40AF;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.15rem;
    letter-spacing: -0.005em;
}

/* ---------- "Label: description" bullets — PDF style ---------- */
/* When a list item starts with <strong>Label:</strong>, the label gets navy emphasis */
.blog-content ul li strong:first-child,
.blog-content ol li strong:first-child {
    color: #1E3A8A;
    font-weight: 700;
}

/* ---------- "In Their Words" yellow callout (use class="in-their-words" on blockquote) ---------- */
.blog-content blockquote.in-their-words,
.blog-content blockquote.itw {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-left: 4px solid #F59E0B;
    color: #1F2937;
    font-style: normal;
    padding: 22px 28px;
}
.blog-content blockquote.in-their-words::before,
.blog-content blockquote.itw::before {
    color: #FDE68A;
}
.blog-content blockquote.in-their-words p:first-child,
.blog-content blockquote.itw p:first-child {
    font-weight: 700;
    color: #92400E;
    margin-bottom: 8px;
    font-style: normal;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Tables — PDF style (navy header, rounded, alternating rows) ---------- */
.blog-content table.blog-table,
.blog-content > .blog-table-wrap > table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
    font-size: 0.97rem;
    line-height: 1.55;
}
.blog-content table.blog-table thead th {
    background: #1E3A8A;
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-bottom: 0;
}
.blog-content table.blog-table tbody td {
    padding: 14px 18px;
    color: #334155;
    border-top: 1px solid #E2E8F0;
    vertical-align: top;
}
.blog-content table.blog-table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}
.blog-content table.blog-table tbody tr:hover td {
    background: #EFF6FF;
}
.blog-content table.blog-table tbody td:first-child {
    font-weight: 700;
    color: #0B1220;
    white-space: nowrap;
}

/* ---------- Stat-card grid (use <div class="blog-stats">…<div class="blog-stat">) ---------- */
.blog-content .blog-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}
@media (max-width: 780px) {
    .blog-content .blog-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .blog-content .blog-stats { grid-template-columns: 1fr; }
}
.blog-content .blog-stat {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 26px 18px 22px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-content .blog-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -22px rgba(15, 23, 42, .14);
    border-color: #cbd5e1;
}
.blog-content .blog-stat-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(110deg, #1E40AF, #0EA5E9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.blog-content .blog-stat-label {
    font-size: 0.88rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
}

/* ---------- Footer-band CTA for blog post end (use class="blog-band-cta") ---------- */
.blog-content .blog-band-cta {
    background: #1E3A8A;
    color: #fff;
    border-radius: 12px;
    padding: 22px 28px;
    text-align: center;
    margin-top: 40px;
}
.blog-content .blog-band-cta-title {
    background: #0B1220;
    color: #fff;
    margin: -22px -28px 0;
    padding: 18px 28px;
    border-radius: 12px 12px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
}
.blog-content .blog-band-cta p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.98rem;
    margin: 18px 0 0;
}
.blog-content .blog-band-cta a {
    color: #93C5FD;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(147, 197, 253, 0.4);
}
.blog-content .blog-band-cta a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Section header rule color tightening on mobile ---------- */
@media (max-width: 768px) {
    .blog-content h2 {
        padding-bottom: 10px;
        margin-top: 36px;
        margin-bottom: 16px;
        border-bottom-width: 2px;
    }
    .blog-content h2::before { font-size: 0.9em; }
    .blog-content h3 { font-size: 1.05rem; }
}

/* =========================================================================
   BLOG INDEX — Hero v2 (richer header with blobs, grid, stats & quick-jump)
   ========================================================================= */
.blog-hero-v2 {
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(14,165,233,0.45) 0, transparent 60%),
        radial-gradient(1100px 500px at -10% 110%, rgba(124,58,237,0.45) 0, transparent 60%),
        linear-gradient(135deg, #0B1220 0%, #1E3A8A 45%, #1E40AF 100%) !important;
    padding: 130px 0 90px !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.blog-hero-v2 .text-block,
.blog-hero-v2 .container {
    position: relative;
    z-index: 2;
}
.blog-hero-v2 .bread-title h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    color: #fff;
    letter-spacing: -0.025em;
    text-shadow: 0 6px 22px rgba(0,0,0,.30);
}
.blog-hero-v2 .bread-title p {
    color: rgba(255,255,255,0.86);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 30px;
}
.blog-hero-v2 .blog-cat-chip {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.20);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(11,18,32,0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.blog-hero-v2 .blog-cat-chip::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56,189,248,0.30);
}

/* Decorative blobs */
.blog-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    animation: blogBlobFloat 16s ease-in-out infinite;
}
.blog-hero-blob--1 {
    width: 520px; height: 520px;
    top: -160px; right: -120px;
    background: radial-gradient(circle, #0EA5E9 0%, transparent 70%);
}
.blog-hero-blob--2 {
    width: 460px; height: 460px;
    bottom: -180px; left: -100px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    animation-delay: -7s;
}
@keyframes blogBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -30px) scale(1.06); }
}
/* Subtle dot-grid overlay */
.blog-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

/* Stats strip */
.blog-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 8px auto 26px;
}
.blog-hero-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px 12px 14px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.blog-hero-stat:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(56,189,248,0.45);
}
.blog-hero-stat-num {
    display: block;
    color: #fff;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-hero-stat-label {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,0.74);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Quick-jump category chips */
.blog-hero-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin-top: 6px;
}
.blog-hero-cat {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.blog-hero-cat::before {
    content: '';
    width: 7px; height: 7px; border-radius: 50%;
    background: currentColor;
}
.blog-hero-cat--zoho       { color: #93c5fd !important; }
.blog-hero-cat--mobile     { color: #fcd34d !important; }
.blog-hero-cat--ai         { color: #c4b5fd !important; }
.blog-hero-cat--industry   { color: #86efac !important; }
.blog-hero-cat--comparison { color: #f9a8d4 !important; }
.blog-hero-cat:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-hero-v2 { padding: 100px 0 60px !important; }
    .blog-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 420px;
    }
    .blog-hero-stat { padding: 12px 8px 10px; }
    .blog-hero-blob--1 { width: 280px; height: 280px; top: -80px; right: -60px; }
    .blog-hero-blob--2 { width: 260px; height: 260px; bottom: -80px; left: -60px; }
    .blog-hero-cat { font-size: 0.78rem; padding: 6px 12px; }
}

/* =========================================================================
   BLOG INDEX — Image-led card (new .blog-card-cover markup)
   Mirrors the existing .blog-card-media polish for compatibility.
   ========================================================================= */
.blog-grid .blog-card-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #0EA5E9 100%);
}
.blog-grid .blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .4s ease;
}
.blog-grid .blog-card:hover .blog-card-cover img {
    transform: scale(1.07);
    filter: saturate(1.05) brightness(0.98);
}
.blog-grid .blog-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,18,32,0) 35%, rgba(11,18,32,0.62) 100%),
        linear-gradient(135deg, rgba(30,64,175,0.10) 0%, rgba(14,165,233,0.06) 100%);
    pointer-events: none;
}
.blog-grid .blog-card-cover-chip {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(11,18,32,0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.blog-grid .blog-card-cover--noimg {
    /* Brand gradient fallback if Unsplash image fails to load */
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 45%, #0EA5E9 100%);
}
.blog-grid .blog-card-cover--noimg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
}

/* Tighten title minimum-height since cover now does the visual lift */
.blog-grid .blog-card .blog-card-title {
    min-height: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 10px;
    color: #0B1220;
    letter-spacing: -0.005em;
}
.blog-grid .blog-card .blog-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}
.blog-grid .blog-card .blog-card-body { padding: 22px 22px 24px; }

/* Section heading dot (per-category accent) */
.blog-cat-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -2px;
    box-shadow: 0 0 0 4px rgba(0,0,0,0);
}
.blog-cat-dot--zoho       { background: #1E40AF; box-shadow: 0 0 0 4px #dbeafe; }
.blog-cat-dot--mobile     { background: #b45309; box-shadow: 0 0 0 4px #fef3c7; }
.blog-cat-dot--ai         { background: #6d28d9; box-shadow: 0 0 0 4px #ede9fe; }
.blog-cat-dot--industry   { background: #15803d; box-shadow: 0 0 0 4px #dcfce7; }
.blog-cat-dot--comparison { background: #be185d; box-shadow: 0 0 0 4px #fce7f3; }

/* Scroll offset so hero quick-jump anchors don't hide behind the sticky nav */
.blog-cat-section[id] {
    scroll-margin-top: 110px;
}

@media (max-width: 600px) {
    .blog-grid .blog-card-cover { height: 175px; }
    .blog-cat-dot { width: 10px; height: 10px; }
}

/* =========================================================================
   BLOG POST — Hero cover image strip (new .blog-hero-cover, above the title)
   ========================================================================= */
.blog-hero-cover {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 24px;
    aspect-ratio: 16 / 7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(11,18,32,0.35),
                0 4px 16px rgba(11,18,32,0.22);
    border: 1px solid rgba(255,255,255,0.18);
}
.blog-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .8s ease;
}
.blog-hero-cover:hover img { transform: scale(1.05); }
.blog-hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,18,32,0) 50%, rgba(11,18,32,0.30) 100%),
        linear-gradient(135deg, rgba(14,165,233,0.10) 0%, rgba(30,64,175,0.08) 100%);
    pointer-events: none;
}
.blog-hero-cover--noimg {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #0EA5E9 100%);
}

@media (max-width: 768px) {
    .blog-hero-cover {
        max-width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
        margin-bottom: 18px;
    }
}

/* =========================================================================
   BLOG INDEX — Category heading with brand logo (Zoho row)
   ========================================================================= */
.blog-cat-heading.blog-cat-heading--with-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 14px;
}
.blog-cat-heading--with-logo .blog-cat-dot {
    margin-right: 0;
    top: 0;
}
.blog-cat-heading-text {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.015em;
    line-height: 1;
}
.blog-cat-logo {
    height: 42px;
    width: auto;
    display: block;
    margin-left: 4px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(11,18,32,0.10));
    transition: transform .25s ease;
}
.blog-cat-heading--with-logo:hover .blog-cat-logo { transform: translateY(-1px); }

@media (max-width: 600px) {
    .blog-cat-heading-text { font-size: 1.3rem; }
    .blog-cat-logo { height: 34px; }
}

/* =========================================================================
   BLOG DETAIL PAGE — Polished, unified hero header (applies to all 72 pages)
   The markup is identical across detail pages, so this CSS makes them all
   look the same and significantly more refined.
   ========================================================================= */

/* Stronger hero background — same family as the blog index hero */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) {
    background:
        radial-gradient(900px 460px at 85% -20%, rgba(14,165,233,0.38) 0, transparent 65%),
        radial-gradient(900px 460px at -10% 120%, rgba(124,58,237,0.32) 0, transparent 65%),
        linear-gradient(135deg, #0B1220 0%, #1E3A8A 50%, #1E40AF 100%) !important;
    padding: 120px 0 70px !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2)::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .text-block,
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .container {
    position: relative;
    z-index: 2;
}

/* Bread-inner: vertical rhythm */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Cover image — larger, more cinematic */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover {
    max-width: 820px;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 22px;
    margin: 0 auto 28px;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.42),
        0 6px 22px rgba(0,0,0,0.26),
        inset 0 0 0 1px rgba(255,255,255,0.10);
    border: 0;
    position: relative;
    overflow: hidden;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover img {
    transform: scale(1.02);
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover:hover img {
    transform: scale(1.06);
}

/* Category chip — unified styling for both --logo and plain text chips */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.10) !important;
    color: #fff;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.22) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(11,18,32,0.20) !important;
    margin: 0 0 18px !important;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip::before {
    content: '';
    width: 7px; height: 7px; border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56,189,248,0.28);
}
/* Logo chip variant: keep the brand image inside the same pill shell */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip.blog-cat-chip--logo {
    background: #ffffff !important;
    padding: 8px 18px 8px 14px !important;
    border-color: rgba(255,255,255,0.40) !important;
    box-shadow: 0 10px 26px rgba(11,18,32,0.22) !important;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip.blog-cat-chip--logo::before {
    display: none;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip.blog-cat-chip--logo img {
    height: 22px;
    width: auto;
    display: block;
}

/* Title typography — sharper, more confident */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title {
    max-width: 880px;
    margin: 0 auto;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title h1 {
    color: #fff !important;
    font-size: clamp(1.3rem, 2.3vw, 1.85rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.022em !important;
    margin: 6px 0 14px !important;
    text-shadow: 0 4px 22px rgba(0,0,0,0.30);
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title p {
    color: rgba(255,255,255,0.86) !important;
    font-size: clamp(0.96rem, 1.4vw, 1.08rem) !important;
    line-height: 1.65 !important;
    max-width: 740px;
    margin: 0 auto !important;
}

/* Meta strip — small glass chips with separators */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta {
    margin-top: 24px !important;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 6px 8px 6px 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.86rem !important;
    color: rgba(255,255,255,0.92) !important;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 22px rgba(11,18,32,0.20);
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta span {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
}
/* The last entry is the author chip — give it a glassier pill of its own */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta .blog-meta-author {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 4px 18px 4px 4px;
    margin-left: 6px !important;
    gap: 10px;
    font-size: 0.92rem;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta .meta-sep {
    color: rgba(255,255,255,0.32) !important;
    padding: 0 !important;
}
/* Calendar icon before the date, clock icon before the read time */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta span:first-of-type::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.78em;
    color: #38bdf8;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta span:last-of-type:not(.meta-sep)::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    font-size: 0.84em;
    color: #38bdf8;
}

/* Tablet & mobile rhythm */
@media (max-width: 900px) {
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) {
        padding: 100px 0 50px !important;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover {
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        margin-bottom: 22px;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title h1 {
        font-size: clamp(1.35rem, 5.4vw, 1.85rem) !important;
        line-height: 1.28 !important;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title p {
        font-size: 0.95rem !important;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta {
        font-size: 0.78rem !important;
        padding: 6px 12px;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta span { padding: 0 8px; }
}

@media (max-width: 480px) {
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover {
        border-radius: 14px;
        aspect-ratio: 16 / 10;
    }
}

/* =========================================================================
   BLOG DETAIL — Author byline (hero) + Author card (end of article)
   ========================================================================= */

/* Hero meta byline (appended inside .blog-meta after the read-time) */
.blog-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.92) !important;
    padding: 0 12px;
}
.blog-meta-author strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.blog-meta-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EA5E9 0%, #1E40AF 100%);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 16px rgba(11,18,32,0.40),
                0 0 0 3px rgba(255,255,255,0.95);
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
}
.blog-meta-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* End-of-article Author card */
.blog-author-card {
    margin: 44px 0 0;
    padding: 28px 30px;
    background:
        radial-gradient(800px 240px at 100% 0%, rgba(14,165,233,0.10) 0, transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 26px;
    align-items: center;
    box-shadow: 0 6px 22px rgba(15,23,42,0.04);
}
.blog-author-card .blog-author-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #0EA5E9 100%);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(11,18,32,0.25),
                0 0 0 5px #fff,
                0 0 0 6px rgba(30,64,175,0.22);
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
}
.blog-author-card .blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.blog-author-card .blog-author-info { min-width: 0; }
.blog-author-card .blog-author-eyebrow {
    color: #1E40AF;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.blog-author-card .blog-author-name {
    margin: 0 0 2px;
    font-size: 1.32rem;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.012em;
    line-height: 1.25;
    border: 0;
    padding: 0;
    /* Reset PDF case-study auto-numbering for this heading */
    counter-increment: none;
}
.blog-author-card .blog-author-name::before { content: none !important; }
.blog-author-card .blog-author-role {
    display: block;
    color: #1E40AF;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    margin: 0 0 12px;
}
.blog-author-card .blog-author-bio {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0 0 14px;
}
.blog-author-card .blog-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}
.blog-author-card .blog-author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1E40AF;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none !important;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(30,64,175,0.08);
    border: 1px solid rgba(30,64,175,0.18);
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.blog-author-card .blog-author-link:hover {
    background: rgba(30,64,175,0.14);
    border-color: rgba(30,64,175,0.36);
    transform: translateY(-1px);
    color: #0B1220;
}
.blog-author-card .blog-author-link--li {
    background: rgba(10,102,194,0.10);
    border-color: rgba(10,102,194,0.22);
    color: #0A66C2;
}
.blog-author-card .blog-author-link--li:hover {
    background: rgba(10,102,194,0.18);
    border-color: rgba(10,102,194,0.42);
    color: #0A66C2;
}
.blog-author-card .blog-author-link--ig {
    background: rgba(225,48,108,0.10);
    border-color: rgba(225,48,108,0.22);
    color: #E1306C;
}
.blog-author-card .blog-author-link--ig:hover {
    background: linear-gradient(135deg, rgba(247,119,55,0.16), rgba(225,48,108,0.18) 50%, rgba(188,42,141,0.16));
    border-color: rgba(225,48,108,0.42);
    color: #C13584;
}
/* The auto-numbering counter for blog content sections should ignore the author card */
.blog-author-card { counter-reset: none; }
.blog-author-card * { counter-reset: none; }

@media (max-width: 720px) {
    .blog-author-card {
        grid-template-columns: 1fr;   /* stack: image on top, content below */
        gap: 16px;
        padding: 26px 22px;
        margin-top: 34px;
        justify-items: center;        /* center avatar horizontally */
        text-align: center;
    }
    .blog-author-card .blog-author-avatar {
        width: 100px; height: 100px;
        font-size: 1.25rem;
        margin: 0 auto;
    }
    .blog-author-card .blog-author-info { text-align: center; width: 100%; }
    .blog-author-card .blog-author-name { font-size: 1.15rem; }
    .blog-author-card .blog-author-role  { font-size: 0.9rem; display: block; margin-top: 2px; }
    .blog-author-card .blog-author-bio   { font-size: 0.94rem; max-width: 440px; margin-left: auto; margin-right: auto; }
    .blog-author-card .blog-author-links { justify-content: center; }
}

@media (max-width: 900px) {
    .blog-meta-author { padding: 0 8px; }
    .blog-meta-author-avatar { width: 20px; height: 20px; font-size: 0.58rem; }
}

/* =========================================================================
   BLOG CONTENT — small refinements (bluish polish, table spacing)
   ========================================================================= */

/* Strengthen the numbered H2 — slightly larger number, brighter blue */
.blog-content > h2 {
    color: #1E3A8A;
}
.blog-content > h2::before {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.05em;
}

/* Tables: a touch more breathing room + soft shadow */
.blog-content .blog-table-wrap {
    margin: 28px 0 32px;
    border-radius: 14px;
}
.blog-content table.blog-table {
    box-shadow: 0 6px 22px rgba(15,23,42,0.06);
}
.blog-content table.blog-table thead th {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    padding: 14px 18px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.95rem;
}
.blog-content table.blog-table tbody tr:nth-child(even) td {
    background: #f0f6ff;
}
.blog-content table.blog-table tbody tr:hover td {
    background: #e0ecff;
}
.blog-content table.blog-table tbody td strong {
    color: #1E3A8A;
}

/* =========================================================================
   BLOG DETAIL — Breadcrumb trail in hero (above the cover image)
   ========================================================================= */
.breadcrumb-area.blog-bread .blog-crumbs {
    margin: 0 auto 20px;
    max-width: 820px;
    text-align: center;
}
.breadcrumb-area.blog-bread .blog-crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 4px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.breadcrumb-area.blog-bread .blog-crumbs li {
    color: rgba(255,255,255,0.65);
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.breadcrumb-area.blog-bread .blog-crumbs li + li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin: 0 8px;
    color: rgba(255,255,255,0.32);
    font-size: 0.74rem;
}
.breadcrumb-area.blog-bread .blog-crumbs li a {
    color: rgba(255,255,255,0.78) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}
.breadcrumb-area.blog-bread .blog-crumbs li a:hover {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.breadcrumb-area.blog-bread .blog-crumbs li[aria-current="page"] {
    color: #fff;
    font-weight: 700;
}
@media (max-width: 700px) {
    .breadcrumb-area.blog-bread .blog-crumbs ol {
        padding: 6px 14px;
        font-size: 0.72rem;
    }
    .breadcrumb-area.blog-bread .blog-crumbs li { max-width: 180px; }
}

/* =========================================================================
   BLOG DETAIL — Floating social share rail
   Desktop (≥1280px): vertical, sticks to the left of the article column
   Smaller: hidden until ≥1280 (avoids overlap with the wide-TOC sidebar @1100+)
   ========================================================================= */
.blog-share-rail {
    display: none;
    position: fixed;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 14px 8px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.10),
                0 2px 8px rgba(15,23,42,0.05);
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.blog-share-rail .blog-share-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 6px 0 4px;
}
.blog-share-rail .blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1E3A8A;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.blog-share-rail .blog-share-btn:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 14px rgba(30,58,138,0.18);
}
.blog-share-rail .blog-share-btn--x:hover   { background: #0F172A; color: #fff; }
.blog-share-rail .blog-share-btn--li:hover  { background: #0A66C2; color: #fff; }
.blog-share-rail .blog-share-btn--fb:hover  { background: #1877F2; color: #fff; }
.blog-share-rail .blog-share-btn--wa:hover  { background: #25D366; color: #fff; }
.blog-share-rail .blog-share-btn--copy:hover{ background: #1E40AF; color: #fff; }
.blog-share-rail .blog-share-btn--copy.is-copied {
    background: #16a34a;
    color: #fff;
}
.blog-share-rail .blog-share-btn--copy.is-copied i::before { content: '\f00c'; }

@media (min-width: 1280px) {
    .blog-share-rail { display: inline-flex; }
}

/* Mobile / tablet share strip — same buttons, horizontal under the back-to-blog link */
@media (max-width: 1279px) {
    .blog-share-rail {
        position: static;
        transform: none;
        display: inline-flex;
        flex-direction: row;
        gap: 6px;
        padding: 6px 10px;
        margin: 6px 0 18px;
        border-radius: 999px;
        box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    }
    .blog-share-rail .blog-share-label {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 0 6px 0 4px;
    }
    .blog-share-rail .blog-share-btn { width: 34px; height: 34px; font-size: 0.86rem; }
}

/* =========================================================================
   BLOG CONTENT — Polish: drop-cap, numbered TOC pills, refined FAQ, animated
   back-to-blog button, friendlier list styling.
   ========================================================================= */

/* Lead paragraph — slightly larger + drop-cap on first letter */
.blog-content > .lead {
    font-size: 1.18rem;
    line-height: 1.7;
    color: #1f2937;
    border-left: 4px solid #0EA5E9;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    padding: 22px 26px;
    border-radius: 0 14px 14px 0;
    margin: 0 0 32px;
}
.blog-content > .lead::first-letter {
    font-size: 3.4em;
    line-height: 0.82;
    font-weight: 800;
    color: #1E3A8A;
    float: left;
    margin: 6px 12px 0 0;
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 700px) {
    .blog-content > .lead {
        font-size: 1.04rem;
        padding: 18px 18px 14px;
    }
    .blog-content > .lead::first-letter {
        font-size: 2.8em;
        margin: 4px 8px 0 0;
    }
}

/* TOC — numbered pill style with hover lift */
.blog-toc {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 0 0 36px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}
.blog-toc-title {
    color: #1E40AF;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.blog-toc-title::before {
    content: '\f0ca';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0EA5E9;
    font-size: 0.82em;
}
.blog-toc ol {
    counter-reset: tocnum;
    padding: 0;
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
}
.blog-toc ol li {
    counter-increment: tocnum;
    margin: 0;
    border-radius: 10px;
    transition: background .2s ease;
}
.blog-toc ol li:hover { background: rgba(30,64,175,0.05); }
.blog-toc ol li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    color: #334155 !important;
    font-size: 0.94rem;
    line-height: 1.45;
    text-decoration: none !important;
    border-radius: 10px;
    transition: color .2s ease;
}
.blog-toc ol li a::before {
    content: counter(tocnum, decimal-leading-zero);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30,64,175,0.10);
    color: #1E40AF;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.blog-toc ol li a:hover {
    color: #0B1220 !important;
}
.blog-toc ol li a:hover::before,
.blog-toc ol li a.is-active::before {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    color: #fff;
    transform: scale(1.08);
}
.blog-toc ol li a.is-active {
    color: #0B1220 !important;
    font-weight: 700;
}
@media (max-width: 700px) {
    .blog-toc ol { grid-template-columns: 1fr; gap: 2px; }
    .blog-toc { padding: 18px 18px; }
}

/* FAQ — Q/A with colored left rail per item */
.blog-faq {
    padding: 32px 34px;
    margin-top: 56px;
    border-radius: 18px;
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(14,165,233,0.08) 0, transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
}
.blog-faq h2 {
    color: #0B1220 !important;
    font-size: 1.55rem !important;
    margin-bottom: 22px !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.blog-faq h2::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #1E40AF;
    font-size: 1.1em;
    background: none !important;
    -webkit-text-fill-color: #1E40AF !important;
}
.blog-faq .faq-q {
    color: #0B1220;
    font-weight: 700;
    font-size: 1.04rem;
    line-height: 1.45;
    padding: 18px 0 6px 22px;
    margin: 14px 0 0;
    border-top: 1px solid #e2e8f0;
    position: relative;
}
.blog-faq .faq-q:first-of-type {
    border-top: 0;
    padding-top: 4px;
    margin-top: 0;
}
.blog-faq .faq-q::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 18px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
}
.blog-faq .faq-q:first-of-type::before { top: 4px; }
.blog-faq .faq-a {
    color: #475569;
    line-height: 1.72;
    padding-left: 22px;
    margin-bottom: 6px;
}
@media (max-width: 700px) {
    .blog-faq { padding: 24px 20px; }
    .blog-faq h2 { font-size: 1.3rem !important; }
    .blog-faq .faq-q { font-size: 0.98rem; padding-left: 22px; }
}

/* Animated back-to-blog */
.blog-content > .back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1E40AF;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(30,64,175,0.06);
    border: 1px solid rgba(30,64,175,0.14);
    text-decoration: none !important;
    margin-bottom: 22px;
    transition: background .25s ease, transform .2s ease, color .25s ease, border-color .25s ease;
}
.blog-content > .back-to-blog i {
    transition: transform .25s ease;
}
.blog-content > .back-to-blog:hover {
    background: rgba(30,64,175,0.12);
    border-color: rgba(30,64,175,0.32);
    color: #0B1220;
    transform: translateY(-1px);
}
.blog-content > .back-to-blog:hover i {
    transform: translateX(-3px);
}

/* List polish — colored markers */
.blog-content ol {
    counter-reset: olnum;
    padding-left: 0;
    list-style: none;
}
.blog-content ol > li {
    counter-increment: olnum;
    padding: 4px 0 4px 38px;
    position: relative;
    margin: 6px 0;
    line-height: 1.7;
}
.blog-content ol > li::before {
    content: counter(olnum);
    position: absolute;
    left: 0;
    top: 4px;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}
.blog-content ul {
    padding-left: 0;
    list-style: none;
}
.blog-content ul > li {
    padding: 2px 0 2px 26px;
    position: relative;
    margin: 4px 0;
    line-height: 1.7;
}
.blog-content ul > li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    box-shadow: 0 0 0 4px rgba(30,64,175,0.10);
}
/* Reset list-marker for items inside FAQ / table / TOC (which we styled differently) */
.blog-faq ol > li::before,
.blog-faq ul > li::before,
.blog-toc ol > li::before,
.blog-table-wrap ol > li::before,
.blog-table-wrap ul > li::before,
.blog-author-card ol > li::before,
.blog-author-card ul > li::before {
    content: none;
}
.blog-faq ol, .blog-faq ul,
.blog-toc ol,
.blog-author-card ol, .blog-author-card ul { padding-left: revert; list-style: revert; }
.blog-faq ol > li, .blog-faq ul > li,
.blog-author-card ol > li, .blog-author-card ul > li { padding-left: 0; }

/* Honest centered hero shadow underneath the cover */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -22px;
    height: 22px;
    background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent 70%);
    z-index: -1;
    filter: blur(2px);
}

/* Print-friendly: hide share rail */
@media print {
    .blog-share-rail { display: none !important; }
}

/* =========================================================================
   BLOG DETAIL — single-column reading layout (TOC removed)
   Override the older 2-column grid since the TOC sidebar is gone.
   ========================================================================= */
@media (min-width: 1100px) {
    .blog-section {
        padding: 70px 0 100px;
        background:
            radial-gradient(900px 400px at 90% 0%, rgba(14,165,233,0.04) 0, transparent 60%),
            radial-gradient(900px 400px at -10% 100%, rgba(30,64,175,0.04) 0, transparent 60%),
            #ffffff;
    }
    .blog-section > .container {
        max-width: 880px;
        padding-left: 28px;
        padding-right: 28px;
    }
    .blog-content {
        display: block !important;
        max-width: 100%;
        font-size: 17px;
        line-height: 1.78;
    }
    .blog-content > * {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    /* Restore generous typography in single-column mode */
    .blog-content > .lead { font-size: 1.22rem; line-height: 1.72; }
    .blog-content h2 { font-size: 1.7rem; margin-top: 52px; line-height: 1.3; }
    .blog-content h3 { font-size: 1.25rem; margin-top: 30px; }
    .blog-content p  { font-size: 1.06rem; line-height: 1.8; }
    .blog-content ul li,
    .blog-content ol li { font-size: 1.04rem; line-height: 1.75; margin-bottom: 6px; }
    .blog-content > .blog-faq { padding: 40px 44px; margin-top: 60px; }
    .blog-content > .blog-faq h2 { font-size: 1.55rem; }
    .blog-content > .blog-related,
    .blog-content > .blog-cta,
    .blog-content > .blog-author-card,
    .blog-content > .zoho-partner-strip { max-width: 100%; }
}

@media (min-width: 1400px) {
    .blog-section > .container { max-width: 920px; }
}

/* =========================================================================
   BLOG DETAIL — Related articles polish (card grid with cover thumbnails)
   ========================================================================= */
.blog-related { margin-top: 60px; }
.blog-related-title {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1E40AF;
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0 !important;
    padding-bottom: 0 !important;
}
.blog-related-title::before {
    content: '';
    width: 32px; height: 2px;
    background: linear-gradient(90deg, #1E40AF 0%, #0EA5E9 100%);
    border-radius: 2px;
}
.blog-related-title::after { content: none !important; }
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.blog-related-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 4px 14px rgba(15,23,42,0.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}
.blog-related-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #1E40AF 0%, #0EA5E9 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.blog-related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15,23,42,0.08);
    border-color: rgba(30,64,175,0.25);
}
.blog-related-item:hover::before { opacity: 1; }
.blog-related-item .related-cat {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1E40AF;
    background: rgba(30,64,175,0.08);
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
}
.blog-related-item .related-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0B1220;
    line-height: 1.42;
    letter-spacing: -0.005em;
}
.blog-related-item::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.78rem;
    color: #1E40AF;
    position: absolute;
    bottom: 18px;
    right: 18px;
    opacity: 0;
    transform: translateX(-6px);
    transition: transform .25s ease, opacity .25s ease;
}
.blog-related-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================================
   BLOG DETAIL — CTA panel polish (more dramatic gradient + cleaner button)
   ========================================================================= */
.blog-cta {
    margin-top: 56px;
    padding: 44px 48px;
    border-radius: 22px;
    background:
        radial-gradient(700px 260px at 90% 0%, rgba(56,189,248,0.30) 0, transparent 60%),
        radial-gradient(700px 260px at -10% 100%, rgba(124,58,237,0.28) 0, transparent 60%),
        linear-gradient(135deg, #1E3A8A 0%, #1E40AF 60%, #0B1220 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 20px 50px rgba(11,18,32,0.22);
}
.blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}
.blog-cta h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.015em;
    line-height: 1.25;
    border: 0 !important;
    padding: 0 !important;
}
.blog-cta h3::before { content: none !important; }
.blog-cta p {
    color: rgba(255,255,255,0.86);
    margin-bottom: 24px;
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.blog-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1E40AF;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none !important;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
}
.blog-cta .btn-cta i { transition: transform .25s ease; }
.blog-cta .btn-cta:hover {
    transform: translateY(-2px);
    background: #f0f9ff;
    color: #0B1220;
    box-shadow: 0 18px 32px rgba(0,0,0,0.26);
}
.blog-cta .btn-cta:hover i { transform: translateX(4px); }
@media (max-width: 700px) {
    .blog-cta { padding: 32px 24px; border-radius: 18px; }
    .blog-cta h3 { font-size: 1.32rem; }
    .blog-cta p { font-size: 0.96rem; }
    .blog-cta .btn-cta { padding: 12px 24px; font-size: 0.94rem; }
}

/* =========================================================================
   BLOG DETAIL — Body padding & whitespace polish (general rhythm)
   ========================================================================= */
.blog-content > p,
.blog-content > ul,
.blog-content > ol { margin-bottom: 22px; }
.blog-content > h2 + p,
.blog-content > h2 + ul,
.blog-content > h2 + ol { margin-top: 6px; }
.blog-content > h3 { margin-bottom: 8px; }
.blog-content strong { color: #0B1220; font-weight: 700; }

/* Subtle inline divider between major sections, on top of the H2 underline */
.blog-content > h2 {
    scroll-margin-top: 90px;
}

/* Smaller mobile rhythm */
@media (max-width: 700px) {
    .blog-section { padding: 36px 0 60px; }
    .blog-content > .lead { font-size: 1.04rem; line-height: 1.65; padding: 16px 18px; }
    .blog-content > .lead::first-letter { font-size: 2.6em; }
    .blog-content > h2 { margin-top: 36px; }
    .blog-content > p,
    .blog-content > ul,
    .blog-content > ol { margin-bottom: 16px; }
    .blog-related-grid { grid-template-columns: 1fr; }
}

/* Section heading hover anchor (clickable section anchor on hover) — quality-of-life */
.blog-content > h2 {
    transition: color .2s ease;
}

/* =========================================================================
   BLOG DETAIL — Unified cinematic hero (one viewport, full-bleed cover)
   The cover image now spans the entire hero as a background layer, with
   breadcrumb / chip / title / subtitle / meta layered on top. Overrides
   the earlier "centered cover card" treatment.
   ========================================================================= */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) {
    padding: 96px 0 60px !important;
    min-height: clamp(520px, 78vh, 760px);
    display: flex;
    align-items: center;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2)::after {
    /* Blackish layer — reduces hero image prominence and keeps title text crisp */
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.72) 100%),
        radial-gradient(900px 460px at 85% 10%, rgba(14,165,233,0.10) 0, transparent 60%),
        radial-gradient(900px 460px at -10% 110%, rgba(124,58,237,0.10) 0, transparent 60%);
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .text-block { width: 100%; }

/* Cover image becomes a full-bleed background layer inside the hero */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    aspect-ratio: auto;
    overflow: hidden;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 6s ease;
    filter: saturate(0.95);
    opacity: 0.55;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover:hover img,
.breadcrumb-area.blog-bread:not(.blog-hero-v2):hover .blog-hero-cover img {
    transform: scale(1.05);
}
/* Disable the soft "shadow under the cover" since the cover now is the bg */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover::before { content: none; }
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-hero-cover::after { content: none; }

/* The bread-inner column sits on top of the cover; leave it static so the
   absolute cover bubbles up to the section as its containing block. */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-inner {
    position: static;
    gap: 14px;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-inner > * {
    position: relative;
    z-index: 2;
}

/* Tighter breadcrumb pill inside the cinematic hero */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-crumbs {
    margin: 0 auto 8px;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-crumbs ol {
    background: rgba(11,18,32,0.42);
    border-color: rgba(255,255,255,0.20);
    padding: 6px 16px;
    box-shadow: 0 6px 18px rgba(11,18,32,0.22);
}

/* Category chip on the cinematic hero — slightly stronger glass */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.32) !important;
    box-shadow: 0 10px 24px rgba(11,18,32,0.30) !important;
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-cat-chip.blog-cat-chip--logo {
    background: #ffffff !important;
}

/* Title gets a slightly stronger glow/shadow for legibility on photo */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title h1 {
    text-shadow:
        0 4px 24px rgba(0,0,0,0.50),
        0 2px 8px rgba(0,0,0,0.35);
}
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-title p {
    text-shadow: 0 2px 14px rgba(0,0,0,0.40);
}

/* Meta strip with stronger glass on cinematic hero */
.breadcrumb-area.blog-bread:not(.blog-hero-v2) .blog-meta {
    background: rgba(11,18,32,0.42);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 10px 26px rgba(11,18,32,0.32);
}

/* Mobile: a bit more padding, looser min-height */
@media (max-width: 900px) {
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) {
        padding: 130px 0 48px !important;
        min-height: clamp(440px, 72vh, 620px);
    }
}
@media (max-width: 480px) {
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) {
        padding: 120px 0 40px !important;
        min-height: 0;
    }
    .breadcrumb-area.blog-bread:not(.blog-hero-v2) .bread-inner { gap: 10px; }
}
