/* Adventure Map: title first, full-width map, filters below. */
.map-section {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "eyebrow"
    "title"
    "map"
    "filters"
    "count";
  overflow: hidden;
}

.map-copy {
  display: contents;
}

.map-copy > span {
  grid-area: eyebrow;
  padding: 48px 52px 0;
}

.map-copy h2 {
  grid-area: title;
  max-width: none;
  margin: 8px 0 34px;
  padding: 0 52px;
  font-size: clamp(4.5rem, 7vw, 7.4rem);
  line-height: .82;
  overflow-wrap: normal;
}

#spotMap {
  grid-area: map;
  width: 100%;
  min-height: 660px;
}

.map-copy form {
  grid-area: filters;
  display: grid;
  grid-template-columns: minmax(240px, 1.65fr) repeat(2, minmax(160px, 1fr));
  gap: 10px;
  align-items: center;
  padding: 28px 32px 14px;
  background: #fff;
}

.map-copy form > label {
  min-height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #82959e;
}

.map-copy form > button {
  min-width: 0;
}

.map-copy > p {
  grid-area: count;
  margin: 0;
  padding: 4px 32px 30px;
  background: #fff;
}

@media (max-width: 1250px) {
  #spotMap {
    min-height: 560px;
  }

  .map-copy form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .map-section {
    width: calc(100% - 28px);
    margin: 24px auto 60px;
  }

  .map-copy > span {
    padding: 34px 24px 0;
  }

  .map-copy h2 {
    margin-bottom: 26px;
    padding: 0 24px;
    font-size: clamp(4rem, 20vw, 6rem);
  }

  #spotMap {
    min-height: 440px;
  }

  .map-copy form {
    grid-template-columns: 1fr;
    padding: 22px 20px 12px;
  }

  .map-copy > p {
    padding: 6px 20px 24px;
  }
}
