@charset "UTF-8";

/* ==========================================
   00. 기본 변수 및 초기화
   ========================================== */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --bg-light: #f8f9fa;
--bg-light2: #eaf0f6;
    --text-main: #333333;
    --text-sub: #666666;
    --border-color: #e2e8f0;
	--point-color: #85bfff;
    --point2-color: #FF7A59;
    --point3-color: #ddac19;
    --bg-color: #f5f9ff;
    --bg2-color: #f9f9f9;
    --bg3-color: #effaea;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: 'Pretendard', sans-serif; color: var(--text-main); line-height: 1.6; word-break: keep-all; }
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
a:focus,
a:active {
    outline: none;
    border: none;
    box-shadow: none;
}
.container_n { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 90px 0; }

/* 모션 최소화 설정 사용자: 자동 애니메이션/부드러운 스크롤 비활성화 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dx.is-rolling .dx-tab.is-active .dx-roll { animation: none; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* ==========================================
   Section Title (세로 정렬 및 중앙 배치)
   ========================================== */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}

/* 상단 영문 배지 */
.section-title .sub-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--point-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--bg3-color);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

/* 메인 제목 */
.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 16px;
    margin: 0;
}

/* 하단 그라데이션 포인트 라인 */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--point-color));
    border-radius: 2px;
}

/* 서브 설명문 */
.section-title p {
    font-size: 17px;
    color: var(--text-sub);
    margin-top: 14px;
    font-weight: 400;
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
    .section-title .sub-title {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }
    .section-title h2 {
        font-size: 26px;
        padding-bottom: 12px;
    }
    .section-title h2::after {
        width: 35px;
        height: 3px;
    }
    .section-title p {
        font-size: 15px;
        margin-top: 10px;
    }
}


.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
    min-width: 120px; 
    text-align: center;
}

.badge i {
    font-size: 14px;
}

/* ==========================================
   01. GNB & 헤더
   ========================================== */   
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #00000040;
}
/* 스크롤 후: 헤더 배경 흰색 전환 */
header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

/* 로고 스타일 */
#L_SITE_LOGO h1 {margin:0 !important; }

.logo { width: 180px; height: auto; line-height: 0; }
.logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* 스크롤 전: 어두운 헤더 위에서 로고를 흰색으로 표시 */
    transition: filter 0.3s ease;
}

/* 스크롤 후: 헤더가 흰색이므로 로고를 원래 색상으로 복원 */
header.scrolled .logo img {
    filter: none;
}

/* GNB 스타일 */
.gnb { display: flex; gap: 30px; align-items: center; margin-bottom: 0; } 

.gnb a { 
    position: relative;
    font-size: 20px; 
    font-weight: 600; 
    color: #ffffff; 
    padding: 8px 20px;        
    border-radius: 30px;      
    transition: all 0.3s ease; 
}

/* 스크롤 전: 호버/활성화 스타일 (투명도 있는 흰색 배경) */
.gnb a:hover,
.gnb a.active { 
    color: #ffffff !important; text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2); /* 스크롤 전은 반투명 흰색 */
}

/* 스크롤 후: 헤더가 흰색이므로 글자는 어둡게 */
header.scrolled .gnb a { color: var(--text-main); text-decoration: none;}

/* 스크롤 후: 호버/활성화 스타일 (흰 배경 위) */
header.scrolled .gnb a:hover,
header.scrolled .gnb a.active {
    color: var(--primary-color) !important; text-decoration: none;
    background-color: var(--bg-light);
}
header.scrolled .gnb a:focus { outline: none; background-color: var(--bg-light);}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    background: transparent; border: none; cursor: pointer;
}
.hamburger-btn span {
    display: block; width: 100%; height: 3px;
    background-color: #ffffff; border-radius: 2px; transition: all 0.3s;
}
header.scrolled .hamburger-btn span { background-color: var(--text-main); }

