#sub-location .gw-tabs {background: #f2f2f2;}
#sub-location .tab-content {display: none;}
#sub-location .tab-content:first-of-type{display: block;}
#sub-location .gw-map{width: 100%; border: 1px solid #ddd; overflow: hidden;}
#gw-map-img{ display: flex;justify-content: center;align-items: center;}
#sub-location .gw-map > img {width: 100%;height: 100%;object-fit: cover;}
#sub-location .gw-location-container {place-items:stretch;}
#sub-location .gw-location-container > div{padding:40px;border: 1px solid #ddd;border-top: 2px solid #000;background: #fff;}
#sub-location .gw-location-container  .gw-title{border-bottom: 1px solid #ddd;}
#sub-location .gw-location-container .gw-list01 > li:before{top:10px;transform:translateY(0);}
#sub-location .gw-location-container > ul > li > div:last-child{color: #666;line-height: 1.5;}
#sub-location .gw-naver:hover{border-color: #03C75A;}
#sub-location .gw-naver::before{background: #03C75A !important; }
#sub-location .gw-kakao:hover{border-color: #ffe100;color: #000;}
#sub-location .gw-kakao::before{background: #ffe100 !important; }
#sub-location .gw-mr-30{margin-right: 30px;}


.map-box {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    border:1px solid #ccc;

}

/* 지도 컨테이너 위치 */
#map { position: relative; }

/* 데스크탑 비활성 오버레이 */
#map .map-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(1px);
  z-index: 999; /* leaflet 컨트롤 위로 */
  cursor: pointer;
  transition: opacity .18s ease, visibility .18s ease;
}

#map .map-overlay .map-overlay-text{
  display:inline-block;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  color:#fff;
  background: rgba(0,0,0,.55);
  border-radius: 10px;
}

/* 숨김 */
#map .map-overlay.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* 토스트(지도 내부 하단) */
#map .map-toast{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 8px 10px;
  font-size: 12px;
  background: rgba(0,0,0,.70);
  color:#fff;
  border-radius: 999px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* 토스트 표시 */
#map .map-toast.is-show{
  opacity: 1;
  visibility: visible;
}

/* 모바일에서 스크롤 제스처 충돌 완화 (필요시) */
.leaflet-container { touch-action: pan-y; }



/*반응형------------------------------------------------------------------------------------------------------------------ */
@media screen and (max-width:1024px){
    #sub-location .gw-location-container{flex-direction:column;gap: 20px;}
    #sub-location .gw-location-container .gw-w-50 {width: 100% !important;}
    #sub-location .gw-location-container > div{padding:22px;}
}

@media screen and (max-width:576px){
    #sub-location .gw-map{height: 50vw;}
    #sub-location .gw-map > img{height: 200%;}
    #sub-location .gw-location-container .gw-flex-btw {flex-wrap: wrap;gap: 10px;}
}

