:root {
  --ink: #171717;
  --muted: #66615b;
  --paper: #fbfaf7;
  --line: #ded8cf;
  --red: #b31312;
  --red-dark: #7d0d0d;
  --gold: #d89b21;
  --green: #136f63;
  --blue: #234f7e;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(25, 20, 15, .12);
}

.brand__mark.brand__mark--logo {
  width: 76px;
  height: 56px;
  overflow: hidden;
  padding: 3px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--gold);
}

.brand__mark.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-login-logo {
  display: block;
  width: min(220px, 82vw);
  margin: 0 auto 16px;
  border-radius: 8px;
}

.admin-brand-logo {
  width: 42px;
  height: 34px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 5px;
  background: #fff;
}

@media (max-width: 920px) {
  .masthead__inner {
    flex-wrap: wrap;
  }

  .language-toggle {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .language-toggle {
    width: 100%;
    justify-content: center;
  }

  .language-toggle button,
  .language-toggle a {
    flex: 1;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

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

.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

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

.ticker {
  display: flex;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 7px 7px 0 var(--gold);
}

.brand__mark--logo {
  width: 76px;
  height: 56px;
  overflow: hidden;
  padding: 3px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--gold);
}

.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  display: block;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.brand__line {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #312d29;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  border-color: var(--red);
  color: var(--red);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  white-space: nowrap;
}

.language-toggle button,
.language-toggle a {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.language-toggle .is-active {
  background: var(--red);
  color: var(--white);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.hero {
  padding: 28px 0 42px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: stretch;
}

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

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

.lead-story__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 5vw, 46px);
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .1));
}

.lead-story h1 {
  max-width: 760px;
  margin: 14px 0 12px;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.04;
}

.lead-story p {
  max-width: 700px;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
}

.label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 4px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.label--live {
  background: var(--red);
}

.label--gold {
  color: var(--ink);
  background: var(--gold);
}

.story-meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-weight: 800;
  opacity: .86;
}

.quick-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.quick-panel a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 16px 0 4px;
}

.quick-panel span {
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
}

.quick-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.35;
}

.section {
  padding: 46px 0;
}

.section--tools {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f0ebe3;
  padding: 20px 0;
}

.tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.search label {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.search input,
.newsletter input,
.newsletter textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px 14px;
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter,
.newsletter button {
  border: 0;
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter.is-active {
  background: var(--red);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-heading--light {
  color: var(--white);
}

.section-heading--light p {
  color: rgba(255, 255, 255, .78);
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(25, 20, 15, .08);
}

.news-card.is-hidden {
  display: none;
}

.news-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-card__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.news-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.source {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.read-more,
.share-row a,
.share-row button,
.reaction-row button,
.comment-form button,
.reader-logout,
.social-login button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--white);
  background: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.news-card .read-more,
.opinion-card .read-more {
  margin-top: 4px;
  background: var(--red);
}

.section--opinion {
  color: var(--white);
  background: #1d1a16;
}

.opinion-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: start;
}

.opinion-list {
  display: grid;
  gap: 14px;
}

.opinion-card {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, .06);
}

.opinion-card span {
  color: var(--gold);
  font-weight: 900;
}

.opinion-card h3 {
  margin: 8px 0;
  font-size: 24px;
}

.opinion-card p {
  color: rgba(255, 255, 255, .78);
  margin: 0 0 12px;
}

.opinion-card a {
  color: var(--gold);
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: start;
}

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

.category-strip a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.category-strip a:nth-child(3n + 1) {
  border-top: 4px solid var(--red);
}

.category-strip a:nth-child(3n + 2) {
  border-top: 4px solid var(--green);
}

.category-strip a:nth-child(3n) {
  border-top: 4px solid var(--blue);
}

.newsletter {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.newsletter h2 {
  margin: 0 0 8px;
}

.newsletter p {
  margin: 0 0 16px;
  color: var(--muted);
}

.newsletter form {
  display: grid;
  gap: 10px;
}

.newsletter textarea {
  min-height: 110px;
  resize: vertical;
}

.newsletter button {
  background: var(--red);
}

.section--video {
  padding-top: 0;
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
  background: var(--red-dark);
}

.video-panel h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.video-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
}

.video-frame {
  display: grid;
  place-items: center;
  min-height: 250px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .28)),
    url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1000&q=80") center/cover;
}

