/* English site only (en/*.html, linked by tools/i18n-build.js): what the Hebrew design does physically for right-to-left. */

/* arrows that point "forward" in Hebrew (left / up-left) point right / up-right in English. `scale` stacks with the
   hover transforms the site already uses on these icons */
svg:has(> path[d="M17 17 7 7M7 15V7h8"]),
svg:has(> path[d="M19 12H5M11 6l-6 6 6 6"]),
svg:has(> path[d="M19 12H5.5M11 6.5 5.5 12l5.5 5.5"]),
svg:has(> path[d="M19 12H5.500M11 6.500 5.500 12l5.500 5.500"]){scale:-1 1}

/* the systems carousel drifts toward the reading start (left) */
@keyframes jrDriftL{to{transform:translateX(-50%)}}
.jr-track{animation-name:jrDriftL}

/* many components pin direction:rtl for the Hebrew layout; on the English site everything follows the page (left-to-right),
   except what is explicitly Hebrew (the Hebrew bubble of the three-language demo, the "עב" button) */
html[dir="ltr"] *{direction:inherit}
html[dir="ltr"] [lang="he"],html[dir="ltr"] [lang="he"] *{direction:rtl}
html[dir="ltr"] .hs-field input:placeholder-shown,html[dir="ltr"] .hs-field input{direction:ltr}
