/* ============================================================
   CBT Referral Form - "World Cup" styling
   V10 (hero CTA line weight)
   SCOPED to #single-referral (the Referral Page template's <main>)
   so it only restyles THIS page and won't affect other CF7 forms
   or the rest of the site.

   Purely cosmetic: no markup, field-name, id, or HubSpot property
   changes. Requires the "Referral Page" template (page-referral.php)
   assigned so #single-referral exists.

   Brand tokens (from CBT guidelines / World Cup LP):
     Navy   #373266   Navy-deep #28244d   Navy-night #16132b
     Gold   #e9c43b   Gold-bright #f7d863
     Sky    #4eb2e5   Cream #fdfaf2       Ink #2e3068
   ============================================================ */

/* ---- The form as a cream "pass" card ---- */
#single-referral .x3-group-required {
  background: #fdfaf2;
  border: 1px solid #efe7d6;
  border-top: 4px solid #373266;      /* navy accent bar, echoes the WC pass-head */
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(20, 19, 43, .12);
  padding: 34px 32px;
  max-width: 1167px;
  margin: 8px auto 0;
}

@media (max-width: 640px) {
  #single-referral .x3-group-required { padding: 24px 18px; }
}

/* ---- Section headings ("Your Information" / "Who Are You Sharing This Opportunity With?") ---- */
#single-referral .form-section-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #373266;
  font-size: 20px;
  line-height: 1.1;
  margin: 30px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9c43b;    /* gold underline accent */
}
#single-referral .form-section-title:first-child { margin-top: 0; }

/* ---- Field spacing ---- */
#single-referral .form-group-field { margin-bottom: 16px; }

/* ---- Labels ---- */
#single-referral .form-group-field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #403c5e;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
#single-referral .form-group-field > label span { color: #4eb2e5; }  /* required * */

/* ---- Inputs & selects (bordered, rounded, focus glow) ---- */
#single-referral .form-control,
#single-referral input[type="text"],
#single-referral input[type="email"],
#single-referral input[type="tel"],
#single-referral select {
  width: 100%;
  font-size: 14.5px;
  color: #2e3068;
  background: #fff;
  border: 1.5px solid #ddd5c4;
  border-radius: 9px;
  padding: 11px 12px;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
#single-referral input::placeholder { color: #a9a399; }

#single-referral .form-control:focus,
#single-referral input:focus,
#single-referral select:focus {
  outline: none;
  border-color: #4eb2e5;
  box-shadow: 0 0 0 3px rgba(78, 178, 229, .18);
}

/* CF7 invalid state */
#single-referral .wpcf7-not-valid {
  border-color: #d8553f !important;
  box-shadow: 0 0 0 3px rgba(216, 85, 63, .14);
}

/* ---- Submit button (World Cup gold) ---- */
#single-referral .submit,
#single-referral button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-width: 200px;
  background: #e9c43b;
  color: #16132b;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 0;
  border-radius: 11px;
  padding: 14px 30px;
  margin-top: 6px;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
#single-referral .submit:hover,
#single-referral button[type="submit"]:hover {
  background: #f7d863;
  color: #16132b;
  transform: translateY(-1px);
}

/* ---- Disclaimer ---- */
#single-referral .form-group-field p {
  margin-top: 8px;
  line-height: 1.5;
}

/* ---- CF7 response messages ---- */
#single-referral .wpcf7-response-output {
  border-radius: 9px;
  font-size: 13px;
  margin: 16px 0 0;
}

/* ============================================================
   Referral Page - "Get Started Today" divider
   Added V2.

   Scoped to .x3-get-started--referral, a class that exists ONLY
   on the forked template part
   (cbt-x3-child/template-parts/global/content-get-started-referral.php).
   The global get-started section cannot be reached by these rules.
   ============================================================ */

#single-referral .x3-get-started--referral {
  position: relative;
  margin-top: 0;
  padding-top: 56px;
}

/* Gold rule that fades out at both ends - reads as a division without
   putting a hard line across an otherwise open layout. */