.video-frame span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 34px;
  padding-left: 5px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #141414;
  color: var(--white);
}

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

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
}

.article-page {
  padding: 34px 0 54px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.article-main,
.comments-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-main h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.article-meta,
.share-row,
.reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.article-meta {
  color: var(--muted);
  font-weight: 900;
}

.article-hero {
  margin: 22px 0;
  border-radius: 8px;
  max-height: 520px;
  object-fit: cover;
}

.article-summary {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.article-body p {
  font-size: 19px;
}

.article-side {
  display: grid;
  gap: 18px;
}

.engagement {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

.share-row a,
.share-row button {
  background: var(--ink);
}

.reaction-row button:nth-child(2),
.social-login button:nth-child(2) {
  background: var(--blue);
}

.comments-panel {
  grid-column: 1 / -1;
}

.comment {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.comment time {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.comment--reply {
  margin: 12px 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfaf7;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.comment-form textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.form-message,
.login-note {
  color: var(--green);
  font-weight: 900;
}

.social-login {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero__grid,
  .tools,
  .opinion-layout,
  .two-column,
  .video-panel,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    display: grid;
    gap: 4px;
    padding: 8px 0;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

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

  .story-meta,
  .ticker {
    white-space: normal;
  }

  .news-grid,
  .category-strip,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 34px 0;
  }
}

/* Modern responsive refresh */
:root {
  --ink: #16181d;
  --muted: #626a73;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --line: #dfe5ec;
  --red: #c01818;
  --red-dark: #831111;
  --gold: #e0a82e;
  --green: #13795b;
  --blue: #225c9b;
  --shadow: 0 18px 42px rgba(20, 24, 32, .10);
  --shadow-soft: 0 8px 22px rgba(20, 24, 32, .08);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 460px);
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1200px, calc(100% - 40px));
}

.topbar {
  background: #111827;
}

.topbar__inner {
  min-height: 38px;
}

.masthead {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 rgba(17, 24, 39, .06);
}

.masthead__inner {
  padding: 14px 0;
}

.brand__mark {
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--gold);
}

.brand__name {
  font-size: 34px;
  letter-spacing: 0;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
}

.nav-links a:hover {
  background: #fff0f0;
}

.hero {
  padding: 22px 0 34px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
}

.lead-story {
  min-height: 500px;
}

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

.lead-story h1 {
  font-size: 52px;
  letter-spacing: 0;
}

.lead-story p {
  font-size: 19px;
}

.quick-panel,
.news-card,
.newsletter,
.article-main,
.comments-panel,
.category-strip a {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.quick-panel {
  position: sticky;
  top: 104px;
}

.section {
  padding: 42px 0;
}

.section--tools {
  position: sticky;
  top: 77px;
  z-index: 8;
  background: rgba(245, 247, 251, .88);
  backdrop-filter: blur(14px);
}

.search input,
.newsletter input,
.newsletter textarea,
.comment-form textarea {
  min-height: 46px;
  border-color: #d7dfe8;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search input:focus,
.newsletter input:focus,
.newsletter textarea:focus,
.comment-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(34, 92, 155, .12);
}

.filter,
.newsletter button,
.read-more,
.share-row a,
.share-row button,
.reaction-row button,
.comment-form button,
.reader-logout,
.social-login button {
  min-height: 42px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.filter:hover,
.newsletter button:hover,
.read-more:hover,
.share-row a:hover,
.share-row button:hover,
.reaction-row button:hover,
.comment-form button:hover,
.reader-logout:hover,
.social-login button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 24, 32, .12);
}

.section-heading h2 {
  font-size: 40px;
  letter-spacing: 0;
}

.news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.news-card__body {
  flex: 1;
  align-content: start;
  padding: 18px;
}

.news-card h3 {
  font-size: 21px;
}

.news-card p {
  color: #4f5965;
}

.news-card .read-more {
  align-self: start;
  margin-top: auto;
}

.section--opinion {
  background: #151922;
}

.opinion-card {
  background: rgba(255, 255, 255, .075);
  transition: transform .18s ease, background .18s ease;
}

.opinion-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .11);
}

