:root {
  color: #17221f;
  background: #f4efe6;
  font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
  font-synthesis: none;
  --paper: #f4efe6;
  --ink: #17221f;
  --muted: #61706a;
  --line: #c9c5ba;
  --soft-line: #ddd8cd;
  --card: #fbf8f1;
  --accent: #e54b2f;
  --accent-dark: #a52f1d;
  --accent-soft: #ffb19e;
  --technical: #0d665b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(23, 34, 31, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-top: 6px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.94);
}

.header-inner {
  min-height: 92px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.brand {
  display: inline-flex;
  text-decoration: none;
  direction: rtl;
}

.brand-copy,
.brand strong,
.brand-tagline,
.brand-ai-note {
  display: block;
}

.brand-copy {
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand-copy.is-changing {
  opacity: 0;
  transform: translateY(3px);
}

.brand strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.brand-ai-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.empty-kicker,
.why-kicker,
.source-kicker {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-header h1,
.not-found h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 7.5vw, 94px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.stories {
  padding-block: 36px 100px;
}

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

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
}

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

.story-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
}

.story-number {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.story-content {
  max-width: 840px;
}

.ad-placement {
  min-width: 0;
}

.ad-placement-inner {
  width: 100%;
  min-width: 250px;
}

.ad-placement .adsbygoogle {
  width: 100%;
}

.ad-placement .adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.ad-placement-home-feed {
  display: grid;
  grid-template-columns: 72px minmax(250px, 840px);
  gap: 28px;
}

.ad-placement-home-feed .ad-placement-inner {
  grid-column: 2;
}

.ad-placement-home-feed .adsbygoogle-home-feed {
  height: 250px;
}

.ad-placement-home-feed:has(.adsbygoogle[data-ad-status="filled"]),
.ad-placement-home-feed:has(.adsbygoogle[data-ad-status="unfill-optimized"]) {
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
}

.ad-placement-article-body {
  margin: 0;
  padding: 0;
}

.ad-placement-article-body .ad-placement-inner {
  max-width: 640px;
  margin-inline: auto;
}

.ad-placement-article-body:has(.adsbygoogle[data-ad-status="filled"]),
.ad-placement-article-body:has(.adsbygoogle[data-ad-status="unfill-optimized"]) {
  margin: 32px 0 36px;
  padding-block: 8px;
}

.story-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.story-card h2 {
  margin: 0;
  font-size: clamp(27px, 3.6vw, 43px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.story-card h2 a {
  text-decoration: none;
}

.story-card h2 a:hover {
  color: var(--accent-dark);
}

.story-image-link {
  display: block;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.story-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.story-image-link:hover .story-image {
  transform: scale(1.012);
}

.article-age {
  margin-top: 7px;
  padding: 7px 10px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.why-line {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
}

.why-line {
  margin: 20px 0;
  color: var(--technical);
}

.text-link,
.back-link,
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.back-link:hover,
.source-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty-state {
  margin-top: 28px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--soft-line);
  background: var(--card);
}

.empty-state h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 44px);
}

.empty-state p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.article-main {
  padding-block: 52px 110px;
}

.article-header {
  max-width: 930px;
  margin-top: 70px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 930px;
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.article-title-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  max-width: 930px;
}

.article-title-row h1 {
  flex: 1 1 auto;
  min-width: 0;
}

.article-reader {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-bottom: 8px;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.article-reader[hidden] {
  display: none;
}

.article-reader:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.article-reader:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.article-reader-icon {
  display: inline-flex;
  justify-content: center;
  width: 14px;
  direction: ltr;
  font-size: 12px;
}

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

.comments-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.comments-jump-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.article-share-label {
  margin-inline-end: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.share-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.share-whatsapp {
  color: #176b3a;
}

.share-facebook {
  color: #2857a4;
}

.share-button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.share-whatsapp:hover {
  background: #176b3a;
}

.share-facebook:hover {
  background: #2857a4;
}

.share-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.article-deck {
  max-width: 790px;
  margin: 30px 0 0;
  color: #35433e;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.65;
}

.article-figure {
  margin: 42px 0;
}

.article-figure-lead {
  max-width: 930px;
  margin: 42px 0 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  border: 1px solid var(--soft-line);
  background: var(--card);
  object-fit: contain;
}

.article-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.article-figure figcaption > span {
  flex: 1 1 340px;
}

.article-figure figcaption a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.article-figure figcaption a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(230px, 1fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
  padding-top: 54px;
}

.article-body > p {
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.9;
}

.why-box {
  margin-top: 54px;
  padding: 31px 34px 34px;
  border-top: 5px solid var(--technical);
  background: #e5eee9;
}

.why-box h2 {
  margin: 7px 0 14px;
  font-size: 30px;
}

.why-box p:last-child {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
}

.why-kicker {
  margin: 0;
  color: var(--technical);
}

.source-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}

.source-card h2 {
  margin: 8px 0 15px;
  font-size: 22px;
}

.source-card p {
  overflow-wrap: anywhere;
  color: #43504b;
  font-size: 14px;
  line-height: 1.55;
}

.source-kicker {
  margin: 0;
}

.source-date {
  color: var(--muted) !important;
}

.source-link {
  margin-top: 4px;
}

.source-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.comments-section {
  scroll-margin-top: 28px;
  margin-top: 86px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.home-comments {
  margin-top: 0;
  padding-bottom: 100px;
}

.comments-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.comments-section-header h2 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
}

.comments-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.comments-section-header .comments-kicker {
  color: var(--technical);
  font-size: 12px;
  font-weight: 800;
}

.comments-external-link {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.comments-external-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.comments-section srak-comments {
  display: block;
  width: 100%;
  --srak-font-family: Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
  --srak-accent: var(--technical);
  --srak-accent-hover: #084f47;
  --srak-focus: rgba(13, 102, 91, 0.28);
  --srak-border: var(--line);
  --srak-border-soft: var(--soft-line);
  --srak-card-border: var(--soft-line);
  --srak-subtle-background: #e5eee9;
  --srak-surface: var(--card);
  --srak-text: var(--ink);
  --srak-text-body: #35433e;
  --srak-text-strong: var(--ink);
  --srak-shadow: none;
}

.comments-noscript {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 16px;
  line-height: 1.7;
}

.comments-noscript a {
  color: var(--accent-dark);
  font-weight: 800;
}

.not-found {
  min-height: 65vh;
  padding-block: 100px;
}

.not-found h1 {
  margin-top: 16px;
  font-size: clamp(46px, 7vw, 84px);
}

.not-found > p:not(.empty-kicker) {
  margin: 25px 0;
  color: var(--muted);
  font-size: 19px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #f4efe6;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 64px;
  padding-block: 42px;
}

.footer-copy {
  display: grid;
  gap: 7px;
  max-width: 560px;
}

.footer-copy p {
  margin: 0;
  color: #cbd2ce;
  font-size: 13px;
  line-height: 1.6;
}

.footer-copy strong {
  color: #fff;
}

.footer-copy a,
.footer-links a,
.footer-privacy-button {
  color: #fff;
  text-underline-offset: 4px;
}

.footer-license {
  padding-top: 5px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px 28px;
  min-width: 280px;
  font-size: 14px;
}

.footer-links a,
.footer-privacy-button {
  text-decoration-color: transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-privacy-button:hover,
.footer-privacy-button:focus-visible,
.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--accent-soft);
  text-decoration-color: currentColor;
}

.footer-privacy-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: start;
  text-decoration: underline;
}

.footer-consent-status {
  grid-column: 1 / -1;
  min-height: 1em;
  margin: 0;
  color: var(--accent-soft);
  font-size: 12px;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  right: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-main {
  padding-block: 52px 110px;
}

.legal-document {
  max-width: 900px;
  margin-top: 70px;
}

.legal-header {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.legal-header h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.legal-deck {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  max-width: 760px;
  padding-top: 52px;
}

.legal-content section {
  margin-bottom: 48px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 15px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  font-size: 18px;
  line-height: 1.85;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 14px 0 20px;
  padding-inline-start: 24px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

  .header-inner {
    min-height: 96px;
  }

  .brand-tagline {
    font-size: 13px;
  }

  .brand-ai-note {
    max-width: 42ch;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .story-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding-block: 32px;
  }

  .ad-placement-home-feed {
    grid-template-columns: minmax(250px, 1fr);
    gap: 0;
  }

  .ad-placement-home-feed .ad-placement-inner {
    grid-column: 1;
  }

  .ad-placement-home-feed .adsbygoogle-home-feed {
    height: 220px;
  }

  .ad-placement-article-body:has(.adsbygoogle[data-ad-status="filled"]),
  .ad-placement-article-body:has(.adsbygoogle[data-ad-status="unfill-optimized"]) {
    margin-block: 30px 34px;
  }

  .story-card h2 {
    font-size: 28px;
  }

  .story-title-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-age {
    margin-top: 0;
    justify-self: start;
  }

  .article-main {
    padding-block: 34px 80px;
  }

  .article-header {
    margin-top: 48px;
  }

  .article-header h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .article-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .article-reader {
    margin-bottom: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .source-card {
    position: static;
  }

  .comments-section {
    margin-top: 64px;
    padding-top: 40px;
  }

  .comments-section-header {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 34px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .legal-main {
    padding-block: 34px 80px;
  }

  .legal-document {
    margin-top: 48px;
  }

  .legal-header {
    padding-bottom: 34px;
  }

  .legal-header h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .legal-deck {
    font-size: 18px;
  }

  .legal-content {
    padding-top: 40px;
  }

  .legal-content section {
    margin-bottom: 40px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 17px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .article-reader {
    transition: none;
  }
}
