.ongyeol-map {
  --ongyeol-map-height: 360px;
  width: 100%;
  min-width: 0;
}

.ongyeol-map .root_daum_roughmap {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.ongyeol-map[data-map-state="loading"] .root_daum_roughmap {
  min-height: var(--ongyeol-map-height);
}

.ongyeol-map .root_daum_roughmap .wrap_map {
  height: var(--ongyeol-map-height) !important;
}

/* Theme-wide content-image rules must not resize the SDK's tiles or markers. */
.ongyeol-map .root_daum_roughmap img {
  width: auto;
  height: auto;
  max-width: none !important;
  max-height: none;
}

.ongyeol-map .root_daum_roughmap[hidden],
.ongyeol-map .ongyeol-map__status[hidden] {
  display: none !important;
}

.ongyeol-map__status,
.ongyeol-map__fallback {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #334d3d;
}

.ongyeol-map__fallback a {
  display: inline-block;
  padding: 5px 0;
  color: #334d3d;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ongyeol-map__fallback a:focus-visible {
  outline: 3px solid #80624c;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .ongyeol-map { --ongyeol-map-height: 300px; }
}
