:root {
    color-scheme: light;
    --bg: #f6f1e7;
    --paper: #fffdf8;
    --ink: #16221f;
    --muted: #66706b;
    --line: #ded7c8;
    --green: #006a4e;
    --red: #d72638;
    --blue: #205d86;
    --gold: #c79a35;
    --shadow: 0 14px 34px rgba(36, 32, 24, 0.09);
    font-family: "Noto Serif Bengali", "Noto Sans Bengali", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.topbar {
    background: #13231f;
    color: #f9f5ec;
    font-size: 0.86rem;
}

.topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar__right,
.user-social,
.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: var(--green);
    border-color: rgba(255, 255, 255, 0.28);
}

.social-icon--footer {
    width: 38px;
    height: 38px;
    margin: 0;
    font-size: 0.9rem;
}

.social-icon--youtube span[aria-hidden="true"] {
    transform: translateX(1px);
}

.social-icon--youtube span[aria-hidden="true"]::before {
    content: "▶";
}

.social-icon--youtube span[aria-hidden="true"] {
    font-size: 0;
}

.social-icon--youtube span[aria-hidden="true"]::before {
    font-size: 0.95rem;
}

.social-icon--x span[aria-hidden="true"] {
    font-size: 0;
}

.social-icon--x span[aria-hidden="true"]::before {
    content: "𝕏";
    font-size: 1rem;
}

.masthead {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.masthead__actions {
    width: min(580px, 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.mobile-menu-toggle,
.mobile-account-action {
    display: none;
}

.mobile-account-form {
    display: none;
    margin: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    border-radius: 6px;
    font-size: 1.75rem;
    font-weight: 800;
    border: 3px solid var(--red);
}

.brand__logo {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
}

.brand strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.search {
    width: min(380px, 100%);
    display: flex;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.search input {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    outline: 0;
    background: transparent;
}

.search button {
    width: 48px;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.auth-links a,
.auth-links button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 9px 13px;
    font-weight: 800;
    cursor: pointer;
}

.auth-links__primary {
    background: var(--green) !important;
    border-color: var(--green) !important;
    color: #fff !important;
}

.auth-links__user {
    max-width: 132px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--muted);
    font-weight: 800;
}

.auth-links form {
    display: flex;
    margin: 0;
}

.flash-message {
    background: #e7f4ed;
    border-bottom: 1px solid #c4dfd2;
    color: var(--green);
    font-weight: 800;
}

.flash-message .container {
    padding: 10px 0;
}

.ad-wrap {
    padding-top: 24px;
}

.ad-wrap--top {
    padding-top: 18px;
}

.ad-slot {
    min-height: 90px;
    display: grid;
    place-items: center;
    gap: 3px;
    border: 1px dashed #b8aa92;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 106, 78, 0.06), rgba(199, 154, 53, 0.08)),
        #fbf7ef;
    color: var(--muted);
    text-align: center;
}

.ad-slot span {
    color: #8a7d68;
    font-size: 0.78rem;
    font-weight: 800;
}

.ad-slot strong {
    color: var(--green);
    font-size: 1rem;
}

.ad-slot--wide {
    min-height: 92px;
}

.ad-slot--content,
.ad-slot--inline {
    min-height: 120px;
}

.ad-slot--sidebar {
    min-height: 250px;
}

.article-body .ad-slot {
    margin: 18px 0;
}

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

.nav__inner {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 50px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 6px;
    color: #26342f;
    font-weight: 700;
}

.nav a:hover,
.nav a.is-active {
    background: color-mix(in srgb, var(--accent, var(--green)) 13%, transparent);
    color: var(--accent, var(--green));
}

.ticker {
    background: #efe6d3;
    border-top: 1px solid var(--line);
}

.ticker__inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.ticker strong {
    flex: 0 0 auto;
    background: var(--red);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.86rem;
}

.ticker__marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 34s linear infinite;
    will-change: transform;
}

.ticker__marquee:hover .ticker__track {
    animation-play-state: paused;
}

.ticker__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
    white-space: nowrap;
}

.ticker a {
    color: #26342f;
    font-weight: 650;
}

@keyframes ticker-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(230px, 0.72fr) minmax(260px, 0.78fr);
    gap: 18px;
    padding: 28px 0 10px;
}

