
/* =========================================
   KHABRI CHAI WALA - MAIN STYLESHEET
========================================= */

:root {
    --maroon: #650b08;
    --maroon-dark: #390503;
    --maroon-light: #8b1710;
    --yellow: #ffd329;
    --cream: #fff9ed;
    --cream-dark: #f5e7c9;
    --text: #211813;
    --muted: #82776a;
    --border: #eadcc5;
    --red: #ed1717;
    --white: #ffffff;
    --container: 1440px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: Arial, "Noto Sans Devanagari",
                 "Mangal", sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 36px), var(--container));
    margin-inline: auto;
}

/* =========================================
   HEADER TOP STRIP
========================================= */

.site-header {
    position: relative;
    z-index: 30;
}

.top-strip {
    color: var(--white);
    background: var(--maroon-dark);
    border-bottom: 1px solid rgba(255, 211, 41, .5);
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
}

.current-date {
    white-space: nowrap;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.top-links a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 12px;
    background: rgba(255,255,255,.08);
}

.header-search {
    display: flex;
    align-items: center;
    height: 27px;
    width: 205px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--yellow);
}

.header-search input {
    min-width: 0;
    width: 100%;
    padding: 4px 10px;
    border: 0;
    outline: 0;
    font-size: 12px;
    color: var(--text);
}

.header-search button {
    width: 34px;
    height: 100%;
    border: 0;
    background: white;
    color: var(--maroon);
    font-size: 23px;
    line-height: 1;
}

/* =========================================
   BRAND HEADER WITH EXISTING BACKGROUND
========================================= */

.brand-header {
    min-height: 180px;
    background-color: #b57b3c;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 238, 195, .04),
            rgba(52, 12, 4, .14)
        ),
        url("assets/header_bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--yellow);
}

.brand-header-inner {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand-logo {
    flex: 0 0 230px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand-logo img {
    width: 220px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,.2));
}

.brand-message {
    max-width: 460px;
    padding: 14px 22px;
    text-align: center;
    background: rgba(255, 239, 199, .93);
    border: 2px solid #bd884d;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    transform: rotate(-.5deg);
}

.brand-kicker {
    color: var(--maroon-light);
    font-size: 14px;
    font-weight: 800;
}

.brand-message h1 {
    margin: 3px 0 5px;
    color: var(--maroon-dark);
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.25;
    font-weight: 900;
}

.brand-message p {
    margin: 0;
    color: #73452a;
    font-size: 12px;
    font-weight: 700;
}

.brand-stamp {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--yellow);
    outline: 2px solid var(--maroon-dark);
    outline-offset: -7px;
    border-radius: 50%;
    color: white;
    background: var(--maroon);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.brand-stamp span {
    font-size: 24px;
    line-height: 1.1;
}

.brand-stamp strong {
    font-size: 11px;
    line-height: 1.4;
}

/* =========================================
   NAVBAR
========================================= */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    color: white;
    background: var(--maroon);
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 3px 8px rgba(40,0,0,.12);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    min-height: 48px;
}

.home-link {
    width: 55px;
    flex: 0 0 55px;
    display: grid;
    place-items: center;
    color: var(--maroon-dark);
    background: var(--yellow);
    font-size: 29px;
    font-weight: 900;
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-width: 0;
}

.nav-links a {
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--maroon-light);
    color: var(--yellow);
}

.mobile-menu-btn,
.mobile-search-btn,
.mobile-search-form {
    display: none;
}

/* =========================================
   BREAKING NEWS
========================================= */

.breaking-bar {
    background: #fffdf8;
    border-bottom: 1px solid var(--border);
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    overflow: hidden;
}

.breaking-label {
    flex: 0 0 auto;
    padding: 6px 15px;
    color: white;
    background: var(--red);
    border-radius: 5px 20px 20px 5px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.breaking-label span {
    font-size: 17px;
    margin-right: 3px;
}

.ticker-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 23px;
    animation: ticker-scroll 42s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.ticker-dot {
    color: var(--red);
    font-size: 10px;
}

.ticker-control {
    flex: 0 0 30px;
    border: 0;
    color: var(--maroon);
    background: transparent;
    font-weight: 900;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   HERO SECTION
   IMPORTANT: NO SIDEBAR IN THIS SECTION
========================================= */

.hero-section {
    padding-top: 14px;
    padding-bottom: 20px;
}

.hero-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
}

.hero-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #211813;
    isolation: isolate;
}

