@charset "utf-8";

/* [1] 공통 규격 */
#sub-page-container { width: 100%; overflow: hidden; }
.sub-visual { height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.sub-visual .main-title { font-size: 42px; font-weight: 700; letter-spacing: -1px; }
.content-header { padding: 80px 0 50px; text-align: center; }
.content-header .page-title { font-size: 36px; font-weight: 700; color: #333; margin-bottom: 15px; }
.content-header .title-underline { width: 40px; height: 3px; background: #102476; margin: 0 auto; }
.top-padding-zero { padding-top: 0 !important; }
.clinic-content-section { padding: 100px 0 80px; background: #fff; }
.inner-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.section-top-header { text-align: center; margin-bottom: 40px; }
.section-title-h3 { font-size: 32px; color: #222; }
.section-title-h3 strong { font-weight: 700; }
.title-line-short { width: 30px; height: 2px; background: #102476; margin: 20px auto 0; }
/* [2] 배경색 공통 및 섹션 간격 조절 */
.wisdom-intro-section { padding-bottom: 150px !important; } /* 회색 배경 이전 섹션의 하단 여백 대폭 추가 */

.bg-f8 { 
    background: #f8f8f8 !important; 
    padding: 100px 0; 
}
.section-top-header { text-align: center; margin-bottom: 40px; }
/* [3] 탭 메뉴 - 중앙 정렬 및 세로 스크롤 제거 */
.sub-tab-nav { border-bottom: 1px solid #e2e2e2; background: #fff; width: 100%; position: relative; }
.tab-list { 
    display: flex; 
    justify-content: center; /* PC 중앙 정렬 */
    max-width: 1200px; 
    margin: 0 auto; 
    list-style: none; 
    padding: 0; 
    overflow-x: auto; 
    overflow-y: hidden; 
    white-space: nowrap; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.tab-list::-webkit-scrollbar { display: none; }

.tab-list li { flex: 0 0 auto; }
.tab-list li a { 
    display: block; 
    padding: 20px 25px; 
    font-size: 18px; 
    color: #999; 
    text-decoration: none; 
    position: relative; 
    transition: 0.3s;
    line-height: 1.5;
}
.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; }

/* [4] 섹션 타이틀 및 대괄호 */
.inner-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.section-top-header { text-align: center; margin-bottom: 40px; }
.section-title-h3 { font-size: 32px; color: #222; font-weight: 400 !important; }
.section-title-h3 strong { font-weight: 800 !important; }
.title-line-short { width: 30px; height: 2px; background: #102476; margin: 20px auto 0; }

.definition-bracket-box { 
    display: block; position: relative; padding: 40px 100px; text-align: center; margin: 40px auto 0; width: fit-content; max-width: 90%;
}
.definition-bracket-box::before, .definition-bracket-box::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; border-color: #e2e2e2; border-style: solid; }
.definition-bracket-box::before {left: 0; border-width: 10px 0 10px 10px;}
.definition-bracket-box::after {right: 0; border-width: 10px 10px 10px 0;}
.def-txt { font-size: 22px; color: #444; line-height: 1.8; word-break: keep-all; margin: 0; }
.highlight-blue { color: #102476 !important; font-weight: 700 !important; }

/* [5] 사랑니 발치 전용 레이아웃 */
.aesthetic-main-img { text-align: center; margin-bottom: 40px; }
.aesthetic-main-img img { max-width: 500px; width: 100%; height: auto; }

/* 사랑니 종류 2단 카드 */
.wisdom-grid-2 { display: flex; justify-content: center; gap: 30px; max-width: 900px; margin: 0 auto; }
.wisdom-card { flex: 1; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; padding-bottom: 35px; border: 1px solid #f0f0f0; }
.w-card-head { background: #102476; color: #fff; padding: 15px; font-size: 19px; font-weight: 700; }
.w-card-img { padding: 30px 20px; }
.w-card-img img { max-width: 100%; height: auto; }
.w-card-txt { font-size: 16px; color: #666; line-height: 1.6; word-break: keep-all; padding: 0 20px; }

/* 주의사항 섹션 - 중앙 정렬 리스트 */
.wisdom-notice-section {
    background: linear-gradient(rgba(16, 36, 118, 0.6), rgba(16, 36, 118, 0.6)), url('../img/0206_bg.png') no-repeat center center;
    background-size: cover; padding: 100px 0; text-align: center;
}
.check-list-wrap { display: inline-block; margin: 40px auto 0; text-align: left; max-width: 100%; }
.check-item {
    background: #fff; padding: 20px 80px 20px 80px; border-radius: 50px; font-size: 19px; color: #333; 
    position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.25); font-weight: 700; margin-bottom: 18px; white-space: nowrap;
}
.check-item::before {
    content: ''; position: absolute; left: 40px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300aeef'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* [6] 반응형 모바일 디자인 추가 */
@media screen and (max-width: 991px) {
    .pc-br { display: none !important; }
    .sub-visual { height: 250px; }
    .sub-visual .main-title { font-size: 30px; }
    
    .tab-list { justify-content: flex-start; padding: 0 20px; } /* 모바일 스크롤 활성화 */
    .tab-list li a { font-size: 15px; padding: 15px 18px; }

    .wisdom-intro-section { padding-bottom: 80px !important; }
    .bg-f8 { padding: 70px 0; }

    /* 사랑니 종류 1열 배치 */
    .wisdom-grid-2 { flex-direction: column; align-items: center; gap: 20px; }
    .wisdom-card { max-width: 400px; width: 100%; }
    
    .section-title-h3 { font-size: 24px; }
    .definition-bracket-box { padding: 25px 30px; width: 92%; }
    .def-txt { font-size: 16px; line-height: 1.6; }

    /* 주의사항 리스트 모바일 정렬 */
    .wisdom-notice-section { padding: 70px 0; }
    .check-list-wrap { max-width: 92%; display: block; }
    .check-item { 
        padding: 15px 30px 15px 60px; 
        font-size: 15px; 
        border-radius: 35px; 
        white-space: normal; /* 모바일 줄바꿈 허용 */
    }
    .check-item::before { width: 20px; height: 20px; left: 25px; }
}

@media screen and (max-width: 480px) {
    .wisdom-card { max-width: 100%; }
}