/* ==========================================================================
   AIDH — redesigned homepage sections (everything below the hero slider)
   --------------------------------------------------------------------------
   Own namespace (.aidh-*) on purpose: nothing here touches the existing
   theme classes, so the old widgets and the header keep rendering exactly
   as they do today. Colours and fonts come from the theme's own variables
   (--c-teal / --c-ink / Raleway / Roboto) with hard-coded fallbacks, so
   this file also renders correctly on its own.
   ========================================================================== */

.aidh-sec {
  --aidh-accent:      var(--c-teal, #0F9B8E);
  --aidh-accent-dark: var(--c-teal-dark, #0B7A70);
  --aidh-accent-soft: var(--c-teal-light, #E4F5F3);
  --aidh-ink:         var(--c-ink, #1B2430);
  --aidh-ink-soft:    var(--c-ink-soft, #2E3A4B);
  --aidh-muted:       var(--c-body, #5B6472);
  --aidh-muted-soft:  #98A1AE;
  --aidh-line:        var(--c-line, #E4E7EC);
  --aidh-surface:     var(--c-surface, #F6F8F9);
  --aidh-white:       var(--c-white, #FFFFFF);
  --aidh-head:        var(--f-heading, "Raleway", sans-serif);
  --aidh-body:        var(--f-body, "Roboto", sans-serif);
  --aidh-ease:        cubic-bezier(.23, 1, .32, 1);

  position: relative;
  font-family: var(--aidh-body);
  color: var(--aidh-ink);
}

/* ---------- Section shell ---------- */
/* Width + side padding come from the theme's shared layout tokens
   (--wrap-max / --wrap-pad in alduffa-tokens.css) so every section lines
   up with the header logo. The fallbacks are the old values, used only
   if the plugin runs without that theme. */
.aidh-container {
  width: 100%;
  max-width: var(--wrap-max, 1280px);
  margin-inline: auto;
  padding-inline: var(--wrap-pad, 20px);
}
@media (min-width: 992px) { .aidh-container { padding-inline: var(--wrap-pad, 32px); } }

.aidh-space-tight  { padding-block: 56px; }
.aidh-space-normal { padding-block: 76px; }
.aidh-space-roomy  { padding-block: 96px; }
@media (min-width: 768px) {
  .aidh-space-tight  { padding-block: 80px; }
  .aidh-space-normal { padding-block: 104px; }
  .aidh-space-roomy  { padding-block: 128px; }
}

.aidh-bg-white   { background: var(--aidh-white); }
.aidh-bg-surface { background: var(--aidh-surface); }
.aidh-bg-tint    { background: var(--aidh-accent-soft); }
.aidh-bg-ink     { background: var(--aidh-ink); color: #fff; }
.aidh-has-rule   { border-bottom: 1px solid var(--aidh-line); }

/* ---------- Type ---------- */
.aidh-sec .aidh-display {
  font-family: var(--aidh-head);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: inherit;
  margin: 0;
}
.aidh-eyebrow {
  margin: 0;
  font-family: var(--aidh-head);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--aidh-accent);
}
.aidh-bg-ink .aidh-eyebrow { color: #fff; opacity: .85; }

/* ---------- Section header ---------- */
.aidh-head {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}
.aidh-head__num {
  font-family: var(--aidh-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--aidh-accent);
}
.aidh-head__main .aidh-display {
  margin-top: 12px;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
}
.aidh-head__copy {
  margin: 0;
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--aidh-muted);
}
.aidh-bg-ink .aidh-head__copy { color: rgba(255,255,255,.7); }
@media (min-width: 768px) {
  .aidh-head {
    grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px;
  }
  .aidh-head { margin-bottom: 56px; }
}

/* ---------- Grids ---------- */
.aidh-grid { display: grid; gap: 16px; }
.aidh-grid--sm { gap: 12px; }
@media (min-width: 576px) { .aidh-cols-2 > .aidh-grid, .aidh-grid.cols-sm-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 576px) { .aidh-grid.sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .aidh-grid.md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aidh-grid.md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .aidh-grid.lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aidh-grid.lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aidh-grid.lg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */
.aidh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 22px;
  font-family: var(--aidh-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease-out, border-color .2s ease-out, color .2s ease-out, transform .2s ease-out;
}
.aidh-btn i { font-size: .8em; }
.aidh-btn--primary { background: var(--aidh-accent); color: #fff; }
.aidh-btn--primary:hover { background: var(--aidh-accent-dark); color: #fff; transform: translateY(-2px); }
.aidh-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.aidh-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.aidh-btn--dark { border-color: rgba(27,36,48,.35); color: var(--aidh-ink); }
.aidh-btn--dark:hover { border-color: var(--aidh-ink); background: rgba(27,36,48,.06); color: var(--aidh-ink); }

/* ---------- Shared card chrome ---------- */
.aidh-card {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--aidh-line);
  border-radius: 6px;
  background: var(--aidh-white);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color .22s ease-out, transform .22s var(--aidh-ease), box-shadow .22s ease-out, background .22s ease-out;
}
.aidh-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 42px;
  background: var(--aidh-accent);
  transition: width .25s var(--aidh-ease);
}
.aidh-card:hover { border-color: var(--aidh-accent); color: inherit; }
.aidh-card:hover::before { width: 82px; }
.aidh-card h3 { font-family: var(--aidh-head); margin: 0; }
.aidh-card p { margin: 0; }

.aidh-iconbox {
  display: inline-flex;
  height: 46px; width: 46px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--aidh-line);
  background: var(--aidh-surface);
  color: var(--aidh-accent);
  font-size: 1.15rem;
}
.aidh-iconbox svg { width: 20px; height: 20px; }

.aidh-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--aidh-head);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--aidh-accent);
  text-decoration: none;
}
.aidh-more i { transition: transform .2s ease-out; }
.aidh-card:hover .aidh-more i { transform: translateX(4px); }

/* ---------- 01 · Editorial cards ---------- */
.aidh-editorial {
  min-height: 285px;
  border-radius: 14px;
  padding: 28px;
}
.aidh-editorial::before { display: none; }
.aidh-editorial:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(27,36,48,.10); }
.aidh-editorial__title {
  display: block;
  margin-top: 40px;
  font-family: var(--aidh-head);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
}
.aidh-editorial__copy {
  display: block;
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--aidh-muted);
}
.aidh-editorial .aidh-more { margin-top: 26px; }
.aidh-editorial__index {
  position: absolute;
  right: 20px; bottom: 6px;
  font-family: var(--aidh-head);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -.06em;
  color: var(--aidh-line);
  line-height: 1;
}

/* ---------- 02 · Search band ---------- */
.aidh-search {
  display: grid;
  gap: 12px;
  border-radius: 16px;
  background: var(--aidh-ink);
  padding: 18px;
}
@media (min-width: 768px) {
  .aidh-search { grid-template-columns: 1.6fr 1fr 1fr auto; padding: 22px; align-items: center; }
}
.aidh-search__field { position: relative; }
.aidh-search__field i {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: .95rem;
}
.aidh-search input[type="text"],
.aidh-search input[type="search"],
.aidh-search select {
  height: 52px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding-inline: 16px;
  font-size: .9rem;
  font-family: var(--aidh-body);
  appearance: none;
  -webkit-appearance: none;
}
.aidh-search input { padding-left: 44px; }
.aidh-search input::placeholder { color: rgba(255,255,255,.5); }
.aidh-search select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.aidh-search select option { color: var(--aidh-ink); }
.aidh-search input:focus, .aidh-search select:focus {
  outline: none;
  border-color: var(--aidh-accent);
  background: rgba(255,255,255,.13);
}
.aidh-search .aidh-btn { height: 52px; }
.aidh-note {
  margin: 16px 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--aidh-muted);
  max-width: 48rem;
}
/* Small heading used to separate two card groups inside one section
   (e.g. the partner grid from its "what this brings learners" ticks)
   without pulling in the full .aidh-display treatment. */
.aidh-subhead {
  margin: 40px 0 20px;
  font-family: var(--aidh-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--aidh-ink);
}

/* ---------- 03 · Programme cards ---------- */
.aidh-programme {
  min-height: 260px;
  border-radius: 4px;
  border-top: 2px solid var(--aidh-accent);
  background: var(--aidh-surface);
  padding: 24px;
}
.aidh-programme::before { display: none; }
.aidh-programme:hover { transform: translateY(-4px); background: var(--aidh-white); box-shadow: 0 14px 34px rgba(27,36,48,.08); }
.aidh-programme__top { display: flex; align-items: flex-start; justify-content: space-between; }
.aidh-programme__num { font-size: .78rem; font-weight: 600; color: var(--aidh-muted-soft); }
.aidh-programme h3 { margin-top: 34px; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.aidh-programme p { margin-top: 12px; font-size: .9rem; line-height: 1.65; color: var(--aidh-muted); }
.aidh-programme .aidh-more { margin-top: 22px; }
.aidh-programme.is-hidden { display: none; }
@media (min-width: 576px) { .aidh-programme--feature { grid-column: span 2; } }
@media (min-width: 992px) { .aidh-programme--feature { grid-column: span 2; grid-row: span 2; } }

/* ---------- 04 · Feature cards ---------- */
.aidh-feature {
  min-height: 200px;
  border-radius: 10px;
  background: var(--aidh-surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.aidh-feature::before { display: none; }
.aidh-feature:hover { transform: translateY(-4px); background: var(--aidh-white); }
.aidh-feature__num { font-family: var(--aidh-head); font-size: .9rem; font-weight: 700; color: var(--aidh-accent); }
.aidh-feature p {
  margin-top: auto;
  padding-top: 34px;
  font-family: var(--aidh-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--aidh-ink);
}
.aidh-feature i { margin-top: 20px; color: var(--aidh-accent); transition: transform .2s ease-out; }
.aidh-feature:hover i { transform: translateX(5px); }

/* ---------- 05 · Association cards ---------- */
.aidh-association { min-height: 210px; }
.aidh-association__head { display: flex; align-items: center; gap: 12px; }
.aidh-association__head i { color: var(--aidh-accent); font-size: 1.2rem; }
.aidh-association__head span { font-family: var(--aidh-head); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.aidh-association p { margin-top: 26px; font-size: .9rem; line-height: 1.65; color: var(--aidh-muted); }
.aidh-association .aidh-tagline {
  margin-top: 30px;
  display: block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--aidh-muted-soft);
}
.aidh-association__logo { max-height: 34px; width: auto; }

/* ---------- 06 · Partner cards + ticks ---------- */
.aidh-partner { min-height: 160px; background: var(--aidh-surface); }
.aidh-partner .aidh-tag {
  font-family: var(--aidh-head);
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--aidh-muted-soft);
}
.aidh-partner strong {
  display: block; margin-top: 18px;
  font-family: var(--aidh-head);
  font-size: 1.08rem; font-weight: 700; line-height: 1.3;
}
.aidh-partner .aidh-rule { margin-top: 24px; display: block; height: 1px; width: 40px; background: var(--aidh-accent); }

.aidh-ticks { margin-top: 44px; }
.aidh-tick {
  display: flex; align-items: center; gap: 12px;
  font-size: .9rem; font-weight: 600; color: var(--aidh-ink);
}
.aidh-tick i { color: var(--aidh-accent); flex: none; }

/* ---------- 07/09/10 · Numbered cards (areas / benefits / values) ---------- */
.aidh-numbered { min-height: 225px; }
.aidh-numbered h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; }
.aidh-numbered p { margin-top: 12px; font-size: .9rem; line-height: 1.65; color: var(--aidh-muted); }
.aidh-numbered--area .aidh-numbered__num {
  font-family: var(--aidh-head); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; color: var(--aidh-accent);
}
.aidh-numbered--area h3 { margin-top: 34px; }
.aidh-numbered--benefit { background: var(--aidh-surface); min-height: 250px; }
.aidh-numbered--benefit .aidh-numbered__num {
  font-family: var(--aidh-head); font-size: 2.2rem; font-weight: 300; line-height: 1; color: var(--aidh-accent);
}
.aidh-numbered--benefit h3 { margin-top: 42px; font-size: 1.05rem; }
.aidh-numbered--value { min-height: 185px; }
.aidh-numbered--value .aidh-numbered__num {
  font-family: var(--aidh-head); font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; color: var(--aidh-accent);
}
.aidh-numbered--value h3 { margin-top: 24px; }
@media (min-width: 992px) { .aidh-numbered--wide { grid-column: span 2; } }

/* ---------- 08 · Compliance checklist ---------- */
.aidh-checklist { display: grid; gap: 20px 32px; }
@media (min-width: 768px) { .aidh-checklist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 992px) { .aidh-checklist { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.aidh-check {
  display: flex; align-items: flex-start; gap: 12px;
  border-top: 1px solid var(--aidh-line);
  padding-top: 16px;
  font-size: .88rem; font-weight: 600; line-height: 1.5;
  color: var(--aidh-ink);
}
.aidh-check i { margin-top: 3px; flex: none; color: var(--aidh-accent); font-size: 1.05rem; line-height: 1; }
.aidh-check svg { margin-top: 3px; flex: none; width: 1.05rem; height: 1.05rem; color: var(--aidh-accent); }

/* ---------- Vision / mission split ---------- */
.aidh-split { display: grid; }
@media (min-width: 768px) { .aidh-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aidh-split__panel { padding: 64px 24px; }
@media (min-width: 768px) { .aidh-split__panel { padding: 104px 7vw; } }
.aidh-split__panel .aidh-display { margin-top: 18px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.aidh-split__panel p { margin: 26px 0 0; max-width: 34rem; line-height: 1.85; }
.aidh-split__panel--dark { background: var(--aidh-ink); color: #fff; }
.aidh-split__panel--dark p { color: rgba(255,255,255,.68); }
.aidh-split__panel--dark .aidh-eyebrow { color: #fff; opacity: .8; }
.aidh-split__panel--light { background: var(--aidh-surface); color: var(--aidh-ink); }
.aidh-split__panel--light p { color: var(--aidh-muted); }
.aidh-split__panel--tint { background: var(--aidh-accent-soft); color: var(--aidh-ink); }
.aidh-split__panel--tint p { color: var(--aidh-muted); }

/* ---------- Feature split (image + text) ---------- */
.aidh-featuresplit { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .aidh-featuresplit { grid-template-columns: .9fr 1.1fr; } }
/* No photo supplied yet — let the text column use the full width
   instead of leaving the image column blank. */
.aidh-featuresplit--noimage { grid-template-columns: 1fr !important; }
.aidh-featuresplit--noimage .aidh-featuresplit__text { max-width: 62rem; }
.aidh-featuresplit--noimage .aidh-featuresplit__text p { max-width: none; }
@media (min-width: 992px) { .aidh-featuresplit.is-flipped .aidh-featuresplit__text { order: 2; } }
.aidh-featuresplit .aidh-display { margin-top: 18px; font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.aidh-featuresplit p { margin: 22px 0 0; max-width: 30rem; line-height: 1.85; color: var(--aidh-muted); }
.aidh-chiprow { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.aidh-chip {
  display: inline-flex;
  border: 1px solid var(--aidh-line);
  border-left: 3px solid var(--aidh-accent);
  border-radius: 4px;
  background: var(--aidh-white);
  padding: 9px 13px;
  font-family: var(--aidh-head);
  font-size: .74rem; font-weight: 700;
  color: var(--aidh-ink-soft);
}
.aidh-frame {
  position: relative; overflow: hidden;
  border-radius: 16px;
  border: 10px solid var(--aidh-white);
  box-shadow: 0 20px 50px rgba(27,36,48,.15);
  background: var(--aidh-surface);
}
.aidh-frame img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; }
.aidh-frame__caption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(27,36,48,.18) 40%, rgba(27,36,48,.62) 70%, rgba(27,36,48,.92) 100%);
  padding: 56px 18px 16px;
  font-family: var(--aidh-head);
  font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

/* ---------- Full-width banner ---------- */
.aidh-banner { position: relative; overflow: hidden; background: var(--aidh-ink); padding-block: 90px; }
@media (min-width: 768px) { .aidh-banner { padding-block: 130px; } }
.aidh-banner__bg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: .35; }
.aidh-banner__scrim { position: absolute; inset: 0; background: rgba(27,36,48,.62); }
.aidh-banner .aidh-container { position: relative; z-index: 2; }
.aidh-banner .aidh-eyebrow { color: #fff; opacity: .85; }
.aidh-banner .aidh-display { margin-top: 20px; max-width: 56rem; font-size: clamp(2.2rem, 6.5vw, 4.4rem); color: #fff; }
.aidh-banner p { margin: 26px 0 0; max-width: 38rem; font-size: 1.05rem; line-height: 1.9; color: rgba(255,255,255,.72); }
.aidh-banner__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11 · News cards ---------- */
.aidh-news { min-height: 310px; display: flex; flex-direction: column; }
.aidh-news__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aidh-news__date { font-size: .76rem; color: var(--aidh-muted-soft); }
.aidh-news h3 { margin-top: 46px; font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.aidh-news h3 a { color: inherit; text-decoration: none; }
.aidh-news p { margin-top: 14px; font-size: .9rem; line-height: 1.65; color: var(--aidh-muted); }
.aidh-news .aidh-more { margin-top: auto; padding-top: 26px; }
.aidh-news__thumb { margin: -26px -26px 22px; }
.aidh-news__thumb img { width: 100%; height: 190px; object-fit: cover; display: block; }

/* ---------- Closing CTA ---------- */
.aidh-closing {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: space-between; gap: 28px;
}
@media (min-width: 768px) { .aidh-closing { flex-direction: row; align-items: center; } }
.aidh-closing .aidh-display { margin-top: 12px; font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.aidh-closing p { margin: 14px 0 0; max-width: 38rem; line-height: 1.8; color: var(--aidh-muted); }
.aidh-bg-ink .aidh-closing p { color: rgba(255,255,255,.7); }
.aidh-closing__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tabbed sections ---------- */
.aidh-tabs__bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--aidh-line);
  margin-bottom: 36px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.aidh-tabs__bar::-webkit-scrollbar { display: none; }
.aidh-tabs--center .aidh-tabs__bar { justify-content: center; }
.aidh-tabs__btn {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 14px 20px;
  font-family: var(--aidh-head);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--aidh-muted);
  transition: color .2s ease-out;
}
.aidh-tabs__btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--aidh-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--aidh-ease);
}
.aidh-tabs__btn:hover { color: var(--aidh-ink); }
.aidh-tabs__btn.is-active { color: var(--aidh-ink); }
.aidh-tabs__btn.is-active::after { transform: scaleX(1); }
.aidh-tabs__count {
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--aidh-surface);
  color: var(--aidh-muted);
}
.aidh-tabs__btn.is-active .aidh-tabs__count { background: var(--aidh-accent-soft); color: var(--aidh-accent-dark); }
.aidh-bg-white .aidh-tabs__count { background: var(--aidh-surface); }
.aidh-bg-ink .aidh-tabs__bar { border-bottom-color: rgba(255,255,255,.18); }
.aidh-bg-ink .aidh-tabs__btn { color: rgba(255,255,255,.6); }
.aidh-bg-ink .aidh-tabs__btn.is-active, .aidh-bg-ink .aidh-tabs__btn:hover { color: #fff; }

.aidh-tabs__panel[hidden] { display: none; }
.aidh-tabs__panel.is-active { animation: aidh-tab-in .3s var(--aidh-ease); }
@keyframes aidh-tab-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 575px) {
  .aidh-tabs__btn { padding: 12px 14px; font-size: .82rem; }
  .aidh-tabs__bar { margin-bottom: 26px; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .aidh-sec *, .aidh-sec *::before, .aidh-sec *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* Who We Are — introduction block above the split section */
.aidh-whointro { margin: 0 0 72px; }
.aidh-whointro__lead {
  margin: 0 0 34px;
  max-width: 34ch;
  font-family: var(--f-heading, "DM Serif Display", serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--c-ink, #092434);
}
.aidh-whointro__cols { display: grid; gap: 30px; }
.aidh-whointro__cols p {
  margin: 0;
  padding-inline-start: 22px;
  border-inline-start: 3px solid var(--c-teal, #D4A73A);
  color: var(--c-muted, #5b6b73);
  font-size: 1.04rem;
  line-height: 1.75;
}
@media (min-width: 992px) { .aidh-whointro__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
