/* ================= Kakao Map Mobile Final Fix ================= */
.kakao-map{
  width: 100%;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
}

/* location: map 아래 정보영역 */
.loc-summary{
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.loc-item{
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.04);
  font-size: 16px;
}

.loc-label{
  font-size: 12px;
  opacity: .7;
  margin-bottom: 2px;
}

.loc-value{
  font-size: 14px;
}

.tel-link{
  text-decoration: none;
}

.loc-guide{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.loc-card{
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
}

.loc-card-title{
  font-weight: 700;
  margin-bottom: 10px;
}

.loc-subtitle{
  margin-top: 12px;
  font-weight: 700;
  font-size: 13px;
  opacity: .85;
}

.loc-list{
  margin: 8px 0 0 0;
  padding-left: 18px;
}

.loc-list li{
  margin: 6px 0;
  line-height: 1.5;
}

.loc-actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 프로젝트에 기존 버튼 클래스가 있으면 그걸 쓰고,
   없으면 아래 최소 스타일로 */
.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 768px){
  .loc-summary{ grid-template-columns: 1fr; }
  .loc-guide{ grid-template-columns: 1fr; }
}
/* ================= Custom Overlay label (perfect fit) ================= */
.map-label{
  max-width: 240px;
  background:#fff;
  border:1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 10px 22px rgba(2,6,23,.12);
  line-height: 1.35;
}

.map-label-title{
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 4px;
  color:#111827;
}

.map-label-addr{
  font-size: 12.5px;
  color:#334155;
  white-space: normal;      /* ✅ 줄바꿈 */
  word-break: keep-all;     /* ✅ 한글 단어단위 */
  overflow-wrap: anywhere;  /* ✅ 길면 강제 줄바꿈 */
}

/* 모바일은 더 좁게 */
@media (max-width: 520px){
  .map-label{ max-width: 210px; }
}

@media (max-width: 520px){
  .map-label{ max-width: 210px; }
}
.bus-tags{
  display: inline-block;
  margin-left: 6px;
  font-weight: 600;
  color: #16a34a;
}

.bus-tags::before{
  content: "🚌 ";
}
/* 🔵 파란색 버스 */
.bus-tags.blue{
  color: #2563eb; /* Tailwind blue-600 */
}

