#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%;
    height: 480px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #f5f5f5;
}

#gw-map-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sub-location .gw-map > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 카카오맵 커스텀 오버레이 말풍선 */
.gw-kakao-overlay {
    position: relative;
    bottom: 8px;
    background: #ffffff;
    border: 2px solid #7F4F21;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    padding: 8px 14px;
    text-align: center;
    white-space: nowrap;
}

.gw-kakao-overlay::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 7px 0;
    border-style: solid;
    border-color: #7F4F21 transparent transparent;
}

.gw-kakao-overlay .gw-overlay-link {
    display: block;
    text-decoration: none;
    color: #222;
}

.gw-kakao-overlay .gw-overlay-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #7F4F21;
    line-height: 1.3;
}

.gw-kakao-overlay .gw-overlay-addr {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* 하단 주소 안내 및 바로가기 바 */
#sub-location .gw-location-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 34px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-top: none;
}

#sub-location .gw-loc-company {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
}

#sub-location .gw-loc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sub-location .gw-loc-meta li {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

#sub-location .gw-loc-meta li strong {
    color: #7F4F21;
    font-weight: 700;
    margin-right: 8px;
}

#sub-location .gw-loc-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

#sub-location .gw-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#sub-location .gw-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

#sub-location .gw-btn-kakao {
    background: #FEE500;
    color: #191919;
}

#sub-location .gw-btn-naver {
    background: #03C75A;
    color: #ffffff;
}

#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;
}

/*반응형------------------------------------------------------------------------------------------------------------------ */
@media screen and (max-width:1024px) {
    #sub-location .gw-location-info-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 24px;
    }

    #sub-location .gw-loc-actions {
        width: 100%;
    }

    #sub-location .gw-map-btn {
        flex: 1;
    }

    #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:768px) {
    #sub-location .gw-map {
        height: 360px !important;
    }

    #sub-location .gw-location-info-bar {
        padding: 20px 16px;
    }

    #sub-location .gw-loc-company {
        font-size: 19px;
    }

    #sub-location .gw-loc-meta {
        flex-direction: column;
        gap: 6px;
    }

    #sub-location .gw-loc-meta li {
        font-size: 14px;
    }

    #sub-location .gw-loc-actions {
        flex-direction: column;
        gap: 10px;
    }

    #sub-location .gw-map-btn {
        width: 100%;
        min-height: 44px;
    }
}
