/* ==========================================================================
   About page compositions.

   Loaded only on pages whose content uses the .ah-ab classes (functions.php),
   so none of this reaches the homepage or any other page. Layout, widths,
   backgrounds, crops, borders, padding and stickiness are set on the native
   Avada containers, columns and elements; this file adds only what Avada
   cannot express: bleed alignment, overlap, type scale, figures, quote marks,
   hairline rows and the photo-band overlay on small screens.
   ========================================================================== */

/* Shared measures. The homepage content box is 1200px with 20px column gutters. */
.ah-ab {
  --ab-edge: max(36px, calc((100vw - 1200px) / 2));
  --ab-serif-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --ab-serif-lg: clamp(1.375rem, 1.15rem + 0.95vw, 2rem);
  --ab-serif-md: clamp(1.1875rem, 1.08rem + 0.45vw, 1.5rem);
}
@media (max-width: 640px) { .ah-ab { --ab-edge: 16px; } }

/* ---- Labels ---------------------------------------------------------------- */
.ah-ab p.ah-ab-label {
  font-family: var(--ah-font-body);
  font-size: var(--ah-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ah-ls-eyebrow);
  text-transform: uppercase;
  margin: 0;
}
.ah-ab.ah-band--navy p.ah-ab-label,
.ah-ab .ah-band--navy p.ah-ab-label { color: rgba(249, 245, 242, 0.75); }

/* ---- 1. Hero: the established internal-page header (solid navy, centred) -- */
.ah-ab-hero p.ah-ab-byline { font-size: var(--ah-small); color: rgba(249, 245, 242, 0.7); margin: 24px auto 0; max-width: 60ch; }

/* ---- 2. Quick Answer strip -------------------------------------------------- */
.ah-ab-strip { border-top: 1px solid var(--ah-rule-invert); }
.ah-ab p.ah-ab-summary {
  font-family: var(--ah-font-display);
  font-size: var(--ab-serif-md);
  line-height: 1.45;
  color: var(--ah-text-invert);
  margin: 0;
}
.ah-ab-strip .ah-ab-label { padding-top: 0.55em; }
@media (max-width: 640px) { .ah-ab-strip .ah-ab-label { padding: 0 0 12px; } }

/* ---- Type devices ----------------------------------------------------------- */
.ah-ab p.ah-ab-opener {
  font-family: var(--ah-font-display);
  font-size: var(--ab-serif-lg);
  line-height: 1.38;
  color: var(--ah-navy);
  margin: 0;
}
.ah-ab p.ah-ab-lead { font-size: var(--ah-body-lg); line-height: 1.6; }
.ah-ab p.ah-ab-statement {
  font-family: var(--ah-font-display);
  font-size: var(--ab-serif-lg);
  line-height: 1.3;
  text-align: center;
  max-width: 30em;
  margin: 0 auto;
}
.ah-ab p.ah-ab-closing {
  font-family: var(--ah-font-display);
  font-style: italic;
  font-size: var(--ab-serif-md);
  line-height: 1.4;
  color: var(--ah-navy);
  margin-top: 40px;
}
.ah-ab .fusion-text > p:last-child { margin-bottom: 0; }

/* Bronze rule, drawn by a native Separator. */
.ah-ab .ah-ab-rule .fusion-separator-border,
.ah-ab .ah-ab-rule.fusion-separator { border-color: var(--ah-bronze) !important; }

/* ---- 3-4. Opening: two image/text compositions --------------------------- */
.ah-ab .ah-ab-proof { margin-top: 36px; }
.ah-ab .ah-ab-proof li { color: var(--ah-navy); }
@media (max-width: 640px) {
  .fusion-body .ah-ab-opening .fusion-layout-column { margin-bottom: 40px !important; }
  .fusion-body .ah-ab-opening .fusion-layout-column:last-child { margin-bottom: 0 !important; }
}

/* ---- Photo bands ------------------------------------------------------------
   The navy gradient over the photograph is set on the Avada container. On
   phones the text runs full width, so the whole image is dimmed instead. */
