/* מלח הארץ, site-v3: LTR fixes for the English pages (en/*.html) only.
   Loaded after site.css / pages.css. Hebrew pages never load this file. */

/* SVG arrow (#i-arrow) points left = "forward" in RTL. Flip it in LTR. */
svg:has(> use[href="#i-arrow"]){transform:scaleX(-1)}
.btn:hover svg:has(> use[href="#i-arrow"]){transform:scaleX(-1) translateX(-4px)}
.btn:hover svg{transform:translateX(4px)}
.branch:hover .arrow{transform:rotate(45deg) scale(1.08)}

/* Text alignment that was hard-coded to the right */
.pillar{text-align:left}
.stat__n,.intro__depth{text-align:left}
.intro__depth small{direction:ltr}

/* Underline / progress fills grow from the reading start */
.nav a::after{transform-origin:left}
.nav a:hover::after,.nav a[aria-current]::after{transform-origin:right}
.dots button i{transform-origin:left}

/* Mobile menu opens from the burger, which sits on the right in LTR */
.mmenu{clip-path:circle(0% at 90% 6%)}
.menu-open .mmenu{clip-path:circle(150% at 90% 6%)}

/* Pillar drawer slides in from the right */
.drawer__panel{left:auto;right:0;transform:translateX(100%)}
.drawer.is-open .drawer__panel{transform:none}

/* Marquees scroll toward the reading direction */
@keyframes mq-ltr{to{transform:translateX(-50%)}}
.marquee__track,.voices__track{animation-name:mq-ltr}

/* Floating action bar sits on the opposite side from the altimeter */
@media(min-width:900px){.actionbar{inset:auto max(24px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) auto}}

/* Draft ribbon (English pages only) */
.draft-ribbon{position:relative;z-index:52;background:#f6d7c3;color:#14222a;font:600 13px/1.3 Rubik,system-ui,sans-serif;text-align:center;padding:6px 16px;letter-spacing:.02em}
