﻿/*
 * NewsPortal - Custom Component Stylesheet
 * Own CSS layer loaded after the utility stylesheet.
 * Theme colors:
 *   --np-red:        #d6001a  (sticky nav, primary brand)
 *   --np-blue:       #004c98  (links, notification banner)
 *   --np-dark-red:   #861a2c  (hover accents)
 *   --np-bright-red: #d31c29  (section titles on single pages)
 *   --np-mega-blue:  #2260bf  (province mega menu background)
 */

:root {
    --np-red: #d6001a;
    --np-blue: #004c98;
    --np-dark-red: #861a2c;
    --np-bright-red: #d31c29;
    --np-mega-blue: #2260bf;
    --np-text: #1f2937;
    --np-muted: #6b7280;
    --np-border: #e5e7eb;
    --np-font-body: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    --np-font-head: 'Poppins', 'Mukta', 'Noto Sans Devanagari', sans-serif;
}

html {
    font-size: calc(16px * var(--newsportal-font-scale, 1));
    overflow-x: hidden;
}

body,
.font-mukta {
    font-family: var(--np-font-body);
    color: #000;
    background-color: #fff;
}

/* ------------------------------------------------------------------ */
/* Layout primitives                                                   */
/* ------------------------------------------------------------------ */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
    }
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 1 auto;
    width: 100%;
}

/* ------------------------------------------------------------------ */
/* Accessibility helpers                                               */
/* ------------------------------------------------------------------ */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 99999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ------------------------------------------------------------------ */
/* Header / branding                                                   */
/* ------------------------------------------------------------------ */

.header-logo {
    max-width: 375px;
    min-width: 275px;
    margin: 0 auto;
    text-align: center;
}

