/* Chai AlJalsa — base element styles, RTL-first */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  direction: rtl;
}

body {
  margin: 0;
  background: var(--bg-page) !important;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  color: var(--text-strong);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--space-4); }

a { color: var(--text-brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; display: block; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-brand);
  display: block;
}

/* Sadu woven divider */
.sadu-rule {
  height: 6px;
  border: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--red-500) 0, var(--red-500) 10px,
    var(--ink-900) 10px, var(--ink-900) 14px,
    var(--sand-400) 14px, var(--sand-400) 24px,
    var(--ink-900) 24px, var(--ink-900) 28px
  );
  width: 100%;
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-shadow);
  border-radius: var(--radius-xs);
}

/* Container utility */
.caj-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.caj-container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
