:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --ink: #0f1c24;
  --muted: #5a6b76;
  --line: #dde5ea;
  --brand: #0b4f6c;
  --brand-deep: #083648;
  --teal: #14919b;
  --accent: #d62828;
  --accent-soft: #ffe8e6;
  --shadow: 0 8px 24px rgba(8, 40, 56, 0.08);
  --radius: 14px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--teal);
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--teal));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff !important;
}

.logo-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-text strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text small {
  opacity: 0.82;
  font-size: 0.78rem;
  font-weight: 500;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.3rem;
  border-radius: 999px;
}

.tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab.is-active {
  background: #fff;
  color: var(--brand-deep);
}

/* Breaking ticker */
.breaking {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.6rem;
  padding-block: 0.35rem;
}

.breaking-label {
  flex: 0 0 auto;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

.breaking-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-block: 0.2rem;
  direction: rtl;
  white-space: nowrap;
}

.breaking-marquee {
  display: flex;
  width: max-content;
  direction: ltr;
  will-change: transform;
  animation: breaking-scroll var(--breaking-duration, 36s) linear infinite;
}

.breaking-sequence {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.5rem;
  padding-inline-end: 1.5rem;
  direction: rtl;
}

@keyframes breaking-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.breaking-item {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.96;
  direction: rtl;
}

.breaking-item:hover {
  text-decoration: underline;
  color: #fff;
}

.breaking-item + .breaking-item::before {
  content: "•";
  margin-inline-end: 1.5rem;
  opacity: 0.7;
}

.breaking-track:hover .breaking-marquee,
.breaking-track:focus-within .breaking-marquee {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .breaking-marquee {
    animation: none;
  }
}

/* Main sections */
main.wrap {
  padding-block: 1.5rem 2.5rem;
}

.section {
  margin-top: 1.75rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.section-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Hero */
.hero {
  display: grid;
  gap: 1rem;
}

@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1.4fr 1fr;
    min-height: 320px;
  }
}

.hero-skeleton,
.empty-state {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card.secondary {
  min-height: 200px;
}

.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-card .hero-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1.4rem;
  background: linear-gradient(transparent, rgba(8, 30, 42, 0.92));
}

.hero-card h2,
.hero-card h3 {
  margin: 0.35rem 0 0;
  font-weight: 800;
  line-height: 1.3;
}

.hero-card h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.hero-card h3 {
  font-size: 1.1rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.pill-x {
  background: #0f1419;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: 1.55rem;
  justify-content: center;
}

.card .pill-x,
.worth-item .pill-x,
.article-meta .pill-x {
  background: #0f1419;
  color: #fff;
}

.article-x-note {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  background: #f4f6f8;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #3a4652;
  line-height: 1.55;
}

.article-x-note a {
  color: #0f1419;
  font-weight: 700;
  text-decoration: underline;
}

.hero-card .meta-row {
  opacity: 0.92;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 40, 56, 0.12);
}

.card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d7e6ec, #b9d0da);
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.card .meta-row {
  color: var(--muted);
  margin-top: auto;
}

.card .pill {
  background: #e8f3f6;
  color: var(--brand);
}