.lead-story {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 8px;
    background: #14231e;
    box-shadow: var(--shadow);
}

.lead-story img {
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    opacity: 0.78;
}

.lead-story::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 16, 14, 0.04), rgba(8, 16, 14, 0.86));
}

.lead-story__content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 1;
    color: #fff;
}

.lead-story h1 {
    margin: 10px 0 12px;
    font-size: 2.45rem;
    line-height: 1.16;
}

.lead-story p {
    max-width: 690px;
    margin: 0 0 16px;
    color: #f5efe4;
    font-size: 1.05rem;
}

.lead-stack {
    display: grid;
    gap: 18px;
}

.aside-stack {
    display: grid;
    gap: 18px;
    align-self: start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--red);
    font-size: 0.84rem;
    font-weight: 800;
}

.meta,
.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 0.88rem;
}

.lead-story .meta {
    color: #f5efe4;
}

.article-card {
    display: grid;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
}

.article-card__image {
    aspect-ratio: 16 / 10;
    background: #ddd3c2;
    overflow: hidden;
}

.article-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.article-card:hover img {
    transform: scale(1.03);
}

.article-card__body {
    padding: 15px;
}

.article-card h2 {
    margin: 6px 0 8px;
    font-size: 1.18rem;
    line-height: 1.32;
}

.article-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.article-card--compact {
    grid-template-rows: auto 1fr;
}

.article-card--compact h2 {
    font-size: 1.04rem;
}

.side-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    align-self: start;
}

.side-panel h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.ranked-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
    counter-reset: ranked;
}

.ranked-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    counter-increment: ranked;
}

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

.ranked-list li::before {
    content: counter(ranked);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #efe6d3;
    border-radius: 50%;
    color: var(--green);
    font-weight: 800;
}

.ranked-list a {
    font-weight: 750;
    line-height: 1.35;
}

.ranked-list span {
    grid-column: 2;
    color: var(--muted);
    font-size: 0.84rem;
}

.section-block {
    padding: 34px 0 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.65rem;
}

.section-heading a {
    color: var(--green);
    font-weight: 800;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.story-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.category-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: 8px;
    padding: 18px;
}

.category-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.category-panel__head h2 {
    margin: 0;
    font-size: 1.25rem;
}

.category-panel__head a {
    color: var(--accent);
    font-weight: 800;
}

.category-panel article {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.category-panel article:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.category-panel img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.category-panel h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.category-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.newsletter-band {
    margin-top: 42px;
    background: #13231f;
    color: #fff;
}

.newsletter-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
}

.newsletter-band h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}

.newsletter-band p {
    margin: 0;
    color: #e3ddd0;
}

.newsletter-band form {
    display: flex;
    gap: 8px;
    width: min(430px, 100%);
}

.newsletter-band input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 6px;
    padding: 12px 14px;
    outline: 0;
}

.newsletter-band input::placeholder {
    color: #d4cdc1;
}

.newsletter-band button {
    border: 0;
    border-radius: 6px;
    background: var(--gold);
    color: #17140d;
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer;
}

.auth-page {
    padding: 46px 0;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 28px;
    align-items: center;
}

.auth-copy {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(12, 25, 21, 0.14), rgba(12, 25, 21, 0.86)),
        url("https://commons.wikimedia.org/wiki/Special:FilePath/Jatiyo_Sangshad_Bhaban_(02).jpg?width=1200") center / cover;
    color: #fff;
    box-shadow: var(--shadow);
}

.auth-copy p {
    margin: 0 0 8px;
    color: #f3d378;
    font-weight: 900;
}

.auth-copy h1 {
    max-width: 620px;
    margin: 0 0 12px;
    font-size: 2.3rem;
    line-height: 1.18;
}

.auth-copy span {
    max-width: 560px;
    color: #f6efe4;
}

