/*
 * Restore the parent theme's RTL rules for Arabic pages.
 * WordPress resolves the RTL stylesheet through the child theme directory,
 * so importing the parent file here avoids the child-theme 404 and retains
 * the stock Twenty Nineteen RTL layout behavior.
 */
@import url("../twentynineteen/style-rtl.css");

html[dir="rtl"] body,
body.rtl {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .site-logo {
  margin-right: 0;
  margin-left: 46px;
}

html[dir="rtl"] .nav-bar {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .practice-mega-dropdown {
  right: 0;
  left: auto;
}

html[dir="rtl"] .menu-ul > li::after {
  transform-origin: right;
}

html[dir="rtl"] .menu-ul > li:nth-child(2)::before {
  right: -30px;
  left: auto;
}

html[dir="rtl"] .menu-ul .sub-menu {
  right: 0;
  left: auto;
}

html[dir="rtl"] .menu-ul > li:nth-child(2) > a::after,
html[dir="rtl"] .menu-ul > .menu-item-has-children > a::after {
  margin-right: 8px;
  margin-left: 0;
}

html[dir="rtl"] .main-btn {
  padding-right: 20px;
  padding-left: 8px;
}

html[dir="rtl"] .main-btn::after {
  transform: scaleX(-1);
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] .contact-form textarea,
html[dir="rtl"] .consultation-popup-form input,
html[dir="rtl"] .consultation-popup-form select,
html[dir="rtl"] .consultation-popup-form textarea {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .about-recognition-card,
html[dir="rtl"] .about-recognition-intro {
  text-align: center;
}