.ah-ab-photo { position: relative; }
.ah-ab-photo h2,
.ah-ab-photo h3,
.ah-ab-photo p,
.ah-ab-photo li { color: var(--ah-text-invert); }
@media (max-width: 800px) {
  .ah-ab-photo::before { content: ""; position: absolute; inset: 0; background: rgba(36, 49, 63, 0.84); pointer-events: none; }
  .ah-ab-photo > .fusion-builder-row { position: relative; z-index: 1; }
}
.ah-ab-photo .fusion-checklist .fusion-li-item { padding-block: 14px; border-bottom: 1px solid var(--ah-rule-invert); margin: 0 !important; }
.ah-ab-photo .fusion-checklist .fusion-li-item:first-child { border-top: 1px solid var(--ah-rule-invert); }
.ah-ab-photo .fusion-checklist .fusion-li-item-content { font-family: var(--ah-font-display); font-size: var(--ab-serif-md); line-height: 1.35; color: var(--ah-text-invert); }

/* ---- 6. Sticky heading --------------------------------------------------- */
.ah-ab .ah-ab-bigheading h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.1; }

/* ---- 8. Overlap: wide image bleeding left, card over its lower edge ------- */
.ah-ab-overlap > .fusion-builder-row { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.ah-ab-overlap .ah-ab-overlap__img { padding: 0 !important; }
.ah-ab-overlap .ah-ab-overlap__card { position: relative; z-index: 2; }
.ah-ab-overlap .ah-ab-overlap__card > .fusion-column-wrapper { box-sizing: border-box; }
.ah-ab-overlap .ah-ab-overlap__body { padding-inline: var(--ab-edge) !important; }
@media (min-width: 1025px) {
  .ah-ab-overlap .ah-ab-overlap__card {
    margin-left: -8% !important;
    margin-right: var(--ab-edge) !important;
    flex: 1 1 0 !important;
    max-width: none !important;
    width: auto !important;
    align-self: flex-end;
    margin-bottom: -72px !important;
  }
  .ah-ab-overlap .ah-ab-overlap__body { margin-top: 152px !important; }
}
@media (max-width: 1024px) {
  .ah-ab-overlap .ah-ab-overlap__card { margin: -64px var(--ab-edge) 0 !important; }
  .ah-ab-overlap .ah-ab-overlap__body { margin-top: 64px !important; }
}
.ah-ab-overlap .ah-ab-overlap__body .fusion-layout-column + .fusion-layout-column p { margin-top: 0; }

/* ---- 10. Dossier card ------------------------------------------------------ */
.ah-ab .ah-ab-dossier .fusion-imageframe { margin-bottom: 0; }
.ah-ab .ah-ab-dossier__body { padding: 32px 32px 36px; }
.ah-ab .ah-ab-dossier p { color: var(--ah-text-invert); margin: 0; }
.ah-ab .ah-ab-dossier p.ah-ab-dossier__name { font-family: var(--ah-font-display); font-size: var(--ah-h3); line-height: 1.15; margin-bottom: 8px; }
.ah-ab .ah-ab-dossier p.ah-ab-dossier__role { font-weight: 600; margin-bottom: 16px; }
.ah-ab .ah-ab-dossier p.ah-ab-dossier__creds { color: rgba(249, 245, 242, 0.8); font-size: var(--ah-small); padding-top: 16px; border-top: 1px solid var(--ah-rule-invert); }

/* ---- 11. Condition index (native Buttons as rows) -------------------------- */
.fusion-body .ah-ab .fusion-button.ah-ab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 4px;
  border: 0;
  border-bottom: 1px solid var(--ah-rule);
  border-radius: 0;
  background: transparent;
  color: var(--ah-navy);
  font-family: var(--ah-font-display);
  font-size: var(--ab-serif-md);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  text-align: left;
  line-height: 1.25;
  transition: color var(--ah-transition);
}
.fusion-body .ah-ab .fusion-button.ah-ab-row .fusion-button-text { color: inherit; font: inherit; text-align: left; transition: transform var(--ah-transition); }
.fusion-body .ah-ab .fusion-button.ah-ab-row:hover .fusion-button-text,
.fusion-body .ah-ab .fusion-button.ah-ab-row:focus-visible .fusion-button-text { transform: translateX(10px); }
.fusion-body .ah-ab .fusion-button.ah-ab-row::after { content: "\2192"; font-family: var(--ah-font-body); color: var(--ah-bronze); }
.fusion-body .ah-ab .fusion-button.ah-ab-row:hover,
.fusion-body .ah-ab .fusion-button.ah-ab-row:focus-visible { color: var(--ah-navy-deep); background: transparent; }
.fusion-body .ah-ab .fusion-button.ah-ab-row:focus-visible { outline: var(--ah-focus); outline-offset: 2px; }
.fusion-body .ah-ab .ah-ab-rows .fusion-button-wrapper { display: block; margin: 0; }
.fusion-body .ah-ab .ah-ab-rows .fusion-button-wrapper:first-of-type .ah-ab-row { border-top: 1px solid var(--ah-rule); }