.auth-card {
    display: grid;
    gap: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.auth-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 4px;
}

.auth-card h2 {
    margin: 0;
    font-size: 1.6rem;
}

.auth-card__head a {
    color: var(--green);
    font-weight: 800;
}

.auth-card label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 800;
}

.auth-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    outline: 0;
}

.auth-card input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.12);
}

.auth-card button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    padding: 12px 16px;
    font-weight: 900;
    cursor: pointer;
}

.auth-switch {
    display: inline-flex;
    justify-content: center;
    color: var(--green);
    font-weight: 900;
    text-align: center;
}

.form-alert {
    border: 1px solid #efc0c7;
    border-radius: 6px;
    background: #fff1f2;
    color: #a2182b;
    padding: 10px 12px;
    font-weight: 800;
}

.page-head {
    padding: 36px 0 18px;
    border-bottom: 3px solid var(--accent, var(--green));
}

.page-head p {
    margin: 0;
    color: var(--accent, var(--red));
    font-weight: 800;
}

.page-head h1 {
    margin: 4px 0 0;
    font-size: 2.15rem;
    line-height: 1.2;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding: 24px 0 42px;
}

.story-list {
    display: grid;
    gap: 18px;
}

.story-list .article-card {
    grid-template-columns: 280px 1fr;
}

.story-list .article-card__image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 190px;
}

.empty-state {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.empty-state h2,
.empty-state p {
    margin: 0;
}

.empty-state p {
    margin-top: 8px;
    color: var(--muted);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    padding: 28px 0 48px;
}

.article-main {
    min-width: 0;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--green);
    font-weight: 750;
}

.article-header {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.article-header h1 {
    margin: 8px 0 12px;
    font-size: 2.35rem;
    line-height: 1.2;
}

.article-header p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 1.08rem;
}

.byline {
    color: var(--muted);
}

.byline strong {
    color: var(--ink);
}

