/* ==========================================================================
   Turuntai — global styles
   Headings, navigation, metadata: Anek Devanagari
   Body, details, descriptions:    Mukta
   ========================================================================== */

:root {
    --primary: #0f3f88;
    --nav-bg: #1f4bbf;
    --nav-bg-dark: #183c99;
    --navy: #0d2463;
    --white: #ffffff;
    --black: #000000;
    --ink: #1a1a1a;
    --ink-muted: #5c6370;
    --line: #e3e6eb;
    --fw-bg: #eff2f5;
    --breaking: #e0162b;
    --tint: #f4f7fd;
    --text-desc: rgba(0, 0, 0, .75);
    --text-meta: rgba(0, 0, 0, .6);

    --font-heading: 'Anek Devanagari', 'Mukta', sans-serif;
    --font-body: 'Mukta', sans-serif;

    /* Type scale — every title on the site uses one of these four */
    --fs-display: clamp(30px, 3.8vw, 44px);   /* big heading    */
    --fs-lg: clamp(22px, 2.3vw, 28px);        /* large heading  */
    --fs-md: 19px;                            /* medium heading */
    --fs-sm: 17px;                            /* small heading  */
    --lh-display: 1.3;
    --lh-lg: 1.35;
    --lh-md: 1.45;
    --lh-sm: 1.45;
    --fw-display: 700;
    --fw-lg: 700;
    --fw-md: 600;
    --fw-sm: 600;

    --fs-body: 19px;      /* article text          */
    --fs-desc: 17px;      /* excerpts / descriptions */
    --lh-desc: 1.55;
    --fs-desc-list: 16px; /* excerpts inside lists  */
    --lh-desc-list: 1.45;
    --fs-meta: 14px;

    /* spacing scale (4px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --section-gap: var(--space-7);
    --radius: 4px;
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md: 0 12px 24px -6px rgba(16, 24, 40, .16);
}

@media (max-width: 767.98px) {
    :root {
        --section-gap: var(--space-6);
        --fs-md: 18px;
        --fs-sm: 16px;
        --fs-body: 18px;
        --fs-desc: 16px;
    }
}

/* ---------- Base ---------- */

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.card-title,
.badge {
    font-family: var(--font-heading);
    letter-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Type scale classes ----------
   The legacy selectors on each rule are titles from older templates
   (category, loop, single, sidebar, related, banner) mapped onto the scale. */

.t-display,
body .single-title h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-display);
    font-weight: var(--fw-display);
    line-height: var(--lh-display);
    color: var(--ink);
    margin: 0;
}

.t-lg,
.title .section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-lg);
    line-height: var(--lh-lg);
    margin: 0;
}

.t-md,
body .side-content h2,
body .related .card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: var(--fw-md);
    line-height: var(--lh-md);
    color: var(--ink);
    margin: 0;
}

.t-sm,
body .latest-heading h6 {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-sm);
    line-height: var(--lh-sm);
    color: var(--ink);
    margin: 0;
}

.t-desc,
body .side-content p:not(.date1),
body .news-content {
    font-family: var(--font-body);
    font-size: var(--fs-desc);
    font-weight: 400;
    line-height: var(--lh-desc);
    color: var(--text-desc);
    margin: var(--space-2) 0 0;
}

.t-meta,
body .date,
body .date1,
body .card-text small {
    font-family: var(--font-heading);
    font-size: var(--fs-meta);
    font-weight: 500;
    color: var(--text-meta);
    opacity: 1;
}

.t-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-2);
}

.t-meta i {
    font-size: 12px;
}

/* titles that link: colour shift on hover */
a:hover > .t-lg,
a:hover > .t-md,
a:hover > .t-sm,
.t-lg a:hover,
.t-md a:hover,
.t-sm a:hover {
    color: var(--nav-bg);
}

/* clamp long text to n lines */
.clamp-2,
.clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

/* ---------- Section spacing ---------- */

