/* --- [1] 공통 애니메이션 --- */
.video-promotion-content .ani-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}
.video-promotion-content .ani-up.on { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- [2] 워크플로우 레이아웃 (세로 중앙 정렬) --- */
.v-full-workflow { 
    margin-top: 60px; 
    border-top: 2px solid #111; 
}

.v-row, .v-step-item { 
    display: flex; 
    padding: 60px 0; 
    border-bottom: 1px solid #eee; 
    gap: 60px; 
    align-items: center; 
}

/* --- [3] 왼쪽 헤더 영역 --- */
.v-col-left, .v-step-head { 
    flex: 0 0 30%; 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}

.v-num, .v-step-no { 
    font-size: 1.1em; font-weight: 900; color: #fff; 
    background: #c5a992; width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; margin-bottom: 5px;
}

.v-title-group h4, .v-step-tit h4 { 
    font-size: 1.8em; font-weight: 800; color: #111; 
    margin: 0; letter-spacing: -0.05em; line-height: 1.2;
}

.v-summary, .v-step-desc { 
    font-size: 1.05em; color: #444; line-height: 1.6; 
    word-break: keep-all; margin-top: 10px;
}

/* --- [4] 오른쪽 상세 내용 박스 --- */
.v-col-right, .v-step-body { 
    flex: 1; 
    background: #f9f9f9; 
    padding: 35px 40px; 
    border-radius: 15px;
    border: 1px solid #f0f0f0;
}

/* --- [5] 소제목 박스 스타일 (220px 한 줄 고정) --- */
ul.v-details, ul.v-step-list { 
    list-style: none; padding: 0; margin: 0; 
}
ul.v-details li, ul.v-step-list li { 
    font-size: 0.95em; color: #555; margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    line-height: 1.4;
}
ul.v-details li:last-child, ul.v-step-list li:last-child { 
    margin-bottom: 0; 
}

.v-label, ul.v-step-list li b { 
    color: #333; font-weight: 800; 
    flex: 0 0 220px; 
    white-space: nowrap; 
    background: #fff; 
    border: 1px solid #ddd;
    padding: 8px 15px; 
    border-radius: 4px; 
    font-size: 0.85em;
    text-align: center;
    margin-right: 25px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.03);
    display: inline-block;
}

