/* ============================================
   서브 페이지 헤더 (항상 표시)
   ============================================ */

header {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 서브 헤더(보라 네비): 햄버거 항상 흰색 + 클릭 가능 */
header .hamburger-menu-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

header .hamburger-menu-btn span {
    background-color: #ffffff !important;
}

#dropdown-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px !important;
}

/* ============================================
   스크롤 아이콘 애니메이션
   ============================================ */

.scroll-icon-animate {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-icon-animate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   깜빡이는 애니메이션
   ============================================ */

.animate-blink {
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* ============================================
   Section 4 모바일 배경 박스
   ============================================ */

.ultherapy-block-bg {
    background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1280px) {
    .ultherapy-block-bg {
        background: transparent !important;
    }
}

/* ============================================
   Section 4 반응형 배경 이미지
   ============================================ */

.ultherapy-section4-bg {
    background-image: url('../images/ultherapy_banner03_m.png');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .ultherapy-section4-bg {
        background-image: url('../images/ultherapy_banner03.png');
    }
}

/* ============================================
   Conference Section 스와이퍼
   ============================================ */

.swiper-conference {
    overflow: hidden;
    width: 100%;
    padding-top: 0!important;
    padding-bottom: 0!important;
}

.swiper-conference .swiper-slide {
    width: 280px !important;
    flex-shrink: 0;
    margin-right: 30px;
    overflow: visible !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px;
}

.swiper-conference .swiper-slide:last-child {
    margin-right: 0;
}

.swiper-conference .swiper-slide img {
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .swiper-conference .swiper-slide {
        width: 350px !important;
    }
    
    .swiper-conference .swiper-slide img {
        height: 300px !important;
    }
}

@media (min-width: 1200px) {
    .swiper-conference .swiper-slide {
        width: 500px !important;
    }
    
    .swiper-conference .swiper-slide img {
        height: 400px !important;
    }
}

/* Conference 네비게이션 버튼 스타일 */
.conference-prev,
.conference-next {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.conference-prev img,
.conference-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.conference-prev.disabled,
.conference-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Lifting 페이지 SVG 선 그리기 애니메이션
   ============================================ */

.lifting-svg .draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.3s ease;
}

.lifting-svg .draw-line.pink path,
.lifting-svg .draw-line.white {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* ============================================
   Lifting 페이지 아코디언 메뉴
   ============================================ */

.lifting-accordion-item {
    transition: all 0.3s ease;
}

.lifting-accordion-header {
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.lifting-accordion-header:focus {
    outline: none;
}

.lifting-accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.lifting-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.lifting-accordion-content.active {
    max-height: 1000px;
    opacity: 1;
}

/* ============================================
   Device 스와이퍼 스타일
   ============================================ */

.swiper-device {
    overflow: hidden !important;
    padding-top: 0 !important;
    position: relative;
    width: 100%;
}

.swiper-device .swiper-wrapper {
    width: 100%;
}

.swiper-device .swiper-slide {
    width: 100% !important;
    height: auto !important;
}

/* 장비 설명: 긴 문자열·공백 없는 텍스트도 영역 안에서 자동 줄바꿈 */
.swiper-device .swiper-slide .flex-1 {
    min-width: 0;
    max-width: 100%;
}

.device-content {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.device-content p {
    margin-bottom: 0.75em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.device-content p:last-child {
    margin-bottom: 0;
}

.swiper-device .swiper-slide img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 20px;
    display: block;
    object-fit: contain;
    background-color: #fff;
}

.swiper-pagination-device {
    position: absolute !important;
    bottom: 35px !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 10;
    width: auto !important;
}

/* 모바일: 긴 본문 슬라이드에서 불릿이 텍스트와 겹치지 않도록 흐름 배치 */
@media (max-width: 767px) {
    .swiper-pagination-device {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 28px;
        padding-bottom: 8px;
    }
}

.swiper-pagination-bullet-device {
    width: 8px;
    height: 8px;
    background: rgba(57, 18, 39, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active-device {
    background: #331f4C;
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   Thermage Cases 스와이퍼 스타일
   ============================================ */

.swiper-thermage-cases {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.swiper-thermage-cases.swiper-initialized .swiper-wrapper {
    align-items: stretch;
}

.swiper-thermage-cases .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* 데스크톱 4개 이하 (슬라이드 없음) */
@media (min-width: 768px) {
    .swiper-thermage-cases.is-static-cases {
        overflow: visible;
    }

    /* 4개: 한 화면에 균등 분할 (flex 1/4) */
    .swiper-thermage-cases.is-static-cases.is-cases-full .swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 30px;
        width: 100% !important;
        transform: none !important;
    }

    .swiper-thermage-cases.is-static-cases.is-cases-full .swiper-slide {
        flex: 1 1 0 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        height: auto !important;
    }

    .swiper-thermage-cases.is-static-cases.is-cases-full .thermage-case-card {
        width: 100%;
        max-width: none;
    }

    /* 1~3개: 가운데 정렬 (4개일 때 카드 크기와 동일) */
    .swiper-thermage-cases.is-static-cases.is-cases-centered .swiper-wrapper {
        display: flex !important;
        justify-content: center;
        align-items: stretch;
        gap: 30px;
        width: 100% !important;
        transform: none !important;
    }

    .swiper-thermage-cases.is-static-cases.is-cases-centered .swiper-slide {
        flex: 0 0 auto;
        width: calc((100% - 90px) / 4) !important;
        max-width: 280px;
        min-width: 160px;
        margin: 0 !important;
        height: auto !important;
    }

    .swiper-thermage-cases.is-static-cases .swiper-slide {
        flex-shrink: unset !important;
    }

    .swiper-thermage-cases.is-static-cases .thermage-case-card {
        cursor: default;
    }
}

/* 모바일 네이티브 가로 스크롤 (JS에서 is-native-scroll 클래스 부여) */
.swiper-thermage-cases.is-native-scroll .swiper-wrapper {
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.swiper-thermage-cases.is-native-scroll .swiper-slide {
    width: 72%;
    max-width: 280px;
    flex-shrink: 0;
}

.thermage-case-card {
    width: 100%;
    min-height: 140px;
    padding: 25px 20px;
    border: 1px solid #331f4C;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: grab;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thermage-case-card:active {
    cursor: grabbing;
}

@media (min-width: 768px) {
    .thermage-case-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(57, 18, 39, 0.15);
    }
}

/* ============================================
   Differences Section 스타일
   ============================================ */

.differences-section {
    position: relative;
    overflow: hidden;
}

.differences-subtitle,
.differences-title,
.differences-description,
.differences-keyword,
.differences-item-description {
    transition: color 0.3s ease;
}

.differences-item {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    padding: 25px 20px;
}

@media (min-width: 768px) {
    .differences-item {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.differences-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

/* ============================================
   게시판 스타일
   ============================================ */
#bo_list {
    position: relative;
    margin: 50px auto 160px;
}

#bo_list:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

#bo_list .td_board {
    width: 120px;
    text-align: center;
}

#bo_list .td_chk {
    width: 30px;
    text-align: center;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

#bo_list .td_date {
    width: 60px;
    text-align: center;
}

#bo_list .td_datetime {
    width: 95px;
    text-align: center;
}

#bo_list .td_group {
    width: 100px;
    text-align: center;
}

#bo_list .td_mb_id {
    width: 100px;
    text-align: center;
}

#bo_list .td_mng {
    width: 80px;
    text-align: center;
}

#bo_list .td_name {
    width: 100px;
    text-align: center;
    padding: 10px 0;
}

#bo_list .td_nick {
    width: 100px;
    text-align: center;
}

#bo_list .td_num {
    width: 90px;
    text-align: center;
}