.home-section {
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.band {
    margin: var(--section-gap) 0;
    padding: var(--section-gap) 0;
}

.band > .home-section {
    margin-top: 0;
    margin-bottom: 0;
}

.band--tint {
    background: var(--tint);
}

.band--dark {
    background: linear-gradient(135deg, var(--navy), var(--nav-bg-dark));
    color: var(--white);
}

/* ---------- Section heading (same on every section) ----------
   ┌─────────┐
   │  Title  │                                              (→)
   ┴─────────┴═══════════════════════════════════════════════════   */

.title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5) !important;
    border: 0;
    border-bottom: 2px solid var(--nav-bg);
}

.title .section-title {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 7px var(--space-4) 5px;
    border: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--nav-bg);
    color: var(--white);
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.35;
}

/* older templates still print an icon inside the heading */
.title .section-title i {
    display: none;
}

.title .section-title a,
.title .section-title a:hover {
    color: inherit;
}

.title .section-title:has(a:hover) {
    background: var(--navy);
}

.section-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--nav-bg);
    font-size: 13px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.section-more:hover,
.section-more:focus-visible {
    background: var(--nav-bg);
    border-color: var(--nav-bg);
    color: var(--white);
    outline: none;
}

/* heading on dark band: white tab, blue text */
.band--dark .title {
    border-bottom-color: var(--white);
}

.band--dark .title .section-title {
    background: var(--white);
    color: var(--nav-bg);
}

.band--dark .title .section-title:has(a:hover) {
    background: var(--tint);
}

.band--dark .section-more {
    border-color: rgba(255, 255, 255, .35);
    color: var(--white);
}

.band--dark .section-more:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--nav-bg);
}

/* heading inside a widget card */
.widget-card .title {
    margin-bottom: var(--space-4) !important;
}

/* ==========================================================================
   Top header: date | logo | social
   ========================================================================== */

.site-top {
    padding: var(--space-4) 0;
    background: var(--white);
}

.site-top .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 84px;
}

.site-date {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.site-date small {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
}

.site-social {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nav-bg);
    color: var(--white);
    font-size: 14px;
    transition: background .2s ease;
}

.site-social a:hover {
    background: var(--navy);
    color: var(--white);
}

/* phones + tablets: the logo moves into the blue nav bar */
@media (max-width: 991.98px) {
    .site-top {
        display: none;
    }
}

/* ==========================================================================
   Main navigation (blue bar)
   ========================================================================== */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--nav-bg);
    box-shadow: 0 4px 12px -8px rgba(16, 24, 40, .45);
}

.admin-bar .main-nav {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .main-nav {
        top: 0;
    }
}

.main-nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 54px;
}

/* white logo, centred between hamburger and search (mobile only) */
.nav-logo {
    display: none;
}

.nav-logo img {
    display: block;
    width: auto;
    height: 40px;
}

.nav-icon-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 17px;
    transition: background .2s ease, color .2s ease;
}

.nav-icon-btn:hover,
.nav-icon-btn:focus-visible,
.nav-icon-btn.is-active {
    background: rgba(255, 255, 255, .16);
    color: var(--white);
    outline: none;
}

.nav-search-btn {
    font-size: 15px;
}

.nav-menu-btn {
    display: none;
}

.nav-links {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 var(--space-3);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: var(--space-3);
    right: var(--space-3);
    bottom: 0;
    height: 3px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: var(--white);
    outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

@media (min-width: 1200px) {
    .nav-links {
        justify-content: center;
    }

    .nav-links a {
        padding: 0 var(--space-4);
    }

    .nav-links a::after {
        left: var(--space-4);
        right: var(--space-4);
    }
}

/* Search panel (drops down under the bar) */

.nav-search {
    background: var(--tint);
    border-top: 1px solid var(--line);
}

.nav-search form {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) 0;
}

.nav-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

.nav-search input:focus {
    border-color: var(--nav-bg);
}

