.contact-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.contact-info {
  flex: 0 0 260px;
  margin-right: 20px;
}

.contact-info dt {
  margin-top: 30px;
  font-size: 21px;
  font-weight: bold;
}

.contact-info dt:first-of-type {
  margin-top: 0;
}

.contact-info dd {
  margin: 0 0 30px;
  line-height: 1.6;
}

.contact-info dd:last-of-type {
  margin-bottom: 0;
}

/* Replaces the divider an <hr> used to provide between the phone/email
   pair and the address pair - <hr> isn't a valid direct child of <dl>. */
.contact-info-divider {
  margin-top: 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.map-frame {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  container-type: inline-size;
}

.map-frame img {
  max-width: 100%;
  border-radius: 4px;
}

.map-frame iframe {
  width: 100%;
  height: 400px;
  border: 1px;
}

.map-frame h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

/* Below this, the two links no longer comfortably fit side by side -
   stack and center them instead of leaving one pinned to the edge. */
@container (max-width: 380px) {

  .map-links {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 46rem) {

  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info {
    flex: 0 0 auto;
    margin-right: 0;
  }

}