#bo_list .td_num2 {
    width: 90px;
    text-align: center;
}

#bo_list .td_numbig {
    width: 80px;
    text-align: center;
}

#bo_list .txt_active {
    color: #5d910b;
}

#bo_list .txt_expired {
    color: #ccc;
}

#bo_list tbody tr {
    border-left: 2px solid transparent;
    transition: border-left 0.3s ease;
}
/* 검색 팝업 */
.bo_sch_wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.bo_sch_wrap.hidden {
    display: none !important;
}

.bo_sch_wrap .bo_sch {
    width: calc(100% - 40px);
    max-width: 500px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .bo_sch_wrap .bo_sch {
        width: 100%;
        max-width: 600px;
    }
}

/* 카카오맵 컨트롤러 숨기기 */
.wrap_controllers {
    display: none !important;
}

/* ============================================
   공지사항 상세 페이지 스타일
   ============================================ */
#bo_v {
    margin-bottom: 20px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}

#bo_v_title .bo_v_tit {
    word-break: break-all;
}

#bo_v_info:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

#bo_v_info h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#bo_v_info .profile_info {
    display: inline-block;
    float: left;
}

#bo_v_info .profile_info .pf_img {
    float: left;
    margin-right: 10px;
}

#bo_v_info .profile_info .profile_info_ct {
    float: left;
}