.nav-search button {
    flex-shrink: 0;
    height: 44px;
    padding: 0 var(--space-5);
    border: 0;
    border-radius: var(--radius);
    background: var(--nav-bg);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.nav-search button:hover {
    background: var(--navy);
}

@media (max-width: 991.98px) {
    .main-nav__inner {
        min-height: 50px;
    }

    .nav-menu-btn {
        display: inline-flex;
    }

    .nav-home-btn,
    .nav-links {
        display: none;
    }

    .nav-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        transform: translate(-50%, -50%);
    }

    .nav-search-btn {
        margin-left: auto;
    }
}

/* ---------- Mobile drawer ---------- */

.nav-drawer.offcanvas {
    width: min(86vw, 360px);
    background: var(--white);
    color: var(--ink);
}

.nav-drawer .offcanvas-header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--line);
}

.nav-drawer .offcanvas-header img {
    height: 56px;
    width: auto;
}

.nav-drawer .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-5);
}

.drawer-date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-muted);
}

.drawer-date i {
    color: var(--nav-bg);
}

.drawer-search {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.drawer-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 var(--space-3);
    border: 0;
    font-size: 16px;
    outline: none;
}

.drawer-search button {
    width: 48px;
    border: 0;
    background: var(--nav-bg);
    color: var(--white);
}

.drawer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.drawer-links li + li {
    border-top: 1px solid var(--line);
}

.drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.drawer-links a i {
    font-size: 12px;
    color: var(--ink-muted);
}

.drawer-links a:hover,
.drawer-links a.is-active {
    color: var(--nav-bg);
}

.drawer-links a.is-active i {
    color: var(--nav-bg);
}

.drawer-social {
    display: flex;
    gap: var(--space-3);
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.drawer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fw-bg);
    color: var(--nav-bg);
}

.drawer-social a:hover {
    background: var(--nav-bg);
    color: var(--white);
}


/* ==========================================================================
   News components (homepage + category sections)
   ========================================================================== */

/* ---------- Thumbnails ---------- */

.cs-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--fw-bg);
    border-radius: var(--radius);
}

.cs-thumb--square {
    aspect-ratio: 4 / 3;
}

.cs-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

a:hover > .cs-thumb img,
.cs-thumb:hover img,
.cs-card:hover .cs-thumb img {
    transform: scale(1.05);
}

/* ---------- Lead story ---------- */

.cs-lead .cs-thumb {
    margin-bottom: var(--space-4);
}

.cs-lead .t-lg {
    color: var(--ink);
}

/* ---------- Stacked list (image + title rows) ---------- */

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.news-item > a:first-child {
    flex: 0 0 36%;
    max-width: 140px;
}

.news-item__body {
    flex: 1 1 auto;
    min-width: 0;
}

.news-item .t-desc {
    font-size: var(--fs-desc-list);
    line-height: var(--lh-desc-list);
    margin-top: var(--space-1);
}

/* bigger variant: image ~40%, medium title, excerpt */
.news-list--wide .news-item {
    gap: var(--space-5);
    padding: var(--space-5) 0;
}

.news-list--wide .news-item:first-child {
    padding-top: 0;
}

.news-list--wide .news-item > a:first-child {
    flex-basis: 40%;
    max-width: 320px;
}

@media (max-width: 575.98px) {
    .news-list--wide .news-item {
        flex-direction: column;
        gap: var(--space-3);
    }

    .news-list--wide .news-item > a:first-child {
        flex-basis: auto;
        width: 100%;
        max-width: none;
    }
}

/* ---------- Cards ---------- */

.cs-card {
    height: 100%;
}

.cs-card .t-md,
.cs-card .t-sm {
    margin-top: var(--space-3);
}

.cs-card--boxed {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cs-card--boxed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cs-card--boxed .cs-thumb {
    border-radius: 0;
}

.cs-card--boxed .cs-card__body {
    padding: var(--space-4);
}

.cs-card--boxed .t-md {
    margin-top: 0;
}

/* ---------- Overlay cards (image with title on top) ---------- */

.cs-overlay {
    position: relative;
    display: block;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #222;
}

.cs-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.cs-overlay:hover img {
    transform: scale(1.05);
}

.cs-overlay__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--space-7) var(--space-4) var(--space-4);
    background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .35) 65%, rgba(0, 0, 0, 0));
}

