@import url("https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@500;600;700&display=swap");

/*
 * N1-P13-F9-R3 Global Kurdish Typography
 * Public website only. EN/AR are intentionally untouched.
 * The requested Noto Kufi Arabic family remains global for lang=ku,
 * while readable weight hierarchy prevents mixed-direction feedback breakage.
 */
html[lang="ku"] body {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Arial, sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.78;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

html[lang="ku"] body :where(
  h1, h2, h3, h4, h5, h6,
  p, a, button, input, select, option, textarea, summary, label,
  span, small, strong, b, em, i, li, dt, dd, blockquote,
  figcaption, legend, th, td
) {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang="ku"] body :where(button, input, select, option, textarea, summary) {
  font: inherit;
}

html[lang="ku"] body :where(
  h1, h2, h3, h4, h5, h6,
  button, .btn, .get-btn, summary,
  strong, b, .badge, [class*="badge"], [class*="title"]
) {
  font-weight: 700 !important;
}

html[lang="ku"] body :where(
  p, li, blockquote, input, textarea, select,
  .message, .n1-feedback-message
) {
  font-weight: 600 !important;
  line-height: 1.86;
}

html[lang="ku"] body :where(small, .muted, [class*="subtitle"], [class*="sub"]) {
  font-weight: 500 !important;
}

html[lang="ku"] body :where(h1, h2, h3, h4, h5, h6) {
  line-height: 1.5;
}

html[lang="ku"] body :where(
  [dir="auto"],
  .message,
  .n1-feedback-message,
  .name,
  .n1-feedback-customer-copy > b
) {
  unicode-bidi: plaintext !important;
  text-align: start !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