#single-referral .x3-get-started--referral::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(233, 196, 59, 0) 0%,
    rgba(233, 196, 59, .85) 50%,
    rgba(233, 196, 59, 0) 100%
  );
}

@media (max-width: 640px) {
  #single-referral .x3-get-started--referral { padding-top: 36px; }
}

/* ------------------------------------------------------------
   ALTERNATIVE A - plain hairline, contained to the grid width
   instead of full-bleed. Swap in if the fade reads too soft.

   #single-referral .x3-get-started--referral::before {
     left: 50%;
     right: auto;
     transform: translateX(-50%);
     width: min(1167px, calc(100% - 48px));
     height: 1px;
     background: #e7e2d6;
   }
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ALTERNATIVE B - tint the section instead of ruling it, so the
   cream form card sits on white and this block sits on cream.
   Stronger separation; use INSTEAD OF the ::before, not with it.

   #single-referral .x3-get-started--referral {
     background: #fdfaf2;
     border-top: 1px solid #efe7d6;
     padding-top: 56px;
     padding-bottom: 56px;
   }
   ------------------------------------------------------------ */


/* ============================================================
   Referral Page - "Ready to Refer a Student?" CTA cards
   Added V3.

   Scoped to .cbt-refer-cta / .cbt-refer-card, classes that exist
   ONLY in the forked template part. Nothing here can reach the
   global get-started section or any other page.
   ============================================================ */

#single-referral .cbt-refer-cta {
  position: relative;
  padding: 64px 0 72px;
  background-color: #f7f8fa;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Placeholder watermark until the real building photo is supplied.
   Suppressed automatically once --has-bg is present. */
#single-referral .cbt-refer-cta:not(.cbt-refer-cta--has-bg)::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 55%, rgba(163,157,148,.16) 100%),
    linear-gradient(200deg, rgba(78,178,229,.07) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
}

#single-referral .cbt-refer-cta > .container { position: relative; z-index: 1; }

/* ---- Heading block ---- */
#single-referral .cbt-refer-cta__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

#single-referral .cbt-refer-cta__eyebrow {
  color: #e9c43b;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

#single-referral .cbt-refer-cta__title {
  color: #373266;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.1;
  margin: 0 0 18px;
  padding-bottom: 18px;
  position: relative;
}
#single-referral .cbt-refer-cta__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 116px;
  height: 4px;
  border-radius: 2px;
  background: #e9c43b;
}

#single-referral .cbt-refer-cta__info {
  color: #4a4a5e;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* ---- Cards ---- */
#single-referral .cbt-refer-cta__cards { align-items: stretch; }
#single-referral .cbt-refer-cta__cards > [class*="col-"] {
  display: flex;
  margin-bottom: 22px;
}

#single-referral .cbt-refer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 14px;
  padding: 34px 26px 28px;
  box-shadow: 0 10px 30px rgba(23, 22, 51, .07);
  transition: transform .18s, box-shadow .18s;
}
#single-referral .cbt-refer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(23, 22, 51, .12);
}

/* Featured card - gold outline, matches the mockup's primary action */
#single-referral .cbt-refer-card--featured {
  border: 2px solid #e9c43b;
  box-shadow: 0 10px 30px rgba(233, 196, 59, .18);
}
#single-referral .cbt-refer-card--featured:hover {
  box-shadow: 0 16px 38px rgba(233, 196, 59, .28);
}

#single-referral .cbt-refer-card__icon {
  width: 62px;
  height: 62px;
  color: #e9c43b;
  margin-bottom: 16px;
  flex: none;
}

#single-referral .cbt-refer-card__title {
  color: #373266;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
}

#single-referral .cbt-refer-card__desc {
  color: #55556b;
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 22px;
  max-width: 24ch;
  /* push the button to a shared baseline across all three cards */
  flex-grow: 1;
}

/* ---- Card buttons ---- */
#single-referral .cbt-refer-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #373266;
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 18px;
  transition: background .15s, color .15s;
}
#single-referral .cbt-refer-card__btn:hover,
#single-referral .cbt-refer-card__btn:focus {
  background: #28244d;
  color: #fff;
  text-decoration: none;
}

