/* Sanchore News — editorial frontend (text-focused, no image dependency) */
:root {
  --bg: #fcfaf6;
  --paper: #fff;
  --ink: #1a242c;
  --muted: #71808b;
  --line: #e6e6e0;
  --accent: #c7372c;
  --accent-light: #fff1ec;
  --dark: #182630;
  --blue: #1e536a;
  --shadow: 0 8px 30px rgba(30, 37, 44, 0.035);
  --serif: Georgia, serif;
  --theme-color: #fcfaf6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sn-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.sn-body button,
body.sn-body input {
  font: inherit;
}

body.sn-body button { cursor: pointer; }

body.sn-body a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e08a67;
  outline-offset: 3px;
}

.sn-container {
  width: min(1250px, calc(100% - 64px));
  margin: auto;
}

.topline { height: 5px; background: var(--accent); }

.utility {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #66717b;
}

.utility .sn-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  gap: 15px;
}

.utility strong {
  font-weight: 700;
  color: var(--dark);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility .live {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}

.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 23px;
  gap: 20px;
}

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

.brand-mark {
  width: 46px;
  height: 49px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 29px;
  font-family: Georgia, serif;
  border-radius: 3px;
  letter-spacing: -0.08em;
  flex-shrink: 0;
}

.brand-title {
  font: 800 30px/1 'DM Sans', sans-serif;
  letter-spacing: -1.25px;
  display: block;
  color: var(--ink);
}

.brand-title span { color: var(--accent); }

.brand-sub {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.masthead-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.masthead-note {
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: #7e8990;
  font-size: 12px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
  margin-right: 5px;
}

.circle-btn {
  height: 38px;
  width: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.circle-btn:hover { background: var(--accent-light); }

.circle-btn svg,
.newsletter-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  font-size: 13px;
  white-space: nowrap;
  color: #49535a;
  font-weight: 700;
  padding: 17px 0 14px;
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-spacer { flex: 1; min-width: 12px; }

.nav-special { color: var(--accent); }

.breaking {
  display: flex;
  align-items: stretch;
  background: #f4f0e9;
  border: 1px solid #e9e3d9;
  margin-top: 26px;
  min-height: 46px;
  overflow: hidden;
  border-radius: 3px;
}

.breaking-label {
  padding: 0 19px;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  white-space: nowrap;
}

.breaking-content {
  padding: 12px 19px;
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
  flex: 1;
}

.breaking-content b {
  color: var(--accent);
  font-size: 11px;
  white-space: nowrap;
}

.breaking-content a,
.breaking-content span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
}

.breaking-content a:hover { color: var(--accent); }

.breaking-next {
  margin-left: auto;
  border: 0;
  border-left: 1px solid #e5ded5;
  background: transparent;
  padding: 0 17px;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}

.breaking.is-empty {
  opacity: 0.85;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 37px 0 23px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 10px;
  text-transform: uppercase;
}

.intro h1 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(27px, 3.25vw, 42px);
  line-height: 1.5;
  letter-spacing: -1px;
  margin: 2px 0 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.intro-desc {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.86fr);
  gap: 16px;
}

.lead {
  background: var(--dark);
  color: #fff;
  padding: clamp(25px, 3vw, 43px);
  min-height: 364px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.lead:after {
  content: 'SN';
  position: absolute;
  font: 900 270px/1 'DM Sans', sans-serif;
  color: rgba(255, 255, 255, 0.035);
  right: -35px;
  bottom: -30px;
  pointer-events: none;
  letter-spacing: -26px;
}

.lead:before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  right: -140px;
  top: -180px;
}

.lead .tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  width: max-content;
}

.lead h2 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(26px, 2.85vw, 38px);
  line-height: 1.6;
  letter-spacing: -0.8px;
  max-width: 640px;
  position: relative;
  z-index: 1;
  margin: 19px 0;
  overflow-wrap: anywhere;
}

.lead h2 a:hover { opacity: 0.9; }

