/* Hebrew (right-to-left) layout: mirror the page around the depth gauge */
html[dir=rtl] *{letter-spacing:0 !important}
/* depth gauge, header and content padding swap sides on wide screens */
@media (min-width:981px){
  html[dir=rtl] .gauge{right:auto;left:0;border-left:0;border-right:1px solid var(--faint);background:linear-gradient(270deg,transparent,rgba(0,0,0,.12))}
  html[dir=rtl] .wrap,html[dir=rtl] .hero-in,html[dir=rtl] .creds{padding-left:calc(var(--gauge) + 24px);padding-right:48px}
  html[dir=rtl] .top{padding-left:calc(var(--gauge) + 24px);padding-right:48px}
  html[dir=rtl] .wa-float{right:auto;left:calc(var(--gauge) + 24px)}
}
@media (max-width:1180px) and (min-width:981px){html[dir=rtl] .top{padding-right:32px}}
@media (max-width:980px){
  html[dir=rtl] .wa-float{right:auto;left:16px}
  html[dir=rtl] .depth-pill{left:auto;right:14px}
}
@media (max-width:430px){html[dir=rtl] .top{padding-left:16px;padding-right:16px}}
/* arrows and chevrons point the reading direction */
html[dir=rtl] .btn-more svg,html[dir=rtl] .lcard-more svg,html[dir=rtl] .link svg,html[dir=rtl] .bk-cal-nav svg{transform:scaleX(-1)}
/* numbers, phone, email and Latin terms keep their own direction */
html[dir=rtl] .foot-mail,html[dir=rtl] input[type=tel],html[dir=rtl] input[type=email]{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] input[type=tel],html[dir=rtl] input[type=email]{text-align:right}
/* gauge hover labels open towards the page */
html[dir=rtl] .gauge-scale li .lbl{right:auto;left:46px;transform:translateX(-6px)}
html[dir=rtl] .gauge-scale li:hover .lbl{transform:none}
html[dir=rtl] .depth-pill,html[dir=rtl] .gauge-read{direction:ltr}
/* the Instagram handle reads left-to-right (keeps the @ in front) */
html[dir=rtl] .ig-more>span:last-child,html[dir=rtl] .insta-head a{unicode-bidi:plaintext}

/* ===== cinematic layout (November 2026) ===== */
@media (min-width:1041px){
  html[dir=rtl] .wrap,html[dir=rtl] .foot{padding:0 var(--gut) 0 calc(var(--gauge) + 12px)}
  html[dir=rtl] .foot{padding-top:26px;padding-bottom:34px}
  html[dir=rtl] .top{padding-left:calc(var(--gauge) + 12px);padding-right:var(--gut)}
  html[dir=rtl] .wa-float{right:auto;left:calc(var(--gauge) + 12px)}
  html[dir=rtl] .gauge-scale li{right:auto;left:34px;flex-direction:row-reverse}
  html[dir=rtl] .gauge-scale li::before{right:auto;left:-17px}
  html[dir=rtl] .gauge-track{right:auto;left:20px}
  html[dir=rtl] .gauge-scale li .lbl{left:calc(100% + 12px);right:auto}
  /* background divers sit in the gap between text and panel, mirrored */
  html[dir=rtl] .book-bg{transform:scaleX(-1)}
}
@media (max-width:1040px){
  html[dir=rtl] .wrap{padding:0 var(--gut)}
  html[dir=rtl] .top{padding-left:var(--gut);padding-right:var(--gut)}
  html[dir=rtl] .top-book{margin-left:0;margin-right:auto}
  html[dir=rtl] .menu-toggle{margin-left:0;margin-right:10px}
}
@media (max-width:760px){html[dir=rtl] .depth-pill{right:auto!important;left:62px}}
html[dir=rtl] .hero-shade,html[dir=rtl] .dt-bg{transform:scaleX(-1)}
/* arrows point the reading direction */
html[dir=rtl] .arr,html[dir=rtl] .courses .lcard-more::after,html[dir=rtl] .ig-next svg,html[dir=rtl] .rv-btn svg,html[dir=rtl] .btn svg{transform:scaleX(-1)}
html[dir=rtl] .route:hover .arr path,html[dir=rtl] .xcard:hover .arr path{transform:translateX(2px)}
/* numbers with units, the handle and English quotes keep their own direction */
html[dir=rtl] .dt-card b,html[dir=rtl] .dt-time b,html[dir=rtl] .breath-ring span,html[dir=rtl] .dt-ticks,html[dir=rtl] .sea-stat b,html[dir=rtl] .gauge-scale li b,
html[dir=rtl] .depth-k .k-m,html[dir=rtl] .idcard-stats b,html[dir=rtl] .dt-card small,html[dir=rtl] .ig-handle{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .dt-ticks{display:block}
html[dir=rtl] .rev blockquote,html[dir=rtl] .rev figcaption b{unicode-bidi:plaintext}
html[dir=rtl] .ig-handle{align-self:flex-end}
html[dir=rtl] .bk-tile.on::after{right:auto!important;left:-8px!important}
html[dir=rtl] .xp-dialog .cd-close{right:auto;left:12px}
html[dir=rtl] .faq-list details p{padding:0 4px 0 48px}
html[dir=rtl] .link{align-self:flex-start}
/* the depth scale always runs 0 → 40 m left to right, so the thumb and fill agree */
html[dir=rtl] .dt-slider{direction:ltr}
@media (max-width:760px){html[dir=rtl] .depth-pill{left:62px!important;right:auto!important}}
@media (min-width:1041px){html[dir=rtl] .book-bg{transform:scaleX(-1) translateX(100px)}}
