/* ==========================================================================
   BIRISU MEDIA — MASTER STYLESHEET (COMPLETE GLOW EDITION)
   Edit colors inside :root to re-theme the entire website instantly.
   ========================================================================== */

:root {
    /* --- Master Brand Colors --- */
    --bm-primary: #0076BE;
    --bm-primary-bright: #0EA5E9;
    --bm-primary-dark: #00558C;
    --bm-primary-light: #E8F4FC;
    --bm-accent: #D9232D;
    --bm-accent-dark: #B01821;

    /* --- Glow & Gradient Tokens --- */
    --bm-glow-primary: 0 0 20px rgba(0, 118, 190, 0.38);
    --bm-glow-bright: 0 0 24px rgba(14, 165, 233, 0.45);
    --bm-glow-accent: 0 0 16px rgba(217, 35, 45, 0.45);
    --bm-nav-gradient: linear-gradient(135deg, var(--bm-primary-dark) 0%, var(--bm-primary) 55%, #0284C7 100%);
    --bm-footer-gradient: linear-gradient(180deg, #0B1220 0%, #070B14 100%);

    /* --- Neutral & Surface Colors --- */
    --bm-dark: #0B1220;
    --bm-dark-card: rgba(255, 255, 255, 0.04);
    --bm-text: #1E293B;
    --bm-text-muted: #64748B;
    --bm-bg-body: #FFFFFF;
    --bm-bg-light: #F8FAFC;
    --bm-border: #E2E8F0;
    --bm-white: #FFFFFF;

    /* --- Typography --- */
    --bm-font-primary: 'Mukta', 'Plus Jakarta Sans', sans-serif;
    --bm-font-english: 'Plus Jakarta Sans', 'Mukta', sans-serif;

    /* --- Layout & Motion --- */
    --bm-radius: 8px;
    --bm-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --bm-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
    --bm-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & GOOGLE TRANSLATE COMPATIBILITY
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bm-font-primary);
    color: var(--bm-text);
    background-color: var(--bm-bg-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: clip; /* Preserves position: sticky while preventing horizontal scroll */
    -webkit-font-smoothing: antialiased;
    top: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.font-en {
    font-family: var(--bm-font-english);
}

a {
    color: var(--bm-text);
    text-decoration: none;
    transition: var(--bm-transition);
}

a:hover {
    color: var(--bm-primary);
}

/* ==========================================================================
   TOP UTILITY BAR (CLEAN — NO SOCIAL ICONS)
   ========================================================================== */
.top-utility-bar {
    background-color: var(--bm-dark);
    color: #CBD5E1;
    font-size: 0.875rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1020;
}

.top-utility-bar .date-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.top-utility-bar .date-meta i {
    color: var(--bm-primary-bright);
}

.top-utility-bar .top-links {
    gap: 16px;
}

.top-utility-bar .top-links a {
    color: #CBD5E1;
    font-size: 0.86rem;
}

.top-utility-bar .top-links a:hover {
    color: var(--bm-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Google Translate Slot */
.gtranslate-slot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    padding: 2px 9px;
    font-size: 0.82rem;
    color: var(--bm-white);
    transition: var(--bm-transition);
}

.gtranslate-slot:hover {
    border-color: var(--bm-primary-bright);
    box-shadow: var(--bm-glow-primary);
}

.gtranslate-slot select,
.gtranslate-slot .goog-te-combo {
    background: transparent;
    color: var(--bm-white);
    border: none;
    outline: none;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 1px 2px;
}

.gtranslate-slot select option {
    color: var(--bm-dark);
    background: var(--bm-white);
}

/* ==========================================================================
   MAIN BRANDING HEADER (DESKTOP)
   ========================================================================== */
.site-branding-bar {
    background: radial-gradient(circle at 10% 50%, rgba(0, 118, 190, 0.06) 0%, #FFFFFF 45%);
    padding: 18px 0;
    border-bottom: 1px solid var(--bm-border);
}

.site-logo img {
    max-height: 64px;
    width: auto;
    display: block;
    transition: var(--bm-transition);
}

.site-logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(0, 118, 190, 0.22));
}

.header-ad-slot {
    display: inline-block;
    max-width: 728px;
    width: 100%;
    border-radius: var(--bm-radius);
    overflow: hidden;
    border: 1px solid var(--bm-border);
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
    line-height: 0;
}

.header-ad-slot img {
    width: 100%;
    max-height: 90px;
    height: auto;
    object-fit: cover;
    display: block;
}

.header-ad-slot:hover {
    border-color: var(--bm-primary-bright);
    box-shadow: var(--bm-glow-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   UNIFIED STICKY NAVIGATION (BOOTSTRAP 5 OFFCANVAS-LG)
   ========================================================================== */
.main-navigation {
    background: var(--bm-nav-gradient);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0;
    transition: box-shadow 0.25s ease;
    border-bottom: 2px solid rgba(14, 165, 233, 0.45);
    box-shadow: 0 4px 20px rgba(0, 118, 190, 0.18);
}

.main-navigation.is-scrolled {
    box-shadow: 0 8px 30px rgba(0, 118, 190, 0.32);
}

/* Font Awesome Rotating Chevron Arrow on Dropdown Menus (Desktop & Mobile) */
.main-navigation .navbar-nav .nav-link.dropdown-toggle::after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f078" !important; /* fa-chevron-down */
    border: none !important;
    vertical-align: middle;
    font-size: 0.72rem;
    line-height: 1;
    width: auto;
    height: auto;
    margin-left: 7px;
    display: inline-block;
    transition: transform 0.25s ease;
    opacity: 0.95;
}

.main-navigation .navbar-nav .nav-link.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Desktop Nav Links (>= 992px) */
@media (min-width: 992px) {
    .main-navigation .navbar-nav {
        width: auto !important;
    }

    .main-navigation .dropdown:hover > .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .main-navigation .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.94);
        font-size: 1.04rem;
        font-weight: 600;
        padding: 13px 14px;
        position: relative;
        white-space: nowrap;
    }

    /* Glowing Bottom Underline uses ::before so ::after stays free for the arrow */
    .main-navigation .navbar-nav .nav-link::before {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 0;
        height: 3px;
        background: var(--bm-white);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
        transform: scaleX(0);
        transition: var(--bm-transition);
        border-radius: 3px 3px 0 0;
    }

    .main-navigation .navbar-nav .nav-link:hover,
    .main-navigation .navbar-nav .nav-link.active,
    .main-navigation .navbar-nav .show > .nav-link {
        background-color: rgba(255, 255, 255, 0.12);
        color: var(--bm-white);
    }

    .main-navigation .navbar-nav .nav-link:hover::before,
    .main-navigation .navbar-nav .nav-link.active::before,
    .main-navigation .navbar-nav .show > .nav-link::before {
        transform: scaleX(1);
    }

    .main-navigation .dropdown-menu {
        border: 1px solid rgba(0, 118, 190, 0.15);
        border-top: 3px solid var(--bm-accent);
        border-radius: 0 0 var(--bm-radius) var(--bm-radius);
        box-shadow: var(--bm-shadow-md);
        padding: 8px 0;
        min-width: 210px;
        margin-top: 0;
    }

    .main-navigation .dropdown-item {
        font-weight: 500;
        font-size: 0.98rem;
        padding: 9px 18px;
        color: var(--bm-text);
    }

    .main-navigation .dropdown-item:hover {
        background-color: var(--bm-primary-light);
        color: var(--bm-primary);
        padding-left: 22px;
    }
}

/* Mobile & Tablet Offcanvas Drawer (< 992px) */
@media (max-width: 991.98px) {
    .main-navigation {
        padding: 8px 0;
    }

    .bm-offcanvas-nav {
        width: 300px !important;
        max-width: 85vw;
        background-color: var(--bm-white);
        z-index: 1055;
    }

    .bm-offcanvas-nav .offcanvas-header {
        background-color: var(--bm-white);
        border-bottom: 1px solid var(--bm-border);
        padding: 16px 20px;
        min-height: 68px;
    }

    .bm-offcanvas-nav .offcanvas-logo {
        height: 34px;
        width: auto;
        display: block;
    }

    .bm-offcanvas-nav .offcanvas-body {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
    }

    .bm-offcanvas-nav .navbar-nav {
        width: 100%;
    }

    .bm-offcanvas-nav .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #F1F5F9;
    }

    .bm-offcanvas-nav .navbar-nav .nav-link {
        width: 100%;
        color: var(--bm-text);
        font-weight: 600;
        font-size: 1.04rem;
        padding: 13px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-left: 3px solid transparent;
    }

    /* Push Font Awesome chevron cleanly to the right edge in mobile drawer */
    .bm-offcanvas-nav .navbar-nav .nav-link.dropdown-toggle::after {
        margin-left: auto;
        font-size: 0.78rem;
        color: var(--bm-primary);
    }

    .bm-offcanvas-nav .navbar-nav .nav-link:hover,
    .bm-offcanvas-nav .navbar-nav .nav-link.active,
    .bm-offcanvas-nav .navbar-nav .nav-link.show {
        background-color: var(--bm-primary-light);
        color: var(--bm-primary);
        border-left-color: var(--bm-primary);
    }

    .bm-offcanvas-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        border-radius: 0;
        background-color: #F8FAFC;
        padding: 4px 0;
        margin: 0;
        box-shadow: none;
    }

    .bm-offcanvas-nav .dropdown-item {
        padding: 10px 20px 10px 36px;
        font-size: 0.96rem;
        font-weight: 500;
        color: var(--bm-text);
    }

    .bm-offcanvas-nav .dropdown-item:hover {
        background-color: var(--bm-primary-light);
        color: var(--bm-primary);
    }
}

