/* Text formerly embedded in the hero photograph is now selectable HTML. */
.template-home .home-hero {
  display: grid;
  width: 100%;
  height: auto;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: #000;
}

.template-home .home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.template-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 28%), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.template-home .home-hero .home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: inherit;
  min-width: 0;
  gap: 22px;
  padding-top: 140px;
  padding-bottom: 30px;
}

.template-home .home-hero__intro {
  order: 1;
  max-width: 350px;
  margin: 0;
  font: 400 19px/1.6 'AmnestyTradeGothic', sans-serif;
}

.template-home .home-hero__intro span {
  padding: 3px 8px;
  background: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.template-home .home-hero__stats {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0;
}

.template-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.template-home .home-hero__stat dt {
  max-width: 100%;
  padding: 5px 8px;
  background: #fff;
  font: 400 20px/1.1 'AmnestyTradeGothic-Condesed', sans-serif;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.template-home .home-hero__stat dd {
  order: -1;
  max-width: 100%;
  margin: 0;
  padding: 1px 14px 3px;
  background: #fff000;
  font: 400 82px/1 'AmnestyTradeGothic-Condesed', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.template-home .home-hero .title {
  order: 3;
  max-width: 100%;
  margin: auto 0 0;
  padding: 0;
  line-height: 1.15;
}

.template-home .home-hero .title span {
  display: table;
  max-width: 100%;
  margin: 0;
  padding: 6px 22px;
  font: 400 clamp(28px, 3.34vw, 48px)/1.15 'AmnestyTradeGothic-Condesed', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #fff;
}

.template-home .home-hero .title span + span {
  margin-top: 14px;
}

@media (max-width: 991.98px) {
  .home-page .header {
    height: 58px;
  }

  .home-page .header .container {
    height: 100%;
  }

  .home-page .header .logo {
    flex: 0 0 136px;
  }

  .home-page .header .logo img {
    display: block;
  }

  .template-home .home-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 58px;
  }

  .template-home .home-hero__image {
    position: static;
    display: block;
    flex: none;
    height: auto;
    aspect-ratio: 1996 / 788;
    object-fit: contain;
  }

  .template-home .home-hero::after {
    display: none;
  }

  .template-home .home-hero .home-hero__content {
    width: 100%;
    max-width: 540px;
    min-height: 0;
    gap: 24px;
    padding: 26px 20px 32px;
  }

  .template-home .home-hero .title {
    order: 0;
    margin: 0;
  }

  .template-home .home-hero .title span {
    padding: 8px 12px;
    font-size: clamp(20px, 5.9vw, 29px);
    letter-spacing: .06em;
  }

  .template-home .home-hero .title span + span {
    margin-top: 10px;
  }

  .template-home .home-hero__intro {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.7;
  }

  .template-home .home-hero__stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .template-home .home-hero__stat dd {
    font-size: clamp(48px, 14vw, 68px);
    padding-right: 12px;
    padding-left: 12px;
  }

  .template-home .home-hero__stat dt {
    font-size: clamp(16px, 4.7vw, 18px);
  }
}
