/* =====================================================================
   News Black & White - होम पेज की सारी स्टाइल (index.php की इनलाइन <style> यहाँ आ गई हैं)
   इस फ़ाइल को  css/home.css  नाम से रखें।
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. बेस
   --------------------------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    zoom: 88%;                  /* पुराना लुक बना रहे, इसलिए रखा है */
}
/* नीचे का टिकर फुटर को ढके नहीं */
body.has-ticker { padding-bottom: 78px; }

/* मेन्यू लिंक का रंग */
.nav-link.active { background-color: #d90a2c !important; color: #fff !important; }
.nav-link        { color: #000 !important; }

/* त्योहार बैनर */
.nbw-banner { text-align: center; }
.nbw-banner img { max-width: 100%; height: auto; border-radius: 15px; }

/* ख़ाली होने पर संदेश */
.nbw-empty { padding: 20px 4px; color: #6b7280; }


/* ---------------------------------------------------------------------
   2. नीचे का न्यूज़ टिकर
   --------------------------------------------------------------------- */
.news-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: stretch;
    background: #343a40;
    color: #fff;
    border-top: 2px solid #ffcc00;
    z-index: 9999;
}
.news-ticker .arrow {
    flex: 0 0 auto;
    padding: 0 15px;
    border: 0;
    background: #282c34;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.news-ticker .arrow:hover,
.news-ticker .arrow:focus-visible { background: #ffcc00; color: #000; }

.news-ticker-content {
    flex: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.news-ticker-content::-webkit-scrollbar { display: none; }

.news-ticker-content .item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 340px;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none !important;
}
.news-ticker-content .item img {
    flex: none;
    width: 98px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}
.news-ticker-content .item .meta { min-width: 0; }
.news-ticker-content .item .date {
    display: block;
    font-size: 12px;
    color: #ffcc00;
}
.news-ticker-content .item .text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
}
.news-ticker-content .item:hover .text { color: #ffcc00; }

.news-ticker .ticker-close {
    position: absolute;
    top: 2px;
    right: 6px;
    padding: 2px 6px;
    border: 0;
    background: none;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}
.news-ticker .ticker-close:hover { color: #ffcc00; }

@media (max-width: 768px) {
    body.has-ticker { padding-bottom: 70px; }
    .news-ticker .arrow { padding: 0 10px; }
    .news-ticker-content .item { width: 270px; padding: 8px 10px; }
    .news-ticker-content .item img { width: 72px; height: 48px; }
    .news-ticker-content .item .text { font-size: 14px; }
}


/* ---------------------------------------------------------------------
   3. ताज़ा समाचार (nbl-)
   --------------------------------------------------------------------- */
.nbl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.nbl-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
    transition: box-shadow .25s, transform .25s;
}
.nbl-card:hover {
    box-shadow: 0 6px 18px rgba(16, 24, 40, .12);
    transform: translateY(-2px);
}
.nbl-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #15181d;
    text-decoration: none !important;
}
.nbl-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9eaee;
}
.nbl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.nbl-card:hover .nbl-thumb img { transform: scale(1.06); }
.nbl-chip {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 2px 10px;
    border-radius: 3px;
    background: #d90a2c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}
.nbl-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 14px;
}
.nbl-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #15181d;
}
.nbl-link:hover .nbl-title { color: #d90a2c; }
.nbl-date {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    color: #6b7280;
}
@media (max-width: 991px) {
    .nbl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .nbl-grid { grid-template-columns: 1fr; gap: 12px; }
    .nbl-link { flex-direction: row; }
    .nbl-thumb { flex: 0 0 130px; width: 130px; aspect-ratio: 4 / 3; }
    .nbl-body { padding: 10px 12px; }
    .nbl-title { font-size: 15.5px; -webkit-line-clamp: 4; }
    .nbl-chip { left: 6px; bottom: 6px; font-size: 11px; padding: 1px 7px; }
}


/* ---------------------------------------------------------------------
   4. राज्य विशेष (nbst-)
   --------------------------------------------------------------------- */
.nbst-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
    padding: 16px 20px 12px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.nbst-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eceef1;
    scrollbar-width: thin;
}
.nbst-tab {
    flex: 0 0 auto;
    border: 0;
    border-radius: 4px 4px 0 0;
    background: none;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #22262c;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.nbst-tab:hover { color: #d90a2c; }
.nbst-tab.is-active { background: #d90a2c; color: #fff; }

.nbst-pane { display: none; }
.nbst-pane.is-active { display: block; }

.nbst-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
}
/* दोनों कॉलम के बीच हल्की खड़ी रेखा */
.nbst-grid::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    width: 1px;
    background: #e3e5e9;
}
.nbst-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e3e5e9;
    color: #15181d;
    text-decoration: none !important;
}
/* आख़िरी पंक्ति की रेखा हटाओ, ताकि "और पढ़ें" बटन से पहले अलग रेखा न दिखे */
.nbst-item:last-child,
.nbst-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

