/**
 * प्रकाशन (Prakashan) - Clean Magazine Frontend Theme
 * Adapted from clean-site with Devanagari typography and FontAwesome 6 icons.
 * Strictly zero emojis (GEMINI.md).
 */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&family=Mukta:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --navy: #123B66;
    --red: #D71920;
    --royal-blue: #2468A0;
    --main: #D71920;
    --dark: #123B66;
    --dark-surface: #0c2744;
    --bs-body-font-family: 'Mukta', 'Roboto', sans-serif;
    --bs-body-font-size: 15px;
    --bs-body-color: #334155;
    --bs-body-bg: #fff9f0;
    --bs-body-bg-rgb: 255, 249, 240;
    --bs-link-color-rgb: 18, 59, 102;
    --bs-link-hover-color-rgb: 215, 25, 32;
    --bs-danger-rgb: 215, 25, 32;
    --bs-primary-rgb: 18, 59, 102;
}

/* Strict Zero-Shadow Flat Design */
*, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
    background-color: #fff9f0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mukta', 'Merriweather', serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color 0.17s ease;
}

/* 1. Top Bar */
#top-bar {
    background: var(--navy);
    font-size: 12px;
    line-height: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#top-bar a {
    color: #e2e8f0;
}
#top-bar a:hover {
    color: #ffffff;
}

/* 2. Brand & Ad Banner */
.brand-header-area {
    padding: 1.25rem 0;
}
.brand-title-link h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
}
.brand-title-link h1 span {
    color: var(--main);
}
.ad {
    width: 728px;
    max-width: 100%;
    height: 90px;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* 3. Navigation Menu Bar */
.menu-bar {
    background: #f8fafc;
    border-top: 3px solid var(--royal-blue);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1020;
}
.mobile-brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.01em;
}
.mobile-brand-text span {
    color: var(--main);
}
.nav-action-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    padding: 0;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
    outline: none;
    box-shadow: none !important;
}
.nav-action-btn:hover,
.nav-action-btn.active {
    background: #fef2f2;
    color: var(--main);
    border-color: #fca5a5;
    box-shadow: none !important;
}

/* Collapsible Search Bar (Flat, Seamless Display, Zero Shadow) */
#sf,
#sf.site-search-bar {
    display: none !important;
    padding-top: 10px;
    padding-bottom: 12px;
}
#sf.show,
#sf.site-search-bar.show {
    display: block !important;
    animation: sfFadeIn 0.15s ease-in-out;
}
@keyframes sfFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
#sf .input-group {
    box-shadow: none !important;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    background: #ffffff;
}
#sf .form-control {
    border: none !important;
    box-shadow: none !important;
    font-size: 15px;
    padding: 9px 14px;
    background: transparent;
    color: #0f172a;
}
#sf .form-control:focus {
    box-shadow: none !important;
    outline: none;
    border: none !important;
}
#sf .btn-danger {
    background-color: var(--main) !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 0;
}
.menu-bar .navbar-brand {
    font-size: 1.35rem;
    color: var(--navy);
    margin-right: 1rem;
}
.menu-bar .navbar-brand span {
    color: var(--main);
}
.menu-bar .nav-link {
    color: var(--navy);
    padding: 0.85rem 0.95rem;
    font-weight: 600;
    font-size: 14.5px;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.menu-bar .nav-link:hover,
.menu-bar .nav-link.active {
    color: var(--main);
}
.menu-bar .nav-item.dropdown.position-static {
    position: static !important;
}
.menu-bar .dropdown-menu {
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    border-top: 2px solid var(--royal-blue);
    box-shadow: none !important;
}
.menu-bar .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}
.menu-bar .dropdown-item:hover,
.menu-bar .dropdown-item.active {
    background: #fef2f2;
    color: var(--main);
}
.menu-bar .mega {
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    border-radius: 4px;
    box-shadow: none !important;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--royal-blue);
    background: #ffffff;
}

/* Desktop Dropdown Hover & Inline Navbar */
@media (min-width: 992px) {
    .menu-bar .navbar-nav > .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
    .menu-bar .navbar-expand-lg .offcanvas {
        position: static !important;
        z-index: auto !important;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none !important;
    }
    .menu-bar .navbar-expand-lg .offcanvas .offcanvas-header {
        display: none !important;
    }
    .menu-bar .navbar-expand-lg .offcanvas .offcanvas-body {
        display: flex !important;
        flex-grow: 1;
        padding: 0 !important;
        overflow-y: visible !important;
    }
}

