/* Hebrew (RTL) overrides — loaded after style.css on /he/ pages only */
:root {
  --font-display: 'Frank Ruhl Libre', 'David', 'Times New Roman', serif;
  --font-body: 'Heebo', 'Assistant', 'Arial Hebrew', Arial, sans-serif;
}
html[dir="rtl"] { direction: rtl; }

/* Hebrew has no case and reads badly with tracking */
html[dir="rtl"] .eyebrow, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .brand__name, html[dir="rtl"] .brand__name small, html[dir="rtl"] .card__kicker,
html[dir="rtl"] .essay time, html[dir="rtl"] .essayrow time, html[dir="rtl"] .guide__body h3,
html[dir="rtl"] .saynot strong, html[dir="rtl"] .qa__q .asking strong, html[dir="rtl"] .qa__a h3,
html[dir="rtl"] .pod small, html[dir="rtl"] .hl .src, html[dir="rtl"] .footer h4 { letter-spacing: 0; text-transform: none; }

/* Hebrew serif sits a little small at the same size */
html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height: 1.12; font-weight: 500; }
html[dir="rtl"] .hero__copy h1 { max-width: 14ch; line-height: 1.08; }
html[dir="rtl"] .hero__copy h1 em { font-style: normal; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .guide__body h3, html[dir="rtl"] .qa__a h3,
html[dir="rtl"] .saynot strong, html[dir="rtl"] .qa__q .asking strong, html[dir="rtl"] .footer h4 { font-size: var(--text-sm); font-weight: 700; }

/* mirrored spacing and borders */
html[dir="rtl"] .prose ul, html[dir="rtl"] .prose ol,
html[dir="rtl"] .guide__body ul, html[dir="rtl"] .qa__a ul { padding-left: 0; padding-right: 1.25em; }
html[dir="rtl"] .prose blockquote { padding-left: 0; border-left: 0; padding-right: var(--space-6); border-right: 1px solid var(--color-border); }
html[dir="rtl"] .nav .btn { margin-left: 0; margin-right: var(--space-2); }
html[dir="rtl"] .skip { left: auto; right: var(--space-4); }
html[dir="rtl"] .srcrow span::before { margin-right: 0; margin-left: var(--space-2); }
html[dir="rtl"] .hero__media img { object-position: 20% 50%; }
@media (max-width: 1200px) {
  html[dir="rtl"] .nav .btn { margin: var(--space-3) 0 0; }
}

/* outbound-link arrow points up-left in RTL */
html[dir="rtl"] .textlink svg, html[dir="rtl"] .btn svg, html[dir="rtl"] small svg { transform: scaleX(-1); }

/* Latin snippets inside Hebrew text (URLs, names of outlets) */
html[dir="rtl"] .ltr, html[dir="rtl"] .org small, html[dir="rtl"] .pod small, html[dir="rtl"] time { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .pod small, html[dir="rtl"] .org small { display: block; text-align: right; }

