/* Editorial location card. This is deliberately an abstract graphic,
   not a map or an externally retrieved map image before consent. */
.home-map {
  margin-top: 2rem;
  color: #17363b;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 3px;
  overflow: hidden;
  background: #f7f3ec;
}
.home-map [hidden] { display: none !important; }
.home-map-stage {
  position: relative;
  min-height: clamp(350px, 31vw, 440px);
  display: grid;
  overflow: hidden;
}
.home-map-cover, .home-map-canvas { grid-area: 1 / 1; }
.home-map-cover {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 3.4vw, 44px);
  background: #e9e0d1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
}
.home-map-cover:before {
  content: "";
  background:
    repeating-linear-gradient(133deg, transparent 0 45px, rgba(255,255,255,.4) 45px 47px, transparent 47px 92px),
    repeating-linear-gradient(42deg, transparent 0 105px, rgba(23,54,59,.08) 105px 108px, transparent 108px 154px);
  position: absolute;
  inset: 0;
  z-index: -2;
  mask-image: linear-gradient(#000, transparent 82%);
}
.home-map-cover:after {
  content: "";
  border: 1px solid rgba(23,54,59,.14);
  background: rgba(247,243,236,.24);
  width: 250px;
  height: 250px;
  transform: rotate(28deg);
  position: absolute;
  right: -66px;
  top: -110px;
  z-index: -1;
}
.home-map-marker {
  align-self: flex-end;
  color: #bb5038;
  margin-bottom: 6px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}
.home-map-marker svg { max-height: 62px; filter: drop-shadow(0 5px 5px rgba(23,54,59,.12)); }
.home-map .home-map-kicker { font-size: .71rem; letter-spacing: .13em; font-weight: 750; margin: 0 0 8px; }
.home-map h3 { font-size: clamp(1.65rem, 2.45vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 .7rem; }
.home-map p.home-map-address { font-size: 1.02rem; font-weight: 650; line-height: 1.45; margin: 0 0 1rem; }
.home-map p.home-map-notice { font-size: .82rem; line-height: 1.5; color: #385356; margin: 0 0 1rem; max-width: 39ch; }
.home-map-notice a { text-decoration: underline; text-underline-offset: 2px; }
.home-map .home-map-load { background: #17363b; color: #fff; border: 0; min-height: 45px; cursor: pointer; }
.home-map .home-map-load:hover { background: #254d51; }
.home-map-canvas { display: grid; min-height: 350px; }
.home-map-canvas iframe { display: block; border: 0; width: 100%; height: 100%; min-height: clamp(350px, 31vw, 440px); }
.home-map-actions {
  padding: 13px clamp(16px, 2vw, 25px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
}
.home-map-actions a, .home-map-actions button {
  font-weight: 700;
  font-size: .87rem;
  color: #17363b;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-map-actions button { font: inherit; font-size: .87rem; font-weight: 650; cursor: pointer; background: transparent; border: 0; padding: 8px 0; }
.home-map :focus-visible { outline: 2px solid #a1432d; outline-offset: 4px; }
@media (max-width: 500px) {
  .home-map { margin-top: 1.5rem; }
  .home-map-stage, .home-map-canvas iframe { min-height: 365px; }
  .home-map-cover { padding: 23px; }
}
