.location-page {
    --location-main: #526f7e;
    --location-main-dark: #2d4a59;
    --location-deep: #263b48;
    --location-point: #c6a174;
    --location-point-soft: #eadcc8;

    --location-bg: #f8f6f1;
    --location-bg-soft: #eef3f4;
    --location-card-bg: #ffffff;

    --location-text: #45545d;
    --location-muted: #75828a;
    --location-line: rgba(63, 91, 105, 0.17);

    width: 100%;
    overflow: hidden;
    color: var(--location-text);
    background: #fff;
    font-family: "Noto Sans KR", sans-serif;
    word-break: keep-all;
}

.location-page * {
    box-sizing: border-box;
}

.location-page a {
    color: inherit;
    text-decoration: none;
}

.location-page button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.location-page .location-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   2. 공통 제목
========================================================= */
.location-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: var(--location-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.location-page .section-eyebrow::before {
    width: 32px;
    height: 1px;
    background: var(--location-point);
    content: "";
}

.location-page .section-title {
    margin: 0;
    color: var(--location-deep);
    font-size: clamp(33px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1.23;
}

.location-page .section-desc {
    margin: 21px 0 0;
    color: var(--location-muted);
    font-size: 16px;
    line-height: 1.92;
}

/* =========================================================
   3. 상단 비주얼
========================================================= */
.location-page .location-hero {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    color: #fff;

    /* 사진이 없어도 기본 색상 표시 */
    background-color: #486676;

    /* 서버에 업로드한 이미지 */
    background-image:
        linear-gradient(
            90deg,
            rgba(28, 54, 67, 0.95) 0%,
            rgba(46, 78, 92, 0.81) 50%,
            rgba(85, 118, 131, 0.38) 100%
        ),
        url("/img/location/location_visual.jpg");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.location-page .location-hero::after {
    position: absolute;
    right: -130px;
    bottom: -225px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.location-page .location-hero::before {
    position: absolute;
    right: 250px;
    bottom: -150px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.location-page .location-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 95px 0;
}

.location-page .hero-small {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.location-page .hero-small::before {
    width: 42px;
    height: 1px;
    background: #dcc39f;
    content: "";
}

.location-page .location-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(43px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.09em;
    line-height: 1.16;
}

.location-page .location-hero-text {
    max-width: 700px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, 0.81);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
}

/* =========================================================
   4. 인트로
========================================================= */
.location-page .location-intro {
    padding: 120px 0 65px;
    background: var(--location-bg);
}

.location-page .intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: end;
    gap: 66px;
}

.location-page .intro-copy {
    max-width: 680px;
}

.location-page .intro-note {
    padding: 24px 26px;
    border-left: 3px solid var(--location-point);
    color: var(--location-main-dark);
    background: #fff;
    font-size: 15px;
    line-height: 1.85;
    box-shadow: 0 8px 22px rgba(47, 75, 88, 0.055);
}

.location-page .intro-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--location-deep);
    font-size: 17px;
}

/* =========================================================
   5. 지도 및 주소 정보
========================================================= */
.location-page .map-section {
    padding: 65px 0 135px;
    background: var(--location-bg);
}

.location-page .map-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
    overflow: hidden;
    border: 1px solid var(--location-line);
    background: #fff;
    box-shadow: 0 24px 58px rgba(48, 75, 88, 0.1);
}

/* 구글 지도 */
.location-page .google-map {
    position: relative;
    min-height: 610px;
    background: #e8eef0;
}

.location-page .google-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 610px;
    border: 0;
}

/* 오른쪽 정보 패널 */
.location-page .map-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 38px;
    background: #fff;
}

.location-page .map-info-small {
    display: block;
    margin-bottom: 9px;
    color: var(--location-main);
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.location-page .map-info-title {
    margin: 0;
    color: var(--location-deep);
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.07em;
}

.location-page .contact-list {
    display: grid;
    gap: 21px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.location-page .contact-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.location-page .contact-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--location-main-dark);
    background: var(--location-bg-soft);
    font-size: 16px;
}