/* ---- 13. Figures ------------------------------------------------------------
   Each figure restates a number in the sentence beneath it, so it is hidden
   from assistive technology and the sentence carries the meaning. */
.ah-ab .ah-ab-figure > .fusion-column-wrapper { border-top: 1px solid var(--ah-navy); padding-top: 24px; }
.ah-ab p.ah-ab-figure__num {
  font-family: var(--ah-font-display);
  font-size: clamp(3.5rem, 2.4rem + 4vw, 6rem);
  line-height: 1;
  color: var(--ah-navy);
  margin: 0 0 20px;
}

/* ---- Quotes ---------------------------------------------------------------- */
.ah-ab blockquote.ah-ab-quote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; }
/* Andy quotes take the sitewide quote size (tokens.css, client 03/11/2026). */
.ah-ab blockquote.ah-ab-quote p {
  font-family: var(--ah-font-display);
  font-size: var(--ah-quote-size);
  line-height: var(--ah-quote-lh);
  margin: 0;
  text-wrap: pretty;
}
.ah-ab blockquote.ah-ab-quote--mark::before {
  content: "\201C";
  display: block;
  font-family: var(--ah-font-display);
  font-size: 7rem;
  line-height: 0.75;
  height: 0.55em;
  color: var(--ah-bronze);
}
.ah-ab blockquote.ah-ab-quote--center { text-align: center; max-width: 880px; margin-inline: auto; }
.ah-ab blockquote.ah-ab-quote footer {
  margin-top: 24px;
  font-family: var(--ah-font-body);
  font-size: var(--ah-quote-cite);
  font-weight: 600;
  letter-spacing: var(--ah-ls-eyebrow);
  text-transform: uppercase;
}
.ah-ab.ah-band--navy blockquote.ah-ab-quote footer { color: rgba(249, 245, 242, 0.75); }
.ah-ab.ah-band--light blockquote.ah-ab-quote footer { color: var(--ah-text-muted); }
.ah-ab blockquote.ah-ab-quote--rule { border-top: 1px solid var(--ah-bronze); padding-top: 24px; }

/* ---- 16. Principle cards --------------------------------------------------- */
.ah-ab .ah-ab-card h3 { font-size: var(--ah-h4); line-height: 1.25; margin-bottom: 12px; }
.ah-ab .ah-ab-card p { margin: 0; }
.ah-ab .ah-ab-card { margin-bottom: 40px !important; }

/* ---- 19. Numbered decisions ------------------------------------------------ */
.ah-ab p.ah-ab-step {
  font-family: var(--ah-font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--ah-bronze);
  margin: 0 0 20px;
}
.ah-ab .ah-ab-decision > .fusion-column-wrapper { border-top: 1px solid var(--ah-navy); padding-top: 24px; }
.ah-ab .ah-ab-decision h3 { font-size: var(--ah-h4); margin-bottom: 12px; }
.ah-ab .ah-ab-decision { margin-bottom: 48px !important; }