/* Nav Right Actions */
.nav-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-live-updates {
    background: linear-gradient(135deg, var(--bm-accent) 0%, #EF4444 100%);
    color: var(--bm-white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--bm-glow-accent);
    white-space: nowrap;
}

.btn-live-updates:hover {
    background: linear-gradient(135deg, var(--bm-accent-dark) 0%, var(--bm-accent) 100%);
    color: var(--bm-white);
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(217, 35, 45, 0.65);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--bm-white);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #FFFFFF;
    animation: bmPulse 1.4s infinite;
}

@keyframes bmPulse {
    0%   { transform: scale(0.9); opacity: 1; }
    50%  { transform: scale(1.4); opacity: 0.55; }
    100% { transform: scale(0.9); opacity: 1; }
}

.nav-icon-btn {
    background: rgba(255, 255, 255, 0.14);
    color: var(--bm-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--bm-transition);
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--bm-white);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.mobile-nav-brand img {
    height: 34px;
    width: auto;
    background: var(--bm-white);
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   TRENDING BAR & SEARCH OVERLAY
   ========================================================================== */
.trending-bar {
    background-color: var(--bm-bg-light);
    border-bottom: 1px solid var(--bm-border);
    padding: 8px 0;
    font-size: 0.92rem;
}

.trending-badge {
    background: linear-gradient(135deg, var(--bm-accent) 0%, #EF4444 100%);
    color: var(--bm-white);
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 4px;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(217, 35, 45, 0.25);
}

.trending-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.trending-tags::-webkit-scrollbar {
    display: none;
}

.trending-tags a {
    color: var(--bm-text);
    background: var(--bm-white);
    border: 1px solid var(--bm-border);
    padding: 2px 13px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 500;
    white-space: nowrap;
}

.trending-tags a:hover {
    border-color: var(--bm-primary);
    color: var(--bm-primary);
    background: var(--bm-primary-light);
}

.search-overlay {
    display: none;
    background-color: var(--bm-white);
    border-bottom: 2px solid var(--bm-primary);
    box-shadow: var(--bm-shadow-md);
    padding: 16px 0;
    position: sticky;
    top: 52px;
    z-index: 1025;
}

.search-overlay .form-control {
    height: 46px;
    font-size: 1rem;
    border-color: var(--bm-border);
    box-shadow: none;
}

.search-overlay .form-control:focus {
    border-color: var(--bm-primary);
    box-shadow: 0 0 0 3px rgba(0, 118, 190, 0.15);
}

.search-overlay .btn-search-submit {
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    padding: 0 20px;
    font-weight: 600;
    border: none;
}

/* ==========================================================================
   FOOTER SECTION (AMBIENT GLOW + FOOTER NAVIGATION MENU)
   ========================================================================== */
.site-footer {
    background: var(--bm-footer-gradient);
    color: #CBD5E1;
    position: relative;
    overflow: hidden;
    padding-top: 58px;
    margin-top: 64px;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bm-primary-dark), var(--bm-primary-bright), var(--bm-accent), var(--bm-primary));
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.55);
}

.site-footer::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 118, 190, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.footer-logo-box {
    display: inline-block;
    background-color: var(--bm-white);
    padding: 10px 16px;
    border-radius: var(--bm-radius);
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 118, 190, 0.25);
}

.footer-logo-box img {
    max-height: 44px;
    width: auto;
    display: block;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.72;
    color: #94A3B8;
    margin-bottom: 18px;
}

.footer-reg-box {
    background: var(--bm-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--bm-primary-bright);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.89rem;
    color: #CBD5E1;
}

.footer-reg-box p {
    margin: 0;
    line-height: 1.65;
}

.footer-heading {
    color: var(--bm-white);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 10px;
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--bm-primary-bright), var(--bm-primary));
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.65);
    border-radius: 2px;
}

/* Footer Navigation Menu (WordPress wp_nav_menu() Ready — 2-Column Responsive Grid) */
.footer-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.footer-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--bm-transition);
}

.footer-nav-menu li:hover {
    border-bottom-color: rgba(14, 165, 233, 0.45);
}

.footer-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.96rem;
    font-weight: 500;
    color: #CBD5E1;
    transition: var(--bm-transition);
}

.footer-nav-menu li a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105"; /* fa-angle-right */
    font-size: 0.78rem;
    color: var(--bm-primary-bright);
    transition: var(--bm-transition);
}

.footer-nav-menu li a:hover {
    color: var(--bm-white);
    padding-left: 5px;
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.45);
}

.footer-nav-menu li a:hover::before {
    color: var(--bm-white);
    transform: translateX(2px);
}

@media (max-width: 380px) {
    .footer-nav-menu {
        grid-template-columns: 1fr;
    }
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 13px;
    font-size: 0.95rem;
    color: #CBD5E1;
}

.footer-contact-list i {
    color: var(--bm-primary-bright);
    margin-top: 5px;
    width: 18px;
    text-align: center;
}

/* Social Icons (FB, X, YT, TikTok Only) */
.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--bm-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-social-icons a:hover {
    background: var(--bm-primary);
    border-color: var(--bm-primary-bright);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-bright);
    transform: translateY(-3px);
}

/* Bottom Copyright Bar */
.footer-bottom {
    background-color: rgba(4, 7, 14, 0.85);
    padding: 18px 0;
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    color: #94A3B8;
    position: relative;
    z-index: 2;
}

.dev-credit-link {
    color: var(--bm-primary-bright);
    font-weight: 600;
}

.dev-credit-link:hover {
    color: var(--bm-white);
    text-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    box-shadow: var(--bm-glow-primary);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    z-index: 1040;
    cursor: pointer;
}

#backToTop:hover {
    box-shadow: var(--bm-glow-bright);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINT REFINEMENTS (XS -> XXL)
   ========================================================================== */
@media (max-width: 575.98px) {
    .top-utility-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    .gtranslate-slot {
        padding: 1px 7px;
        font-size: 0.78rem;
    }
    .btn-live-updates {
        font-size: 0.82rem;
        padding: 5px 10px;
    }
    .mobile-nav-brand img {
        height: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-navigation .navbar-nav .nav-link {
        font-size: 0.96rem;
        padding: 13px 10px;
    }
}

@media (min-width: 1400px) {
    .main-navigation .navbar-nav .nav-link {
        font-size: 1.08rem;
        padding: 14px 17px;
    }
    .site-logo img {
        max-height: 70px;
    }
}

/* ==========================================================================
   CATEGORY PAGE HEADER, LEAD HERO CARD, GRID CARDS & NEPALI PAGINATION
   ========================================================================== */
.bm-category-header {
    background: linear-gradient(135deg, var(--bm-primary-light) 0%, #FFFFFF 65%, #F8FAFC 100%);
    border-bottom: 1px solid var(--bm-border);
    padding: 26px 0;
    position: relative;
}

.bm-breadcrumb {
    font-size: 0.9rem;
}

.bm-breadcrumb .breadcrumb-item a {
    color: var(--bm-primary);
    font-weight: 600;
}

.bm-breadcrumb .breadcrumb-item a:hover {
    color: var(--bm-primary-dark);
}

.bm-breadcrumb .breadcrumb-item.active {
    color: var(--bm-text-muted);
    font-weight: 500;
}

.bm-category-title {
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--bm-dark);
    padding-left: 14px;
    border-left: 4px solid var(--bm-primary);
    line-height: 1.25;
}

.bm-category-desc {
    color: var(--bm-text-muted);
    font-size: 0.98rem;
    max-width: 780px;
}

.bm-category-desc p:last-child {
    margin-bottom: 0;
}

/* Shared News Card Base */
.bm-news-card {
    border: 1px solid var(--bm-border);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bm-white);
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
    position: relative;
}

.bm-news-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--bm-nav-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 4;
}

.bm-news-card:hover {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: var(--bm-glow-primary);
    transform: translateY(-4px);
}

.bm-news-card:hover::after {
    transform: scaleX(1);
}

/* Media Wrapper & Thumbnail */
.bm-card-media {
    position: relative;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* Bottom Gradient Scrim so Writer Badge stays readable on bright photos */
.bm-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(11, 18, 32, 0.65) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bm-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-news-card:hover .bm-card-thumb img {
    transform: scale(1.06);
}

/* Writer Name Overlay Badge on Featured Image */
.bm-writer-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 24px);
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(11, 18, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--bm-white);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    transition: var(--bm-transition);
}

