/* ==========================================================
   SUPPORT / FUNDING PAGE
   ========================================================== */

.funding-page-content,
.funding-page-content > *,
.support-funding-page {
  width: 100%;
  max-width: none;

  margin-right: 0;
  margin-left: 0;

  padding-right: 0;
  padding-left: 0;
}

.funding-page-content {
  margin: 0;
  padding: 0;

  background: var(--paper);
  color: var(--earth);
}

.funding-page-content > * {
  margin-top: 0;
}

.support-funding-page {
  position: relative;

  width: 100vw;
  max-width: none;

  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);

  background: var(--paper);
  color: var(--earth);

  box-sizing: border-box;
}

.support-funding-page__inner {
  width: calc(100% - clamp(120px, 14vw, 280px));
  max-width: 1320px;

  margin-right: auto;
  margin-left: auto;

  padding:
      clamp(22px, 2.5vw, 36px)
    0
    clamp(72px, 8vw, 112px);

  box-sizing: border-box;
}


/* ==========================================================
   PAGE INTRODUCTION
   ========================================================== */

.support-options {
  width: 100%;
  max-width: none;

  margin: 0;
}

.support-options__intro {
  width: 100%;
  max-width: 1080px;

  margin:
    0
    0
    clamp(54px, 6vw, 82px);
}

.support-options__eyebrow {
  margin: 0 0 13px;

  color: var(--earth);

  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.support-options__intro h1 {
  width: 100%;
  max-width: 1050px;

  margin: 0;

  color: var(--earth);

  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 950;

  text-wrap: balance;
}

.support-options__lead {
  width: 100%;
  max-width: 1180px;

  display: block;
  margin-top: clamp(28px, 3.5vw, 42px);
}

.support-options__lead p {
  margin: 0;

  color: rgba(0, 0, 0, 0.7);

  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.5;
  font-weight: 550;
}


/* ==========================================================
   INITIATIVE PROJECTS
   ========================================================== */

.funding-initiative-projects {
  width: 100%;

  margin: 0;

  padding:
    clamp(10px, 1vw, 16px)
    0
    clamp(68px, 8vw, 104px);
}


/* ==========================================================
   PROJECT GRID
   ========================================================== */

.funding-overview__grid {
  width: 100%;
  max-width: none;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: clamp(54px, 8vw, 120px);
  row-gap: clamp(58px, 7vw, 88px);

  margin: 0;
}


/* ==========================================================
   PROJECT CARDS
   ========================================================== */

.funding-project {
  width: 100%;
  min-width: 0;
}

.funding-project__content {
  width: 100%;
  max-width: 400px;

  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 0 auto;

  text-align: center;
}


/* ==========================================================
   PROJECT TITLE BADGE
   ========================================================== */

.funding-project__title {
  display: block;

  max-width: 100%;

  margin:
    0
    0
    10px;

  color: var(--earth);

  font-size: clamp(19px, 1.75vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.042em;
  font-weight: 950;
}

.funding-project__title a,
.funding-project__title > span {
  display: inline-block;

  max-width: 100%;

  padding:
    8px
    14px
    9px;

  border-radius: 999px;

  background: var(--brand-yellow);
  color: inherit;

  text-decoration: none;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.funding-project__title a:hover {
  color: inherit;
}

.funding-project__title a:focus-visible {
  outline: 3px solid var(--earth);
  outline-offset: 5px;
}

.funding-project__subtitle {
  max-width: 350px;

  margin:
    11px
    auto
    0;

  color: rgba(0, 0, 0, 0.7);

  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.34;
  font-weight: 630;
}


/* ==========================================================
   PROGRESS RING
   ========================================================== */

.funding-ring {
  --ring-thickness: 5;

  position: relative;

width: clamp(145px, 12vw, 180px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;
  flex: 0 0 auto;

  margin:
    0
    auto
    11px;

  border-radius: 50%;

  color: inherit;
  text-decoration: none;

  transition: transform 300ms ease;
}

.funding-ring__svg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
  overflow: visible;

  transform: rotate(-90deg);
}

.funding-ring__track,
.funding-ring__progress {
  fill: none;
  stroke-width: var(--ring-thickness);
}

.funding-ring__track {
  stroke: rgba(187, 189, 199, 0.34);
}

.funding-ring__progress {
  stroke: var(--brand-yellow);
  stroke-linecap: round;

  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--progress));

  transition:
    stroke-dashoffset
    600ms
    cubic-bezier(0.22, 1, 0.36, 1);
}

.funding-ring__progress--complete {
  stroke-dashoffset: 0;
  stroke-linecap: butt;
}

.funding-ring__image {
  position: relative;
  z-index: 1;

  width: 80%;
  height: 80%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;
}

.funding-ring__image img {
  width: 92%;
  height: 92%;

  display: block;

  object-fit: contain;
  object-position: center;

  transition: transform 350ms ease;
}

.funding-ring:hover {
  color: inherit;

  transform: translateY(-3px);
}

.funding-ring:hover .funding-ring__image img {
  transform: scale(1.025);
}

.funding-ring:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 5px;
}


