/*//// UTILITY - HEBREW TYPOGRAPHY LAYER ////*/
/*============================================================================
* HEBREW TYPE  -  v1.0 (2026-08-31)
*
* WHY THIS FILE EXISTS
* The client asked for a real Hebrew webfont with a consistent hierarchy.
* Three stacked faults made Hebrew render in whatever the visitor's OS shipped:
*   1. css-rtl-global.css names Montserrat FIRST in its stack, and Montserrat
*      carries no Hebrew glyphs, so Hebrew fell through per character.
*   2. No Hebrew face was ever actually loaded - only Montserrat and PT Sans
*      Caption were requested from Google Fonts.
*   3. The old rule was html.translated-rtl * at specificity (0,1,1). This
*      theme carries 203 font-family declarations across 22 CSS files, many
*      ID-scoped, and every one of them outranked it - hence the mixed
*      typefaces the client reported.
* The fix: load Heebo (site-wide, unconditionally - RTL is applied client-side
* on cached pages so PHP cannot know in advance), and win the cascade with an
* !important layer scoped ENTIRELY under html.translated-rtl. No rule in this
* file can touch an English page: without the class nothing here matches.
* Backing the whole change out = removing one enqueue.
*
* FONT: Heebo, 300-800 (client's pick from four options, chosen for the full
* weight range a heading hierarchy needs). Loaded via Google Fonts css2 in
* func-enqueue (handle heebo-font), declared a dependency of this file.
*
* WHY !important IS SAFE HERE
* No font-family declaration anywhere in the theme uses !important (verified),
* so this layer wins every element it names and nothing else can fight it.
* Icon fonts survive because they are declared ON PSEUDO-ELEMENTS
* (.slick-prev:before etc, font-family 'slick'; Font Awesome likewise): a
* pseudo-element's own declaration always beats what its element inherits, and
* this file never targets ::before/::after. Spans and <i> are deliberately NOT
* in the list below - they are the icon carriers, and text spans inherit the
* fixed family from their parents anyway.
*
* SIZES ARE NOT TOUCHED. The English size ladder is per-template and re-scaling
* Hebrew is a design decision Brian has reserved. Letter-spacing IS reset -
* the theme's tracking values are tuned for Montserrat, not Hebrew.
*============================================================================*/


/*////// 1. HEBREW FACE - EVERY TEXT-CARRYING ELEMENT //////*/
/*// One rule, one stack: Heebo first so Hebrew glyphs come from Heebo and //*/
/*// embedded Latin runs (numbers, emails) render in Heebo's Latin set for //*/
/*// a single visual voice. Element-type selectors + !important outrank    //*/
/*// every ID-scoped declaration in the theme (importance beats specificity). //*/
html.translated-rtl h1,
html.translated-rtl h2,
html.translated-rtl h3,
html.translated-rtl h4,
html.translated-rtl h5,
html.translated-rtl h6,
html.translated-rtl p,
html.translated-rtl li,
html.translated-rtl a,
html.translated-rtl blockquote,
html.translated-rtl label,
html.translated-rtl legend,
html.translated-rtl input,
html.translated-rtl textarea,
html.translated-rtl select,
html.translated-rtl option,
html.translated-rtl button,
html.translated-rtl td,
html.translated-rtl th,
html.translated-rtl caption,
html.translated-rtl figcaption,
html.translated-rtl dt,
html.translated-rtl dd,
html.translated-rtl small,
html.translated-rtl strong,
html.translated-rtl b,
html.translated-rtl em {
	font-family: 'Heebo', 'Noto Sans Hebrew', Arial, sans-serif !important;
	letter-spacing: normal !important;
}


/*////// 2. LATIN RUNS INSIDE HEBREW COPY //////*/
/*// Phone numbers and email addresses must read left-to-right even when //*/
/*// the base direction is RTL. Isolate them so the digits do not reorder. //*/
html.translated-rtl a[href^="tel:"],
html.translated-rtl a[href^="mailto:"] {
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-block;
}