@media (max-width: 1201px) {
    .main-visual .container_n { padding: 0 40px; }
    .gnb { display: flex; gap: 10px; }
    .gnb a { font-size: 16px; padding: 8px 12px; }
    .logo { width: 160px;  }
    .main-visual .swiper-button-next, .main-visual .swiper-button-prev { display: none; }
}

@media (max-width: 768px) {
    .logo { width: 150px;  }
}
/* ==========================================
   모바일 메뉴 (클릭 영역 전체 확장)
   ========================================== */
.mobile-menu {
    position: fixed; 
    top: 0; 
    right: -100%;
    width: 80%; 
    max-width: 300px; 
    height: 100vh;
    background-color: #ffffff; 
    z-index: 2000;
    padding: 80px 0 30px; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
}

.mobile-menu.active { 
    right: 0; 
}

.mobile-menu .close-btn {
    position: absolute; 
    top: 20px; 
    right: 20px;
    font-size: 36px; 
    background: none; 
    border: none; 
    cursor: pointer;
}

/* GNB 목록 패딩 제거 */
.mobile-gnb { 
    display: flex; 
    flex-direction: column; 
    gap: 0; 
    width: 100%;
}

.mobile-gnb li {
    width: 100%;
}

/* <a> 태그 클릭 영역 전체 확장 핵심 코드 */
.mobile-gnb a { 
    display: block;
    width: 100%;
    padding: 16px 30px;
    font-size: 18px; 
    font-weight: 700; 
    color: var(--text-main);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 터치/마우스 오버 시 시각적 피드백 효과 */
.mobile-gnb a:hover,
.mobile-gnb a:active { 
    background-color: var(--bg-light); 
    color: var(--primary-color);
}

/* ==========================================
   02. 메인 비주얼 커스텀 (네비게이션 & 페이지네이션)
   ========================================== */
.main-visual { position: relative; width: 100%; height: 800px; overflow: hidden; }
.main-visual .img01 { background-image: url('/images/kor01r-26-0469/m_visual_01.jpg'); }
.main-visual .img02 { background-image: url('/images/kor01r-26-0469/m_visual_02.jpg'); }
.main-visual .img03 { background-image: url('/images/kor01r-26-0469/m_visual_03.jpg'); }

.main-visual .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 800px;
    position: relative;
}

.main-visual .swiper-slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.slide-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: #ffffff;
    max-width: 800px;
    padding: 0;
}

.slide-content h2 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.2;
}
.slide-content p { font-size: 20px; font-weight: 300; text-align: left; }

/* ★ 슬라이드 상단 배지 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22); /* [변경 2026-09-08] backdrop-filter 제거: 슬라이더 위에서 매 프레임 재블러되어 스크롤 버벅임 유발 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--point-color);
}

/* ★ 하단 CTA 버튼 */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-outline {
    background-color: transparent;
    color: var(--point-color);
    border: 1px solid #ffffff;
}
.btn-outline:hover {
    background-color: var(--point-color);
    color: var(--secondary-color); 
    text-decoration: none;
}

/* 메인 비주얼 좌우 화살표 버튼 커스텀 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
    color: #ffffff;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.main-visual .swiper-button-next:hover,
.main-visual .swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* 메인 비주얼 페이지네이션(불릿) 커스텀 */
.main-visual .main-pagination {
    bottom: 25px !important;
}
.main-visual .main-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.main-visual .main-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 28px;
    border-radius: 10px;
}

