/* Reconstructed 18 Aug 2026 ~19:00 MSMN-style newsroom CSS from surviving production evidence. Not byte-identical. */
:root {
  --ink: #f3efe6;
  --paper: #f7f2e8;
  --panel: #fffdf8;
  --text: #1a1612;
  --muted: #5c564c;
  --line: #d9d0c2;
  --line-soft: color-mix(in srgb, var(--line) 38%, var(--paper));
  --accent: #8a1f1f;
  --gold: #b08a2e;
  --teal: #1a6b73;
  --ticker: #1b1714;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --wrap: 1320px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* SEO prerender stays in DOM for crawlers but never flashes plain "Latest stories" to users. */
.seo-prerender {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html.mse-booting body { background: var(--paper); }
.mse-boot-loading {
  min-height: 40vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: .35rem;
  color: var(--text);
}
.mse-boot-loading .meta { color: var(--muted); }
.boot-error { color: var(--accent); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px 28px; }
@media (min-width: 1600px) { .wrap { max-width: 1480px; } }

/* Ticker — MSMN style, full-page-width scroll, fast */
.ticker {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%),
              color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(10px);
  display: flex; align-items: center;
  padding: .28rem 0;
}
/* Pill pinned at left — positioned within the wrap margin */
.ticker-inner {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: .55rem;
  padding: 0 .75rem 0 16px;
  /* shift right by the same margin as .wrap */
  margin-left: max(16px, calc((100vw - var(--wrap)) / 2));
  white-space: nowrap; z-index: 2;
}
@media (min-width: 1600px) {
  .ticker-inner { margin-left: max(16px, calc((100vw - 1480px) / 2)); }
}
.live-pill {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent); color: #fff; font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px;
}
.live-pill::before {
  content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ticker-pulse 1.6s infinite;
}
@keyframes ticker-pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
/* Viewport fills remaining full width to the right */
.ticker-viewport {
  flex: 1; min-width: 0; overflow: hidden;
}
.ticker-track {
  display: inline-flex; gap: 1.75rem; white-space: nowrap; align-items: center;
  animation: ticker-marquee 28s linear infinite;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--gold);
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-brand {
  color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .68rem; flex: 0 0 auto;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600;
  flex: 0 0 auto;
}
.ticker-item:hover { color: var(--gold); }
.ticker-item .t-title { white-space: nowrap; }
.ticker-dot { color: var(--line-soft); flex: 0 0 auto; }
.ticker-stamp {
  flex: 0 0 auto; font-size: .68rem; color: var(--muted); white-space: nowrap;
}
@media (max-width: 760px) { .ticker-track { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  .live-pill::before { animation: none; }
}

.masthead { border-bottom: 1px solid var(--line-soft); background: var(--panel); }
.mast-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: .6rem; padding: .55rem 0 .4rem;
}
.mast-date { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mast-brand { text-align: center; }
.mast-brand strong {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 500; letter-spacing: -.02em; display: block; line-height: 1;
}
.mast-brand em { font-style: italic; color: var(--accent); }
.mast-tag { font-size: .68rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.mast-tools { text-align: right; font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .35rem .65rem; }
.mast-tools a { color: var(--muted); }
.mast-search { display: flex; gap: .25rem; }
.mast-search input {
  width: 10rem; max-width: 42vw; border: 1px solid var(--line); background: #fff;
  padding: .18rem .4rem; color: var(--text);
}
.mast-search button {
  background: var(--ticker); color: #f4eee4; border: 0; padding: .18rem .45rem;
  cursor: pointer; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem;
}

.nav-wrap { position: relative; }
.nav {
  display: flex; flex-wrap: wrap; gap: .15rem .85rem; justify-content: center; align-items: center;
  padding: .35rem 0 .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  max-width: 100%;
}
.nav a[aria-current="page"] { color: var(--accent); border-bottom: 2px solid var(--accent); }
.nav-sections-toggle {
  background: none; border: 0; padding: 0; font: inherit; text-transform: uppercase;
  letter-spacing: .06em; font-weight: 600; cursor: pointer; color: inherit;
}
.nav-sections-toggle[aria-expanded="true"] { color: var(--accent); }
.nav-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: .65rem 1rem; width: 100%;
  background: var(--panel); border: 1px solid var(--line); padding: .75rem .9rem;
  max-height: min(70vh, 32rem); overflow: auto;
}
.nav-mega[hidden] { display: none; }
.nav-mega h3 {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .3rem; border-bottom: 1px solid var(--line); padding-bottom: .2rem;
}
.nav-mega ul { list-style: none; margin: 0; padding: 0; }
.nav-mega a { display: block; text-transform: none; font-weight: 500; font-size: .78rem; padding: .12rem 0; letter-spacing: 0; }

.home-flagship-grid, .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: .55rem 1rem;
  align-items: start;
  margin-top: .4rem;
}
.home-flagship-grid > div:first-child, .home-main {
  min-width: 0;
}
.home-flagship-grid .home-flagship-rails, .home-layout .home-flagship-rails {
  width: 300px;
}
/* MSMN-style sidebar: Top Stories + ad stack tight; Latest/Most Read scroll below. */
.home-layout .home-rails--msmn {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  overflow: visible;
  align-self: start;
}
.home-rails-pin {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.home-rails-pin .home-rail-ad { margin: 0; flex: 0 0 auto; }
.home-rails-scroll {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-height: clamp(280px, 38vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: .1rem;
}
.home-rail {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: .4rem .45rem .3rem;
}
.home-rail-title {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: .22rem;
}
.home-rail-title a { color: inherit; }
.home-rail-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .4rem;
  align-items: start;
  padding: .28rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.home-rail-item:last-child { border-bottom: 0; }
.home-rail-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  background: #ddd6c8;
  display: block;
}
.home-rail-copy {
  display: grid;
  gap: .1rem;
  min-width: 0;
}
.home-rail-kicker {
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.home-rail-copy strong {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-rail-page { display: none; }
.home-rail-page.is-active { display: block; }
.home-rail-ad { flex: 0 0 auto; margin: 0; }
.home-rail-ad .ad-mount { margin: 0; }
.most-read {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}
.most-read li { border-bottom: 1px solid var(--line); padding-bottom: .28rem; }
.most-read li:last-child { border-bottom: 0; padding-bottom: 0; }
.most-read a {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .35rem;
  align-items: start;
  color: inherit;
}
.most-read-n {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.most-read strong {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.most-read .meta { display: block; margin-top: .12rem; padding-left: 1.75rem; }

/* MSMN homepage desks + breaking (cream theme) */
body.page-home .home-desk {
  margin: 0;
  padding: .55rem 0 .45rem;
  border-top: 1px solid var(--line-soft);
}
body.page-home .home-layout + .home-desk,
body.page-home .home-layout .home-desk-breaking {
  border-top: 0;
  padding-top: .35rem;
}
body.page-home .home-desk-breaking {
  background: linear-gradient(180deg, rgba(138, 31, 31, .06) 0%, transparent 70%);
  border-top-color: rgba(138, 31, 31, .18);
  border-radius: 0;
  margin-bottom: .15rem;
}
body.page-home .home-desk-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  margin: 0 0 .55rem;
}
body.page-home .home-desk-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--gold);
}
body.page-home .home-desk-head a {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
body.page-home .home-desk-head a:hover { color: var(--accent); }
body.page-home .home-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: .65rem 1rem;
  align-items: start;
}
body.page-home .home-desk-feature .story-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  height: 100%;
}
body.page-home .home-desk-feature .story-card:hover {
  border-color: color-mix(in srgb, var(--gold) 35%, var(--line));
}
body.page-home .home-desk-feature .media { aspect-ratio: 16 / 10; min-height: 200px; }
body.page-home .home-desk-feature .story-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.2;
}
body.page-home .home-desk-feature .kicker { color: var(--gold); }
body.page-home .home-desk-support { display: grid; gap: .4rem; }
body.page-home .home-support-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
  padding: .35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body.page-home .home-support-row.no-photo { grid-template-columns: 1fr; }
