/* ================================================================
   MaaBaglamukhi — Hero Slider + Blog Section CSS
   Supplement to main.css
   Version: 1.0.0
   ================================================================ */

/* ================================================================
   HERO SLIDER / BOOTSTRAP CAROUSEL
   ================================================================ */

.maabag-hero-slider-section {
    position: relative;
    overflow: hidden;
}

.maabag-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .maabag-slide { min-height: 85vh; }
}
@media (max-width: 575px) {
    .maabag-slide { min-height: 95vh; }
}

.maabag-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 0, 0, var(--overlay-opacity, 0.70));
    z-index: 1;
}
.maabag-slide-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(255,215,0,0.07) 0%, transparent 70%);
}

.maabag-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 70px 0 100px;
}

.slide-divine-symbol {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    display: inline-block;
    animation: slideSymbolPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 14px rgba(255,215,0,0.5));
}

@keyframes slideSymbolPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50%       { transform: scale(1.12); opacity: 1; }
}

.slide-eyebrow {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #FFD700;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 22px;
    border-radius: 50px;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.slide-heading {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.slide-subheading {
    font-size: clamp(0.98rem, 2vw, 1.18rem);
    color: rgba(255,245,235,0.82);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.slide-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-slide-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #2A0000;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 44px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(255,215,0,0.35);
    letter-spacing: 0.3px;
}

.btn-slide-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255,215,0,0.55);
    color: #1a0000;
}

.btn-slide-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 36px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.btn-slide-secondary:hover {
    background: rgba(37, 211, 102, 0.85);
    border-color: #25D366;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.3);
}

/* Stats row */
.slide-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 20px 30px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.slide-stat {
    flex: 1;
    text-align: center;
    padding: 10px 18px;
    min-width: 110px;
}

.slide-stat .stat-num {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
    white-space: nowrap;
}

.slide-stat .stat-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(212,175,55,0.2);
    flex-shrink: 0;
}

/* Carousel Indicators */
.maabag-slider-indicators {
    bottom: 90px !important;
}

.maabag-slider-indicators [data-bs-target] {
    width: 32px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255,215,0,0.35) !important;
    border: none !important;
    opacity: 1 !important;
    transition: all 0.4s ease !important;
    margin: 0 4px !important;
}

.maabag-slider-indicators .active {
    width: 56px !important;
    background: #FFD700 !important;
}

/* Controls */
.maabag-slider-control {
    width: 52px !important;
    height: 52px !important;
    background: rgba(255,215,0,0.12) !important;
    border: 1.5px solid rgba(255,215,0,0.3) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(8px) !important;
}

.maabag-slider-control:hover {
    background: rgba(255,215,0,0.25) !important;
    border-color: #FFD700 !important;
}

.carousel-control-prev.maabag-slider-control { left: 24px !important; }
.carousel-control-next.maabag-slider-control { right: 24px !important; }

.maabag-slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.maabag-slider-arrow i {
    font-size: 1.6rem;
    color: #FFD700;
    line-height: 1;
}

/* Scroll Down */
.slider-scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
}

.slider-scroll-down span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,215,0,0.7);
}

.slider-scroll-down i {
    font-size: 1.5rem;
    color: rgba(255,215,0,0.7);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

@media (max-width: 767px) {
    .slide-heading { font-size: 2rem !important; }
    .slide-subheading { font-size: 0.93rem !important; }
    .btn-slide-primary, .btn-slide-secondary { padding: 13px 28px; font-size: 0.92rem; }
    .slide-stats-row { padding: 14px 14px; flex-wrap: nowrap; overflow-x: auto; }
    .slide-stat { min-width: 80px; padding: 8px 10px; }
    .stat-divider { height: 36px; }
    .maabag-slider-control { display: none !important; }
    .maabag-slider-indicators { bottom: 60px !important; }
    .maabag-slide-content { padding: 60px 0 80px; }
}


/* ================================================================
   BLOG SECTION — 3-PER-ROW PREMIUM GRID
   ================================================================ */
.maabag-blog-section {
    background: #f8f5f0;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.maabag-blog-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A0404, #FFD700, #4A0404);
}

/* Blog Card */
.maabag-blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(122,16,16,0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.maabag-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(122,16,16,0.12), 0 0 0 1.5px rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.3);
}

/* Thumbnail */
.blog-card-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f0e6e6, #fdf5e0);
}

.blog-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.maabag-blog-card:hover .blog-card-thumb {
    transform: scale(1.07);
}

.blog-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9eded, #fef7e0);
    min-height: 200px;
}

/* Category Badge */
.blog-card-cat-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #7a1010 0%, #4A0404 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74,4,4,0.35);
}

