/*
 * Dr. Carole Saadé: design tokens and styles for WordPress + Blocksy.
 * Built from wordpress/build/site.src.css: ":is(.cs-site,.editor-styles-wrapper)" stands for the page scope
 * (the site body and the block editor canvas). Roles: site-redesign/DESIGN.md.
 */

:root {
  --cs-bg: #fbf8f4;
  --cs-surface: #ffffff;
  --cs-sand: #f3ece3;
  --cs-mist: #e9eef5;
  --cs-peach: #f8e3d6;
  --cs-ink: #1e2330;
  --cs-ink-2: #4a5060;
  --cs-ink-3: #636978;
  --cs-line: #e3dbd0;
  --cs-primary: #2e4a7d;
  --cs-primary-hover: #233a63;
  --cs-on-primary: #ffffff;
  --cs-primary-soft: #dde5f2;
  --cs-accent: #d9774b;
  --cs-accent-ink: #a8502a;

  --cs-font-serif: "Newsreader Variable", "IBM Plex Sans Arabic", Georgia, "Times New Roman", serif;
  --cs-font-sans: "IBM Plex Sans Variable", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cs-font-arabic: "IBM Plex Sans Arabic", "IBM Plex Sans Variable", Tahoma, sans-serif;

  --cs-fs-h1: clamp(2.5rem, 5.2vw, 4.4rem);
  --cs-fs-h2: clamp(1.9rem, 3.2vw, 2.85rem);
  --cs-fs-h3: clamp(1.25rem, 1.6vw, 1.45rem);
  --cs-fs-lead: clamp(1.15rem, 1.5vw, 1.35rem);
  --cs-fs-body: 1.0625rem;
  --cs-fs-small: 0.9375rem;
  --cs-fs-meta: 0.8125rem;

  --cs-s-1: 4px;
  --cs-s-2: 8px;
  --cs-s-3: 12px;
  --cs-s-4: 16px;
  --cs-s-5: 24px;
  --cs-s-6: 32px;
  --cs-s-7: 48px;
  --cs-s-8: 64px;
  --cs-s-9: 96px;
  --cs-section: clamp(72px, 10vw, 128px);
  --cs-shell: 1200px;
  --cs-gutter: clamp(20px, 4vw, 40px);

  --cs-r-sm: 8px;
  --cs-r-md: 12px;
  --cs-r-lg: 20px;
  --cs-r-xl: 28px;
  --cs-shadow: 0 2px 6px rgba(30, 35, 48, 0.06), 0 18px 48px rgba(30, 35, 48, 0.14);
  --cs-ease: 150ms ease;

  --cs-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --cs-icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16 16.5 7.5M9 7h8v8'/%3E%3C/svg%3E");
  --cs-icon-youtube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='3.5'/%3E%3Cpath d='m10 9.2 4.8 2.8-4.8 2.8Z' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --cs-icon-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4.5'/%3E%3Ccircle cx='12' cy='12' r='3.8'/%3E%3Ccircle cx='17' cy='7' r='0.9' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --cs-icon-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.6V4.4a21 21 0 0 0-2.4-.1c-2.4 0-4 1.4-4 4.1v2.1H7.7v3h2.6V21'/%3E%3C/svg%3E");

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cs-bg: #14161c;
    --cs-surface: #1b1e26;
    --cs-sand: #1e2027;
    --cs-mist: #1a2130;
    --cs-peach: #2a201b;
    --cs-ink: #eeece8;
    --cs-ink-2: #bfc2ca;
    --cs-ink-3: #969ba6;
    --cs-line: #2d313b;
    --cs-primary: #9db4e8;
    --cs-primary-hover: #bacbf0;
    --cs-on-primary: #14161c;
    --cs-primary-soft: #263552;
    --cs-accent: #f0956a;
    --cs-accent-ink: #f2a07a;
    --cs-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 48px rgba(0, 0, 0, 0.45);
    color-scheme: dark;

    /* Blocksy's palette follows the design in dark mode too. */
    --theme-palette-color-1: #9db4e8;
    --theme-palette-color-2: #bacbf0;
    --theme-palette-color-3: #bfc2ca;
    --theme-palette-color-4: #eeece8;
    --theme-palette-color-5: #2d313b;
    --theme-palette-color-6: #1e2027;
    --theme-palette-color-7: #14161c;
    --theme-palette-color-8: #1b1e26;
  }
}

/* Base ------------------------------------------------------------------ */

html { scroll-padding-top: 96px; }

:is(.cs-site,.editor-styles-wrapper) {
  background-color: var(--cs-bg);
  color: var(--cs-ink);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --theme-font-family: var(--cs-font-sans);
  --theme-font-size: var(--cs-fs-body);
  --theme-font-weight: 400;
  --theme-line-height: 1.65;
  --theme-letter-spacing: 0;
  --theme-text-color: var(--cs-ink);
  --theme-headings-color: var(--cs-ink);
  --theme-heading-color: var(--cs-ink);
  --theme-link-initial-color: var(--cs-primary);
  --theme-link-hover-color: var(--cs-primary-hover);
  --theme-border-color: var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) :is(h1, h2, h3, h4) {
  --theme-font-family: var(--cs-font-serif);
  --theme-font-weight: 450;
  --theme-letter-spacing: -0.012em;
  font-family: var(--cs-font-serif);
  font-weight: 450;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
  color: var(--cs-ink);
  text-wrap: balance;
}

:is(.cs-site,.editor-styles-wrapper) h1 { --theme-font-size: var(--cs-fs-h1); --theme-line-height: 1.04; --theme-letter-spacing: -0.022em; font-size: var(--cs-fs-h1); line-height: 1.04; letter-spacing: -0.022em; }
:is(.cs-site,.editor-styles-wrapper) h2 { --theme-font-size: var(--cs-fs-h2); --theme-line-height: 1.1; font-size: var(--cs-fs-h2); line-height: 1.1; }
:is(.cs-site,.editor-styles-wrapper) h3 { --theme-font-size: var(--cs-fs-h3); --theme-line-height: 1.3; font-size: var(--cs-fs-h3); line-height: 1.3; }
:is(.cs-site,.editor-styles-wrapper) p { text-wrap: pretty; }

:is(.cs-site,.editor-styles-wrapper) :lang(ar) { font-family: var(--cs-font-arabic); --theme-font-family: var(--cs-font-arabic); letter-spacing: 0; }
:is(.cs-site,.editor-styles-wrapper) :is(h1, h2, h3, .cs-item-title):lang(ar) { font-weight: 500; line-height: 1.5; }

:is(.cs-site,.editor-styles-wrapper) :focus-visible { outline: 2px solid var(--cs-primary); outline-offset: 3px; border-radius: 4px; }
:is(.cs-site,.editor-styles-wrapper) ::selection { background: var(--cs-primary-soft); color: var(--cs-ink); }

/* Inside designed sections the theme's automatic spacing is off: spacing comes from this file. */
:is(.cs-site,.editor-styles-wrapper) :is(.cs-hero, .cs-section, .cs-page-head, .cs-archive, .cs-contact, .cs-footer) {
  --theme-content-spacing: 0px;
  --has-theme-content-spacing: 0;
}

:is(.cs-site,.editor-styles-wrapper) :is(.cs-hero, .cs-section, .cs-page-head, .cs-archive, .cs-contact) {
  margin-block: 0;
  max-width: none;
}

:is(.cs-site,.editor-styles-wrapper) .cs-shell {
  width: min(var(--cs-shell), 100% - 2 * var(--cs-gutter));
  max-width: none;
  margin-inline: auto;
}

:is(.cs-site,.editor-styles-wrapper) .cs-shell > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-shell > * + * { margin-block-start: var(--cs-s-5); }