.bm-writer-badge i {
    color: var(--bm-primary-bright);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.bm-writer-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bm-writer-badge a {
    color: var(--bm-white);
}

.bm-news-card:hover .bm-writer-badge {
    background: var(--bm-primary);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: var(--bm-glow-bright);
}

.bm-news-card:hover .bm-writer-badge i {
    color: var(--bm-white);
}

/* First Post: Full-Width Premium Lead Card */
.bm-lead-card {
    border-radius: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    box-shadow: var(--bm-shadow-md);
}

.bm-lead-thumb {
    aspect-ratio: 16 / 9;
    min-height: 100%;
}

.bm-lead-body {
    padding: 28px 32px;
}

.bm-lead-cat-pill {
    display: inline-block;
    align-self: flex-start;
    background: var(--bm-primary-light);
    color: var(--bm-primary);
    border: 1px solid rgba(0, 118, 190, 0.2);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 50px;
}

.bm-lead-title {
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    font-weight: 800;
    line-height: 1.38;
}

.bm-lead-title a {
    color: var(--bm-dark);
}

.bm-lead-card:hover .bm-lead-title a {
    color: var(--bm-primary);
}

.bm-lead-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--bm-primary);
    padding: 7px 16px;
    border-radius: 6px;
    background-color: var(--bm-primary-light);
    transition: var(--bm-transition);
}

.bm-lead-cta:hover {
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
}

/* Standard Grid Card Body */
.bm-card-body {
    padding: 16px 18px 18px;
}

.bm-card-title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-card-title a {
    color: var(--bm-dark);
}

.bm-news-card:hover .bm-card-title a {
    color: var(--bm-primary);
}

/* Bootstrap 5 Nepali Pagination */
.bm-pagination .page-link {
    color: var(--bm-text);
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-radius: 6px !important;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.96rem;
    transition: var(--bm-transition);
    box-shadow: none;
}

.bm-pagination .page-link:hover {
    background-color: var(--bm-primary-light);
    border-color: var(--bm-primary);
    color: var(--bm-primary);
    transform: translateY(-1px);
}

.bm-pagination .page-item.active .page-link {
    background: var(--bm-nav-gradient);
    border-color: var(--bm-primary);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
}

.bm-pagination .page-item.disabled .page-link {
    background-color: var(--bm-bg-light);
    color: var(--bm-text-muted);
    border-color: var(--bm-border);
}

/* Category Responsive Refinements (XS -> XXL) */
@media (max-width: 991.98px) {
    .bm-lead-body {
        padding: 20px 22px;
    }
}

@media (max-width: 575.98px) {
    .bm-category-header {
        padding: 18px 0;
    }
    .bm-lead-body {
        padding: 16px 18px;
    }
    .bm-card-body {
        padding: 14px 16px;
    }
    .bm-card-title {
        font-size: 1.14rem;
    }
    .bm-writer-badge {
        left: 10px;
        bottom: 10px;
        padding: 3px 10px;
        font-size: 0.8rem;
    }
    .bm-pagination .page-link {
        padding: 6px 12px;
        font-size: 0.88rem;
    }
}

@media (min-width: 1400px) {
    .bm-lead-body {
        padding: 34px 40px;
    }
    .bm-card-title {
        font-size: 1.28rem;
    }
}

/* ==========================================================================
   SINGLE NEWS PAGE (RATOPATI-STYLE TYPOGRAPHY & STICKY TITLE BAR)
   ========================================================================== */

/* Sticky Title Bar (Slides cleanly beneath sticky navbar) */
.bm-sticky-title-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 52px; /* Auto-adjusted precisely in JS to sit flush below #mainNav */
    z-index: 1020;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bm-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.bm-sticky-title-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.bm-sticky-title-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.bm-sticky-cat {
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bm-sticky-headline {
    font-size: clamp(1rem, 1.3vw, 1.24rem);
    font-weight: 700;
    color: var(--bm-dark);
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.bm-sticky-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bm-accent);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Reading Progress Bar at bottom edge of Sticky Title */
.bm-read-progress-track {
    width: 100%;
    height: 3px;
    background-color: rgba(0, 118, 190, 0.12);
    overflow: hidden;
}

.bm-read-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--bm-primary), var(--bm-primary-bright), var(--bm-accent));
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.65);
    transition: width 0.08s linear;
}

/* Full-Width Editorial Header */
.bm-editorial-header {
    padding-bottom: 4px;
}

/* Category Pills */
.bm-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bm-single-cat-badge {
    display: inline-block;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 118, 190, 0.22);
}

.bm-single-cat-badge:hover {
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
    transform: translateY(-1px);
}

/* Ratopati-Style Commanding Main Headline (Responsive 28px -> 48px) */
.bm-single-title {
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--bm-dark);
    letter-spacing: -0.015em;
}

/* Subtitle (Responsive 18px -> 24px) */
.bm-single-subtitle {
    font-size: clamp(1.12rem, 1.65vw, 1.48rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--bm-text-muted);
    padding-left: 16px;
    border-left: 4px solid var(--bm-primary-bright);
}

/* Editorial Meta Bar */
.bm-single-meta-bar {
    padding: 14px 18px;
    background-color: var(--bm-bg-light);
    border-top: 2px solid var(--bm-primary);
    border-bottom: 1px solid var(--bm-border);
    border-left: 1px solid var(--bm-border);
    border-right: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
}

.bm-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.bm-meta-writer {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.bm-meta-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    box-shadow: 0 2px 10px rgba(0, 118, 190, 0.28);
    flex-shrink: 0;
}

.bm-meta-writer-name {
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--bm-dark);
}

.bm-meta-writer-name a {
    color: var(--bm-dark);
}

.bm-meta-writer-name a:hover {
    color: var(--bm-primary);
}

.bm-meta-time-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    color: var(--bm-text-muted);
}

.bm-meta-time-group i {
    color: var(--bm-primary);
}

.bm-meta-sep {
    color: #CBD5E1;
}

.bm-meta-ago {
    color: var(--bm-accent);
    font-weight: 600;
}

/* Featured Image & Caption */
.bm-single-featured {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--bm-border);
    background-color: var(--bm-bg-light);
    box-shadow: var(--bm-shadow-sm);
}

.bm-featured-img-frame {
    overflow: hidden;
    background-color: #0B1220;
}

.bm-featured-img-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
}

.bm-photo-caption {
    display: flex;
    align-items: flex-start;
    padding: 11px 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--bm-text-muted);
    background-color: var(--bm-bg-light);
    border-top: 1px solid var(--bm-border);
}

.bm-photo-caption i {
    color: var(--bm-primary);
    margin-top: 4px;
    flex-shrink: 0;
}


/* Premium Editorial Nepali News Body (20px mobile -> 23.2px desktop, Justified) */
.bm-single-content {
    font-size: clamp(1.25rem, 1.55vw, 1.45rem);
    line-height: 1.95;
    color: #182230;
    font-weight: 400;
    letter-spacing: 0.008em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bm-single-content p,
.bm-single-content li {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.55rem;
}

.bm-single-content ul,
.bm-single-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.55rem;
}

.bm-single-content li {
    margin-bottom: 0.65rem;
}

.bm-single-content h2 {
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    color: var(--bm-dark);
    font-weight: 700;
    text-align: left;
    margin-top: 2.1rem;
    margin-bottom: 1rem;
    line-height: 1.38;
}

.bm-single-content h3,
.bm-single-content h4 {
    font-size: clamp(1.32rem, 1.75vw, 1.6rem);
    color: var(--bm-dark);
    font-weight: 700;
    text-align: left;
    margin-top: 1.85rem;
    margin-bottom: 0.9rem;
    line-height: 1.42;
}

.bm-single-content a {
    color: var(--bm-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.bm-single-content a:hover {
    color: var(--bm-primary-dark);
}

.bm-single-content blockquote {
    margin: 2rem 0;
    padding: 22px 26px;
    background: linear-gradient(135deg, var(--bm-primary-light) 0%, #F8FAFC 100%);
    border-left: 4px solid var(--bm-primary);
    border-radius: 0 var(--bm-radius) var(--bm-radius) 0;
    font-size: clamp(1.25rem, 1.5vw, 1.45rem);
    font-weight: 600;
    color: var(--bm-dark);
    line-height: 1.75;
    text-align: left;
}

.bm-single-content blockquote p:last-child {
    margin-bottom: 0;
}

.bm-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bm-radius);
    margin: 1.2rem 0;
}

.bm-single-content iframe,
.bm-single-content video {
    max-width: 100%;
    border-radius: var(--bm-radius);
}

@media (max-width: 575.98px) {
    .bm-single-content {
        font-size: 1.2rem; /* ~19.2px for clean phone reading */
        line-height: 1.88;
    }
    .bm-single-content p {
        margin-bottom: 1.35rem;
    }
}

/* Future In-Paragraph Ad Widget Styling */
.bm-single-content .bm-inline-ad,
.bm-single-content .widget {
    margin: 26px 0;
    padding: 12px;
    background-color: var(--bm-bg-light);
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    text-align: center;
}

/* Tags Section */
.bm-single-tags {
    border-top: 1px solid var(--bm-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bm-tags-label {
    font-weight: 700;
    color: var(--bm-dark);
    font-size: 0.98rem;
}

.bm-tags-label i {
    color: var(--bm-primary);
}

.bm-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bm-tags-list a {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--bm-text);
    background-color: var(--bm-bg-light);
    border: 1px solid var(--bm-border);
    border-radius: 50px;
}

.bm-tags-list a:hover {
    background-color: var(--bm-primary-light);
    border-color: var(--bm-primary);
    color: var(--bm-primary);
}

/* Bottom ShareThis Bar */
.bm-single-share-bottom {
    padding: 16px 20px;
    background-color: var(--bm-bg-light);
    border: 1px solid var(--bm-border);
    border-left: 4px solid var(--bm-primary);
    border-radius: var(--bm-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bm-share-label {
    font-weight: 700;
    color: var(--bm-dark);
    font-size: 1rem;
}

.bm-share-label i {
    color: var(--bm-primary);
}

/* Sticky Sidebar (Offset accounts for Navbar + Sticky Title Bar) */
@media (min-width: 992px) {
    .bm-sticky-sidebar {
        position: sticky;
        top: 124px;
    }

    body.admin-bar .bm-sticky-sidebar {
        top: 156px;
    }
}

/* Responsive Refinements */
@media (max-width: 767.98px) {
    .bm-single-meta-bar {
        padding: 12px 14px;
    }
    .bm-sticky-title-inner {
        padding: 8px 0;
    }
    .bm-sticky-headline {
        font-size: 0.96rem;
    }
}

























/* ==========================================================================
   SIDEBAR: 5 LATEST POSTS (PREMIUM CARD + SMOOTH HOVER)
   ========================================================================== */
.bm-sidebar-box {
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
}

.bm-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bm-nav-gradient);
    border-bottom: 2px solid rgba(14, 165, 233, 0.45);
}

.bm-sidebar-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--bm-white);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.bm-title-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--bm-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 0 10px var(--bm-accent);
    animation: bmPulse 1.5s infinite;
    flex-shrink: 0;
}

