/* Location Page Styles */

.location-container {
    padding-bottom: 50px;
}

/* 지도 영역 */
.map-section {
    width: 100%;
    height: 469px;
    background-color: #F8F9FA;
    border: 1px solid #E5E5E5;
    margin-bottom: 20px;
    /* 지도 API나 이미지가 들어갈 곳 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    border-radius: 8px;
    ;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 주소 정보 박스 */
.location-info-box {
    background-color: #F8F9FA;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;

    .icon-loc {
        width: 17px;
        /* 아이콘 크기에 맞춰 조정 (기존 24px에서 조금 키움 or 유지) */
        height: 20px;
        background: url('/images/marker-icon.png') no-repeat center center;
        background-size: contain;
        flex-shrink: 0;
    }

    .address-text {
        font-size: 18px;
        font-weight: 500;
        color: #252525;
    }
}

/* 교통편 안내 섹션 공통 */
.transport-section {
    margin-bottom: 60px;

    &:last-child {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 27px;
        font-weight: 700;
        color: #005770;
        line-height: 1.9;
        border-bottom: 2px solid #005770;
        display: inline-block;
        margin-bottom: 18px;
        /* 밑줄 길이 조절 */
        padding-right: 20px;
        width: 100%;
        border-bottom: none;
        /* 전체 밑줄이 아니라 타이틀 장식용이면 조정 필요. 
                               시안을 보면 타이틀 위에 파란 바가 있거나 밑줄이 있는데, 
                               일단 시안 느낌대로 타이틀만 강조 */
        position: relative;

        /* 타이틀 위 짧은 라인 (시안 참조) */
        &::before {
            content: '';
            display: block;
            width: 40px;
            height: 2px;
            background-color: #005770;
            margin-bottom: 10px;
        }
    }

    .transport-list {
        >li {
            margin-bottom: 18px;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .sub-title {
        font-size: 22px;
        font-weight: 700;
        color: #252525;
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 1.9;

        &::before {
            content: '';
            display: block;
            width: 4px;
            height: 4px;
            border: 2px solid #9F76C0;
            /* 보라색 계열 포인트 */
            border-radius: 50%;
            margin-right: 15px;
        }

        
    }

    .desc-list {
        padding-left: 33px;
        /* Bullet 정렬 맞춤 */

        li {
            font-size: 18px;
            line-height: 1.6;
            color: #1a1a1a;
            margin-top: 6px;
            position: relative;
            font-weight: 400;
            word-break: keep-all;

            /* last-child margin 없음 */
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}
.map-address {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;


    h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #252525;
        flex-shrink: 0;
    }

    p {
        font-size: 22px;
        font-weight: 700;
        color: #252525;
        display: inline-block;
        margin: 0;
        
        .highlight {
            color: #005770;
        }
    }
}
@media (max-width: 768px) {
    .map-address {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        p {
            padding-left: 30px;
            word-break: keep-all;
            line-height: 1.8rem;
            font-size: 18px;
        }
    }
}