/* Text styles ----------------------------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-eyebrow {
  --theme-font-family: var(--cs-font-sans);
  --theme-font-size: var(--cs-fs-small);
  --theme-font-weight: 550;
  --theme-line-height: 1.55;
  --theme-letter-spacing: 0.01em;
  margin: 0 0 var(--cs-s-4);
  color: var(--cs-accent-ink);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-lead {
  max-width: 60ch;
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-lead);
  line-height: 1.55;
}

:is(.cs-site,.editor-styles-wrapper) .cs-section-intro { max-width: 48ch; color: var(--cs-ink-2); font-size: var(--cs-fs-body); }
:is(.cs-site,.editor-styles-wrapper) .cs-muted { max-width: 60ch; color: var(--cs-ink-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-caption { color: var(--cs-ink-3); font-size: var(--cs-fs-meta); }

:is(.cs-site,.editor-styles-wrapper) .cs-meta {
  color: var(--cs-ink-3);
  font-size: var(--cs-fs-meta);
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

:is(.cs-site,.editor-styles-wrapper) .cs-meta-sep { margin-inline: 0.5em; opacity: 0.6; }

/* Links in text. Kept at low specificity so components below can restyle their own links. */
:is(.cs-site,.editor-styles-wrapper) :is(p, li, td, figcaption) a:where(:not(.wp-block-button__link, .ct-menu-link, .ct-button)) {
  color: var(--cs-primary);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--cs-ease), text-decoration-thickness var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) :is(p, li, td, figcaption) a:where(:not(.wp-block-button__link, .ct-menu-link, .ct-button)):hover { color: var(--cs-primary-hover); text-decoration-thickness: 2px; }

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-arrow-link a { display: inline-flex; align-items: center; gap: 8px; }

:is(.cs-site,.editor-styles-wrapper) :is(.is-style-cs-arrow-link a, .cs-button-arrow .wp-block-button__link)::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--cs-icon-arrow) center / contain no-repeat;
  mask: var(--cs-icon-arrow) center / contain no-repeat;
  transition: transform var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-button-arrow .wp-block-button__link::after { width: 18px; height: 18px; }
:is(.cs-site,.editor-styles-wrapper) :is(.is-style-cs-arrow-link a, .cs-button-arrow .wp-block-button__link):hover::after { transform: translateX(3px); }

/* Placeholders still to confirm (yellow highlight). */
:is(.cs-site,.editor-styles-wrapper) mark.has-inline-color {
  padding: 0 0.3em;
  border-radius: 4px;
  outline: 1px dashed currentColor;
  outline-offset: -1px;
  font-style: normal;
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-quote {
  font-family: var(--cs-font-serif);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--cs-ink);
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-quote::before { content: "“"; color: var(--cs-accent); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-quote::after { content: "”"; color: var(--cs-accent); }

/* Lists and tables ------------------------------------------------------ */

:is(.cs-site,.editor-styles-wrapper) ul.is-style-cs-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--cs-s-3);
}

:is(.cs-site,.editor-styles-wrapper) ul.is-style-cs-checks > li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: var(--cs-ink-2);
}

:is(.cs-site,.editor-styles-wrapper) ul.is-style-cs-checks > li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--cs-primary);
  border-left: 2px solid var(--cs-primary);
  transform: rotate(-45deg);
}

:is(.cs-site,.editor-styles-wrapper) figure.wp-block-table.is-style-cs-details { margin: 0; overflow: visible; }

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-details table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  border-top: 1px solid var(--cs-line);
  table-layout: auto;
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-details :is(td, th) {
  padding: var(--cs-s-4) 0;
  border: 0;
  border-bottom: 1px solid var(--cs-line);
  vertical-align: top;
  text-align: left;
  color: var(--cs-ink);
  font-size: var(--cs-fs-body);
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-details :is(td, th):first-child {
  width: 140px;
  padding-right: var(--cs-s-4);
  color: var(--cs-ink-3);
  font-size: var(--cs-fs-small);
  font-weight: 550;
}

/* Buttons --------------------------------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--cs-s-3); }
:is(.cs-site,.editor-styles-wrapper) .wp-block-buttons > .wp-block-button { margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .wp-block-button__link {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cs-primary);
  border: 1px solid transparent;
  border-radius: var(--cs-r-md);
  color: var(--cs-on-primary);
  font-family: var(--cs-font-sans);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background var(--cs-ease), border-color var(--cs-ease), color var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .wp-block-button__link:hover { background: var(--cs-primary-hover); color: var(--cs-on-primary); }

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-secondary .wp-block-button__link { background: var(--cs-surface); border-color: var(--cs-line); color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-secondary .wp-block-button__link:hover { background: var(--cs-surface); border-color: var(--cs-ink); color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-light .wp-block-button__link { background: var(--cs-bg); color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-light .wp-block-button__link:hover { background: var(--cs-surface); color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .cs-button-small .wp-block-button__link { min-height: 46px; padding: 0 20px; font-size: var(--cs-fs-small); }

/* Buttons used by the libraries. */
:is(.cs-site,.editor-styles-wrapper) .cs-btn {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--cs-r-md);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--cs-ease), border-color var(--cs-ease), color var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-btn-primary { background: var(--cs-primary); color: var(--cs-on-primary); }
:is(.cs-site,.editor-styles-wrapper) .cs-btn-primary:hover { background: var(--cs-primary-hover); }
:is(.cs-site,.editor-styles-wrapper) .cs-btn-secondary { background: var(--cs-surface); border-color: var(--cs-line); color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .cs-btn-secondary:hover { border-color: var(--cs-ink); }

:is(.cs-site,.editor-styles-wrapper) .cs-icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--cs-r-sm);
  color: inherit;
  cursor: pointer;
}

:is(.cs-site,.editor-styles-wrapper) .cs-icon-button:hover { background: var(--cs-sand); }

/* Sections and bands ---------------------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) .cs-section { padding-block: var(--cs-section); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-band-mist { background: var(--cs-mist); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-band-sand { background: var(--cs-sand); }

:is(.cs-site,.editor-styles-wrapper) .cs-section-head {
  margin-bottom: var(--cs-s-8);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--cs-s-5) var(--cs-s-8);
  align-items: end;
}

:is(.cs-site,.editor-styles-wrapper) .cs-section-head > *, :is(.cs-site,.editor-styles-wrapper) .cs-section-title > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-section-title .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-section-head h2 { max-width: 18ch; }
:is(.cs-site,.editor-styles-wrapper) .cs-section-more { margin-top: var(--cs-s-7); }
:is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-section-head + * { margin-block-start: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-split,
:is(.cs-site,.editor-styles-wrapper) .cs-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

:is(.cs-site,.editor-styles-wrapper) .cs-two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
:is(.cs-site,.editor-styles-wrapper) :is(.cs-split, .cs-two-col) > * { margin-block: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-split-head,
:is(.cs-site,.editor-styles-wrapper) .cs-stack {
  display: grid;
  gap: var(--cs-s-4);
  align-content: start;
  justify-items: start;
}

:is(.cs-site,.editor-styles-wrapper) :is(.cs-split-head, .cs-stack) > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-stack > h2 { margin-bottom: var(--cs-s-2); }

/* Grids and cards ------------------------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) :is(.cs-grid-2, .cs-grid-3, .cs-grid-4) { display: grid; gap: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) :is(.cs-grid-2, .cs-grid-3, .cs-grid-4) > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.cs-site,.editor-styles-wrapper) .cs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:is(.cs-site,.editor-styles-wrapper) .cs-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

:is(.cs-site,.editor-styles-wrapper) :is(.is-style-cs-card, .is-style-cs-card-peach, .is-style-cs-card-mist, .is-style-cs-card-sand) {
  padding: var(--cs-s-6);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-lg);
}

:is(.cs-site,.editor-styles-wrapper) .is-style-cs-card { background: var(--cs-surface); }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-card-peach { background: var(--cs-peach); border-color: transparent; }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-card-mist { background: var(--cs-mist); border-color: transparent; }
:is(.cs-site,.editor-styles-wrapper) .is-style-cs-card-sand { background: var(--cs-sand); border-color: transparent; }
:is(.cs-site,.editor-styles-wrapper) :is(.is-style-cs-card, .is-style-cs-card-peach, .is-style-cs-card-mist, .is-style-cs-card-sand) > * { margin-block: 0; }

/* Home: hero */