.header-logo img {
    max-height: 60px;
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

.header-logo a {
    display: inline-block;
    text-align: center;
}

.logo-with-shadow {
    filter: drop-shadow(0 2px 4px rgba(134, 26, 44, 0.3));
    transition: filter 0.3s ease;
}

.logo-with-shadow:hover {
    filter: drop-shadow(0 4px 8px rgba(134, 26, 44, 0.4));
}

.header-right-column {
    height: 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-title {
    display: inline-block;
    font-family: var(--np-font-head);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--np-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-title:hover {
    color: #000;
    transition: color 0.3s ease;
}

.header-logo a:hover span {
    color: #000 !important;
    transition: color 0.3s ease;
}

@media (max-width: 1280px) {
    .header-logo {
        max-width: 335px;
        min-width: 235px;
    }
}

@media (max-width: 1024px) {
    .header-logo {
        max-width: 295px;
        min-width: 195px;
    }

    .header-logo img {
        max-height: 100px;
        height: 100px;
    }
}

@media (max-width: 1023px) {
    #sticky-title-container {
        top: 0px !important;
    }
}

/* ------------------------------------------------------------------ */
/* Sticky navigation bar                                               */
/* ------------------------------------------------------------------ */

@media (max-width: 1023px) {
    .sticky-nav {
        display: none;
    }
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    width: 100%;
    background-color: var(--np-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sticky-nav .np-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

.sticky-nav .np-nav-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    overflow: visible;
}

.sticky-nav .np-nav,
.sticky-nav .np-nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0.2rem;
    width: max-content;
    min-width: max-content;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.sticky-nav .np-nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    height: 100%;
}

@media (min-width: 1024px) {
    .sticky-nav .np-nav-right {
        gap: 0.6rem;
        padding-right: 0.25rem;
    }
}

/* Desktop Drawer Toggle (Left / Opposite Side) */
.sticky-nav #desktop-mobile-menu-toggle,
.sticky-nav .np-nav-left #desktop-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin-right: 0.35rem;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.sticky-nav #desktop-mobile-menu-toggle:hover,
.sticky-nav .np-nav-left #desktop-mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.sticky-nav #desktop-mobile-menu-toggle:active,
.sticky-nav .np-nav-left #desktop-mobile-menu-toggle:active {
    transform: scale(0.96);
}

/* Home icon */
.sticky-nav .np-nav-home {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
    color: #fff !important;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sticky-nav .np-nav-home:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

/* Top level links */
.sticky-nav .np-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.sticky-nav .np-nav-item.has-mega {
    position: static;
}

.sticky-nav .np-nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.6rem;
    color: #fff !important;
    font-family: 'Mukta', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sticky-nav .np-nav-link:hover,
.sticky-nav .np-nav-item:hover > .np-nav-link,
.sticky-nav .np-nav-item:focus-within > .np-nav-link,
.sticky-nav .np-nav-item.is-active > .np-nav-link,
.sticky-nav .np-nav-item.is-open > .np-nav-link {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

.sticky-nav .np-caret {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.sticky-nav .np-nav-item:hover > .np-nav-link .np-caret,
.sticky-nav .np-nav-item:focus-within > .np-nav-link .np-caret,
.sticky-nav .np-nav-item.is-open > .np-nav-link .np-caret {
    transform: rotate(180deg);
}

.sticky-nav .np-nav-item.is-highlight > .np-nav-link {
    background-color: #b8000f;
    padding: 0.4rem 0.8rem;
    color: #fff !important;
}

.sticky-nav .np-nav-item.is-highlight > .np-nav-link:hover {
    background-color: #8f000c;
    color: #fff !important;
}

/* Hover bridge so dropdown never closes when moving cursor */
.sticky-nav .np-nav-item.has-dropdown::after,
.sticky-nav .np-nav-item.has-mega::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 9998;
}

/* Right side buttons */
.sticky-nav .np-icon-btn,
.sticky-nav .np-chip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.sticky-nav .np-icon-btn {
    width: 36px;
    flex: 0 0 36px;
}

.sticky-nav .np-chip-btn {
    padding: 0 0.85rem;
    font-family: 'Mukta', sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.sticky-nav .np-icon-btn:hover,
.sticky-nav .np-chip-btn:hover {
    background-color: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

/* Dropdowns */
.sticky-nav .np-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background-color: #fff !important;
    border: 1px solid var(--np-border, #e5e7eb);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 99999;
}

.sticky-nav .np-nav-item:hover > .np-dropdown,
.sticky-nav .np-nav-item:focus-within > .np-dropdown,
.sticky-nav .np-nav-item.is-open > .np-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: block !important;
}

.sticky-nav .np-dropdown-link,
.sticky-nav .np-dropdown a {
    display: block !important;
    padding: 0.65rem 1.1rem !important;
    color: #1f2937 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Mukta', sans-serif !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    background-color: #ffffff !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-left-color 0.15s ease, padding-left 0.15s ease !important;
}

.sticky-nav .np-dropdown-link:hover,
.sticky-nav .np-dropdown-link:focus,
.sticky-nav .np-dropdown a:hover,
.sticky-nav .np-dropdown a:focus {
    background-color: #f3f4f6 !important;
    color: #d6001a !important;
    border-left-color: #d6001a !important;
    padding-left: 1.35rem !important;
}

/* Provinces mega menu */
.sticky-nav .np-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    width: min(1140px, 95vw);
    padding: 1.25rem 1.5rem;
    background-color: #fff !important;
    border: 1px solid var(--np-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 99999;
}

.sticky-nav .np-nav-item.has-mega:hover > .np-mega,
.sticky-nav .np-nav-item.has-mega:focus-within > .np-mega,
.sticky-nav .np-nav-item.has-mega.is-open > .np-mega {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    display: block !important;
}

.sticky-nav .np-mega-inner {
    display: flex;
    gap: 2rem;
}

.sticky-nav .np-mega-list {
    flex: 0 0 220px;
}

.sticky-nav .np-mega-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #374151;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Mukta', sans-serif;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sticky-nav .np-mega-list a:hover {
    background-color: #fef2f2;
    color: #d6001a !important;
}

.sticky-nav .np-mega-posts {
    flex: 1 1 auto;
    min-width: 0;
}

.sticky-nav .np-mega-title {
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 2px solid var(--np-red);
}

.sticky-nav .np-mega-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sticky-nav .np-mega-list li + li {
    margin-top: 0.25rem;
}

.sticky-nav .np-mega-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sticky-nav .np-mega-list a:hover {
    background-color: #fef2f2;
    color: var(--np-red);
}

.sticky-nav .np-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.sticky-nav .np-mega-card {
    display: flex;
    flex-direction: column;
}

.sticky-nav .np-mega-thumb {
    width: 100%;
    height: 110px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f4f6;
}

.sticky-nav .np-mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-nav .np-mega-body {
    flex: 1 1 auto;
}

.sticky-nav .np-mega-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.sticky-nav .np-mega-card-title:hover {
    color: var(--np-red);
}

.sticky-nav .np-mega-date {
    margin: 0.25rem 0 0;
    color: #6b7280;
    font-size: 12px;
}

#sticky-title-container {
    transition: top 0.3s ease;
}

@media print {
    .sticky-nav,
    .site-footer,
    #notification-banner {
        display: none !important;
    }
}

/* ------------------------------------------------------------------ */
/* Primary menu + dropdowns                                            */
/* ------------------------------------------------------------------ */

.menu li {
    position: relative;
}

ul#primary-menu > li > a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 16rem;
    background-color: #fff !important;
    border: 1px solid var(--np-border);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.group:hover .dropdown-menu,
.group:focus-within .dropdown-menu {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li,
.dropdown-menu li a,
ul.dropdown-menu li,
ul.dropdown-menu li a {
    background-color: #fff !important;
    background: #fff !important;
    background-image: none !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--np-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
    background-color: rgba(0, 0, 0, 0.08) !important;
    border-left-color: var(--np-dark-red);
    padding-left: 1.25rem;
    transform: translateX(2px);
    color: var(--np-text);
}

.dropdown-menu li:first-child a {
    margin-top: 0;
}

.dropdown-menu li:last-child a {
    margin-bottom: 0;
}

.group:hover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 9998;
}

/* Hover color utilities */
.nav-hover-color:hover {
    color: var(--np-dark-red) !important;
}

.province-menu:hover {
    background-color: var(--np-dark-red) !important;
    color: #fff !important;
}

.dropdown-hover-color:hover {
    color: var(--np-dark-red) !important;
}

/* Province mega menu */
.province-mega-menu {
    left: 0;
    right: 0;
    width: 100vw;
    min-width: 0;
    background-color: var(--np-mega-blue);
    border-radius: 0;
    border: none;
    padding: 1rem 0;
}

.province-mega-menu a:hover {
    color: #d32f2f !important;
}

.province-mega-menu .dropdown-hover-color:hover {
    color: var(--np-dark-red) !important;
}

/* ------------------------------------------------------------------ */
/* Section titles                                                      */
/* ------------------------------------------------------------------ */

.section-title,
.section-title-desktop,
h2.section-title-desktop,
.important-news-title-button {
    font-family: var(--np-font-head);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    text-transform: none;
}

@media (max-width: 768px) {
    .section-title,
    .section-title-desktop,
    h2.section-title-desktop,
    .important-news-title-button {
        font-size: 18px;
        font-weight: 700;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-title,
    .section-title-desktop,
    h2.section-title-desktop,
    .important-news-title-button {
        font-size: 22px;
        font-weight: 600;
    }
}

@media (min-width: 1200px) {
    .section-title,
    .section-title-desktop,
    h2.section-title-desktop,
    .important-news-title-button {
        font-size: 25px;
        font-weight: 600;
    }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero-post-title {
    font-family: var(--np-font-head);
    font-weight: 700;
    line-height: 1.3;
}

.hero-post-title a {
    color: inherit;
    text-decoration: none;
}

.hero-post-title a:hover {
    color: var(--np-red);
}

.hero-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ------------------------------------------------------------------ */
/* Ad banners                                                          */
/* ------------------------------------------------------------------ */

.simplified-ad-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
}

.simplified-ad-banner img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simplified-ad-banner a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.simplified-ad-banner a:hover {
    opacity: 0.9;
}

.simplified-ad-banner .ad-content {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simplified-ad-banner video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .simplified-ad-banner.hide-on-mobile {
        display: none !important;
    }

    .simplified-ad-banner {
        margin: 5px 0;
    }

    .simplified-ad-banner .ad-content {
        padding: 15px;
    }
}

/* ------------------------------------------------------------------ */
/* Cards / news items                                                  */
/* ------------------------------------------------------------------ */

.news-card,
.post-card,
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    overflow: hidden;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .card-image img,
.post-card:hover .card-image img,
.article-card:hover .card-image img {
    transform: scale(1.03);
}

.card-title {
    font-weight: 600;
    line-height: 1.4;
}

.card-title a {
    color: var(--np-text);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--np-red);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--np-muted);
}