/* Clean Mobile Drawer Navigation Links */
.drawer-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}
.drawer-nav-item:hover,
.drawer-nav-item.active {
    background: #fef2f2;
    color: var(--main);
    border-left-color: var(--main);
    font-weight: 600;
}

/* Clean Mobile Drawer Header & Logo */
.sidebar-drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 14px 18px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.sidebar-drawer-brand {
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}
.sidebar-drawer-logo {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
}
.sidebar-drawer-logo span {
    color: var(--main) !important;
}
.sidebar-close-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    font-size: 15px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin-left: auto !important;
    outline: none !important;
}
.sidebar-close-btn:hover {
    background: #fef2f2 !important;
    color: var(--main) !important;
    border-color: #fca5a5 !important;
    transform: scale(1.05);
}

/* Blurred Overlay Backdrop */
#ocBackdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    cursor: pointer !important;
    pointer-events: none !important;
}
#ocBackdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobile Offcanvas Drawer */
@media (max-width: 991.98px) {
    #oc.offcanvas.offcanvas-start {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 999999 !important;
        width: 300px !important;
        max-width: 85vw !important;
        background: #ffffff !important;
        transform: translateX(-100%) !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none !important;
        border-right: 1px solid #e2e8f0 !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    #oc.offcanvas.offcanvas-start.show {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}
.offcanvas-backdrop {
    display: none !important;
}

/* Desktop Horizontal Navbar */
@media (min-width: 992px) {
    #desktopNav {
        display: flex !important;
    }
    #desktopNav .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    #desktopNav .nav-link {
        color: var(--navy);
        padding: 0.85rem 0.95rem;
        font-weight: 600;
        font-size: 14.5px;
        white-space: nowrap;
        transition: color 0.15s ease;
    }
    #desktopNav .nav-link:hover,
    #desktopNav .nav-link.active {
        color: var(--main);
    }
}

/* 4. Section Headers */
.title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 3px solid #e2e8f0;
    margin-bottom: 20px;
}
.title-wrap h1,
.title-wrap h2,
.title-wrap h3,
.title-wrap h4 {
    margin: 0 0 -3px !important;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--main);
    color: var(--navy) !important;
    font-weight: 800;
}
.title-wrap h1 {
    font-size: 1.5rem;
}
.title-wrap h2 {
    font-size: 1.25rem;
}
.title-wrap h3 {
    font-size: 17px;
}
.title-wrap h4 {
    font-size: 15px;
}
.title-wrap h1 a,
.title-wrap h2 a,
.title-wrap h3 a,
.title-wrap h4 a {
    color: inherit;
    text-decoration: none;
}
.view-all {
    font-size: 13px;
    color: var(--royal-blue);
    margin-bottom: 6px;
    font-weight: 600;
}
.view-all:hover {
    color: var(--main);
}