.cs-overlay .t-display,
.cs-overlay .t-lg,
.cs-overlay .t-md,
.cs-overlay .t-sm {
    color: var(--white);
}

.cs-overlay .t-meta {
    color: rgba(255, 255, 255, .8);
}

.cs-overlay--lead {
    min-height: 440px;
}

.cs-overlay--lead .cs-overlay__body {
    padding: var(--space-7) var(--space-6) var(--space-6);
}

@media (max-width: 991.98px) {
    .cs-overlay--lead {
        min-height: 320px;
    }

    .cs-overlay--lead .cs-overlay__body {
        padding: var(--space-6) var(--space-4) var(--space-4);
    }
}

/* ---------- Numbered list (ताजा समाचार) ---------- */

.numbered-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: news;
}

.numbered-list li {
    counter-increment: news;
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px dashed var(--line);
}

.numbered-list li:first-child {
    padding-top: 0;
}

.numbered-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.numbered-list li::before {
    content: counter(news, devanagari);
    flex: 0 0 32px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: var(--nav-bg);
    opacity: .35;
}

.numbered-list li:hover::before {
    opacity: 1;
}

.latest-panel {
    padding: var(--space-5);
    background: var(--tint);
    border-radius: var(--radius);
}

/* ---------- Card rows with thin dividers between columns ---------- */

@media (min-width: 768px) {
    .divided > .col-card + .col-card {
        border-left: 1px solid var(--line);
    }

    .band--dark .divided > .col-card + .col-card {
        border-left-color: rgba(255, 255, 255, .15);
    }
}

.col-card .cs-card .t-sm,
.col-card .cs-card .t-md {
    margin-top: var(--space-3);
}

/* centred title on overlay (2-up hero cards) */
.cs-overlay--center .cs-overlay__body {
    text-align: center;
}

.cs-overlay--pair {
    min-height: 300px;
}

@media (max-width: 767.98px) {
    .cs-overlay--pair {
        min-height: 240px;
    }
}

/* ---------- Split feature: image left, text right ---------- */

.feature-split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-5);
    align-items: center;
}

.feature-split__media {
    display: block;
}

.feature-split .t-desc {
    -webkit-line-clamp: 5;
}

.feature-split {
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--line);
}

.feature-cards {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ---------- Three-column block (विजनेस) ----------
   left: 2 cards | centre: lead overlay | right: 3 compact rows      */

.trio {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    row-gap: var(--space-4);
}

.trio > * {
    padding: 0 var(--space-4);
}

.trio > :nth-child(1) {
    grid-column: 2;
    grid-row: 1 / 7;
}

.trio > :nth-child(2),
.trio > :nth-child(3) {
    grid-column: 1;
    border-right: 1px solid var(--line);
    padding-left: 0;
}

.trio > :nth-child(2) { grid-row: 1 / 4; }
.trio > :nth-child(3) { grid-row: 4 / 7; }

.trio > :nth-child(n+4) {
    grid-column: 3;
    border-left: 1px solid var(--line);
    padding-right: 0;
}

.trio > :nth-child(4) { grid-row: 1 / 3; }
.trio > :nth-child(5) { grid-row: 3 / 5; }
.trio > :nth-child(6) { grid-row: 5 / 7; }

.trio .cs-overlay {
    min-height: 460px;
}

.trio-compact {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: 100%;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line);
}

.trio > :last-child .trio-compact {
    border-bottom: 0;
    padding-bottom: 0;
}

.trio-compact__body {
    flex: 1 1 auto;
    min-width: 0;
}

.trio-compact .widget-item__thumb {
    flex-basis: 84px;
}