#bo_v_info strong {
    display: inline-block;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
}

.bo_v_images_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ============================================
   Star Hover Effect
   ============================================ */

.title-with-star {
    cursor: pointer;
}

.title-with-star .star-icon {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.title-with-star .star-icon.left {
    transform: translateX(10px);
}

.title-with-star .star-icon.right {
    transform: translateX(-10px);
}

.title-with-star:hover .star-icon {
    opacity: 1;
}

.title-with-star:hover .star-icon.left {
    transform: translateX(0);
}

.title-with-star:hover .star-icon.right {
    transform: translateX(0);
}

/* ============================================
   리프팅 프로그레스 바
   ============================================ */

.lifting-progress-bar {
    position: relative;
    width: 100%;
    height: 50px;
    background: #A19199;
    border-radius: 10px;
    overflow: hidden;
}

.lifting-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(180deg, #331F4C 0%, rgba(51, 31, 76, 0.30) 100%);
    border-radius: 4px 0 0 4px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lifting-progress-bar.animated .lifting-progress-fill {
    width: var(--progress, 40%);
}

.lifting-progress-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 15px;
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.lifting-progress-bar.animated .lifting-progress-label {
    opacity: 1;
}

.lifting-progress-label img {
    height: 16px;
    width: auto;
}

.lifting-progress-label span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ============================================
   Thermage Banner Section
   ============================================ */

.thermage-banner-section {
    background-image: url('../images/image_thermage_banner_m.png');
}

@media (min-width: 768px) {
    .thermage-banner-section {
        background-image: url('../images/image_thermage_banner.png');
    }
}

/* 진료안내 예약 버튼 스타일 */
.reservation-btn-naver:hover {
    background-color: #00ca1d;
    color: #fff;
    border-color: #00ca1d;
}

.reservation-btn-kakao:hover {
    background-color: #ebbb14;
    color: #fff;
    border-color: #ebbb14;
}

/* ============================================
   스크롤바 스타일 (온도 그래프 영역만)
   ============================================ */

/* 웹킷 브라우저 (Chrome, Safari, Edge) */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #D9D9D9;
    margin-top: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(84, 84, 84, 0.22);
    border-radius: 0;
    margin-top: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(84, 84, 84, 0.35);
}

/* 스크롤바 컨테이너에 패딩탑 추가 */
.custom-scrollbar {
    padding-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(84, 84, 84, 0.22) #D9D9D9;
}

/* ============================================
   Doctor Banner Collage (의사 페이지 배너)
   doctor_banner01 + doctor_banner02 콜라주 스타일
   ============================================ */

.doctor-banner-collage {
    overflow: hidden;
}

.doctor-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 500px;
}

@media (min-width: 768px) {
    .doctor-banner-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        min-height: 700px;
    }
}

.doctor-banner-item {
    min-height: 250px;
}

@media (min-width: 768px) {
    .doctor-banner-item {
        min-height: 100%;
    }
}

.doctor-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-banner-item--01 {
    /* doctor_banner01: 우주/지구 이미지 */
}

.doctor-banner-item--02 {
    /* doctor_banner02: 의료 교육/컨퍼런스 콜라주 */
}

.doctor-hero-banner {
    position: relative;
}

.doctor-hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

@media (max-width: 767px) {
    .doctor-hero-banner-img {
        object-position: 80% 10%;
    }
    .doctor-hero-content {
        transform: translateY(-80px);
    }

    .doctor-hero-desc {
        position: absolute;
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        text-align: center;
    }
}

.doctor-hero-banner-img.active {
    opacity: 1;
    z-index: 1;
}

.doctor-leading-expert-bg {
    overflow: hidden;
}

.doctor-leading-expert-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

@media (max-width: 767px) {
    .doctor-leading-expert-bg img {
        object-position: 24% center; 
    }
}

.doctor-leading-expert-overlay {
    background: linear-gradient(to right, transparent 0%, transparent 40%, rgba(0,0,0,0.6) 70%, black 100%);
}

.doctor-philosophy-banner-bg {
    overflow: hidden;
}

.doctor-philosophy-banner-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

@media (max-width: 767px) {
    .doctor-philosophy-banner-bg img {
        object-position: 75% center; 
    }
}

.doctor-philosophy-banner-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 45%, transparent 70%);
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .doctor-leading-expert-text,
    .doctor-philosophy-banner-text {
        width: 60%!important;
    }
}

@media (min-width: 1280px) {
    .doctor-leading-expert-text,
    .doctor-philosophy-banner-text {
        width: 50%;
    }
}