.video-panel {
  background: linear-gradient(135deg, #821212, #1f4f86);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.article-main h1 {
  font-size: 48px;
  letter-spacing: 0;
}

.article-body {
  max-width: 760px;
}

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

.article-side {
  position: sticky;
  top: 100px;
}

.share-row,
.reaction-row {
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.comments-panel {
  margin-top: 4px;
}

.comment {
  background: #fff;
}

@media (max-width: 1120px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, 760px);
  }

  .masthead__inner {
    gap: 14px;
  }

  .brand__name {
    font-size: 28px;
  }

  .nav-links--static {
    position: static;
    display: flex;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .hero__grid {
    gap: 16px;
  }

  .quick-panel,
  .section--tools,
  .article-side {
    position: static;
  }

  .tools {
    gap: 12px;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .filter {
    flex: 0 0 auto;
  }

  .article-main h1 {
    font-size: 38px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 620px);
  }

  .topbar__inner {
    align-items: start;
  }

  .masthead__inner {
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 22px;
    box-shadow: 4px 4px 0 var(--gold);
  }

  .brand__name {
    font-size: 24px;
  }

  .brand__line {
    font-size: 12px;
  }

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

  .lead-story__content {
    padding: 22px;
  }

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

  .lead-story p {
    font-size: 16px;
  }

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

  .news-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 160px;
  }

  .news-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .news-card h3 {
    font-size: 18px;
  }

  .news-card p {
    font-size: 14px;
  }

  .read-more,
  .share-row a,
  .share-row button,
  .reaction-row button,
  .comment-form button,
  .newsletter button,
  .reader-logout,
  .social-login button {
    width: 100%;
  }

  .share-row,
  .reaction-row,
  .social-login {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-main,
  .comments-panel,
  .newsletter {
    padding: 18px;
  }

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

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

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

@media (max-width: 460px) {
  .container {
    width: min(100% - 20px, 420px);
  }

  .brand__line,
  .date {
    display: none;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .category-strip a {
    padding: 16px;
    font-size: 18px;
  }

  .comment--reply {
    margin-left: 10px;
  }
}

/* Frontend mobile stability fixes */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

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

  .topbar__inner {
    min-height: auto;
  }

  .ticker {
    white-space: normal;
    line-height: 1.35;
  }

  .masthead {
    top: 0;
  }

  .masthead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand__name,
  .brand__line {
    overflow-wrap: anywhere;
  }

  .menu-button {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .nav-links {
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .section--tools {
    position: static;
  }

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

  .filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 0 10px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .filter {
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .hero {
    padding-top: 14px;
  }

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

  .lead-story__content {
    padding: 18px;
  }

  .lead-story h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .quick-panel {
    padding: 16px;
  }

  .news-grid {
    gap: 12px;
  }

  .news-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 148px;
  }

  .news-card img {
    width: 112px;
    height: 100%;
    min-height: 148px;
    object-fit: cover;
  }

  .news-card__body {
    min-width: 0;
    padding: 12px;
    gap: 7px;
  }

  .news-card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .news-card p,
  .source {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .news-card .read-more {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
  }

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

  .video-panel,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .brand__name {
    font-size: 21px;
  }

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

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

  .lead-story p {
    font-size: 14px;
  }

  .story-meta {
    display: grid;
    gap: 4px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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