/* DOMA web typography V5.2. Existing font assets are not replaced.
   This stylesheet changes font family only, not layout, sizes or RTL direction. */
@font-face {
    font-family: "Cairo";
    src: url("/assets/fonts/Cairo-Regular.ttf") format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Cairo";
    src: url("/assets/fonts/Cairo-Medium.ttf") format("truetype");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Cairo";
    src: url("/assets/fonts/Cairo-SemiBold.ttf") format("truetype");
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Cairo";
    src: url("/assets/fonts/Cairo-Bold.ttf") format("truetype");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-SemiBold.ttf") format("truetype");
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto-Bold.ttf") format("truetype");
    font-weight: 700; font-style: normal; font-display: swap;
}

:root, [lang] {
    --doma-web-font: "Roboto", "Cairo", "Segoe UI", Arial, sans-serif;
}
[lang|="ar"], [lang|="fa"], [lang|="ur"], [lang|="ps"], [lang|="ckb"] {
    --doma-web-font: "Cairo", "Roboto", Tahoma, Arial, sans-serif;
}
[lang|="he"] {
    --doma-web-font: "Segoe UI", Arial, "Roboto", sans-serif;
}
/* Override old per-page Tahoma/Segoe UI rules without changing sizes/weights.
   Icons in these pages are SVG/images and are unaffected by this text policy. */
html, body, body :where(div, section, article, main, header, footer, aside, nav,
    a, p, span, strong, b, em, i, small, label, legend, fieldset,
    h1, h2, h3, h4, h5, h6, form, button, input, select, option, optgroup,
    textarea, table, caption, thead, tbody, tr, th, td, ul, ol, li, dl, dt, dd,
    summary, details, bdi, output, time) {
    font-family: var(--doma-web-font) !important;
}
/* Keep explicitly technical text monospaced when a page asks for it. */
body :where(pre, code, kbd, samp), body [data-doma-monospace] {
    font-family: ui-monospace, Consolas, monospace !important;
}

/* Language choices keep flags and names aligned independently of page RTL. */
.dp-language-menu,.dp-language-grid,.dp-language-option,.sp-language-menu,.sp-language-option{direction:ltr!important;text-align:left!important}
.dp-language-option span,.sp-language-option span,.doma-language-name{ text-align:left!important; }
/* Presentation only: never transform stored values, inputs, device names or URLs. */
html[dir="ltr"] :is(label,button,.dp-label,.dp-nav a,.sp-nav a,.dp-section-head h2){text-transform:capitalize}
