/* =========================================
   BLOG PAGE — PREMIUM UI  (blog.css)
   Vindhya Millets | SEO-Optimised Design
   ========================================= */

/* ── 1. Controls Wrapper ─────────────────── */
.blog-controls-wrap {
    position: relative;
    z-index: 10;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    padding: 0;
    transition: box-shadow 0.3s;
}

.blog-controls-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── 2. Top Row: Search + Lang + View ───── */
.blog-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Search */
.blog-search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 520px;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
    pointer-events: none;
    flex-shrink: 0;
}

.blog-search-box input {
    width: 100%;
    height: 46px;
    padding: 0 46px 0 46px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.92rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: var(--font-body);
}

.blog-search-box input::placeholder {
    color: var(--text-secondary);
}

.blog-search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

body.dark-mode .blog-search-box input:focus {
    box-shadow: 0 0 0 3px rgba(100, 232, 166, 0.12);
}

.blog-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.blog-search-clear:hover {
    color: var(--primary-color);
}

.blog-search-box.has-value .blog-search-clear {
    display: flex;
}

/* Lang toggle */
.blog-lang-toggle {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-lang-btn {
    padding: 0 16px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 64px;
}

.blog-lang-btn.active {
    background: var(--primary-color);
    color: #fff;
}

body.dark-mode .blog-lang-btn.active {
    background: #2d6a4f;
}

/* View toggle */
.blog-view-toggle {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.blog-view-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.blog-view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-view-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.blog-view-btn svg {
    width: 17px;
    height: 17px;
}

/* ── 3. Filter Chip Bar ──────────────────── */
.blog-filter-bar {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 14px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    scroll-behavior: smooth;
}

.blog-filter-bar::-webkit-scrollbar {
    display: none;
}

.blog-filter-chip {
    flex-shrink: 0;
    height: 36px;
    padding: 0 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.blog-filter-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.blog-filter-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 3px 10px rgba(45, 106, 79, 0.25);
}

body.dark-mode .blog-filter-chip.active {
    box-shadow: 0 3px 10px rgba(100, 232, 166, 0.2);
}

/* Results count */
.blog-results-count {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-bottom: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    white-space: nowrap;
}

/* ── 4. Blog Grid ────────────────────────── */
.blog-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

/* ── 5. Blog Card ────────────────────────── */
.blog-card-v2 {
    --blog-color: #2d6a4f;
    --blog-rgb: 45, 106, 79;
    --blog-gradient: linear-gradient(135deg, #2d6a4f, #1b4332);
    background: linear-gradient(180deg, #ffffff 0%, rgba(var(--blog-rgb), 0.07) 100%);
    border-radius: 16px;
    border: 1.5px solid rgba(var(--blog-rgb), 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                box-shadow 0.35s cubic-bezier(.4,0,.2,1),
                border-color 0.25s;
    position: relative;
    box-shadow: 0 4px 16px -6px rgba(var(--blog-rgb, 45,106,79), 0.15),
                inset 0 -4px 0 rgba(var(--blog-rgb, 45,106,79), 0.08);
}

body.dark-mode .blog-card-v2 {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(var(--blog-rgb, 45,106,79), 0.09) 100%);
    border-color: rgba(var(--blog-rgb, 45,106,79), 0.24);
    box-shadow: 0 4px 16px -6px rgba(var(--blog-rgb, 45,106,79), 0.22),
                inset 0 -4px 0 rgba(var(--blog-rgb, 45,106,79), 0.12);
}

.blog-card-v2.loaded {
    animation: blogCardIn 0.55s ease forwards;
}

@keyframes blogCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card-v2:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 20px 44px -10px rgba(var(--blog-rgb, 45,106,79), 0.35),
                0 6px 16px -4px rgba(var(--blog-rgb, 45,106,79), 0.18),
                inset 0 -4px 0 rgba(var(--blog-rgb, 45,106,79), 0.12);
    border-color: var(--blog-color, #2d6a4f);
}

body.dark-mode .blog-card-v2:hover {
    box-shadow: 0 18px 42px -10px rgba(var(--blog-rgb, 45,106,79), 0.45),
                inset 0 -4px 0 rgba(var(--blog-rgb, 45,106,79), 0.15);
}

/* Top colored accent stripe — uses per-card color */
.blog-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blog-gradient, linear-gradient(90deg, #10b981, #059669));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 2;
    border-radius: 3px 3px 0 0;
}

.blog-card-v2:hover::before {
    transform: scaleX(1);
}

/* Card image */
.blog-card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-card-v2:hover .blog-card-img-wrap img {
    transform: scale(1.07);
}

/* Category badge on image */
.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(14, 55, 34, 0.88);
    color: #64e8a6;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(100, 232, 166, 0.25);
}

/* Hindi badge */
.blog-lang-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e65c00;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Read-time overlay */
.blog-read-overlay {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
}

/* Card body */
.blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* Meta row */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-meta-item svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Title */
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

/* Excerpt */
.blog-card-excerpt {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

/* CTA button */
.blog-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 4px;
    cursor: pointer;
}

.blog-card-cta svg {
    width: 15px;
    height: 15px;
}

.blog-card-cta:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.25);
}

/* ── 6. LIST VIEW ────────────────────────── */
.blog-listing-grid.list-view {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
    gap: 18px;
}

.blog-listing-grid.list-view .blog-card-v2 {
    flex-direction: row;
    height: 180px;
}

.blog-listing-grid.list-view .blog-card-img-wrap {
    width: 240px;
    height: 100%;
    flex-shrink: 0;
}

.blog-listing-grid.list-view .blog-card-body {
    gap: 8px;
    padding: 16px 20px;
}

.blog-listing-grid.list-view .blog-card-title {
    font-size: 1rem;
}

.blog-listing-grid.list-view .blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 7. Empty State ──────────────────────── */
.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.blog-empty-icon svg {
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.blog-empty-state h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.blog-empty-state p {
    color: var(--text-secondary);
    font-size: 0.93rem;
}

/* ── 8. Centered Premium 3D Pagination ───────────────────────── */
#pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.pagination-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-card, #fff);
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-radius: 20px;
    box-shadow: 0 4px 20px -6px rgba(0,0,0,0.08),
                inset 0 -4px 0 rgba(0,0,0,0.05);
    max-width: 100%;
}

.pagination-info {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary, #888);
    letter-spacing: 0.03em;
    margin: 0;
}

.pagination-info strong {
    color: var(--primary-color, #2d6a4f);
}

.blog-pagination-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Pagination buttons */
.pag-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1.5px solid var(--border-color, #e5e7eb);
    background: var(--bg-card, #fff);
    color: var(--text-primary, #1a1a1a);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    box-shadow: 0 2px 8px -2px rgba(0,0,0,0.07),
                inset 0 -3px 0 rgba(0,0,0,0.07);
    text-decoration: none;
    user-select: none;
}

.pag-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.pag-btn:hover:not([disabled]) {
    background: linear-gradient(135deg, var(--primary-color, #2d6a4f) 0%, #1a4535 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px -6px rgba(45, 106, 79, 0.42),
                0 4px 8px -2px rgba(45, 106, 79, 0.28),
                inset 0 -3px 0 rgba(0,0,0,0.15);
}

/* Active Page */
.pag-btn.active {
    background: linear-gradient(135deg, var(--primary-color, #2d6a4f) 0%, #1a4535 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px -4px rgba(45, 106, 79, 0.48),
                inset 0 -4px 0 rgba(0,0,0,0.18);
    transform: translateY(-1px);
    pointer-events: none;
    cursor: default;
}

/* Prev / Next pills */
.pag-btn.arrow.p-nav {
    min-width: 90px;
    padding: 0 16px;
    gap: 6px;
    font-size: 0.85rem;
    border-radius: 50px;
    color: var(--primary-color, #2d6a4f);
    border: 1.5px solid rgba(45, 106, 79, 0.3);
    box-shadow: 0 3px 10px -3px rgba(45, 106, 79, 0.15),
                inset 0 -3px 0 rgba(45, 106, 79, 0.1);
}

.pag-btn.arrow.p-nav:hover:not([disabled]) {
    background: linear-gradient(135deg, var(--primary-color, #2d6a4f) 0%, #1a4535 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 28px -8px rgba(45, 106, 79, 0.45),
                inset 0 -4px 0 rgba(0,0,0,0.18);
}

.pag-btn[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.pag-ellipsis {
    min-width: 36px;
    height: 44px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    color: var(--text-secondary, #888);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    user-select: none;
}

/* Dark mode pagination */
body.dark-mode .pagination-wrapper {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .pag-btn {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: #e5e7eb;
}

body.dark-mode .pag-btn.arrow.p-nav {
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

body.dark-mode .pag-btn:hover:not([disabled]),
body.dark-mode .pag-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.5),
                inset 0 -3px 0 rgba(0,0,0,0.2);
}

/* ── 8b. Glassmorphic Thumbnail Image Overlays ───────────────────────── */
.blog-img-overlays-bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.blog-img-date {
    background: rgba(6, 36, 20, 0.85);
    border: 1px solid rgba(100, 232, 166, 0.25);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-img-stats {
    display: flex;
    gap: 6px;
}

.blog-img-stat {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-img-stat svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}

/* ── 9. Skeleton Loading ─────────────────── */
.blog-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.blog-skeleton-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.blog-skeleton-img {
    height: 210px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
    background-size: 400% 100%;
    animation: skelPulse 1.4s ease infinite;
}

.blog-skeleton-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skel-line {
    height: 13px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
    background-size: 400% 100%;
    animation: skelPulse 1.4s ease infinite;
}

.skel-line.w-60 {
    width: 60%;
}

.skel-line.w-80 {
    width: 80%;
}

.skel-line.w-40 {
    width: 40%;
}

.skel-line.h20 {
    height: 20px;
}

.skel-line.h36 {
    height: 36px;
    border-radius: 8px;
}

@keyframes skelPulse {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* ── 10. Responsive ──────────────────────── */
@media (max-width: 900px) {
    .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-controls-wrap {
        top: 58px;
    }

    .blog-controls-inner {
        padding: 12px 14px 0;
    }

    .blog-top-row {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .blog-search-box {
        flex: 1;
        min-width: 0;
    }

    .blog-search-box input {
        height: 42px;
        font-size: 0.88rem;
    }

    .blog-lang-btn {
        padding: 0 12px;
        height: 38px;
        font-size: 0.76rem;
    }

    .blog-view-toggle {
        display: none;
    }

    .blog-listing-grid,
    .blog-skeleton-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-grid-section {
        padding: 20px 12px 40px;
    }

    /* List view collapses on mobile */
    .blog-listing-grid.list-view .blog-card-v2 {
        flex-direction: column;
        height: auto;
    }

    .blog-listing-grid.list-view .blog-card-img-wrap {
        width: 100%;
        height: 190px;
    }
}

/* ── 11. Dark Mode tweaks ────────────────── */
body.dark-mode .blog-controls-wrap {
    background: var(--bg-body);
}

body.dark-mode .blog-filter-chip:hover {
    border-color: #52b788;
    color: #52b788;
}

body.dark-mode .blog-card-cta {
    border-color: #52b788;
    color: #52b788;
}

body.dark-mode .blog-card-cta:hover {
    background: #2d6a4f;
    color: #fff;
    box-shadow: 0 5px 15px rgba(100, 232, 166, 0.15);
}

body.dark-mode .pag-btn.active {
    background: #2d6a4f;
    border-color: #2d6a4f;
}

/* ── 12. Page Hero fixes ─────────────────── */
.blog-page-hero {
    background: linear-gradient(135deg, #062414 0%, #0e3722 45%, #1b4332 80%, #2d6a4f 100%);
    padding: 22px 0 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.2);
}

/* Floating Ambient Orbs */
.bh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    animation: orbFloat 12s infinite alternate ease-in-out;
}
.bh-orb-1 {
    width: 250px;
    height: 250px;
    background: #64e8a6;
    top: -50px;
    left: 10%;
}
.bh-orb-2 {
    width: 320px;
    height: 320px;
    background: #f59e0b;
    bottom: -60px;
    right: 5%;
    animation-delay: -3s;
}
.bh-orb-3 {
    width: 180px;
    height: 180px;
    background: #3b82f6;
    top: 30%;
    right: 25%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.15); }
}

/* Floating Emojis / Particles */
.bh-bubble {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    animation: bubbleFloat 8s infinite ease-in-out;
    user-select: none;
}
.bh-b1 { top: 25%; left: 8%; animation-duration: 6s; }
.bh-b2 { top: 60%; left: 15%; animation-duration: 9s; animation-delay: -2s; }
.bh-b3 { top: 15%; right: 12%; animation-duration: 7s; animation-delay: -1s; }
.bh-b4 { top: 55%; right: 18%; animation-duration: 8s; animation-delay: -4s; }
.bh-b5 { top: 40%; left: 45%; animation-duration: 10s; animation-delay: -3s; }

@keyframes bubbleFloat {
    0% { transform: translateY(0) rotate(0deg) scale(0.9); opacity: 0.12; }
    50% { transform: translateY(-20px) rotate(15deg) scale(1.1); opacity: 0.22; }
    100% { transform: translateY(0) rotate(0deg) scale(0.9); opacity: 0.12; }
}

.bh-inner {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(100, 232, 166, 0.08);
    border: 1.5px solid rgba(100, 232, 166, 0.25);
    color: #a7f3d0;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-hero-badge svg {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 3px #64e8a6); }
    100% { transform: scale(1); opacity: 0.8; }
}

.blog-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bh-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    max-width: 660px;
    margin: 0 auto 12px;
    line-height: 1.65;
}

/* Topics Row */
.bh-topics {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.bh-topic {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bh-topic:hover {
    background: #64e8a6;
    color: #062414;
    border-color: #64e8a6;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(100, 232, 166, 0.25);
}

/* Stats Strip & Divider */
.blog-stats-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 14px;
    width: fit-content;
    margin: 0 auto 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-stat {
    text-align: center;
    min-width: 75px;
}

.blog-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    color: #64e8a6;
    line-height: 1.2;
}

.blog-stat span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.bh-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* CTA Arrow down */
.bh-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
    border: 1.5px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.28s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.bh-cta svg {
    transition: transform 0.28s;
}

.bh-cta:hover {
    background: white;
    color: #0e3722;
    border-color: white;
    transform: translateY(3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.bh-cta:hover svg {
    transform: translateY(3px);
}

/* Seamless Looping Marquee */
.bh-marquee-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
}

.bh-marquee {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    animation: marqueeMove 22s linear infinite;
    border: none;
    margin: 0;
    padding: 0;
}

.bh-marquee span {
    display: inline-block;
    margin: 0 15px;
}

.bh-dot {
    color: #64e8a6;
    font-weight: normal;
}

@keyframes marqueeMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.3333%, 0, 0); }
}

/* ── 14. Blog Details Premium UI ──────────────── */
.blog-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.blog-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.blog-content blockquote {
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem 2rem;
    background: rgba(45, 106, 79, 0.05);
    font-style: italic;
    font-size: 1.25rem;
    margin: 2.5rem 0;
    border-radius: 0 15px 15px 0;
    color: var(--text-dark);
}

body.dark-mode .blog-content blockquote {
    background: rgba(100, 232, 166, 0.05);
    color: #eee;
}

/* Glassmorphism Sidebar Widgets */
.sidebar-widget {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.dark-mode .sidebar-widget {
    background: rgba(30, 30, 30, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.widget-title {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 25px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Share Buttons */
.share-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Product Recommendation Card */
.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color) !important;
}

/* Breadcrumb Styling */
.breadcrumb-item+.breadcrumb-item::before {
    content: "\203A" !important;
    color: var(--text-secondary);
}

.tag-badge:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .d-xl-flex.position-fixed {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px !important;
    }

    .blog-hero h1 {
        font-size: 2.2rem !important;
    }

    .blog-content {
        padding: 25px !important;
        font-size: 1.05rem;
    }
}

/* ── 15. Scroll-to-top FAB ───────────────── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: #fff;
}