/* AroundCA — письмо справа налево (иврит). Подключается только при <html dir="rtl"> (src/views.js).
   Сборка: node scripts/build-rtl-css.mjs (ручная часть — scripts/rtl-manual.css, ниже неё — зеркало style.css и legacy.css). */

/* Шрифты: в наших Manrope и Lora нет иврита — системные шрифты с ивритом (без внешних файлов, CSP: font-src 'self'). */
:lang(he) body, body:lang(he) { font-family: system-ui, "Segoe UI", "Noto Sans Hebrew", Arial, "Arial Hebrew", "Helvetica Neue", sans-serif; }
:lang(he) :is(h1, h2, h3, .city-tile b, .mice-tile.lead h3, .lp-quote, .dyk-t), :lang(he) .wp :is(h1, h2, h3, h4) {
  font-family: system-ui, "Segoe UI", "Noto Sans Hebrew", Arial, "Arial Hebrew", sans-serif; letter-spacing: 0; }
:lang(he) body .wp { --font-body: system-ui, "Segoe UI", "Noto Sans Hebrew", Arial, "Arial Hebrew", sans-serif; --font-display: var(--font-body); }
/* Курсива в иврите нет — браузер наклоняет буквы искусственно; выделяем жирным. */
:lang(he) :is(em, i, cite, .wp em, .wp i) { font-style: normal; font-weight: 600; }
[dir=rtl] body { letter-spacing: 0; }

/* Значки со смыслом «вперёд»: стрелка смотрит налево. */
[dir=rtl] .ic-arrow { transform: scaleX(-1); }

/* Телефоны, почта, коды, суммы, номера брони — слева направо внутри строки на иврите. */
[dir=rtl] :is(a[href^="tel:"], a[href^="mailto:"], code, kbd, .ltr, bdi[dir=ltr]) { direction: ltr; unicode-bidi: isolate; }
/* Поля ввода: направление — по первому символу (имя на иврите — справа, телефон и почта — слева). */
[dir=rtl] :is(input, textarea) { unicode-bidi: plaintext; text-align: start; }
[dir=rtl] :is(input[type=tel], input[type=email], input[type=url], input[type=number]) { direction: ltr; text-align: right; }
[dir=rtl] select { background-position: left 12px center; }

/* Списки в статьях: маркеры и отступы с правой стороны. */
[dir=rtl] .wp :is(ul, ol) { padding-right: 1.4em; padding-left: 0; }
[dir=rtl] blockquote { border-left: 0; }