/* 원형 프로그레스 바 위치 조절 (페이지네이션과 가려지지 않도록 우측에 배치) */
.autoplay-progress {
    position: absolute;
    right: 130px;
    bottom: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
	cursor: pointer;
    user-select: none;
}
.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0; top: 0;
    z-index: 10;
    width: 100%; height: 100%;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6px;
    transform: rotate(-90deg);
}
.autoplay-progress svg circle {
    stroke: var(--primary-color);
    stroke-width: 4;
    fill: rgba(0, 0, 0, 0.4);
}
.autoplay-progress span { font-size: 13px; z-index: 11; }

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .main-visual,
    .main-visual .swiper-slide {
        height: 400px;
    }
    .main-visual .swiper-button-next,
    .main-visual .swiper-button-prev {
        display: none; 
    }
    .autoplay-progress {
        right: 15px;
        bottom: 15px;
        width: 36px;
        height: 36px;
    }
    .autoplay-progress span { font-size: 11px; }
    .slide-content {
        padding: 0px; margin-top: 25px;
    }
.hero-badge { margin-bottom:0px }
    .btn-outline {
        gap: 6px;
        padding: 7px 25px;
        border-radius: 8px;
        font-size: 14px;
    }
}

/* ==========================================
   03. 진료과목 (Hover 인터랙션 수정)
   ========================================== */
.dept-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    width: 100%;
}

.dept-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background: #ffffff;
    border: 1px solid var(--primary-color); 
    border-radius: 12px;
    padding: 30px 40px; 
    position: relative;     
    overflow: hidden;    
    z-index: 1;         
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

/* ★ 아래에서 위로 올라올 파란색 배경 슬라이드 바 */
.dept-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;        
    background-color: var(--primary-color);
    z-index: -1;        
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}

.dept-icon,
.dept-card h3,
.dept-card ul li,
.dept-card ul li::before {
    transition: color 0.3s ease;
}

.dept-card .dept-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;      
    background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 100%);       
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dept-card .dept-icon i {
    font-size: 28px;
    color: #0056b3;
    filter: drop-shadow(2px 3px 4px rgba(0, 86, 179, 0.25));
}

.dept-card:hover .dept-icon {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 86, 179, 0.18),
                inset 0 1px 1px rgba(255, 255, 255, 1);
}
/* ------------------------------------------
   ★ 마우스 오버(Hover) 시 슬라이드 업 효과
   ------------------------------------------ */
.dept-card:hover { 
    border-color: var(--primary-color);
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2); 
}

/* 호버 시 파란색 배경 높이를 100%로 변경 (아래에서 위로 올라옴) */
.dept-card:hover::before {
    height: 100%;
}
.dept-card h3 { 
    font-size: 24px; 
    margin-bottom: 10px; 
    color: var(--secondary-color); 
    transition: color 0.3s ease;
}

.dept-card ul li { 
    font-size: 18px; 
    color: var(--secondary-color); 
    margin-bottom: 0px; 
    position: relative; 
    padding-left: 12px; 
    transition: color 0.3s ease;
}

.dept-card ul li::before { 
    content: '•'; 
    position: absolute; 
    left: 0; 
    color: var(--primary-color); 
    transition: color 0.3s ease;
}


@media (max-width: 1201px) {
    .dept-grid { gap: 20px; }
    .dept-card { flex: 0 0 calc((100% - 40px) / 3); padding: 15px 30px; }
    .dept-icon { font-size: 34px; margin-top: 10px;}
    .dept-card h3 { font-size: 22px; }
    .dept-card ul li { font-size: 18px; }
}

/* ------------------------------------------
   ★ 짝수번째(2n) 카드 배경 반전
   ------------------------------------------ */
.dept-card:nth-child(2n) {
    background-color: var(--bg2-color);
    border-color: var(--primary-color);
}
.dept-card:nth-child(2n) .dept-icon,
.dept-card:nth-child(2n) h3,
.dept-card:nth-child(2n) ul li,
.dept-card:nth-child(2n) ul li::before {
    color: var(--secondary-color);
}

.dept-card:nth-child(2n)::before {
    background-color: var(--primary-color);
}
.dept-card:nth-child(2n):hover .dept-icon,
.dept-card:nth-child(2n):hover h3,
.dept-card:nth-child(2n):hover ul li,
.dept-card:nth-child(2n):hover ul li::before {
     color: #ffffff;
}

