.hongdae-detail-page .hongdae-hotel-map-section {
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.hongdae-detail-page .hongdae-hotel-map-section .hm-section__header {
  margin-bottom: 24px;
}

.hongdae-detail-page .hongdae-hotel-map-section .hm-section__intro {
  max-width: 72ch;
}

.hongdae-detail-page .hongdae-hotel-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: stretch;
}

.hongdae-detail-page .hongdae-hotel-map-shell {
  position: relative;
  min-width: 0;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.hongdae-detail-page .hongdae-hotel-map-canvas {
  width: 100%;
  height: 520px;
  min-height: 420px;
}

.hongdae-detail-page .hongdae-hotel-map-canvas:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}

.hongdae-detail-page .hongdae-hotel-map-fallback {
  display: grid;
  min-height: 420px;
  place-items: center;
  margin: 0;
  padding: 32px;
  color: var(--blue-muted);
  font-size: 18px;
  line-height: 1.72;
  text-align: center;
}

.hongdae-detail-page .hongdae-hotel-map-status {
  margin: 12px 0 0;
  color: var(--blue-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hongdae-detail-page .hongdae-hotel-map-directory {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8d0c2;
  background: var(--gray-50);
}

.hongdae-detail-page .hongdae-hotel-map-directory h3 {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1.4;
}

.hongdae-detail-page .hongdae-hotel-map-list {
  display: grid;
  gap: 6px;
  max-height: 470px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
}

.hongdae-detail-page .hongdae-hotel-map-list button {
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--blue-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.hongdae-detail-page .hongdae-hotel-map-list button:hover,
.hongdae-detail-page .hongdae-hotel-map-list button:focus-visible {
  border-color: var(--gray-200);
  background: var(--white);
  color: var(--blue-deep);
}

.hongdae-detail-page .hongdae-hotel-map-list button:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
}

.hongdae-detail-page .hongdae-hotel-map-list button[aria-pressed="true"] {
  border-color: #b73722;
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 700;
}

.hongdae-detail-page .hongdae-hotel-map-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hongdae-detail-page .hongdae-hotel-map-list button[aria-pressed="true"] .hongdae-hotel-map-number {
  background: #b73722;
}

.hongdae-detail-page .hongdae-map-marker {
  position: relative;
  display: block;
  width: 36px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.hongdae-detail-page .hongdae-map-marker:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}

.hongdae-detail-page .hongdae-map-marker__pin {
  display: block;
  width: 36px;
  height: 42px;
}

.hongdae-detail-page .hongdae-map-marker__number {
  position: absolute;
  top: 12px;
  left: 50%;
  min-width: 18px;
  padding: 0 2px;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.hongdae-detail-page .hongdae-map-marker__label {
  position: absolute;
  top: 20px;
  left: calc(100% + 8px);
  width: max-content;
  max-width: 190px;
  transform: translateY(calc(-50% + var(--label-y, 0px)));
  padding: 5px 7px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, .96);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.hongdae-detail-page .hongdae-map-marker--left .hongdae-map-marker__label {
  right: calc(100% + 8px);
  left: auto;
  text-align: right;
}

.hongdae-detail-page .hongdae-map-marker__label::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 9px;
  height: 1px;
  background: var(--blue-muted);
  content: "";
}

.hongdae-detail-page .hongdae-map-marker--left .hongdae-map-marker__label::before {
  right: -9px;
  left: auto;
}

.hongdae-detail-page .hongdae-map-marker[aria-pressed="true"] .hongdae-map-marker__label {
  border-color: #b73722;
  color: #7c2115;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.hongdae-detail-page .hongdae-map-link-wrap {
  margin: 16px 0 0;
}

.hongdae-detail-page .hongdae-map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue-accent);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hongdae-detail-page .hongdae-map-link:hover,
.hongdae-detail-page .hongdae-map-link:focus-visible {
  color: var(--blue-deep);
}

.hongdae-detail-page .hongdae-map-link:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hongdae-detail-page .hongdae-hotel-map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hongdae-detail-page .hongdae-hotel-map-canvas {
    height: 420px;
  }

  .hongdae-detail-page .hongdae-hotel-map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .hongdae-detail-page .hongdae-hotel-map-section .hm-section__header {
    margin-bottom: 20px;
  }

  .hongdae-detail-page .hongdae-hotel-map-layout {
    gap: 18px;
  }

  .hongdae-detail-page .hongdae-hotel-map-canvas {
    height: 360px;
    min-height: 320px;
  }

  .hongdae-detail-page .hongdae-hotel-map-fallback {
    min-height: 320px;
    padding: 24px 18px;
    font-size: 17px;
    line-height: 1.68;
  }

  .hongdae-detail-page .hongdae-hotel-map-directory {
    padding: 16px;
  }

  .hongdae-detail-page .hongdae-hotel-map-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hongdae-detail-page .hongdae-hotel-map-list button {
    font-size: 16px;
  }

  .hongdae-detail-page .hongdae-map-marker__label {
    display: none;
  }
}