/* ==== Ниже — зеркало style.css и legacy.css: собрано scripts/build-rtl-css.mjs, руками не править ==== */
/* public/style.css */
[dir=rtl] .tools{margin-right:auto;margin-left:0}
[dir=rtl] .tools .langs{margin-right:0;margin-left:0}
[dir=rtl] .cnt{margin-right:4px;margin-left:0}
[dir=rtl] .langs{margin-right:auto;margin-left:0}
[dir=rtl] .qn{margin-left:6px;margin-right:0}
[dir=rtl] .cmp th,[dir=rtl] .cmp td{text-align:right}
[dir=rtl] .suggest{right:0;left:auto}
[dir=rtl] .suggest .s-price{margin-right:auto;margin-left:0}
[dir=rtl] .buybar{right:0;left:0}
@media (max-width: 860px){[dir=rtl] .nav{padding:2px 6px 6px 32px}
[dir=rtl] .tabs{padding:2px 16px 4px 40px}
}[dir=rtl] .theme::after{left:-14px;right:auto}
[dir=rtl] .post-sources ol{padding-right:1.4em;padding-left:0}
@media (max-width: 640px){[dir=rtl] .wp table:not(:has(tr > :nth-child(3))) :is(th, td){text-align:right !important}
}[dir=rtl] .badges{right:12px;left:auto}
[dir=rtl] .hp{right:-10000px !important;left:auto !important}
[dir=rtl] .lang-list{left:0;right:auto}
[dir=rtl] .lang-bar button{margin-right:auto;margin-left:0}
[dir=rtl] .author-q{padding-right:12px;padding-left:0;border-right:3px solid var(--warm);border-left:none}
[dir=rtl] .xcol ul:not(.xlist){padding-right:20px;padding-left:0}
[dir=rtl] .cal-hol{padding-right:20px;padding-left:0}
[dir=rtl] .legal-note,[dir=rtl] .legal-box{border-right:4px solid var(--accent);border-left:none}
[dir=rtl] .legal-box{border-right:0;border-left:none}
[dir=rtl] .legal-table :is(th, td),[dir=rtl] .legal-req :is(th, td){text-align:right}
[dir=rtl] .ans{padding:6px 14px 6px 12px}
[dir=rtl] .faq summary::before,[dir=rtl] .prog > summary::before{margin-left:10px;margin-right:0;border-right:7px solid currentColor;border-left:none}
[dir=rtl] .hot-go{margin-right:auto;margin-left:0}
[dir=rtl] .foot-ask b{margin-left:8px;margin-right:0}
[dir=rtl] .mice-steps li::before{right:0;left:auto}
[dir=rtl] .mice-steps li:not(:last-child)::after{right:46px;left:-16px}
[dir=rtl] .mice-table :is(th, td){text-align:right}
[dir=rtl] .mice-extra{padding-right:20px;padding-left:0}
@media (max-width: 560px){[dir=rtl] .mice-steps li{padding:0 52px 0 0}
}[dir=rtl] .b2b-terms dd{margin:0 30px 0 0}
[dir=rtl] .cmp-bar{left:16px;right:auto}
[dir=rtl] .cmp-bar .cnt{margin-right:0;margin-left:0}
@media (max-width: 860px){[dir=rtl] .cmp-bar{left:12px;right:auto}
}[dir=rtl] .hub-card{padding:18px 20px 18px 48px}
[dir=rtl] .hub-card .hub-go{left:18px;right:auto}
[dir=rtl] .post-photos ul{padding-right:1.2em;padding-left:0}
[dir=rtl] .post-tour{border-right:3px solid var(--accent);border-left:none;border-radius:12px 0 0 12px}
[dir=rtl] .tm-help{border-right:4px solid var(--accent);border-left:1px solid var(--line)}
[dir=rtl] .tm-side{text-align:left}
@media (max-width: 640px){[dir=rtl] .tm-side{text-align:right}
}[dir=rtl] .hero-visual .opts.pics .opt span,[dir=rtl] .hub-find .opts.pics .opt span{text-align:right}
[dir=rtl] .gl-t::after{margin-right:3px;margin-left:0}
[dir=rtl] .gl-pop{right:0;left:auto;text-align:right}
[dir=rtl] .wp .gl button.gl-t::after{margin:0 3px 0 0}
[dir=rtl] .dyk .gl-t{text-align:right}
[dir=rtl] .cg-history ol{border-right:2px solid var(--accent);border-left:none}
[dir=rtl] .cg-history li{padding:0 16px 12px 0}
[dir=rtl] .cg-history li::before{right:-7px;left:auto}
[dir=rtl] .mega-panel{right:0;left:0}
[dir=rtl] .hdr-cta{margin-left:6px;margin-right:0}
@media (max-width: 760px){[dir=rtl] .tabbar{right:0;left:0}
[dir=rtl] .tabbar .cnt{right:55%;left:auto}
}@media (max-width: 760px){[dir=rtl] .mega-btn{padding:6px 8px 6px 6px}
}[dir=rtl] .days-cal b::before{right:12px;left:auto}
[dir=rtl] .days-cal b::after{left:12px;right:auto}
[dir=rtl] .lb-close{left:12px;right:auto}
[dir=rtl] .lb-prev{right:10px;left:auto}
[dir=rtl] .lb-next{left:10px;right:auto}
[dir=rtl] .gal-count{left:12px;right:auto}
[dir=rtl] .prog .day{padding:0 28px 22px 0}
[dir=rtl] .prog .day::before{right:7px;left:auto}
[dir=rtl] .prog .day-h::before{right:-28px;left:auto}
[dir=rtl] .trust-faces img{margin-right:-8px;margin-left:0}
[dir=rtl] .trust-faces img:first-child{margin-right:0;margin-left:0}
[dir=rtl] .gallery-credit ul{padding-right:18px;padding-left:0}
@media (max-width: 860px){[dir=rtl] .top-in > .tools{margin-right:auto;margin-left:0}
}[dir=rtl] .org-list li{padding-right:26px;padding-left:0}
[dir=rtl] .org-list li::before{right:0;left:auto}

