:root {
    --ink: #111;
    --muted: #777;
    --line: #e8e8e8;
    --soft: #f6f6f4;
    --paper: #fff;
    --accent: #d71920;
    --accent-dark: #b51117;
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Sans Assamese", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.topbar {
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-links {
    display: flex;
    gap: 18px;
}

.masthead {
    background: #fff;
}

.masthead-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-main,
.footer-brand {
    font-family: Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -3px;
    font-size: 44px;
    line-height: .9;
}

.brand-main span,
.footer-brand span {
    color: var(--accent);
}

.brand-tag {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.masthead-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-link {
    background: var(--accent);
    color: #fff;
    padding: 7px 12px;
    font: 800 12px Arial, sans-serif;
    letter-spacing: .8px;
}

.search-button {
    font: 30px Arial, sans-serif;
}

.mobile-menu {
    display: none;
}

.main-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
}

.nav-inner a {
    white-space: nowrap;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 600;
}

.nav-inner a:hover {
    color: var(--accent);
}

.nav-home {
    font-size: 19px !important;
    padding-left: 0 !important;
}

.breaking-bar {
    background: #111;
    color: #fff;
}

.breaking-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
}

.breaking-label {
    flex: 0 0 auto;
    background: var(--accent);
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    font: 800 11px Arial, sans-serif;
    letter-spacing: 1px;
}

.breaking-scroll {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    gap: 35px;
    padding: 0 18px;
}

.breaking-scroll a {
    font-size: 13px;
}

.hero-section {
    padding: 34px 0 40px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.65fr .95fr;
    gap: 28px;
}

.lead-story {
    min-width: 0;
}

.story-image {
    display: block;
    overflow: hidden;
    background: #eee;
}

.lead-image {
    height: 430px;
}

.story-image img {
    transition: transform .35s ease;
}

.story-image:hover img {
    transform: scale(1.025);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee, #ddd);
}

.story-content {
    padding-top: 15px;
}

.story-category,
.article-category {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.lead-story h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.16;
    margin: 0 0 12px;
    letter-spacing: -.7px;
}

.lead-story p {
    color: #666;
    line-height: 1.75;
    font-size: 16px;
    margin: 0 0 10px;
}

.story-meta {
    color: #999;
    font-size: 11px;
    margin-top: 8px;
}

.hero-secondary {
    display: grid;
    gap: 20px;
}

.secondary-story {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.secondary-story .story-image {
    height: 105px;
}

.secondary-story h2 {
    font-size: 19px;
    line-height: 1.38;
    margin: 0;
}

.section {
    padding: 52px 0;
}

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

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
}

.eyebrow {
    display: block;
    font: 800 10px Arial, sans-serif;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 5px;
}

.section-heading h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.2;
}

.section-more {
    font-size: 13px;
    font-weight: 700;
}

.latest-grid {
    display: grid;
    grid-template-columns: 1.7fr .8fr;
    gap: 45px;
}

.news-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 22px;
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.news-thumb {
    height: 145px;
    overflow: hidden;
    background: #eee;
}

.news-row h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
}

.news-row p {
    margin: 7px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
}

.sidebar-card {
    border-top: 4px solid var(--ink);
}

.sidebar-title {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-weight: 800;
}

.popular-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.5;
}

.popular-number {
    color: #bbb;
    font: 700 19px Arial, sans-serif;
}

.category-section {
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card .story-image {
    height: 190px;
    margin-bottom: 13px;
}

.category-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.42;
}

.site-footer {
    margin-top: 40px;
    background: #111;
    color: #fff;
}

.footer-grid {
    padding: 55px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    font-size: 40px;
}

.footer-grid p {
    color: #999;
}

.footer-grid h4 {
    margin: 0 0 15px;
}

.footer-grid a {
    display: block;
    color: #aaa;
    margin: 9px 0;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    color: #777;
    padding: 17px 0;
    font-size: 11px;
}

