*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
body:lang(ar) { line-height: var(--lh-body); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: var(--lh-heading); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; box-shadow: var(--shadow-sm); }
.site-footer :focus-visible { outline-color: #fff; box-shadow: var(--shadow-sm); }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; } /* the sprite symbols inherit it, so a rule on an icon can change it */
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }
/* Directional icons drawn for Arabic (pointing left = forward) turn around in English. */
[dir="ltr"] .icon--flip-ltr { transform: scaleX(-1); }

.visually-hidden {
  position: absolute !important; inset-inline-start: 0; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--text); color: #fff; padding: var(--sp-3) var(--sp-5); border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* rich text from the editor */
.rich-text { max-width: var(--measure); }
.rich-text > * + * { margin-top: 1em; }
.rich-text h2 { font-size: var(--fs-h3); color: var(--gold-strong); margin-top: 1.5em; }
.rich-text h3 { font-size: var(--fs-h4); margin-top: 1.25em; }
.rich-text ul, .rich-text ol { padding-inline-start: 1.5em; }
.rich-text li + li { margin-top: .35em; }
.rich-text a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.rich-text blockquote { margin: 0; padding-inline-start: 1.25em; border-inline-start: 4px solid var(--gold); color: var(--text-3); }
.rich-text img { border-radius: var(--r-md); }

/* ---------- motion ----------
   One easing and two durations (tokens.css). Links, buttons and fields ease their colours; menus, dialogs, drawers,
   opened sections and newly shown panels arrive with a short fade; nothing moves for visitors who ask for less motion. */
a, button, summary, input, select, textarea {
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.97); } }
dialog[open] { animation: fade-in var(--dur-2) var(--ease); }
dialog[open]::backdrop { animation: fade-in var(--dur-2) var(--ease); }
.is-revealed { animation: rise-in var(--dur-slow) var(--ease); } /* set by scripts on a panel they have just shown */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, ::backdrop {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