.location-page .contact-label {
    display: block;
    margin-bottom: 4px;
    color: var(--location-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-page .contact-text {
    display: block;
    color: var(--location-deep);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
}

.location-page .map-buttons {
    display: grid;
    gap: 8px;
    margin-top: 35px;
}

.location-page .map-btn {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.location-page .map-btn i {
    font-size: 13px;
}

.location-page .map-btn-primary {
    color: #fff;
    background: var(--location-main);
}

.location-page .map-btn-primary:hover {
    background: var(--location-main-dark);
    transform: translateY(-3px);
}

.location-page .map-btn-line {
    border-color: var(--location-line);
    color: var(--location-main-dark);
    background: #fff;
}

.location-page .map-btn-line:hover {
    border-color: var(--location-main);
    color: #fff;
    background: var(--location-main);
    transform: translateY(-3px);
}

/* =========================================================
   6. 교통편 안내
========================================================= */
.location-page .traffic-section {
    padding: 132px 0;
    background: #fff;
}

.location-page .traffic-heading {
    max-width: 730px;
    margin-bottom: 48px;
}

.location-page .traffic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.location-page .traffic-card {
    min-height: 315px;
    padding: 32px 28px 29px;
    border: 1px solid var(--location-line);
    background: #fff;
    transition: 0.27s ease;
}

.location-page .traffic-card:hover {
    border-color: rgba(63, 91, 105, 0.38);
    box-shadow: 0 17px 37px rgba(48, 75, 88, 0.1);
    transform: translateY(-7px);
}

.location-page .traffic-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 7px;
    color: var(--location-main-dark);
    background: var(--location-bg-soft);
    font-size: 20px;
}

.location-page .traffic-title {
    margin: 0;
    color: var(--location-deep);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.location-page .traffic-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.location-page .traffic-list li {
    position: relative;
    padding-left: 14px;
    color: var(--location-muted);
    font-size: 14px;
    line-height: 1.78;
}

.location-page .traffic-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--location-point);
    content: "";
}

.location-page .traffic-highlight {
    color: var(--location-main-dark);
    font-weight: 700;
}

/* =========================================================
   7. 주차 및 방문 안내
========================================================= */
.location-page .notice-section {
    padding: 118px 0;
    background: var(--location-bg-soft);
}

.location-page .notice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.location-page .notice-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 22px;
    padding: 34px 32px;
    border: 1px solid rgba(63, 91, 105, 0.14);
    background: #fff;
}

.location-page .notice-icon {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--location-main);
    font-size: 22px;
}

