@charset "utf-8";
/* 반응형 브레이크(이 파일): 767 — 나머지는 1440 → 375 화면 비율에 맞춘 연속 보간(calc(기울기vw + 절편px), 최대/최소 clamp) */
/* 오시는 길 — Figma node 297:4002 (컨테이너 1440 기준 좌표)
   지도 0,0 1440×650 · 정보행 아이콘 x20 y680/735/790 (45×45, 행 피치 55) · 글자 x80(23px Medium, 줄높이 28) · 지도앱 버튼 102×102 (x1191·x1318, y680, 오른쪽 여백 20)
   구분선 y867 · 대중교통 아이콘 y900 · 본문 y962(20px, 줄높이 33) */

.msd-location { width: 100%; }

/* 지도 */
.msd-location__mapbox {
    width: 100%;
    height: clamp(320px, calc(30.99vw + 203.8px), 650px);   /* 650 → 375에서 320 */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: clamp(16px, calc(0.6573vw + 13.5px), 23px);   /* 23 → 16 */
    overflow: hidden;
    position: relative;
}
.msd-location__map { width: 100%; height: 100%; display: block; }
.msd-location__map--static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 주소 / 전화 + 지도 버튼 — 시안: 지도 아래 30 · 좌우 안쪽 여백 20 · 지도앱 버튼은 첫 행과 같은 높이(위 정렬) */
.msd-location__info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: clamp(20px, calc(0.939vw + 16.48px), 30px);   /* 30 */
    padding: 0 clamp(8px, calc(1.127vw + 3.77px), 20px);   /* 20 */
}
@media (max-width: 767px) { .msd-location__info { flex-direction: column; align-items: flex-start; gap: 20px; } }
.msd-location__rows {
    display: flex;
    flex-direction: column;
    gap: clamp(7px, calc(0.2817vw + 5.94px), 10px);   /* 시안: 행 피치 55 = 아이콘 45 + 10 */
}
.msd-location__row {
    display: flex;
    align-items: center;
    gap: clamp(10px, calc(0.4695vw + 8.24px), 15px);   /* 시안: 아이콘 끝(65) → 글자(80) = 15 */
}
.msd-location__ico {
    flex: 0 0 auto;
    width: clamp(36px, calc(0.845vw + 32.83px), 45px);   /* 45 → 36 */
    height: clamp(36px, calc(0.845vw + 32.83px), 45px);
    border-radius: clamp(12px, calc(0.3756vw + 10.59px), 16px);   /* 16 → 12 */
    display: flex;
    align-items: center;
    justify-content: center;
}
.msd-location__ico img { width: clamp(21px, calc(0.5634vw + 18.89px), 27px); height: clamp(21px, calc(0.5634vw + 18.89px), 27px); object-fit: contain; }   /* 27 → 21 */
.msd-location__ico.is-addr  { background: #0455a1; }   /* 교구 */
.msd-location__ico.is-phone { background: #319c00; }   /* 교회 */
.msd-location__ico.is-fax   { background: #84b400; }   /* 시안: 축일색 (2026-10-19, 이전 #319c00) */
.msd-location__ico.is-bus   { background: #19b0c0; }   /* 기관단체 */

.msd-location__txt {
    font-size: clamp(17px, calc(0.5634vw + 14.89px), 23px);   /* 23 → 17 */
    line-height: 121.739%;   /* 시안 28 / 23 */
    color: #222;
    font-weight: 500;
}
.msd-location__txt a { color: inherit; text-decoration: none; }
.msd-location__txt a:hover { text-decoration: underline; }

/* 지도 앱 버튼 */
/* 2026-10-07: 버튼·안쪽 이미지 모두 1440 → 375 화면 비율에 맞춰 연속 축소(기존 1023/767 고정 단계 제거) */
.msd-location__apps { display: flex; gap: clamp(16px, calc(0.845vw + 12.83px), 25px); flex: 0 0 auto; }   /* 시안: 두 버튼 사이 25 */
.msd-location__app {
    width: clamp(72px, calc(2.817vw + 61.44px), 102px);
    height: clamp(72px, calc(2.817vw + 61.44px), 102px);
    border-radius: clamp(18px, calc(0.4695vw + 16.24px), 23px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}
.msd-location__app:hover { transform: translateY(-3px); }
.msd-location__app.is-naver { background: #fff; }
.msd-location__app.is-kakao { background: #fae100; }
.msd-location__app.is-naver img { width: clamp(54px, calc(2.066vw + 46.25px), 76px); height: clamp(54px, calc(2.066vw + 46.25px), 76px); object-fit: contain; }   /* 76 → 54 */
.msd-location__app.is-kakao img { width: clamp(50px, calc(1.878vw + 42.96px), 70px); height: clamp(50px, calc(1.878vw + 42.96px), 70px); object-fit: contain; }   /* 70 → 50 */

/* 구분선 — 시안: 마지막 정보행 끝(835) → 선(867) = 32 */
.msd-location__divider {
    height: 1px;
    background: #d9d9d9;
    margin: clamp(22px, calc(0.939vw + 18.48px), 32px) 0 0;
}

/* 대중교통 — 시안: 선 → 아이콘 32 · 아이콘 끝(945) → 본문(962) = 17 · 좌우 안쪽 여백 20 */
.msd-location__transit { margin-top: clamp(22px, calc(0.939vw + 18.48px), 32px); padding: 0 clamp(8px, calc(1.127vw + 3.77px), 20px); }
.msd-location__subtit {
    font-size: clamp(17px, calc(0.5634vw + 14.89px), 23px);   /* 23 → 17 */
    line-height: 121.739%;
    color: #222;
    font-weight: 500;
}
.msd-location__transit-text {
    margin-top: clamp(12px, calc(0.4695vw + 10.24px), 17px);
    padding-left: clamp(46px, calc(1.3145vw + 41.07px), 60px);   /* 아이콘 + 간격 = 글자 시작선에 맞춤(시안 60) */
    font-size: clamp(16px, calc(0.3756vw + 14.59px), 20px);   /* 20 → 16 */
    line-height: clamp(26px, calc(0.6573vw + 23.5px), 33px);   /* 33 → 26 */
    color: #222;
    font-weight: 400;
}
@media (max-width: 767px)  { .msd-location__transit-text { padding-left: 0; } }
.msd-location__transit-text b { font-weight: 600; }

/* ≤767: 제목(.msd-pagehead)이 숨겨져 푸른 바 바로 아래에 지도가 붙으므로, 공통 상단 여백(15px)에 간격을 조금 더함 — 767=+10 ~ 375=+5 비례 (2026-10-07 사용자 지정) */
@media (max-width: 767px) { .msd-location { padding-top: clamp(5px, calc(1.276vw + 0.22px), 10px); } }

/* ≤767: 정보(주소·전화)가 위, 지도 앱 버튼(네이버·카카오)이 아래로 배치되면 버튼은 가운데 정렬 (2026-10-07 사용자 지정) */
@media (max-width: 767px) { .msd-location__apps { align-self: center; justify-content: center; } }