.nbst-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #e9eaee;
}
.nbst-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.nbst-item:hover .nbst-thumb img { transform: scale(1.07); }

.nbst-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nbst-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #15181d;
}
.nbst-item:hover .nbst-title { color: #d90a2c; }
.nbst-date { margin-top: auto; padding-top: 4px; font-size: 12.5px; color: #6b7280; }

.nbst-foot { text-align: right; padding: 12px 0 4px; }
.nbst-more {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid #d90a2c;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    color: #d90a2c;
    text-decoration: none !important;
}
.nbst-more:hover { background: #d90a2c; color: #fff; }

@media (max-width: 767px) {
    .nbst-card { padding: 12px 14px 8px; }
    .nbst-grid { grid-template-columns: 1fr; }
    .nbst-grid::before { display: none; }
    .nbst-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #e3e5e9; }
    .nbst-tab { padding: 9px 14px; font-size: 15px; }
    .nbst-thumb { flex-basis: 104px; width: 104px; height: 70px; }
    .nbst-title { font-size: 15px; }
}


/* ---------------------------------------------------------------------
   5. ऑटो-स्क्रोलर (राष्ट्रीय समाचार + ज़रूरी खबरें दोनों के लिए)
   ऊँचाई बदलनी हो तो --nscroll-h बदलें; रफ़्तार index.php में data-nscroll="..." से
   --------------------------------------------------------------------- */
.nscroll-card {
    position: relative;
    height: var(--nscroll-h, 400px);
    overflow: hidden;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.nscroll-card--national  { --nscroll-h: 486px; }   /* राज्य विशेष कार्ड की ऊँचाई के बराबर */
.nscroll-card--important { --nscroll-h: 410px; }

/* ऊपर-नीचे हल्का फेड */
.nscroll-card::before,
.nscroll-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 22px;
    z-index: 2;
    pointer-events: none;
}
.nscroll-card::before { top: 0;    background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.nscroll-card::after  { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

.nscroll-list {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: nscroll 120s linear infinite;   /* असली समय JS तय करता है */
}
@keyframes nscroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }      /* सूची दोगुनी है, इसलिए लूप में जोड़ नहीं दिखता */
}
.nscroll-list > li { border-bottom: 1px solid #e3e5e9; }

/* जिन यूज़र ने सिस्टम में एनिमेशन बंद रखे हैं: हाथ से स्क्रोल, दोहराई गई सूची छिपी */
@media (prefers-reduced-motion: reduce) {
    .nscroll-card { overflow-y: auto; }
    .nscroll-list { animation: none; }
    .nscroll-list > li[aria-hidden="true"] { display: none; }
}

/* --- राष्ट्रीय समाचार की पंक्ति --- */
.nnat-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    color: #15181d;
    text-decoration: none !important;
}
.nnat-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    background: #e9eaee;
}
.nnat-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nnat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nnat-date { font-size: 11.5px; color: #6b7280; }
.nnat-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}
.nnat-item:hover .nnat-title { color: #d90a2c; }

/* --- ज़रूरी खबरें की क्रमांकित पंक्ति --- */
.nimp-item {
    position: relative;
    display: block;
    padding: 12px 0 12px 30px;
    color: #15181d;
    text-decoration: none !important;
}
.nimp-num {
    position: absolute;
    left: 0;
    top: 13px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #d90a2c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 21px;
    text-align: center;
}
.nimp-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
.nimp-item:hover .nimp-title { color: #d90a2c; }
.nimp-date { display: block; margin-top: 2px; font-size: 12px; color: #6b7280; }

@media (max-width: 991px) {
    .nscroll-card { margin-bottom: 20px; }
    .nscroll-card--national { --nscroll-h: 400px; }
}


/* ---------------------------------------------------------------------
   6. International News (nint-)
   --------------------------------------------------------------------- */
.nint-card {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.nint-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: 28px;
}
.nint-wrap.nint-single { grid-template-columns: 1fr; }

/* दोनों हिस्सों के बीच हल्की खड़ी रेखा */
.nint-wrap:not(.nint-single)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1.1 / 2.1 * (100% - 28px) + 14px);
    width: 1px;
    background: #e3e5e9;
}

.nint-lead {
    display: flex;
    flex-direction: column;
    color: #15181d;
    text-decoration: none !important;
}
.nint-lead-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #e9eaee;
}
.nint-lead-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.nint-lead:hover .nint-lead-thumb img { transform: scale(1.05); }
.nint-chip {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 2px 10px;
    border-radius: 3px;
    background: #d90a2c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}
.nint-lead-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 12px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: #15181d;
}
.nint-lead:hover .nint-lead-title { color: #d90a2c; }
.nint-date {
    display: block;
    margin-top: auto;
    padding-top: 8px;
    font-size: 12.5px;
    color: #6b7280;
}

.nint-list { display: flex; flex-direction: column; }
.nint-item {
    flex: 1;
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e3e5e9;
    color: #15181d;
    text-decoration: none !important;
}
.nint-item:first-child { padding-top: 0; }
.nint-item:last-child  { border-bottom: 0; padding-bottom: 0; }
.nint-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #e9eaee;
}
.nint-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.nint-item:hover .nint-thumb img { transform: scale(1.07); }
.nint-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nint-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #15181d;
}
.nint-item:hover .nint-title { color: #d90a2c; }

@media (max-width: 767px) {
    .nint-card { padding: 12px 14px; }
    .nint-wrap { grid-template-columns: 1fr; }
    .nint-wrap:not(.nint-single)::before { display: none; }
    .nint-lead-title { font-size: 19px; }
    .nint-list { margin-top: 12px; border-top: 1px solid #e3e5e9; padding-top: 12px; }
    .nint-thumb { flex-basis: 104px; width: 104px; height: 70px; }
    .nint-title { font-size: 15px; }
}


/* ---------------------------------------------------------------------
   7. सेक्शन के शीर्षक (पहले breadcrumb थे)
   ऊपर ज़्यादा जगह + लाल पट्टी + नीचे हल्की रेखा, ताकि हर शीर्षक नए सेक्शन की शुरुआत लगे
   --------------------------------------------------------------------- */
.nbw-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e5e9;
}
.nbw-head-title {
    margin: 0;
    padding: 2px 0 2px 12px;
    border-left: 4px solid #d90a2c;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    color: #15181d;
}
.nbw-head-more {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #d90a2c;
    text-decoration: none !important;
}
.nbw-head-more:hover { text-decoration: underline !important; }

/* पहला शीर्षक स्लाइडर के ठीक नीचे है, वहाँ थोड़ी कम जगह */
.main-slider-section + .post-block-section .nbw-head { margin-top: 28px; }

@media (max-width: 767px) {
    .nbw-head { margin: 28px 0 12px; }
    .nbw-head-title { font-size: 19px; }
}


/* ---------------------------------------------------------------------
   8. ऊपर का स्लाइडर (nhs-)  : बाएँ बड़ी खबर, दाएँ 2x2 छोटी खबरें
   ऊँचाई बदलनी हो तो .nhs-grid की height बदलें
   --------------------------------------------------------------------- */
.nhs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 440px;
}
.nhs-grid--nohero { grid-template-columns: repeat(2, 1fr); }

/* --- खबर का कार्ड (बड़ी और छोटी दोनों) --- */
.nhs-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #2a2e35;
    color: #fff;
    text-decoration: none !important;
}
.nhs-card:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.nhs-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.nhs-card:hover img { transform: scale(1.04); }