.dept-card:hover .dept-icon,
.dept-card:hover h3,
.dept-card:hover ul li {
    color: #ffffff;
}

.dept-card:hover ul li::before {
    color: #ffffff;
}

/* ==========================================
   03-1. 진료과목 인터랙티브 (신규 · .dx-* 네임스페이스, 기존 .dept-* 영향 없음)
   ========================================== */
.dx { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }

/* 좌측 nav (데스크톱: 세로 리스트) */
.dx-nav {
    flex: 1 1 300px; max-width: 360px; align-self: start;
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px; background: #f5f9ff; border-radius: 4px;
}
.dx-tab {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 18px; border: 0; background: transparent; cursor: pointer;
    text-align: left; font-family: inherit; border-radius: 3px;
    transition: background 0.2s ease;
}
.dx-tab-no { position: relative; font-size: 12px; font-weight: 700; color: var(--point-color); letter-spacing: 1px; }
.dx-tab-label { position: relative; font-size: 19px; font-weight: 600; color: var(--secondary-color); }
.dx-tab:hover { background: #ffffff80; }
.dx-tab.is-active { background: #ffffff; box-shadow: 0 2px 10px rgba(0, 86, 179, 0.10); }
.dx-tab .dx-roll {
    position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
    border-radius: 2px; background: transparent;
    transform: scaleY(0); transform-origin: top;
}
.dx-tab.is-active .dx-roll { background: var(--primary-color); transform: scaleY(1); }
.dx.is-rolling .dx-tab.is-active .dx-roll { animation: dx-roll 4.5s linear forwards; }
@keyframes dx-roll { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dx-rollX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 우측 패널 */
.dx-panel {
    flex: 1 1 560px; display: flex; flex-wrap: wrap; min-height: 380px;
    border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden;
}
.dx-content { flex: 1 1 340px; min-width: 0; padding: 48px; }
.dx-pane { display: none; flex-direction: column; gap: 22px; }
.dx-pane.is-active { display: flex; }
.dx-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%; background: #f5f9ff;
}
.dx-icon i { font-size: 26px; color: var(--primary-color); }
.dx-pane h3 { margin: 0; font-size: 30px; font-weight: 700; color: var(--secondary-color); letter-spacing: -0.3px; }
.dx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-tags span { padding: 7px 14px; border-radius: 999px; background: #f5f9ff; color: var(--primary-color); font-size: 15px; font-weight: 600; }
.dx-desc { margin: 0; font-size: 18px; line-height: 1.7; color: var(--text-sub); }

.dx-visual { position: relative; flex: 1 1 320px; min-width: 260px; min-height: 280px; background: #f5f9ff; }
.dx-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.dx-controls {
    flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 4px;
    padding: 8px 10px; border-top: 1px solid var(--border-color); background: #ffffff;
}
.dx-arrow {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 44px; height: 44px; border: 1px solid var(--border-color); border-radius: 50%;
    background: #fff; cursor: pointer; transition: border-color 0.2s ease;
}
.dx-arrow:hover { border-color: var(--primary-color); }
.dx-arrow i { font-size: 12px; color: var(--primary-color); }
.dx-dots { display: flex; align-items: center; justify-content: center; min-width: 0; }
.dx-dot {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: clamp(28px, 7vw, 44px); height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.dx-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c3d3e6; transition: background 0.2s ease; }
.dx-dot.is-active::before { background: var(--primary-color); }

/* ≤1024px: nav 를 가로 그리드로 */
@media (max-width: 1024px) {
    .dx-nav { flex: 1 1 100%; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; }
    .dx-tab { justify-content: center; gap: 0; padding: 7px 10px; }
    .dx-tab-no { display: none; }
    .dx-tab-label { font-size: clamp(13px, 3.6vw, 15px); white-space: nowrap; }
    .dx-tab .dx-roll { left: 8px; right: 8px; top: auto; bottom: 1px; width: auto; height: 3px; transform: scaleX(0); transform-origin: left; }
    .dx-tab.is-active .dx-roll { transform: scaleX(1); }
    .dx.is-rolling .dx-tab.is-active .dx-roll { animation: dx-rollX 4.5s linear forwards; }
}
@media (max-width: 400px) {
    .dx-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .dx { gap: 24px; }
    .dx-content { padding: 28px 24px; }
    .dx-pane { gap: 14px; }
    .dx-pane h3 { font-size: 24px; }
    .dx-desc { font-size: 16px; }
    .dx-icon { width: 52px; height: 52px; }
    .dx-icon i { font-size: 22px; }
}

/* ==========================================
   04. 의료진 소개 (다중 카드 레이아웃)
   ========================================== */
#doctor,
#location {
    position: relative;
    overflow: hidden; /* 블롭 배경이 섹션 밖으로 튀어나가지 않도록 */
}

/* ★ 배경에 은은하게 퍼지는 블롭(blob) 장식 효과
   - 스크롤 성능을 위해 상시 애니메이션/blend-mode 제거, 정적 그라데이션으로 표현 */
#doctor::before,
#doctor::after,
#location::before,
#location::after{
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
#doctor::before,
#location::before {
    top: 5%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.10) 0%, rgba(0, 86, 179, 0) 70%);
}
#doctor::after,
#location::after {
    bottom: 5%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.09) 0%, rgba(0, 51, 102, 0) 70%);
}