.doctor-proven-experience .doctor-proven-stat__bg {
    transform: scaleX(0);
    transform-origin: left center;
    -webkit-transform: scaleX(0);
    -webkit-transform-origin: left center;
}

@media (max-width: 767px) {
    .doctor-proven-experience .doctor-proven-stat__bg {
        transform: scaleX(1) !important;
        -webkit-transform: scaleX(1) !important;
    }
    .doctor-proven-experience .doctor-proven-stat__text {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

.doctor-proven-line {
    color: #999999;
}

.doctor-proven-line-last .doctor-proven-line-bg-wrap {
    position: relative;
    display: inline-block;
    padding: 0 16px;
}

.doctor-proven-line-last .doctor-proven-line-bg.highlight-text-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #331f4C;
    z-index: 0;
}

.doctor-proven-line-last .doctor-proven-line-text {
    position: relative;
    z-index: 1;
    color: #fff;
}

.doctor-academic-header {
    max-width: 1600px;
}

.doctor-academic-grid-wrap {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.doctor-academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 4px 0;
}

@media (max-width: 767px) {
    .doctor-academic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.doctor-academic-item {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.doctor-academic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    transition: filter 0.45s ease, -webkit-filter 0.45s ease;
}

.doctor-academic-item:hover img {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

/* doctor-kim: 기존 슬라이더 */
.swiper-doctor-academic {
    overflow: hidden;
    width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.swiper-doctor-academic .swiper-slide {
    width: calc((100% - 24px) / 2) !important;
    flex-shrink: 0;
    overflow: hidden;
    height: auto !important;
}

@media (min-width: 768px) {
    .swiper-doctor-academic .swiper-slide {
        width: 320px !important;
    }
}

.swiper-doctor-academic .doctor-academic-slide {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.swiper-doctor-academic .doctor-academic-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .swiper-doctor-academic .swiper-slide {
        width: 400px !important;
    }
}

.doctor-academic-logo-wrap {
    position: relative;
}

.doctor-academic-text-rotate {
    animation: doctorLogoRotate 12s linear infinite;
}

@keyframes doctorLogoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* CERTIFICATIONS & AWARDS */
.doctor-certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 767px) {
    .doctor-certifications-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

.doctor-certification-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    color: inherit;
}

.doctor-certification-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.doctor-certification-item:hover img,
.doctor-certification-item:focus-within img {
    transform: scale(1.03);
}

.doctor-certification-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    box-sizing: border-box;
    background: rgb(51, 31, 76, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease;
    text-align: center;
    line-height: 1.35;
}

.doctor-certification-item:hover .doctor-certification-overlay,
.doctor-certification-item:focus-within .doctor-certification-overlay {
    opacity: 1;
}

.doctor-certification-line1 {
    font-size: clamp(12px, 2.8vw, 20px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
}

@media (max-width: 767px) {
    .doctor-certification-overlay {
        gap: 4px;
        padding: 10px;
    }
}

.doctor-certification-line2 {
    font-size: clamp(12px, 2.8vw, 20px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
}

/* ============================================
   KEY BENEFITS — info-icons (공통, ar introduce.css 동일 구조)
   ============================================ */

.info-icons-outer {
    width: 100%;
    border-top: 1px solid #cccac7;
    border-bottom: 1px solid #cccac7;
}

.info-icons-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.info-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    padding: 60px 30px;
    border-right: 1px solid #cccac7;
}

.info-icon-item:first-child {
    border-left: 1px solid #cccac7;
}

.info-icon-img {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.info-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.key-benefits .info-icon-desc {
    font-size: 17px;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.key-benefits .key-benefits-title-en {
    font-size: 16px;
    font-family:'Cormorant', serif;
    font-weight: 500;
    margin: 0 0 10px 0;
    letter-spacing: 0.02em;
}

.key-benefits .key-benefits-title-ko {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 17px 0;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

/* KEY BENEFITS 5열: 데스크톱에서 항목이 많을 때 패딩·최대 너비만 소폭 조정 */
@media (min-width: 769px) {
    .key-benefits .info-icons-grid:has(.info-icon-item:nth-child(5):last-child) {
        max-width: 1400px;
    }
    .key-benefits .info-icons-grid:has(.info-icon-item:nth-child(5):last-child) .info-icon-item {
        padding: 50px 14px;
    }
}

@media (max-width: 1024px) {
    .key-benefits .info-icon-img {
        margin-bottom: 30px;
    }
    .key-benefits .key-benefits-title-ko {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .key-benefits .key-benefits-title-en {
        font-size: 15px;
    }
    .key-benefits .info-icon-desc {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .info-icons-grid {
        flex-wrap: wrap;
    }
    .info-icon-item {
        flex: 0 0 50%;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid #cccac7;
        padding: 40px 20px;
    }
    .info-icon-item:first-child {
        border-left: none;
    }
    .info-icon-item:nth-child(odd) {
        border-right: 1px solid #cccac7;
    }
    /* 4개: 마지막 행(3·4번) 하단 구분선 없음 */
    .key-benefits .info-icons-grid:has(.info-icon-item:nth-child(4):last-child) .info-icon-item:nth-child(3),
    .key-benefits .info-icons-grid:has(.info-icon-item:nth-child(4):last-child) .info-icon-item:nth-child(4) {
        border-bottom: none;
    }
    /* 5개: 마지막 항목 한 줄 전체, 우측·하단 테두리 정리 */
    .key-benefits .info-icons-grid:has(.info-icon-item:nth-child(5):last-child) .info-icon-item:nth-child(5) {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: none;
    }
    .info-icon-img {
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
    }
    .key-benefits .key-benefits-title-ko {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .key-benefits .key-benefits-title-en {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .key-benefits .info-icon-desc {
        font-size: 14px;
    }
}

/* ============================================
   아포렉스 원리 — EN landing `en-laser-card` (landing.css 동일)
   ============================================ */

.apolex-how-principle .en-laser-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-top: 3px solid #331f4C;
    overflow: hidden;
}

.apolex-how-principle .en-laser-card__head {
    flex: 0 0 auto;
    padding: 16px 14px 18px;
    background: #f5f5f5;
    text-align: center;
}

.apolex-how-principle .apolex-how-kr {
    margin: 0 0 5px 0!important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #331f4C;
    letter-spacing: -0.02em;
}

.apolex-how-principle .en-laser-card > img {
    width: 100%;
    height: auto;
    display: block;
}

.apolex-how-principle .en-laser-card__desc {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px 16px 22px;
    background: #f5f5f5;
}

@media (max-width: 767px) {
    .apolex-how-principle .apolex-how-kr {
        font-size: 13px;
        margin-bottom: 8px;
    }
}

/* HOW 카드: 영문 부제 없이 한글 제목만 (쥬베룩 등) */
.apolex-how-principle.how-cards-ko-only .en-laser-card__head {
    padding: 20px 16px 22px;
}
.apolex-how-principle.how-cards-ko-only .apolex-how-kr {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
@media (min-width: 768px) {
    .apolex-how-principle.how-cards-ko-only .apolex-how-kr {
        font-size: 19px;
    }
}

/* Why Pygmalion Laser — 카드 영문 타이틀 (Monik, @font-face는 default.css) */
#why-pygmalion-laser .why-pygmalion-en-title {
    font-family: 'Monik', 'Pretendard', serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* 작용 원리 섹션 하단 노트 (대시 + 화살표) — 반응형 */
.sec5__note-wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
}
/* 기본 = 넓은 화면 (데스크톱) */
.sec5__note {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}
.sec5__note .dash {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 313px;
    max-width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.5);
}
.sec5__note .dash::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
}
.sec5__note__text {
    display: block;
    flex: 0 1 auto;
    max-width: 42rem;
    margin: 0;
    word-break: keep-all;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(0, 0, 0, 0.8);
    text-align: left;
}
@media (max-width: 1023px) {
    .sec5__note {
        flex-wrap: wrap;
        gap: 20px;
    }
    .sec5__note .dash {
        width: min(313px, 32vw);
    }
    .sec5__note__text {
        flex: 1 1 12rem;
        min-width: 12rem;
        max-width: none;
        font-size: 17px;
        line-height: 1.6;
    }
}
@media (max-width: 639px) {
    .sec5__note {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }
    .sec5__note .dash {
        width: min(313px, calc(100vw - 32px));
    }
    .sec5__note__text {
        flex: none;
        min-width: 0;
        max-width: 42rem;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.65;
        text-align: center;
        color: #333333;
    }
}

/* 아포렉스 시너지 — 중앙 image_apolex13 회전 */
@keyframes apolex-synergy-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.apolex-synergy-spin {
    animation: apolex-synergy-spin 14s linear infinite;
    will-change: transform;
}

#tab-menu.about-doctor-tabs {
    scroll-margin-top: 80px;
}

@media (max-width: 374px) {
    #tab-menu.about-doctor-tabs .grid.grid-cols-3 {
        gap: 6px;
    }
    #tab-menu.about-doctor-tabs a {
        font-size: 11px;
        line-height: 1.25;
    }
}


