/* ============================================================
   서브 페이지 공통 CSS
   ============================================================ */

/* ── 타이틀 섹션 ── */
.wv-title-container { padding: 80px 20px; text-align: center; }
.wv-title-container .wv-title { font-size: 36px; font-weight: 700; color: #000; letter-spacing: -0.05em; }
.wv-title-container .wv-sub-title { font-size: 16px; font-weight: 500; color: #333; margin-top: 10px; letter-spacing: -0.02em; }
.wv-title-container .wv-title-line { width: 100px; height: 3px; background-color: #102476; margin: 30px auto; }
.wv-title-container .wv-title-desc { font-size: 18px; color: #555; line-height: 1.6; word-break: keep-all; }

/* ── PC/모바일 이미지 전환 ── */
.wv-sub-con .wv-pc-img,
.wv-sub-con .wv-mo-img { width: 100%; height: auto; }
.wv-sub-con .wv-mo-img { display: none; }
.wv-sub-con .wv-pc-img { display: block; }

/* ── 등장 애니메이션 ── */
.sub-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.sub-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 서브 페이지 이미지 블록 ── */
#sub-page-container { width: 100%; overflow: hidden; }
.sub-page-section { width: 100%; }

.sub-img-wrap { width: 100%; line-height: 0; display: block; }
.sub-img-wrap img,
.sub-img-wrap picture { width: 100%; height: auto; display: block; }

/* ── HTML 콘텐츠 블록 ── */
.sub-content-block { width: 100%; padding: 80px 20px; box-sizing: border-box; background: #fff; }
.sub-content-inner { max-width: 1200px; margin: 0 auto; }
.sub-content-title { font-size: 32px; font-weight: 700; color: #222; margin-bottom: 20px; line-height: 1.4; }
.sub-content-text { font-size: 16px; color: #555; line-height: 1.8; }

/* ── 서브 탭 메뉴 ── */
.sub-tab-nav { border-bottom: 1px solid #e2e2e2; background: #fff; }
.tab-list { display: flex; justify-content: center; max-width: 1200px; margin: 0 auto; list-style: none; padding: 0; }
.tab-list li { width: 180px; text-align: center; }
.tab-list li a { display: block; padding: 25px 0; font-size: 18px; color: #999; text-decoration: none; position: relative; transition: 0.3s; }
.tab-list li a.active { color: #102476; font-weight: 700; }
.tab-list li a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: #102476; }

/* ── 의료진 소개 ── */
.doctor-intro-section { padding: 60px 0; background: #fff; }
.inner-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.profile-flex { display: flex; align-items: flex-start; gap: 60px; }
.doctor-photo { flex: 0 0 450px; }
.doctor-photo img { width: 100%; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.doctor-details { flex: 1; }
.doctor-details .eng-name { font-size: 15px; color: #8a96bc; letter-spacing: 1px; margin-bottom: 5px; }
.doctor-details .intro-title { font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; position: relative; }
.doctor-details .intro-title::after { content: ''; display: block; width: 30px; height: 2px; background: #333; margin-top: 10px; }
.name-box { display: inline-block; background: #102476; color: #fff; padding: 8px 25px; font-size: 22px; font-weight: 500; margin-bottom: 25px; }
.name-box .highlight { font-weight: 700; margin-right: 5px; }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 16px; color: #444; line-height: 1.6; }
.history-list li::before { content: '◆'; position: absolute; left: 0; top: 4px; color: #102476; font-size: 12px; }
.history-list li.point { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.history-list li.point::before { content: ''; }
.k-icon { width: 20px; height: auto; }

/* ── 특장점 섹션 ── */
.clinic-features-container { width: 100%; }
.feature-section { padding: 80px 0; background: #fff; }
.feature-section.bg-gray { background: #f8f8f8; }
.feature-row { display: flex; align-items: center; justify-content: center; gap: 70px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-img { flex: 0 0 350px; text-align: center; }
.feature-img img { width: 100%; max-width: 350px; border-radius: 50%; box-shadow: 0 15px 30px rgba(0,0,0,0.06); background: #fff; }
.feature-text { flex: 1; max-width: 500px; }
.feature-text .num { font-size: 26px; font-weight: 900; color: #102476; display: block; margin-bottom: 5px; }
.feature-text h4 { font-size: 34px; font-weight: bold; color: #102476; margin-bottom: 20px; letter-spacing: -1px; }
.feature-text p { font-size: 20px; font-weight: 500; color: #444; line-height: 1.7; word-break: keep-all; }

/* ════════════════════════════════════
   반응형
   ════════════════════════════════════ */
@media screen and (max-width: 991px) {
    .profile-flex { flex-direction: column; align-items: center; gap: 40px; }
    .doctor-photo { flex: 0 0 auto; width: 100%; max-width: 400px; }
    .doctor-details { width: 100%; }
}

@media screen and (max-width: 768px) {
    /* 타이틀 */
    .wv-title-container { padding: 50px 20px 0; }
    .wv-title-container .wv-title { font-size: 28px; }
    .wv-title-container .wv-sub-title { font-size: 14px; }
    .wv-title-container .wv-title-desc { font-size: 16px; }
    .br-pc { display: none; }

    /* 이미지 전환 */
    .wv-sub-con .wv-pc-img { display: none !important; }
    .wv-sub-con .wv-mo-img { display: block !important; }

    /* 탭 메뉴 */
    .tab-list li { width: 25%; }
    .tab-list li a { font-size: 14px; padding: 15px 0; }

    /* 콘텐츠 블록 */
    .sub-content-block { padding: 50px 20px; }
    .sub-content-title { font-size: 22px; }
    .sub-content-text { font-size: 14px; }

    /* 특장점 */
    .feature-section { padding: 60px 0; }
    .feature-row,
    .feature-row.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .feature-img { flex: 0 0 auto; width: 280px; }
    .feature-text h4 { font-size: 24px; }
    .feature-text p { font-size: 16px; }
}


.map-section {
    width: 100%;
    height: 500px;
    line-height: normal;
}

#naver_map_area {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .map-section {
        height: 360px;
    }
}