.hero-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.hero-card:hover img {
    transform: scale(1.035);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0,0,0,.93)
    );
}

.hero-card-large {
    height: 330px;
}

.hero-small-column {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.hero-card-small {
    min-height: 0;
}

.hero-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px 17px;
    color: white;
}

.category-badge {
    display: inline-block;
    width: fit-content;
    padding: 2px 8px;
    margin-bottom: 5px;
    color: white;
    background: var(--red);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.hero-overlay h2 {
    margin: 0 0 7px;
    font-size: clamp(22px, 2.2vw, 31px);
    line-height: 1.35;
    font-weight: 900;
    text-shadow: 0 2px 5px #000;
}

.hero-overlay h3 {
    margin: 0 0 5px;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.4;
    font-weight: 800;
    text-shadow: 0 2px 4px #000;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.hero-overlay .story-meta {
    color: #f5f1e9;
}

/* =========================================
   MAIN SECTION: 8/12 + 4/12
   Sidebar starts ONLY in this section
========================================= */

.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    align-items: start;
    gap: 22px;
    padding-bottom: 35px;
}

.category-content {
    min-width: 0;
}

.category-section {
    min-width: 0;
    margin-bottom: 24px;
    scroll-margin-top: 75px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 2px solid #e9c9a5;
    position: relative;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36%;
    height: 2px;
    background: var(--red);
}

.section-heading h2 {
    margin: 0;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: clamp(21px, 2vw, 29px);
    line-height: 1.35;
    font-weight: 900;
}

.section-icon {
    font-size: 25px;
}

.view-all {
    color: #b52a17;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.view-all:hover {
    color: var(--maroon-dark);
}

/* Category: big story + 4 small stories */

.category-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 16px;
}

.category-feature {
    min-width: 0;
}

.feature-image {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--cream-dark);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

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

.feature-image .category-badge {
    position: absolute;
    top: 9px;
    left: 9px;
}

.category-feature h3 {
    margin: 7px 0;
    font-size: 19px;
    line-height: 1.48;
    font-weight: 800;
}

.category-feature h3 a:hover,
.small-story h3 a:hover,
.trending-info h3 a:hover,
.latest-item h3 a:hover {
    color: #b51910;
}

.category-small-list {
    min-width: 0;
}

.small-story {
    display: grid;
    grid-template-columns: 22px 82px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.small-story:last-child {
    margin-bottom: 0;
}

.story-number {
    color: #bb1c13;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
    padding-top: 8px;
}

.small-story-image {
    display: block;
    width: 82px;
    height: 62px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--cream-dark);
}

.small-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-story-info {
    min-width: 0;
}

.mini-category {
    display: none;
    color: #a31b12;
    font-size: 10px;
    font-weight: 800;
}

.small-story h3 {
    margin: 3px 0 5px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

/* =========================================
   RIGHT STICKY SIDEBAR
========================================= */

.right-sidebar {
    min-width: 0;
    align-self: stretch;
}

.sidebar-sticky {
    position: sticky;
    top: 62px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.sidebar-widget {
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #f0dfba;
    border-radius: 7px;
    box-shadow: 0 2px 7px rgba(95, 47, 12, .07);
}

.widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 43px;
    padding: 9px 12px;
    color: var(--maroon);
    background: linear-gradient(90deg, #ffe28a, #fff0bd);
}

.widget-heading h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
}

.widget-heading h2 span {
    font-size: 21px;
}

.widget-heading > a {
    flex: 0 0 auto;
    color: #9e2616;
    font-size: 11px;
    font-weight: 800;
}

/* Trending tabs */

.trending-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 5px 10px;
}

.tab-btn {
    padding: 6px 2px;
    border: 0;
    background: #f0eee9;
    color: #55483b;
    font-size: 11px;
    font-weight: 700;
}

.tab-btn.active {
    color: white;
    background: var(--maroon);
}

.trending-item {
    display: grid;
    grid-template-columns: 27px 60px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-bottom: 1px solid #f0e7d7;
}

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

.trending-number {
    color: #b72116;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.trending-image {
    display: block;
    width: 60px;
    height: 59px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--cream-dark);
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-info {
    min-width: 0;
}