/* ARTICLE */

.article-page {
    padding: 35px 0 70px;
}

.article-container {
    max-width: 1000px;
}

.article-breadcrumb {
    display: flex;
    gap: 9px;
    color: #888;
    font-size: 12px;
    margin-bottom: 30px;
}

.article-header {
    max-width: 920px;
}

.article-header h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.18;
    letter-spacing: -1px;
    margin: 0 0 20px;
}

.article-excerpt {
    color: #666;
    font-size: 19px;
    line-height: 1.7;
    margin: 0 0 25px;
}

.article-byline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.article-byline strong,
.article-byline span {
    display: block;
}

.article-byline span {
    color: #888;
    font-size: 12px;
    margin-top: 3px;
}

.article-actions {
    display: flex;
    gap: 8px;
}

.share-btn,
.pdf-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 9px 13px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.pdf-btn {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.article-hero {
    margin: 35px 0;
}

.article-hero img {
    height: auto;
    max-height: 650px;
    object-fit: contain;
    background: #f3f3f3;
}

.article-layout {
    display: grid;
    grid-template-columns: 60px minmax(0, 720px);
    gap: 25px;
    justify-content: center;
}

.article-share {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.article-share button,
.article-share a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fff;
    font: 700 10px Arial, sans-serif;
}

.article-body {
    font-size: 19px;
    line-height: 2;
}

.article-body p {
    margin: 0 0 1.4em;
}

.article-body h2 {
    font-size: 29px;
    line-height: 1.35;
    margin: 1.7em 0 .7em;
}

.article-body h3 {
    font-size: 24px;
    line-height: 1.4;
    margin: 1.5em 0 .6em;
}

.article-body img {
    width: 100%;
    height: auto;
    margin: 30px 0;
}

.related-section {
    margin-top: 75px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1000;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent);
}

/* MOBILE */

@media (max-width: 900px) {

    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    .topbar {
        display: none;
    }

    .masthead-inner {
        height: 74px;
    }

    .mobile-menu {
        display: flex;
        width: 32px;
        height: 32px;
        padding: 6px 0;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-menu span {
        height: 2px;
        width: 24px;
        background: #111;
    }

    .brand-main {
        font-size: 34px;
    }

    .brand-tag {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .nav-open .main-nav {
        display: block;
    }

    .nav-open .nav-inner {
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .nav-open .nav-inner a {
        padding: 9px 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .lead-image {
        height: 290px;
    }

    .lead-story h1 {
        font-size: 31px;
    }

    .hero-secondary {
        grid-template-columns: 1fr 1fr;
    }

    .secondary-story {
        display: block;
    }

    .secondary-story .story-image {
        height: 140px;
        margin-bottom: 10px;
    }

    .secondary-story h2 {
        font-size: 17px;
    }

    .latest-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-header h1 {
        font-size: 37px;
    }

    .article-layout {
        display: block;
    }

    .article-share {
        display: none;
    }

    .article-body {
        font-size: 18px;
        line-height: 1.9;
    }
}

@media (max-width: 560px) {

    .breaking-inner {
        min-height: 38px;
    }

    .breaking-label {
        height: 38px;
        padding: 0 10px;
        font-size: 9px;
    }

    .breaking-scroll {
        padding: 0 10px;
    }

    .hero-secondary {
        grid-template-columns: 1fr;
    }

    .secondary-story {
        display: grid;
        grid-template-columns: 120px 1fr;
    }

    .secondary-story .story-image {
        height: 90px;
    }

    .section {
        padding: 38px 0;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .news-row {
        grid-template-columns: 120px 1fr;
        gap: 13px;
    }

    .news-thumb {
        height: 90px;
    }

    .news-row h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .news-row p {
        display: none;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card .story-image {
        height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .article-page {
        padding-top: 25px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-excerpt {
        font-size: 17px;
    }

    .article-byline {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-body {
        font-size: 17px;
    }
}