.bm-sidebar-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.14);
    padding: 3px 9px;
    border-radius: 50px;
}

.bm-latest-list {
    padding: 8px 14px;
}

.bm-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 6px;
    border-bottom: 1px solid #F1F5F9;
    border-left: 3px solid transparent;
    border-radius: 6px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.28s ease,
                border-color 0.28s ease;
}

.bm-latest-item:last-child {
    border-bottom: none;
}

.bm-latest-item:hover {
    background-color: var(--bm-primary-light);
    border-left-color: var(--bm-primary);
    transform: translateX(4px);
}

.bm-latest-thumb {
    position: relative;
    width: 102px;
    height: 74px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.bm-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-latest-item:hover .bm-latest-thumb img {
    transform: scale(1.09);
}

.bm-latest-rank {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(11, 18, 32, 0.82);
    color: var(--bm-white);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: var(--bm-transition);
}

.bm-latest-item:hover .bm-latest-rank {
    background: var(--bm-accent);
    box-shadow: var(--bm-glow-accent);
    transform: scale(1.08);
}

.bm-latest-info {
    flex: 1;
    min-width: 0;
}

.bm-latest-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-latest-title a {
    color: var(--bm-dark);
}

.bm-latest-item:hover .bm-latest-title a {
    color: var(--bm-primary);
}

.bm-latest-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bm-text-muted);
    display: inline-flex;
    align-items: center;
}

.bm-latest-meta i {
    color: var(--bm-primary);
    font-size: 0.76rem;
}

/* ==========================================================================
   RELATED NEWS: 8 POSTS (PRO EDITORIAL GRID + SMOOTH EFFECTS)
   ========================================================================== */
.bm-related-section {
    padding-top: 8px;
}

.bm-section-heading-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bm-section-heading {
    font-size: clamp(1.32rem, 2vw, 1.65rem);
    font-weight: 800;
    color: var(--bm-dark);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.bm-section-heading i {
    color: var(--bm-primary);
}

.bm-section-line {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--bm-primary) 0%, var(--bm-primary-bright) 40%, var(--bm-border) 100%);
}

.bm-related-card {
    border: 1px solid var(--bm-border);
    border-radius: 11px;
    overflow: hidden;
    background-color: var(--bm-white);
    box-shadow: var(--bm-shadow-sm);
    position: relative;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
}

.bm-related-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--bm-nav-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.bm-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: var(--bm-glow-primary);
}

.bm-related-card:hover::after {
    transform: scaleX(1);
}

.bm-related-media {
    position: relative;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-related-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.bm-related-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 32, 0.62) 100%);
    pointer-events: none;
}

.bm-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-related-card:hover .bm-related-thumb img {
    transform: scale(1.07);
}

.bm-related-card:hover .bm-related-writer {
    background: var(--bm-primary);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: var(--bm-glow-bright);
}

.bm-related-card:hover .bm-related-writer i {
    color: var(--bm-white);
}

.bm-related-body {
    padding: 15px 17px 14px;
}

.bm-related-title {
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.44;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-related-title a {
    color: var(--bm-dark);
}

.bm-related-card:hover .bm-related-title a {
    color: var(--bm-primary);
}

.bm-related-meta {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bm-text-muted);
    padding-top: 9px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
}

.bm-related-meta i {
    color: var(--bm-primary);
    font-size: 0.78rem;
}

@media (max-width: 575.98px) {
    .bm-latest-thumb {
        width: 88px;
        height: 66px;
    }
    .bm-latest-title {
        font-size: 0.96rem;
    }
    .bm-related-body {
        padding: 13px 15px;
    }
    .bm-related-title {
        font-size: 1.06rem;
    }
}


/* ==========================================================================
   FIX SHARETHIS INLINE BUTTONS OVERLAPPING STICKY NAVBAR & STICKY TITLE
   ========================================================================== */
.bm-single-meta-bar,
.bm-single-share-bottom,
.bm-sharethis-wrap {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.sharethis-inline-share-buttons,
.st-inline-share-buttons,
.sharethis-inline-share-buttons .st-btn {
    z-index: 1 !important;
}



/* ==========================================================================
   UNIVERSAL ADVERTISEMENT SYSTEM (.long-ad-area & .all_ads)
   ========================================================================== */

/* Outer Wrapper from bhawesh_universal_ads() */
.long-ad-area {
    width: 100%;
}

/* Individual Image Widget Container (.all_ads) */
.long-ad-area .all_ads,
.all_ads {
    width: 100%;
    line-height: 0;
    text-align: center;
    overflow: hidden;
    border-radius: var(--bm-radius);
    background-color: transparent;
    transition: var(--bm-transition);
}

/* Reset Extra Spacing Added by WP Block & Classic Image Widgets */
.long-ad-area .all_ads p,
.long-ad-area .all_ads figure,
.long-ad-area .all_ads .wp-block-image,
.long-ad-area .all_ads .widget_media_image,
.all_ads p,
.all_ads figure,
.all_ads .wp-block-image,
.all_ads .widget_media_image {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.long-ad-area .all_ads a,
.all_ads a {
    display: block;
    width: 100%;
    line-height: 0;
}

/* Universal Responsive Image Fitting */
.long-ad-area .all_ads img,
.all_ads img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: var(--bm-radius);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--bm-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.long-ad-area .all_ads a:hover img,
.all_ads a:hover img {
    border-color: var(--bm-primary-bright);
    box-shadow: var(--bm-glow-primary);
}

/* Optional Caption Support */
.long-ad-area .all_ads figcaption,
.long-ad-area .all_ads .wp-caption-text,
.all_ads figcaption,
.all_ads .wp-caption-text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--bm-text-muted);
    padding: 5px 8px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   AREA-SPECIFIC AUTO-FITTING
   -------------------------------------------------------------------------- */

/* 1. Header Logo-Side Ad (logoads) */
.site-branding-bar .long-ad-area {
    max-width: 728px;
    margin-left: auto;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.site-branding-bar .long-ad-area .all_ads img,
.site-branding-bar .all_ads img {
    max-height: 95px;
    object-fit: contain;
}

/* 2. Sidebar Stacked Ads */
.bm-sticky-sidebar .long-ad-area,
.bm-sidebar-widget .long-ad-area {
    margin-top: 0 !important;
}

/* 3. Single Post In-Paragraph Ads */
.bm-single-content .long-ad-area {
    margin: 22px 0 !important;
}

.bm-single-content .long-ad-area .all_ads img {
    margin: 0 auto !important;
}

/* --------------------------------------------------------------------------
   OPTIONAL: SIDE-BY-SIDE MULTI-AD GRIDS (2 OR 3 BANNERS IN ONE ROW)
   -------------------------------------------------------------------------- */
.bm-ad-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.bm-ad-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

@media (max-width: 767.98px) {
    .bm-ad-grid-2,
    .bm-ad-grid-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}










/* ==========================================================================
   SKIP AD POPUP MODAL (BOOTSTRAP 5)
   ========================================================================== */
.bm-skip-ad-modal {
    z-index: 1060;
}

.bm-skip-ad-modal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bm-white);
    box-shadow: 0 20px 50px rgba(11, 18, 32, 0.45);
}

.bm-skip-ad-header {
    background: var(--bm-dark);
    padding: 10px 14px;
    border-bottom: 2px solid var(--bm-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bm-skip-ad-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
}

.bm-skip-ad-badge i {
    color: var(--bm-primary-bright);
}

.bm-skip-ad-btn {
    background: linear-gradient(135deg, var(--bm-accent) 0%, #EF4444 100%);
    color: var(--bm-white);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 6px;
    border: none;
    line-height: 1.2;
    transition: var(--bm-transition);
}

.bm-skip-ad-btn:hover {
    background: var(--bm-accent-dark);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-accent);
}

.bm-skip-ad-body .all_ads {
    margin: 0 !important;
}

.bm-skip-ad-body .all_ads img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: none;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .bm-skip-ad-modal .modal-dialog {
        margin: 12px;
    }
    .bm-skip-ad-body .all_ads img {
        max-height: 68vh;
    }
}















