.detail-service-map-section {
  min-width: 0;
}

.detail-service-map-section[hidden] {
  display: none !important;
}

.detail-service-map-section h3 {
  margin: 0 0 6px;
  color: #193e31;
  font-family: Inika, Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.detail-service-map-address {
  margin: 4px 0 15px;
  color: #49645a;
  line-height: 1.5;
}

.detail-service-map-frame {
  position: relative;
  width: 100%;
  min-height: 300px;
  height: clamp(300px, 34vw, 390px);
  overflow: hidden;
  border: 1px solid #d4e4da;
  border-radius: 18px;
  background: #ecf5ed;
}

.detail-service-map-frame iframe,
.detail-service-map-frame .leaflet-container {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-service-map-frame.is-map-unavailable {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 110px;
  height: auto;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e7f4ec, #f5f8ee);
  text-align: left;
}

.detail-service-map-frame.is-map-loading {
  display: grid;
  place-items: center;
  min-height: 110px;
  height: auto;
  padding: 20px;
  color: #49645a;
  text-align: center;
}

.detail-service-map-frame.is-map-unavailable::before {
  content: "⌖";
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #b8d8c5;
  border-radius: 14px;
  background: #f8fdf9;
  color: #276747;
  font-size: 2rem;
}

.detail-service-map-frame.is-map-unavailable p {
  max-width: 34rem;
  margin: 0;
  color: #365b4d;
  line-height: 1.55;
}

.detail-service-map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.detail-service-map-actions a,
.detail-service-map-alternative {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid #bcd9c9;
  border-radius: 11px;
  background: #f5fcf7;
  color: #205940;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.detail-service-map-alternative[hidden] {
  display: none !important;
}

.detail-service-map-actions a:hover,
.detail-service-map-alternative:hover {
  background: #e6f5eb;
  border-color: #7cb998;
}

.detail-service-map-actions :is(a, button):focus-visible {
  outline: 3px solid #64a684;
  outline-offset: 3px;
}

.detail-service-map-note {
  margin: 10px 0 0;
  color: #6c8077;
  font-size: 0.86rem;
  line-height: 1.5;
}

.activity-detail-page .detail-service-map-section {
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid #dbe7df;
}

@media (max-width: 700px) {
  .detail-service-map-frame {
    min-height: 260px;
    height: 300px;
    border-radius: 14px;
  }

  .detail-service-map-frame.is-map-unavailable {
    min-height: 110px;
    height: auto;
    padding: 16px;
  }
}