@media (max-width: 991.98px) {
    .trio {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: var(--space-4);
    }

    .trio > *,
    .trio > :nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        padding: 0;
        border: 0;
    }

    .trio > :nth-child(1),
    .trio > :nth-child(n+4) {
        grid-column: 1 / -1;
    }

    .trio .cs-overlay {
        min-height: 300px;
    }
}

/* ---------- Image + solid colour tile (dark band) ---------- */

.feature-tile {
    display: grid;
    grid-template-columns: 5fr 3fr;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
}

.feature-tile__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.feature-tile__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.feature-tile:hover .feature-tile__media img {
    transform: scale(1.04);
}

.feature-tile__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-6) var(--space-5);
    background: var(--nav-bg);
    color: var(--white);
}

.feature-tile__text .t-lg {
    color: var(--white);
}

.feature-tile__text .t-meta {
    color: rgba(255, 255, 255, .75);
}

.feature-tile__text:hover .t-lg {
    color: rgba(255, 255, 255, .85);
}

@media (max-width: 767.98px) {
    .feature-tile {
        grid-template-columns: 1fr;
    }

    .feature-tile__media {
        min-height: 220px;
    }
}

/* ---------- Widget card (खेलकुद) ---------- */

.widget-card {
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
}

.widget-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--line);
}

.widget-item:first-of-type {
    padding-top: 0;
}

.widget-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.widget-item__body {
    flex: 1 1 auto;
    min-width: 0;
}

.widget-item__thumb {
    flex: 0 0 96px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--fw-bg);
}

.widget-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-item .t-meta {
    margin-top: var(--space-1);
}

/* ---------- Mosaic (overlay grid) ---------- */

.cs-mosaic .cs-overlay:not(.cs-overlay--lead) {
    min-height: 210px;
}

/* ---------- Dark band cards ---------- */

.band--dark .cs-card .t-md,
.band--dark .cs-card .t-sm {
    color: var(--white);
}

.band--dark .cs-card .t-meta {
    color: rgba(255, 255, 255, .7);
}

.band--dark a:hover > .t-md,
.band--dark a:hover > .t-sm {
    color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   Inner pages (category, search, author, single, sidebar, related)
   ========================================================================== */

.light-bg {
    padding: var(--space-5);
    background: var(--tint);
    border-radius: var(--radius);
}

.news-row {
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--line);
}

.news-row:last-of-type {
    border-bottom: 0;
}

.small-thumbnail-1 {
    overflow: hidden;
    border-radius: var(--radius);
}

.small-thumbnail-1 img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .45s ease;
}

a:hover .small-thumbnail-1 img {
    transform: scale(1.05);
}

.side-content h2 {
    margin-bottom: var(--space-1);
}

.sidebar-thumbnail img,
.latest-thumbnail img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
}

.related .simple-card-thumbnail {
    border-radius: var(--radius);
}

.related .card-title {
    margin-top: var(--space-3);
}

body .section-content {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: rgba(0, 0, 0, .8);
}

.mbl-thumbnail img {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .news-row .side-content {
        margin-top: var(--space-3);
    }
}
/* ==========================================================================
   Homepage top stories (breaking + banner, picked in Theme Settings)
   ========================================================================== */

.top-story {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-7) 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.top-story:last-child {
    border-bottom: 0;
}

.top-story__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 16px 5px 12px;
    border-radius: 999px;
    background: var(--breaking);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 6px 16px -8px rgba(224, 22, 43, .7);
}

.top-story__label::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    animation: top-story-pulse 1.6s ease-in-out infinite;
}

@keyframes top-story-pulse {
    50% { opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
    .top-story__label::before {
        animation: none;
    }
}

.top-story__title {
    margin: var(--space-4) 0 0;
    font-family: var(--font-heading);
    font-size: clamp(30px, 5.2vw, 58px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    text-wrap: balance;
}

.top-story__title a:hover {
    color: var(--nav-bg);
}

.top-story__sub {
    max-width: 760px;
    margin: var(--space-3) auto 0;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink-muted);
    text-wrap: balance;
}

.top-story__author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding: 4px 18px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.top-story__author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--fw-bg);
}