/* फ़ोटो के नीचे का गहरा परदा, ताकि सफ़ेद शीर्षक साफ़ पढ़ा जाए */
.nhs-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 10, 14, .88) 0%, rgba(8, 10, 14, .5) 40%, rgba(8, 10, 14, 0) 72%);
}
.nhs-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px 14px 14px;
}
.nhs-chip {
    padding: 2px 9px;
    border-radius: 3px;
    background: #d90a2c;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.6;
}
.nhs-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.nhs-card:hover .nhs-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nhs-date { font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* --- बड़ी खबर (कैरोसेल) --- */
.nhs-hero {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1f24;
}
.nhs-slides { position: absolute; inset: 0; }
.nhs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility 0s linear .6s;
}
.nhs-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.nhs-hero .nhs-caption { gap: 10px; padding: 26px 120px 26px 26px; }
.nhs-hero .nhs-chip    { font-size: 12.5px; padding: 3px 11px; }
.nhs-hero .nhs-title   { font-size: 28px; line-height: 1.4; }
.nhs-hero .nhs-date    { font-size: 13px; }

.nhs-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(15, 17, 21, .55);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, background .2s;
}
.nhs-prev { left: 14px; }
.nhs-next { right: 14px; }
.nhs-hero:hover .nhs-arrow,
.nhs-arrow:focus-visible { opacity: 1; }
.nhs-arrow:hover { background: #d90a2c; }

.nhs-dots {
    position: absolute;
    right: 24px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    gap: 6px;
}
.nhs-dot {
    box-sizing: content-box;
    width: 8px;
    height: 8px;
    padding: 8px 0;                       /* दबाने का दायरा बड़ा, पर दिखता छोटा */
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .55);
    background-clip: content-box;
    cursor: pointer;
    transition: width .25s, background-color .25s;
}
.nhs-dot.is-active { width: 24px; background-color: #fff; }

/* टच स्क्रीन पर तीर हमेशा दिखें (hover नहीं होता) */
@media (hover: none) {
    .nhs-arrow { opacity: 1; width: 36px; height: 36px; }
}

/* --- टैबलेट: ऊपर बड़ी खबर, नीचे 2 कॉलम में छोटी --- */
@media (max-width: 991px) {
    .nhs-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        height: auto;
    }
    .nhs-hero { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
    .nhs-mini { aspect-ratio: 16 / 10; }
    .nhs-hero .nhs-title { font-size: 23px; }
}

/* --- मोबाइल --- */
@media (max-width: 575px) {
    .nhs-grid { gap: 6px; }
    .nhs-hero .nhs-caption { padding: 16px 84px 18px 16px; gap: 8px; }
    .nhs-hero .nhs-title   { font-size: 19px; }
    .nhs-dots { right: 14px; bottom: 20px; }
    .nhs-caption { padding: 10px 11px; }
    .nhs-title { font-size: 14px; }
    .nhs-chip  { font-size: 11px; padding: 1px 7px; }
}

/* जिन यूज़र ने सिस्टम में एनिमेशन बंद रखे हैं */
@media (prefers-reduced-motion: reduce) {
    .nhs-slide, .nhs-card img, .nhs-dot { transition: none; }
    .nhs-card:hover img { transform: none; }
}


/* ---------------------------------------------------------------------
   9. श्रेणी वाले सेक्शन: मोबाइल/टैबलेट पर ऊपर-नीचे कार्ड के बीच जगह
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
    .nint-card { margin-bottom: 8px; }
}


/* ---------------------------------------------------------------------
   10. खोज का पेज (ns-)
   --------------------------------------------------------------------- */
.ns-form { display: flex; gap: 8px; margin: 0 0 18px; }
.ns-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #cfd3d9;
    border-radius: 8px;
    background: #fff;
    font-size: 17px;
}
.ns-form input:focus { outline: 2px solid #d90a2c; outline-offset: 1px; border-color: #d90a2c; }
.ns-form button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 8px;
    background: #d90a2c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.ns-form button:hover { background: #b80824; }

.ns-summary { margin: 0 0 14px; font-size: 16px; color: #4b5563; }
.ns-summary strong { color: #15181d; }

.ns-list {
    padding: 4px 20px;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.ns-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e3e5e9; }
.ns-item:last-child { border-bottom: 0; }
.ns-thumb {
    flex: 0 0 180px;
    width: 180px;
    height: 112px;
    border-radius: 6px;
    overflow: hidden;
    background: #e9eaee;
}
.ns-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ns-item:hover .ns-thumb img { transform: scale(1.06); }
.ns-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ns-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12.5px; color: #6b7280; }
.ns-chip {
    padding: 1px 8px;
    border-radius: 3px;
    background: #d90a2c;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}
.ns-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}
.ns-title a { color: #15181d; text-decoration: none !important; }
.ns-title a:hover { color: #d90a2c; }
.ns-title mark, .nint-title mark { padding: 0 1px; border-radius: 2px; background: #fff0a6; color: inherit; }

.ns-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 6px; }
.ns-pager a,
.ns-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e3e5e9;
    border-radius: 6px;
    background: #fff;
    color: #15181d;
    font-weight: 700;
    text-decoration: none !important;
}
.ns-pager a:hover { border-color: #d90a2c; color: #d90a2c; }
.ns-pager .is-current { border-color: #d90a2c; background: #d90a2c; color: #fff; }
.ns-pager .is-gap { border: 0; background: none; min-width: 20px; padding: 0; }

.ns-empty {
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 8px;
}
.ns-empty h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: #15181d; }
.ns-empty p { margin: 0; color: #4b5563; }

@media (max-width: 575px) {
    .ns-form button { padding: 0 16px; }
    .ns-list { padding: 2px 14px; }
    .ns-item { gap: 12px; padding: 12px 0; }
    .ns-thumb { flex-basis: 112px; width: 112px; height: 76px; }
    .ns-title { font-size: 16px; }
}
