/* NYAMBICHU MONG'ARE - Modern News Styles */
:root {
    --navy: #0a1628;
    --navy-light: #152238;
    --red: #c8102e;
    --gold: #d4a017;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', system-ui, sans-serif;
}
[data-bs-theme="dark"] {
    --bs-body-bg: #0d1117;
    --bs-body-color: #e6edf3;
}
* { box-sizing: border-box; }
body { font-family: var(--font-body); color: #212529; background: #fff; padding-bottom: 60px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
.logo-text { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--navy); letter-spacing: -0.5px; }
.logo-accent { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--red); }
.tagline { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; }
.main-nav .nav-link { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); padding: 0.5rem 0.75rem !important; transition: color 0.2s; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--red); }
.main-header { z-index: 1020; }
.breaking-ticker { overflow: hidden; }
.breaking-label { background: rgba(0,0,0,0.2); padding: 0.25rem 0.75rem; border-radius: 3px; white-space: nowrap; font-size: 0.8rem; }
.ticker-wrap { position: relative; height: 1.5rem; }
.ticker-content { display: flex; animation: ticker 40s linear infinite; white-space: nowrap; }
.ticker-content a { font-size: 0.9rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hero-main { position: relative; border-radius: 8px; overflow: hidden; min-height: 400px; background: var(--navy); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; opacity: 0.85; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 2rem; color: #fff; }
.hero-overlay .category-badge { background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 3px; }
.hero-overlay h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin: 0.5rem 0; line-height: 1.25; }
@media (min-width: 768px) { .hero-overlay h1 { font-size: 2.25rem; } }
.trending-side .card { border: none; border-bottom: 1px solid #e9ecef; border-radius: 0; transition: background 0.2s; }
.trending-side .card:hover { background: #f8f9fa; }
.trending-side .card-img-top { width: 100px; height: 70px; object-fit: cover; border-radius: 4px; }
.article-card { border: none; border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; height: 100%; background: #fff; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.article-card .card-img-top { height: 180px; object-fit: cover; }
.article-card .category-badge { background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 2px; }
.article-card .card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; }
.article-card .card-title a { color: inherit; text-decoration: none; }
.article-card .card-title a:hover { color: var(--red); }
.article-meta { font-size: 0.8rem; color: #6c757d; }
.section-header { border-bottom: 3px solid var(--red); margin-bottom: 1.5rem; padding-bottom: 0.5rem; }
.section-header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--navy); }
.section-header a { font-size: 0.85rem; color: var(--red); text-decoration: none; font-weight: 600; }
.article-page .headline { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.25; color: var(--navy); }
@media (min-width: 768px) { .article-page .headline { font-size: 2.75rem; } }
.article-page .subheadline { font-size: 1.15rem; color: #6c757d; border-left: 3px solid var(--red); padding-left: 1rem; }
.article-content { font-size: 1.1rem; line-height: 1.8; max-width: 720px; }
.article-content p { margin-bottom: 1.25rem; }
.share-buttons .btn { border-radius: 50%; width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
[data-bs-theme="dark"] body { background: #0d1117; color: #e6edf3; }
[data-bs-theme="dark"] .main-header { background: #161b22 !important; border-color: #30363d !important; }
[data-bs-theme="dark"] .logo-text { color: #e6edf3; }
[data-bs-theme="dark"] .main-nav .nav-link { color: #e6edf3; }
[data-bs-theme="dark"] .article-card { background: #161b22; }
[data-bs-theme="dark"] .section-header h2 { color: #e6edf3; }
[data-bs-theme="dark"] .article-page .headline { color: #e6edf3; }
[data-bs-theme="dark"] .mobile-bottom-nav { background: #161b22 !important; border-color: #30363d !important; }
[data-bs-theme="dark"] .mobile-bottom-nav a { color: #e6edf3 !important; }
.cookie-notice { animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.ad-placeholder { background: #f0f0f0; border: 1px dashed #ccc; color: #999; font-size: 0.85rem; border-radius: 4px; }
[data-bs-theme="dark"] .ad-placeholder { background: #21262d; border-color: #30363d; color: #8b949e; }
img { max-width: 100%; height: auto; }
.fade-in { opacity: 1 !important; transform: translateY(0) !important; }
/* Floating Social Sidebar */
.floating-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    text-decoration: none;
    transition: width 0.3s ease, padding 0.3s ease;
    font-size: 1.1rem;
}
.floating-social a:hover {
    width: 52px;
    padding-left: 4px;
}
.floating-social a.fb { background: #1877f2; }
.floating-social a.wa { background: #25d366; }
.floating-social a.tg { background: #0088cc; }
.floating-social a.x { background: #000; }
.floating-social a.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.floating-social a.tt { background: #010101; }
.floating-social a.phone { background: #c8102e; }
@keyframes floatPulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.02); }
}
.floating-social { animation: floatPulse 3s ease-in-out infinite; }
@media (max-width: 768px) {
    .floating-social { display: none; }
}
/* Legacy watermark div — inert; body::before handles identity */
.site-watermark {
    display: none !important;
}
.site-watermark::before,
.site-watermark::after {
    display: none;
}
main, .site-footer {
    position: relative;
    z-index: 1;
}
.top-bar {
    position: relative;
    z-index: 1030;
}
.breaking-ticker {
    position: relative;
    z-index: 1025;
}
.main-header {
    position: sticky;
    top: 0;
    z-index: 1040 !important;
}
.main-header .dropdown-menu {
    z-index: 1050 !important;
    position: absolute !important;
    display: none;
}
.main-header .dropdown-menu.show {
    display: block !important;
}
[data-bs-theme="dark"] .site-watermark::before,
[data-bs-theme="dark"] .site-watermark::after {
    color: #fff;
}
/* Popular with image */
.popular-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.article-content img, .article-inline-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.25rem auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.article-content figure { margin: 1.5rem 0; }
.article-content figcaption { font-size: 0.85rem; color: #6c757d; text-align: center; margin-top: 0.5rem; }
/* Top bar actions */
.top-bar .top-social { font-size: 0.9rem; opacity: 0.9; }
.top-bar .top-social:hover { opacity: 1; color: #c8102e !important; }
.top-bar .top-action { font-size: 0.9rem; opacity: 0.95; text-decoration: none !important; }
.top-bar .top-action:hover { color: #ffc107 !important; opacity: 1; }
/* Main nav aligned right like screenshot */
.main-header .main-nav .nav-link {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0a1628 !important;
    padding: 0.5rem 0.65rem !important;
}
.main-header .main-nav .nav-link:hover,
.main-header .main-nav .nav-link.active {
    color: #c8102e !important;
}
.main-header .dropdown-menu {
    min-width: 220px;
    border-radius: 6px;
    margin-top: 0.35rem;
}
.main-header .dropdown-item {
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
}
.main-header .dropdown-item:hover {
    background: #f8f9fa;
    color: #c8102e;
}
[data-bs-theme="dark"] .main-header .main-nav .nav-link {
    color: #e6edf3 !important;
}
[data-bs-theme="dark"] .main-header .dropdown-menu {
    background: #161b22;
    border-color: #30363d;
}
[data-bs-theme="dark"] .main-header .dropdown-item {
    color: #e6edf3;
}
[data-bs-theme="dark"] .main-header .dropdown-item:hover {
    background: #21262d;
    color: #c8102e;
}
/* Ensure News dropdown is fully visible above page content */
.main-header.sticky-top {
    z-index: 1040 !important;
}
.main-nav .nav-item.dropdown {
    position: relative;
}
.main-nav .dropdown-menu {
    z-index: 2000 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 6px !important;
    min-width: 220px !important;
    padding: 0.4rem 0 !important;
    margin-top: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
}
.main-nav .dropdown-item {
    color: #0a1628 !important;
    font-weight: 500;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background: #f1f3f5 !important;
    color: #c8102e !important;
}
.main-header .main-nav .nav-link {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.5rem 0.55rem !important;
}
@media (min-width: 1200px) {
    .main-header .main-nav .nav-link {
        font-size: 0.82rem;
        padding: 0.5rem 0.7rem !important;
    }
}
/* =========================================================
   Z-INDEX STACKING (corrected contexts)
   ========================================================= */
.site-watermark { z-index: 0; }
main { position: relative; z-index: 1; }
.site-footer { position: relative; z-index: 2; }
.top-bar { position: relative; z-index: 1030; }
.breaking-ticker { position: relative; z-index: 1035; }
.main-header,
.main-header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1040 !important;
    isolation: isolate;
}
.main-nav .dropdown-menu {
    z-index: 2000 !important;
}
.modal { z-index: 1060; }
.modal-backdrop { z-index: 1055; }
.offcanvas { z-index: 1070; }
.offcanvas-backdrop { z-index: 1065; }
.mobile-bottom-nav { z-index: 1080; }
.floating-social { z-index: 1020; }
.cookie-notice { z-index: 1090; }
/* =========================================================
   MODERN TYPOGRAPHY
   ========================================================= */
body {
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}
.logo-text, .logo-accent,
.hero-overlay h1,
.article-page .headline,
.section-header h2,
.card-title,
.article-card .card-title {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}
.main-nav .nav-link {
    letter-spacing: 0.08em;
    font-weight: 700;
}
.tagline {
    letter-spacing: 0.14em;
    font-weight: 600;
}
/* =========================================================
   MOBILE HEADER ACTIONS
   ========================================================= */
.btn-icon-mobile {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #0a1628;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-icon-mobile:hover,
.btn-icon-mobile:focus {
    background: rgba(200, 16, 46, 0.08);
    color: #c8102e;
}
[data-bs-theme="dark"] .btn-icon-mobile { color: #e6edf3; }
.btn-menu-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: #0a1628 !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.25s, transform 0.2s;
}
.btn-menu-toggle:hover { background: #c8102e !important; transform: scale(1.04); }
.hamburger-box {
    width: 20px;
    height: 14px;
    position: relative;
    display: inline-block;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff !important;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s;
}
.hamburger-inner { top: 6px; }
.hamburger-inner::before { content: ''; top: -6px; }
.hamburger-inner::after { content: ''; top: 6px; }
/* =========================================================
   MOBILE OFFCANVAS DRAWER  (FIXED – readable white text)
   ========================================================= */
.mobile-nav-drawer {
    width: min(320px, 88vw) !important;
    max-width: min(100vw - 48px, 320px);
    background: linear-gradient(180deg, #0a1628 0%, #122038 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 8px 0 32px rgba(0,0,0,0.25);
}
.mobile-nav-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 1.25rem 1rem;
    background: transparent !important;
}
.mobile-nav-brand .logo-text {
    color: #ffffff !important;
    font-size: 1.15rem;
}
.mobile-nav-brand .logo-accent {
    color: #c8102e !important;
    font-size: 1.15rem;
}
.mobile-nav-header .text-muted {
    color: rgba(255,255,255,0.65) !important;
}
.btn-close-nav {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-close-nav:hover {
    background: #c8102e !important;
    color: #ffffff !important;
    transform: rotate(90deg);
}
.mobile-nav-links {
    padding: 0.5rem 0 1rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1.35rem;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
    background: transparent;
    text-align: left;
    transition: background 0.2s, color 0.2s, padding-left 0.25s;
    border-left: 3px solid transparent;
    border-bottom: none !important;
}
.mobile-nav-link span {
    color: #ffffff !important;
}
.mobile-nav-link i:first-child {
    width: 1.25rem;
    text-align: center;
    opacity: 1;
    color: #ff4d6d !important;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link:active {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    padding-left: 1.55rem;
    border-left-color: #c8102e;
}
.mobile-nav-toggle .chevron {
    font-size: 0.75rem;
    opacity: 0.7;
    color: #ffffff !important;
    transition: transform 0.25s ease;
}
.mobile-nav-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    background: rgba(0,0,0,0.25);
    padding: 0.35rem 0 0.5rem;
}
.mobile-nav-sub a {
    display: block;
    padding: 0.55rem 1.35rem 0.55rem 3.2rem;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.mobile-nav-sub a:hover,
.mobile-nav-sub a:active {
    color: #ffffff !important;
    background: rgba(200,16,46,0.25) !important;
}
.mobile-nav-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.2);
}
.mobile-nav-drawer .offcanvas-body {
    display: flex;
    flex-direction: column;
}
.mobile-nav-footer .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.mobile-nav-footer .btn-outline-light:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
}
.mobile-nav-footer .text-muted,
.mobile-nav-footer .text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}
.mobile-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.mobile-social-btn:hover {
    background: #c8102e !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
/* =========================================================
   MOBILE BOTTOM NAV
   ========================================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
    z-index: 1080;
}
.mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    border: none;
    background: transparent;
    color: #5a6570;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s, transform 0.2s;
}
.mbn-item i {
    font-size: 1.15rem;
    margin-bottom: 0.05rem;
}
.mbn-item:hover,
.mbn-item:focus,
.mbn-item.active {
    color: #c8102e;
}
.mbn-menu {
    position: relative;
}
.mbn-menu i {
    background: #0a1628;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -12px;
    box-shadow: 0 4px 12px rgba(10,22,40,0.25);
    transition: background 0.2s, transform 0.2s;
}
.mbn-menu:hover i,
.mbn-menu:focus i {
    background: #c8102e;
    transform: scale(1.06);
}
[data-bs-theme="dark"] .mobile-bottom-nav {
    background: rgba(22,27,34,0.96);
    border-top-color: #30363d;
}
[data-bs-theme="dark"] .mbn-item { color: #8b949e; }
[data-bs-theme="dark"] .mbn-item:hover { color: #c8102e; }
body {
    padding-bottom: 72px;
}
@media (min-width: 992px) {
    body { padding-bottom: 0; }
}
/* =========================================================
   SUBTLE ANIMATIONS
   ========================================================= */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.article-card {
    animation: fadeSlideUp 0.45s ease both;
}
.hero-section {
    animation: fadeIn 0.5s ease both;
}
.section-header h2 {
    position: relative;
}
.main-nav .nav-link {
    position: relative;
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    width: 0;
    height: 2px;
    background: #c8102e;
    transition: width 0.25s ease, left 0.25s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}
.dropdown-menu {
    animation: fadeSlideUp 0.2s ease;
}
.search-modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
/* Desktop dropdown solid above content */
.main-nav .dropdown-menu {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
/* ===== Persistent radio mini player ===== */
.nm-radio-player {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 72px;
  z-index: 1095;
  display: none;
  background: rgba(10, 22, 40, 0.96);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
@media (min-width: 992px) {
  .nm-radio-player { bottom: 16px; left: 50%; right: auto; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); }
  body.has-radio-player { padding-bottom: 90px; }
}
.nm-radio-player.is-visible { display: block; animation: fadeSlideUp .25s ease; }
.nm-rp-inner { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.75rem; }
.nm-rp-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: #c8102e; color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.nm-rp-btn.nm-rp-close { background: rgba(255,255,255,.12); }
.nm-rp-meta { flex: 1; min-width: 0; }
.nm-rp-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-rp-sub { font-size: 0.72rem; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-rp-link { color: rgba(255,255,255,.8); padding: 0.35rem; }
.nm-rp-eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.nm-rp-eq.is-on { display: inline-flex; }
.nm-rp-eq span { width: 3px; background: #ffc107; border-radius: 2px; animation: eq 0.8s ease-in-out infinite; }
.nm-rp-eq span:nth-child(1){height:6px}
.nm-rp-eq span:nth-child(2){height:12px;animation-delay:.15s}
.nm-rp-eq span:nth-child(3){height:8px;animation-delay:.3s}
.nm-rp-eq span:nth-child(4){height:14px;animation-delay:.45s}
/* ===== Brand logo ===== */
.site-logo-img {
  object-fit: contain;
  border-radius: 8px;
  background: #0a1628;
}
.logo-text { font-weight: 900; letter-spacing: 0.02em; color: #0a1628; }
.logo-accent { font-weight: 900; color: #c8102e; }
[data-bs-theme="dark"] .logo-text { color: #fff; }
/* ===== Page identity watermark (all pages) ===== */
body.has-site-watermark {
  background-color: #f4f5f7;
  background-image: url('../images/brand/page-watermark.png');
  background-repeat: repeat;
  background-size: 180px auto;
  background-attachment: fixed;
  background-position: center top;
}
body.has-site-watermark .main-header {
  background-color: #fff !important;
  position: sticky;
  top: 0;
  z-index: 1040;
}
body.has-site-watermark .card,
body.has-site-watermark .article-card,
body.has-site-watermark .trending-side {
  background-color: #fff;
}
/* ===== Hero: never a blank white hole ===== */
.hero-section {
  background: transparent !important;
}
.hero-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(145deg, #0a1628 0%, #1a2d4a 55%, #c8102e 160%);
  display: block;
}
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  max-height: 480px;
  opacity: 0.88;
  display: block;
  background: #0a1628;
}
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.92));
  padding: 1.75rem 1.5rem 1.5rem;
  color: #fff !important;
  z-index: 2;
}
.hero-overlay h1,
.hero-overlay p,
.hero-overlay small {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.trending-side {
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.06);
}
/* Admin brand */
.admin-brand-logo {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}
/* Homepage / all pages: content readable over watermark */
main, body > .container, .page-content {
  position: relative;
  z-index: 1;
}
.hero-featured {
  background: #fff;
  border-radius: 8px;
}
body.has-site-watermark section.mb-5 {
  position: relative;
  z-index: 1;
}
/* =========================================================
   MOBILE-FIRST POLISH
   ========================================================= */
@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    -webkit-tap-highlight-color: transparent;
  }
  .main-header {
    box-shadow: 0 2px 12px rgba(10, 22, 40, 0.08);
  }
  .main-header .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .main-header .logo {
    gap: 0.45rem !important;
  }
  .main-header .site-logo-img {
    width: 40px !important;
    height: 40px !important;
  }
  .main-header .logo-text,
  .main-header .logo-accent {
    font-size: 1.05rem;
    line-height: 1.1;
  }
  .main-header .tagline {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }
  .mobile-header-actions .btn-icon-mobile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .mobile-header-actions .btn-icon-mobile:active {
    transform: scale(0.92);
    background: #e9ecef;
  }
  .top-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }
  .top-bar .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .top-bar .container::-webkit-scrollbar { display: none; }
  .breaking-ticker {
    font-size: 0.8rem;
  }
  .breaking-label {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  .page-content > .container,
  main > .container,
  body > .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .hero-section {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-main {
    min-height: 260px !important;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.18);
  }
  .hero-main img {
    min-height: 260px !important;
    max-height: 320px !important;
  }
  .hero-overlay {
    padding: 1.25rem 1rem 1.1rem !important;
  }
  .hero-overlay h1 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
  }
  .hero-overlay p {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .trending-side {
    margin-top: 0.75rem;
    padding: 0.65rem !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .article-card,
  .card.shadow-sm {
    border-radius: 14px !important;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 4px 18px rgba(10, 22, 40, 0.07) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .article-card:active,
  .card.shadow-sm:active {
    transform: scale(0.98);
  }
  .article-card .card-img-top,
  .card .card-img-top {
    border-radius: 0;
  }
  .article-card .card-title,
  .card .card-title {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .section-header {
    margin-bottom: 0.85rem;
  }
  .section-header h2 {
    font-size: 1.15rem;
  }
  .section-header a {
    font-size: 0.8rem;
  }
  .d-flex.gap-2.overflow-auto {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
  }
  .d-flex.gap-2.overflow-auto > * {
    scroll-snap-align: start;
  }
  .ad-slot, .ad-banner, [class*="advert"] {
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
  }
  .article-title,
  .article-page .headline {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }
  .article-content {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
  }
  .share-buttons .btn {
    margin-bottom: 0.35rem;
  }
  .form-control, .form-select, .btn {
    min-height: 44px;
  }
  .btn-sm {
    min-height: 36px;
  }
  .site-footer {
    padding-bottom: 1rem;
    font-size: 0.9rem;
  }
  .site-footer .row > [class*="col-"] {
    margin-bottom: 1.25rem;
  }
  .floating-social {
    display: none !important;
  }
}
/* Bottom navigation — app-like */
@media (max-width: 991.98px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding: 0.25rem 0.35rem env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(10, 22, 40, 0.08);
    box-shadow: 0 -6px 24px rgba(10, 22, 40, 0.08);
  }
  [data-bs-theme="dark"] .mobile-bottom-nav {
    background: rgba(22, 27, 34, 0.94);
    border-top-color: #30363d;
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    border: none;
    background: transparent;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 12px;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  }
  .mbn-item i {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .mbn-item:active {
    transform: scale(0.94);
  }
  .mbn-item:hover,
  .mbn-item:focus,
  .mbn-item.active {
    color: #c8102e;
    background: rgba(200, 16, 46, 0.06);
  }
  .mbn-item.active i,
  .mbn-item:active i {
    transform: translateY(-2px) scale(1.08);
  }
  .mbn-menu {
    position: relative;
  }
  .mbn-menu i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8102e, #a00d24);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.35);
    margin-top: -12px;
  }
  .mbn-menu span {
    margin-top: 0.15rem;
  }
}
/* Entrance animations for content blocks on mobile */
@media (max-width: 991.98px) {
  .hero-section,
  .section-header,
  .article-card,
  .card.shadow-sm {
    animation: nmFadeUp 0.45s ease both;
  }
  .hero-section { animation-delay: 0.05s; }
  .article-card:nth-child(1), .card.shadow-sm:nth-child(1) { animation-delay: 0.08s; }
  .article-card:nth-child(2), .card.shadow-sm:nth-child(2) { animation-delay: 0.12s; }
  .article-card:nth-child(3), .card.shadow-sm:nth-child(3) { animation-delay: 0.16s; }
  .article-card:nth-child(4), .card.shadow-sm:nth-child(4) { animation-delay: 0.2s; }
}
@keyframes nmFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .article-card,
  .card.shadow-sm,
  .hero-section,
  .section-header,
  .mbn-item i {
    animation: none !important;
    transition: none !important;
  }
}
/* Extra-small phones */
@media (max-width: 380px) {
  .main-header .logo-text,
  .main-header .logo-accent {
    font-size: 0.95rem;
  }
  .main-header .tagline {
    display: none;
  }
  .hero-overlay h1 {
    font-size: 1.2rem !important;
  }
  .mbn-item {
    font-size: 0.55rem;
  }
  .mbn-item i {
    font-size: 1.1rem;
  }
}
/* Floating WhatsApp chat — bottom left */
.nm-whatsapp-float {
  position: fixed;
  left: 16px;
  bottom: 88px;
  z-index: 1090;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: nmWaPulse 2.4s ease-in-out infinite;
}
.nm-whatsapp-float i {
  font-size: 1.45rem;
  line-height: 1;
}
.nm-whatsapp-float:hover {
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}
@keyframes nmWaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.7); }
}
@media (min-width: 992px) {
  .nm-whatsapp-float {
    bottom: 24px;
    left: 20px;
  }
}
@media (max-width: 991.98px) {
  .nm-whatsapp-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    padding: 0.85rem;
    border-radius: 50%;
  }
  .nm-whatsapp-float .nm-wa-label {
    display: none !important;
  }
}
/* ===== Social share bar ===== */
.nm-share-bar {
  position: relative;
}
.nm-share-label {
  letter-spacing: 0.06em;
}
.nm-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: none;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.nm-share-btn:hover,
.nm-share-btn:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0.95;
}
.nm-share-btn i { font-size: 1rem; }
.nm-share-wa { background: #25d366; }
.nm-share-fb { background: #1877f2; }
.nm-share-x  { background: #0f1419; }
.nm-share-tg { background: #229ed9; }
.nm-share-li { background: #0a66c2; }
.nm-share-copy { background: #6c757d; }
.nm-share-native { background: #c8102e; }
@media (max-width: 575.98px) {
  .nm-share-btn span { display: none; }
  .nm-share-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }
}
/* ===== Responsive video player (site-wide) ===== */
.nm-video-player,
.article-content .nm-video-player,
.card .ratio.ratio-16x9 {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1628;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.15);
}
.nm-video-player {
  aspect-ratio: 16 / 9;
}
.nm-video-player iframe,
.nm-video-player video,
.article-content iframe[src*="youtube"],
.article-content iframe[src*="vimeo"],
.article-content video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000;
}
.article-content iframe[src*="youtube"],
.article-content iframe[src*="vimeo"] {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border-radius: 10px;
  margin: 1.25rem 0;
}
.article-content video {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70vh;
  border-radius: 10px;
  margin: 1.25rem 0;
}
aside .ratio iframe,
.hero-main + * .ratio iframe {
  border-radius: 0;
}
@media (max-width: 767.98px) {
  .nm-video-player,
  .ratio.ratio-16x9 {
    border-radius: 10px;
  }
  aside .ratio.ratio-16x9 {
    min-height: 180px;
  }
}

/* =========================================================
   ARTICLE READING PANEL – solid background for easy reading
   ========================================================= */
#articleReadable {
  background: #ffffff !important;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 2rem !important;
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  border: 1px solid rgba(10, 22, 40, 0.06);
  position: relative;
  z-index: 2;
}
#articleReadable .article-title,
#articleReadable h1 {
  color: #0a1628 !important;
}
#articleReadable .article-content,
#articleReadable #articleBody {
  color: #1a1a1a !important;
  background: transparent !important;
  max-width: 100%;
  font-size: 1.12rem !important;
  line-height: 1.85 !important;
}
#articleReadable .article-content p,
#articleReadable #articleBody p {
  color: #1a1a1a !important;
  margin-bottom: 1.25rem;
}
#articleReadable .article-content a,
#articleReadable #articleBody a {
  color: #c8102e;
  text-decoration: underline;
}
#articleReadable .lead,
#articleReadable .text-muted {
  color: #4a5568 !important;
}
.col-lg-4 .card,
.col-lg-4 .trending-side {
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.06);
}
[data-bs-theme="dark"] #articleReadable {
  background: #161b22 !important;
  border-color: #30363d;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] #articleReadable .article-title,
[data-bs-theme="dark"] #articleReadable h1 {
  color: #e6edf3 !important;
}
[data-bs-theme="dark"] #articleReadable .article-content,
[data-bs-theme="dark"] #articleReadable #articleBody,
[data-bs-theme="dark"] #articleReadable .article-content p,
[data-bs-theme="dark"] #articleReadable #articleBody p {
  color: #e6edf3 !important;
}
[data-bs-theme="dark"] #articleReadable .lead,
[data-bs-theme="dark"] #articleReadable .text-muted {
  color: #8b949e !important;
}
[data-bs-theme="dark"] .col-lg-4 .card,
[data-bs-theme="dark"] .col-lg-4 .trending-side {
  background: #161b22 !important;
  border-color: #30363d;
}
@media (max-width: 767.98px) {
  #articleReadable {
    padding: 1.1rem 1rem 1.5rem !important;
    border-radius: 12px;
  }
  #articleReadable .article-content,
  #articleReadable #articleBody {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
  }
}
body.has-site-watermark #articleReadable {
  background: #ffffff !important;
}
[data-bs-theme="dark"] body.has-site-watermark #articleReadable {
  background: #161b22 !important;
}


/* =========================================================
   MOBILE MENU – FORCE HIGH CONTRAST (must stay last)
   ========================================================= */
.mobile-nav-drawer {
    width: min(320px, 88vw) !important;
    max-width: min(100vw - 48px, 320px) !important;
    background: linear-gradient(180deg, #0a1628 0%, #122038 100%) !important;
    color: #ffffff !important;
    border: none !important;
}
.mobile-nav-drawer .offcanvas-header,
.mobile-nav-drawer .mobile-nav-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}
.mobile-nav-drawer .mobile-nav-brand .logo-text,
.mobile-nav-drawer .mobile-nav-brand .logo-accent {
    color: #ffffff !important;
}
.mobile-nav-drawer .mobile-nav-brand .logo-accent {
    color: #ff4d6d !important;
}
.mobile-nav-drawer .text-muted {
    color: rgba(255,255,255,0.65) !important;
}
.mobile-nav-drawer .mobile-nav-link,
.mobile-nav-drawer .mobile-nav-link span,
.mobile-nav-drawer .mobile-nav-toggle,
.mobile-nav-drawer .mobile-nav-toggle span {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: none !important;
}
.mobile-nav-drawer .mobile-nav-link i:first-child {
    color: #ff4d6d !important;
}
.mobile-nav-drawer .mobile-nav-link:hover,
.mobile-nav-drawer .mobile-nav-link:focus,
.mobile-nav-drawer .mobile-nav-link:active {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
}
.mobile-nav-drawer .mobile-nav-sub {
    background: rgba(0,0,0,0.25) !important;
}
.mobile-nav-drawer .mobile-nav-sub a {
    color: rgba(255,255,255,0.85) !important;
}
.mobile-nav-drawer .mobile-nav-sub a:hover,
.mobile-nav-drawer .mobile-nav-sub a:active {
    color: #ffffff !important;
    background: rgba(200,16,46,0.25) !important;
}
.mobile-nav-drawer .btn-close-nav {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
}
.mobile-nav-drawer .btn-close-nav:hover {
    background: #c8102e !important;
    color: #ffffff !important;
}
.mobile-nav-drawer .mobile-nav-footer {
    background: rgba(0,0,0,0.2) !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.mobile-nav-drawer .mobile-nav-footer .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.mobile-nav-drawer .mobile-nav-footer .text-muted,
.mobile-nav-drawer .mobile-nav-footer .text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}
.mobile-nav-drawer .mobile-social-btn {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
}
.btn-menu-toggle {
    background: #0a1628 !important;
}
.btn-menu-toggle .hamburger-inner,
.btn-menu-toggle .hamburger-inner::before,
.btn-menu-toggle .hamburger-inner::after {
    background: #ffffff !important;
}