/* ==========================================================
   ONGOING PROGRAMME ILLUSTRATION
   ========================================================== */

.funding-project__ongoing-illustration {
  position: relative;

   width: clamp(145px, 12vw, 180px);
  aspect-ratio: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  margin:
    clamp(15px, 1.6vw, 20px)
    auto
    11px;

  color: inherit;
  text-decoration: none;

  transition: transform 300ms ease;
}

.funding-project__ongoing-illustration img {
  width: 92%;
  height: 92%;

  display: block;

  object-fit: contain;
  object-position: center;

  transition: transform 350ms ease;
}

.funding-project__ongoing-illustration:hover {
  color: inherit;

  transform: translateY(-3px);
}

.funding-project__ongoing-illustration:hover img {
  transform: scale(1.025);
}

.funding-project__ongoing-illustration:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 5px;
}


/* ==========================================================
   PROJECT FUNDING INFORMATION
   ========================================================== */

.funding-project__percentage {
  margin: 0;

  color: var(--earth);

  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1;
  letter-spacing: -0.032em;
  font-weight: 950;
}

.funding-project__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;

  gap: 6px;

  margin: 11px 0 0;

  color: rgba(0, 0, 0, 0.68);

  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.25;
  font-weight: 650;
}

.funding-project__amount strong {
  display: inline-block;

  color: var(--earth);

  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1;
  letter-spacing: -0.032em;
  font-weight: 950;
}

.funding-project__amount span {
  display: inline-block;

  margin: 0;

  color: rgba(0, 0, 0, 0.68);

  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.2;
  font-weight: 600;
}


/* ==========================================================
   PROJECT DESCRIPTION
   ========================================================== */

.funding-project__description {
  max-width: 400px;

  margin:
    19px
    auto
    0;

  color: rgba(0, 0, 0, 0.72);

  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.48;
  font-weight: 550;
}


/* ==========================================================
   SUBTLE PROJECT LINK
   ========================================================== */

.funding-project__link {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  margin:
    20px
    auto
    0;

  padding-bottom: 3px;

  border-bottom: 1.5px solid currentColor;

  color: var(--earth);
  text-decoration: none !important;

  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1;
  font-weight: 850;

  transition:
    gap 180ms ease,
    opacity 180ms ease;
}

.funding-project__link *,
.funding-project__link:hover,
.funding-project__link:hover *,
.funding-project__link:focus,
.funding-project__link:focus * {
  text-decoration: none !important;
}

.funding-project__link:hover {
  gap: 10px;

  color: var(--earth);
}

.funding-project__link:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 5px;
}

.funding-project__link--disabled {
  opacity: 0.55;
  cursor: default;
}

/* ==========================================================
   RESEARCH FUNDING ACCORDION
   ========================================================== */

.funding-accordion {
  width: 100%;
  max-width: none;

  display: block;

  margin: 0;
  padding: 0;

  border-top: 2px solid var(--earth);
  border-right: 0;
  border-bottom: 2px solid var(--earth);
  border-left: 0;

  border-radius: 0;

  background: transparent;

  appearance: none;
  -webkit-appearance: none;

  box-sizing: border-box;
}