:is(.cs-site,.editor-styles-wrapper) .cs-hero { padding-block: clamp(40px, 6vw, 88px) 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

:is(.cs-site,.editor-styles-wrapper) .cs-hero-grid > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy > .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy h1 { max-width: 13ch; }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy > .is-style-cs-lead { margin-top: var(--cs-s-5); }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy > .wp-block-buttons { margin-top: var(--cs-s-6); }

:is(.cs-site,.editor-styles-wrapper) .cs-hero-copy > .cs-trust-list { margin-top: var(--cs-s-6); gap: var(--cs-s-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-trust-list > li { padding-left: 26px; font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-trust-list > li::before { top: 0.55em; left: 2px; }

:is(.cs-site,.editor-styles-wrapper) figure.cs-hero-portrait,
:is(.cs-site,.editor-styles-wrapper) figure.cs-portrait { position: relative; margin: 0; }

:is(.cs-site,.editor-styles-wrapper) :is(.cs-hero-portrait, .cs-portrait) img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: var(--cs-r-xl);
  background: var(--cs-sand);
}

:is(.cs-site,.editor-styles-wrapper) .cs-hero-portrait figcaption {
  margin: var(--cs-s-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--cs-s-2) var(--cs-s-4);
  color: var(--cs-ink-3);
  font-size: var(--cs-fs-meta);
  text-align: left;
}

:is(.cs-site,.editor-styles-wrapper) .cs-hero-portrait figcaption em { font-style: normal; }
:is(.cs-site,.editor-styles-wrapper) .cs-hero-portrait figcaption [lang="ar"] { color: var(--cs-ink-2); font-size: 0.95rem; font-weight: 500; }

:is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-seen-on {
  margin-top: clamp(40px, 6vw, 72px);
  padding-block: var(--cs-s-5);
  border-block: 1px solid var(--cs-line);
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-small);
  text-align: center;
}

:is(.cs-site,.editor-styles-wrapper) .cs-seen-on strong { color: var(--cs-ink); font-weight: 550; }

/* Concern cards */

:is(.cs-site,.editor-styles-wrapper) .cs-concern-card { min-height: 300px; display: flex; flex-direction: column; }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-card > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-area { color: var(--cs-ink-3); font-size: var(--cs-fs-meta); font-weight: 550; }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-card > .is-style-cs-quote { margin-top: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-help { margin-top: var(--cs-s-4); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-card > .cs-concern-link { margin-top: auto; padding-top: var(--cs-s-5); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-concern-link a:not(:hover) { text-decoration: none; }

/* Steps */

:is(.cs-site,.editor-styles-wrapper) .cs-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cs-s-4);
  counter-reset: cs-step;
}

:is(.cs-site,.editor-styles-wrapper) .cs-step {
  padding: var(--cs-s-6);
  background: var(--cs-surface);
  border-radius: var(--cs-r-lg);
  counter-increment: cs-step;
}

:is(.cs-site,.editor-styles-wrapper) .cs-steps > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-step > * { margin-block: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-step::before {
  content: counter(cs-step);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--cs-primary-soft);
  border-radius: 50%;
  color: var(--cs-primary);
  font-family: var(--cs-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
}

:is(.cs-site,.editor-styles-wrapper) .cs-step > h3 { margin-top: var(--cs-s-5); }
:is(.cs-site,.editor-styles-wrapper) .cs-step > p { margin-top: var(--cs-s-3); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }

/* About teaser */

:is(.cs-site,.editor-styles-wrapper) .cs-about-teaser-video > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-about-teaser-video > .cs-caption { margin-top: var(--cs-s-3); }

/* Videos: thumbnails and cards */

:is(.cs-site,.editor-styles-wrapper) .cs-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cs-sand);
  border-radius: var(--cs-r-lg);
  text-decoration: none;
}

:is(.cs-site,.editor-styles-wrapper) .cs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

:is(.cs-site,.editor-styles-wrapper) .cs-thumb:hover img { transform: scale(1.03); }

:is(.cs-site,.editor-styles-wrapper) .cs-thumb-placeholder {
  position: absolute;
  inset: 0;
  padding: var(--cs-s-4);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cs-mist), var(--cs-peach));
  color: var(--cs-ink-2);
  font-family: var(--cs-font-serif);
  font-size: 1.15rem;
  text-align: center;
}

:is(.cs-site,.editor-styles-wrapper) .cs-thumb-play {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  padding-left: 2px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #1e2330;
  transition: transform var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-thumb:hover .cs-thumb-play { transform: scale(1.08); }

:is(.cs-site,.editor-styles-wrapper) .cs-thumb-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  background: rgba(20, 22, 28, 0.82);
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

:is(.cs-site,.editor-styles-wrapper) .cs-video-card { display: grid; gap: var(--cs-s-3); align-content: start; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-card > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-card .cs-meta { margin-top: var(--cs-s-1); }

:is(.cs-site,.editor-styles-wrapper) .cs-item-title { margin: 0; font-size: var(--cs-fs-h3); --theme-font-size: var(--cs-fs-h3); line-height: 1.3; }
:is(.cs-site,.editor-styles-wrapper) .cs-item-title a { color: inherit; text-decoration: none; font-weight: inherit; transition: color var(--cs-ease); }
:is(.cs-site,.editor-styles-wrapper) .cs-item-title a:hover { color: var(--cs-primary); }
:is(.cs-site,.editor-styles-wrapper) .cs-item-title:lang(ar) { font-size: calc(var(--cs-fs-h3) * 0.9); }

:is(.cs-site,.editor-styles-wrapper) .cs-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cs-s-6) var(--cs-s-5);
}

:is(.cs-site,.editor-styles-wrapper) .cs-topic-links {
  margin: 0 0 var(--cs-s-7);
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cs-s-2);
}

:is(.cs-site,.editor-styles-wrapper) .cs-topic-links li { margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-topic-links a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
  color: var(--cs-ink);
  font-size: var(--cs-fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--cs-ease), color var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-topic-links a span { color: var(--cs-ink-3); font-size: var(--cs-fs-meta); font-variant-numeric: tabular-nums; }
:is(.cs-site,.editor-styles-wrapper) .cs-topic-links a:hover { border-color: var(--cs-primary); color: var(--cs-primary); }

/* Press list */

:is(.cs-site,.editor-styles-wrapper) .cs-press-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--cs-line); }
:is(.cs-site,.editor-styles-wrapper) .cs-press-list li { margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-press-list a {
  padding-block: var(--cs-s-5);
  display: grid;
  gap: var(--cs-s-2);
  border-bottom: 1px solid var(--cs-line);
  color: var(--cs-ink);
  text-decoration: none;
}

:is(.cs-site,.editor-styles-wrapper) .cs-press-title {
  font-family: var(--cs-font-serif);
  font-size: 1.3rem;
  line-height: 1.35;
  transition: color var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-press-title:lang(ar) { font-family: var(--cs-font-arabic); font-size: 1.15rem; font-weight: 500; line-height: 1.6; }
:is(.cs-site,.editor-styles-wrapper) .cs-press-summary { color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-press-list a:hover .cs-press-title { color: var(--cs-primary); }

/* Questions (Details blocks) */

:is(.cs-site,.editor-styles-wrapper) .cs-faq-list { display: grid; gap: var(--cs-s-3); justify-items: start; }
:is(.cs-site,.editor-styles-wrapper) .cs-faq-list > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-faq-list > p { margin-top: var(--cs-s-3); }

:is(.cs-site,.editor-styles-wrapper) .wp-block-details {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--cs-surface);
  border-radius: var(--cs-r-md);
}

:is(.cs-site,.editor-styles-wrapper) .cs-faq-bordered .wp-block-details { border: 1px solid var(--cs-line); }

:is(.cs-site,.editor-styles-wrapper) .wp-block-details > summary {
  min-height: 64px;
  padding: var(--cs-s-4) var(--cs-s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cs-s-4);
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}

:is(.cs-site,.editor-styles-wrapper) .wp-block-details > summary::-webkit-details-marker { display: none; }

:is(.cs-site,.editor-styles-wrapper) .wp-block-details > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--cs-primary), var(--cs-primary)) center / 14px 2px no-repeat,
    linear-gradient(var(--cs-primary), var(--cs-primary)) center / 2px 14px no-repeat;
}