#single-referral .cbt-refer-card__btn--gold {
  background: #e9c43b;
  color: #16132b;
}
#single-referral .cbt-refer-card__btn--gold:hover,
#single-referral .cbt-refer-card__btn--gold:focus {
  background: #f7d863;
  color: #16132b;
}

#single-referral .cbt-refer-card__btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Visible keyboard focus - the theme buttons drop this */
#single-referral .cbt-refer-card__btn:focus-visible {
  outline: 3px solid #4eb2e5;
  outline-offset: 2px;
}

/* ---- Help line ---- */
#single-referral .cbt-refer-cta__help {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  color: #55556b;
  font-size: 15.5px;
}
#single-referral .cbt-refer-cta__help .cbt-refer-card__btn-icon {
  width: 20px;
  height: 20px;
  color: #e9c43b;
}
#single-referral .cbt-refer-cta__help-div {
  width: 1px;
  height: 18px;
  background: #cfd3dd;
}
#single-referral .cbt-refer-cta__help a {
  color: #373266;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
#single-referral .cbt-refer-cta__help a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  #single-referral .cbt-refer-cta { padding: 44px 0 48px; }
  #single-referral .cbt-refer-card { padding: 28px 20px 24px; }
  #single-referral .cbt-refer-card__desc { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  #single-referral .cbt-refer-card,
  #single-referral .cbt-refer-card:hover { transition: none; transform: none; }
}


/* ============================================================
   Referral Page - Hero / intro block
   Added V4.

   Scoped to .cbt-referral-hero, a class that exists ONLY in
   content-referral-hero.php. NOTE: this block sits OUTSIDE
   <main id="single-referral">, so these rules are deliberately
   NOT prefixed with that id. The class name is unique enough to
   scope them on its own.
   ============================================================ */

.cbt-referral-hero {
  padding: 56px 0 44px;
  background: #fff;
}

.cbt-referral-hero__row {
  align-items: center;
}

/* ---- Copy column ---- */
.cbt-referral-hero__supporting {
  color: #e9c43b;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.cbt-referral-hero__headline {
  color: #373266;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  margin: 0 0 20px;
  padding-bottom: 18px;
  position: relative;
}
.cbt-referral-hero__headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 116px;
  height: 4px;
  border-radius: 2px;
  background: #e9c43b;
}

.cbt-referral-hero__para {
  color: #4a4a5e;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 56ch;
}

.cbt-referral-hero__cta-line {
  color: #373266;
  /* V10: was 800. The theme font has no 800 weight, so the browser
     faked it by thickening strokes, which closed the "c" into an "o"
     at this size ("Conneotion" / "oonexion"). 700 is a real weight. */
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 18px;
}

.cbt-referral-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e9c43b;
  color: #16132b;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  padding: 15px 28px;
  transition: background .15s, transform .15s;
}
.cbt-referral-hero__btn:hover,
.cbt-referral-hero__btn:focus {
  background: #f7d863;
  color: #16132b;
  text-decoration: none;
  transform: translateY(-1px);
}
.cbt-referral-hero__btn:focus-visible {
  outline: 3px solid #4eb2e5;
  outline-offset: 2px;
}
.cbt-referral-hero__btn-icon { width: 18px; height: 18px; flex: none; }

/* ---- Media column ---- */
.cbt-referral-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(23, 22, 51, .14);
}

/* Placeholder until the real image is supplied */
.cbt-referral-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 2px dashed #cfd3dd;
  background:
    linear-gradient(135deg, rgba(55,50,102,.06) 0%, rgba(78,178,229,.10) 100%);
  color: #8a8fa3;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}