/* ==========================================================================
   FULL-SCREEN BREAKING / LEAD NEWS SECTION (MENU-ALIGNED & RESPONSIVE)
   ========================================================================== */
.bm-fullscreen-section {
    background-color: var(--bm-bg-body);
}

.bm-hero-news {
    width: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--bm-border);
    border-top: 4px solid var(--bm-primary);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 38px) clamp(16px, 3vw, 36px);
    margin-bottom: 26px;
    box-shadow: var(--bm-shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.bm-hero-news:last-child {
    margin-bottom: 0;
}

.bm-hero-news:hover {
    border-color: rgba(14, 165, 233, 0.4);
    border-top-color: var(--bm-primary);
    box-shadow: var(--bm-shadow-md);
}

/* Kicker Badge */
.bm-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 118, 190, 0.25);
    transition: var(--bm-transition);
}

.bm-hero-kicker:hover {
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
    transform: translateY(-1px);
}

.bm-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--bm-white);
    box-shadow: 0 0 8px #FFFFFF;
    animation: bmPulse 1.5s infinite;
}

/* Responsive Headline (26px mobile -> 52px desktop) */
.bm-hero-title {
    font-size: clamp(1.625rem, 3.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.015em;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.bm-hero-title a {
    color: var(--bm-dark);
    transition: color 0.25s ease;
}

.bm-hero-title a:hover {
    color: var(--bm-primary);
}

/* Responsive Subtitle (17px mobile -> 24px desktop) */
.bm-hero-subtitle {
    font-size: clamp(1.06rem, 1.6vw, 1.48rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--bm-text-muted);
    max-width: 900px;
}

/* Centered Writer Pill */
.bm-hero-meta-wrap {
    display: flex;
    justify-content: center;
}

.bm-hero-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 18px;
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.bm-hero-site-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--bm-border);
    padding: 2px;
    background-color: var(--bm-white);
    flex-shrink: 0;
}

.bm-hero-writer {
    font-size: clamp(0.9rem, 1.1vw, 1.02rem);
    font-weight: 700;
    color: var(--bm-dark);
}

.bm-hero-writer a {
    color: var(--bm-dark);
}

.bm-hero-writer a:hover {
    color: var(--bm-primary);
}

/* Featured Image Frame */
.bm-hero-img-frame {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bm-border);
    box-shadow: var(--bm-shadow-md);
    background-color: #0B1220;
}

.bm-hero-img-frame img {
    display: block;
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-hero-news:hover .bm-hero-img-frame img {
    transform: scale(1.03);
}

/* Responsive Excerpt (17px mobile -> 21px desktop) */
.bm-hero-excerpt {
    font-size: clamp(1.06rem, 1.35vw, 1.3rem);
    line-height: 1.82;
    color: #334155;
    max-width: 920px;
    font-weight: 400;
}

/* Mobile Refinements */
@media (max-width: 575.98px) {
    .bm-hero-news {
        border-radius: 10px;
    }
    .bm-hero-meta {
        padding: 5px 14px;
        gap: 8px;
    }
    .bm-hero-site-icon {
        width: 22px;
        height: 22px;
    }
    .bm-hero-img-frame {
        border-radius: 8px;
    }
}












/* taja */

/* ==========================================================================
   TAJA UPDATE FLOATING MEGA-CARD (FIXED HOVER & MOBILE CLOSE)
   ========================================================================== */
.bm-taja-wrap {
    position: relative;
}

.bm-taja-arrow {
    font-size: 0.66rem;
    transition: transform 0.25s ease;
    opacity: 0.9;
}

.bm-taja-panel {
    position: absolute;
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    width: 820px;
    max-width: calc(100vw - 40px);
    z-index: 1050;
    background: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-top: 3px solid var(--bm-accent);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 50px rgba(11, 18, 32, 0.18), 0 4px 14px rgba(0, 118, 190, 0.08);
    padding: 18px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s ease;
}

/* Generous Hover Bridge Between Button & Panel */
.bm-taja-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

/* Single Clean Open State (Works for Desktop Hover & Mobile Tap) */
.bm-taja-wrap.is-open .bm-taja-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.bm-taja-wrap.is-open .bm-taja-arrow {
    transform: rotate(180deg);
}

/* Panel Header */
.bm-taja-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--bm-border);
}

.bm-taja-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--bm-dark);
}

.bm-taja-viewall {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bm-primary);
    background-color: var(--bm-primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    transition: var(--bm-transition);
}

.bm-taja-viewall i {
    transition: transform 0.25s ease;
}

.bm-taja-viewall:hover {
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
}

.bm-taja-viewall:hover i {
    transform: translateX(3px);
}

/* Individual Mini-Card */
.bm-taja-card {
    background-color: var(--bm-white);
    border: 1px solid #EEF2F6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease;
}

.bm-taja-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 10px 24px rgba(0, 118, 190, 0.14);
}

.bm-taja-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-taja-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-taja-card:hover .bm-taja-thumb img {
    transform: scale(1.07);
}

.bm-taja-body {
    padding: 9px 10px 11px;
    flex: 1;
}

.bm-taja-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-taja-title a {
    color: var(--bm-dark);
}

.bm-taja-card:hover .bm-taja-title a {
    color: var(--bm-primary);
}

/* Mobile & Tablet Fit (< 992px) */
@media (max-width: 991.98px) {
    .bm-taja-wrap {
        position: static;
    }
    .bm-taja-panel {
        left: 12px;
        right: 12px;
        top: 100%;
        width: auto;
        max-width: none;
        max-height: 76vh;
        overflow-y: auto;
        padding: 14px 14px 16px;
        border-radius: 0 0 12px 12px;
    }
    .bm-taja-body {
        padding: 7px 8px 9px;
    }
    .bm-taja-title {
        font-size: 0.84rem;
        line-height: 1.36;
    }
} 













/* 1 design */

/* ==========================================================================
   REUSABLE CATEGORY TITLE HEADER (USE ACROSS ALL SECTIONS)
   ========================================================================== */
.bm-cat-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.bm-cat-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    flex-shrink: 0;
}

.bm-cat-title a {
    color: var(--bm-primary);
    position: relative;
    display: inline-block;
    transition: var(--bm-transition);
}

.bm-cat-title a:hover {
    color: var(--bm-accent);
}

/* Optional Red Accent Variant: add class="bm-cat-head bm-cat-head--accent" */
.bm-cat-head--accent .bm-cat-title a {
    color: var(--bm-accent);
}

/* Clean Stretching Middle Line */
.bm-cat-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 118, 190, 0.35) 0%, var(--bm-border) 35%, var(--bm-border) 100%);
    min-width: 24px;
}

/* Right "थप समाचार ↗" Link */
.bm-cat-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(0.88rem, 1vw, 0.98rem);
    font-weight: 600;
    color: var(--bm-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 50px;
    transition: var(--bm-transition);
}

.bm-cat-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.bm-cat-more:hover {
    color: var(--bm-primary);
    background-color: var(--bm-primary-light);
}

.bm-cat-more:hover .bm-cat-arrow {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   4-COLUMN PORTRAIT OVERLAY CARDS (RATOPATI ANUWAD STYLE)
   ========================================================================== */
.bm-portrait-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bm-dark);
    box-shadow: var(--bm-shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.bm-portrait-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bm-shadow-md);
}

.bm-portrait-link {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.bm-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-portrait-card:hover .bm-portrait-img {
    transform: scale(1.06);
}

.bm-portrait-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px 18px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.58) 72%,
        rgba(0, 0, 0, 0.92) 100%
    );
    transition: background 0.3s ease;
}

.bm-portrait-card:hover .bm-portrait-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 32%,
        rgba(0, 0, 0, 0.65) 68%,
        rgba(0, 0, 0, 0.96) 100%
    );
}

