/* The Visit section's Google Maps card. */
.visit-map {
  min-width: 0;
  margin-top: 40px;
}

.map-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9ddcf;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 32px #173d2d09;
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  background: var(--green);
  color: var(--paper);
}

.map-heading-copy {
  min-width: 0;
}

.map-card-header .eyebrow {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 9px;
  letter-spacing: .16em;
}

.map-card-header h3 {
  color: var(--paper);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

.map-location-label {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  color: #e5e9de;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .035em;
}

.map-location-label .icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.map-frame {
  min-width: 0;
  height: 400px;
  background: #e9ece3;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
}

.map-frame iframe:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}

.map-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-top: 2px solid var(--red);
  background: var(--paper);
}

.map-address {
  display: grid;
  min-width: 0;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.map-address strong {
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
}

.map-open-link {
  flex-shrink: 0;
  gap: 18px;
  min-height: 48px;
  padding: 13px 18px;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .map-card-header,
  .map-card-footer {
    padding-right: 24px;
    padding-left: 24px;
  }

  .map-card-header h3 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .visit-map {
    margin-top: 30px;
  }

  .map-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 20px;
  }

  .map-card-header h3 {
    max-width: 330px;
    font-size: 25px;
    line-height: 1.3;
  }

  .map-location-label {
    font-size: 10px;
  }

  .map-frame {
    height: 310px;
  }

  .map-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 20px;
  }

  .map-open-link {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .map-card-header,
  .map-card-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .map-card-header h3 {
    font-size: 23px;
  }
}
