/* Keep contact details and direct channels together in the first page section. */
.contact-hero {
  min-height: 100svh;
}

.contact-hero__container {
  max-width: none;
}

.contact-hero__layout {
  min-height: 0;
  align-items: start;
}

.contact-channels {
  grid-column: 1;
  grid-row: 2;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.contact-channels::before {
  display: none;
}

.contact-channels__container {
  max-width: none;
}

.contact-section-head {
  margin-bottom: 1rem;
}

.contact-channels h2 {
  max-width: none;
  color: var(--color-brand-accent);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.contact-hero__map {
  grid-column: 1;
  grid-row: 3;
}

@media (min-width: 80rem) {
  .contact-hero__layout {
    grid-template-columns: minmax(22rem, 4fr) minmax(0, 8fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-block: clamp(2rem, 5vh, 3.5rem) clamp(3.5rem, 7vh, 5rem);
  }

  .contact-hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-channels {
    grid-column: 2;
    grid-row: 1;
  }

  .contact-channel {
    min-height: 11.5rem;
    padding: clamp(1rem, 1.2vw, 1.25rem);
  }

  .contact-channel__links a,
  .contact-channel__website,
  .contact-channel__action {
    font-size: 0.8rem;
  }

  .contact-channel__links--social {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-channel__links--social li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .contact-hero__map {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: clamp(19rem, 35svh, 25rem);
    max-height: 25rem;
    aspect-ratio: 18 / 5;
    justify-self: stretch;
  }
}

@media (min-width: 90rem) {
  .contact-channels {
    margin-left: clamp(6rem, 5vw, 8rem);
  }
}

@media (min-width: 64rem) and (max-width: 79.99rem) {
  .contact-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .contact-hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-channels {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-hero__map {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: clamp(22rem, 48svh, 30rem);
    max-height: 30rem;
    aspect-ratio: 16 / 7;
    justify-self: stretch;
  }
}

@media (max-width: 63.99rem) {
  .contact-hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-channels {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-hero__map {
    grid-column: 1;
    grid-row: 3;
  }
}