.top-story__author a {
    color: inherit;
}

.top-story__author a:hover {
    color: var(--nav-bg);
}

.top-story__media {
    display: block;
    margin-top: var(--space-6);
    overflow: hidden;
    border-radius: 8px;
    background: var(--fw-bg);
    box-shadow: var(--shadow-md);
}

.top-story__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .6s ease;
}

a.top-story__media:hover img {
    transform: scale(1.03);
}

.top-story__media iframe {
    border: 0;
}

.top-story__excerpt {
    max-width: 1000px;
    margin: var(--space-5) auto 0;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-desc);
}

@media (max-width: 767.98px) {
    .top-story {
        padding: var(--space-6) 0;
    }

    .top-story__label {
        font-size: 14px;
    }

    .top-story__title {
        margin-top: var(--space-3);
    }

    .top-story__author {
        margin-top: var(--space-4);
        font-size: 15px;
    }

    .top-story__media {
        margin-top: var(--space-5);
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        border-radius: 0;
        box-shadow: none;
    }

    .top-story__excerpt {
        margin-top: var(--space-4);
        text-align: left;
    }
}

/* ---------- Post author (single + author page) ---------- */

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
}

.post-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.post-author__photo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--fw-bg);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--line);
}

.post-author__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.post-author__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.post-author__name a {
    color: inherit;
}

.post-author__name a:hover {
    color: var(--nav-bg);
}

.post-author__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: var(--fs-meta);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-meta);
}

.post-author__date i {
    font-size: 12px;
}

.post-author--lg {
    margin: var(--space-6) 0 var(--space-5);
    gap: var(--space-4);
}

.post-author--lg .post-author__photo {
    width: 72px;
    height: 72px;
}

.post-author--lg .post-author__name {
    font-size: 24px;
}

@media (max-width: 575.98px) {
    .post-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* ---------- Pagination (kit_paging) ---------- */

.paging {
    margin: var(--space-6) 0 var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.paging ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.paging .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-width: 42px;
    height: 42px;
    padding: 0 var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.paging a.page-numbers:hover,
.paging a.page-numbers:focus-visible {
    border-color: var(--nav-bg);
    background: var(--tint);
    color: var(--nav-bg);
    outline: none;
}

.paging .page-numbers.current {
    border-color: var(--nav-bg);
    background: var(--nav-bg);
    color: var(--white);
    box-shadow: 0 6px 14px -6px rgba(31, 75, 191, .6);
}

.paging .page-numbers.dots {
    min-width: 0;
    padding: 0 var(--space-1);
    border-color: transparent;
    background: transparent;
    color: var(--ink-muted);
}

.paging .prev,
.paging .next {
    padding: 0 var(--space-4);
}

.paging .page-numbers i {
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .paging .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 16px;
    }

    /* arrows only on phones */
    .paging .prev span,
    .paging .next span {
        display: none;
    }

    .paging .prev,
    .paging .next {
        padding: 0 var(--space-3);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    margin-top: var(--section-gap);
    background: var(--nav-bg);
    color: var(--white);
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    padding-top: var(--space-7);
    padding-bottom: var(--space-6);
    text-align: center;
}

.footer-logo {
    display: inline-block;
    padding: var(--space-3) var(--space-5);
    background: var(--white);
    border-radius: var(--radius);
}

.footer-logo img {
    display: block;
    width: auto;
    height: 88px;
}

.footer-about {
    max-width: 560px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: var(--white);
    font-size: 17px;
    transition: background .2s ease, color .2s ease;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--nav-bg);
}

.footer-bottom {
    background: var(--nav-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.footer-copy {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.footer-dev img {
    display: block;
    height: 28px;
    width: auto;
}

.footer-dev:hover {
    color: var(--white);
}

@media (max-width: 575.98px) {
    .footer-main {
        padding-top: var(--space-6);
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
}

.cs-overlay--tall {
    min-height: 340px;
}
