/* WPML Arabic typography. Retain the current Cairo font faces and Bricks sizing. */
html[lang|="ar"] body {
  --doit-arabic-font: "Cairo", Arial, sans-serif;
  font-family: var(--doit-arabic-font);
}

/* Some Bricks heading and component styles set their own font or use font shorthand. */
html[lang|="ar"] body :is(#brx-header, #brx-content, #brx-footer, #doit-privacy-choices)
  :is(h1, h2, h3, h4, h5, h6, p, a, span, strong, b, em, small, bdi, bdo, time, abbr, address,
    li, dt, dd, figcaption, blockquote, pre, code, summary, th, td, label, legend, button, input,
    select, option, textarea, .brxe-text, .brxe-text-basic, .brxe-heading, .message, [role="status"], [role="alert"]):not(
    .brxe-icon, .icon, .dashicons, [class*="dashicons-"], .fa, .fas, .far, .fab, [class^="fa-"],
    [class*=" fa-"], [class^="ti-"], [class*=" ti-"], [class^="ion-"], [class*=" ion-"],
    .material-icons, .material-symbols-outlined, [role="img"]) {
  font-family: var(--doit-arabic-font) !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

html[lang|="ar"] body :is(#brx-header, #brx-content, #brx-footer) :is(h1, h2) {
  line-height: 1.4;
}

html[lang|="ar"] body :is(#brx-header, #brx-content, #brx-footer) :is(h3, h4, h5, h6) {
  line-height: 1.45;
}

html[lang|="ar"] body :is(#brx-content, #doit-privacy-choices) :is(input, select, textarea, button) {
  line-height: 1.5;
}

html[lang|="ar"] body #brx-content ol > li::marker {
  font-family: var(--doit-arabic-font);
}