/* 콘텐츠는 블롭보다 항상 위에 노출 */
#doctor .container_n,
#location .container_n {
    position: relative;
    z-index: 1;
}

.doctorSlider {
    position: relative;
    padding-bottom: 50px; /* 하단 페이지네이션 공간 */
}

.doctor-card {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* 이미지 영역 꽉 채우기 */
.doctor-img {
    flex: 1;
    max-width: 450px;
    position: relative;
    padding:25px;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover; 
    display: block;
    border-radius: 16px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.doctor-info {
    flex: 1.2;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-info h3 { font-size: 28px; margin-bottom: 0px; color: var(--secondary-color); }
.doctor-info .position { color: var(--primary-color); font-weight: 600; margin-bottom: 25px; font-size: 20px; }

.doctor-info .badge {
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;                
    padding: 6px 18px;       
    background-color: #0056b3;  
    color: #ffffff;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    margin-left: -5px;         
    margin-bottom: 12px;    
}

.doctor-detail-item { margin-bottom: 20px; }
.doctor-detail-item ul { margin-top: 6px; }
.doctor-detail-item li { color: var(--text-sub); font-size: 18px; margin-bottom: 4px; line-height: 1.6; }

/* Swiper 버튼 및 커스텀 */
.doctorSlider .swiper-button-next,
.doctorSlider .swiper-button-prev {
    display:none;
    color: var(--primary-color);
}
.doctorSlider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c3d3e6;
    opacity: 1;
}
.doctorSlider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .doctor-card {
        flex-direction: column;
    }
    
    .doctor-img {
        max-width: 100%;
        height: 330px;
        padding:0px;
    }
    
    .doctor-img::before {
        top: -12px;
        left: -12px;
    }
    
    .doctor-img img {
        min-height: auto;
    }
    
    .doctor-info {
        padding: 30px 20px;
    }
    
    .doctor-info h3 {
        font-size: 24px;
    }
}

/* ==========================================
   05. 시설안내 (Swiper 슬라이더)
   ========================================== */
.facilitySlider { position: relative; padding: 0 10px 44px; overflow: hidden; }
.facilitySlider .swiper-slide { height: auto; text-align: center; }
.facilitySlider .swiper-slide a { display: block; }
.facilitySlider img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; }
.facilitySlider h4 { margin-top: 15px; font-size: 20px; color: var(--text-main); }
.facilitySlider .swiper-button-next,
.facilitySlider .swiper-button-prev { display:none; color: var(--primary-color); }
.facilitySlider .facility-pagination { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; }
.facilitySlider .facility-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: #c3d3e6; opacity: 1; }
.facilitySlider .facility-pagination .swiper-pagination-bullet-active { background: var(--primary-color); }