.funding-accordion__summary {
  width: 100%;
  max-width: none;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    38px;

  align-items: center;

  gap: clamp(24px, 3vw, 46px);

  margin: 0;

  padding:
    clamp(28px, 3vw, 40px)
    0;

  border: 0;
  border-radius: 0;

  background: transparent;
  color: var(--earth);

  cursor: pointer;
  list-style: none;

  box-sizing: border-box;

  transition: opacity 180ms ease;
}

.funding-accordion__summary::-webkit-details-marker {
  display: none;
}

.funding-accordion__summary::marker {
  display: none;
  content: "";
}

.funding-accordion__summary:hover {
  opacity: 0.7;
}

.funding-accordion__summary:focus-visible {
  outline: none;
}

.funding-accordion__heading {
  width: 100%;
  max-width: none;
  min-width: 0;

  display: block;
}

.funding-accordion__eyebrow {
  display: block;

  margin: 0 0 10px;

  color: rgba(0, 0, 0, 0.48);

  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.funding-accordion__title {
  display: block;

  color: var(--earth);

  font-size: clamp(27px, 2.9vw, 42px);
  line-height: 0.97;
  letter-spacing: -0.056em;
  font-weight: 950;
}

.funding-accordion__description {
  display: block;

  width: 100%;
  max-width: 920px;

  margin-top: 12px;

  color: rgba(0, 0, 0, 0.68);

  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.45;
  font-weight: 550;
}

.funding-accordion__toggle {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  border: 0;
  border-radius: 0;

  background: transparent;
  color: var(--earth);
}

.funding-accordion__arrow {
  display: block;

  font-size: 26px;
  line-height: 1;
  font-weight: 500;

  transform: rotate(0deg);
  transform-origin: center;

  transition: transform 260ms ease;
}

.funding-accordion[open] .funding-accordion__arrow {
  transform: rotate(90deg);
}

.funding-accordion[open] .funding-accordion__summary {
  padding-bottom: 25px;
}


/* ==========================================================
   ACCORDION CONTENT
   ========================================================== */

.funding-accordion__content {
  width: 100%;
  max-width: none;

  overflow: hidden;

  margin: 0;

  padding:
    clamp(40px, 5vw, 60px)
    0
    clamp(64px, 7vw, 88px);

  border-top: 1px solid rgba(0, 0, 0, 0.14);

  background: transparent;
}

/* ==========================================================
   PHILANTHROPIC CONTACT
   ========================================================== */

.funding-accordion__contact {
  width: 100%;
  max-width: 920px;

  display: block;

  margin: 0;
  padding-top: clamp(28px, 3vw, 42px);

  color: rgba(0, 0, 0, 0.68);

  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.5;
  font-weight: 550;
}

.funding-accordion__contact a {
  color: var(--earth);

  font-weight: 850;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;

  overflow-wrap: anywhere;
}

.funding-accordion__contact a:hover {
  color: var(--earth);
}

.funding-accordion__contact a:focus-visible {
  outline: 2px solid var(--earth);
  outline-offset: 3px;
}

/* ==========================================================
   STICKY DONATION FOOTER
   ========================================================== */

.support-sticky-footer {
  position: sticky;
  z-index: 30;
  bottom: 0;

  width: 100%;

  margin-top: 0;

  pointer-events: none;
}


/* ==========================================================
   FLOATING DONATION ACTION
   ========================================================== */

.support-donation-action {
  position: relative;
  z-index: 2;

  width: 100%;

  display: flex;
  justify-content: center;

  margin-bottom: 9px;

  pointer-events: none;
}

.support-donation-action__button {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin: 0;

  padding:
    0
    7px
    0
    21px;

  border: 2px solid var(--earth);
  border-radius: 999px;

  background: var(--brand-yellow);
  color: var(--earth);

  text-decoration: none;
  white-space: nowrap;

  font-size: 13px;
  line-height: 1;
  font-weight: 950;

  box-shadow: 4px 4px 0 var(--earth);

  pointer-events: auto;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.support-donation-action__button:hover {
  background: var(--brand-yellow);
  color: var(--earth);

  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--earth);
}

.support-donation-action__button:focus-visible {
  outline: 4px solid var(--paper);
  outline-offset: 4px;
}

.support-donation-action__arrow {
  width: 36px;
  aspect-ratio: 1;

  display: grid;
  place-items: center;
  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--earth);
  color: var(--brand-yellow);

  font-size: 19px;
  line-height: 1;

  transition: transform 180ms ease;
}