/* ---- 20. Credentials card -------------------------------------------------- */
.ah-ab .ah-ab-credcard__img { padding: 0 !important; }
.ah-ab .ah-ab-credcard__img > .fusion-column-wrapper,
.ah-ab .ah-ab-credcard__img .fusion-imageframe,
.ah-ab .ah-ab-credcard__img .fusion-imageframe img { height: 100%; }
.ah-ab .ah-ab-credcard__img .fusion-imageframe img { aspect-ratio: auto; min-height: 420px; object-fit: cover; }
@media (max-width: 640px) { .ah-ab .ah-ab-credcard__img .fusion-imageframe img { min-height: 0; aspect-ratio: 4 / 3; } }
.ah-ab table.ah-ab-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.ah-ab table.ah-ab-table th,
.ah-ab table.ah-ab-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px 14px 0;
  border: 0;
  border-bottom: 1px solid var(--ah-rule);
  background: none;
  color: var(--ah-navy);
  font-family: var(--ah-font-body);
}
.ah-ab table.ah-ab-table th {
  font-size: var(--ah-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ah-ls-eyebrow);
  text-transform: uppercase;
  padding-top: calc(14px + 0.3em);
}
.ah-ab table.ah-ab-table tbody th { width: 38%; }
.ah-ab table.ah-ab-table thead th { border-bottom-color: var(--ah-navy); }
.ah-ab table.ah-ab-table td { font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 640px) {
  .ah-ab table.ah-ab-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ah-ab table.ah-ab-table--stack tr { display: block; border-bottom: 1px solid var(--ah-rule); padding-block: 12px; }
  .ah-ab table.ah-ab-table--stack tbody th,
  .ah-ab table.ah-ab-table--stack tbody td { display: block; width: auto; border: 0; padding: 0; }
  .ah-ab table.ah-ab-table--stack tbody th { padding-bottom: 4px; }
}
.ah-ab .fusion-table,
.ah-ab .table-1 { margin: 0; }
.ah-ab .table-1 table,
.ah-ab .table-1 table th,
.ah-ab .table-1 table td,
.ah-ab .table-1 table tr { box-shadow: none; border-radius: 0; }

/* ---- 21. Testimonial ------------------------------------------------------- */
.ah-ab .ah-ab-testimonial blockquote.ah-ab-quote p { font-size: var(--ab-serif-md); line-height: 1.45; }

/* ---- 25. Three paths, divided by hairlines ---------------------------------- */
.ah-ab .ah-ab-path h3 { font-size: var(--ah-h4); line-height: 1.3; margin-bottom: 10px; }
.ah-ab .ah-ab-path a { color: var(--ah-navy); font-weight: 600; text-decoration-color: var(--ah-bronze); text-underline-offset: 4px; }
.ah-ab .ah-ab-path a:hover { text-decoration-thickness: 2px; }
@media (min-width: 641px) {
  .ah-ab .ah-ab-path + .ah-ab-path > .fusion-column-wrapper { border-left: 1px solid var(--ah-rule); padding-left: 32px; }
}
@media (max-width: 640px) {
  .ah-ab .ah-ab-path + .ah-ab-path > .fusion-column-wrapper { border-top: 1px solid var(--ah-rule); padding-top: 24px; }
  .ah-ab .ah-ab-path { margin-bottom: 24px !important; }
}

/* ---- 26. Contact panel ------------------------------------------------------- */
.ah-ab .ah-ab-contact p,
.ah-ab .ah-ab-contact dt,
.ah-ab .ah-ab-contact dd,
.ah-ab .ah-ab-contact a { color: var(--ah-navy); }
.ah-ab dl.ah-ab-dl { margin: 0; }
.ah-ab dl.ah-ab-dl > div { padding-block: 16px; border-bottom: 1px solid var(--ah-rule); }
.ah-ab dl.ah-ab-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ah-ab dl.ah-ab-dl > div:first-child { padding-top: 0; }
.ah-ab dl.ah-ab-dl dt { font-size: var(--ah-eyebrow); font-weight: 600; letter-spacing: var(--ah-ls-eyebrow); text-transform: uppercase; color: var(--ah-text-muted); margin-bottom: 4px; }
.ah-ab dl.ah-ab-dl dd { margin: 0; font-size: 1.0625rem; }
.ah-ab dl.ah-ab-dl a { text-decoration-color: var(--ah-bronze); text-underline-offset: 4px; }
.ah-ab p.ah-ab-smallprint { font-size: var(--ah-small); color: rgba(249, 245, 242, 0.72); margin: 0; }

/* ---- Text link (as the homepage's "Read more patient stories") -------------- */
.ah-ab a.ah-ab-link {
  font-size: var(--ah-small);
  font-weight: 600;
  letter-spacing: var(--ah-ls-button);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ah-navy);
  border-bottom: 1px solid var(--ah-bronze);
  padding-bottom: 4px;
}
.ah-ab a.ah-ab-link::after { content: " \2192"; }
.fusion-body .ah-ab.ah-band--navy a.ah-ab-link { color: var(--ah-text-invert); text-decoration: none; }

