/* HorsLanguage Arabic layout safety layer.
   Keep the theme layout LTR. Apply RTL only to readable text and to the
   custom review/contact block. Do not touch maps, sliders, animations, or
   theme visibility classes globally. */

body.hl-rtl,
body.hl-lang-ar {
  overflow-x: clip;
}

body.hl-rtl h1,
body.hl-rtl h2,
body.hl-rtl h3,
body.hl-rtl h4,
body.hl-rtl h5,
body.hl-rtl h6,
body.hl-rtl p,
body.hl-rtl li,
body.hl-rtl .elementor-heading-title,
body.hl-rtl .elementor-widget-text-editor,
body.hl-rtl .elementor-icon-list-text,
body.hl-rtl .elementor-button-text,
body.hl-rtl .pxl-item--title,
body.hl-rtl .pxl-item--description,
body.hl-rtl .pxl-heading,
body.hl-rtl .pxl-text-editor {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
  letter-spacing: 0 !important;
}

body.hl-rtl .elementor-button,
body.hl-rtl .elementor-button-link {
  direction: rtl;
  white-space: normal;
}

body.hl-rtl #ismar-rc-root {
  direction: ltr !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

body.hl-rtl #ismar-rc-root,
body.hl-rtl #ismar-rc-root .irc-reviews,
body.hl-rtl #ismar-rc-root .irc-inner,
body.hl-rtl #ismar-rc-root .irc-contact,
body.hl-rtl #ismar-rc-root .irc-contact-wrap,
body.hl-rtl #ismar-rc-root .irc-grid,
body.hl-rtl #ismar-rc-root .irc-card,
body.hl-rtl #ismar-rc-root .irc-rating-bar,
body.hl-rtl #ismar-rc-root .irc-form-wrap {
  opacity: 1 !important;
  visibility: visible !important;
}

body.hl-rtl #ismar-rc-root .irc-title,
body.hl-rtl #ismar-rc-root .irc-sub,
body.hl-rtl #ismar-rc-root .irc-card,
body.hl-rtl #ismar-rc-root .irc-form-wrap,
body.hl-rtl #ismar-rc-root .irc-rating-bar,
body.hl-rtl #ismar-rc-root input,
body.hl-rtl #ismar-rc-root textarea,
body.hl-rtl #ismar-rc-root select {
  direction: rtl;
  text-align: right;
}

body.hl-rtl #ismar-rc-root .irc-contact,
body.hl-rtl #ismar-rc-root .irc-contact-wrap,
body.hl-rtl #ismar-rc-root .irc-form-wrap {
  position: relative;
  isolation: isolate;
}

body.hl-rtl #ismar-rc-root .irc-contact::before,
body.hl-rtl #ismar-rc-root .irc-contact::after,
body.hl-rtl #ismar-rc-root .irc-contact-wrap::before,
body.hl-rtl #ismar-rc-root .irc-contact-wrap::after,
body.hl-rtl #ismar-rc-root .irc-form-wrap::before,
body.hl-rtl #ismar-rc-root .irc-form-wrap::after {
  opacity: .18 !important;
  filter: blur(18px) !important;
  pointer-events: none !important;
}

body.hl-rtl .hl-url-switcher,
body.hl-rtl .leaflet-container,
body.hl-rtl .leaflet-container *,
body.hl-rtl .mapboxgl-map,
body.hl-rtl .mapboxgl-map *,
body.hl-rtl .gm-style,
body.hl-rtl .gm-style * {
  direction: ltr !important;
  text-align: left !important;
}

@media (max-width: 767px) {
  body.hl-rtl header a,
  body.hl-rtl .site-header a,
  body.hl-rtl .main-header a {
    white-space: normal;
  }
}