@media (max-width: 767px) {
  .cbt-referral-hero { padding: 36px 0 28px; }
  .cbt-referral-hero__media { margin-top: 28px; }
  .cbt-referral-hero__para { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cbt-referral-hero__btn,
  .cbt-referral-hero__btn:hover { transition: none; transform: none; }
}


/* ============================================================
   Referral Page - breadcrumb bar
   Added V5.

   x3_breadcrumbs() was moved out of #page-content and up under the
   banner. It no longer inherits that section's padding, so it gets
   its own here. Scoped to .cbt-referral-breadcrumbs, which exists
   only in page-referral.php.
   ============================================================ */

.cbt-referral-breadcrumbs {
  padding: 18px 0 0;
  background: #fff;
}

@media (max-width: 767px) {
  .cbt-referral-breadcrumbs { padding-top: 12px; }
}

/* The hero opens with its own generous top padding; with the
   breadcrumb bar now above it, trim that back so the two don't
   stack into an oversized gap. */
.cbt-referral-breadcrumbs + .cbt-referral-hero {
  padding-top: 28px;
}


/* ============================================================
   Referral Page - hero mobile pass
   Added V6.

   Bootstrap stacks the two col-md-6 columns below 768px, which
   works, but the desktop type scale and spacing are too generous
   at phone widths. This tightens them.
   ============================================================ */

@media (max-width: 767px) {

  /* Guard against any horizontal overflow from the shadow or a
     wide image - phones are unforgiving about a stray scrollbar. */
  .cbt-referral-hero { overflow-x: hidden; }

  .cbt-referral-hero__img,
  .cbt-referral-hero__placeholder {
    max-width: 100%;
    /* Stop tall portrait crops from eating the whole screen */
    max-height: 58vh;
    object-fit: cover;
    object-position: center;
  }

  .cbt-referral-hero__supporting {
    font-size: 11.5px;
    letter-spacing: .16em;
    margin-bottom: 8px;
  }

  .cbt-referral-hero__headline {
    font-size: 27px;
    line-height: 1.15;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .cbt-referral-hero__headline::after { width: 88px; height: 3px; }

  .cbt-referral-hero__para {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .cbt-referral-hero__cta-line {
    font-size: 17px;
    margin-bottom: 14px;
  }

  /* Full-width tap target - easier to hit than an inline button */
  .cbt-referral-hero__btn {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 15px;
  }

  .cbt-referral-hero__media { margin-top: 24px; }
}

/* ------------------------------------------------------------
   OPTIONAL - put the photo ABOVE the copy on mobile.
   Uncomment if the image should lead on phones.

   @media (max-width: 767px) {
     .cbt-referral-hero__row { display: flex; flex-wrap: wrap; }
     .cbt-referral-hero__media { order: 1; margin-top: 0; margin-bottom: 24px; }
     .cbt-referral-hero__copy  { order: 2; }
   }
   ------------------------------------------------------------ */


/* ============================================================
   Referral Page - divider between hero and form
   Added V7.

   Same gold fade used above the CTA section, so the page reads as
   hero / rule / form / rule / CTA rather than three unrelated
   blocks separated by whitespace.

   NOTE: #page-content also carries .x3-section--bordered from the
   theme. If that class turns out to draw its own top border, the
   two will stack - remove .x3-section--bordered from the section
   in page-referral.php rather than fighting it here.
   ============================================================ */

#single-referral .cbt-form-section {
  position: relative;
  padding-top: 48px;
}

#single-referral .cbt-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(233, 196, 59, 0) 0%,
    rgba(233, 196, 59, .85) 50%,
    rgba(233, 196, 59, 0) 100%
  );
}

/* The hero's bottom padding plus the section's top padding were
   stacking into a large dead band. Pull the hero in. */
.cbt-referral-hero { padding-bottom: 28px; }

/* "YOUR REFERRAL. THEIR FUTURE." sat a long way from the rule above
   it and from the card below it. Tighten both sides. */
#single-referral .cbt-form-section .page-content-heading {
  margin-top: 0;
  margin-bottom: 22px;
}

@media (max-width: 767px) {
  #single-referral .cbt-form-section { padding-top: 32px; }
  .cbt-referral-hero { padding-bottom: 20px; }
  #single-referral .cbt-form-section .page-content-heading { margin-bottom: 16px; }
}