/* ---- Image placeholders ------------------------------------------------------ */
.ah-ab .ah-ab-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: repeating-linear-gradient(135deg, var(--ah-stone) 0 12px, #E1DDD4 12px 24px);
  border: 1px dashed var(--ah-text-muted);
  color: var(--ah-text-muted);
  font-size: var(--ah-small);
  font-weight: 600;
  letter-spacing: var(--ah-ls-eyebrow);
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

/* Stacked columns on phones need breathing room. */
@media (max-width: 640px) {
  .fusion-body .ah-ab .fusion-layout-column.ah-ab-stack { margin-bottom: 40px !important; }
}

/* ---- Corrections after the first render ------------------------------------ */
/* Consecutive Text Blocks need the same gap as paragraphs within one. */
.ah-ab .fusion-text + .fusion-text { margin-top: 1.1em; }
/* Hero heading scale (Avada sets a size on the title itself). */
/* The navy-band link rule must not reach the cream contact panel. */
.fusion-body .ah-ab.ah-band--navy .ah-ab-contact a,
.fusion-body .ah-ab .ah-ab-contact dd,
.fusion-body .ah-ab .ah-ab-contact dt { color: var(--ah-navy); }
.fusion-body .ah-ab .ah-ab-contact dt { color: var(--ah-text-muted); }
.ah-ab .ah-ab-testimonial { margin-top: 40px; }
.ah-ab .ah-ab-path h3,
.ah-ab .ah-ab-path p { hyphens: manual; -webkit-hyphens: manual; }
@media (min-width: 1025px) {
  .ah-ab-overlap .ah-ab-overlap__card { align-self: flex-start !important; margin-top: 140px !important; margin-bottom: 0 !important; }
  .ah-ab-overlap .ah-ab-overlap__body { margin-top: 88px !important; }
}
@media (max-width: 640px) {
  .ah-ab table.ah-ab-table:not(.ah-ab-table--stack) { table-layout: fixed; }
  .ah-ab table.ah-ab-table:not(.ah-ab-table--stack) th,
  .ah-ab table.ah-ab-table:not(.ah-ab-table--stack) td { padding-right: 8px; font-size: 0.9375rem; overflow-wrap: anywhere; }
  .ah-ab table.ah-ab-table:not(.ah-ab-table--stack) th { font-size: 0.6875rem; }
}
.ah-ab .table-1,
.ah-ab .fusion-table { overflow: visible; }
@media (max-width: 1024px) {
  .fusion-body .ah-ab-overlap .ah-ab-overlap__card {
    width: calc(100% - 2 * var(--ab-edge)) !important;
    max-width: calc(100% - 2 * var(--ab-edge)) !important;
    flex: 0 0 calc(100% - 2 * var(--ab-edge)) !important;
  }
}
/* Phones: keep text and photograph alternating (text, photo, text, photo). */
@media (max-width: 640px) {
  .ah-ab-opening .fusion-builder-row .ah-ab-order-img { order: 10; }
  .fusion-body .ah-ab-opening .fusion-layout-column { padding-left: 0 !important; padding-right: 0 !important; }
  .fusion-body .ah-ab-opening .ah-ab-order-img { margin-bottom: 0 !important; }
}

/* ---- 15-16. How I consult: numbered step rail ------------------------------
   After the Surface Page "On the day" pattern: controls on a rule, then the
   steps side by side, scrolling and snapping. The rule across the numbers
   joins the steps into one sequence. */
.ah-ab-consult .ah-ab-railhead .fusion-builder-row-inner { flex-wrap: nowrap; align-items: center; gap: 24px; }
.ah-ab-consult .ah-ab-railctl > .fusion-column-wrapper { flex-direction: row !important; gap: 12px; }
.ah-ab-consult .ah-ab-raillinecol { flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
.ah-ab-consult .ah-ab-railline { margin: 0 !important; }
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn {
  width: 52px; height: 52px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ah-navy); color: var(--ah-cream); border: 1px solid var(--ah-navy);
  font-size: 0; transition: background-color var(--ah-transition), opacity var(--ah-transition);
}
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn .fusion-button-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn::before { font-family: var(--ah-font-body); font-size: 1.25rem; line-height: 1; color: var(--ah-cream) !important; display: block; }
.fusion-body .ah-ab .fusion-button.ah-ab-prev::before { content: "\2190"; }
.fusion-body .ah-ab .fusion-button.ah-ab-next::before { content: "\2192"; }
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn:hover { background: var(--ah-navy-deep); }
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn:focus-visible { outline: var(--ah-focus); outline-offset: 3px; }
.fusion-body .ah-ab .fusion-button.ah-ab-railbtn[aria-disabled="true"] { opacity: 0.35; cursor: default; }

.ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--ah-rule) transparent;
}
.ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner:focus-visible { outline: var(--ah-focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner { scroll-behavior: auto; }
}
.fusion-body .ah-ab-consult .ah-ab-railcard {
  flex: 0 0 var(--awb-width-large) !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
  border: 1px solid var(--ah-rule);
  box-sizing: border-box;
}
@media (max-width: 1024px) { .fusion-body .ah-ab-consult .ah-ab-railcard { flex-basis: var(--awb-width-medium) !important; } }
@media (max-width: 640px) {
  .fusion-body .ah-ab-consult .ah-ab-railcard { flex-basis: var(--awb-width-small) !important; padding: 0 !important; }
  .fusion-body .ah-ab-consult .ah-ab-railcard > .fusion-column-wrapper { padding: 28px 24px 32px !important; }
  .ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner { gap: 12px; }
  .fusion-body .ah-ab .fusion-button.ah-ab-railbtn { width: 46px; height: 46px; }
}
/* Number on a bronze rule that runs to the card edge: the visual thread. */
.ah-ab p.ah-ab-railnum {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--ah-font-display);
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem);
  line-height: 1;
  color: var(--ah-navy);
  margin: 0 -40px 28px 0;
}
.ah-ab p.ah-ab-railnum::after { content: ""; flex: 1 1 auto; border-top: 1px solid var(--ah-bronze); }
@media (max-width: 640px) { .ah-ab p.ah-ab-railnum { margin-right: -24px; } }
.ah-ab .ah-ab-railcard h3 { font-size: var(--ah-h3); }
.ah-ab .ah-ab-railcard p { margin: 0; }