.location-page .notice-title {
    margin: 2px 0 0;
    color: var(--location-deep);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.location-page .notice-desc {
    margin: 11px 0 0;
    color: var(--location-muted);
    font-size: 14px;
    line-height: 1.82;
}

/* =========================================================
   8. 하단 메시지
========================================================= */
.location-page .location-bottom {
    padding: 108px 0;
    color: #fff;
    background-color: #486676;

    background-image:
        linear-gradient(
            90deg,
            rgba(28, 54, 67, 0.96) 0%,
            rgba(47, 80, 94, 0.85) 57%,
            rgba(90, 122, 135, 0.52) 100%
        ),
        url("/img/location/location_bottom.jpg");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.location-page .bottom-content {
    max-width: 780px;
}

.location-page .bottom-small {
    display: block;
    margin-bottom: 14px;
    color: #e2c79e;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.location-page .bottom-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 49px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1.3;
}

.location-page .bottom-desc {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.9;
}

/* =========================================================
   태블릿 반응형
========================================================= */
@media (max-width: 1024px) {
    .location-page .location-hero {
        min-height: 430px;
    }

    .location-page .location-intro {
        padding: 97px 0 56px;
    }

    .location-page .intro-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .location-page .map-section {
        padding: 56px 0 102px;
    }

    .location-page .map-wrap {
        grid-template-columns: 1fr;
    }

    .location-page .google-map,
    .location-page .google-map iframe {
        min-height: 480px;
    }

    .location-page .map-info {
        padding: 38px 34px;
    }

    .location-page .traffic-section {
        padding: 101px 0;
    }

    .location-page .notice-section {
        padding: 94px 0;
    }
}

/* =========================================================
   모바일 반응형
========================================================= */
@media (max-width: 767px) {
    .location-page .location-inner {
        width: min(100% - 32px, 620px);
    }

    .location-page .section-eyebrow {
        margin-bottom: 13px;
        font-size: 11px;
        letter-spacing: 0.14em;
    }

    .location-page .section-eyebrow::before {
        width: 23px;
    }

    .location-page .section-title {
        font-size: 34px;
        line-height: 1.28;
    }

    .location-page .section-desc {
        margin-top: 17px;
        font-size: 15px;
        line-height: 1.84;
    }

    /* 상단 비주얼 */
    .location-page .location-hero {
        min-height: 380px;
        background-position: 62% center;
    }

    .location-page .location-hero-content {
        padding: 74px 0;
    }

    .location-page .hero-small {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    .location-page .hero-small::before {
        width: 27px;
    }

    .location-page .location-hero-title {
        font-size: 44px;
    }

    .location-page .location-hero-text {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.82;
    }

    /* 인트로 */
    .location-page .location-intro {
        padding: 77px 0 42px;
    }

    .location-page .intro-note {
        padding: 20px 19px;
        font-size: 14px;
    }

    /* 지도 */
    .location-page .map-section {
        padding: 42px 0 77px;
    }

    .location-page .map-wrap {
        box-shadow: 0 17px 40px rgba(48, 75, 88, 0.09);
    }

    .location-page .google-map,
    .location-page .google-map iframe {
        min-height: 340px;
    }

    .location-page .map-info {
        padding: 28px 22px 25px;
    }

    .location-page .map-info-title {
        font-size: 25px;
    }

    .location-page .contact-list {
        gap: 17px;
        margin-top: 25px;
    }

    .location-page .contact-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .location-page .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .location-page .map-buttons {
        margin-top: 28px;
    }

    /* 교통편 */
    .location-page .traffic-section {
        padding: 77px 0;
    }

    .location-page .traffic-heading {
        margin-bottom: 31px;
    }

    .location-page .traffic-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-page .traffic-card {
        min-height: auto;
        padding: 24px 21px 23px;
    }

    .location-page .traffic-card:hover {
        transform: none;
    }

    .location-page .traffic-icon {
        width: 49px;
        height: 49px;
        margin-bottom: 18px;
        font-size: 17px;
    }

    .location-page .traffic-title {
        font-size: 20px;
    }

    /* 안내 */
    .location-page .notice-section {
        padding: 77px 0;
    }

    .location-page .notice-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-page .notice-card {
        display: block;
        padding: 23px 21px;
    }

    .location-page .notice-icon {
        width: 53px;
        height: 53px;
        margin-bottom: 17px;
        font-size: 19px;
    }

    /* 하단 */
    .location-page .location-bottom {
        padding: 77px 0;
        background-position: 62% center;
    }

    .location-page .bottom-small {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .location-page .bottom-title {
        font-size: 32px;
    }

    .location-page .bottom-desc {
        margin-top: 15px;
        font-size: 14px;
    }
}
	
	
/* =========================================================
   오시는 길 페이지 - 모바일 좌우 여백 축소
   기존 CSS 가장 아래에 추가
========================================================= */
@media (max-width: 767px) {

    /* 기존 좌우 16px 여백을 약 8px로 축소 */
    .location-page .location-inner {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    /* 지도 영역은 모바일 화면을 더욱 넓게 사용 */
    .location-page .map-section .location-inner {
        width: calc(100% - 8px) !important;
    }

    /* 지도 정보 패널 내부 여백도 살짝 축소 */
    .location-page .map-info {
        padding: 25px 17px 23px !important;
    }

    /* 처음 방문 안내 박스 */
    .location-page .intro-note {
        padding: 18px 16px !important;
    }

    /* 교통편 카드 */
    .location-page .traffic-card {
        padding: 22px 17px 21px !important;
    }

    /* 주차 및 새가족 안내 카드 */
    .location-page .notice-card {
        padding: 21px 17px !important;
    }
}	
	
	