.bm-portrait-title {
    margin: 0;
    color: var(--bm-white);
    font-size: clamp(0.98rem, 1.35vw, 1.24rem);
    font-weight: 700;
    line-height: 1.42;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.bm-portrait-card:hover .bm-portrait-title {
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .bm-cat-head {
        gap: 10px;
        margin-bottom: 14px;
    }
    .bm-portrait-overlay {
        padding: 14px 12px;
    }
    .bm-portrait-title {
        font-size: 0.92rem;
        line-height: 1.36;
    }
}










/* 2 */


/* ==========================================================================
   REUSABLE EDITORIAL SECTION BACKGROUNDS
   ========================================================================== */
.bm-bg-warm {
    background-color: #FDF9EB; /* Soft Warm Cream (Headline Style) */
    border-top: 1px solid #F3E9C6;
    border-bottom: 1px solid #F3E9C6;
}

.bm-bg-sky {
    background-color: #F0F7FC; /* Soft Birisu Ice Blue */
    border-top: 1px solid #DCECF7;
    border-bottom: 1px solid #DCECF7;
}

.bm-bg-blush {
    background-color: #FDF3F3; /* Soft Editorial Rose */
    border-top: 1px solid #F6DFDF;
    border-bottom: 1px solid #F6DFDF;
}

.bm-bg-mint {
    background-color: #F1FAF5; /* Soft Mint Tint */
    border-top: 1px solid #D9EFE2;
    border-bottom: 1px solid #D9EFE2;
}

.bm-bg-slate {
    background-color: #F4F6F9; /* Clean Light Neutral Gray */
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* ==========================================================================
   HEADLINE 3x3 HORIZONTAL NEWS GRID
   ========================================================================== */
.bm-headline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px;
    margin: -8px;
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bm-headline-item:hover {
    background-color: rgba(255, 255, 255, 0.78);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* Left Thumbnail */
.bm-headline-thumb {
    display: block;
    width: 124px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 7px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.bm-headline-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-headline-item:hover .bm-headline-thumb img {
    transform: scale(1.07);
}

/* Right Headline */
.bm-headline-body {
    flex: 1;
    min-width: 0;
}

.bm-headline-title {
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-headline-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-headline-item:hover .bm-headline-title a {
    color: var(--bm-primary);
}

/* Mobile Refinements */
@media (max-width: 767.98px) {
    .bm-headline-item {
        padding: 8px 6px 14px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .bm-headline-section .col-12:last-child .bm-headline-item {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .bm-headline-thumb {
        width: 108px;
        height: 70px;
    }

    .bm-headline-title {
        font-size: 0.96rem;
        line-height: 1.4;
    }
}


/* 33 */

/* ==========================================================================
   SPLIT NEWS GRID + STICKY RIGHT SIDEBAR (COMPACT & RESPONSIVE)
   ========================================================================== */
.bm-split-section {
    background-color: var(--bm-white);
}

/* Left 3x2 Cards */
.bm-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bm-grid-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.bm-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bm-grid-card:hover .bm-grid-thumb img {
    transform: scale(1.06);
}

.bm-grid-title {
    margin: 0;
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    font-weight: 700;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-grid-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-grid-card:hover .bm-grid-title a {
    color: var(--bm-primary);
}

/* Right Sticky Box */
.bm-sticky-box {
    position: sticky;
    top: 84px;
    background-color: #F8FAFC;
    border: 1px solid var(--bm-border);
    border-top: 3px solid var(--bm-primary);
    border-radius: 10px;
    padding: 18px 18px 10px;
}

.bm-sticky-box .bm-cat-head {
    margin-bottom: 14px;
}

.bm-sticky-box .bm-cat-more {
    display: none;
}

/* Right List Items */
.bm-mustread-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bm-border);
}

.bm-mustread-item:first-child {
    padding-top: 4px;
}

.bm-mustread-item:last-child {
    border-bottom: none;
    padding-bottom: 6px;
}

.bm-mustread-thumb {
    display: block;
    width: 96px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-mustread-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.bm-mustread-item:hover .bm-mustread-thumb img {
    transform: scale(1.07);
}

.bm-mustread-title {
    flex: 1;
    min-width: 0;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-mustread-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-mustread-item:hover .bm-mustread-title a {
    color: var(--bm-primary);
}

/* Mobile Reset */
@media (max-width: 991.98px) {
    .bm-sticky-box {
        position: static;
        padding: 14px 14px 8px;
    }
}

@media (max-width: 575.98px) {
    .bm-grid-title {
        font-size: 0.9rem;
        line-height: 1.38;
    }
    .bm-mustread-thumb {
        width: 84px;
        height: 58px;
    }
} 





/* ==========================================================================
   LEFT BLOCK 2: 2-COLUMN HORIZONTAL SAMACHAR LIST
   ========================================================================== */
.bm-samachar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px;
    margin: -8px;
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.bm-samachar-item:hover {
    background-color: #F8FAFC;
    transform: translateY(-2px);
}

.bm-samachar-thumb {
    display: block;
    width: 122px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 7px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.bm-samachar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bm-samachar-item:hover .bm-samachar-thumb img {
    transform: scale(1.07);
}

.bm-samachar-body {
    flex: 1;
    min-width: 0;
}

.bm-samachar-title {
    font-size: clamp(0.98rem, 1.15vw, 1.1rem);
    font-weight: 700;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-samachar-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-samachar-item:hover .bm-samachar-title a {
    color: var(--bm-accent);
}

.bm-samachar-time {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--bm-text-muted);
    margin-top: 4px;
}

.bm-samachar-time i {
    font-size: 0.78rem;
    color: #94A3B8;
}

@media (max-width: 767.98px) {
    .bm-samachar-item {
        padding: 8px 4px 14px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--bm-border);
    }

    .bm-samachar-block .col-12:last-child .bm-samachar-item {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .bm-samachar-thumb {
        width: 106px;
        height: 70px;
    }

    .bm-samachar-title {
        font-size: 0.96rem;
        line-height: 1.4;
    }
}


/* 44 */

/* ==========================================================================
   4-CATEGORY EDITORIAL SECTION (STICKY LEFT INTERVIEW + 3 RIGHT OPINION)
   ========================================================================== */
.bm-interview-section {
    background-color: var(--bm-white);
}

/* Sticky Left Wrapper (Desktop Only) */
.bm-interview-sticky {
    position: sticky;
    top: 84px;
}

/* 1. Featured Split Hero Card */
.bm-interview-hero {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--bm-shadow-md);
    border: 1px solid var(--bm-border);
    background-color: #0B2A4A;
}

.bm-interview-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    background-color: var(--bm-dark);
}

.bm-interview-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-interview-hero:hover .bm-interview-hero-img img {
    transform: scale(1.05);
}

.bm-interview-hero-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 26px 28px;
    background: linear-gradient(145deg, #0B2A4A 0%, #005A8D 100%);
    color: var(--bm-white);
}

.bm-quote-mark {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.bm-interview-hero-title {
    position: relative;
    z-index: 2;
    font-size: clamp(1.25rem, 1.8vw, 1.62rem);
    font-weight: 800;
    line-height: 1.38;
    margin-bottom: 14px;
}

.bm-interview-hero-title a {
    color: var(--bm-white);
    transition: color 0.2s ease;
}

.bm-interview-hero-title a:hover {
    color: #BAE6FD;
}

.bm-interview-hero-excerpt {
    position: relative;
    z-index: 2;
    font-size: clamp(0.95rem, 1.08vw, 1.05rem);
    line-height: 1.72;
    color: rgba(241, 245, 249, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2. Bottom 3-Column Interview Cards */
.bm-interview-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bm-interview-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}

.bm-interview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bm-interview-card:hover .bm-interview-thumb img {
    transform: scale(1.06);
}

.bm-interview-card-title {
    font-size: clamp(0.96rem, 1.12vw, 1.08rem);
    font-weight: 700;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-interview-card-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-interview-card:hover .bm-interview-card-title a {
    color: var(--bm-primary);
}

/* 3. Right Column: 3 Stacked Opinion/Blog Categories */
.bm-opinion-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bm-opinion-group .bm-cat-head {
    margin-bottom: 14px;
    gap: 10px;
}

.bm-opinion-group .bm-cat-title {
    font-size: clamp(1.25rem, 1.5vw, 1.55rem);
}

.bm-opinion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 8px;
    margin: 0 -8px;
    border-radius: 10px;
    border-bottom: 1px solid #F1F5F9;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.bm-opinion-item:last-child {
    border-bottom: none;
}

.bm-opinion-item:hover {
    background-color: #F8FAFC;
    transform: translateX(3px);
}

.bm-opinion-avatar {
    display: block;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #E2E8F0;
    padding: 2px;
    background-color: var(--bm-white);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bm-opinion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bm-opinion-item:hover .bm-opinion-avatar {
    border-color: var(--bm-primary);
    box-shadow: 0 0 0 3px rgba(0, 118, 190, 0.14);
}

.bm-opinion-body {
    flex: 1;
    min-width: 0;
}

.bm-opinion-title {
    font-size: clamp(0.96rem, 1.08vw, 1.05rem);
    font-weight: 700;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-opinion-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-opinion-item:hover .bm-opinion-title a {
    color: var(--bm-primary);
}

.bm-opinion-writer {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bm-text-muted);
    margin-top: 3px;
}

.bm-opinion-writer i {
    font-size: 0.75rem;
    color: var(--bm-primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .bm-interview-sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .bm-interview-hero-img {
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }
    .bm-interview-hero-content {
        padding: 24px 18px 22px;
    }
    .bm-quote-mark {
        font-size: 2.4rem;
        top: 12px;
        right: 16px;
    }
    .bm-opinion-avatar {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 575.98px) {
    .bm-interview-card-title {
        font-size: 0.9rem;
        line-height: 1.38;
    }
} 










/* ==========================================================================
   DARK FEATURE AUTO-SCROLL CAROUSEL (OWL CAROUSEL 2)
   ========================================================================== */
.bm-feature-dark {
    background: linear-gradient(180deg, #121521 0%, #171B29 100%);
    color: var(--bm-white);
    border-top: 3px solid var(--bm-primary);
}

/* Dark-Mode Override for Reusable bhawesh_menus_with_links() */
.bm-feature-dark .bm-cat-head {
    margin-bottom: 24px;
}

.bm-feature-dark .bm-cat-title a {
    color: var(--bm-white);
}

.bm-feature-dark .bm-cat-title a:hover {
    color: var(--bm-primary-bright);
}

.bm-feature-dark .bm-cat-line {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.5) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.08) 100%);
}

.bm-feature-dark .bm-cat-more {
    color: #CBD5E1;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.bm-feature-dark .bm-cat-more:hover {
    background-color: var(--bm-white);
    color: #121521;
}

/* Individual Dark Feature Card */
.bm-dark-card {
    display: flex;
    flex-direction: column;
}

.bm-dark-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1E2436;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.bm-dark-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-dark-card:hover .bm-dark-thumb img {
    transform: scale(1.07);
}

.bm-dark-title {
    font-size: clamp(0.98rem, 1.18vw, 1.14rem);
    font-weight: 700;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-dark-title a {
    color: #F1F5F9;
    transition: color 0.2s ease;
}

.bm-dark-card:hover .bm-dark-title a {
    color: #38BDF8;
}

/* Circular Left / Right Arrows */
.bm-feature-carousel-wrap {
    padding: 0 6px;
}

.bm-dark-arrow {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--bm-white);
    color: var(--bm-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.bm-dark-prev {
    left: -18px;
}

.bm-dark-next {
    right: -18px;
}

.bm-dark-arrow:hover {
    background-color: var(--bm-primary);
    color: var(--bm-white);
    transform: translateY(-50%) scale(1.08);
}

/* Dots Styling for Dark Section */
.bm-feature-owl .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.bm-feature-owl .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.28);
    display: block;
    transition: all 0.3s ease;
}

.bm-feature-owl .owl-dots .owl-dot.active span {
    width: 24px;
    background-color: var(--bm-primary-bright);
}

/* Responsive Arrow Placement (Tablet & Mobile) */
@media (max-width: 1199.98px) {
    .bm-dark-prev {
        left: 8px;
    }
    .bm-dark-next {
        right: 8px;
    }
}

@media (max-width: 575.98px) {
    .bm-feature-carousel-wrap {
        padding: 0;
    }
    .bm-dark-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        top: 32%;
        background-color: rgba(255, 255, 255, 0.92);
    }
    .bm-dark-prev {
        left: 6px;
    }
    .bm-dark-next {
        right: 6px;
    }
    .bm-dark-title {
        font-size: 0.94rem;
    }
} 











/* ==========================================================================
   ECONOMY / BUSINESS HERO + POPULAR BULLETED LIST SECTION
   ========================================================================== */
.bm-econ-section {
    background-color: var(--bm-white);
}

/* 1. Lead Split Hero Card */
.bm-econ-hero {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--bm-border);
    background-color: #F1F5F9;
    box-shadow: var(--bm-shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.bm-econ-hero:hover {
    border-color: rgba(0, 118, 190, 0.35);
    box-shadow: var(--bm-shadow-md);
}

.bm-econ-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    overflow: hidden;
    background-color: var(--bm-dark);
}

.bm-econ-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-econ-hero:hover .bm-econ-hero-img img {
    transform: scale(1.05);
}

.bm-econ-hero-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 24px;
    background: linear-gradient(180deg, #F4F7FA 0%, #EBF1F7 100%);
    border-left: 3px solid var(--bm-primary);
}

.bm-econ-hero-title {
    font-size: clamp(1.22rem, 1.7vw, 1.55rem);
    font-weight: 800;
    line-height: 1.38;
    margin-bottom: 12px;
}

.bm-econ-hero-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-econ-hero:hover .bm-econ-hero-title a {
    color: var(--bm-primary);
}

.bm-econ-hero-excerpt {
    font-size: clamp(0.95rem, 1.05vw, 1.04rem);
    line-height: 1.72;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2. Bottom 2x2 Horizontal Mini Cards */
.bm-econ-mini {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 8px;
    margin: -8px;
    border-radius: 9px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.bm-econ-mini:hover {
    background-color: #F8FAFC;
    transform: translateY(-2px);
}

.bm-econ-mini-thumb {
    display: block;
    width: 112px;
    height: 74px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.bm-econ-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bm-econ-mini:hover .bm-econ-mini-thumb img {
    transform: scale(1.07);
}

.bm-econ-mini-title {
    flex: 1;
    min-width: 0;
    font-size: clamp(0.96rem, 1.1vw, 1.08rem);
    font-weight: 700;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-econ-mini-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-econ-mini:hover .bm-econ-mini-title a {
    color: var(--bm-primary);
}

/* 3. Right Column: Popular Bulleted Headlines */
.bm-popular-box {
    position: sticky;
    top: 84px;
}

.bm-popular-box .bm-cat-head {
    margin-bottom: 14px;
}

.bm-popular-box .bm-cat-more {
    display: none;
}

.bm-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px solid #E2E8F0;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.bm-popular-item:first-child {
    padding-top: 4px;
}

.bm-popular-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.bm-popular-item:hover {
    background-color: #F8FAFC;
    padding-left: 8px;
    border-radius: 6px;
}

.bm-popular-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--bm-accent);
    margin-top: 9px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bm-popular-item:hover .bm-popular-dot {
    background-color: var(--bm-primary);
    box-shadow: 0 0 0 3px rgba(0, 118, 190, 0.18);
    transform: scale(1.2);
}

.bm-popular-link {
    font-size: clamp(0.96rem, 1.08vw, 1.06rem);
    font-weight: 700;
    line-height: 1.46;
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-popular-item:hover .bm-popular-link {
    color: var(--bm-primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .bm-popular-box {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .bm-econ-hero-img {
        min-height: 210px;
        aspect-ratio: 16 / 10;
    }
    .bm-econ-hero-body {
        padding: 18px 16px;
        border-left: none;
        border-top: 3px solid var(--bm-primary);
    }
    .bm-econ-mini {
        padding: 8px 2px 12px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--bm-border);
    }
    .bm-econ-mini-thumb {
        width: 102px;
        height: 68px;
    }
} 








/* ==========================================================================
   SINGLE CATEGORY SHOWCASE (HERO LEFT + 2x5 THUMBNAIL GRID RIGHT)
   ========================================================================== */
.bm-showcase-section {
    background-color: var(--bm-white);
}

/* Left Large Hero Card */
.bm-showcase-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #0B1220;
    border: 1px solid var(--bm-border);
    box-shadow: var(--bm-shadow-md);
    min-height: 410px;
}

.bm-showcase-hero-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 410px;
    overflow: hidden;
}

.bm-showcase-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-showcase-hero:hover .bm-showcase-hero-img {
    transform: scale(1.06);
}

.bm-showcase-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 410px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        180deg,
        rgba(11, 18, 32, 0.05) 35%,
        rgba(11, 18, 32, 0.72) 72%,
        rgba(11, 18, 32, 0.96) 100%
    );
}

.bm-showcase-tag {
    align-self: flex-start;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 118, 190, 0.35);
}

.bm-showcase-hero-title {
    color: var(--bm-white);
    font-size: clamp(1.38rem, 2.05vw, 1.95rem);
    font-weight: 800;
    line-height: 1.34;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    transition: transform 0.25s ease;
}

.bm-showcase-hero:hover .bm-showcase-hero-title {
    transform: translateY(-2px);
}

/* Right 2-Column Compact List Container */
.bm-showcase-grid-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    padding: 16px;
}

/* Individual Mini Row */
.bm-showcase-mini {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 8px;
    border-radius: 8px;
    background-color: var(--bm-white);
    border: 1px solid #E2E8F0;
    height: 100%;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bm-showcase-mini:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 118, 190, 0.4);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.bm-showcase-mini-thumb {
    display: block;
    width: 78px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-showcase-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bm-showcase-mini:hover .bm-showcase-mini-thumb img {
    transform: scale(1.07);
}

.bm-showcase-mini-title {
    flex: 1;
    min-width: 0;
    font-size: clamp(0.88rem, 0.98vw, 0.98rem);
    font-weight: 700;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-showcase-mini-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-showcase-mini:hover .bm-showcase-mini-title a {
    color: var(--bm-primary);
}

/* Responsive Refinements */
@media (max-width: 991.98px) {
    .bm-showcase-hero,
    .bm-showcase-hero-link,
    .bm-showcase-hero-overlay {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .bm-showcase-hero,
    .bm-showcase-hero-link,
    .bm-showcase-hero-overlay {
        min-height: 270px;
        border-radius: 10px;
    }
    .bm-showcase-hero-overlay {
        padding: 18px 16px;
    }
    .bm-showcase-grid-wrap {
        padding: 12px;
        border-radius: 10px;
    }
    .bm-showcase-mini-thumb {
        width: 70px;
        height: 48px;
    }
    .bm-showcase-mini-title {
        font-size: 0.88rem;
    }
} 


/* ==========================================================================
   404 NOT FOUND (CLEAN CENTERED FIT)
   ========================================================================== */
.bm-404-only {
    background-color: var(--bm-bg-body);
    padding: clamp(48px, 8vw, 96px) 0;
}

.bm-404-box {
    max-width: 620px;
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-top: 4px solid var(--bm-primary);
    border-radius: 14px;
    padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 36px);
    box-shadow: var(--bm-shadow-sm);
}

.bm-404-num {
    font-size: clamp(3.8rem, 10vw, 6.2rem);
    font-weight: 800;
    line-height: 1;
    background: var(--bm-nav-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.bm-404-heading {
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
    font-weight: 800;
    color: var(--bm-dark);
    line-height: 1.35;
    margin-bottom: 12px;
}

.bm-404-text {
    font-size: clamp(0.96rem, 1.1vw, 1.06rem);
    line-height: 1.68;
    color: var(--bm-text-muted);
    margin: 0 auto 24px;
    max-width: 480px;
}

.bm-404-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--bm-white);
    background: var(--bm-nav-gradient);
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
}

.bm-404-home-btn:hover {
    color: var(--bm-white);
    transform: translateY(-2px);
    box-shadow: var(--bm-glow-primary);
} 









/* ==========================================================================
   SEARCH RESULTS PAGE (PRO EDITORIAL EDITION)
   ========================================================================== */
.bm-search-page {
    background-color: var(--bm-bg-body);
}

/* 1. Top Search Summary & Refinement Banner */
.bm-search-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FC 100%);
    border: 1px solid var(--bm-border);
    border-left: 4px solid var(--bm-primary);
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: var(--bm-shadow-sm);
}

.bm-search-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bm-primary);
    background-color: var(--bm-primary-light);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.bm-search-heading {
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    font-weight: 800;
    color: var(--bm-dark);
    line-height: 1.32;
}

.bm-search-term {
    color: var(--bm-primary);
}

.bm-search-count {
    font-size: 0.94rem;
    color: var(--bm-text-muted);
    font-weight: 500;
}

/* Inline Refinement Form */
.bm-search-refine-input {
    height: 46px;
    border-radius: 50px 0 0 50px !important;
    border: 1px solid var(--bm-border);
    border-right: none;
    padding: 0 18px;
    font-size: 0.95rem;
    color: var(--bm-dark);
    background-color: var(--bm-white);
    box-shadow: none !important;
}

.bm-search-refine-input:focus {
    border-color: var(--bm-primary);
}

.bm-search-refine-btn {
    height: 46px;
    border-radius: 0 50px 50px 0 !important;
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--bm-white);
    background: var(--bm-nav-gradient);
    border: none;
    transition: var(--bm-transition);
}

.bm-search-refine-btn:hover {
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
}

/* 2. Horizontal Search Result Cards */
.bm-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bm-search-card {
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease;
}

.bm-search-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 118, 190, 0.42);
    box-shadow: var(--bm-shadow-md);
}

.bm-search-thumb {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 195px;
    overflow: hidden;
    background-color: var(--bm-bg-light);
}

.bm-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-search-card:hover .bm-search-thumb img {
    transform: scale(1.06);
}

.bm-search-cat-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--bm-nav-gradient);
    color: var(--bm-white);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.bm-search-card-body {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
}

.bm-search-card-title {
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-search-card-title a {
    color: var(--bm-dark);
    transition: color 0.2s ease;
}

.bm-search-card:hover .bm-search-card-title a {
    color: var(--bm-primary);
}

.bm-search-card-excerpt {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-search-card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 0.84rem;
    color: var(--bm-text-muted);
}

.bm-search-meta-item {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.bm-search-meta-item i {
    color: var(--bm-primary);
    font-size: 0.78rem;
}

.bm-search-readmore {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--bm-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.bm-search-card:hover .bm-search-readmore {
    color: var(--bm-accent);
    transform: translateX(3px);
}

/* 3. Pagination Styling */
.bm-search-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.bm-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--bm-border);
    background-color: var(--bm-white);
    color: var(--bm-dark);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--bm-transition);
}

.bm-search-pagination .page-numbers:hover {
    border-color: var(--bm-primary);
    color: var(--bm-primary);
    background-color: var(--bm-primary-light);
}

.bm-search-pagination .page-numbers.current {
    background: var(--bm-nav-gradient);
    border-color: var(--bm-primary);
    color: var(--bm-white);
    box-shadow: var(--bm-glow-primary);
}

/* 4. Empty State Card */
.bm-search-empty {
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-top: 4px solid var(--bm-accent);
    border-radius: 14px;
    padding: 40px 24px;
    box-shadow: var(--bm-shadow-sm);
}

.bm-search-empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background-color: #FEF2F2;
    color: var(--bm-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.bm-search-empty-title {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--bm-dark);
    margin-bottom: 8px;
}

.bm-search-empty-desc {
    font-size: 0.98rem;
    color: var(--bm-text-muted);
    max-width: 480px;
    margin: 0 auto 22px;
    line-height: 1.65;
}

.bm-search-home-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--bm-white);
    background: var(--bm-nav-gradient);
    box-shadow: var(--bm-shadow-sm);
    transition: var(--bm-transition);
}

