/* ---------------------------------------------------------------------------
   rtl.css — Hebrew pages only. Loaded after site.css.
   Bitter and Archivo have no Hebrew, so the display and body families are
   swapped for Frank Ruhl Libre and Assistant at matching weights. Space Mono
   has no Hebrew either: it stays first in the stack so Latin and digits keep
   the terminal look, and Hebrew falls through to Assistant.
   --------------------------------------------------------------------------- */

:root{
  --display:'Frank Ruhl Libre',Georgia,serif;
  --body:'Assistant',system-ui,sans-serif;
  --mono:'Space Mono','Assistant',ui-monospace,monospace;
}

html{direction:rtl}

/* Hebrew has no capitals and no tracked-out small caps. Tighten the label
   tracking so the mono labels do not read as spaced-out letters. */
.label,.field label,.facts-table .k,.receipt dt,.creds span{letter-spacing:.04em}
.staging{letter-spacing:.04em}

/* Hebrew display type sits differently on the line than Bitter did. */
h1,h2,h3{letter-spacing:0;line-height:1.08}
.hero h1{line-height:.95;letter-spacing:-.01em;text-transform:none}
summary{line-height:1.4}

/* the list marker has to point the other way */
ul.clean li::before{content:"↲"}

/* anything Latin, numeric, a time, or a currency amount inside Hebrew text is
   wrapped in .ltr (see site.css) so the bidi algorithm cannot reorder it */
.mono,.facts,.steps,.form-note,.past{unicode-bidi:plaintext}

/* mirrored shadows — the design offsets them to the right, which in RTL
   throws them off the wrong edge */
.btn-primary{box-shadow:-5px 5px 0 rgba(127,168,201,.45)}
.btn-ink{box-shadow:-5px 5px 0 rgba(55,94,125,.4)}
