/* Arabic uses the same EDUCAN composition, with readable type and logical direction. */
html[lang|="ar"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
html[lang|="ar"] :is(.elementor-widget-text-editor, .elementor-button, .elementor-icon-box-description,
  .elementor-icon-list-text, .ekit-testimonial--review, .elementskit-profile-info,
  .elementskit-commentor-content, .elementskit-author-name, .elementskit-author-des,
  .e-n-accordion-item-title-text, .mf-response-msg,
  .elementskit-navbar-nav, .mf-input-label, .mf-input, .metform-btn, .mf-error-message,
  .dgml-language-switcher, .educan-mobile-trigger, .educan-sheet-links, .educan-sheet-note) {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  letter-spacing: normal;
}
html[lang|="ar"] :is(.elementor-widget-text-editor, .elementor-icon-box-description, .mf-input-label) {
  line-height: 1.85 !important;
}
html[lang|="ar"] :is(.elementor-heading-title, .elementor-icon-box-title, .elementskit-section-title) {
  font-family: "Noto Naskh Arabic", Tahoma, Arial, serif !important;
  line-height: 1.45 !important;
  letter-spacing: normal !important;
}
html[lang|="ar"] .educan-homepage :is(.educan-footer-title, .educan-student-name, .educan-video-title, .educan-level-brand) .elementor-heading-title,
html[lang|="ar"] .educan-homepage .educan-sheet-title {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  line-height: 1.6;
  letter-spacing: normal;
}
html[lang|="ar"] .educan-homepage :is(.educan-stat-value, .educan-level-number) .elementor-heading-title {
  font-family: Inter, Arial, sans-serif !important;
}
html[lang|="ar"] .educan-homepage :is(.educan-results-copy .educan-intro, .educan-highlight-intro) {
  text-align: start;
}
html[lang|="ar"] .educan-homepage .educan-hero::before {
  background: linear-gradient(270deg, #071a2bf5 0%, #071a2bd9 48%, #071a2b99 100%);
}
html[lang|="ar"] .educan-homepage .educan-highlight-section::before {
  background: radial-gradient(ellipse at top left, #d4af3929, transparent 55%);
}
html[lang|="ar"] .educan-homepage .educan-mobile-sheet {
  box-shadow: 16px 0 48px #071a2b24;
}
html[lang|="ar"] .educan-homepage .educan-nav-links a::after {
  transform-origin: right;
}
html[lang|="ar"] .educan-homepage :is(.educan-level-cover .educan-caption, .educan-footer-title .elementor-heading-title) {
  letter-spacing: normal;
}
/* Contact identifiers retain their reading order inside an RTL document. */
html[lang|="ar"] :is(a[href^="mailto:"], a[href^="tel:"], input[type="email"], input[type="tel"], input[type="number"]) {
  direction: ltr;
  unicode-bidi: isolate;
}
html[lang|="ar"] .mf-input[type="email"], html[lang|="ar"] .mf-input[type="tel"], html[lang|="ar"] .mf-input[type="number"] {
  text-align: start;
}
html[lang|="ar"] .elementor-widget-text-editor {
  overflow-wrap: anywhere;
}