.bm-search-home-btn:hover {
    color: var(--bm-white);
    transform: translateY(-2px);
    box-shadow: var(--bm-glow-primary);
}

/* 5. Sticky Sidebar */
.bm-search-sidebar {
    position: sticky;
    top: 84px;
}

/* Mobile Refinements */
@media (max-width: 991.98px) {
    .bm-search-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .bm-search-header {
        padding: 16px;
    }
    .bm-search-refine-input,
    .bm-search-refine-btn {
        height: 42px;
        font-size: 0.88rem;
    }
    .bm-search-thumb {
        min-height: 180px;
        aspect-ratio: 16 / 10;
    }
    .bm-search-card-body {
        padding: 14px 15px;
    }
    .bm-search-readmore {
        display: none;
    }
}


/* ==========================================================================
   FULL-WIDTH STATIC PAGE (PRO EDITORIAL — NEPALI & ENGLISH DUAL FONT)
   ========================================================================== */
.bm-static-page {
    background-color: var(--bm-bg-body);
    font-family: 'Mukta', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.bm-page-wrapper {
    max-width: 1060px;
    background-color: var(--bm-white);
    border: 1px solid var(--bm-border);
    border-top: 4px solid var(--bm-primary);
    border-radius: 16px;
    padding: clamp(28px, 4.5vw, 56px) clamp(20px, 5vw, 60px);
    box-shadow: var(--bm-shadow-md);
}

/* Clean Editorial Title Header */
.bm-page-header {
    padding-bottom: 22px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--bm-border);
}

