html[lang="he"][dir="rtl"] {
  direction: rtl;
  font-family: Arial, sans-serif;
}

html[lang="he"] :is(body, button, input, select, textarea) {
  font-family: Arial, "Roboto Variable", sans-serif;
}

html[lang="he"] :is(.header-option-panel, .invista-language-options) {
  inset-inline-start: auto;
  inset-inline-end: 0;
  text-align: start;
}

html[lang="he"] :is(.header-option-phone, .invista-site-logo, .header-option-logo, .invista-language-picker summary > span, .invista-team-name, .broker-hero h1) {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="he"] :is(a[href^="tel:"], a[href^="mailto:"], input[type="tel"], input[type="email"], input[type="url"], input[type="date"], input[type="time"], input[name="code"]:not(:placeholder-shown)) {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="he"] :is(.invista-card-price, .detPage .price, .invista-property-contact-fallback > strong, .invista-card-agent span, .leaflet-marker-icon .price, [data-invista-widget="property-contact"] strong > a[href^="/agent/"]) {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="he"] :is(.detPage .info dl dd, .detPage .itemBrd dd) {
  text-align: end;
}

html[lang="he"] :is(.detPage .itemBrd dt, .invista-language-options a, .broker-filters, .form-control, .adDetails h4) {
  text-align: start;
}

html[lang="he"] .leaflet-container {
  direction: ltr;
}

html[lang="he"] .leaflet-popup-content {
  direction: rtl;
  text-align: start;
}

html[lang="he"] :is(.broker-hero, .invista-team-name, .adv .adDetails, .invista-property-contact-fallback) {
  overflow-wrap: anywhere;
}

html[lang="he"] .broker-intro h1 {
  text-align: start;
}

html[lang="he"] :is(.pull-right) {
  float: left !important;
}

html[lang="he"] :is(.pull-left) {
  float: right !important;
}

@media (min-width: 768px) {
  html[lang="he"] :is(.detPage, .advs, #invista-team, .mainCont) .row > [class*="col-"],
  html[lang="he"] .detPage :is(.leftCol, .rightCol) {
    float: right;
  }
}

@media (max-width: 767px) {
  html[lang="he"] .detPage :is(.invista-property-mobile-title, .invista-property-mobile-head) {
    text-align: start;
  }

  html[lang="he"] :is(.searchPanel, .invista-search-form, .invista-search-modes) {
    max-inline-size: 100%;
  }
}
