/* =====================================================
   RTL (Right-to-Left) overrides — Hebrew (he_IL)
   Applied when <html dir="rtl"> / <html class="rtl">
   ===================================================== */

/* ── Base direction ─────────────────────────────── */
html[dir="rtl"],
.rtl {
    direction: rtl;
}

/* ── Navigation ─────────────────────────────────── */
.rtl .nav,
.rtl .nav-r {
    flex-direction: row-reverse;
}

.rtl .nav-logo {
    margin-right: 0;
    margin-left: auto;
}

.rtl .nav-links {
    margin-right: auto;
    margin-left: 0;
}

/* ── Language switcher ──────────────────────────── */
.rtl .rc-lang-switcher {
    direction: ltr; /* keep the EN | RUS | HE order readable */
}

/* ── Hero ───────────────────────────────────────── */
.rtl .hero-inner {
    flex-direction: row-reverse;
}

.rtl .h-btns {
    flex-direction: row-reverse;
}

.rtl .h-trust {
    flex-direction: row-reverse;
}

/* Hero search: keep icon on the right in RTL by locking layout to LTR,
   then restoring RTL text direction on the input itself. */
.rtl .hsm-input-row {
    direction: ltr;
}
.rtl .hsm-input {
    direction: rtl;
    text-align: right;
}

/* ── Guided decision module ─────────────────────── */
.rtl .gd-inner {
    flex-direction: row-reverse;
}

.rtl .gd-stepper {
    flex-direction: row-reverse;
}

.rtl .gd-meta {
    flex-direction: row-reverse;
}

.rtl .gd-q,
.rtl .gd-hint,
.rtl .gd-title,
.rtl .gd-eyebrow,
.rtl .gd-sub,
.rtl .gd-rl,
.rtl .gd-priv {
    text-align: right;
}

.rtl .gd-nav {
    flex-direction: row-reverse;
}

/* ── Section headers ────────────────────────────── */
.rtl .sec-title,
.rtl .sec-eyebrow,
.rtl .hdr-row {
    text-align: right;
}

.rtl .hdr-row {
    flex-direction: row-reverse;
}

/* ── Search bar ─────────────────────────────────── */
.rtl .search-wrap {
    flex-direction: row-reverse;
}

.rtl .search-input-wrap {
    flex-direction: row-reverse;
}

.rtl .search-input-wrap svg {
    right: auto;
    left: 10px;
}

.rtl .search-input-wrap input {
    padding-left: 10px;
    padding-right: 32px;
    text-align: right;
}

/* ── Center cards ───────────────────────────────── */
.rtl .cc-body {
    text-align: right;
}

.rtl .cc-tags {
    justify-content: flex-end;
}

.rtl .cc-foot {
    flex-direction: row-reverse;
}

/* ── Three-column block ─────────────────────────── */
.rtl .tc-title,
.rtl .tc-eyebrow {
    text-align: right;
}

.rtl .ml-item {
    flex-direction: row-reverse;
}

.rtl .compare-cols {
    flex-direction: row-reverse;
}

.rtl .cmp-row {
    flex-direction: row-reverse;
}

/* ── Guides grid ────────────────────────────────── */
.rtl .gc-body {
    text-align: right;
}

/* ── Trust section ──────────────────────────────── */
.rtl .trust-inner {
    flex-direction: row-reverse;
}

.rtl .trust-pillars {
    direction: rtl;
}

.rtl .tp {
    text-align: right;
}

.rtl .tp-icon {
    margin-right: 0;
    margin-left: 12px;
}

/* ── Social proof ───────────────────────────────── */
.rtl .social-inner {
    flex-direction: row-reverse;
}

.rtl .soc-quote,
.rtl .soc-label,
.rtl .soc-attrib {
    text-align: right;
}

.rtl .trust-logos {
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.rtl .tl-badge-item {
    flex-direction: row-reverse;
    text-align: right;
}

.rtl .soc-stats {
    direction: rtl;
}

.rtl .ss {
    text-align: center;
}

/* ── CTA band ───────────────────────────────────── */
.rtl .cta-content {
    text-align: right;
}

.rtl .cta-title,
.rtl .cta-sub,
.rtl .cta-eyebrow {
    text-align: right;
}

/* ── Footer ─────────────────────────────────────── */
.rtl .ft-top {
    flex-direction: row-reverse;
}

.rtl .ft-col {
    text-align: right;
}

.rtl .ft-bottom {
    flex-direction: row-reverse;
}

.rtl .ft-legal {
    flex-direction: row-reverse;
}

.rtl .ft-soc {
    flex-direction: row-reverse;
}

.rtl .ft-tag,
.rtl .ft-copy {
    text-align: right;
}

/* ── Directory hero ─────────────────────────────── */
.rtl .dir-hero-inner {
    text-align: right;
}

.rtl .dir-filters {
    flex-direction: row-reverse;
}

.rtl .dir-search {
    direction: rtl;
}

.rtl .dir-search-icon {
    right: auto;
    left: 12px;
}

.rtl .dir-search-input {
    padding-left: 12px;
    padding-right: 36px;
    text-align: right;
}

/* ── Single center ──────────────────────────────── */
.rtl .rc-breadcrumb {
    direction: rtl;
}

.rtl .rc-breadcrumb .sep {
    transform: scaleX(-1);
}

.rtl .cs-title-block,
.rtl .cs-overview,
.rtl .cs-content {
    text-align: right;
}

.rtl .cs-loc {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rtl .cs-tags {
    justify-content: flex-end;
}

.rtl .cs-wrap {
    flex-direction: row-reverse;
}

.rtl .cs-transparency {
    flex-direction: row-reverse;
    text-align: right;
}

.rtl .cs-trans-badges {
    justify-content: flex-end;
}

.rtl .cs-cta-card,
.rtl .cs-facts-card {
    text-align: right;
}

.rtl .cs-fact {
    flex-direction: row-reverse;
}

.rtl .cs-guides-strip {
    text-align: right;
}

.rtl .cs-guides-list {
    padding-right: 0;
    padding-left: 20px;
}

.rtl .cs-contact-link {
    flex-direction: row-reverse;
}

/* ── Rec card ───────────────────────────────────── */
.rtl .rec-card {
    text-align: right;
}

.rtl .rec-hdr {
    flex-direction: row-reverse;
}

.rtl .rec-item {
    flex-direction: row-reverse;
}

.rtl .ri-info {
    text-align: right;
}

/* ── FC cards (hero side) ───────────────────────── */
.rtl .fc {
    text-align: right;
}

/* ── General inputs / forms ─────────────────────── */
.rtl input[type="text"],
.rtl input[type="search"],
.rtl textarea {
    text-align: right;
}

/* ── Mobile nav ─────────────────────────────────── */
.rtl .rc-mobile-nav {
    direction: rtl;
    text-align: right;
}