.category-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background-color: var(--np-red);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 0.25rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.category-badge:hover {
    background-color: var(--np-dark-red);
    color: #fff;
}

/* ------------------------------------------------------------------ */
/* Horoscope grid                                                      */
/* ------------------------------------------------------------------ */

.horoscope-card {
    border: 1px solid var(--np-border);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.horoscope-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
    background-color: #f1f5f9;
    color: #111827;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    color: #d31c29;
}

.footer-heading {
    font-family: var(--np-font-head);
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.375rem;
}

/* ------------------------------------------------------------------ */
/* Utility classes used by templates but absent from the compiled      */
/* utility stylesheet                                                  */
/* ------------------------------------------------------------------ */

.animate-in {
    animation: np-fade-in 0.4s ease both;
}

.fade-in {
    animation: np-fade-in 0.4s ease both;
}

.slide-in-from-bottom-2 {
    animation: np-slide-in-bottom 0.35s ease both;
}

@keyframes np-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes np-slide-in-bottom {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.z-\[20000\] {
    z-index: 20000;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.bg-black\/90 {
    background-color: rgba(0, 0, 0, 0.9);
}

.placeholder\:text-gray-400::placeholder {
    color: #9ca3af;
}

.placeholder\:text-gray-500::placeholder {
    color: #6b7280;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Auth button */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Live clock / date strip */
.live-date-strip {
    font-family: var(--np-font-body);
    font-size: 0.8125rem;
    color: var(--np-muted);
}

/* ------------------------------------------------------------------ */
/* Single post dynamic section colors                                  */
/* ------------------------------------------------------------------ */

.single-just-in-title h3 {
    color: var(--np-bright-red) !important;
}

.single-just-in-title svg {
    color: var(--np-bright-red) !important;
}

.single-just-in-title .w-8 {
    border-color: var(--np-bright-red) !important;
}

.single-just-in-list li a:hover span.text-gray-800 {
    color: var(--np-bright-red) !important;
}

.single-trending-title h3 {
    color: var(--np-bright-red) !important;
}

.single-trending-title svg {
    color: var(--np-bright-red) !important;
}

.single-trending-title .w-8 {
    border-color: var(--np-bright-red) !important;
}

.single-trending-list li a:hover span.text-gray-800 {
    color: var(--np-bright-red) !important;
}

h2.single-related-title {
    color: var(--np-bright-red) !important;
}

.related-news-card .related-title:hover {
    color: var(--np-bright-red) !important;
}

h2.single-read-also-title {
    color: var(--np-bright-red) !important;
}

a.group:hover .readalso-title {
    color: var(--np-bright-red) !important;
}

h2.single-missed-title {
    color: var(--np-bright-red) !important;
}

.missed-news-card h3 a:hover {
    color: var(--np-bright-red) !important;
}

/* ------------------------------------------------------------------ */
/* Print                                                               */
/* ------------------------------------------------------------------ */

@media print {
    .sticky-nav,
    .site-footer,
    #notification-banner {
        display: none !important;
    }
}


/* ------------------------------------------------------------------ */
/* Reading Progress Bar & Interactive UI Polish                       */
/* ------------------------------------------------------------------ */

#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #d6001a, #ff4d61);
    z-index: 99999;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

#back-to-top-btn {
    box-shadow: 0 4px 14px rgba(214, 0, 26, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 0, 26, 0.5);
}

#np-toast {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------------ */
/* Homepage News Headlines & Metadata Polish                          */
/* ------------------------------------------------------------------ */

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6 {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.hero-post-title {
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    color: #0f172a;
    line-height: 1.25 !important;
}

.hero-post-title a {
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out;
}

.hero-post-title a:hover {
    color: #d6001a !important;
}

/* Card titles and headings across homepage */
.np-title-bold,
.card-title,
.post-title-link,
article h3,
article h4 {
    font-weight: 700;
}

.np-post-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--np-font-body);
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}

