/* Approved Persian typography; loaded after page styles, Persian pages only. */
html[lang^="fa"] body,
html[lang^="fa"] body :is(h1, h2, h3, h4, h5, h6, button, input, textarea, select) {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
html[lang^="fa"] body {
  font-size: 17px;
  line-height: 2;
}
html[lang^="fa"] body :is(h1, h2, h3, h4, h5, h6, p, a, button, label, input, textarea, select, li, dt, dd),
html[lang^="fa"] .mtb-eyebrow {
  letter-spacing: normal;
}
html[lang^="fa"] body main :is(h1, h2, h3, h4, h5, h6),
html[lang^="fa"] body .mtb-display {
  line-height: 1.6;
  font-weight: 700;
}
html[lang^="fa"] body main p:not(.mtb-eyebrow) {
  font-size: 17px;
  line-height: 2;
}
html[lang^="fa"] body main :is(.mtb-catalog-card, .mtb-about-milestone, .mtb-contact-card, .mtb-mfg-rdqc__cards) p:not(.mtb-eyebrow) {
  font-size: 15px;
}
html[lang^="fa"] body :is(.mtb-button, .mtb-primary-nav__list a, .mtb-language-switcher__item, label) {
  line-height: 1.8;
}
html[lang^="fa"] body :is(input, textarea, select) {
  font-size: 16px;
  line-height: 1.8;
}
html[lang^="fa"] .mtb-brand__name {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
@media (max-width: 767px) {
  html[lang^="fa"] body .mtb-hero--slide .mtb-display {
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.6;
  }
  html[lang^="fa"] .mtb-hero-slider .mtb-hero__content {
    width: 100%;
  }
  html[lang^="fa"] body .mtb-hero__actions .mtb-button {
    font-size: 14px;
  }
}

/* Let the tallest translated slide determine height, including at mobile widths. */
html[lang^="fa"] .mtb-hero-slider__track {
  position: relative;
  inset: auto;
  display: grid;
}
html[lang^="fa"] .mtb-hero--slide {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  min-width: 0;
}
html[lang^="fa"] .mtb-hero--slide .mtb-hero__content {
  padding-block: 64px 112px;
}