.bm-page-title {
    font-family: 'Mukta', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.95rem, 3.6vw, 2.95rem);
    font-weight: 800;
    color: var(--bm-dark);
    line-height: 1.28;
    letter-spacing: -0.015em;
}

.bm-page-accent-bar {
    display: block;
    width: 78px;
    height: 4px;
    margin-top: 14px;
    border-radius: 50px;
    background: var(--bm-nav-gradient);
}

/* Optional Featured Image */
.bm-page-featured {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bm-border);
    background-color: var(--bm-bg-light);
    box-shadow: var(--bm-shadow-sm);
}

.bm-page-featured img {
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Larger Pro Typography (Smooth for Both Nepali & English) */
.bm-page-content {
    font-family: 'Mukta', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.16rem, 1.38vw, 1.34rem);
    font-weight: 400;
    line-height: 1.92;
    color: #1E293B;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bm-page-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.bm-page-content strong,
.bm-page-content b {
    font-weight: 700;
    color: var(--bm-dark);
}

.bm-page-content h2 {
    font-size: clamp(1.5rem, 2.3vw, 2.05rem);
    font-weight: 800;
    color: var(--bm-dark);
    margin: 2.4rem 0 1rem;
    padding-left: 16px;
    border-left: 4px solid var(--bm-primary);
    line-height: 1.35;
}

.bm-page-content h3 {
    font-size: clamp(1.28rem, 1.85vw, 1.62rem);
    font-weight: 700;
    color: var(--bm-dark);
    margin: 1.9rem 0 0.8rem;
    line-height: 1.4;
}

.bm-page-content h4 {
    font-size: clamp(1.16rem, 1.45vw, 1.36rem);
    font-weight: 700;
    color: var(--bm-primary);
    margin: 1.5rem 0 0.65rem;
}

.bm-page-content a {
    color: var(--bm-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s ease;
}

.bm-page-content a:hover {
    color: var(--bm-accent);
}

.bm-page-content ul,
.bm-page-content ol {
    margin: 0 0 1.6rem 1.4rem;
    padding-left: 0.7rem;
}

.bm-page-content li {
    margin-bottom: 0.65rem;
    text-align: justify;
}

.bm-page-content li::marker {
    color: var(--bm-primary);
    font-weight: 700;
}

.bm-page-content blockquote {
    margin: 2rem 0;
    padding: 20px 26px;
    background: linear-gradient(135deg, #F0F7FC 0%, #F8FAFC 100%);
    border-left: 4px solid var(--bm-primary);
    border-radius: 0 12px 12px 0;
    color: var(--bm-dark);
    font-size: clamp(1.18rem, 1.45vw, 1.38rem);
    font-weight: 600;
    line-height: 1.8;
}

.bm-page-content blockquote p:last-child {
    margin-bottom: 0;
}

.bm-page-content hr {
    margin: 2.2rem 0;
    border-color: var(--bm-border);
    opacity: 1;
}

.bm-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.bm-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    display: block;
    overflow-x: auto;
}

.bm-page-content th,
.bm-page-content td {
    border: 1px solid var(--bm-border);
    padding: 12px 16px;
    text-align: left;
}

.bm-page-content th {
    background-color: #F1F5F9;
    font-weight: 700;
    color: var(--bm-dark);
}

/* Multi-Page Links */
.bm-page-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--bm-border);
    font-weight: 700;
}

.bm-page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--bm-border);
    text-decoration: none;
    color: var(--bm-dark);
}

.bm-page-links a:hover {
    background: var(--bm-nav-gradient);
    border-color: var(--bm-primary);
    color: var(--bm-white);
}

@media (max-width: 575.98px) {
    .bm-page-wrapper {
        border-radius: 12px;
    }
    .bm-page-header {
        padding-bottom: 16px;
        margin-bottom: 22px;
    }
    .bm-page-content p,
    .bm-page-content li {
        text-align: left;
    }
}