.article-figure {
    margin: 18px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.article-figure img {
    max-height: 560px;
    object-fit: cover;
}

.article-figure figcaption {
    padding: 10px 14px;
    color: var(--muted);
    font-size: 0.86rem;
}

.article-body {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.article-body p {
    margin: 0 0 18px;
    font-size: 1.08rem;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.related {
    margin-top: 28px;
}

.related h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.article-aside {
    min-width: 0;
    display: grid;
    align-self: start;
    gap: 18px;
}

.site-footer {
    background: #111c19;
    color: #f7f1e6;
    padding: 34px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 28px;
}

.brand--footer .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
}

.brand--footer .brand__logo {
    width: 48px;
    height: 48px;
}

.brand--footer strong {
    font-size: 1.35rem;
}

.brand--footer small,
.site-footer p {
    color: #d6cec0;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.site-footer a:not(.brand) {
    display: block;
    color: #f7f1e6;
    margin: 5px 0;
}

.footer-links {
    display: grid;
    gap: 2px;
}

.footer-social {
    margin-top: 10px;
}

.site-footer p {
    margin: 10px 0 0;
}

.maintenance-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
    background:
        linear-gradient(120deg, rgba(0, 106, 78, 0.92), rgba(17, 28, 25, 0.96)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.maintenance-page {
    width: min(620px, 100%);
    display: grid;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 28px;
    box-shadow: var(--shadow);
}

.maintenance-page--smart {
    width: min(760px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(16px);
}

.maintenance-hero {
    display: grid;
    gap: 14px;
}

.maintenance-pill {
    width: fit-content;
    border-radius: 999px;
    background: rgba(215, 38, 56, 0.1);
    color: var(--red);
    padding: 6px 12px;
    font-weight: 900;
}

.maintenance-hero h1,
.maintenance-hero p {
    margin: 0;
}

.maintenance-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.maintenance-hero p {
    color: var(--muted);
    font-size: 1.08rem;
}

.maintenance-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.maintenance-countdown div {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px 10px;
    text-align: center;
}

.maintenance-countdown strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1;
}

.maintenance-countdown span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.maintenance-note {
    color: var(--muted);
    font-weight: 800;
}

.maintenance-page section {
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.maintenance-page p,
.maintenance-page h1 {
    margin: 0;
}

.maintenance-page p {
    color: var(--red);
    font-weight: 900;
}

.maintenance-page h1 {
    margin-top: 8px;
    font-size: 2.2rem;
    line-height: 1.18;
}

.maintenance-page span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.05rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(247, 241, 230, 0.16);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #c9c0b1;
    font-size: 0.9rem;
}

@media (max-width: 1040px) {
    .lead-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .lead-story {
        grid-row: span 2;
    }

    .side-panel {
        grid-column: 2;
    }

    .aside-stack {
        grid-column: 2;
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__marquee {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ticker__track {
        animation: none;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 16px, 1180px);
    }

    .topbar {
        display: none;
    }

    .masthead {
        min-height: auto;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        gap: 8px 10px;
        padding: 10px 0 12px;
    }

    .masthead__actions {
        grid-column: 1 / -1;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .mobile-menu-toggle,
    .mobile-account-action {
        width: 38px;
        height: 38px;
        display: inline-grid;
        place-items: center;
        border: 0;
        background: transparent;
        color: var(--ink);
        padding: 0;
    }

    .mobile-menu-toggle {
        justify-self: start;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
    }

    .mobile-account-form {
        display: flex;
        justify-self: end;
        margin: 0;
    }

    .mobile-account-action {
        position: relative;
        justify-self: end;
        border-radius: 6px;
        cursor: pointer;
    }

    .mobile-account-action svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    .brand {
        min-width: 0;
        justify-self: center;
        gap: 7px;
    }

    .brand__mark {
        width: 34px;
        height: 34px;
        border-width: 2px;
        border-radius: 5px;
        font-size: 1.15rem;
    }

    .brand strong {
        max-width: 168px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 1.32rem;
        line-height: 1.05;
    }

    .brand small {
        font-size: 0.72rem;
        line-height: 1.1;
    }

    .search {
        width: 100%;
        border-color: #aebff0;
        border-radius: 4px;
    }

    .search input {
        min-height: 42px;
        padding: 9px 11px;
        font-size: 0.92rem;
    }

    .search button {
        width: 44px;
        min-height: 42px;
        border-left: 0;
        border-radius: 0 4px 4px 0;
    }

    .auth-links {
        display: none;
    }

    .nav {
        max-height: 0;
        overflow: hidden;
        border-top: 0;
        transition: max-height 180ms ease;
    }

    .nav.is-open {
        max-height: 420px;
        border-top: 1px solid var(--line);
    }

    .nav__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        min-height: 0;
        padding: 8px 0;
        overflow: visible;
    }

    .nav a {
        min-width: 0;
        text-align: center;
        padding: 9px 8px;
        border: 1px solid var(--line);
        background: #fff;
    }

    .lead-grid,
    .content-layout,
    .article-layout,
    .auth-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .auth-copy {
        min-height: 320px;
    }

    .lead-story {
        min-height: 460px;
        grid-row: auto;
    }

    .lead-story img {
        min-height: 460px;
    }

    .side-panel,
    .aside-stack,
    .article-aside {
        grid-column: auto;
    }

    .ad-slot--sidebar {
        min-height: 160px;
    }

    .story-list .article-card {
        grid-template-columns: 1fr;
    }

    .story-list .article-card__image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

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

    .newsletter-band__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 18px;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
    }

    .maintenance-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .brand__mark {
        width: 34px;
        height: 34px;
    }

    .lead-story,
    .lead-story img {
        min-height: 420px;
    }

    .lead-story__content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .lead-story h1,
    .article-header h1,
    .auth-copy h1 {
        font-size: 1.82rem;
    }

    .story-grid,
    .story-grid--three {
        grid-template-columns: 1fr;
    }

    .category-panel article {
        grid-template-columns: 108px 1fr;
    }

    .newsletter-band form {
        flex-direction: column;
    }

    .newsletter-band button {
        width: 100%;
    }

    .article-header,
    .article-body {
        padding: 18px;
    }
}