/* ============================================================
   Referral Form - World Cup treatment: numbered sections + icons
   Added V8.

   NO MARKUP CHANGES. Section numbers come from a CSS counter, and
   field icons are inline SVG data URIs applied via the existing
   .form-group-field__* wrapper classes already in the CF7 form.

   Placeholders are NOT here - they required editing the CF7 tags.
   See cbt_referral_cf7_form_v4.txt.
   ============================================================ */

/* ---- Numbered section badges (1, 2) ---- */
#single-referral .x3-group-required { counter-reset: cbt-section; }

#single-referral .form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

#single-referral .form-section-title::before {
  counter-increment: cbt-section;
  content: counter(cbt-section);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #373266;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

/* ---- Field icons ---- */
/* Applied to the input inside each named wrapper. Selects are left
   alone so the icon never collides with the dropdown caret. */
#single-referral .form-group-field__referrer-first-name input,
#single-referral .form-group-field__referrer-last-name input,
#single-referral .form-group-field__first-name input,
#single-referral .form-group-field__last-name input,
#single-referral .form-group-field__referrer-email input,
#single-referral .form-group-field__email input,
#single-referral .form-group-field__phone input {
  background-repeat: no-repeat;
  background-position: 13px 50%;
  background-size: 18px 18px;
  padding-left: 42px;
}

/* person */
#single-referral .form-group-field__referrer-first-name input,
#single-referral .form-group-field__referrer-last-name input,
#single-referral .form-group-field__first-name input,
#single-referral .form-group-field__last-name input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5'/%3E%3C/svg%3E");
}

/* envelope */
#single-referral .form-group-field__referrer-email input,
#single-referral .form-group-field__email input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* handset */
#single-referral .form-group-field__phone input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 4.5c.4-.3 1-.2 1.2.3l1.6 2.5c.3.4.2.9-.2 1.2l-1.2.9c-.3.2-.4.6-.2.9a10.5 10.5 0 0 0 4 4c.3.2.7.1.9-.2l.9-1.2c.3-.4.8-.5 1.2-.2l2.5 1.6c.5.2.6.8.3 1.2l-1 1.6c-.4.6-1 .9-1.7.8C10.6 17 7 13.4 6.1 7.2c-.1-.7.2-1.3.8-1.7z'/%3E%3C/svg%3E");
}

/* Keep the icon from sitting on top of a long placeholder */
#single-referral .form-group-field input::placeholder {
  color: #a9a399;
  opacity: 1;
}

@media (max-width: 640px) {
  #single-referral .form-section-title::before {
    width: 26px;
    height: 26px;
    font-size: 13.5px;
  }
  #single-referral .form-section-title { font-size: 17px; gap: 10px; }
}


/* ============================================================
   Referral Form - referrer phone field
   Added V9. Paired with cbt_referral_cf7_form_v5.txt.

   The new .form-group-field__referrer-phone wrapper needs the same
   handset icon and left padding as the student phone field, and the
   optional-field labels need a style.
   ============================================================ */

#single-referral .form-group-field__referrer-phone input {
  background-repeat: no-repeat;
  background-position: 13px 50%;
  background-size: 18px 18px;
  padding-left: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39d94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 4.5c.4-.3 1-.2 1.2.3l1.6 2.5c.3.4.2.9-.2 1.2l-1.2.9c-.3.2-.4.6-.2.9a10.5 10.5 0 0 0 4 4c.3.2.7.1.9-.2l.9-1.2c.3-.4.8-.5 1.2-.2l2.5 1.6c.5.2.6.8.3 1.2l-1 1.6c-.4.6-1 .9-1.7.8C10.6 17 7 13.4 6.1 7.2c-.1-.7.2-1.3.8-1.7z'/%3E%3C/svg%3E");
}

/* "(optional)" marker - quieter than the required asterisk so the
   difference between the two is readable at a glance. */
#single-referral .form-group-field > label em {
  font-style: normal;
  font-weight: 600;
  color: #8a8fa3;
  font-size: 11.5px;
  letter-spacing: .01em;
}