/* ---- 20. Credentials register (full width, no image) ----------------------- */
.ah-ab-credcard .fusion-builder-row-inner { row-gap: 0; }
.fusion-body .ah-ab-credcard .ah-ab-cred { margin-bottom: 0 !important; }
.fusion-body .ah-ab-credcard .ah-ab-cred > .fusion-column-wrapper {
  border-top: 1px solid var(--ah-rule);
  padding: 22px 32px 24px 0;
  height: 100%;
  box-sizing: border-box;
}
.fusion-body .ah-ab-credcard .ah-ab-cred:nth-child(odd of .ah-ab-cred) > .fusion-column-wrapper { padding-right: 48px; }
.fusion-body .ah-ab-credcard .ah-ab-cred:nth-child(even of .ah-ab-cred) > .fusion-column-wrapper { padding-left: 48px; border-left: 1px solid var(--ah-rule); }
.ah-ab p.ah-ab-credlabel {
  font-size: var(--ah-eyebrow); font-weight: 600; letter-spacing: var(--ah-ls-eyebrow); text-transform: uppercase;
  color: var(--ah-text-muted); margin: 0 0 8px;
}
.ah-ab p.ah-ab-credvalue {
  font-family: var(--ah-font-display);
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
  line-height: 1.35; color: var(--ah-navy); margin: 0;
}
@media (max-width: 1024px) {
  .fusion-body .ah-ab-quals .ah-ab-credcard { padding: 48px 36px 32px !important; }
}
@media (max-width: 640px) {
  .fusion-body .ah-ab-quals .ah-ab-credcard { padding: 40px 20px 24px !important; }
  .fusion-body .ah-ab-credcard .ah-ab-cred > .fusion-column-wrapper,
  .fusion-body .ah-ab-credcard .ah-ab-cred:nth-child(n) > .fusion-column-wrapper { padding: 18px 0 20px !important; border-left: 0 !important; }
}

/* ---- 21. What patients say: centre every element, not just its text -------- */
.ah-ab-patients .fusion-text > *,
.ah-ab-patients blockquote.ah-ab-quote p { margin-left: auto !important; margin-right: auto !important; }
.ah-ab-patients blockquote.ah-ab-quote--mark::before { margin-inline: auto; text-align: center; }
/* Avada's `.fusion-flex-container .fusion-row .fusion-builder-row-inner { overflow: … }`
   loads later; out-rank it so the step rail can scroll. */
