/* 의사 개별 페이지 — 팝업 CSS 클래스 재활용 + 모달 제약 오버라이드 */

/* === 모달 제약 해제 (sub.min.css의 .mfp-zoom-in 오버라이드) === */
.doctor-profile-page .mfp-zoom-in {
    max-width: 1196px;
    max-height: none;
    border-radius: 24px;
    overflow: visible;
    position: relative;
    margin: 0 auto;
}
.doctor-profile-page .mfp-zoom-in .con {
    max-height: none;
}
.doctor-profile-page .mfp-zoom-in .con .right-area .scroll-area {
    max-height: none;
    overflow-y: visible;
}
.doctor-profile-page .mfp-zoom-in .con .right-area .scroll-area .in {
    width: 100%;
}
.doctor-profile-page .mfp-zoom-in .con .right-area .sns-links {
    margin-bottom: 40px;
}

/* === 브레드크럼 === */
.doctor-breadcrumb {
    padding: 20px 0;
    max-width: 1720px;
    margin: 0 auto;
}
.doctor-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #999;
}
.doctor-breadcrumb li a {
    color: #999;
    text-decoration: none;
}
.doctor-breadcrumb li a:hover {
    color: #333;
}
.doctor-breadcrumb li + li::before {
    content: '>';
    margin-right: 8px;
    color: #ccc;
}
.doctor-breadcrumb li[aria-current="page"] {
    color: #333;
    font-weight: 500;
}

/* === CTA 버튼 (페이지 전용, 팝업에는 없는 요소) === */
.doctor-cta {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.doctor-cta .btn-cta {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}
.doctor-cta .btn-primary {
    background: #6c39d5;
    color: #fff;
}
.doctor-cta .btn-primary:hover {
    background: #5a2db8;
}
.doctor-cta .btn-secondary {
    background: #fff;
    color: #6c39d5;
    border: 1px solid #6c39d5;
}
.doctor-cta .btn-secondary:hover {
    background: #f5f0ff;
}

/* === 관련 의료진 섹션 === */
.related-doctors {
    padding-top: 100px;
    padding-bottom: 100px;
}
.related-doctors h2 {
    font-size: 54px;
    font-weight: 700;
    text-align: center;
}
.related-doctors .list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    max-width: 1720px;
    margin: 0 auto;
}
.related-doctors .list li a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.related-doctors .list .img-bx {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 464 / 570;
}
.related-doctors .list .img-bx img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-doctors .list .txt-bx {
    padding-top: 16px;
}
.related-doctors .list .txt-bx .field {
    font-size: 1.125rem;
    font-weight: 500;
    color: #6c39d5;
}
.related-doctors .list .txt-bx .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d20;
    margin-top: 4px;
}

/* === 반응형 === */
@media (max-width: 768px) {
    .doctor-breadcrumb {
        padding: 15px 20px;
    }
    .related-doctors .list {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-doctors h2 {
        font-size: 1.75rem;
    }
}
@media (max-width: 576px) {
    .related-doctors .list {
        gap: 16px;
    }
}
