/* Proposal-only additions. Do not change the Beavers Brothers design language. */
.text-body a,
.text-lead a,
.text-body-small a {
  color: var(--main-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.text-body a:hover,
.text-lead a:hover,
.text-body-small a:hover {
  color: var(--link-color);
}
.footer-disclaimer {
  z-index: 1;
  position: relative;
  margin-left: 19.38rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.25rem;
  max-width: 46rem;
}
.footer-disclaimer .text-body-micro {
  color: var(--white);
  opacity: 0.75;
  line-height: 1.5;
}
@media screen and (max-width: 991px) {
  .footer-disclaimer {
    margin-left: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .footer-disclaimer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* The 2025 travel calendar was removed. Hide its empty wrapper and the
   large spacers that only existed under that row. */
.about-grid__long-wrapper:empty {
  display: none;
}
.about-down-div {
  display: none;
}

/* Mobile-only layout. Colours, type and the 40° line art are unchanged.
   Desktop rules are not overridden. */
@media screen and (max-width: 479px) {
  /* The live site pins the hero at 40rem, which leaves a tall empty navy
     field and pushes the intro below the fold. Shrink it so the headline,
     wordmark and the start of the intro share about one screen. */
  .hero__component {
    height: clamp(20.5rem, calc(100svh - 3.75rem - 12.5rem), 24.5rem);
    padding-top: 1.5rem;
    padding-bottom: 1.25rem;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .second-caption {
    padding-top: 1.75rem;
  }

  /* The services card still uses the desktop min-height (31.88rem), which
     leaves a large gap under the icon now that only one short card remains. */
  .services-card {
    min-height: 0;
  }
}
