       /* ============================================
           BLOG PAGE — EDITORIAL LAYOUT
           Left sticky category sidebar + right card grid
        ============================================ */

        .blog-main-section {
            padding: 80px 0 100px;
            background: #f7f8fc;
        }

        /* ---- LEFT SIDEBAR ---- */
        .blog-sidebar {
            position: sticky;
            top: 100px;
        }
        .blog-sidebar-title {
            font-size: 20px;
            font-weight: 800;
            color: #0a1628;
            margin-bottom: 18px;
            font-family: 'Urbanist', sans-serif;
            letter-spacing: -0.3px;
        }
        .blog-cat-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .blog-cat-list li {
            margin-bottom: 8px;
        }
        .blog-cat-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 13px 18px;
            border-radius: 10px;
            border: none;
            background: #fff;
            color: #444;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Urbanist', sans-serif;
            transition: all 0.22s ease;
            text-align: left;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .blog-cat-btn:hover {
            background: #fef3e2;
            color: #0a1628;
        }
        .blog-cat-btn.active {
            background: #0D5FF9;
            color: #fff;
            box-shadow: 0 4px 18px rgba(13,95,249,0.28);
        }
        .blog-cat-btn .cat-count {
            background: rgba(0,0,0,0.08);
            color: inherit;
            font-size: 11px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 50px;
            min-width: 26px;
            text-align: center;
        }
        .blog-cat-btn.active .cat-count {
            background: rgba(255,255,255,0.2);
        }

        /* Sidebar divider */
        .sidebar-divider {
            height: 1px;
            background: #e8ecf5;
            margin: 22px 0;
        }

        /* Sidebar search */
        .blog-search-wrap {
            position: relative;
            margin-bottom: 20px;
        }
        .blog-search-wrap input {
            width: 100%;
            padding: 13px 18px 13px 42px;
            border-radius: 10px;
            border: 1.5px solid #e0e7ff;
            background: #fff;
            font-size: 14px;
            font-family: 'Urbanist', sans-serif;
            color: #333;
            outline: none;
            transition: border-color 0.2s;
        }
        .blog-search-wrap input:focus {
            border-color: #0D5FF9;
        }
        .blog-search-wrap i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            font-size: 15px;
        }

        /* Trending tags */
        .sidebar-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .sidebar-tag {
            display: inline-block;
            padding: 6px 14px;
            background: #fff;
            border: 1.5px solid #e0e7ff;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            color: #555;
            cursor: pointer;
            font-family: 'Urbanist', sans-serif;
            transition: all 0.2s;
        }
        .sidebar-tag:hover {
            background: #0D5FF9;
            border-color: #0D5FF9;
            color: #fff;
        }
        .sidebar-label {
            font-size: 12px;
            font-weight: 700;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 12px;
            display: block;
        }

        /* ---- RIGHT BLOG GRID ---- */
        .blog-grid-area {
            /* scrollable area */
        }

        /* Blog Cards Grid — 3 col */
        .blog-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }
        @media (max-width: 1199px) {
            .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 767px) {
            .blog-cards-grid { grid-template-columns: 1fr; }
        }

        /* Blog Card */
        .blog-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 3px 16px rgba(0,0,0,0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        .blog-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 40px rgba(13,95,249,0.14);
        }

        /* Card image area */
        .blog-card-img {
            position: relative;
            aspect-ratio: 16/10;
            overflow: hidden;
            background: #e0e7ff;
        }
        .blog-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
        .blog-card:hover .blog-card-img img {
            transform: scale(1.06);
        }

        /* Gradient overlay with title on image */
        .blog-card-img-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.2) 55%, transparent 100%);
            display: flex;
            align-items: flex-end;
            padding: 18px 16px;
        }
        .blog-card-img-title {
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.4;
            font-family: 'Urbanist', sans-serif;
            margin: 0;
        }
        .blog-card-img-title span {
            color: #fbbf24;
        }

        /* Category badge on card */
        .blog-card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #0D5FF9;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 50px;
            font-family: 'Urbanist', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        /* Card body */
        .blog-card-body {
            padding: 20px 18px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .blog-card-date {
            font-size: 12px;
            font-weight: 600;
            color: #0D5FF9;
            margin-bottom: 10px;
            font-family: 'Urbanist', sans-serif;
        }
        .blog-card-title {
            font-size: 15px;
            font-weight: 700;
            color: #0a1628;
            line-height: 1.5;
            margin-bottom: 12px;
            font-family: 'Urbanist', sans-serif;
            flex: 1;
        }
        .blog-card-read {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 700;
            color: #0D5FF9;
            text-decoration: none;
            font-family: 'Urbanist', sans-serif;
            transition: gap 0.2s;
        }
        .blog-card-read:hover {
            color: #0D5FF9;
            gap: 10px;
        }
        .blog-card-read i {
            font-size: 12px;
        }

        /* Placeholder for cards without images */
        .blog-img-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            inset: 0;
        }
        .blog-img-placeholder i {
            font-size: 36px;
            color: rgba(255,255,255,0.3);
        }

        /* Vertical orange accent line (right edge like screenshot) */
        .blog-card.featured {
            border-right: 4px solid #0D5FF9;
        }

        /* ---- Blog panel switching ---- */
        .blog-panel {
            display: none;
        }
        .blog-panel.active {
            display: block;
            animation: bfadeIn 0.3s ease;
        }
        @keyframes bfadeIn {
            from { opacity:0; transform:translateY(10px); }
            to   { opacity:1; transform:translateY(0); }
        }

        /* Results count */
        .blog-results-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 10px;
        }
        .blog-results-count {
            font-size: 14px;
            color: #888;
            font-family: 'Urbanist', sans-serif;
        }
        .blog-results-count strong {
            color: #0a1628;
        }
        .blog-sort-select {
            padding: 8px 14px;
            border-radius: 8px;
            border: 1.5px solid #e0e7ff;
            font-size: 13px;
            font-family: 'Urbanist', sans-serif;
            color: #444;
            background: #fff;
            outline: none;
            cursor: pointer;
        }

        /* ---- Why Blog Matters ---- */
        .blog-why {
            padding: 70px 0;
            background: #fff;
        }
        .blog-why .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        .blog-why-card {
            height:130px;
            background: #f7f8fc;
            border-radius: 14px;
            padding: 28px 22px;
            margin-bottom: 24px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
            transition: all 0.3s ease;
            border-left: 4px solid #0D5FF9;
            border-right: 1px solid #0D5FF9;
            border-top: 1px solid #0D5FF9;
            border-bottom: 1px solid #0D5FF9;

            
        }
        .blog-why-card:hover {
            background: #fff;
            box-shadow: 0 8px 32px rgba(13,95,249,0.1);
            transform: translateX(4px);
        }
        .bwc-icon {
            width: 46px;
            height: 46px;
            min-width: 46px;
            background: #e8f0fe;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .bwc-icon i { color: #0D5FF9; font-size: 18px; }
        .bwc-body h5 {
            font-size: 15px;
            font-weight: 700;
            color: #0a1628;
            margin: 0 0 5px;
        }
        .bwc-body p {
            font-size: 13px;
            color: #777;
            margin: 0;
            line-height: 1.6;
            text-align:justify;
        }

        /* Who It's For — tags */
        .who-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 30px;
        }
        .who-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 22px;
            background: #fff;
            border: 2px solid #e0e7ff;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: #333;
            font-family: 'Urbanist', sans-serif;
            transition: all 0.2s;
        }
        .who-tag:hover {
            border-color: #0D5FF9;
            color: #0D5FF9;
            background: #f0f5ff;
        }
        .who-tag i { color: #0D5FF9; font-size: 16px; }

        /* Responsive sidebar collapse */
        @media (max-width: 991px) {
            .blog-sidebar {
                position: static;
                margin-bottom: 36px;
            }
            .blog-cat-list {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
            }
            .blog-cat-list li {
                margin-bottom: 0;
            }
            .blog-cat-btn {
                width: auto;
                padding: 10px 16px;
            }
        }
  
    @media (max-width:768px) {

    .blog-cat-list {
        display: flex;
        flex-wrap: nowrap;        /* prevent wrap */
        overflow-x: auto;         /* enable scroll */
        overflow-y: hidden;
        gap: 10px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .blog-cat-list li {
        flex: 0 0 auto;           /* one by one */
    }

    .blog-cat-btn {
        white-space: nowrap;      /* keep text in one line */
    }

    /* Optional scrollbar */
    .blog-cat-list::-webkit-scrollbar {
        height: 4px;
    }

    .blog-cat-list::-webkit-scrollbar-thumb {
        background: #0D5FF9;
        border-radius: 10px;
    }
}
/* ===== MAKE ALL BLOG CARDS SAME SIZE ===== */

/* Make link wrapper full height */
.blog-card-link {
    display: block;
    height: 100%;
}

/* Card full height */
.blog-card {
    height: 100%;
}

/* Ensure grid items stretch equally */
.blog-cards-grid {
    align-items: stretch;
}

/* Equal content spacing */
.blog-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push button to bottom */
.blog-card-read {
    margin-top: auto;
}

/* Fix title height (important for equal cards) */
.blog-card-title {
    min-height: 48px; /* adjust if needed */
}