/* Worth reading */
.worth {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.worth .section-head {
  margin-bottom: 0.75rem;
}

.worth-strip {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .worth-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.worth-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid transparent;
}

.worth-item:hover {
  border-color: #c9dde6;
}

.worth-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

.worth-item h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.worth-item .meta-row {
  margin-top: 0.25rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0 2.4rem;
  margin-top: 1rem;
}

.footer-inner p {
  margin: 0 0 0.55rem;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  max-width: 52rem;
}

.error-banner {
  background: var(--accent-soft);
  color: #8a1c1c;
  border: 1px solid #f0b7b2;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

/* Rewritten summary + source credit */
.hero-summary,
.card-summary {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.45;
  opacity: 0.92;
}

.hero-summary {
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-summary {
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card {
  /* allow credit row below link */
  display: flex;
  flex-direction: column;
}

.hero-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 260px;
  color: inherit;
}

.hero-card.secondary .hero-card-link {
  min-height: 200px;
}

.hero-card-link:hover {
  color: #fff;
}

.card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.card-main:hover {
  color: inherit;
}

.card-main:hover h3 {
  color: var(--teal);
}

.credit-row {
  padding: 0.35rem 1rem 0.55rem;
  margin-top: auto;
}

.hero-card > .credit-row {
  position: relative;
  z-index: 2;
  background: rgba(8, 30, 42, 0.95);
  padding: 0.35rem 1.35rem 0.55rem;
}

.source-credit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.85;
  text-decoration: none;
}

.source-credit:hover {
  color: var(--teal);
  text-decoration: underline;
  opacity: 1;
}

.hero-card .source-credit {
  color: rgba(255, 255, 255, 0.65);
}

.hero-card .source-credit:hover {
  color: #fff;
}

.worth-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.worth-body .source-credit {
  margin-top: 0.15rem;
}

/* Article page (internal) */
.back-home {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.92;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.back-home:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.article-main {
  padding-block: 1.5rem 2.5rem;
}

.article-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.75rem;
  max-width: 720px;
  margin-inline: auto;
}

.article-back {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-back a {
  color: var(--brand);
}

.article-back a:hover {
  color: var(--teal);
}

.article-meta {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.pill-brand {
  background: #e8f3f6;
  color: var(--brand);
}

.article-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
}

.article-figure {
  margin: 0 0 1.15rem;
  border-radius: 12px;
  overflow: hidden;
  background: #d7e6ec;
}

.article-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-summary {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}

.article-summary p {
  margin: 0 0 0.75rem;
}

.article-credit {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.85;
}

.article-missing h1 {
  margin-top: 0;
  font-size: 1.35rem;
}

.article-skeleton {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}

/* Source credit is muted text only (not a primary action) */
a.source-credit {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

a.source-credit:hover {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.85;
}

/* Advertising layer — image creatives + motion */
.ad-shell { position: relative; }
.ad-label, .rail-ad-label {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #71818a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ad-dot { width: .38rem; height: .38rem; display: inline-block; border-radius: 50%; background: #f4a340; }
.leaderboard-ad {
  margin-bottom: 1.25rem;
  padding: .65rem .8rem .72rem;
  border: 1px solid #d9e2e5;
  border-radius: 13px;
  background: #eaf0f1;
  box-shadow: 0 5px 18px rgba(8, 40, 56, .05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.leaderboard-ad > .ad-label { margin: 0 .25rem .45rem; }
.ad-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 160px;
  max-height: 160px;
  overflow: hidden;
  border-radius: 10px;
  background: #0f2a33;
}
.ad-slide {
  position: absolute; inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0; color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
}
.ad-slide.is-active {
  opacity: 1; visibility: visible;
  z-index: 1;
}
.ad-slide--image { background: #0f2a33; }
.ad-media {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 160px;
  overflow: hidden;
  border-radius: inherit;
}
.ad-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  will-change: transform;
}
.rail-media img,
.native-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.ad-kenburns img {
  animation: adKenBurns 16s ease-in-out infinite alternate;
}
.ad-kenburns--alt img {
  animation-name: adKenBurnsAlt;
}
.ad-kenburns--slow img {
  animation-duration: 20s;
}
@keyframes adKenBurns {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.04) translate3d(-0.6%, -0.4%, 0); }
}
@keyframes adKenBurnsAlt {
  0%   { transform: scale(1.03) translate3d(0.5%, 0, 0); }
  100% { transform: scale(1) translate3d(-0.4%, 0.4%, 0); }
}
.ad-controls { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 1.45rem; padding-top: .4rem; }
.ad-dots { display: flex; align-items: center; gap: .35rem; }
.ad-dot-button { width: .42rem; height: .42rem; padding: 0; border: 0; border-radius: 50%; background: #aebcc0; cursor: pointer; }
.ad-dot-button.is-active { width: 1.1rem; border-radius: 999px; background: var(--teal); }
.ad-arrow { padding: 0 .3rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; line-height: 1; }
.ad-arrow:hover, .ad-arrow:focus-visible { color: var(--brand); }

.content-layout { display: grid; gap: 1.5rem; align-items: start; }
.main-feed { min-width: 0; }
.ad-rail { display: none; }
.rail-heading { display: flex; align-items: baseline; justify-content: space-between; padding: .1rem .2rem .6rem; color: var(--brand-deep); font-size: .95rem; font-weight: 800; }
.rail-heading em { color: #7a8a91; font-size: .67rem; font-style: normal; font-weight: 700; }
.rail-ad {
  display: block;
  position: relative;
  min-height: 205px;
  margin-bottom: .9rem;
  border-radius: 13px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rail-ad:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,40,56,.15); }
.rail-ad--image { padding: 0; background: #123; }
.rail-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.rail-ad-label {
  position: absolute;
  z-index: 2;
  top: .55rem;
  inset-inline-start: .55rem;
  padding: .2rem .45rem;
  border-radius: 999px;
  background: rgba(8, 24, 32, .55);
  color: rgba(255,255,255,.9);
  font-size: .61rem;
  backdrop-filter: blur(4px);
}
.rail-note { padding: .8rem; border: 1px dashed #c8d4d7; border-radius: 10px; color: #74848b; font-size: .74rem; line-height: 1.45; }
.rail-note .ad-dot { margin-inline-start: .15rem; }
.rail-note small { color: #9aa7ab; }

.section-kicker { display: block; margin-bottom: .1rem; color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.native-ad { position: relative; border-color: #dfd6bd; background: linear-gradient(145deg, #fffdf7, #f8f1df); }
.native-ad:hover { border-color: #d7c58d; }
.native-ad .card-thumb {
  display: block;
  min-height: 130px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a3038;
}
.native-ad .native-thumb { padding: 0; }
.native-ad .native-mark {
  display: flex; align-items: center; justify-content: center;
  width: 3.2rem; height: 3.2rem; margin: auto;
  border: 1px solid #cab86e; border-radius: 50%;
  color: #8d7527; font-size: 1.55rem; font-weight: 800;
}
.native-ad .native-label { color: #977e31; font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.native-ad h3 { color: #40371e; }
.native-ad .card-summary { color: #766b4d; }
.native-ad .pill { background: #f2e6bc; color: #806a24; }
.native-ad .source-credit { color: #977e31; }

@media (min-width: 900px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 230px; }
  .ad-rail { display: block; }
}
@media (max-width: 560px) {
  .leaderboard-ad { margin-inline: 0; width: 100%; max-width: 100%; }
  .ad-carousel { height: 120px; max-height: 120px; }
  .ad-media, .ad-media img { max-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-slide { transition: none; transform: none; }
  .ad-kenburns img,
  .ad-kenburns--alt img,
  .ad-kenburns--slow img {
    animation: none !important;
    transform: none !important;
  }
}

/* —— Brand polish / expansion —— */
.logo-mark {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 4px 12px rgba(0,0,0,.15);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
}
.header-nav a {
  color: rgba(255,255,255,.9) !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.is-current {
  background: rgba(255,255,255,.16);
  color: #fff !important;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1.1rem;
}
.toolbar .tabs {
  flex: 1 1 auto;
}

.site-search {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.3rem 0.25rem 0.25rem;
  box-shadow: var(--shadow);
  min-width: min(100%, 240px);
}
.site-search input[type="search"] {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 0.45rem 0.85rem;
  font: inherit;
  min-width: 0;
  color: var(--ink);
  outline: none;
}
.site-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}
.site-search button:hover {
  background: var(--brand-deep);
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 0.85rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
}
.footer-social a:hover {
  background: rgba(255,255,255,.2);
}
.footer-social a[href="#"] {
  opacity: 0.55;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
}
.footer-links a {
  color: rgba(255,255,255,.85) !important;
  font-weight: 600;
}
.footer-links a:hover { color: #fff !important; text-decoration: underline; }

.rail-cta {
  display: block;
  margin-top: 0.65rem;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
}
.rail-cta:hover { background: var(--brand-deep); color: #fff !important; }

/* Static / local pages */
.page-main { padding: 1.5rem 0 2.5rem; }
.page-hero { margin-bottom: 1.25rem; }
.page-hero h1,
.static-page h1 {
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}
.page-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42rem;
}
.local-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.chip {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-deep) !important;
  box-shadow: 0 2px 8px rgba(8,40,56,.04);
}
.chip.is-active,
.chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff !important;
}

.static-page {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 720px;
}
.static-page h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-deep);
}
.plain-list {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.2rem;
  color: var(--ink);
}
.plain-list li { margin-bottom: 0.4rem; }

.contact-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 1.25rem 0;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7fbfc, #eef5f7);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink) !important;
}
.contact-icon { font-size: 1.4rem; }
.contact-card strong { font-size: 1.05rem; }
.muted-note { color: var(--muted); font-size: 0.92rem; }

.ad-packages {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1.25rem 0 1.5rem;
}
.ad-package {
  padding: 1rem;
  border-radius: 12px;
  background: #f4f8fa;
  border: 1px solid var(--line);
}
.ad-package h2 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}
.ad-package p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-box {
  margin-top: 0.5rem;
  padding: 1.25rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, var(--teal));
  color: #fff;
}
.cta-box h2 { margin: 0 0 0.45rem; color: #fff; font-size: 1.2rem; }
.cta-box p { margin: 0 0 1rem; opacity: 0.92; }
.cta-box code { background: rgba(0,0,0,.2); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.85em; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.btn-primary {
  background: #fff;
  color: var(--brand-deep) !important;
}
.btn-primary:hover { background: #e8f4f6; color: var(--brand-deep) !important; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff !important;
}
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff !important; }
.static-page > p .btn-primary {
  background: var(--brand);
  color: #fff !important;
}
.static-page > p .btn-primary:hover { background: var(--brand-deep); }
.static-page > p .btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--brand) !important;
}

@media (max-width: 720px) {
  .header-inner { align-items: flex-start; }
  .header-nav { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .site-search { min-width: 0; width: 100%; }
}


/* Self-serve publish form */
.publish-page { max-width: 720px; }
.publish-form { margin: 1.1rem 0 1.5rem; display: grid; gap: 0.95rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label,
.placement-fieldset legend {
  font-weight: 700;
  color: var(--brand-deep);
  font-size: 0.92rem;
}
.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="file"],
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 4.5rem; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(20, 120, 140, 0.35);
  border-color: var(--teal);
}
.field-hint { margin: 0; color: var(--muted); font-size: 0.82rem; }
.req { color: #c0392b; }
.placement-fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.9rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.placement-fieldset legend { padding: 0 0.25rem; }
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #f4f8fa;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.radio-pill:has(input:checked) {
  background: rgba(20, 120, 140, 0.12);
  border-color: var(--teal);
  color: var(--brand-deep);
}
.preview-box {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #f7fbfc;
  border: 1px dashed var(--line);
}
.preview-media {
  border-radius: 10px;
  overflow: hidden;
  background: #0f2a33;
  aspect-ratio: 16 / 7;
  margin: 0.45rem 0 0.65rem;
}
.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-box strong { display: block; margin-bottom: 0.25rem; }
.preview-box p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.publish-form .form-submit,
.publish-page .form-submit {
  background: var(--brand);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.publish-form .form-submit:hover,
.publish-page .form-submit:hover { background: var(--brand-deep); }
.publish-page .form-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--brand) !important;
  cursor: pointer;
  font: inherit;
}
.publish-page .form-ghost:hover { background: #f4f8fa; }
.publish-page .danger-outline { color: #b33 !important; border-color: #e0b4b4; }
.form-status { min-height: 1.3rem; margin: 0.2rem 0 0; font-size: 0.92rem; }
.form-status.is-ok { color: #1a7a4c; }
.form-status.is-err { color: #b33; }
.publish-help { margin-top: 0.5rem; }
.publish-help code {
  background: #eef4f6;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}
.section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.my-ads-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.my-ad-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.my-ad-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #d7e6ec;
}
.my-ad-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.my-ad-body { display: grid; gap: 0.15rem; }
.export-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f4f8fa;
  border: 1px solid var(--line);
}
.export-json {
  margin: 0.65rem 0 0.85rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #0f2a33;
  color: #e8f4f6;
  overflow: auto;
  font-size: 0.78rem;
  max-height: 220px;
  direction: ltr;
  text-align: left;
}

/* ===== Premium polish pass (צפון 1 feel) ===== */
:root {
  --bg: #eef3f6;
  --surface: #ffffff;
  --ink: #0b1820;
  --muted: #5a6b76;
  --line: #d5e0e6;
  --brand: #0a4a64;
  --brand-deep: #062f3d;
  --teal: #0f8a94;
  --accent: #c81e1e;
  --accent-soft: #ffe8e6;
  --shadow: 0 10px 28px rgba(6, 36, 48, 0.09);
  --shadow-lg: 0 18px 40px rgba(6, 36, 48, 0.14);
  --radius: 16px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.72rem;
  --fs-sm: 0.86rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: clamp(1.35rem, 2.6vw, 1.75rem);
  --fs-2xl: clamp(1.6rem, 3.4vw, 2.15rem);
  --space-1: 0.35rem;
  --space-2: 0.7rem;
  --space-3: 1.1rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
}

body {
  font-size: var(--fs-md);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
}

.site-header {
  background: linear-gradient(125deg, #041e28 0%, var(--brand-deep) 38%, var(--brand) 72%, #0d7a82 100%);
  backdrop-filter: saturate(1.1);
}

.header-inner {
  padding: 0.85rem 0;
  gap: 0.75rem 1rem;
  position: relative;
}

.logo-mark {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.34), transparent 52%),
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(20,145,155,.35));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 6px 16px rgba(0,0,0,.2);
}

.logo-text strong {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.logo-text small {
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0.01em;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-inline-start: auto;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  gap: 0.2rem;
}
.header-nav a {
  font-size: 0.84rem;
  font-weight: 650;
  padding: 0.42rem 0.7rem;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.65rem;
    border-radius: 14px;
    background: rgba(4, 30, 40, 0.97);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    width: auto;
  }
  .header-nav.is-open { display: flex; }
  .header-nav a {
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  body.nav-open { overflow: hidden; }
}

.breaking {
  background: linear-gradient(90deg, #a81616, var(--accent) 40%, #e23a2d);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}
.breaking-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.breaking-item { font-size: 0.94rem; font-weight: 650; }

.tabs {
  background: rgba(0,0,0,.22);
  padding: 0.28rem;
}
.tab {
  font-size: 0.9rem;
  padding: 0.48rem 1rem;
}

.section-head h2,
.worth .section-head h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.section-kicker {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}
.hero-card h2 { font-weight: 900; letter-spacing: -0.02em; }
.card {
  border-radius: var(--radius);
  border-color: #cfdce3;
}
.card h3 {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Thin city/section strip — replaces giant teal photo placeholders */
.city-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  height: 42px;
  min-height: 36px;
  max-height: 48px;
  padding: 0 0.9rem;
  box-sizing: border-box;
  background: linear-gradient(90deg, #0a4a64, #0c5a72 55%, #0f8a94);
  color: #fff;
  direction: rtl;
}
.city-strip-mark {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.72rem;
  line-height: 1;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
}
.city-strip-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cards without a real photo: collapse 16:9 image area to the strip */
.card-thumb--strip,
.card-thumb.thumb-broken {
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
  background: transparent;
}
.card-thumb.thumb-broken > img {
  display: none !important;
}
.card-thumb.thumb-broken > .city-strip {
  display: flex;
}

/* Legacy class kept inert if any leftover markup appears */
.thumb-fallback,
.thumb-mark,
.thumb-src {
  display: none !important;
}

/* Community / newsletter */
.community-band {
  margin-top: var(--space-4);
}
.community-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .community-grid { grid-template-columns: 1.2fr 1fr; }
}
.community-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}
.community-card h2 {
  margin: 0.1rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 900;
}
.community-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.community-card--nl {
  background: linear-gradient(160deg, #f4fbfc, #fff 45%, #eef7f4);
  border-color: #c5dde3;
}
.nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.nl-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: inherit;
}
.nl-form .btn-primary {
  background: var(--brand);
  color: #fff !important;
  border: 0;
  cursor: pointer;
}
.nl-form .btn-primary:hover { background: var(--brand-deep); }
.nl-status { min-height: 1.2rem; margin: 0.45rem 0 0; font-size: 0.88rem; }
.nl-status.is-ok { color: #1a7a4c; }
.nl-status.is-err { color: #b33; }
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.community-fb {
  background: #f4f8fa !important;
  border: 1px solid var(--line) !important;
  color: var(--brand) !important;
}
.community-fb:hover { background: #e8f1f4 !important; }

/* Priced ad packages */
.advertise-wide { max-width: 960px; }
.ad-packages--priced {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.ad-package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.05rem 1.15rem;
  background: linear-gradient(165deg, #fff, #f5fafb);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(8,40,56,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ad-package:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ad-package--featured {
  border-color: #9ec9d4;
  background: linear-gradient(165deg, #f3fbfc, #e7f4f6);
}
.package-badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.package-blurb {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.package-prices {
  display: flex;
  gap: 0.85rem;
  margin: 0.35rem 0;
  flex-wrap: wrap;
}
.package-prices strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.package-prices span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.package-note {
  margin: 0;
  font-size: 0.75rem;
  color: #8a9aa3;
}
.package-cta {
  margin-top: 0.35rem;
  align-self: flex-start;
  background: var(--brand) !important;
  color: #fff !important;
  text-align: center;
}
.package-cta:hover { background: var(--brand-deep) !important; }

.admin-gate, .admin-panel { margin-top: 0.5rem; }
.admin-page { max-width: 780px; }

.static-page h1 { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -0.03em; }
.page-lead { font-size: 1.05rem; line-height: 1.6; }

@media (min-width: 900px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 1.75rem; }
}

main.wrap { padding-block: 1.35rem 2.75rem; }
.site-footer { padding: 2.25rem 0 2.6rem; }


/* Hide city strip while a real <img> is showing; reveal it if the image errors */
.card-thumb > .city-strip:has(+ img:not([style*="display: none"])),
.hero-card-link > .city-strip:has(+ img:not([style*="display: none"])),
.article-figure > .city-strip:has(+ img) {
  display: none;
}
.article-figure.is-broken > .city-strip {
  display: flex;
}
.card-thumb { position: relative; overflow: hidden; }
.card-thumb > img {
  position: relative;
  z-index: 1;
}

/* Hero without photo: text-first, thin strip on top — no giant teal block */
.hero-card--strip {
  background: #0a3040;
  min-height: 0;
  color: #fff;
}
.hero-card--strip .hero-card-link {
  min-height: 0;
  justify-content: flex-start;
}
.hero-card--strip .city-strip {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
}
.hero-card--strip .hero-body {
  background: transparent;
  padding-top: 1rem;
}
.hero-card:not(.hero-card--strip) > .hero-card-link > .city-strip:not(:has(+ img)) {
  /* no-photo strip already handled via hero-card--strip */
}

/* ——— Commercial polish pass (2026-09-29) ——— */
:root {
  --fs-xs: 0.72rem;
  --fs-sm: 0.88rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.45rem;
  --fs-2xl: clamp(1.6rem, 3.2vw, 2.1rem);
  --shadow-lg: 0 14px 36px rgba(8, 40, 56, 0.12);
  --radius-lg: 18px;
}

body {
  font-size: 16px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1160px, calc(100% - 2rem));
}

.site-header .logo-text strong {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.header-nav {
  gap: 0.15rem 0.35rem;
}
.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.header-nav a.is-current {
  background: rgba(255, 255, 255, 0.18);
}

.toolbar {
  gap: 0.85rem;
  margin: 1.15rem 0 1.35rem;
}

.card-grid {
  gap: 1.1rem;
}

.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0.35rem 0 0.55rem;
}

.card-body {
  padding: 0.95rem 1.05rem 1.05rem;
}

.meta-row {
  gap: 0.55rem;
  font-size: 0.78rem;
}

/* Rich empty states (thin cities) */
.empty-state--rich {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 2.25rem 1.75rem;
  border: 1px dashed #c5d5dd;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  max-width: 640px;
}
.empty-state--rich h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.empty-state--rich p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}
.empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 6px 16px rgba(11, 79, 108, 0.25);
}
.empty-hint {
  font-size: 0.86rem !important;
  background: #eef6f8;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: var(--brand-deep) !important;
}
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff !important;
}
.btn-ghost {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid #b7cdd6;
}
.btn-ghost:hover {
  background: #eef6f8;
}
.empty-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.empty-chips-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-inline-end: 0.15rem;
}


/* Teasers: JS already ends on word/sentence boundary; clamp is a safety net only */
.hero-summary,
.card-summary,
.x-from-card p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Article page: always show the full independently worded body — never clamp */
.article-summary,
.article-summary p,
.article-lead,
.article-body-p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Article page — commercial newspaper feel */
.article-page {
  padding: 1.6rem 1.55rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
}
.article-page h1 {
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 0.15rem 0 1rem;
}
.article-figure {
  border-radius: 14px;
  margin: 0 0 1.35rem;
  background: #d7e6ec;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.article-figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
.article-figure.is-broken {
  aspect-ratio: auto;
  min-height: 0;
  background: transparent;
  border-radius: 10px;
}
.article-figure.is-broken img {
  display: none !important;
}
.article-city-strip {
  margin: 0 0 1.15rem;
  border-radius: 10px;
  overflow: hidden;
}
.article-city-strip .city-strip,
.article-figure.is-broken .city-strip {
  border-radius: 10px;
}
.article-summary {
  font-size: 1.08rem;
  line-height: 1.75;
}
.article-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: #24343d;
}
.article-summary--thin {
  color: var(--muted);
  font-size: 0.98rem;
  background: #f3f7f9;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.article-original {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #7a8b95;
  line-height: 1.5;
}
.article-original span {
  font-weight: 700;
  color: #5a6b76;
}
.article-credit {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.article-body-p {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #24343d;
}
.article-thin-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: #5a6b76;
}
.article-credit--emph {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f3340;
  background: #f3f7f9;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border-top: none;
}
.article-page--thin .article-original {
  font-size: 0.9rem;
  color: #4a5b66;
  background: #f7fafb;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

.article-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}
.article-footer-nav a {
  color: var(--brand);
}
.article-footer-nav a:hover {
  color: var(--teal);
}

.section {
  margin-top: 1.75rem;
}
.section-head {
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .empty-state--rich {
    padding: 1.5rem 1.15rem;
  }
  .article-page {
    padding: 1.15rem 1rem 1.5rem;
    border-radius: 14px;
  }
  .card-summary {
    -webkit-line-clamp: 2;
  }
}


/* —— מתוך X (homepage curated strip) —— */
.x-from {
  margin-top: 0.5rem;
}
.x-from-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.x-from-card {
  background: var(--card, #fff);
  border: 1px solid rgba(8, 54, 72, 0.1);
  border-radius: 14px;
  padding: 0.85rem 0.95rem 0.7rem;
  box-shadow: 0 1px 0 rgba(8, 54, 72, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.x-from-card:hover {
  border-color: rgba(20, 145, 155, 0.45);
  box-shadow: 0 8px 24px rgba(8, 54, 72, 0.08);
  transform: translateY(-1px);
}
.x-from-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.x-from-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.45rem;
}
.x-from-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}
.x-from-card p {
  margin: 0 0 0.55rem;
  color: var(--muted, #5b6b74);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.x-handle {
  color: var(--teal, #14919b);
  font-size: 0.78rem;
  font-weight: 700;
}
.x-city {
  display: inline-block;
  background: rgba(20, 145, 155, 0.12);
  color: #0b4f6c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}
.x-from-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted, #5b6b74);
}
.empty-state--soft {
  padding: 1rem 1.1rem;
  text-align: center;
  color: var(--muted, #5b6b74);
  background: rgba(8, 54, 72, 0.03);
  border-radius: 12px;
}
button.linkish,
.linkish {
  background: none;
  border: none;
  color: var(--teal, #14919b);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
@media (max-width: 900px) {
  .x-from-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .x-from-strip {
    grid-template-columns: 1fr;
  }
}


/* Thin city coverage banner */
.thin-local-banner {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, #eef7f9, #f7fbfd);
  border: 1px solid #c5d9e0;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #3a5160;
  line-height: 1.45;
}
.thin-local-banner strong {
  color: var(--brand-deep, #083648);
  font-weight: 800;
}
.thin-local-banner .linkish {
  margin-inline-start: 0.15rem;
}

/* Mobile: city tabs scroll cleanly in one row */
@media (max-width: 720px) {
  .toolbar .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    border-radius: 16px;
  }
  .toolbar .tabs::-webkit-scrollbar {
    display: none;
  }
  .toolbar .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 0.42rem 0.85rem;
  }
  .thin-local-banner {
    font-size: 0.84rem;
    padding: 0.65rem 0.85rem;
  }
  .x-from-note {
    font-size: 0.76rem;
  }
}

/* ========== Editorial newspaper pass (anti-SaaS / anti-AI-slop) + IAB ads ========== */
:root {
  --bg: #f2f2f0;
  --surface: #fff;
  --ink: #0a0e12;
  --muted: #4a5560;
  
  --line: #c5ccd2;
  --brand: #0a2f45;
  --brand-deep: #061824;
  --teal: #0a2f45;
  --accent: #b71c1c;
  --accent-soft: #f7e8e8;
  --shadow: none;
  --shadow-lg: none;
  --radius: 2px;
  --radius-lg: 3px;
}

body {
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.45;
}

.wrap { width: min(1240px, calc(100% - 1.5rem)); }

/* Angular masthead */
.site-header {
  background: var(--brand-deep);
  box-shadow: none;
  border-bottom: 3px solid var(--accent);
}
.header-inner { padding: 0.55rem 0; gap: 0.5rem; }
.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0;
  background: var(--accent);
  border: 0;
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 900;
}
.logo-text strong {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
}
.logo-text small {
  font-size: 0.68rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}
.header-nav a {
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  background: transparent;
}
.header-nav a:hover,
.header-nav a.is-current {
  background: rgba(255,255,255,.08);
  color: #fff !important;
}
.nav-toggle { border-radius: 0; }

.breaking {
  background: var(--accent);
  box-shadow: none;
}
.breaking-label {
  border-radius: 0;
  box-shadow: none;
  letter-spacing: 0.04em;
}

/* Sharp tabs — not pills */
.tabs {
  background: transparent;
  padding: 0;
  gap: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.tab {
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
}
.tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: transparent;
  box-shadow: none;
}
.tab:hover { color: var(--ink); }

.toolbar {
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  padding: 0.35rem 0.5rem;
}
.site-search input,
.site-search button,
.nl-form input,
.nl-form .btn-primary,
.btn-primary,
.btn-ghost,
.package-cta {
  border-radius: 2px !important;
}

/* Cards: hairline, angular */
.card,
.hero-card,
.community-card,
.worth-item,
.ad-package,
.rail-widget,
.rail-ad,
.rail-note,
.native-ad,
.empty-state,
.thin-local-banner,
.article-page,
.page-hero {
  border-radius: 2px !important;
  box-shadow: none !important;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
}
.card:hover {
  border-color: #9aa8b2;
  transform: none;
  box-shadow: none !important;
}
.card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hero-card {
  border: 1px solid var(--line);
  min-height: 260px;
}
.hero-card h2 { font-weight: 900; letter-spacing: -0.015em; }
.section-kicker {
  color: var(--accent);
  letter-spacing: 0.06em;
  font-size: 0.66rem;
}
.section-head h2 { font-weight: 900; letter-spacing: -0.02em; }
.pill {
  border-radius: 2px !important;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.12rem 0.4rem;
  font-size: 0.68rem;
}

.card-grid {
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Layout denser: main + 300px rail */
@media (min-width: 960px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
  }
  .ad-rail {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}

.site-footer {
  background: var(--brand-deep);
  border-top: 3px solid var(--accent);
  box-shadow: none;
}
.footer-links a,
.footer-social a {
  border-radius: 0;
}

/* —— IAB exact slots —— */
.leaderboard-ad.ad-shell--iab {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 0.35rem 0.35rem 0.45rem;
  margin-bottom: 0.85rem;
  box-shadow: none;
}
.ad-carousel--728x90,
.ad-carousel {
  height: auto !important;
  max-height: none !important;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8f9;
  border: 0;
}
.ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: none !important;
}
.ad-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.ad-media--iab,
.rail-media--iab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  background: #eef1f3;
  aspect-ratio: unset !important;
}
.ad-creative,
.ad-media--iab img,
.ad-media--iab video,
.rail-media--iab img,
.rail-media--iab video {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain !important;
  display: block;
  transform: none !important;
  animation: none !important;
}

.ad-size-728x90 .ad-media--iab { width: 728px; max-width: 100%; height: 90px; }
.ad-size-728x90 .ad-creative { width: 728px; height: 90px; max-width: 100%; }
.ad-size-970x250 .ad-media--iab { width: 970px; max-width: 100%; height: 250px; }
.ad-size-320x50 .ad-creative,
.ad-mobile-unit img { width: 320px; height: 50px; max-width: 100%; object-fit: contain; }
.ad-size-300x250 .rail-media--iab,
.ad-size-300x250 .ad-media--iab { width: 300px; max-width: 100%; height: 250px; margin-inline: auto; }
.ad-size-300x250 .ad-creative { width: 300px; height: 250px; max-width: 100%; }
.ad-size-300x600 .rail-media--iab { width: 300px; max-width: 100%; height: 600px; margin-inline: auto; }
.ad-size-300x600 .ad-creative { width: 300px; height: 600px; max-width: 100%; }
.ad-size-336x280 .ad-creative { width: 336px; height: 280px; max-width: 100%; }

.rail-ad {
  min-height: 0;
  margin-bottom: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.rail-ad-label {
  border-radius: 0;
  background: rgba(8, 20, 32, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}
.rail-heading {
  padding: 0.15rem 0 0.35rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
}
.rail-heading em { color: var(--accent); }

.rail-widget {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.7rem 0.75rem;
}
.rail-widget h3 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
  display: inline-block;
}
.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pop;
}
.rail-list li {
  counter-increment: pop;
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.35rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e6eaed;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}
.rail-list li::before {
  content: counter(pop);
  color: var(--accent);
  font-weight: 900;
  font-size: 0.9rem;
}
.rail-list a:hover { color: var(--accent); }
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.city-chips a {
  border: 1px solid var(--line);
  background: #f7f8f9;
  padding: 0.28rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 0;
  color: var(--ink) !important;
}
.city-chips a:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.rail-nl p { margin: 0 0 0.45rem; font-size: 0.82rem; color: var(--muted); }
.rail-cta {
  display: block;
  text-align: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 0.7rem;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 0;
}
.rail-cta:hover { background: var(--accent); border-color: var(--accent); }
.rail-note {
  border-style: solid;
  border-radius: 0;
  font-size: 0.72rem;
}

.ad-mobile-strip {
  display: none;
  justify-content: center;
  padding: 0.25rem 0;
}
@media (max-width: 720px) {
  .ad-carousel--728x90 { display: none; }
  .ad-controls { display: none; }
  .ad-mobile-strip { display: flex; }
  .ad-rail { display: none; }
  .content-layout { grid-template-columns: 1fr; }
}

/* Disable kenburns stretch on IAB */
.ad-kenburns img,
.ad-kenburns--alt img,
.ad-kenburns--slow img {
  animation: none !important;
  transform: none !important;
  object-fit: contain !important;
}

.native-ad {
  border-color: #d0c4a0 !important;
  background: #fffdf8 !important;
}
.native-ad .card-thumb {
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  background: #f3f0e6;
}
.native-ad .ad-media--iab { height: auto; }
.native-label { border-radius: 0; }

.community-card--nl {
  background: #fff;
  border-color: var(--line);
}
/* no-op: giant thumb-fallback retired in favor of .city-strip */
.thumb-fallback { display: none !important; }

.rail-x .rail-list a strong { color: var(--accent); font-weight: 800; margin-left: 0.25rem; }
.rail-x-note { margin: 0.35rem 0 0; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }
.rail-x .rail-list li { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.rail-x .rail-list a { color: var(--ink) !important; font-size: 0.8rem; line-height: 1.35; font-weight: 650; }

/* Verified product repair, 2026-10-27: readable imagery, honest filters and continuous ticker. */
[hidden] { display:none !important; }
.breaking-track { direction:ltr; }
.breaking-sequence { box-sizing:border-box; }
.active-filter { display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:12px 16px;margin-bottom:16px;border:1px solid #cad4d9;background:#f1f6f8; }
.active-filter button { background:#0b3446;color:white;border:0;padding:9px 12px;font:inherit;cursor:pointer; }
.hero-card .hero-card-link { display:flex;flex-direction:column;min-height:0; }
.hero-card .hero-card-link>img { position:static;width:100%;height:230px;object-fit:cover;opacity:1; }
.hero-card .hero-body { position:static;background:white;color:#132d3a;padding:20px; }
.hero-card .hero-body h2,.hero-card .hero-body h3,.hero-card .hero-body .meta-row,.hero-card .hero-summary { color:inherit;text-shadow:none; }
.hero-card .hero-card-link::after { display:none; }
.hero-card .credit-row { background:#f2f5f6;color:#435968; }
.hero-card .credit-row .source-credit { color:inherit; }
@media(max-width:600px){ .hero-card .hero-card-link>img{height:210px;} .hero-card .hero-body{padding:16px;} .hero-card h2{font-size:1.4rem;line-height:1.35;} .active-filter{align-items:flex-start;flex-direction:column;} }
@media(prefers-reduced-motion:reduce){ .breaking-track{overflow-x:auto;} .breaking-sequence[aria-hidden=true]{display:none;} }

/* Round two: journalism leads, no sample-ad inventory in reader pages. */
.edition-heading { display:flex;justify-content:space-between;gap:24px;align-items:end;padding:12px 0 20px; }
.edition-heading h1 { margin:4px 0 0;font-size:clamp(1.6rem,3vw,2.35rem);letter-spacing:-.025em;line-height:1.2; }
.edition-heading p { color:var(--muted);font-size:.82rem;margin:0; }
.editorial-rail { display:flex;flex-direction:column;gap:20px; }
.editorial-rail .rail-widget { background:transparent;padding:0;border:0;border-top:3px solid #0b2736;padding-top:12px; }
.editorial-rail p { color:var(--muted);font-size:.88rem; }
.rail-date{display:block;color:var(--muted);font-size:.72rem;font-weight:400;margin-top:5px;}
.reading-layout{display:block !important;max-width:900px;margin:auto;}
.article-page{max-width:850px;margin:auto;}
.article-sources {border-top:1px solid var(--line);padding-top:18px;margin-top:24px;}
.article-sources h2{font-size:1.1rem;}.article-sources li{margin:8px 0;}.article-sources a{text-decoration:underline;color:#0b4f6c;}
.archive-divider {grid-column:1/-1;border-top:3px solid var(--ink);padding-top:14px;margin:20px 0 0;font-size:1.2rem;}
.archive-divider small{font-size:.8rem;font-weight:400;color:var(--muted);margin-inline-start:14px;}
.hero-card.secondary .hero-card-link{justify-content:flex-start;}
@media(max-width:960px){.editorial-rail{display:none}.edition-heading{display:block}.edition-heading p{margin-top:10px}}

.hero-card { background:#fff; }
.hero-card .hero-card-link { flex:0 0 auto; }
.hero-card .credit-row { margin-top:0; }

.hero { align-items:start; }
.hero-card { justify-content:flex-start; }
