/* Hebrew RTL overrides — loaded only on /he/* pages */
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300;400;500;700;900&family=Heebo:wght@300;400;500;600;700&display=swap');

[dir="rtl"] body {
  font-family: 'Heebo', 'Inter', system-ui, sans-serif;
}

/* Display headings — Frank Ruhl Libre is the Hebrew counterpart of Fraunces */
[dir="rtl"] .nav-logo,
[dir="rtl"] .nav-logo em,
[dir="rtl"] .hero h1,
[dir="rtl"] .hero h1 em,
[dir="rtl"] .article-hero h1,
[dir="rtl"] .article-hero h1 em,
[dir="rtl"] .article-hero p.lede,
[dir="rtl"] .section h2,
[dir="rtl"] .section h2 em,
[dir="rtl"] .pull-quote blockquote,
[dir="rtl"] .value-title,
[dir="rtl"] .card-title,
[dir="rtl"] .journal-card-title,
[dir="rtl"] .gallery-title,
[dir="rtl"] .footer-brand-name,
[dir="rtl"] .footer-brand-name em,
[dir="rtl"] .quote-body,
[dir="rtl"] .faq-item summary,
[dir="rtl"] .coverage-title,
[dir="rtl"] .contact-item h3,
[dir="rtl"] .related-card-title,
[dir="rtl"] .press-logo-mark {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
}

/* Hebrew quote marks differ — use Hebrew quotation mark */
[dir="rtl"] .quote-mark::before { content: '״'; }
[dir="rtl"] .quote-mark { content: none; }

/* Letter spacing for Hebrew should be tighter or none */
[dir="rtl"] .hero h1,
[dir="rtl"] .article-hero h1,
[dir="rtl"] .section h2,
[dir="rtl"] .quote-body {
  letter-spacing: -0.01em;
}

/* JetBrains Mono works fine for Hebrew Latin (UI labels). Hebrew labels use Heebo. */
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .section-eyebrow,
[dir="rtl"] .gallery-label,
[dir="rtl"] .footer-col h4,
[dir="rtl"] .article-meta,
[dir="rtl"] .card-eyebrow,
[dir="rtl"] .card-link,
[dir="rtl"] .journal-card-meta,
[dir="rtl"] .journal-card-cta,
[dir="rtl"] .related-head,
[dir="rtl"] .press-logos-label,
[dir="rtl"] .coverage-head,
[dir="rtl"] .breadcrumb ol,
[dir="rtl"] .footer-bottom {
  font-family: 'Heebo', 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}

/* Drop cap for Hebrew - first paragraph */
[dir="rtl"] .article-body p:first-of-type::first-letter {
  float: right;
  padding: .35rem 0 0 .6rem;
}