.trending-info .mini-category {
    display: none;
}

.trending-info h3 {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.trending-views {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

/* Video widget */

.video-card {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.video-thumbnail {
    display: block;
    position: relative;
    height: 145px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--maroon-dark);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
}

.play-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding-left: 3px;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(95, 7, 5, .88);
    border: 2px solid white;
    border-radius: 50%;
    font-size: 19px;
}

.video-duration {
    position: absolute;
    z-index: 2;
    bottom: 7px;
    right: 7px;
    padding: 2px 5px;
    color: white;
    background: rgba(0,0,0,.8);
    font-size: 10px;
}

.video-card h3 {
    margin: 7px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

/* Chai promotional banner */

.chai-promo {
    position: relative;
    overflow: hidden;
    min-height: 165px;
    padding: 19px;
    color: var(--yellow);
    background:
        radial-gradient(circle at 85% 80%, #8d2514, transparent 40%),
        linear-gradient(135deg, #500604, #760d09);
    border: 2px solid #a62a1d;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(80, 8, 3, .14);
}

.chai-promo::after {
    content: "";
    position: absolute;
    width: 135px;
    height: 135px;
    right: -28px;
    bottom: -30px;
    border: 1px dashed rgba(255,211,41,.5);
    border-radius: 50%;
}

.promo-steam {
    font-size: 28px;
    line-height: 1;
}

.chai-promo p {
    margin: 5px 0 0;
    color: #fff3d5;
    font-size: 13px;
}

.chai-promo h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 900;
}

.promo-cups {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 13px;
    font-size: 25px;
}

/* Latest sidebar stories */

.latest-item {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.latest-image {
    width: 85px;
    height: 72px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--cream-dark);
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item h3 {
    margin: 2px 0 5px;
    font-size: 12px;
    line-height: 1.5;
}

/* Advertisement */

.sidebar-ad {
    padding: 16px 12px;
    text-align: center;
    border: 1px dashed #c9a875;
    border-radius: 6px;
    background: #f8ecd4;
    color: #795332;
}

.sidebar-ad > span {
    display: block;
    font-size: 11px;
    margin-bottom: 8px;
}

.sidebar-ad div {
    min-height: 90px;
    display: grid;
    place-items: center;
    color: #947754;
    background: rgba(255,255,255,.55);
    font-weight: 700;
}

.sidebar-ad small {
    display: block;
    margin-top: 8px;
    font-size: 10px;
}

/* =========================================
   SPECIAL STORIES
========================================= */

.special-stories {
    padding: 18px 0 23px;
    color: white;
    background:
        radial-gradient(circle at 90% 0%, #7b1c0f, transparent 40%),
        var(--maroon-dark);
    border-top: 4px solid var(--yellow);
}

.special-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.special-heading h2 {
    margin: 0;
    color: var(--yellow);
    font-size: 25px;
    font-weight: 900;
}

.special-controls {
    display: flex;
    gap: 7px;
}

.special-controls button {
    width: 33px;
    height: 33px;
    color: white;
    background: transparent;
    border: 1px solid #e6c68b;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
}

.special-track {
    display: grid;
    grid-auto-columns: calc((100% - 60px) / 6);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.special-track::-webkit-scrollbar {
    display: none;
}

.special-card {
    min-width: 0;
}

.special-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.22);
}

.special-card h3 {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    color: #f9e8cb;
    background: #270302;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-top: 35px;
    padding-bottom: 30px;
}

.footer-brand img {
    width: 150px;
    height: 105px;
    object-fit: contain;
    background: rgba(255,255,255,.03);
}

.footer-brand p {
    margin: 7px 0;
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-column h3 {
    margin: 0 0 6px;
    padding-bottom: 7px;
    color: var(--yellow);
    border-bottom: 1px solid #74332b;
    width: 100%;
    font-size: 16px;
}

.footer-column a,
.footer-column p {
    margin: 0;
    font-size: 13px;
    color: #e8d2b5;
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social a {
    padding: 4px 7px;
    border: 1px solid #814138;
    border-radius: 4px;
    font-size: 11px;
}

.footer-bottom {
    background: #190201;
    border-top: 1px solid #53201b;
}

.footer-bottom-inner {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--yellow);
}

/* =========================================
   TOAST
========================================= */

.toast {
    position: fixed;
    z-index: 300;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 20px);
    padding: 11px 18px;
    max-width: calc(100% - 30px);
    border-radius: 6px;
    color: white;
    background: var(--maroon-dark);
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.mobile-bottom-nav {
    display: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
    .container {
        width: min(calc(100% - 26px), var(--container));
    }

    .brand-logo {
        flex-basis: 180px;
    }

    .brand-logo img {
        width: 175px;
        height: 145px;
    }

    .brand-message {
        max-width: 390px;
    }

    .brand-stamp {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
    }

    .nav-links a {
        padding-inline: 7px;
        font-size: 12px;
    }

    .main-layout {
        grid-template-columns: minmax(0, 1.9fr) minmax(245px, 1fr);
        gap: 16px;
    }

    .category-news-grid {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: 10px;
    }

    .feature-image {
        height: 165px;
    }

    .small-story {
        grid-template-columns: 19px 68px minmax(0, 1fr);
        gap: 6px;
    }

    .small-story-image {
        width: 68px;
        height: 57px;
    }

    .small-story h3 {
        font-size: 12px;
    }

    .trending-item {
        grid-template-columns: 22px 52px minmax(0, 1fr);
        gap: 6px;
        padding-inline: 7px;
    }

    .trending-image {
        width: 52px;
        height: 53px;
    }

    .trending-info h3 {
        font-size: 11px;
    }

    .special-track {
        grid-auto-columns: calc((100% - 36px) / 4);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    body {
        font-size: 14px;
        padding-bottom: 64px;
    }

    .container {
        width: calc(100% - 22px);
    }

    .top-strip-inner {
        min-height: 32px;
        gap: 7px;
        font-size: 10px;
    }

    .top-links {
        display: none;
    }

    .current-date {
        margin-right: auto;
        font-size: 10px;
    }

    .social-links {
        gap: 4px;
    }

    .social-links a {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .header-search {
        display: none;
    }

    .brand-header {
        min-height: 118px;
        background-position: center;
        background-size: cover;
    }

    .brand-header-inner {
        min-height: 118px;
        justify-content: center;
        gap: 8px;
    }

    .brand-logo {
        flex: 0 1 48%;
        justify-content: center;
        min-width: 0;
    }

    .brand-logo img {
        width: 100%;
        max-width: 210px;
        height: 110px;
    }

    .brand-message {
        display: none;
    }

    .brand-stamp {
        display: none;
    }

    .nav-inner {
        min-height: 43px;
        justify-content: space-between;
        gap: 12px;
    }

    .home-link {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-search-btn {
        display: grid;
        place-items: center;
        flex: 0 0 42px;
        border: 0;
        color: white;
        background: transparent;
        font-size: 25px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--maroon-dark);
        border-bottom: 3px solid var(--yellow);
        box-shadow: 0 8px 15px rgba(0,0,0,.2);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        justify-content: flex-start;
        padding: 11px 18px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        font-size: 14px;
    }

    .mobile-search-form {
        display: none;
        padding-top: 8px;
        padding-bottom: 9px;
        gap: 7px;
    }

    .mobile-search-form.is-open {
        display: flex;
    }

    .mobile-search-form input {
        min-width: 0;
        flex: 1;
        padding: 9px 11px;
        border: 1px solid #d5b785;
        border-radius: 5px;
        outline-color: var(--yellow);
    }

    .mobile-search-form button {
        padding: 8px 12px;
        border: 0;
        border-radius: 5px;
        color: white;
        background: var(--maroon-light);
    }

    .breaking-inner {
        min-height: 39px;
        gap: 7px;
    }

    .breaking-label {
        padding: 6px 9px;
        font-size: 10px;
    }

    .ticker-track {
        gap: 13px;
    }

    .ticker-item {
        font-size: 11px;
    }

    .ticker-control {
        display: none;
    }

    /* Hero is still separate and full width */
    .hero-section {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .hero-featured {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .hero-card-large {
        height: clamp(240px, 68vw, 340px);
    }

    .hero-small-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 8px;
    }

    .hero-card-small {
        height: 155px;
    }

    .hero-overlay {
        padding: 10px;
    }

    .hero-overlay h2 {
        font-size: clamp(19px, 5.2vw, 25px);
        line-height: 1.35;
    }

    .hero-overlay h3 {
        font-size: 13px;
        line-height: 1.35;
    }

    .hero-overlay .category-badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .hero-overlay .story-meta {
        gap: 6px;
        font-size: 9px;
    }

    /* Main starts after hero; sidebar below left content on mobile */
    .main-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 22px;
    }

    .category-content,
    .right-sidebar {
        width: 100%;
    }

    .category-section {
        margin-bottom: 22px;
    }

    .section-heading {
        margin-bottom: 9px;
    }

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

    .section-icon {
        font-size: 22px;
    }

    .view-all {
        font-size: 12px;
    }

    .category-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .feature-image {
        height: clamp(180px, 52vw, 280px);
    }

    .category-feature h3 {
        margin: 7px 0 5px;
        font-size: 18px;
        line-height: 1.45;
    }

    .category-small-list {
        border-top: 1px solid var(--border);
        padding-top: 9px;
    }

    .small-story {
        grid-template-columns: 22px 88px minmax(0, 1fr);
        gap: 8px;
        padding-bottom: 9px;
        margin-bottom: 9px;
    }

    .small-story-image {
        width: 88px;
        height: 67px;
    }

    .small-story h3 {
        margin-top: 1px;
        font-size: 13px;
        line-height: 1.45;
    }

    .small-story .story-number {
        font-size: 17px;
        padding-top: 9px;
    }

    .small-story-info .mini-category {
        display: inline-block;
    }

    .small-story-info .story-meta {
        font-size: 10px;
    }

    /* Sidebar is not sticky on small screens */
    .sidebar-sticky {
        position: static;
        gap: 12px;
    }

    .widget-heading h2 {
        font-size: 19px;
    }

    .trending-item {
        grid-template-columns: 27px 72px minmax(0, 1fr);
        gap: 9px;
        padding: 10px;
    }

    .trending-image {
        width: 72px;
        height: 67px;
    }

    .trending-info h3 {
        font-size: 13px;
    }

    .trending-info .mini-category {
        display: inline-block;
    }

    .trending-views {
        font-size: 10px;
    }

    .video-thumbnail {
        height: 190px;
    }

    .chai-promo {
        min-height: 155px;
    }

    .latest-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .latest-image {
        width: 90px;
        height: 74px;
    }

    .latest-item h3 {
        font-size: 13px;
    }

    .special-stories {
        padding: 15px 0 19px;
    }

    .special-heading h2 {
        font-size: 21px;
    }

    .special-track {
        grid-auto-columns: 44%;
        gap: 10px;
    }

    .special-card img {
        height: 95px;
    }

    .special-card h3 {
        font-size: 11px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        padding-top: 25px;
        padding-bottom: 22px;
    }

    .footer-brand img {
        width: 125px;
        height: 90px;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 12px;
    }

    .footer-bottom-inner {
        min-height: 48px;
        font-size: 10px;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 150;
        right: 0;
        bottom: 0;
        left: 0;
        height: 61px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        color: white;
        background: var(--maroon-dark);
        border-top: 2px solid var(--yellow);
        box-shadow: 0 -3px 12px rgba(0,0,0,.12);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        border: 0;
        color: white;
        background: transparent;
        font-size: 10px;
    }

    .mobile-bottom-nav span {
        font-size: 21px;
        line-height: 1.2;
    }

    .mobile-bottom-nav .bottom-chai span {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        margin-top: -19px;
        color: var(--yellow);
        background: var(--maroon);
        border: 2px solid var(--yellow);
        border-radius: 50%;
        font-size: 27px;
        box-shadow: 0 0 0 3px var(--maroon-dark);
    }

    .toast {
        bottom: 75px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .container {
        width: calc(100% - 16px);
    }

    .hero-card-large {
        height: 235px;
    }

    .hero-card-small {
        height: 140px;
    }

    .hero-overlay h2 {
        font-size: 18px;
    }

    .hero-overlay h3 {
        font-size: 12px;
    }

    .small-story {
        grid-template-columns: 18px 75px minmax(0, 1fr);
        gap: 6px;
    }

    .small-story-image {
        width: 75px;
        height: 62px;
    }

    .small-story h3 {
        font-size: 12px;
    }

    .special-track {
        grid-auto-columns: 55%;
    }
}

/* Motion accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