body.page-home .home-support-row:hover {
  background: var(--panel);
  border-color: var(--line);
  transform: translateX(2px);
}
body.page-home .home-support-thumb {
  display: block; width: 96px; height: 64px; border-radius: 7px;
  overflow: hidden; background: #ddd6c8; border: 1px solid var(--line);
}
body.page-home .home-support-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.page-home .home-support-row .eyebrow {
  display: block;
  font-size: .58rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .12rem;
}
body.page-home .home-support-row strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--font-display); font-size: .88rem; font-weight: 500; line-height: 1.3;
}
body.page-home .home-support-row .meta { display: block; margin-top: .15rem; }
body.page-home .home-break-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
body.page-home .home-break-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: .5rem;
  align-items: center;
  padding: .4rem;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
}
body.page-home .home-break-item:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
body.page-home .home-break-thumb {
  display: block; width: 88px; height: 56px; border-radius: 6px;
  overflow: hidden; background: #ddd6c8;
}
body.page-home .home-break-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.page-home .home-break-text { display: grid; gap: .12rem; min-width: 0; }
body.page-home .home-break-text strong {
  font-size: .82rem; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

body.page-home { overflow-x: hidden; }
body.page-home .wrap { padding-bottom: 1.5rem; }

.home-hero { position: relative; }
.home-hero a { color: inherit; display: block; }
.home-hero-media {
  position: relative;
  overflow: hidden;
  background: #2a241c;
  min-height: clamp(320px, 52vh, 520px);
}
.home-hero-media img {
  position: relative; z-index: 0;
  width: 100%; height: 100%;
  min-height: clamp(320px, 52vh, 520px);
  max-height: clamp(320px, 52vh, 520px);
  object-fit: cover;
}
/* Wash must sit above the photo. Previous 0.28 stop at 46% left cream/logo
   covers looking like the page paper, so overlay type (#f7f2e8 = --paper) vanished. */
.home-hero-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(18,14,10,.92) 0%, rgba(18,14,10,.78) 40%, rgba(18,14,10,.35) 68%, rgba(18,14,10,.08) 100%);
}
.home-hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .85rem 1rem 1rem; color: #f7f2e8; }
.home-hero-copy .kicker, .home-hero-copy .meta { color: #e6dcc8; }
.home-hero-copy h2 {
  font-family: var(--font-display); font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 500; line-height: 1.12; margin: .2rem 0 .35rem;
}
.home-hero-summary { margin: 0 0 .45rem; font-size: .92rem; max-width: 46rem; color: #efe7d8; }
.home-hero-cta {
  display: inline-block; border: 1px solid #efe7d8; color: #fff; padding: .22rem .6rem;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.home-hero-text { padding: .8rem 0; }
.badge {
  display: inline-block; background: var(--accent); color: #fff; font-size: .65rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .12rem .4rem; margin-right: .3rem;
}

.home-flagship-rails, .home-rails { display: grid; gap: .4rem; }
.rail-block h2, .desk h2, .section-title, .page-kicker {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  border-bottom: 1px solid var(--line); margin: 0 0 .45rem; padding: 0 0 .28rem; font-weight: 700;
}
.rail-item { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: .45rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.rail-item img { width: 88px; height: 62px; object-fit: cover; background: #ddd6c8; }
.rail-item h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 500; line-height: 1.2; margin: 0 0 .15rem; }
.rail-item.text-only { grid-template-columns: 1fr; }

.home-support-row, .breaking-row {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .65rem; margin: .75rem 0 .35rem;
}
.story-card {
  background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.story-card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.story-card .media { aspect-ratio: 16/9; overflow: hidden; background: #ddd6c8; }
.story-card .media img { width: 100%; height: 100%; object-fit: cover; }
.story-card .body { padding: .45rem .55rem .55rem; }
.story-card h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; line-height: 1.2; margin: .15rem 0; }
.kicker { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.meta { color: var(--muted); font-size: .72rem; }
.lead { color: #3d3830; }
.empty-state { color: var(--muted); font-size: .85rem; padding: .4rem 0; }

.rail-block--scroll {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: .3rem .4rem .2rem;
}
.rail-block--scroll h2 { flex: 0 0 auto; margin: 0 0 .2rem; padding-bottom: .18rem; }
.rail-block--scroll .rail-block-body {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  /* Thumbnail 62px + wrapped headline: eight full items visible, then scroll. */
  max-height: calc((62px + 1.55rem) * 8);
  overscroll-behavior: contain;
}
.desk { margin: .85rem 0 .45rem; padding-top: .2rem; }
.desk-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  margin: 0 0 .55rem; border: 0;
}
.desk .desk-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: 0; text-transform: none; font-weight: 500;
  color: var(--gold); border: 0; margin: 0; padding: 0;
}
.desk-head a {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); font-weight: 700; white-space: nowrap;
}
.desk-head a:hover { color: var(--accent); }
.desk-pack {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: .7rem .75rem .75rem;
}
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: .75rem 1rem;
  align-items: start;
}
.desk-feature .story-card { border: 0; height: 100%; }
.desk-feature .media { aspect-ratio: 16 / 10; min-height: 180px; }
.desk-feature h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.2;
  margin: .2rem 0 .3rem;
}
.desk-excerpt {
  color: var(--muted); font-size: .88rem; line-height: 1.45;
  margin: 0 0 .4rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.desk-feature .kicker, .desk-support-row .kicker { color: var(--gold); }
.desk-support { display: grid; gap: .4rem; }
.desk-support-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .55rem; align-items: center;
  padding: .28rem .2rem;
  color: inherit;
}
.desk-support-row.text-only { grid-template-columns: 1fr; }
.desk-support-row:hover { color: inherit; background: #f7f2e8; }
.desk-support-thumb {
  display: block; width: 96px; height: 64px; overflow: hidden; background: #ddd6c8;
}
.desk-support-thumb img { width: 100%; height: 100%; object-fit: cover; }
.desk-support-row strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--font-display); font-size: .98rem; font-weight: 500; line-height: 1.25;
}
.desk-support-row .meta { display: block; margin-top: .12rem; }

.social-dock {
  display: none;
  position: fixed; top: 42%; right: .45rem; z-index: 40;
  flex-direction: column; gap: .32rem;
  padding: .35rem .3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,253,248,.92);
}
.social-dock-link {
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .02em;
  text-transform: lowercase;
}
.social-dock-link:hover { color: #fff; filter: brightness(1.08); }
.social-dock-link[data-platform="facebook"] { background: #1877f2; }
.social-dock-link[data-platform="instagram"] { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.social-dock-link[data-platform="x"],
.social-dock-link[data-platform="tiktok"],
.social-dock-link[data-platform="threads"] { background: #111; text-transform: none; }
.social-dock-link[data-platform="linkedin"] { background: #0a66c2; }
.social-dock-link[data-platform="youtube"] { background: #ff0000; }
.social-dock-link[data-platform="pinterest"] { background: #e60023; }
.social-dock-link[data-platform="telegram"] { background: #229ed9; }
@media (min-width: 1024px) { .social-dock { display: flex; } }

.briefs-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .55rem; }
.brief { border-left: 3px solid var(--accent); padding: .4rem .55rem; background: var(--panel); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brief h3, .brief .headline { font-family: var(--font-display); font-size: 1rem; margin: 0 0 .2rem; font-weight: 500; }

.flagshipBlock { margin-top: .25rem; }
.pageShell .page-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; margin: .4rem 0 .6rem;
}
.search { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .7rem; }
.search input, .search select, .legal input, .legal textarea, .legal select {
  flex: 1; border: 1px solid var(--line); background: #fff; padding: .45rem .55rem;
}
.search button, .legal button, .comments button {
  background: var(--ticker); color: #fff; border: 0; padding: .45rem .75rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em; font-size: .75rem;
}
.rail { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.article-page { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 1rem; align-items: start; }
.article-main h1 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.15; margin: .25rem 0 .4rem;
}
.article-featured { margin: .5rem 0 .35rem; overflow: hidden; background: #ddd6c8; }
.article-featured img { width: 100%; max-height: 420px; object-fit: cover; }
.credit { color: var(--muted); font-size: .75rem; margin-bottom: .7rem; }
.article-body { font-size: 1.05rem; line-height: 1.65; white-space: pre-wrap; }
.source-box { margin-top: 1rem; padding: .7rem; border: 1px solid var(--line); background: var(--panel); font-size: .9rem; white-space: pre-wrap; }
.chip { display: inline-block; border: 1px solid var(--line); padding: .1rem .4rem; font-size: .72rem; margin: 0 .25rem .25rem 0; }
.facts { margin: .6rem 0; padding-left: 1.1rem; }

.site-footer {
  margin-top: .75rem;
  padding: 0 0 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel) 55%, transparent));
}
.footer-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: 1rem 16px .85rem;
  border-bottom: 1px solid var(--line);
}
.footer-connect-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem 1.25rem;
  padding-top: 1rem;
}
.footer-brand { min-width: 0; }
.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  color: var(--gold);
  margin-bottom: .35rem;
}
.footer-logo em { font-style: italic; color: var(--text); }
.footer-tag { margin: 0 0 .65rem; max-width: 28rem; line-height: 1.45; }
.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .35rem;
  line-height: 1.6;
  margin-bottom: .55rem;
}
.footer-legal-inline a:hover { color: var(--accent); }
.footer-copy { margin: 0; font-size: .78rem; }
.footer-col h4 {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}
.footer-links {
  display: grid;
  gap: .28rem;
}
.footer-links a {
  display: block;
  color: var(--muted);
  font-size: .84rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-promo {
  margin-top: .85rem;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line));
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 55%),
    linear-gradient(165deg, var(--panel), color-mix(in srgb, var(--panel) 88%, #e8dfd0));
  box-shadow: 0 8px 22px rgba(26, 22, 18, .06);
}
.footer-promo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .25rem;
}
.footer-promo p { margin: 0 0 .65rem; font-size: .8rem; line-height: 1.4; }
.footer-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .52rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  color: #120e05;
  background: linear-gradient(135deg, var(--gold), #c4a035);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--gold) 24%, transparent);
}
.footer-promo-cta:hover { color: #120e05; filter: brightness(1.04); }

.mse-follow { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.mse-follow__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; min-height: 2.5rem; padding: .35rem .55rem;
  border-radius: 999px; border: 1px solid transparent;
  color: #fff; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.mse-follow__link:hover, .mse-follow__link:focus-visible {
  outline: none; transform: translateY(-1px); filter: brightness(1.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.mse-follow__link[data-platform="facebook"] { background: #0866FF; border-color: #0866FF; }
.mse-follow__link[data-platform="instagram"] { background: #E4405F; border-color: #E4405F; }
.mse-follow__link[data-platform="x"] { background: #0f0f0f; border-color: #0f0f0f; }
.mse-follow__link[data-platform="youtube"] { background: #FF0000; border-color: #FF0000; }
.mse-follow__link[data-platform="tiktok"] { background: #010101; border-color: #010101; }
.mse-follow__link[data-platform="pinterest"] { background: #E60023; border-color: #E60023; }
.mse-follow__link[data-platform="telegram"] { background: #229ED9; border-color: #229ED9; }
.mse-follow__link[data-platform="threads"] { background: #0f0f0f; border-color: #0f0f0f; }
.mse-follow--connect { gap: .5rem; }

.ad-mount { margin: .25rem 0; }
.home-main > .ad-mount { margin: .3rem 0 .2rem; }
.ad-slot {
  border: 1px dashed var(--line); background: #fff; padding: .45rem; text-align: center; color: var(--muted); font-size: .78rem;
}
.ad-slot--active { border-style: solid; padding: 0; background: transparent; }
.ad-kicker { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem; color: var(--muted); border-bottom: 1px solid var(--line-soft); padding-bottom: .18rem; }
.ad-empty-title { display: block; color: var(--text); margin: .2rem 0; }
.ad-empty-cta { display: inline-block; margin-top: .25rem; border: 1px solid var(--line); padding: .15rem .45rem; }
/* Homepage sidebar: slot uses --ad-w/--ad-h from ads.js (e.g. 1080/1920). Invalid aspect-ratio
   syntax previously ignored; HTML height="1920" then painted at ~1920px. */
.ad-mount--sidebar .ad-slot--sidebar {
  width: 100%;
  overflow: hidden;
}
.ad-mount--sidebar .ad-slot--sidebar .ad-creative {
  display: block;
  width: 100%;
  aspect-ratio: calc(var(--ad-w, 1080) / var(--ad-h, 1920));
  overflow: hidden;
  line-height: 0;
}
.ad-mount--sidebar .ad-slot--sidebar .ad-creative img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ad-mount--sidebar .ad-slot--sidebar.ad-slot--video .ad-video-frame {
  width: 100%;
  aspect-ratio: calc(var(--ad-w, 1080) / var(--ad-h, 1920));
  overflow: hidden;
}
.ad-mount--sidebar .ad-slot--sidebar.ad-slot--video .ad-video-frame iframe,
.ad-mount--sidebar .ad-slot--sidebar.ad-slot--video .ad-video-frame video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.ad-slot--leaderboard img, .ad-slot--billboard img { width: 100%; height: calc(var(--ad-h, 270) * 1px); object-fit: fill; }
.ad-creative img { display: block; width: 100%; }
.ad-video-frame { position: relative; background: #111; }
.ad-video-frame iframe, .ad-video-frame video { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.ad-video-bar { display: flex; gap: .3rem; padding: .25rem; background: #111; }
.ad-video-bar button { background: #333; color: #fff; border: 0; padding: .2rem .4rem; cursor: pointer; }

.hero-rotator-slide, .rail-rotator-slide { display: none; }
.hero-rotator-slide.is-active, .rail-rotator-slide.is-active { display: block; }
.hero-dots { display: flex; gap: .35rem; margin: .4rem 0 0; }
.hero-dot {
  width: .55rem; height: .55rem; padding: 0; border-radius: 50%;
  border: 1px solid var(--accent); background: transparent; cursor: pointer;
}
.hero-dot.is-active { background: var(--accent); }

.mse-follow--connect { gap: .5rem; }

/* RSS / sitemap landing (MSMN-style, cream theme) */
.rss-landing { padding: .85rem 0 1.5rem; }
.rss-hero { margin-bottom: 1rem; }
.rss-benefits {
  margin: .75rem 0; padding: 0; list-style: none;
  display: grid; gap: .35rem; max-width: 42rem;
}
.rss-benefits li {
  position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .88rem;
}
.rss-benefits li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold);
}
.rss-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem;
  margin-top: 1rem; max-width: 40rem;
}
.rss-stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem;
}
.rss-stat strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.rss-stat span { color: var(--muted); font-size: .72rem; }
.rss-section-title {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .35rem; font-weight: 400;
}
.rss-subscribe, .rss-apis, .rss-latest { margin-top: 1.1rem; }
.rss-url-row {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: stretch; margin: .65rem 0 .75rem;
}
.rss-url {
  flex: 1; min-width: 12rem; display: block;
  background: #1b1714; border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .85rem; font-size: .82rem; color: #e8c96a; overflow-wrap: anywhere;
}
.rss-url.compact { font-size: .74rem; margin: .45rem 0 .55rem; flex: none; width: 100%; }
.rss-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.rss-actions.tight { margin-top: .15rem; }
.rss-action {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #a8861c); color: #120e05;
  border: 0; cursor: pointer; font: inherit; text-decoration: none;
}
.rss-action.ghost, a.rss-action.ghost {
  background: transparent; color: var(--gold);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
}
.rss-api-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: .65rem;
}
.rss-api-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: .85rem;
}
.rss-api-card h3 { margin: .2rem 0 .35rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.rss-api-card .eyebrow {
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700;
}
.rss-foot-note { margin-top: .75rem; }
.rss-url-list { display: grid; gap: .45rem; }
.rss-url-item {
  display: block; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: inherit;
}
.rss-url-item:hover { border-color: color-mix(in srgb, var(--gold) 35%, var(--line)); }
.rss-url-item strong { display: block; font-family: var(--font-display); font-size: .95rem; font-weight: 500; line-height: 1.25; }

.push-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--panel); border-top: 1px solid var(--line); padding: .65rem 1rem;
  box-shadow: 0 -4px 18px rgba(0,0,0,.08); font-size: .88rem;
}
.push-consent p { margin: 0 0 .45rem; max-width: 720px; }
.push-consent-actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.push-consent button {
  border: 1px solid var(--line); background: #fff; padding: .35rem .65rem; cursor: pointer;
}
.btn-push-allow { background: var(--ticker); color: #f4eee4; border-color: var(--ticker); }

.comments { margin-top: 1.2rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.comments-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.comments h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin: 0; }
.comment-sort-label { font-size: .78rem; color: var(--muted); }
.comment-sort-label select { margin-left: .25rem; border: 1px solid var(--line); padding: .15rem .3rem; background: #fff; }
.comments-privacy { margin: .35rem 0 .6rem; }
.comment { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.comment .who { font-weight: 600; }
.comment .when { color: var(--muted); font-size: .72rem; margin-left: .4rem; }
.comment-body { margin: .25rem 0; }
.comment-body a { color: var(--accent); text-decoration: underline; }
.comment-actions { display: flex; gap: .5rem; margin-top: .2rem; }
.comment-actions button {
  background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: .75rem;
}
.comment-actions button:hover { color: var(--accent); }
.comment-form { display: grid; gap: .4rem; margin: .6rem 0 1rem; }
.comment-form input, .comment-form textarea, .comment-form select { border: 1px solid var(--line); padding: .4rem .5rem; background: #fff; }
.comment-check { font-size: .78rem; color: var(--muted); }
.comment-pager { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.comment-pager button {
  border: 1px solid var(--line); background: #fff; padding: .2rem .45rem; cursor: pointer; font-size: .75rem;
}
.comment-pager button.is-current { background: var(--ticker); color: #f4eee4; border-color: var(--ticker); }
.comment-report-dialog {
  border: 1px solid var(--line); padding: .8rem; max-width: 420px; background: var(--panel);
}
.comment-report-dialog form { display: grid; gap: .4rem; }
.comment-report-actions { display: flex; gap: .45rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.legal { max-width: 720px; }
.legal h1, .legal-page .article-title { font-family: var(--font-display); font-weight: 500; }
.legal p, .legal-body p { color: #3d3830; }
.legal-page { max-width: 720px; }
.legal-body { font-size: 1.02rem; line-height: 1.6; }
.legal-body h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 1.1rem 0 .4rem; font-weight: 500; }
.legal-body ul, .legal-body ol { padding-left: 1.2rem; }
.legal-body li { margin: .35rem 0; }
.contact-hero .lead { color: var(--muted); max-width: 40rem; }

.mast-left { display: flex; flex-direction: column; gap: .2rem; align-items: flex-start; }
.mast-weather {
  display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .4rem;
  font-size: .72rem; color: var(--muted);
}
.mast-weather strong { color: var(--text); font-size: .8rem; }
.info-muted { color: var(--muted); }
.info-locate, .tool-chip {
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: 999px; padding: .18rem .55rem; cursor: pointer; font: inherit;
  font-size: .68rem; font-weight: 600;
}
.info-locate:hover, .tool-chip:hover { border-color: var(--gold); color: var(--gold); }
.masthead .info-locate, .masthead .tool-chip {
  background: transparent; color: var(--muted);
}
.mse-share { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .45rem 0 .7rem; }
.mse-share__label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .15rem; }
.mse-share a { color: var(--text); }

html[data-theme="dark"] {
  --paper: #1b1714;
  --panel: #241f1a;
  --text: #f3efe6;
  --muted: #b7aea0;
  --line: #3f382f;
  --ink: #120f0c;
}
html[data-theme="dark"] .mast-search input,
html[data-theme="dark"] .search input,
html[data-theme="dark"] .search select,
html[data-theme="dark"] .legal input,
html[data-theme="dark"] .legal textarea,
html[data-theme="dark"] .comment-form input,
html[data-theme="dark"] .comment-form textarea,
html[data-theme="dark"] .comment-form select {
  background: #1b1714; color: var(--text); border-color: var(--line);
}
html[data-theme="dark"] .legal p, html[data-theme="dark"] .legal-body p, html[data-theme="dark"] .lead { color: var(--muted); }

@media (max-width: 1100px) {
  body.page-home .home-layout,
  .home-flagship-grid, .home-layout { grid-template-columns: 1fr; }
  body.page-home .home-rails--msmn {
    width: auto;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: .55rem;
  }
  .home-flagship-grid .home-flagship-rails, .home-layout .home-flagship-rails:not(.home-rails--msmn) {
    width: auto;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  body.page-home .home-rails-pin { min-height: 0; }
  body.page-home .home-rails-scroll { max-height: none; overflow: visible; }
  body.page-home .home-rail-ad { grid-column: 1 / -1; }
  body.page-home .home-break-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-home .home-desk-grid { grid-template-columns: 1fr; }
  .article-page { grid-template-columns: 1fr; }
  .home-support-row, .breaking-row { grid-template-columns: 1fr 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .mast-grid { grid-template-columns: 1fr; text-align: center; }
  .mast-tools, .mast-date, .mast-left { text-align: center; justify-content: center; align-items: center; }
  .nav-mega {
    position: static; transform: none; width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  body.page-home .home-rails--msmn { grid-template-columns: 1fr; }
  body.page-home .home-rails-pin { min-height: 0; }
  body.page-home .home-rails-scroll { max-height: none; }
  body.page-home .home-hero-media,
  body.page-home .home-hero-media img {
    min-height: clamp(280px, 58vh, 420px);
    max-height: none;
  }
  body.page-home .home-break-row { grid-template-columns: 1fr; }
  body.page-home .home-break-item { grid-template-columns: 100px 1fr; }
  body.page-home .home-desk { padding: .5rem 0 .4rem; }
  body.page-home .home-desk-head h2 { font-size: clamp(1.15rem, 5.5vw, 1.45rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-connect { flex-direction: column; align-items: flex-start; }
  .rss-api-grid, .rss-stats { grid-template-columns: 1fr; }
  .home-support-row, .breaking-row, .desk-grid, .rail { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .nav-mega { grid-template-columns: 1fr; }
  .social-dock { display: none; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .home-flagship-grid, .home-layout { grid-template-columns: 1fr; }
}