.blog-card-cat-badge:hover {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #2A0000;
}

/* Card Body */
.blog-card-body-premium {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta Row */
.blog-card-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-meta-date,
.blog-meta-read {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.77rem;
    color: #888;
    font-weight: 500;
}

.blog-meta-date i,
.blog-meta-read i {
    font-size: 0.95rem;
    color: #7a1010;
    opacity: 0.7;
}

/* Title */
.blog-card-title-premium {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #4A0404;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title-premium a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title-premium a:hover { color: #7a1010; }

/* Excerpt */
.blog-card-excerpt-premium {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Footer */
.blog-card-footer-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-author img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(122,16,16,0.12);
}

.author-avatar-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a1010, #D4AF37);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4A0404;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Read More */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #7a1010;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1.5px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-read-more i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
}

.blog-read-more:hover i { transform: translateX(4px); }

/* View All */
.btn-blog-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 2px solid #7a1010;
    color: #7a1010;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-blog-all:hover {
    background: #7a1010;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122,16,16,0.3);
}


/* ================================================================
   BLOG ARCHIVE PAGE HERO
   ================================================================ */
.blog-archive-hero {
    background: linear-gradient(135deg, #250101 0%, #4A0404 55%, #400606 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.blog-archive-hero::before {
    content: '📖';
    position: absolute;
    right: -3%;
    top: 50%;
    transform: translateY(-60%);
    font-size: 28vw;
    opacity: 0.03;
    pointer-events: none;
    line-height: 1;
}

.blog-hero-symbol {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.4));
}

.blog-archive-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-archive-sub {
    color: rgba(255,245,235,0.75);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 24px;
}

.blog-hero-wave { margin-top: 48px; line-height: 0; }
.blog-hero-wave svg { display: block; width: 100%; }

.blog-archive-body {
    padding: 60px 0 80px;
    background: #f8f5f0;
    min-height: 60vh;
}


/* ================================================================
   SERVICE SINGLE HEADER
   ================================================================ */
.single-service-header {
    background: linear-gradient(185deg, #4A0404 0%, #250101 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.single-service-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(255,215,0,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.service-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #2A0000;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.35rem;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 14px;
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
}

.service-duration-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    margin-left: 10px;
    margin-bottom: 14px;
}


/* ================================================================
   404 ERROR PAGE
   ================================================================ */