/* ==========================================
   06. 진료시간 & 오시는길
   ========================================== */
.info-wrap { display: flex; gap: 40px; }
.info-text { flex: 4; }
.info-map { flex: 6; min-height: 360px; border-radius: 0px; overflow: hidden; border: 1px solid var(--border-color); }
.info-box { margin-bottom: 25px; }
.info-box p { color: var(--text-sub); font-size: 18px; margin-top: 0px; }
.info-box p.phone a{ font-size: 26px; font-weight: 700; color: var(--primary-color); margin-top:0; text-decoration:none; }
.info-box p.phone a:hover{ text-decoration:none; }
/* ==========================================
   07. 의원소식
   ========================================== */
.notice-board { border-top: 2px solid var(--secondary-color); }
.notice-item { display: flex; justify-content: space-between; padding: 20px 10px; border-bottom: 1px solid var(--border-color); }
.notice-title { font-size: 18px; font-weight: 500; }
.notice-date, .board-wrap td.date { color: var(--text-sub); font-size: 14px; }

/* ==========================================
   08. 푸터 & 퀵배너 (Top 아이콘 추가)
   ========================================== */
footer { background: #222222; color: #888888; padding: 30px 0 50px; font-size: 16px; line-height:1.3}
footer a { color: #aaaaaa; }
footer a:hover { color: #aaaaaa; text-decoration:underline; }
.footer-links { display: flex; gap: 20px; margin-bottom: 20px; font-weight: 600; }
.footer-info p { margin-bottom: 6px; }

/* 데스크탑: 구분자(|)로 이어서 표시 */
.footer-info .fi-part + .fi-part::before { content: "|"; margin: 0 8px; color: #666666; }

.quick-banner {
    position: fixed; bottom: 100px; right: 30px;
    z-index: 999; display: flex; flex-direction: column; gap: 10px;
}
.quick-btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 20px; border: none; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: transform 0.2s;
}
.quick-btn:hover { transform: scale(1.1); }
.quick-tel { background-color: var(--primary-color); color: #ffffff !important;  text-decoration: none !important;}
.quick-kakao { background-color: #FEE500; color: #000000 !important;  text-decoration: none !important;}
.quick-top { background-color: #333333; color: #ffffff !important; text-decoration: none !important; }

/* ==========================================
   09. 모바일 반응형 (768px 이하)
   ========================================== */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
 
    .desktop-nav { display: none; }
    .hamburger-btn { display: flex; }

    .slide-content h2 { font-size: 26px; }
    .slide-content p { font-size: 15px; }

    .dept-grid { flex-direction: column; gap: 20px; }

    /* 모바일 의료진 카드는 세로 배치 */
    .doctor-card { flex-direction: column; gap: 20px; padding: 25px; text-align: center; }
    .doctor-img { max-width: 100%; }
    .doctor-detail-item ul li { font-size: 14px; }

    .info-wrap { flex-direction: column; gap: 30px; }
    .info-map { width: 100%; min-height: 280px; }

    .quick-banner { bottom: 50px; right: 20px; }
    .quick-btn { width: 46px; height: 46px; font-size: 18px; }
    footer {padding: 15px 10px 30px 10px; font-size: 14px; }
    .footer-info p { margin-bottom: 10px; }

    /* 모바일: 구분자(|) 대신 줄바꿈 */
    .footer-info .fi-part { display: block; }
    .footer-info .fi-part + .fi-part::before { content: none; margin: 0; }
}

.root_daum_roughmap .cont {display:none; }
.root_daum_roughmap {width:100%}


		