.support-donation-action__button:hover
.support-donation-action__arrow {
  transform: translateX(2px);
}


/* ==========================================================
   SLIM BOTTOM INFORMATION BAND
   ========================================================== */

.support-bottom-band {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: none;

  margin: 0;

  padding:
    13px
    clamp(28px, 5vw, 76px)
    14px;

  border-top: 1.5px solid var(--earth);

  background: var(--paper);
  color: var(--earth);

  box-shadow:
    0
    -12px
    30px
    rgba(0, 0, 0, 0.04);

  box-sizing: border-box;

  pointer-events: auto;
}

.support-bottom-band__inner {
  width: 100%;
  max-width: 1320px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(280px, 0.55fr);

  align-items: center;

  gap: clamp(36px, 6vw, 88px);

  margin-right: auto;
  margin-left: auto;
}


/* ==========================================================
   BOTTOM BAND LABELS
   ========================================================== */

.support-bottom-band__label {
  margin: 0 0 6px;

  color: rgba(0, 0, 0, 0.5);

  font-size: 8px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* ==========================================================
   BANK DETAILS
   ========================================================== */

.support-bottom-band__bank {
  width: 100%;
  min-width: 0;
}

.support-bottom-band__bank-details {
  width: 100%;

  display: grid;
  grid-template-columns:
    minmax(150px, 0.9fr)
    minmax(210px, 1.3fr)
    minmax(100px, 0.5fr);

  align-items: start;

  gap: clamp(18px, 2.5vw, 38px);
}

.support-bottom-band__bank-details p {
  min-width: 0;

  margin: 0;
}

.support-bottom-band__bank-details span {
  display: block;

  margin-bottom: 2px;

  color: rgba(0, 0, 0, 0.52);

  font-size: 9px;
  line-height: 1.2;
  font-weight: 700;
}

.support-bottom-band__bank-details strong {
  display: block;

  color: var(--earth);

  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.25;
  font-weight: 900;

  overflow-wrap: anywhere;
}


/* ==========================================================
   PARTNERSHIPS
   ========================================================== */

.support-bottom-band__partnerships {
  width: 100%;
  min-width: 0;
}

.support-bottom-band__partnerships p {
  width: 100%;
  max-width: 470px;

  margin: 0;

  color: rgba(0, 0, 0, 0.66);

  font-size: clamp(11px, 0.78vw, 13px);
  line-height: 1.3;
  font-weight: 580;
}

.support-bottom-band__partnerships p + p {
  margin-top: 3px;
}

.support-bottom-band__partnerships a {
  color: var(--earth);

  font-weight: 900;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;

  overflow-wrap: anywhere;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {
  .support-funding-page__inner {
    width: calc(100% - 96px);
  }

  .support-options__lead {
    max-width: 860px;
  }

  .funding-overview__grid {
    column-gap: 30px;
  }

  .funding-project__content {
    max-width: 400px;
  }

  .support-bottom-band__inner {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(260px, 0.85fr);

    gap: 34px;
  }

  .support-bottom-band__bank-details {
    grid-template-columns:
      minmax(130px, 0.8fr)
      minmax(180px, 1.2fr);

    row-gap: 8px;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 720px) {
  .support-funding-page__inner {
    width: calc(100% - 44px);

    padding:
      34px
      0
      70px;
  }

  .support-options__intro {
    margin-bottom: 54px;
  }

  .support-options__intro h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .support-options__lead {
    grid-template-columns: 1fr;

    gap: 17px;

    margin-top: 28px;
  }

  .support-options__lead p {
    font-size: 16px;
  }

  .funding-initiative-projects {
    padding:
      0
      0
      58px;
  }

  .funding-overview__grid {
    grid-template-columns: 1fr;

    row-gap: 58px;
  }

  .funding-project__content {
    max-width: 390px;
  }

  .funding-project__title {
    font-size: clamp(19px, 5.8vw, 25px);
  }

  .funding-project__subtitle {
    max-width: 340px;

    margin-top: 11px;

    font-size: 15px;
  }

  .funding-ring {
    width: min(44vw, 160px);

    margin:
      8px
      auto
      11px;
  }

  .funding-project__ongoing-illustration {
    width: min(44vw, 160px);

    margin:
      16px
      auto
      11px;
  }

  .funding-project__percentage {
    font-size: 20px;
  }

  .funding-project__amount {
    gap: 6px;

    margin-top: 11px;

    font-size: 15px;
  }

  .funding-project__amount strong {
    font-size: 20px;
  }

  .funding-project__amount span {
    font-size: 15px;
  }

  .funding-project__description {
    max-width: 380px;

    margin-top: 19px;

    font-size: 15px;
  }

  .funding-project__link {
    margin-top: 20px;

    font-size: 14px;
  }

  .funding-accordion__summary {
    grid-template-columns:
      minmax(0, 1fr)
      25px;

    gap: 14px;

    padding:
      24px
      0;
  }

  .funding-accordion__toggle {
    width: 25px;
    height: 25px;
  }

  .funding-accordion__arrow {
    font-size: 22px;
  }

  .funding-accordion__description {
    margin-top: 9px;
  }

  .funding-accordion__content {
    padding:
      38px
      0
      56px;
  }

  .support-donation-action {
    margin-bottom: 7px;
  }

  .support-donation-action__button {
    min-height: 48px;

    gap: 15px;

    padding:
      0
      6px
      0
      18px;

    font-size: 12px;

    box-shadow: 3px 3px 0 var(--earth);
  }

  .support-donation-action__arrow {
    width: 34px;

    font-size: 18px;
  }

  .support-bottom-band {
    padding:
      10px
      22px
      11px;
  }

  .support-bottom-band__inner {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .support-bottom-band__bank-details {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      7px
      18px;
  }

  .support-bottom-band__partnerships {
    padding-top: 8px;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .support-bottom-band__partnership-text {
    display: none;
  }
}
/* ==========================================================
   VERY SMALL SCREENS
   ========================================================== */

@media (max-width: 440px) {
  .funding-accordion__summary {
    grid-template-columns:
      minmax(0, 1fr)
      25px;
  }

  .support-donation-action__button {
    width: calc(100% - 44px);
    max-width: 330px;

    justify-content: space-between;
  }

  .support-bottom-band__bank-details {
    grid-template-columns: 1fr;

    gap: 6px;
  }

  .support-bottom-band__bank-details p {
    display: grid;
    grid-template-columns:
      88px
      minmax(0, 1fr);

    align-items: baseline;

    gap: 8px;
  }

  .support-bottom-band__bank-details span {
    margin: 0;
  }

  .support-bottom-band__partnerships p {
    font-size: 11px;
  }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .funding-accordion__summary,
  .funding-accordion__arrow,
  .funding-ring,
  .funding-ring__progress,
  .funding-ring__image img,
  .funding-project__ongoing-illustration,
  .funding-project__ongoing-illustration img,
  .funding-project__link,
  .support-donation-action__button,
  .support-donation-action__arrow {
    transition: none;
  }
}

/* Keep the site footer behind the donation modal. */
html.hii-donation-modal-is-open footer,
body.hii-donation-modal-is-open footer,
html.hii-donation-modal-is-open .site-footer,
body.hii-donation-modal-is-open .site-footer {
  position: relative;
  z-index: 0 !important;
}

/* Ensure the complete donation overlay remains above the page and footer. */
.hii-donation-modal {
  z-index: 100000 !important;
}

.hii-donation-modal__backdrop {
  z-index: 0;
}

.hii-donation-modal__dialog {
  position: relative;
  z-index: 1;
}
/* ==========================================================
   INITIATIVE PROJECT INFORMATION MODAL
   ========================================================== */

html.hii-project-info-modal-is-open,
body.hii-project-info-modal-is-open {
  overflow: hidden;
}

.funding-project__link--button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.funding-project__link--button:hover,
.funding-project__link--button:focus-visible {
  color: inherit;
}

.hii-project-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.hii-project-info-modal[hidden] {
  display: none;
}

.hii-project-info-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.hii-project-info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 27, 22, 0.58);
  backdrop-filter: blur(3px);
}

.hii-project-info-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  max-height: min(85vh, 48rem);
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid rgba(33, 27, 22, 0.16);
  border-radius: 1.25rem;
  background: #fffdf5;
  color: #211b16;
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.22);
  transform: translateY(1rem);
  transition: transform 220ms ease;
}

.hii-project-info-modal.is-open
  .hii-project-info-modal__dialog {
  transform: translateY(0);
}

.hii-project-info-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(33, 27, 22, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #211b16;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.hii-project-info-modal__close:hover,
.hii-project-info-modal__close:focus-visible {
  border-color: #ffd92e;
  background: #ffd92e;
}

.hii-project-info-modal__content[hidden] {
  display: none;
}

.hii-project-info-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 14rem);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding-right: 2.75rem;
}