.fusion-body .ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner { overflow-x: auto !important; overflow-y: hidden !important; }

/* ---- 2. Introduction (replaces the Quick Answer strip) ---------------------- */
.ah-ab-introband .fusion-text { max-width: 960px; margin-inline: auto; }
.ah-ab p.ah-ab-introlead {
  font-family: var(--ah-font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.45vw, 2.375rem);
  line-height: 1.32;
  color: var(--ah-navy);
  text-align: center;
  max-width: none;
  margin: 0 auto 48px;
}
@media (max-width: 640px) { .ah-ab p.ah-ab-introlead { margin-bottom: 36px; } }
.ah-ab-introband .fusion-text > p.ah-ab-introlead:last-child { margin-bottom: 48px; }
@media (max-width: 640px) {
  .ah-ab-introband .fusion-text > p.ah-ab-introlead:last-child { margin-bottom: 36px; }
  /* Opening columns keep the site's 20px column gutter on phones. */
  .fusion-body .ah-ab-opening .fusion-layout-column { padding-left: 20px !important; padding-right: 20px !important; }
}
/* Introduction at lead size, not display size (client direction 20/10/2026):
   ~22px desktop, ~19.5px tablet, 19px phone; measure kept near 70 characters. */
.ah-ab-introband .fusion-text { max-width: 760px; }
.ah-ab p.ah-ab-introlead {
  font-size: clamp(1.1875rem, 1.05rem + 0.35vw, 1.375rem);
  line-height: 1.6;
}