/* --- [6] 요약 테이블 (바텀 패딩 최적화) --- */
.v-table-section, .v-table-area { 
    padding: 80px 0 20px 0; /* 하단 섹션 자체 패딩 축소 */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.v-table-head { width: 100%; max-width: 900px; margin-bottom: 20px; }
.v-table-wrap { 
    width: 100%; 
    max-width: 900px; 
    border-top: 2px solid #111; 
    border-bottom: 2px solid #111; /* 하단 라인 강조 */
    overflow: hidden;
    margin-bottom: 0; /* 불필요한 마진 제거 */
}

.v-table, table.v-compact-table { 
    width: 100%; border-collapse: collapse; background: #fff; 
    margin: 0 !important; /* 외부 라이브러리 간섭 차단 */
}
.v-table th, table.v-compact-table th { 
    background: #fafafa; padding: 18px; font-size: 0.85em; 
    font-weight: 800; border-bottom: 1px solid #eee; 
}
.v-table td, table.v-compact-table td { 
    padding: 18px; font-size: 0.95em; text-align: center; 
    color: #555; border-bottom: 1px solid #f2f2f2; 
}

/* 작가님 요청: 마지막 줄 패딩 및 테두리 정리 */
.v-table tr:last-child td, table.v-compact-table tr:last-child td { 
    border-bottom: none; 
    padding-bottom: 20px; /* 마지막 줄만 약간의 안정감 있는 패딩 유지 */
}

.v-table tr:hover td, table.v-compact-table tr:hover td { 
    background: #fffcf5; 
}

/* --- [7] 반응형 --- */
@media screen and (max-width: 1024px) {
    .v-row, .v-step-item { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
        padding: 40px 0;
    }
    .v-col-left, .v-step-head { flex: none; width: 100%; }
    .v-col-right, .v-step-body { width: 100%; padding: 25px; }
    ul.v-step-list li { flex-direction: column; align-items: flex-start; }
    ul.v-step-list li b { 
        flex: none; width: auto; min-width: 180px; 
        margin-bottom: 8px; text-align: left; white-space: normal; 
    }
    .v-table-wrap { overflow-x: auto; }
    .v-table, table.v-compact-table { min-width: 600px; }
}


/* 모바일 전용 (768px 이하) */
@media screen and (max-width: 768px) {
    /* 1. 기존 테이블의 두꺼운 위아래 선과 스크롤 강제 제거 */
    .v-table-wrap {
        border-top: none !important;
        border-bottom: none !important;
        overflow: hidden !important; 
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 2. 테이블이 화면 밖으로 절대 못 나가게 고정 */
    .v-compact-table {
        width: 100% !important;
        min-width: 0 !important; /* 삐져나가는 주범 제거 */
        border: none !important;
        display: block !important;
    }

    /* 3. 헤더 숨기기 */
    .v-compact-table thead {
        display: none !important;
    }

    /* 4. 각 행(tr)을 화면 너비에 딱 맞는 박스로 변경 */
    .v-compact-table tbody, 
    .v-compact-table tr {
        display: block !important;
        width: 100% !important;
    }

    .v-compact-table tr {
        margin-bottom: 20px !important;
        border: 1px solid #eee !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        overflow: hidden;
    }

    /* 5. 내부 텍스트 정렬 및 여백 */
    .v-compact-table td {
        display: block !important;
        width: 100% !important;
        padding: 15px 10px !important;
        text-align: center !important; /* 모든 텍스트 중앙 정렬 */
        border-bottom: 1px solid #f2f2f2 !important;
        box-sizing: border-box !important; /* 패딩이 너비 안으로 들어오게 */
        font-size: 0.95rem !important;
        line-height: 1.5;
    }

    /* 단계(Step) 부분 강조색 및 배경 */
    .v-compact-table td:first-child {
        background: #f9f9f9 !important;
        font-weight: 900 !important;
        color: #c5a992 !important;
        border-bottom: 1px solid #eee !important;
    }

    /* 마지막 칸 보더 제거 */
    .v-compact-table td:last-child {
        border-bottom: none !important;
    }
}






/* --- [1] 애니메이션 --- */
.mooc-new-layout .ani-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}
.mooc-new-layout .ani-up.on { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- [2] 새로운 타임라인 레이아웃 --- */
.mooc-timeline {
    margin-top: 80px;
    border-left: 2px solid #eee; /* 왼쪽 라인 추가 */
    margin-left: 20px;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
}

/* 숫자 디자인 (확실히 보이게 수정) */
.item-number {
    position: absolute;
    left: -62px; /* 라인 위에 위치 */
    top: 0;
    width: 44px; height: 44px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    z-index: 10;
}

.item-content {
    background: #fff;
    padding: 0 0 40px 0;
}

/* 헤더 영역 */
.item-head {
    border-bottom: 1px solid #111;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.item-head small { color: #c5a992; font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; }
.item-head h4 { font-size: 2.2rem; font-weight: 800; color: #111; margin: 10px 0; }
.item-head p { font-size: 1.1rem; color: #666; margin: 0; word-break: keep-all; }

/* 리스트 영역 (가로로 시원하게 배치) */
ul.v-details { 
    list-style: none; padding: 0; margin: 0; 
}

ul.v-details li { 
    font-size: 1.1rem; 
    color: #444; 
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
    white-space: normal; /* 세로 깨짐 방지 */
    line-height: 1.6;
}

/* 소제목 라벨 디자인 */
.v-label { 
    min-width: 140px; /* 라벨 폭 고정으로 정렬 */
    font-weight: 800; 
    color: #111;
    position: relative;
    padding-right: 20px;
}

.v-label::after {
    content: "|";
    position: absolute;
    right: 8px;
    color: #ddd;
}

/* --- [3] 하단 테이블 --- */
.v-table-area { margin-top: 100px; }
.v-table-head h3 { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 40px; }
.v-table-wrap { border-top: 3px solid #111; }
table.v-compact-table { width: 100%; border-collapse: collapse; background: #fff; }
table.v-compact-table th { background: #f8f8f8; padding: 22px; font-size: 1.1rem; border-bottom: 1px solid #eee; }
table.v-compact-table td { padding: 22px; text-align: center; border-bottom: 1px solid #f2f2f2; font-size: 1.1rem; }

/* --- [4] 반응형 --- */
@media screen and (max-width: 736px) {
    .mooc-timeline { margin-left: 10px; padding-left: 25px; }
    .item-number { left: -47px; width: 36px; height: 36px; font-size: 0.9rem; }
    .item-head h4 { font-size: 1.6rem; }

    
/* 1. 박스(li) 모양과 크기는 PC 상태 100% 그대로 유지 (flex 유지) */
    ul.v-details li { 
        display: flex !important; 
        flex-wrap: wrap !important; /* 공간이 부족하면 아래로 넘기는 성질만 추가 */
        align-items: flex-start !important; 
    }

    /* 2. 라벨 박스 크기(width)를 절대 건드리지 않음 */
    .v-label { 
        display: inline-block !important; /* 박스 성질 유지 */
        min-width: 0 !important;          /* 기존 140px 고정값만 해제 */
        width: auto !important;           /* 글자 너비만큼만 딱 차지 */
        margin-right: 100% !important;    /* ★핵심: 오른쪽에 유령 벽을 세워서 다음 글자를 아래로 밀어냄 */
        margin-bottom: 5px !important; 
        padding-right: 0 !important;
    }

    /* 3. 구분선만 삭제 */
    .v-label::after { 
        display: none !important; 
    }
}












/* --- [1] 전체 배경 및 컨테이너 --- */
.equipment-v6 { background: #fff; padding: 120px 0; }
.eq-modern-wrap { margin-top: 80px; }

/* --- [2] 섹션 디자인 --- */
.eq-section {
    margin-bottom: 80px;
}

/* 제목 영역: 언더라인과 여백으로 시원하게 */
.eq-header-v6 {
    display: flex;
    align-items: baseline;
    gap: 15px;
    border-bottom: 2px solid #111;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.eq-num-v6 {
    font-size: 0.85rem;
    font-weight: 900;
    color: #c5a992;
    letter-spacing: 2px;
}

.eq-header-v6 h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    letter-spacing: -1px;
    white-space: nowrap; /* 제목 한 줄 보장 */
}

.eq-header-v6 h4 small {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
    margin-left: 10px;
}

/* 내용 영역: 여백을 넓게 써서 시원하게 */
.eq-body-v6 {
    padding-left: 30px;
}

.eq-row-v6 {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.eq-row-v6:last-child { margin-bottom: 0; }

/* 라벨 디자인: 텍스트만으로 깔끔하게 */
.eq-label-v6 {
    flex: 0 0 180px;
    font-size: 0.9rem;
    font-weight: 900;
    color: #c5a992;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.eq-desc-v6 {
    flex: 1;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
    word-break: keep-all;
    font-weight: 400;
}

/* --- [3] 애니메이션 --- */
.equipment-v6 .ani-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.equipment-v6 .ani-up.on { opacity: 1; transform: translateY(0); }

/* --- [4] 반응형 대응 --- */
@media screen and (max-width: 980px) {
    .eq-header-v6 h4 { font-size: 1.5rem; white-space: normal; }
    .eq-body-v6 { padding-left: 0; }
    .eq-row-v6 { flex-direction: column; }
    .eq-label-v6 { margin-bottom: 8px; flex: none; }
    .eq-desc-v6 { font-size: 1.05rem; }
}







/* --- [1] 전체 레이아웃 --- */
.price-layout-v6 { background: #fff; padding: 120px 0; }
.price-section { margin-bottom: 100px; }

/* --- [2] 제목 섹션 (v6 스타일 계승) --- */
.price-header-v6 {
    display: flex;
    align-items: baseline;
    gap: 15px;
    border-bottom: 2px solid #111;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.price-num-v6 {
    font-size: 0.85rem;
    font-weight: 900;
    color: #c5a992;
    letter-spacing: 2px;
}

.price-header-v6 h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    white-space: nowrap;
}

.price-header-v6 h4 small {
    font-size: 0.95rem;
    color: #999;
    font-weight: 400;
    margin-left: 10px;
}

/* --- [3] 테이블 디자인 (깔끔한 선 중심) --- */
.price-table-wrap { overflow-x: auto; } /* 모바일 대응 */
table.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table.price-table th {
    background: #f9f9f9;
    padding: 20px;
    border-bottom: 1px solid #111;
    font-weight: 800;
    color: #111;
    font-size: 1rem;
    text-align: center;
}

table.price-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
    color: #444;
    text-align: center;
    line-height: 1.5;
}

.p-type { color: #111; font-weight: 800; }
.p-info { text-align: left !important; color: #666; font-size: 0.95rem !important; }
.p-cost { font-weight: 900; color: #c5a992; }

/* --- [4] 추가 비용 섹션 --- */
.price-extra {
    background: #fafafa;
    padding: 40px;
    border-radius: 4px;
}

.price-extra h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111;
}

.extra-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2열 배치 */
    gap: 15px 40px;
}

.extra-list li {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 8px;
}

.extra-list li span { font-weight: 800; color: #111; }

.price-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.price-note p { font-size: 1rem; color: #111; }
.price-note strong { color: #c5a992; font-weight: 800; }

.price-footer { text-align: right; margin-top: -60px; color: #999; font-size: 0.95rem; }

/* --- [5] 반응형 --- */
@media screen and (max-width: 980px) {
    .price-header-v6 h4 { font-size: 1.4rem; white-space: normal; }
    .extra-list { grid-template-columns: 1fr; }
    table.price-table th, table.price-table td { padding: 15px 10px; font-size: 0.9rem; }
    .p-info { font-size: 0.85rem !important; }
}


/* 736px 이하 (모바일 최적화) */
@media screen and (max-width: 736px) {
    /* 표 안의 텍스트가 너무 크면 줄바꿈이 지저분하니까 조금 더 줄임 */
    table.price-table th { padding: 12px 5px; font-size: 0.85rem; }
    table.price-table td { padding: 15px 5px; font-size: 0.85rem; }
    
    /* 상세 정보(p-info)와 단가(p-cost) 텍스트 조정 */
    .p-info { font-size: 0.8rem !important; line-height: 1.3; }
    .p-cost { font-size: 0.9rem !important; }

    /* 추가 비용 섹션 여백 조정 */
    .price-extra { padding: 25px 20px; }
    .extra-list li { font-size: 0.85rem; gap: 10px; }
    
    /* 하단 노트 및 푸터 */
    .price-note p { font-size: 0.9rem; line-height: 1.5; }
    .price-footer { 
        text-align: center; /* 모바일은 우측 정렬보다 중앙이 깔끔 */
        margin-top: 20px;   /* 겹치지 않게 여백 확보 */
    }
}