.hii-project-info-modal__heading {
  min-width: 0;
}

.hii-project-info-modal__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hii-project-info-modal__title {
  display: table;
  margin: 0;
  padding: 0.16em 0.42em 0.2em;
  border-radius: 0.22em;
  background: none;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.08;

  /*
   * The yellow background extends slightly to the left,
   * while the title text aligns with the eyebrow,
   * subtitle, body copy and button.
   */
  transform: translateX(-0.42em);
}

.hii-project-info-modal__subtitle {
  margin: 0.65rem 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.4;
}

.hii-project-info-modal__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hii-project-info-modal__illustration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 14rem;
  object-fit: contain;
}

.hii-project-info-modal__text {
  max-width: 46rem;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hii-project-info-modal__text p {
  margin: 0;
}

.hii-project-info-modal__donate {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid #ffd92e;
  border-radius: 999px;
  background: #ffd92e;
  color: #211b16;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.hii-project-info-modal__donate:hover,
.hii-project-info-modal__donate:focus-visible {
  border-color: #ffd92e;
  background: #ffd92e;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .hii-project-info-modal__hero {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 10rem);
    gap: 1.5rem;
  }

  .hii-project-info-modal__illustration img {
    max-height: 10rem;
  }
}

@media (max-width: 640px) {
  .hii-project-info-modal {
    align-items: end;
    padding: 0.75rem;
  }

  .hii-project-info-modal__dialog {
    width: 100%;
    max-height: 88vh;
    padding:
      2.75rem
      1.35rem
      1.6rem;
    border-radius:
      1.25rem
      1.25rem
      0.65rem
      0.65rem;
  }

  .hii-project-info-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .hii-project-info-modal__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-right: 2.25rem;
  }

  .hii-project-info-modal__illustration {
    justify-content: flex-start;
  }

  .hii-project-info-modal__illustration img {
    width: min(55%, 11rem);
    max-height: 10rem;
  }

  .hii-project-info-modal__donate {
    width: 100%;
  }
}


.funding-project__title a,
.funding-project__title a:link,
.funding-project__title a:visited,
.funding-project__title a:hover,
.funding-project__title a:focus,
.funding-project__title a:focus-visible,
.funding-project__title a:active {
  color: inherit;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* ==========================================================
   RESEARCH OVERVIEW — INDIVIDUAL MOBILE IMAGE POSITIONS
   ========================================================== */

@media (max-width: 650px) {
  .research-visual-puberty .research-visual-image {
    transform: translateX(0);
  }

  .research-visual-contraception .research-visual-image {
    transform: translateX(0);
  }

  .research-visual-pregnancy .research-visual-image {
    transform: translateX(0);
  }

  .research-visual-menopause .research-visual-image {
    transform: translateX(-16);
  }
}