.np-post-time svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Section headings */
.section-title-desktop {
    font-family: var(--np-font-body) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

/* Hover link color accents */
a.group:hover .np-hover-red,
.np-hover-red:hover {
    color: #d6001a !important;
}

a.group:hover .np-hover-blue,
.np-hover-blue:hover {
    color: #004c98 !important;
}


/* â•â•â•â•â•â•â•â•â•â•â• DYNAMIC NAV â€” walker additions (nav-dynamic.php) â•â•â•â•â•â•â•â•â•â•â• */

/* Mega card placeholder (thumbnail à¤¨à¤­à¤à¤•à¥‹ à¤¬à¥‡à¤²à¤¾) */
.np-mega-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #eef2f6; color: #b6c2d2; border-radius: 0.375rem;
}

/* à¤¥à¤ª à¤¸à¤®à¤¾à¤šà¤¾à¤° link */
.np-mega-more-wrap { text-align: right; margin-top: 10px; }
.np-mega-more {
    font-size: 13px; font-weight: 700; color: #d6001a;
    text-decoration: none; font-family: 'Mukta', sans-serif;
}
.np-mega-more:hover { opacity: .75; }
.np-mega-empty { color: #94a3b8; font-size: 13px; margin: 0; font-family: 'Mukta', sans-serif; }

/* 3rd-level submenu (dropdown à¤­à¤¿à¤¤à¥à¤°) */
.np-dropdown .np-sub-sub {
    position: absolute; top: 0; left: 100%;
    background: #fff; min-width: 200px; list-style: none;
    padding: 6px 0; margin: 0; border-radius: 0 8px 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    display: none; z-index: 20;
}
.np-dropdown li { position: relative; }
.np-dropdown li:hover > .np-sub-sub { display: block; }
.np-sub-sub a {
    display: block; padding: 8px 18px; font-size: 14px;
    color: #1f2937; text-decoration: none; font-weight: 600;
    font-family: 'Mukta', sans-serif;
}
.np-sub-sub a:hover { color: #d6001a; background: #f9fafb; }

/* â”€â”€ Mega style variants â”€â”€ */

/* Mega â€” list à¤®à¤¾à¤¤à¥à¤° */
.np-nav-item.np-menu-style-mega-list .np-mega-posts { display: none !important; }
.np-nav-item.np-menu-style-mega-list .np-mega { right: auto; min-width: 300px; }

/* Mega â€” cards à¤®à¤¾à¤¤à¥à¤° */
.np-nav-item.np-menu-style-mega-cards .np-mega-list { display: none !important; }
.np-nav-item.np-menu-style-mega-cards .np-mega { right: auto; min-width: 740px; }

/* Mega â€” dark */
.np-nav-item.np-menu-style-mega-dark .np-mega,
.np-nav-item.np-menu-style-mega-dark .np-mega-inner { background: #101418; }
.np-nav-item.np-menu-style-mega-dark .np-mega-list { background: #0d1117; border-color: #232a33; }
.np-nav-item.np-menu-style-mega-dark .np-mega-title { color: #f3f4f6; }
.np-nav-item.np-menu-style-mega-dark .np-mega-list a { color: #cbd5e1; }
.np-nav-item.np-menu-style-mega-dark .np-mega-list a:hover { color: #ff4d61; }
.np-nav-item.np-menu-style-mega-dark .np-mega-card-title { color: #e2e8f0; }
.np-nav-item.np-menu-style-mega-dark .np-mega-date { color: #6b7280; }

/* â”€â”€ Dropdown style variants â”€â”€ */

/* Plain â€” dot/decorator à¤¬à¤¿à¤¨à¤¾ */
.np-nav-item.np-menu-style-dropdown-plain .np-dropdown a::before { display: none; }

/* Pills â€” à¤¹à¤°à¥‡à¤• item rounded chip */
.np-nav-item.np-menu-style-dropdown-pills .np-dropdown { padding: 8px !important; }
.np-nav-item.np-menu-style-dropdown-pills .np-dropdown li a {
    background: #f1f5f9; border-radius: 10px; margin: 4px 6px;
    padding: 8px 14px !important;
}
.np-nav-item.np-menu-style-dropdown-pills .np-dropdown li a::before { display: none; }
.np-nav-item.np-menu-style-dropdown-pills .np-dropdown li a:hover {
    background: #d6001a; color: #fff;
}

/* Boxed â€” bordered card items */
.np-nav-item.np-menu-style-dropdown-boxed .np-dropdown {
    padding: 8px !important; background: #f8fafc;
}
.np-nav-item.np-menu-style-dropdown-boxed .np-dropdown li a {
    border: 1px solid #e2e8f0; border-radius: 10px; background: #fff;
    margin: 5px 6px; padding: 10px 14px !important;
}
.np-nav-item.np-menu-style-dropdown-boxed .np-dropdown li a::before { display: none; }
.np-nav-item.np-menu-style-dropdown-boxed .np-dropdown li a:hover {
    border-color: #d6001a; color: #d6001a; background: #fff;
}

/* Blank â€” submenu à¤¨à¤¦à¥‡à¤–à¤¾à¤‰à¤¨à¥‡ */
.np-nav-item.np-menu-style-blank > .np-dropdown,
.np-nav-item.np-menu-style-blank > .np-mega { display: none !important; }
.np-nav-item.np-menu-style-blank .np-caret { display: none; }

/* Dark-mode friendly (theme dark toggle à¤­à¤) */
body.np-dark .np-mega-noimg { background: #262626; }
body.np-dark .np-sub-sub { background: #1e1e1e; }
body.np-dark .np-sub-sub a { color: #e0e0e0; }

/* â•â•â•â•â•â•â•â•â•â•â• Mobile drawer â€” primary menu list â•â•â•â•â•â•â•â•â•â•â• */
.np-mobile-menu-list { list-style: none; margin: 0; padding: 0; }
.np-mobile-menu-list > li { border-bottom: 1px solid #eef0f3; }
.np-mobile-menu-list > li:last-child { border-bottom: none; }
.np-mobile-menu-list a {
    display: block; padding: 13px 6px;
    font-weight: 700; color: #1f2937; text-decoration: none;
    font-family: 'Mukta', sans-serif; font-size: 15px;
}
.np-mobile-menu-list a:hover { color: #d6001a; }
.np-mobile-menu-list ul { list-style: none; margin: 0; padding: 0 0 8px 16px; }
.np-mobile-menu-list ul a {
    padding: 8px 6px; font-weight: 600; font-size: 14px;
    color: #4b5563;
}
.np-mobile-menu-list ul a:hover { color: #d6001a; }


/* =====================================================
   CUSTOM LOGO (WordPress Site Identity)
   the_custom_logo() output styles
   ===================================================== */

/* Desktop header logo */
.header-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

.header-logo .custom-logo {
    height: 95px;
    max-height: 110px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.header-logo .custom-logo-link:hover .custom-logo {
    transform: scale(1.04);
}

/* Mobile header logo */
.mobile-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-height: 48px;
}

.mobile-logo-wrap .custom-logo-link,
.flex-1.flex.flex-col.items-center .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

.mobile-logo-wrap .custom-logo,
.flex-1.flex.flex-col.items-center .custom-logo {
    height: 42px;
    max-height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* General fallback for custom-logo anywhere */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-width: 100%;
    height: auto;
}
