/* wsrtlfix1: long translations must grow their own boxes. TR/EN never match. */
html:is(:lang(ru), :lang(de), :lang(ar)) body :is(.wtd-button, .wpk-btn, .home2-btn, .home2-nav-actions .btn, .home2-campaign-btn, [data-webioo-form] button[type="submit"], .wtd-xray-v2__submit) {
  min-width: 0;
  max-inline-size: 100%;
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.35;
  padding-block: 12px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body :is([data-webioo-form] input, [data-webioo-form] select, [data-webioo-form] textarea, .wtd-xray-v2__form-row > *, .wtd-xray-v2__form-copy) {
  min-width: 0;
  max-inline-size: 100%;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body :is(.wpk-card, .wtd-lab-card) :is(h2, h3, p, li) {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body :is(.wtd-button, .home3-hero-call-form button) > :is(span, i, svg) {
  min-width: 0;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body :is(.wtd-button, .home3-hero-call-form button) > :is(i, svg) {
  flex-shrink: 0;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body .home3-hero-call-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
}
html:is(:lang(ru), :lang(de), :lang(ar)) body .home3-hero-call-form button {
  width: 100%;
  padding-inline: 12px;
  font-size: clamp(15px, 1.1vw, 18px);
}
html:is(:lang(ru), :lang(de), :lang(ar)) body .home3-hero-call-form input[type="tel"] {
  min-width: 0;
  padding-inline: 16px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-dev-page :is(.wtd-xray-v2__field label, .wtd-xray-v2__input, .wtd-xray-v2__submit) {
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.4;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-dev-page .wtd-xray-v2__input {
  flex-wrap: wrap;
}
/* Fixed stage heights and overlay coordinates assumed short Turkish copy. */
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__stage {
  grid-template-areas: "copy reviews" "actions proof";
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  grid-template-rows: auto auto;
  height: auto;
  gap: 24px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__visual {
  display: none;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page :is(.wtd-hero__copy, .wtd-hero__actions, .wtd-hero__reviews, .wtd-hero__review-author, .wtd-hero__customer-copy) {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__title {
  font-size: clamp(30px, 3.2vw, 60px) !important;
  line-height: 1.2;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  gap: 12px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__reviews {
  position: relative;
  inset: auto;
  grid-area: reviews;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  align-self: center;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__review:only-child {
  position: relative;
  inset: auto;
  width: min(100%, 300px);
  margin-inline: auto;
  transform: none;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__customer-proof {
  position: relative;
  inset: auto;
  grid-area: proof;
  width: min(100%, 292px);
  height: auto;
  margin: 0;
  justify-self: center;
  flex-wrap: wrap;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__customer-copy small {
  white-space: normal;
  line-height: 1.4;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__features li {
  justify-content: start;
  align-items: start;
  flex-direction: row;
  text-align: start;
  gap: 10px;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__features span {
  width: auto;
  justify-items: start;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__features :is(strong, small) {
  display: block;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.4;
}
html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__features strong {
  font-size: clamp(12px, .9vw, 14px);
}
html[dir="rtl"]:lang(ar) body.webioo-sections-body .wtd-hero__background {
  transform: scaleX(-1);
}
html[dir="rtl"]:lang(ar) body.web-design-production-page :is(.wtd-hero__copy, .wtd-hero__brands > p, .wtd-hero__review-author) {
  text-align: start;
}
html[dir="rtl"]:lang(ar) body.web-design-production-page .wtd-hero__brands {
  margin-left: 0;
  margin-inline-start: clamp(24px, 2vw, 36px);
}
html[dir="rtl"]:lang(ar) body.web-design-production-page .wtd-hero__customer-copy {
  margin-left: 0;
  margin-inline-start: auto;
}
html[dir="rtl"]:lang(ar) body.web-design-production-page .wtd-hero__customer-avatars {
  padding-left: 0;
  padding-inline-start: 8px;
}
html[dir="rtl"]:lang(ar) body.web-design-production-page .wtd-hero__customer-avatars > :is(img, span) {
  margin-left: 0;
  margin-inline-start: -8px;
}
/* Each separator belongs to the link's logical end, including the consent button. */
html[dir="rtl"]:lang(ar) body .home2-footer-legal {
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px 0;
}
html[dir="rtl"]:lang(ar) body .home2-footer-legal > :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding: 0;
  padding-inline: 16px;
  border-inline-end: 1px solid rgba(151, 177, 212, .4);
  text-align: start;
  overflow-wrap: anywhere;
}
html[dir="rtl"]:lang(ar) body .home2-footer-legal > :is(a, button)::before {
  content: none;
}
html[dir="rtl"]:lang(ar) body .home2-footer-legal > :last-child {
  border-inline-end: 0;
}
@media (max-width: 991.98px) {
  html:is(:lang(ru), :lang(de), :lang(ar)) body.web-design-production-page .wtd-hero__stage {
    grid-template-areas: "copy" "actions" "reviews" "proof";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
  }
  html[dir="rtl"]:lang(ar) body.web-design-production-page .wtd-hero__brands {
    margin-inline: 0;
  }
}
@media (max-width: 767.98px) {
  html:is(:lang(ru), :lang(de), :lang(ar)) body .home3-hero-call-form {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  html:is(:lang(ru), :lang(de), :lang(ar)) body .home3-hero-call-form button {
    padding-inline: 0;
  }
}
/* wscorppkg1: corporate (lift) and package pages point their forward arrows with the reading direction (the city template does the same with .wsb-arrow) */
html[dir="rtl"]:lang(ar) body :is(.l2, .wpk, .wpk-card) i:is(.bi-arrow-right, .bi-chevron-right) {
  display: inline-block;
  transform: scaleX(-1);
}
html[dir="rtl"]:lang(ar) body :is(.l2-link, .wpk-btn, .wpk-card__more):hover i.bi-arrow-right {
  transform: translateX(-3px) scaleX(-1);
}
/* wsdsmall1: pages without the home3 page shell (blog posts, project details, legacy legal pages) still position the menu button absolutely at right:24px (webioo.css .burger-icon). In the right-to-left header the logo sits on that side, so at phone/tablet width the button covered the logo. Mirror it to the left edge, where the home3 pages already put it (flex item, first in the row). */
@media (max-width: 991.98px) {
  html[dir="rtl"]:lang(ar) body.home2-page:not(.home3-page) .home2-header .burger-icon {
    right: auto;
    left: 12px;
  }
}