/* 5. Thumbnail Cards (Strict 16:9 Aspect Ratio) */
.thumb {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.thumb:hover img {
    transform: scale(1.04);
}
.mini {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.mini .thumb {
    width: 96px;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    flex: none;
    border-radius: 4px;
}
.mini .post-title {
    margin: 0 0 4px;
    font-size: 13.5px;
    line-height: 1.4;
}
/* Thumbnail helper classes now maintain pure 16:9 ratio across all column widths */
.h-120, .h-150, .h-180 {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: var(--navy);
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.post-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0.6rem 0 0.35rem;
}
.post-title a {
    color: var(--navy);
}
.post-title a:hover {
    color: var(--main);
}

.meta {
    font-size: 12px;
    color: #94a3b8;
}
.meta span {
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 6. Hot / Magazine Grid (Strict 16:9 Aspect Ratio on all cards) */
.hot {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 1.5rem;
}
.hot article {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.hot .thumb {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    aspect-ratio: unset !important;
    height: 100% !important;
    width: 100% !important;
}
.hot .thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.72;
    z-index: 2;
    background: linear-gradient(135deg, #123B66 0%, #D71920 100%);
    transition: opacity 0.2s ease;
}
.hot article:hover .thumb:after {
    opacity: 0.85;
}
.hot .i1 .thumb:after {
    background: linear-gradient(135deg, #123B66 0%, #2468A0 100%);
}
.hot .i2 .thumb:after {
    background: linear-gradient(135deg, #2468A0 0%, #D71920 100%);
}
.hot .i3 .thumb:after {
    background: linear-gradient(135deg, #0a2544 0%, #2468A0 100%);
}
.hot .info {
    position: absolute;
    inset: auto 0 0;
    z-index: 5;
    padding: 24px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    width: 100%;
}
.hot .tag {
    position: static;
    display: inline-block;
    background: none;
    border: 1px solid rgba(255,255,255,0.7);
    color: #ffffff;
    margin-bottom: 6px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
}
.hot a, .hot .meta {
    color: #ffffff;
}
.hot .meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}
.hot .post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.38;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 1200px) {
    .hot .post-title {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .hot {
        display: flex;
        flex-direction: column;
        gap: 14px;
        grid-template: none !important;
        grid-auto-rows: auto !important;
    }
    .hot article {
        grid-row: auto !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
    }
    .hot .post-title {
        font-size: 16px;
    }
}

/* 7. Sidebar & Main Layout Baseline */
main#main {
    min-height: 480px;
}
.side {
    position: sticky;
    top: 25px;
}
@media (max-width: 991px) {
    .side {
        position: static;
        margin-top: 2rem;
    }
}

/* 8. Article Post Body & Byline */
.article-byline {
    background: transparent;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    line-height: 1.6;
    font-size: 0.9rem;
}
.article-byline a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.15s ease;
}
.article-byline a:hover {
    color: var(--main);
    text-decoration: underline;
}
.byline-authors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
}
.byline-label {
    color: #64748b;
    font-weight: 500;
}
.byline-author-link {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}
.byline-author-link:hover {
    color: var(--main);
    text-decoration: underline;
}
.byline-views {
    font-size: 0.82rem;
    color: #64748b;
    white-space: nowrap;
}
.byline-timestamps {
    font-size: 0.82rem;
    color: #64748b;
}
.byline-timestamps strong {
    color: #334155;
    font-weight: 600;
}


.post-body {
    color: #1e293b;
}
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
}
.post-body p {
    margin-bottom: 1.4rem;
}
blockquote {
    font-style: italic;
    color: #475569;
    border-left: 4px solid var(--royal-blue);
    padding: 12px 18px;
    margin: 1.5rem 0;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
}

/* 9. Pagination */
.page-link {
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 4px;
    margin: 0 2px;
}
.page-link:hover {
    color: var(--main);
    background: #fef2f2;
}
.page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
}

/* 10. News Footer & Links */
.pre-footer-news {
    background: transparent;
    border-top: none;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
#footer {
    background: var(--navy);
    color: #cbd5e1;
    margin-top: 2.5rem;
}
.footer-trending-bar {
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    font-size: 13px;
}
.footer-trending-tag {
    color: #e2e8f0 !important;
    padding: 3px 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2px 3px;
    display: inline-block;
    font-size: 12.5px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.footer-trending-tag:hover {
    background: var(--royal-blue);
    color: #ffffff !important;
}
.footer-heading {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--royal-blue);
    display: inline-block;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
    line-height: 1.45;
}
.footer-links a {
    color: #cbd5e1 !important;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.footer-links a i {
    font-size: 10px;
    margin-right: 7px;
    color: var(--royal-blue);
    transition: transform 0.15s ease, color 0.15s ease;
}
.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}
.footer-links a:hover i {
    color: var(--main);
}
.footer-brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.01em;
}
.footer-brand-title span {
    color: var(--main);
}
.footer-social-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.footer-social-link:hover {
    background: var(--main);
    border-color: var(--main);
    transform: translateY(-2px);
    color: #ffffff !important;
}
.footer-badge-compliance {
    display: inline-block;
    background: rgba(36, 104, 160, 0.25);
    border: 1px solid var(--royal-blue);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.02em;
}
#sub {
    background: #0c2744;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #cbd5e1;
}
#sub a {
    color: #ffffff;
}
#sub a:hover {
    color: #fca5a5;
}

/* 11. Back to Top Button */
.back-top {
    display: none;
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: var(--main);
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.9;
    z-index: 1010;
    box-shadow: none !important;
    border: 1px solid #b7141a;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Social Share Button Styling */
.btn-social-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 4px;
    color: #ffffff !important;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-social-share i {
    color: #ffffff !important;
    font-size: 15px;
}
.btn-social-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #ffffff !important;
}
.btn-native-share {
    display: none;
}

/* Social Follow Widget (Clean, Modern, Pure White Icons & Text, Zero Shadow) */
.social-follow-btn {
    display: flex !important;
    align-items: center !important;
    padding: 9px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}
.social-follow-btn i {
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
    margin-right: 8px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}
.social-follow-btn span {
    color: #ffffff !important;
}
.social-follow-btn:hover {
    color: #ffffff !important;
    opacity: 0.92 !important;
    transform: translateY(-1px) !important;
}
.social-follow-btn:hover i,
.social-follow-btn:hover span {
    color: #ffffff !important;
}
.social-follow-btn--fb {
    background: #1877f2 !important;
}
.social-follow-btn--x {
    background: #000000 !important;
}
.social-follow-btn--insta {
    background: #e1306c !important;
}
.social-follow-btn--wa {
    background: #25d366 !important;
}