:is(.cs-site,.editor-styles-wrapper) .wp-block-details[open] > summary::after {
  background: linear-gradient(var(--cs-primary), var(--cs-primary)) center / 14px 2px no-repeat;
}

:is(.cs-site,.editor-styles-wrapper) .wp-block-details > :not(summary) {
  max-width: 64ch;
  margin: 0;
  padding: 0 var(--cs-s-5) var(--cs-s-5);
  color: var(--cs-ink-2);
}

/* Contact panel (blue "Have a question?" box) */

:is(.cs-site,.editor-styles-wrapper) .cs-cta-panel {
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--cs-s-6) var(--cs-s-8);
  align-items: center;
  background: var(--cs-primary);
  border-radius: var(--cs-r-xl);
  color: var(--cs-on-primary);
}

:is(.cs-site,.editor-styles-wrapper) .cs-cta-panel > *, :is(.cs-site,.editor-styles-wrapper) .cs-cta-copy > *, :is(.cs-site,.editor-styles-wrapper) .cs-cta-actions > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-panel h2 { color: inherit; --theme-heading-color: currentColor; }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-copy > p { margin-top: var(--cs-s-4); max-width: 48ch; opacity: 0.88; }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-actions { display: grid; gap: var(--cs-s-4); justify-items: start; }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-actions .wp-block-button__link { min-width: 240px; }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-crisis { font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-cta-panel :is(p, li) a:not(.wp-block-button__link),
:is(.cs-site,.editor-styles-wrapper) .cs-cta-panel :is(p, li) a:not(.wp-block-button__link):hover { color: inherit; font-weight: 600; }

/* Inner pages ----------------------------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) .cs-page-head { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
:is(.cs-site,.editor-styles-wrapper) .cs-page-head h1 { max-width: 16ch; }
:is(.cs-site,.editor-styles-wrapper) .cs-page-head .cs-shell > .is-style-cs-eyebrow + h1,
:is(.cs-site,.editor-styles-wrapper) .cs-page-head-copy > .is-style-cs-eyebrow + h1 { margin-top: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-page-head .cs-shell > .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-page-head .is-style-cs-lead { margin-top: var(--cs-s-5); }

:is(.cs-site,.editor-styles-wrapper) .cs-page-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

:is(.cs-site,.editor-styles-wrapper) .cs-page-head-split > *, :is(.cs-site,.editor-styles-wrapper) .cs-page-head-copy > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-page-head-copy > .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }

:is(.cs-site,.editor-styles-wrapper) .cs-note-panel { display: grid; gap: var(--cs-s-3); border-radius: var(--cs-r-lg); }
:is(.cs-site,.editor-styles-wrapper) .cs-note-panel h3 { font-size: var(--cs-fs-h3); }

/* Therapy page */

:is(.cs-site,.editor-styles-wrapper) .cs-audience { padding: var(--cs-s-5); }
:is(.cs-site,.editor-styles-wrapper) .cs-audience > p { margin-top: var(--cs-s-2); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }

:is(.cs-site,.editor-styles-wrapper) .cs-area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--cs-s-8);
  border-top: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-area-list > * { margin-block: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-area {
  padding-block: var(--cs-s-6);
  display: grid;
  gap: var(--cs-s-2);
  align-content: start;
  border-bottom: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-area > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-area > .is-style-cs-eyebrow { margin-bottom: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-area > .is-style-cs-quote { font-size: 1.3rem; line-height: 1.3; }
:is(.cs-site,.editor-styles-wrapper) .cs-area > p:not(.is-style-cs-quote):not(.is-style-cs-arrow-link) { color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-area > .is-style-cs-arrow-link { margin-top: var(--cs-s-2); font-size: var(--cs-fs-small); }

/* About page */

:is(.cs-site,.editor-styles-wrapper) .cs-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

:is(.cs-site,.editor-styles-wrapper) .cs-about-hero > *, :is(.cs-site,.editor-styles-wrapper) .cs-about-hero-copy > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-about-hero-copy > .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-about-hero h1 { max-width: 14ch; }

:is(.cs-site,.editor-styles-wrapper) .cs-prose { margin-top: var(--cs-s-6); display: grid; gap: var(--cs-s-4); max-width: 64ch; }
:is(.cs-site,.editor-styles-wrapper) .cs-prose > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-prose > p { color: var(--cs-ink-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-prose > p.is-style-cs-lead { color: var(--cs-ink); }
:is(.cs-site,.editor-styles-wrapper) .cs-about-hero-copy > .wp-block-buttons { margin-top: var(--cs-s-6); }

:is(.cs-site,.editor-styles-wrapper) .cs-fact, :is(.cs-site,.editor-styles-wrapper) .cs-stat { padding: var(--cs-s-5); border-color: transparent; }
:is(.cs-site,.editor-styles-wrapper) .cs-fact-term { color: var(--cs-ink); font-family: var(--cs-font-serif); font-size: 1.25rem; line-height: 1.3; }
:is(.cs-site,.editor-styles-wrapper) .cs-fact > p:not(.cs-fact-term) { margin-top: var(--cs-s-2); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }

:is(.cs-site,.editor-styles-wrapper) .cs-interest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cs-s-6) var(--cs-s-8); }
:is(.cs-site,.editor-styles-wrapper) .cs-interest-list > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-interest { padding-top: var(--cs-s-5); border-top: 1px solid var(--cs-line); }
:is(.cs-site,.editor-styles-wrapper) .cs-interest > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-interest > p { margin-top: var(--cs-s-2); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }

:is(.cs-site,.editor-styles-wrapper) .cs-stat-number {
  font-family: var(--cs-font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 450;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

:is(.cs-site,.editor-styles-wrapper) .cs-stat > p:not(.cs-stat-number) { margin-top: var(--cs-s-2); color: var(--cs-ink-2); font-size: var(--cs-fs-small); }

:is(.cs-site,.editor-styles-wrapper) .cs-link-list { display: grid; border-top: 1px solid var(--cs-line); }
:is(.cs-site,.editor-styles-wrapper) .cs-link-list > * { margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-link-list p a:not(.wp-block-button__link) {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cs-s-4);
  border-bottom: 1px solid var(--cs-line);
  color: var(--cs-ink);
  font-weight: 500;
  text-decoration: none;
}

:is(.cs-site,.editor-styles-wrapper) .cs-link-list p a:not(.wp-block-button__link):hover { color: var(--cs-primary); }

:is(.cs-site,.editor-styles-wrapper) .cs-link-list p a::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--cs-icon-arrow) center / contain no-repeat;
  mask: var(--cs-icon-arrow) center / contain no-repeat;
}

:is(.cs-site,.editor-styles-wrapper) .cs-link-list p a[target="_blank"]::after {
  -webkit-mask-image: var(--cs-icon-external);
  mask-image: var(--cs-icon-external);
}

/* Contact page */

:is(.cs-site,.editor-styles-wrapper) .cs-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--cs-s-5);
  align-items: start;
}

:is(.cs-site,.editor-styles-wrapper) .cs-contact-grid > * { margin-block: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-contact-card {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: var(--cs-s-5);
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-xl);
}

:is(.cs-site,.editor-styles-wrapper) .cs-contact-card > *, :is(.cs-site,.editor-styles-wrapper) .cs-contact-methods > *, :is(.cs-site,.editor-styles-wrapper) .cs-contact-method > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-methods { display: grid; gap: var(--cs-s-3); }

:is(.cs-site,.editor-styles-wrapper) .cs-contact-method {
  padding: var(--cs-s-4) var(--cs-s-5);
  display: grid;
  gap: 2px;
  background: var(--cs-mist);
  border-radius: var(--cs-r-md);
}

:is(.cs-site,.editor-styles-wrapper) .cs-contact-label { color: var(--cs-ink-3); font-size: var(--cs-fs-meta); font-weight: 550; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-value { font-size: 1.125rem; font-weight: 550; }

:is(.cs-site,.editor-styles-wrapper) .cs-contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-aside { display: grid; gap: var(--cs-s-5); align-content: start; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-aside > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-note { display: grid; gap: var(--cs-s-2); padding: var(--cs-s-5); border-radius: var(--cs-r-lg); }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-note > p:not(.cs-contact-note-title) { color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-note-title { font-weight: 600; }

/* Contact form */

:is(.cs-site,.editor-styles-wrapper) .cs-contact-form { display: grid; gap: var(--cs-s-5); margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-form > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--cs-s-5); }
:is(.cs-site,.editor-styles-wrapper) .cs-field { display: grid; gap: var(--cs-s-2); margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-field label {
  margin: 0;
  color: var(--cs-ink);
  font-size: var(--cs-fs-small);
  font-weight: 550;
}

:is(.cs-site,.editor-styles-wrapper) .cs-field label span { color: var(--cs-ink-3); font-weight: 400; }

:is(.cs-site,.editor-styles-wrapper) .cs-field :is(input, select, textarea) {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-md);
  box-shadow: none;
  color: var(--cs-ink);
  font-family: var(--cs-font-sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  transition: border-color var(--cs-ease), box-shadow var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-field textarea { min-height: 180px; padding: 14px 16px; resize: vertical; }

:is(.cs-site,.editor-styles-wrapper) .cs-field select {
  padding-right: 40px;
  appearance: none;
  background:
    var(--cs-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23636978' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E")
    no-repeat right 16px center;
  cursor: pointer;
}

:is(.cs-site,.editor-styles-wrapper) .cs-field :is(input, select, textarea):hover { border-color: var(--cs-ink-3); }
:is(.cs-site,.editor-styles-wrapper) .cs-field :is(input, select, textarea):focus { outline: none; border-color: var(--cs-primary); box-shadow: 0 0 0 3px var(--cs-primary-soft); }
:is(.cs-site,.editor-styles-wrapper) .cs-field [aria-invalid="true"] { border-color: var(--cs-accent-ink); box-shadow: 0 0 0 3px var(--cs-peach); }

:is(.cs-site,.editor-styles-wrapper) .cs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

:is(.cs-site,.editor-styles-wrapper) .cs-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cs-s-3) var(--cs-s-5); }
:is(.cs-site,.editor-styles-wrapper) .cs-form-actions > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-contact-form button[disabled] { opacity: 0.6; cursor: progress; }
:is(.cs-site,.editor-styles-wrapper) .cs-form-live { color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-form-live:empty { display: none; }

:is(.cs-site,.editor-styles-wrapper) :is(.cs-form-live, .cs-form-status):is(.is-success, .is-error) {
  flex: 1 1 100%;
  padding: var(--cs-s-3) var(--cs-s-4);
  border-radius: var(--cs-r-sm);
  color: var(--cs-ink);
  font-weight: 550;
}

:is(.cs-site,.editor-styles-wrapper) :is(.cs-form-live, .cs-form-status).is-success { background: var(--cs-primary-soft); }
:is(.cs-site,.editor-styles-wrapper) :is(.cs-form-live, .cs-form-status).is-error { background: var(--cs-peach); }
:is(.cs-site,.editor-styles-wrapper) .cs-form-fineprint { color: var(--cs-ink-3); font-size: var(--cs-fs-meta); }
:is(.cs-site,.editor-styles-wrapper) .cs-form-fineprint a:where(:not(.wp-block-button__link)) { font-weight: 500; }

/* The form shows Google's required notice, so the floating badge can be hidden. */
.grecaptcha-badge { visibility: hidden; }

:is(.cs-site,.editor-styles-wrapper) .cs-crisis-panel { display: grid; gap: var(--cs-s-2); border-radius: var(--cs-r-lg); }
:is(.cs-site,.editor-styles-wrapper) .cs-crisis-title { font-size: 1.125rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-crisis-panel > p:not(.cs-crisis-title) { color: var(--cs-ink-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-crisis-panel a:not(.wp-block-button__link) { color: var(--cs-ink); font-weight: 650; }

/* Archives: videos and articles ----------------------------------------- */

:is(.cs-site,.editor-styles-wrapper) .cs-archive { padding-bottom: var(--cs-section); }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-head { padding-block: clamp(48px, 7vw, 88px) var(--cs-s-6); }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-head > * { margin-block: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-head > .is-style-cs-eyebrow { margin-bottom: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-head h1 { max-width: 18ch; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-head > .is-style-cs-lead { margin-top: var(--cs-s-4); }
:is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-archive-head + * { margin-block-start: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-library [hidden] { display: none !important; }

:is(.cs-site,.editor-styles-wrapper) .cs-archive-tools {
  padding: var(--cs-s-5);
  display: grid;
  gap: var(--cs-s-4);
  background: var(--cs-sand);
  border-radius: var(--cs-r-xl);
}

:is(.cs-site,.editor-styles-wrapper) .cs-archive-tools form { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field { position: relative; display: flex; align-items: center; }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field > svg { position: absolute; left: 18px; color: var(--cs-ink-3); pointer-events: none; }

:is(.cs-site,.editor-styles-wrapper) .cs-search-field input {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 16px 0 50px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-md);
  box-shadow: none;
  color: var(--cs-ink);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color var(--cs-ease), box-shadow var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-search-field:has(.cs-search-clear:not([hidden])) input { padding-right: 84px; }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field input::placeholder { color: var(--cs-ink-3); opacity: 1; }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field input:hover { border-color: var(--cs-ink-3); }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field input:focus { outline: none; border-color: var(--cs-primary); box-shadow: 0 0 0 3px var(--cs-primary-soft); }
:is(.cs-site,.editor-styles-wrapper) .cs-search-field input::-webkit-search-cancel-button { display: none; }

:is(.cs-site,.editor-styles-wrapper) .cs-search-clear {
  position: absolute;
  right: 8px;
  min-height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-radius: var(--cs-r-sm);
  color: var(--cs-primary);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  cursor: pointer;
}

:is(.cs-site,.editor-styles-wrapper) .cs-search-clear:hover { background: var(--cs-primary-soft); }

:is(.cs-site,.editor-styles-wrapper) .cs-chip-row { display: flex; flex-wrap: wrap; gap: var(--cs-s-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-chip-row::-webkit-scrollbar { display: none; }

:is(.cs-site,.editor-styles-wrapper) .cs-chip {
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: 999px;
  color: var(--cs-ink);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-small);
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--cs-ease), border-color var(--cs-ease), color var(--cs-ease);
}

:is(.cs-site,.editor-styles-wrapper) .cs-chip:hover { border-color: var(--cs-primary); color: var(--cs-primary); }
:is(.cs-site,.editor-styles-wrapper) .cs-chip[aria-pressed="true"] { background: var(--cs-primary); border-color: var(--cs-primary); color: var(--cs-on-primary); }

:is(.cs-site,.editor-styles-wrapper) .cs-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--cs-s-3);
}

:is(.cs-site,.editor-styles-wrapper) .cs-filter-row label { display: grid; gap: 6px; margin: 0; color: var(--cs-ink-2); font-size: var(--cs-fs-meta); font-weight: 550; }

:is(.cs-site,.editor-styles-wrapper) .cs-filter-row select,
:is(.cs-site,.editor-styles-wrapper) .cs-sort-select select {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 36px 0 12px;
  appearance: none;
  background:
    var(--cs-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23636978' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-sm);
  box-shadow: none;
  color: var(--cs-ink);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-small);
  font-weight: 400;
  cursor: pointer;
}

:is(.cs-site,.editor-styles-wrapper) .cs-filter-row select:hover,
:is(.cs-site,.editor-styles-wrapper) .cs-sort-select select:hover { border-color: var(--cs-ink-3); }

:is(.cs-site,.editor-styles-wrapper) .cs-filters-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cs-primary);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}

:is(.cs-site,.editor-styles-wrapper) .cs-filters-more > summary::-webkit-details-marker { display: none; }
:is(.cs-site,.editor-styles-wrapper) .cs-filters-more > summary::after { content: "+"; font-size: 1.1em; }
:is(.cs-site,.editor-styles-wrapper) .cs-filters-more[open] > summary::after { content: "−"; }
:is(.cs-site,.editor-styles-wrapper) .cs-filters-more .cs-filter-row { margin-top: var(--cs-s-3); }

:is(.cs-site,.editor-styles-wrapper) .cs-results-bar {
  margin-top: var(--cs-s-6);
  padding-bottom: var(--cs-s-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--cs-s-3) var(--cs-s-5);
  border-bottom: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-results-count { margin: 0; color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-results-count strong { color: var(--cs-ink); font-weight: 600; }
:is(.cs-site,.editor-styles-wrapper) .cs-sort-select { display: flex; align-items: center; gap: var(--cs-s-2); margin: 0; color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-sort-select select { width: auto; min-width: 150px; }

:is(.cs-site,.editor-styles-wrapper) .cs-active-filters { margin-top: var(--cs-s-4); display: flex; flex-wrap: wrap; gap: var(--cs-s-2); }

:is(.cs-site,.editor-styles-wrapper) .cs-active-filters button {
  min-height: 34px;
  margin: 0;
  padding: 0 10px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cs-primary-soft);
  border: 0;
  border-radius: 999px;
  color: var(--cs-primary);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-meta);
  font-weight: 550;
  cursor: pointer;
}

:is(.cs-site,.editor-styles-wrapper) .cs-active-filters .cs-clear-all { background: transparent; text-decoration: underline; text-underline-offset: 0.2em; }

:is(.cs-site,.editor-styles-wrapper) .cs-year-group { margin-top: var(--cs-s-7); }

:is(.cs-site,.editor-styles-wrapper) .cs-year-heading {
  position: sticky;
  top: var(--cs-header-offset, 77px);
  z-index: 5;
  margin: 0;
  padding-block: var(--cs-s-3);
  display: flex;
  align-items: baseline;
  gap: var(--cs-s-3);
  background: var(--cs-bg);
  border-bottom: 1px solid var(--cs-line);
  font-size: 1.75rem;
  --theme-font-size: 1.75rem;
  line-height: 1.2;
}

:is(.cs-site,.editor-styles-wrapper) .cs-year-heading span { color: var(--cs-ink-3); font-family: var(--cs-font-sans); font-size: var(--cs-fs-meta); font-weight: 500; letter-spacing: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-video-row {
  padding-block: var(--cs-s-5);
  display: grid;
  grid-template-columns: 96px 220px minmax(0, 1fr);
  gap: var(--cs-s-5);
  align-items: start;
  border-bottom: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-video-row > *, :is(.cs-site,.editor-styles-wrapper) .cs-video-row-body > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row-date { padding-top: 4px; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row .cs-thumb { border-radius: var(--cs-r-md); }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row .cs-thumb-play { width: 32px; height: 32px; bottom: 8px; left: 8px; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row .cs-thumb-duration { right: 8px; bottom: 8px; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row .cs-thumb-placeholder { font-size: 0.95rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-video-row-body { display: grid; gap: var(--cs-s-2); min-width: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-item-note {
  padding-left: var(--cs-s-3);
  border-left: 2px solid var(--cs-accent);
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-meta);
}

:is(.cs-site,.editor-styles-wrapper) .cs-video-row-foot {
  margin-top: var(--cs-s-2) !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--cs-s-3) var(--cs-s-5);
}

:is(.cs-site,.editor-styles-wrapper) .cs-tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }

:is(.cs-site,.editor-styles-wrapper) .cs-tags li {
  margin: 0;
  padding: 3px 10px;
  background: var(--cs-sand);
  border-radius: 999px;
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-meta);
}

:is(.cs-site,.editor-styles-wrapper) .cs-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cs-s-2) var(--cs-s-4); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-row-actions a { color: var(--cs-ink-2); font-weight: 500; text-decoration: none; }
:is(.cs-site,.editor-styles-wrapper) .cs-row-actions a:hover { color: var(--cs-primary); }
:is(.cs-site,.editor-styles-wrapper) .cs-row-actions .cs-row-action-primary { display: inline-flex; align-items: center; gap: 4px; color: var(--cs-primary); font-weight: 600; }

:is(.cs-site,.editor-styles-wrapper) .cs-publication-row {
  padding-block: var(--cs-s-5);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: var(--cs-s-6);
  align-items: start;
  border-bottom: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-publication-row > *, :is(.cs-site,.editor-styles-wrapper) .cs-publication-body > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-source { display: grid; gap: 4px; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-source strong { font-family: var(--cs-font-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.25; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-body { display: grid; gap: var(--cs-s-2); min-width: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-body .cs-item-title { font-size: 1.3rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-body .cs-item-title:lang(ar) { font-size: 1.15rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-summary { max-width: 70ch; color: var(--cs-ink-2); font-size: var(--cs-fs-small); }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-actions { display: grid; gap: var(--cs-s-2); justify-items: end; padding-top: 4px; font-size: var(--cs-fs-small); white-space: nowrap; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-actions a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-actions a:first-child { color: var(--cs-primary); font-weight: 600; }
:is(.cs-site,.editor-styles-wrapper) .cs-publication-actions a:not(:first-child) { color: var(--cs-ink-2); }

:is(.cs-site,.editor-styles-wrapper) .cs-context-note {
  max-width: 70ch;
  padding: var(--cs-s-3) var(--cs-s-4);
  background: var(--cs-peach);
  border-radius: var(--cs-r-sm);
  color: var(--cs-ink);
  font-size: var(--cs-fs-meta);
}

:is(.cs-site,.editor-styles-wrapper) .cs-context-note strong { font-weight: 650; }

:is(.cs-site,.editor-styles-wrapper) .cs-archive-empty {
  margin-top: var(--cs-s-6);
  padding: var(--cs-s-8) var(--cs-s-5);
  display: grid;
  gap: var(--cs-s-3);
  justify-items: center;
  text-align: center;
  background: var(--cs-sand);
  border-radius: var(--cs-r-xl);
}

:is(.cs-site,.editor-styles-wrapper) .cs-archive-empty > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-empty strong { font-family: var(--cs-font-serif); font-size: 1.6rem; font-weight: 450; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-empty p { color: var(--cs-ink-2); }

:is(.cs-site,.editor-styles-wrapper) .cs-archive-more { margin-top: var(--cs-s-7); display: grid; gap: var(--cs-s-3); justify-items: center; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-more p { margin: 0; color: var(--cs-ink-3); font-size: var(--cs-fs-meta); }

:is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-archive-note {
  margin-top: var(--cs-s-8);
  padding: var(--cs-s-5) var(--cs-s-6);
  display: grid;
  gap: var(--cs-s-2);
  background: var(--cs-mist);
  border-radius: var(--cs-r-lg);
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-small);
}

:is(.cs-site,.editor-styles-wrapper) .cs-archive-note > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-note strong { color: var(--cs-ink); }

:is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-archive-footer-cta {
  margin-top: var(--cs-s-8);
  padding: var(--cs-s-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--cs-s-4);
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-xl);
}

:is(.cs-site,.editor-styles-wrapper) .cs-archive-footer-cta > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-footer-cta > p { max-width: 52ch; color: var(--cs-ink-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-archive-footer-cta > p strong { display: block; color: var(--cs-ink); font-family: var(--cs-font-serif); font-size: 1.4rem; font-weight: 450; }

/* Video player */

.cs-video-dialog {
  width: min(1040px, 100% - 32px);
  max-width: none;
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: auto;
  background: var(--cs-surface);
  border: 0;
  border-radius: var(--cs-r-lg);
  box-shadow: var(--cs-shadow);
  color: var(--cs-ink);
  font-family: var(--cs-font-sans);
}

.cs-video-dialog::backdrop { background: rgba(14, 16, 22, 0.72); }
.cs-video-dialog-body { padding: var(--cs-s-3) var(--cs-s-4) var(--cs-s-4); display: grid; gap: var(--cs-s-3); }
.cs-video-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--cs-s-4); }
.cs-video-dialog-bar p { margin: 0; padding-inline: var(--cs-s-2); font-weight: 550; }
.cs-video-dialog-bar p:lang(ar) { font-family: var(--cs-font-arabic); }
.cs-video-dialog .cs-icon-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: var(--cs-r-sm); color: inherit; cursor: pointer; }
.cs-video-dialog .cs-icon-button:hover { background: var(--cs-sand); }
.cs-video-dialog-frame { aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: var(--cs-r-md); }
.cs-video-dialog-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.cs-video-dialog-source {
  justify-self: start;
  margin-inline: var(--cs-s-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cs-primary);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Footer (synced pattern "Site footer") -------------------------------- */

body.cs-site .ct-footer:has(.cs-footer) { padding: 0; background: var(--cs-sand); border: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer { padding-block: var(--cs-s-9) var(--cs-s-7); background: var(--cs-sand); color: var(--cs-ink-2); }
:is(.cs-site,.editor-styles-wrapper) .cs-footer .cs-shell > * + * { margin-block-start: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-motto {
  padding-bottom: var(--cs-s-7);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--cs-s-4) var(--cs-s-6);
  border-bottom: 1px solid var(--cs-line);
}

:is(.cs-site,.editor-styles-wrapper) .cs-footer-motto > p {
  margin: 0;
  color: var(--cs-ink);
  font-family: var(--cs-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

:is(.cs-site,.editor-styles-wrapper) .cs-footer-motto > .cs-footer-motto-ar,
:is(.cs-site,.editor-styles-wrapper) .cs-footer-motto > .cs-footer-motto-ar [lang="ar"] { font-family: var(--cs-font-arabic); font-weight: 500; color: var(--cs-ink-2); }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-grid {
  padding-top: var(--cs-s-7);
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr;
  gap: var(--cs-s-6);
}

:is(.cs-site,.editor-styles-wrapper) .cs-footer-grid > * { margin: 0; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-col {
  display: grid;
  gap: var(--cs-s-2);
  align-content: start;
  justify-items: start;
  color: var(--cs-ink-2);
  font-size: var(--cs-fs-small);
}

:is(.cs-site,.editor-styles-wrapper) .cs-footer-col > * { margin: 0; }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-col p a:not(.wp-block-button__link) { color: inherit; font-weight: 400; text-decoration: none; }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-col p a:not(.wp-block-button__link):hover { color: var(--cs-primary); }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-col .cs-text-link a:not(.wp-block-button__link) { color: var(--cs-primary); font-weight: 550; text-decoration: underline; }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-name { color: var(--cs-ink); font-family: var(--cs-font-serif); font-size: 1.3rem; }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-label { margin-bottom: var(--cs-s-1) !important; color: var(--cs-ink); font-weight: 600; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-social p a { display: inline-flex; align-items: center; gap: 8px; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-social p a::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--cs-icon-external) center / contain no-repeat;
  mask: var(--cs-icon-external) center / contain no-repeat;
}

:is(.cs-site,.editor-styles-wrapper) .cs-footer-social p a[href*="youtube.com"]::before { -webkit-mask-image: var(--cs-icon-youtube); mask-image: var(--cs-icon-youtube); }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-social p a[href*="instagram.com"]::before { -webkit-mask-image: var(--cs-icon-instagram); mask-image: var(--cs-icon-instagram); }
:is(.cs-site,.editor-styles-wrapper) .cs-footer-social p a[href*="facebook.com"]::before { -webkit-mask-image: var(--cs-icon-facebook); mask-image: var(--cs-icon-facebook); }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-crisis p a:not(.wp-block-button__link) { color: var(--cs-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

:is(.cs-site,.editor-styles-wrapper) .cs-footer-disclaimer {
  margin-top: var(--cs-s-7) !important;
  padding-top: var(--cs-s-5);
  border-top: 1px solid var(--cs-line);
  color: var(--cs-ink-3);
  font-size: var(--cs-fs-meta);
}

/* Header (Blocksy header builder) -------------------------------------- */

body.cs-site { --cs-header-offset: 77px; }

body.cs-site #header {
  position: sticky;
  top: 0;
  z-index: 40;
}

body.cs-site.admin-bar #header { top: 32px; }
body.cs-site.admin-bar { --cs-header-offset: 109px; }

body.cs-site #header [data-row*="middle"] {
  background: color-mix(in srgb, var(--cs-bg) 92%, transparent);
  border-bottom: 1px solid var(--cs-line);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

body.cs-site .ct-header .ct-container {
  width: min(var(--cs-shell), 100% - 2 * var(--cs-gutter));
  max-width: none;
}

body.cs-site .ct-header .site-branding { gap: 2px; }

body.cs-site #header [data-id="logo"] .site-title {
  --theme-font-family: var(--cs-font-serif);
  --theme-font-size: 1.375rem;
  --theme-font-weight: 500;
  --theme-line-height: 1.1;
  --theme-letter-spacing: -0.01em;
  --theme-link-initial-color: var(--cs-ink);
  --theme-link-hover-color: var(--cs-ink);
}

body.cs-site .ct-header .site-title a { color: var(--cs-ink); }

body.cs-site #header [data-id="logo"] .site-description {
  --theme-font-family: var(--cs-font-sans);
  --theme-font-size: var(--cs-fs-meta);
  --theme-font-weight: 500;
  --theme-line-height: 1.3;
  color: var(--cs-ink-3);
}

body.cs-site .ct-header [data-id="menu"] .ct-menu-link {
  --theme-font-family: var(--cs-font-sans);
  --theme-font-size: var(--cs-fs-small);
  --theme-font-weight: 500;
  --theme-line-height: 1.3;
  --theme-letter-spacing: 0;
  --theme-text-transform: none;
  height: auto;
  min-height: 0;
  padding: 8px 12px;
  border-radius: var(--cs-r-sm);
  color: var(--cs-ink-2);
  transition: background var(--cs-ease), color var(--cs-ease);
}

body.cs-site .ct-header [data-id="menu"] .ct-menu-link:hover,
body.cs-site .ct-header [data-id="menu"] :is(.current-menu-item, .current_page_item) > .ct-menu-link {
  background: var(--cs-sand);
  color: var(--cs-ink);
}

body.cs-site .ct-header [data-id="menu"] .ct-menu-link::before,
body.cs-site .ct-header [data-id="menu"] .ct-menu-link::after { display: none; }

body.cs-site .ct-header [data-id="menu"] > ul > li { margin: 0 2px; }
body.cs-site .ct-header [data-id="menu"] > ul { height: auto; }

body.cs-site :is(.ct-header-cta, #offcanvas) {
  --theme-button-background-initial-color: var(--cs-primary);
  --theme-button-background-hover-color: var(--cs-primary-hover);
  --theme-button-text-initial-color: var(--cs-on-primary);
  --theme-button-text-hover-color: var(--cs-on-primary);
  --theme-button-border-radius: var(--cs-r-md);
  --theme-button-min-height: 44px;
  --theme-button-padding: 0 20px;
  --theme-button-font-family: var(--cs-font-sans);
  --theme-button-font-size: var(--cs-fs-small);
  --theme-button-font-weight: 550;
}

body.cs-site .ct-header-cta .ct-button,
body.cs-site #offcanvas .ct-header-cta .ct-button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--cs-r-md);
  font-family: var(--cs-font-sans);
  font-size: var(--cs-fs-small);
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

body.cs-site #header .ct-header-trigger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-r-md);
  background: var(--cs-surface);
  --theme-icon-color: var(--cs-ink);
  --theme-icon-hover-color: var(--cs-primary);
}

body.cs-site #offcanvas .ct-panel-inner { background: var(--cs-bg); }

body.cs-site #offcanvas .ct-toggle-close {
  --theme-icon-color: var(--cs-ink);
  --theme-icon-hover-color: var(--cs-primary);
}

body.cs-site #offcanvas .mobile-menu a {
  --theme-font-family: var(--cs-font-serif);
  --theme-font-size: 1.375rem;
  --theme-font-weight: 450;
  --theme-link-initial-color: var(--cs-ink);
  --theme-link-hover-color: var(--cs-primary);
  min-height: 52px;
}

body.cs-site #offcanvas .mobile-menu :is(.current-menu-item, .current_page_item) > a { color: var(--cs-primary); }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1080px) {
  :is(.cs-site,.editor-styles-wrapper) .cs-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.cs-site,.editor-styles-wrapper) .cs-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.cs-site,.editor-styles-wrapper) .cs-video-row { grid-template-columns: 200px minmax(0, 1fr); }
  :is(.cs-site,.editor-styles-wrapper) .cs-video-row-date { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 900px) {
  body.cs-site { --cs-header-offset: 69px; }
  body.cs-site.admin-bar { --cs-header-offset: 101px; }

  :is(.cs-site,.editor-styles-wrapper) :is(.cs-hero-grid, .cs-two-col, .cs-split, .cs-page-head-split, .cs-about-hero, .cs-contact-grid, .cs-cta-panel) { grid-template-columns: minmax(0, 1fr); }

  :is(.cs-site,.editor-styles-wrapper) .cs-hero-grid > figure.cs-hero-portrait { order: -1; max-width: 460px; }
  :is(.cs-site,.editor-styles-wrapper) .cs-hero-portrait img { aspect-ratio: 5 / 4; object-position: 50% 28%; }
  :is(.cs-site,.editor-styles-wrapper) .cs-about-hero figure.cs-portrait { max-width: 460px; }
  :is(.cs-site,.editor-styles-wrapper) .cs-section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--cs-s-7); }
  :is(.cs-site,.editor-styles-wrapper) .cs-grid-3, :is(.cs-site,.editor-styles-wrapper) .cs-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.cs-site,.editor-styles-wrapper) .cs-steps { grid-template-columns: minmax(0, 1fr); }
  :is(.cs-site,.editor-styles-wrapper) .cs-video-grid > :nth-child(3) { display: none; }
  :is(.cs-site,.editor-styles-wrapper) .cs-area-list { grid-template-columns: minmax(0, 1fr); }
  :is(.cs-site,.editor-styles-wrapper) .cs-publication-row { grid-template-columns: minmax(0, 1fr); gap: var(--cs-s-3); }
  :is(.cs-site,.editor-styles-wrapper) .cs-publication-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--cs-s-3); }
  :is(.cs-site,.editor-styles-wrapper) .cs-publication-actions { justify-items: start; grid-auto-flow: column; justify-content: start; gap: var(--cs-s-5); }
}

@media (max-width: 782px) {
  body.cs-site.admin-bar #header { top: 46px; }
  body.cs-site.admin-bar { --cs-header-offset: 115px; }
}

@media (max-width: 640px) {
  :is(.cs-site,.editor-styles-wrapper) { --cs-fs-body: 1rem; }
  :is(.cs-site,.editor-styles-wrapper) :is(.cs-grid-2, .cs-grid-3, .cs-grid-4, .cs-video-grid, .cs-interest-list, .cs-footer-grid) { grid-template-columns: minmax(0, 1fr); }
  :is(.cs-site,.editor-styles-wrapper) .cs-video-grid > :nth-child(3) { display: grid; }
  :is(.cs-site,.editor-styles-wrapper) .cs-concern-card { min-height: 0; padding: var(--cs-s-5); }
  :is(.cs-site,.editor-styles-wrapper) .cs-shell > .cs-seen-on { text-align: left; }
  :is(.cs-site,.editor-styles-wrapper) .cs-hero-copy .wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
  :is(.cs-site,.editor-styles-wrapper) .cs-hero-copy .wp-block-buttons .wp-block-button__link { width: 100%; }
  :is(.cs-site,.editor-styles-wrapper) .cs-cta-actions .wp-block-buttons,
  :is(.cs-site,.editor-styles-wrapper) .cs-cta-actions .wp-block-button,
  :is(.cs-site,.editor-styles-wrapper) .cs-cta-actions .wp-block-button__link { width: 100%; min-width: 0; }
  :is(.cs-site,.editor-styles-wrapper) .cs-video-row { grid-template-columns: minmax(0, 1fr); gap: var(--cs-s-3); }
  :is(.cs-site,.editor-styles-wrapper) .cs-archive-tools { padding: var(--cs-s-4); border-radius: var(--cs-r-lg); }

  /* One swipeable row on phones; the fade shows there is more to the right. */
  :is(.cs-site,.editor-styles-wrapper) .cs-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--cs-s-4));
    padding-inline: var(--cs-s-4) 48px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--cs-s-4), #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--cs-s-4), #000 calc(100% - 48px), transparent);
  }

  :is(.cs-site,.editor-styles-wrapper) .cs-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.cs-site,.editor-styles-wrapper) .cs-field-row { grid-template-columns: minmax(0, 1fr); }
  :is(.cs-site,.editor-styles-wrapper) .cs-contact-form .cs-btn { width: 100%; }
  :is(.cs-site,.editor-styles-wrapper) .is-style-cs-details :is(td, th) { display: block; width: auto; padding: 0; border: 0; }
  :is(.cs-site,.editor-styles-wrapper) .is-style-cs-details tr { display: block; padding-block: var(--cs-s-4); border-bottom: 1px solid var(--cs-line); }
  :is(.cs-site,.editor-styles-wrapper) .is-style-cs-details :is(td, th):first-child { width: auto; padding: 0 0 2px; }
  :is(.cs-site,.editor-styles-wrapper) .wp-block-details > summary { padding-inline: var(--cs-s-4); }
  :is(.cs-site,.editor-styles-wrapper) .wp-block-details > :not(summary) { padding-inline: var(--cs-s-4); }
}

@media (max-width: 600px) {
  body.cs-site.admin-bar #header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :is(.cs-site,.editor-styles-wrapper) *, :is(.cs-site,.editor-styles-wrapper) *::before, :is(.cs-site,.editor-styles-wrapper) *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