/* public/legacy.css */
[dir=rtl] .wp .screen-reader-text:focus{right:5px;left:auto}
[dir=rtl] .wp :where([style^=border-right-color], .wp [style*=";border-right-color"], .wp [style*="; border-right-color"]){border-left-style:solid;border-right-style:initial}
[dir=rtl] .wp :where([style^=border-left-color], .wp [style*=";border-left-color"], .wp [style*="; border-left-color"]){border-right-style:solid;border-left-style:initial}
[dir=rtl] .wp :where([style^=border-right-width], .wp [style*=";border-right-width"], .wp [style*="; border-right-width"]){border-left-style:solid;border-right-style:initial}
[dir=rtl] .wp :where([style^=border-left-width], .wp [style*=";border-left-width"], .wp [style*="; border-left-width"]){border-right-style:solid;border-left-style:initial}
[dir=rtl] .wp .wp-block-image .aligncenter{margin-right:auto;margin-left:auto}
[dir=rtl] .wp .wp-block-buttons:not(.is-content-justification-space-between, .wp .is-content-justification-right, .wp .is-content-justification-left, .wp .is-content-justification-center) .wp-block-button.aligncenter{margin-right:auto;margin-left:auto}
[dir=rtl] .wp{padding-left:0px;padding-right:0px}
[dir=rtl] .wp :where(.wp-element-button, .wp .wp-block-button__link){padding-left:calc(1.333em + 2px);padding-right:calc(1.333em + 2px)}
[dir=rtl] .wp .aca-callout{border-right:3px solid var(--t);border-left:none;border-radius:10px 0 0 10px}
[dir=rtl] .wp .aca-city{text-align:right}
[dir=rtl] .wp .aca-price td:first-child{text-align:right}
[dir=rtl] .wp .aca-table--add td:first-child,[dir=rtl] .wp .aca-table--add th:first-child{text-align:right}
[dir=rtl] .wp .aca-incl__col ul{padding-right:20px;padding-left:0}
[dir=rtl] .wp .aca-faq__item summary{padding-left:48px;padding-right:0}
[dir=rtl] .wp .aca-faq__item summary::after{left:20px;right:auto}
[dir=rtl] .wp .aca-notes{padding-right:22px;padding-left:0}
[dir=rtl] .wp .aca-faq__item[open] .aca-faq__body{border-right:3px solid #0e8ba8;border-left:none}
[dir=rtl] [data-theme=dark] .wp .aca-faq__item[open] .aca-faq__body{border-right-color:#28a7c7;border-left-color:initial}
[dir=rtl] .wp .aca-dates-d{text-align:left}
[dir=rtl] .wp .wp-container-core-group-is-layout-4772b687 > :where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-right:auto !important;margin-left:auto !important}
[dir=rtl] .wp .wp-container-core-group-is-layout-62c66622 > :where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-right:auto !important;margin-left:auto !important}
[dir=rtl] .wp .wp-block-buttons:not(.is-content-justification-space-between, .wp .is-content-justification-right, .wp .is-content-justification-left, .wp .is-content-justification-center) .wp-block-button.aligncenter{margin-right:auto;margin-left:auto}
[dir=rtl] .wp .wp-block-cover .wp-block-cover__background,[dir=rtl] .wp .wp-block-cover.has-background-dim:not(.has-background-gradient):before{right:0;left:0}
[dir=rtl] .wp .wp-block-cover .wp-block-cover__image-background{right:0;left:0}
[dir=rtl] .wp .wp-block-image .aligncenter{margin-right:auto;margin-left:auto}
[dir=rtl] .wp :where(.wp-block-latest-comments){padding-right:0;padding-left:0}
[dir=rtl] .wp .wp-block-latest-posts.is-grid:not(.is-layout-grid) li{margin:0 0 1.25em 1.25em}
@media (min-width:600px){[dir=rtl] .wp .wp-block-latest-posts.columns-3:not(.is-layout-grid) li:nth-child(3n){margin-left:0;margin-right:0}
}[dir=rtl] .wp :where(.wp-block-latest-posts.wp-block-latest-posts__list){padding-right:0;padding-left:0}
[dir=rtl] .wp :where(.wp-block-search__input){margin-right:0;margin-left:0}
[dir=rtl] .wp :where(.wp-block-separator.is-style-dots):before{padding-right:2em;padding-left:0}
[dir=rtl] .wp :where(.wp-block-social-links.is-style-pill-shape .wp-social-link a){padding-right:.6666666667em;padding-left:.6666666667em}
[dir=rtl] .wp :where(.wp-block-tag-cloud.is-style-outline a){margin-left:0;margin-right:0}
[dir=rtl] .wp :where(.wp-block-tab-list button)[aria-selected=true]:before{right:0;left:auto}
[dir=rtl] .wp .wp-block-table table[style*=border-right-color] td:last-child,[dir=rtl] .wp .wp-block-table table[style*=border-right-color] th,[dir=rtl] .wp .wp-block-table table[style*=border-right-color] tr,[dir=rtl] .wp .wp-block-table table[style*=border-right-color]>*{border-left-color:inherit;border-right-color:initial}
[dir=rtl] .wp .wp-block-table table[style*=border-left-color] td:first-child,[dir=rtl] .wp .wp-block-table table[style*=border-left-color] th,[dir=rtl] .wp .wp-block-table table[style*=border-left-color] tr,[dir=rtl] .wp .wp-block-table table[style*=border-left-color]>*{border-right-color:inherit;border-left-color:initial}
[dir=rtl] .wp a[data-fn].fn:after{float:right}
[dir=rtl] .wp .screen-reader-text:focus{right:5px;left:auto}
[dir=rtl] .wp :where([style^=border-right-color], .wp [style*=";border-right-color"], .wp [style*="; border-right-color"]){border-left-style:solid;border-right-style:initial}
[dir=rtl] .wp :where([style^=border-left-color], .wp [style*=";border-left-color"], .wp [style*="; border-left-color"]){border-right-style:solid;border-left-style:initial}
[dir=rtl] .wp :where([style^=border-right-width], .wp [style*=";border-right-width"], .wp [style*="; border-right-width"]){border-left-style:solid;border-right-style:initial}
[dir=rtl] .wp :where([style^=border-left-width], .wp [style*=";border-left-width"], .wp [style*="; border-left-width"]){border-right-style:solid;border-left-style:initial}
[dir=rtl] .wp ul,[dir=rtl] .wp ol{margin:0 3em 1.5em 0}
[dir=rtl] .wp li > ul,[dir=rtl] .wp li > ol{margin-right:1.5em;margin-left:0}
[dir=rtl] .wp .screen-reader-text:focus{right:5px;left:auto}
[dir=rtl] .wp .aligncenter{margin-right:auto;margin-left:auto}
[dir=rtl] .wp ul,[dir=rtl] .wp ol{margin-right:1.25rem;margin-left:0;padding-right:1rem;padding-left:0}
[dir=rtl] .wp blockquote{margin-left:0;margin-right:0;border-right:3px solid var(--color-accent);border-left:1px solid var(--aroundca-dark-static-rgba-255-255-255-0-05)}
[dir=rtl] .wp th,[dir=rtl] .wp td{text-align:right}
[dir=rtl] .wp select{padding-left:2.75rem;padding-right:0}
@media screen and (max-width: 64em){[dir=rtl] .wp #page{padding-left:0.85rem;padding-right:0.85rem}
}@media screen and (max-width: 63.99em){[dir=rtl] .wp #site-navigation > ul ul{right:auto;left:auto}
}@media screen and (max-width: 47.99em){[dir=rtl] .wp #page{padding-left:0.75rem;padding-right:0.75rem}
}@media screen and (max-width: 35.99em){[dir=rtl] .wp #page{padding-left:0.6rem;padding-right:0.6rem}
}[dir=rtl] .wp .aroundca-privacy-modal__section ul{padding-right:1.2rem;padding-left:0}
[dir=rtl] .wp .aroundca-pay-page__hero::before{right:1.35rem;left:20%}
[dir=rtl] .wp .aroundca-pay-page__hero::after{left:-40px;right:auto}
[dir=rtl] .wp .aroundca-pay-card::before{right:1.35rem;left:1.35rem}
[dir=rtl] .wp .aroundca-pay-form__currency{right:0.75rem;left:auto}
[dir=rtl] .wp .aroundca-pay-form__amount input{padding-right:4.85rem;padding-left:0}
@media screen and (max-width: 37.49em){[dir=rtl] .wp .aroundca-pay-card::before{right:1rem;left:1rem}
}[dir=rtl] .wp .aroundca-tour-card__media-label{right:0.65rem;left:0.65rem}
[dir=rtl] .wp .aroundca-tour-category-summary__product-price{text-align:left}
@media screen and (max-width: 48em){[dir=rtl] .wp .aroundca-tour-category-summary__product-price{text-align:right}
}:root[dir=rtl]:not([data-theme=dark]) .wp blockquote{border-right-color:var(--color-accent);border-left-color:transparent}
