:root {
    --red: #d71920;
    --ink: #202124;
    --muted: #6b6f73;
    --line: #dedede;
    --paper: #fff;
    --soft: #f6f6f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
    font-size: 16px;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.top-strip {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font: 13px "Hind Siliguri", sans-serif;
}
.top-strip__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.top-strip__links {
    display: flex;
    gap: 18px;
}
.top-strip__links a:hover { color: var(--red); }

.masthead {
    height: 110px;
    display: grid;
    grid-template-columns: minmax(260px, auto) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}
.brand {
    color: var(--red);
    font: 800 47px/1 "Noto Serif Bengali", serif;
}
.masthead-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.masthead-highlights a {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding-left: 16px;
    border-left: 1px solid var(--line);
}
.masthead-highlights img,
.thumb-placeholder {
    width: 80px;
    height: 58px;
    object-fit: cover;
    background: #ededed;
}
.masthead-highlights strong {
    min-width: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}
.menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 9px;
}
.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #222;
}
.header-search {
    display: flex;
    width: 225px;
    height: 40px;
    border: 1px solid var(--line);
}
.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 8px 10px;
    font: 15px "Hind Siliguri", sans-serif;
}
.header-search button {
    width: 42px;
    border: 0;
    border-left: 1px solid var(--line);
    background: white;
    font-size: 23px;
    cursor: pointer;
}

.section-nav {
    border-top: 1px solid var(--line);
    border-bottom: 2px solid #222;
    font-family: "Hind Siliguri", sans-serif;
}
.nav-inner {
    display: flex;
    align-items: stretch;
}
.nav-scroll {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: auto;
    white-space: nowrap;
}
.nav-scroll a {
    padding: 13px 15px;
    font-weight: 600;
}
.nav-scroll a:first-child {
    padding-left: 0;
    color: var(--red);
}
.nav-scroll a:hover { color: var(--red); }

.page-main { padding: 22px 0 50px; }
.ad-strip {
    height: 82px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: var(--soft);
    color: #999;
    font: 13px "Hind Siliguri", sans-serif;
}

.top-news {
    display: grid;
    grid-template-columns: minmax(220px, .88fr) minmax(360px, 1.35fr) minmax(250px, .85fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.top-news > * {
    padding: 18px;
}
.top-news > * + * {
    border-left: 1px solid var(--line);
}

.story { display: block; }
.story + .story {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.story-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #eee;
}
.story-image--lead { aspect-ratio: 16 / 10; }
.empty-image {
    display: grid;
    place-items: center;
    color: #aaa;
    font: 14px "Hind Siliguri", sans-serif;
}
.story-kicker {
    display: block;
    margin: 10px 0 5px;
    color: var(--red);
    font: 600 14px "Hind Siliguri", sans-serif;
}
.story h1,
.story h2,
.story h3 {
    margin: 0;
    line-height: 1.32;
    font-weight: 700;
}
.story h1 { font-size: 34px; }
.story h2 { font-size: 22px; }
.story h3 { font-size: 18px; }
.story p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.story-meta {
    display: block;
    margin-top: 10px;
    color: #888;
    font: 13px "Hind Siliguri", sans-serif;
}
.rail-title {
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid #222;
    font: 700 20px "Hind Siliguri", sans-serif;
}
.headline-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.headline-link span {
    display: block;
    color: var(--red);
    font: 600 13px "Hind Siliguri", sans-serif;
}
.headline-link strong {
    display: block;
    margin-top: 4px;
    line-height: 1.42;
    font-size: 18px;
}

.news-band {
    margin-top: 34px;
    padding: 2px 0 4px;
    border-top: 1px solid var(--line);
}
.section-block {
    margin-top: 34px;
    border-top: 3px solid #222;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
}
.section-heading h2 {
    margin: 0;
    font-size: 25px;
}
.section-heading a {
    color: var(--red);
    font: 600 14px "Hind Siliguri", sans-serif;
}

.latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
}
.news-list .story--list {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
    margin: 0;
    padding: 18px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
}
.news-list .story-image { aspect-ratio: 16 / 10; }
.popular {
    border-left: 1px solid var(--line);
    padding-left: 25px;
}
.popular-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
}
.popular-tabs button {
    flex: 1;
    border: 0;
    background: white;
    padding: 14px 5px;
    font: 700 16px "Hind Siliguri", sans-serif;
    cursor: pointer;
}
.popular-tabs .active {
    color: var(--red);
    border-bottom: 3px solid var(--red);
}
.ranked {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.rank {
    color: #aaa;
    font-size: 30px;
    line-height: 1;
}
.ranked h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.42;
}

.category-layout {
    display: grid;
    grid-template-columns: 1.25fr repeat(2, 1fr);
    gap: 22px;
    padding-top: 18px;
}
.category-layout .story {
    margin: 0;
    padding: 0;
    border-top: 0;
}
.category-layout .story--feature {
    grid-row: span 2;
}
.category-layout .story--feature h3 {
    font-size: 24px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding-top: 18px;
}

.site-footer {
    margin-top: 34px;
    border-top: 4px solid var(--red);
    background: #f3f3f3;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 30px 0;
}
.footer-brand {
    color: var(--red);
    font: 800 32px "Noto Serif Bengali", serif;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font: 14px "Hind Siliguri", sans-serif;
}
.footer-bottom {
    border-top: 1px solid #ccc;
    padding: 18px 0 28px;
    color: var(--muted);
    font: 13px "Hind Siliguri", sans-serif;
}

.breadcrumbs {
    color: var(--red);
    font: 600 15px "Hind Siliguri", sans-serif;
}

@media (max-width: 900px) {
    .top-news,
    .latest-layout,
    .category-layout {
        grid-template-columns: 1fr;
    }
    .top-news > * + * {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .popular {
        border-left: 0;
        padding-left: 0;
    }
    .masthead {
        grid-template-columns: 1fr;
        height: auto;
        gap: 18px;
        padding: 22px 0;
    }
    .masthead-highlights {
        grid-template-columns: 1fr;
    }
    .masthead-highlights a {
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 700px) {
    .masthead {
        height: 78px;
        grid-template-columns: 44px 1fr 44px;
        gap: 0;
        padding: 0;
    }
    .brand {
        text-align: center;
        font-size: 31px;
    }
    .menu-button { display: block; }
    .header-search {
        width: 42px;
        border: 0;
        justify-self: end;
    }
    .header-search input { display: none; }
    .section-nav { display: none; }
    .section-nav.is-open { display: block; }
    .nav-inner {
        display: block;
    }
    .nav-scroll {
        flex-direction: column;
        white-space: normal;
        padding: 8px 0;
    }
    .nav-scroll a,
    .nav-scroll a:first-child {
        padding: 10px 0;
    }
    .top-news > * {
        padding: 16px 0;
    }
    .masthead-highlights {
        display: none;
    }
    .story h1 { font-size: 29px; }
    .news-list .story--list {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
    }
    .news-list .story--list p { display: none; }
    .news-list .story h2 { font-size: 18px; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { display: block; }
    .footer-brand {
        display: block;
        margin-bottom: 18px;
    }
}

@media (max-width: 430px) {
    .shell { width: min(100% - 22px, 1180px); }
    .top-strip__links a:first-child { display: none; }
    .brand { font-size: 28px; }
    .story h1 { font-size: 26px; }
    .category-grid { grid-template-columns: 1fr; }
}