.error-404-section {
    background: linear-gradient(185deg, #4A0404 0%, #250101 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.error-404-number {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #ff8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.error-404-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}


/* ================================================================
   BLOG SECTION — 4-PER-ROW COMPACT CARD ADJUSTMENTS
   ================================================================ */

/* Tighten card body on smaller cards (4-col layout) */
.col-xl-3 .blog-card-body-premium {
    padding: 18px 18px 16px;
}

.col-xl-3 .blog-card-title-premium {
    font-size: 1rem;
    -webkit-line-clamp: 3;
}

.col-xl-3 .blog-card-excerpt-premium {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
}

.col-xl-3 .blog-card-meta-row {
    gap: 10px;
    margin-bottom: 8px;
}

.col-xl-3 .blog-meta-date,
.col-xl-3 .blog-meta-read {
    font-size: 0.73rem;
}

.col-xl-3 .blog-card-footer-premium {
    margin-top: 12px;
    padding-top: 10px;
}

.col-xl-3 .author-name {
    max-width: 80px;
}

.col-xl-3 .blog-read-more {
    font-size: 0.78rem;
}


/* ================================================================
   BLOG ARCHIVE — COUNT BAR
   ================================================================ */
.blog-archive-count-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(122,16,16,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.blog-count-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4A0404;
}

.blog-count-text i {
    color: #7a1010;
    font-size: 1.1rem;
}


/* ================================================================
   BLOG ARCHIVE — PAGINATION
   ================================================================ */
.blog-pagination-wrap {
    display: flex;
    justify-content: center;
}

.maabag-pagination-nav {
    text-align: center;
}

.maabag-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.maabag-page-item {}

.maabag-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #4A0404;
    background: #ffffff;
    border: 1.5px solid rgba(122,16,16,0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1;
}

.maabag-page-link:hover {
    background: linear-gradient(135deg, #7a1010, #4A0404);
    color: #FFD700;
    border-color: #7a1010;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122,16,16,0.25);
}

.maabag-page-item.active .maabag-page-link {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #2A0000;
    border-color: #D4AF37;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255,215,0,0.35);
    transform: translateY(-2px);
}

.maabag-page-item.active .maabag-page-link:hover {
    background: linear-gradient(135deg, #FFE040, #FFD700);
    box-shadow: 0 12px 28px rgba(255,215,0,0.5);
}

/* Prev / Next arrow buttons */
.maabag-page-link i {
    font-size: 1.2rem;
    line-height: 1;
}

/* Dots separator */
.maabag-page-item.dots .maabag-page-link {
    background: transparent;
    border-color: transparent;
    color: #999;
    box-shadow: none;
    pointer-events: none;
    min-width: 28px;
    padding: 0 4px;
}

/* Page info text */
.pagination-info {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

.pagination-info strong {
    color: #4A0404;
    font-weight: 700;
}


/* ================================================================
   BLOG ARCHIVE — NO POSTS STATE
   ================================================================ */
.blog-no-posts {
    padding: 80px 20px;
}

.blog-no-posts-icon {
    font-size: 5rem;
    opacity: 0.2;
    margin-bottom: 16px;
}


/* ================================================================
   RESPONSIVE OVERRIDES — 4-COL GRID
   ================================================================ */
@media (max-width: 1199.98px) {
    /* On large tablets: 2 cols */
    .col-xl-3.col-md-6 {
        /* Bootstrap handles this: col-md-6 = 2 per row */
    }

    .col-xl-3 .blog-card-body-premium {
        padding: 20px 20px 18px;
    }

    .col-xl-3 .blog-card-title-premium {
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    .maabag-blog-section {
        padding: 60px 0;
    }

    .blog-archive-body {
        padding: 40px 0 60px;
    }

    .col-xl-3 .blog-card-body-premium {
        padding: 20px;
    }

    .col-xl-3 .blog-card-title-premium {
        font-size: 1.08rem;
        -webkit-line-clamp: 2;
    }

    .col-xl-3 .blog-card-excerpt-premium {
        -webkit-line-clamp: 3;
    }

    .col-xl-3 .author-name {
        max-width: 140px;
    }

    .maabag-pagination {
        gap: 4px;
    }

    .maabag-page-link {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

@media (max-width: 575.98px) {
    .blog-archive-count-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .maabag-page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
        padding: 0 8px;
    }
}


/* ================================================================
   BLOG PAGE — CATEGORY FILTER TAB BAR
   ================================================================ */
.blog-cat-filter-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(122, 16, 16, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-cat-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
}

.blog-cat-tabs::-webkit-scrollbar {
    display: none;
}

.blog-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.87rem;
    font-weight: 600;
    color: #4A0404;
    background: transparent;
    border: 1.5px solid rgba(122, 16, 16, 0.12);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.blog-cat-tab:hover {
    background: rgba(122, 16, 16, 0.06);
    border-color: rgba(122, 16, 16, 0.3);
    color: #7a1010;
    transform: translateY(-1px);
}

.blog-cat-tab.active {
    background: linear-gradient(135deg, #7a1010 0%, #4A0404 100%);
    border-color: #7a1010;
    color: #FFD700;
    box-shadow: 0 6px 16px rgba(122, 16, 16, 0.3);
}

.blog-cat-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(122, 16, 16, 0.4);
}

.blog-cat-tab i {
    font-size: 1rem;
    line-height: 1;
}

.blog-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(122, 16, 16, 0.1);
    color: #7a1010;
    line-height: 1;
}

.blog-cat-tab.active .blog-cat-count {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}


/* ================================================================
   BLOG PAGE — BODY OVERRIDES
   ================================================================ */
.blog-page-body {
    padding: 50px 0 80px;
}


/* ================================================================
   BLOG PAGE — SEARCH NOTICE
   ================================================================ */
.blog-search-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff8e1;
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #4A0404;
    font-weight: 500;
}

.blog-search-notice i {
    font-size: 1.2rem;
    color: #7a1010;
    flex-shrink: 0;
}

.blog-search-notice strong {
    font-weight: 700;
    color: #7a1010;
}


/* ================================================================
   BLOG PAGE — ACTIVE FILTER BADGE
   ================================================================ */
.blog-count-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    background: linear-gradient(135deg, #7a1010, #4A0404);
    color: #FFD700;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-count-filter-badge i {
    font-size: 0.9rem;
}

.blog-count-clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-left: 2px;
}

.blog-count-clear-filter:hover {
    background: rgba(255, 215, 0, 0.4);
    color: #FFD700;
}

.blog-count-clear-filter i {
    font-size: 0.8rem;
    line-height: 1;
}


/* ================================================================
   RESPONSIVE — FILTER BAR
   ================================================================ */
@media (max-width: 767.98px) {
    .blog-cat-filter-bar {
        position: relative; /* unstick on mobile */
    }

    .blog-cat-tabs {
        padding: 10px 0;
        gap: 4px;
    }

    .blog-cat-tab {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .blog-cat-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.68rem;
    }

    .blog-page-body {
        padding: 36px 0 60px;
    }
}