.lead p {
  font-family: 'Noto Sans Devanagari', sans-serif;
  max-width: 580px;
  line-height: 1.9;
  color: #c7d1d6;
  margin: 0 0 24px;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.lead-bottom {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.lead-meta {
  font-size: 11px;
  color: #b5c3c9;
}

.read-hero {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 15px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.read-hero:hover {
  background: #fff;
  color: var(--dark);
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.feature {
  background: #f1e9df;
  padding: 23px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px;
  min-height: 172px;
  position: relative;
}

.feature:nth-child(2) { background: #e8efeb; }

.feature .num {
  font: 700 36px/1 Georgia, serif;
  color: rgba(131, 114, 103, 0.2);
  position: absolute;
  right: 22px;
  top: 19px;
}

.feature-label {
  color: #9d402e;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 800;
}

.feature:nth-child(2) .feature-label { color: #39735f; }

.feature h3 {
  font: 800 clamp(17px, 1.6vw, 22px)/1.65 'Noto Sans Devanagari', sans-serif;
  margin: 10px 0 10px;
  max-width: 360px;
  overflow-wrap: anywhere;
}

.feature h3 a:hover { color: var(--accent); }

.feature-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #737e7b;
  font-size: 11px;
}

.feature-arrow {
  font-size: 20px;
  color: var(--ink);
}

.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 34px;
  align-items: start;
  margin: 47px 0 70px;
}

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

.section-heading h2 {
  font: 900 22px/1.4 'Noto Sans Devanagari', sans-serif;
  margin: 0;
}

.section-heading small {
  color: var(--muted);
  font-size: 11px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 13px;
  background: var(--paper);
  color: #6d777e;
  font-size: 11px;
  font-weight: 800;
  display: inline-block;
}

.filter:hover,
.filter.active {
  background: var(--dark);
  border-color: var(--dark);
  color: white;
}

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

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

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 23px 23px 20px;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(18, 33, 41, 0.07);
  border-color: #d1d5d4;
}

@media (prefers-reduced-motion: reduce) {
  .news-card { transition: none; }
  .news-card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

.news-card .category {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--accent);
  display: flex;
  gap: 7px;
  align-items: center;
}

.news-card .category:before {
  content: '';
  display: inline-block;
  height: 6px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.news-card h3 {
  font: 800 17px/1.7 'Noto Sans Devanagari', sans-serif;
  letter-spacing: -0.3px;
  margin: 13px 0 9px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-card h3 a:hover { color: var(--accent); }

.news-card p {
  font: 400 12px/1.9 'Noto Sans Devanagari', sans-serif;
  color: var(--muted);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: auto;
  gap: 10px;
}

.card-bottom time {
  font-size: 10px;
  color: #88939b;
}

.card-bottom a {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.card-bottom a:hover { text-decoration: underline; }

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.sn-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.sn-pagination a,
.sn-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.sn-pagination a:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.sn-pagination .is-active span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sn-pagination .is-disabled span {
  opacity: 0.45;
  cursor: not-allowed;
}

.side-section { margin-bottom: 28px; }

.side-title {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.side-title:after {
  content: '';
  display: block;
  width: 45px;
  background: var(--accent);
  height: 2px;
  position: relative;
  top: 16px;
}

.trend-item {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.trend-item:first-of-type { padding-top: 3px; }

.trend-num {
  font: 700 29px/1 Georgia, serif;
  color: #c7c4be;
  min-width: 35px;
}

.trend-text {
  font: 700 13px/1.8 'Noto Sans Devanagari', sans-serif;
  overflow-wrap: anywhere;
}

.trend-text:hover { color: var(--accent); }

.trend-text small {
  display: block;
  color: var(--muted);
  font: 600 10px/1.3 'DM Sans', sans-serif;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.newsletter {
  background: var(--dark);
  border-radius: 4px;
  color: #fff;
  padding: 25px;
  margin-top: 29px;
}

.newsletter-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #52636c;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
}

.newsletter h3 {
  font: 800 20px/1.6 'Noto Sans Devanagari', sans-serif;
  margin: 0 0 8px;
}

.newsletter p {
  font: 400 12px/1.9 'Noto Sans Devanagari', sans-serif;
  color: #c4cfd5;
  margin: 0 0 20px;
}

.newsletter input {
  height: 43px;
  width: 100%;
  border: 1px solid #516069;
  border-radius: 3px;
  background: #233741;
  color: #fff;
  padding: 0 12px;
  outline: 0;
}

.newsletter input::placeholder { color: #a7b3b9; }

.newsletter button {
  border: 0;
  background: var(--accent);
  color: #fff;
  height: 43px;
  width: 100%;
  margin-top: 10px;
  border-radius: 3px;
  font-weight: 800;
}

.newsletter-status {
  font-size: 11px;
  color: #dce6dc;
  margin-top: 10px;
  min-height: 1em;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cat-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 15px;
  font-weight: 700;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  border-radius: 3px;
  gap: 8px;
}

.cat-tile span:last-child { color: var(--accent); }

.cat-tile:hover { border-color: var(--accent); }

.footer {
  background: var(--dark);
  color: #f6f7f8;
  padding: 42px 0 19px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 34px;
}

.footer .brand-title { font-size: 25px; }

.footer .brand-sub { color: #a8b6bd; }

.footer-desc {
  font: 400 12px/2 'Noto Sans Devanagari', sans-serif;
  color: #b8c3c8;
  max-width: 390px;
  margin-top: 17px;
}

.footer-links {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  align-content: start;
  font-size: 12px;
  color: #c3cdd0;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #344651;
  display: flex;
  justify-content: space-between;
  padding-top: 19px;
  font-size: 11px;
  color: #9aaab2;
  gap: 12px;
  flex-wrap: wrap;
}

.searchbox {
  display: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: var(--bg);
}

.searchbox.visible { display: block; }

.search-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.search-input {
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  padding: 0 16px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  flex: 1;
}

.search-submit {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.empty-state {
  background: var(--paper);
  border: 1px dashed var(--line);
  padding: 45px;
  text-align: center;
  color: var(--muted);
  font-family: 'Noto Sans Devanagari', sans-serif;
  border-radius: 4px;
}

.search-banner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.search-banner a {
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
}

/* Article detail */
.article-page {
  margin: 28px 0 70px;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

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

.breadcrumb-nav .sep { opacity: 0.5; }

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

.article-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: clamp(22px, 3vw, 42px);
}

.article-kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-kicker:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.article-headline {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.55;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.article-source {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.article-source a {
  color: var(--accent);
}

.article-body {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  overflow-wrap: anywhere;
}

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

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em 0;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 800;
  line-height: 1.45;
  margin: 1.6em 0 0.7em;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.back-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 14px;
  border-radius: 3px;
}

.back-news:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

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

.related-section {
  margin-top: 40px;
}

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

/* Dark mode */
body.sn-body.dark {
  --bg: #10191f;
  --paper: #17242b;
  --ink: #f0f2f1;
  --muted: #a4b1b8;
  --line: #33424a;
  --dark: #243640;
  --accent-light: #3c2b2b;
  --shadow: none;
  --theme-color: #10191f;
}

body.sn-body.dark .brand-title { color: var(--ink); }
body.sn-body.dark .mainnav { background: var(--paper); }
body.sn-body.dark .site-header-sticky { background: var(--bg); }
body.sn-body.dark .breaking {
  background: #253039;
  border-color: #36414a;
}
body.sn-body.dark .feature { background: #3c332e; }
body.sn-body.dark .feature:nth-child(2) { background: #293c36; }
body.sn-body.dark .feature-footer { color: #abb5b4; }
body.sn-body.dark .feature-label { color: #efac92; }
body.sn-body.dark .lead { background: #263843; }
body.sn-body.dark .newsletter { background: #263843; }
body.sn-body.dark .footer { background: #0b1318; }
body.sn-body.dark .utility strong { color: var(--ink); }
body.sn-body.dark .nav-link { color: #c5cfd4; }

@media (max-width: 1050px) {
  .body-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 23px;
  }
  .nav-inner { gap: 24px; }
  .masthead-note { display: none; }
}

@media (max-width: 800px) {
  .sn-container { width: min(100% - 36px, 1250px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .lead { min-height: 315px; }
  .body-grid,
  .article-layout { grid-template-columns: 1fr; }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .sidebar .side-section { margin: 0; }
  .newsletter { margin: 0; grid-column: 1 / -1; }
  .intro-desc { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 550px) {
  .sn-container { width: calc(100% - 30px); }
  .utility-right span:nth-child(2) { display: none; }
  .brand-title { font-size: 23px; }
  .brand-mark {
    width: 38px;
    height: 41px;
    font-size: 24px;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .masthead { padding: 17px 0; }
  .masthead-right { gap: 7px; }
  .circle-btn {
    width: 34px;
    height: 34px;
  }
  .nav-inner {
    gap: 22px;
    min-height: 45px;
  }
  .nav-link {
    font-size: 12px;
    padding: 14px 0 11px;
  }
  .breaking { margin-top: 16px; }
  .breaking-label {
    padding: 0 10px;
    font-size: 9px;
  }
  .breaking-content { padding: 12px 10px; }
  .breaking-content span,
  .breaking-content a { font-size: 11px; }
  .intro { margin: 27px 0 17px; }
  .intro h1 { font-size: 27px; }
  .lead {
    padding: 25px;
    min-height: 330px;
  }
  .lead h2 { font-size: 27px; }
  .lead p { font-size: 12px; }
  .read-hero { padding: 10px; }
  .hero-side { grid-template-columns: 1fr; }
  .feature { min-height: 165px; }
  .body-grid { margin-top: 35px; }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .news-card {
    min-height: 190px;
    padding: 21px;
  }
  .news-card h3 { font-size: 17px; }
  .sidebar { display: block; }
  .sidebar .side-section { margin-bottom: 27px; }
  .footer-main { display: block; }
  .footer-links { margin-top: 25px; }
  .footer-bottom {
    gap: 12px;
    flex-direction: column;
  }
  .section-heading h2 { font-size: 20px; }
  .search-form { flex-direction: column; }
}