/* ---- 22. Family and interests: image left, story right ---------------------- */
@media (max-width: 640px) {
  .fusion-body .ah-ab-family .ah-ab-familytext { padding-left: 20px !important; }
  .fusion-body .ah-ab-family .ah-ab-familytext > .fusion-column-wrapper { padding-left: 0 !important; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .fusion-body .ah-ab-family .ah-ab-familytext { padding-left: 5% !important; }
}

/* ---- 25. "Not ready to book" paths as question boxes -----------------------
   Each box is clickable as a whole through the link already in its copy (a
   stretched link), so there is one tab stop and one accessible name per box. */
.fusion-body .ah-ab-paths .ah-ab-pathcard { position: relative; margin-bottom: 20px !important; }
.fusion-body .ah-ab-paths .ah-ab-pathcard > .fusion-column-wrapper {
  height: 100%;
  box-sizing: border-box;
  border-left: 1px solid var(--ah-rule) !important;
  border-right: 1px solid var(--ah-rule);
  border-bottom: 1px solid var(--ah-rule);
  padding-left: 32px !important;
  transition: background-color var(--ah-transition), border-color var(--ah-transition);
}
.fusion-body .ah-ab-paths .ah-ab-pathcard + .ah-ab-pathcard > .fusion-column-wrapper { padding-left: 32px !important; }
.ah-ab .ah-ab-pathcard h3 { font-size: var(--ah-h4); line-height: 1.3; margin-bottom: 14px; }
.ah-ab .ah-ab-pathcard p { margin: 0; }
.ah-ab .ah-ab-pathcard a { position: static; }
.ah-ab .ah-ab-pathcard a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ah-ab .ah-ab-pathcard a::before { content: "\2192"; position: absolute; right: 28px; bottom: 26px; color: var(--ah-bronze); font-weight: 600; transition: transform var(--ah-transition); }
.ah-ab .ah-ab-pathcard p { padding-right: 28px; }
.fusion-body .ah-ab-paths .ah-ab-pathcard:hover > .fusion-column-wrapper,
.fusion-body .ah-ab-paths .ah-ab-pathcard:focus-within > .fusion-column-wrapper { border-color: var(--ah-navy) !important; }
.ah-ab .ah-ab-pathcard:hover a::before,
.ah-ab .ah-ab-pathcard:focus-within a::before { transform: translateX(4px); }
.ah-ab .ah-ab-pathcard a:focus-visible { outline: none; }
.ah-ab .ah-ab-pathcard:focus-within { outline: var(--ah-focus); outline-offset: 3px; }
@media (min-width: 641px) and (max-width: 1023px) {
  /* Three across is too narrow at tablet width: stack full width, one per row. */
  .fusion-body .ah-ab-paths .ah-ab-pathcard { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
}
@media (max-width: 640px) {
  .fusion-body .ah-ab-paths .ah-ab-pathcard > .fusion-column-wrapper,
  .fusion-body .ah-ab-paths .ah-ab-pathcard + .ah-ab-pathcard > .fusion-column-wrapper { padding: 28px 24px 30px !important; }
}
@media (max-width: 640px) {
  /* Out-rank the earlier divider rule for the plain-text paths (.ah-ab-path + .ah-ab-path). */
  .fusion-body .ah-ab-paths .ah-ab-path.ah-ab-pathcard + .ah-ab-path.ah-ab-pathcard > .fusion-column-wrapper { border-top: 2px solid var(--ah-bronze); }
}
/* All five step cards share one height — the tallest card's — at every width. */
.fusion-body .ah-ab-consult .ah-ab-railwrap .fusion-builder-row-inner { align-items: stretch !important; }
.fusion-body .ah-ab-consult .ah-ab-railcard { align-self: stretch !important; }
.fusion-body .ah-ab-consult .ah-ab-railcard > .fusion-column-wrapper { height: 100%; box-sizing: border-box; justify-content: flex-start !important; }

/* ---- 19. The four decisions as a 2 x 2 group of cards ------------------------
   A grid rather than flex rows, so all four cards share the tallest card's
   height across both rows, not just within a row. */
.fusion-body .ah-ab-four .ah-ab-decisiongrid .fusion-builder-row-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 20px;
  margin: 0 !important;
  width: 100% !important;
}
.fusion-body .ah-ab-four .ah-ab-decisioncard {
  width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important;
}
.fusion-body .ah-ab-four .ah-ab-decisioncard > .fusion-column-wrapper {
  height: 100%; box-sizing: border-box; justify-content: flex-start !important;
  border: 1px solid var(--ah-rule); border-top: 2px solid var(--ah-bronze);
}
.ah-ab .ah-ab-decisioncard h3 { font-size: var(--ah-h3); margin-bottom: 14px; }
.ah-ab .ah-ab-decisioncard p:not(.ah-ab-step) { margin: 0; }
.ah-ab .ah-ab-decisioncard p.ah-ab-step { font-size: 2.5rem; margin-bottom: 18px; }
@media (max-width: 640px) {
  .fusion-body .ah-ab-four .ah-ab-decisiongrid .fusion-builder-row-inner { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .fusion-body .ah-ab-four .ah-ab-decisioncard > .fusion-column-wrapper { padding: 32px 24px 36px !important; }
}
.fusion-body .ah-ab-four .ah-ab-decisioncard { align-self: stretch !important; }

/* ---- 18. Thinking: portrait with the quote card over its lower edge -------- */
.ah-ab .ah-ab-portrait__img { margin: 0 !important; }
.ah-ab .ah-ab-portrait .fusion-text:has(.ah-ab-portrait__quote) {
  position: relative;
  z-index: 2;
  margin: -112px 0 0 40px;
}
/* The shared blockquote reset in components.css uses !important, hence it here. */
.ah-ab blockquote.ah-ab-portrait__quote {
  background: var(--ah-navy) !important;
  border-top: 2px solid var(--ah-bronze) !important;
  padding: 36px 36px 32px !important;
}
.ah-ab blockquote.ah-ab-portrait__quote p { color: var(--ah-cream); }
/* D-145: portrait quote set smaller than the shared quote token, at Cheryl's request. */
.ah-ab blockquote.ah-ab-portrait__quote p { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem) !important; line-height: 1.5 !important; }
.ah-ab.ah-band--light blockquote.ah-ab-portrait__quote footer { color: rgba(249, 245, 242, 0.75); }
@media (max-width: 1024px) {
  .ah-ab .ah-ab-portrait .fusion-text:has(.ah-ab-portrait__quote) { margin: -72px 0 0 20px; }
  .ah-ab blockquote.ah-ab-portrait__quote { padding: 28px 26px 26px !important; }
}
@media (max-width: 640px) {
  .ah-ab .ah-ab-portrait .fusion-text:has(.ah-ab-portrait__quote) { margin: -64px 20px 0; }
}
