/* Agency update - small additions on top of main.css */

[hidden] {
  display: none !important;
}

/* screen-reader-only text (404 page heading) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* visible keyboard focus (main.css removes outlines from links and buttons) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}

/* US hours line: label and value wrap as one line (footer spans are inline-flex);
   inline-block keeps the footer slide-down transform working */
span.us-hours {
  display: inline-block;
}

.us-hours [data-us-hours] {
  display: inline;
}

/* menu hours item is plain text: match the menu contact link colour */
.menu-contact__list li span.tag {
  color: var(--t-opp-medium);
}

/* hero: two buttons side by side, wrap on small screens */
.mxd-hero-06__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* longer hero headline: keep it clear of the caption on short phones */
@media only screen and (max-width: 767px) {
  .mxd-hero-06__headline h1 {
    font-size: 4.2rem;
  }

  .mxd-hero-06__controls .btn-default-icon {
    font-size: 1.6rem;
  }
}

/* CTA without the stock-photo marquee (about-us, services, contact):
   bottom padding matches the top instead of the space the marquee used */
.mxd-promo.transparent .mxd-promo__wrap {
  padding-bottom: 13.4rem;
}

@media only screen and (min-width: 768px) {
  .mxd-promo.transparent .mxd-promo__wrap {
    padding-bottom: 16.4rem;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-promo.transparent .mxd-promo__wrap {
    padding-bottom: 17.3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-promo.transparent .mxd-promo__wrap {
    padding-bottom: 19.3rem;
  }
}

/* agencies.html hero */
.agency-eyebrow {
  margin-bottom: 2.4rem;
}

.agency-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  padding-top: 3rem;
}

/* privacy.html text */
.privacy-text h2 {
  font-size: 3rem;
  margin: 4.8rem 0 1.6rem;
}

.privacy-text ul {
  padding-left: 2rem;
  list-style: disc;
}

.privacy-text p,
.privacy-text li {
  margin-bottom: 1.2rem;
}

.privacy-text a {
  color: inherit;
  text-decoration: underline;
}

/* process-points used as multi-row card grids */
.points-grid .mxd-process-points__item {
  padding-bottom: 4rem;
}

/* 2-column range: close the last row under both cards (template draws it under the last card only) */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .points-grid .mxd-process-points__item:nth-last-child(2)::after {
    content: "";
    position: absolute;
    left: 3rem;
    bottom: 0;
    width: calc(100% - 6rem);
    height: 1px;
    background-color: var(--st-bright);
  }
}

.points-compact .mxd-process-points__title p {
  font-size: 2.6rem;
}

@media only screen and (min-width: 768px) {
  .points-compact .mxd-process-points__title p {
    font-size: 3rem;
  }
}