/* Universal text-white utility to guarantee white text on dark cards/buttons */
.text-white,
a.text-white,
a.text-white:visited,
a.text-white:hover,
a.text-white i {
    color: #ffffff !important;
}

/* 4. Breaking News Ticker (Smooth Animated Infinite Marquee) */
.breaking-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    min-height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1015;
}
.breaking-label-wrap {
    display: flex;
    align-items: center;
}
.breaking-badge {
    background: var(--main);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.4;
    box-shadow: none !important;
}
.breaking-marquee-container {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}
.breaking-marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: breakingTickerScroll 40s linear infinite;
    will-change: transform;
}
.breaking-marquee-content.paused {
    animation-play-state: paused !important;
}
.breaking-marquee-container:hover .breaking-marquee-content {
    animation-play-state: paused;
}
@keyframes breakingTickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
.breaking-item {
    display: inline-flex;
    align-items: center;
    padding-right: 36px;
    font-size: 13.5px;
}
.breaking-link {
    color: #0f172a !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.15s ease;
}
.breaking-link:hover {
    color: var(--main) !important;
    text-decoration: underline !important;
}
.breaking-text {
    color: #0f172a;
    font-weight: 500;
}
.breaking-controls {
    display: flex;
    align-items: center;
}
.ticker-btn {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 11px;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    box-shadow: none !important;
    outline: none;
    flex-shrink: 0;
}
.ticker-btn:hover {
    background: #fef2f2;
    color: var(--main);
    border-color: #fca5a5;
}

/* Color Palette Utility Overrides (Navy #123B66, Red #D71920, Royal blue #2468A0) */
.btn-danger, .bg-danger {
    background-color: var(--main) !important;
    border-color: var(--main) !important;
}
.btn-danger:hover {
    background-color: #b7141a !important;
    border-color: #b7141a !important;
}
.btn-primary, .bg-primary {
    background-color: var(--navy) !important;
    border-color: var(--navy) !important;
}
.btn-primary:hover {
    background-color: #0c2744 !important;
    border-color: #0c2744 !important;
}
.text-danger {
    color: var(--main) !important;
}
.text-primary {
    color: var(--royal-blue) !important;
}
.border-danger {
    border-color: var(--main) !important;
}
.border-primary {
    border-color: var(--royal-blue) !important;
}

/* Natural Hindi TTS Audio Bulletin Player */
.tts-player-card {
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--royal-blue) !important;
    background: #ffffff;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tts-player-card:hover {
    border-color: #cbd5e1;
}
.tts-main-play-btn {
    width: 42px;
    height: 42px;
    font-size: 15px;
    border: none;
    box-shadow: 0 2px 6px rgba(215, 25, 32, 0.25);
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.tts-main-play-btn:hover {
    transform: scale(1.05);
}
.tts-main-stop-btn {
    width: 34px;
    height: 34px;
    font-size: 12px;
    transition: transform 0.15s ease;
}
.tts-main-stop-btn:hover {
    transform: scale(1.05);
}
.tts-speed-btn {
    font-size: 11.5px;
    height: 28px;
    line-height: 1;
    font-weight: 500;
}
.tts-speed-btn.active {
    background-color: var(--royal-blue) !important;
    color: #ffffff !important;
    border-color: var(--royal-blue) !important;
}

/* Mobile Responsive Optimization (< 576px) */
@media (max-width: 575.98px) {
    .tts-player-card {
        padding: 12px !important;
    }
    .tts-main-play-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .tts-main-stop-btn {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
    #ttsCurrentSentence {
        font-size: 11px;
    }
    #ttsProgressPercent {
        font-size: 11px;
    }
    .tts-player-header {
        gap: 8px !important;
    }
    .tts-speed-btn {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 10.5px !important;
        height: 26px !important;
    }
}

.tts-mini-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    z-index: 1045;
    border-top: 2px solid var(--main);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
.tts-mini-bar .container {
    padding-top: 8px;
    padding-bottom: 8px;
}
#ttsMiniSentence {
    min-width: 0;
    font-size: 13px;
}
@media (max-width: 575.98px) {
    #ttsMiniSentence {
        font-size: 11.5px;
        max-width: 200px;
    }
}
.tts-speaking-paragraph {
    background-color: #fff3cd !important;
    border-left: 3px solid var(--main);
    padding-left: 10px;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}
.post-body p {
    cursor: pointer;
}
.post-body p:hover {
    outline: 1px dashed rgba(36, 104, 160, 0.35);
}


