.tabs-nav-wrapper {
    display: none !important;
}

.course-content.course-summary-content {}


/* 원페이지 래퍼 */

.one-page-course-wrapper {
    position: relative;
}


/* 네비게이션 래퍼 */

.one-page-navigation-wrapper {
    position: sticky;
    top: 145px;
    z-index: 98;
    background: #e5e5e5;
    backdrop-filter: blur(10px);
    /* margin-bottom: 30px; */
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 6px;
}


/* 네비게이션 스타일 */

.one-page-navigation {
    padding: 0;
    max-width: 1300px;
    margin: 0 auto;
}

.one-page-nav-tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.one-page-nav-tabs::-webkit-scrollbar {
    display: none;
}

.lp-archive-courses ul.one-page-nav-tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.one-page-nav-item {
    flex-shrink: 0;
}

.one-page-nav-link {
    display: block;
    padding: 7px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.one-page-nav-link.active,
.one-page-nav-link:hover {
    background: #fff;
}

.one-page-nav-link .review-count {
    color: #ff5a5f;
    font-size: 14px;
    margin-left: 5px;
}


/* 섹션 스타일 */

.one-page-content-sections {
    margin-top: 30px;
}

.one-page-section {
    margin-bottom: 00px;
    padding: 40px 0;
    scroll-margin-top: 140px;
    /* sticky 네비게이션 높이 고려 */
}

.one-page-section:first-child {
    padding-top: 0px;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgb(0 0 0 / 10%);
}

#section-curriculum .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0 !important;
}

.section-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 반응형 */

@media (max-width: 1024px) {
    .one-page-navigation {
        max-width: 100%;
        padding: 0px;
    }
    .one-page-section {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 768px) {
    .one-page-navigation-wrapper {
        top: 68px;
        padding: 0;
    }
    .one-page-nav-link {
        padding: 5px 15px;
        font-size: 13px;
    }
    .section-title {
        font-size: 21px;
    }
    .one-page-section {
        margin-bottom: 0px;
        scroll-margin-top: 100px;
    }
}


/* 커리큘럼 섹션 아코디언 */

.course-curriculum .section-header {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.course-curriculum li[data-section-id] .section-content {
    display: none;
    transition: all 0.3s ease;
}

.course-curriculum li[data-section-id].section-active .section-content {
    display: block;
}


/* 토글 아이콘 */

.course-curriculum .section-toggle {
    pointer-events: none;
}

.course-curriculum li[data-section-id]:not(.section-active) .section-toggle .lp-icon-caret-up {
    display: none;
}

.course-curriculum li[data-section-id].section-active .section-toggle .lp-icon-caret-down {
    display: none;
}

.course-curriculum li[data-section-id]:not(.section-active) .section-toggle .lp-icon-caret-down {
    display: inline-block;
}

.course-curriculum li[data-section-id].section-active .section-toggle .lp-icon-caret-up {
    display: inline-block;
}


/* 권한 없는 아이템 링크 스타일 */

.course-curriculum .section-item-link.cannot-view-item,
.course-curriculum .section-item-link[href="#"] {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.course-curriculum .section-item-link.can-view-item {
    pointer-events: auto;
    cursor: pointer;
}

.course-curriculum .section-item-link.can-view-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.reviews-list-container {
    margin: 0px 0;
}


/* 필터 */

.reviews-filters {
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-select {
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    background: #e5e5e5;
    cursor: pointer;
    color: #676767;
    width: auto;
    font-weight: 500;
}

.filter-apply-btn {
    padding: 8px 20px;
    background: var(--color-teal);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.filter-apply-btn:hover {
    background: #2980b9;
}

.reviews-list-container .review-rating {
    margin-bottom: 0px;
    color: #f39c12;
    font-size: 16px;
}

.reviews-list-container .review-author-info {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.reviews-list-container .review-author-info .review {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviews-list-container .review-author-info .review .rating-number {
    font-size: 15px;
    font-weight: 400;
}

.reviews-list-container .review-author-info .author-name {
    margin-right: 4px;
    color: #555;
    font-size: 15px;
}

.reviews-list-container .author-avatar {
    display: flex;
    align-items: center;
}

.reviews-list-container .author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}


/* 로딩 */

.reviews-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}


/* 리뷰 목록 스타일 (위의 스타일 재사용) */

.reviews-list-ajax {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reviews-list-ajax .review-item {
    background: #f5f5f5;
    /* border: 1px solid #e5e5e5; */
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
}


/* 페이지네이션 */

.reviews-pagination-ajax {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
}

.reviews-pagination-ajax .page-link {
    padding: 4px 12px;
    border: 1px solid #636363;
    border-radius: 5px;
    text-decoration: none;
    color: #d3d3d3;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    background: #353535;
    /* opacity: 0.7; */
}

.reviews-pagination-ajax .page-link.active {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary-border-light);
    border-radius: 4px;
    color: var(--color-primary);
    font-weight: 600;
}

.reviews-pagination-ajax .page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* 반응형 */

@media (max-width: 768px) {
    .filter-group {}
    .filter-select,
    .filter-apply-btn {}
    .lp-archive-courses ul.one-page-nav-tabs {
        gap: 5px;
    }
    .course-curriculum .section-left .section-title {
        font-size: 15px;
    }
    #section-curriculum .section-desc {
        font-size: 14px;
        color: #ddd;
    }
    div#learn-press-course {
        margin-top: -68px;
    }
}


/* 스와이퍼 슬라이드 스타일 */

.course-event-swiper-container {
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
}

.course-event-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 20px 0px 15px;
    color: #333;
    border-bottom: 1px solid #f2f2f2;
}

.course-event-swiper {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.course-event-slide {
    height: auto;
}

.course-event-item {
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.course-event-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.course-event-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.course-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-event-item:hover .course-event-image img {
    transform: scale(1.05);
}

.course-event-content {
    padding: 15px 20px 20px;
}

.course-event-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-event-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-event-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
}

.course-event-date {
    display: inline-flex;
    align-items: center;
}

.course-event-date:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}


/* 스와이퍼 네비게이션 버튼 커스텀 */

.course-swiper-button-next,
.course-swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    --swiper-navigation-size: 16px;
    transition: all 0.3s ease;
}

.course-swiper-button-next:hover,
.course-swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}


/* 페이지네이션 커스텀 */

.course-swiper-pagination {
    position: relative;
    bottom: 0 !important;
    padding: 15px 0;
    --swiper-pagination-color: #3a3a3a;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-inactive-color: #ddd;
    --swiper-pagination-bullet-inactive-opacity: 1;
}


/* 반응형 조정 */

@media (max-width: 768px) {
    .course-event-title {
        font-size: 16px;
        padding: 15px 15px 12px;
    }
    .course-event-content {
        padding: 12px 15px 15px;
    }
    .course-event-name {
        font-size: 15px;
    }
    .course-event-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .course-swiper-button-next,
    .course-swiper-button-prev {
        width: 28px;
        height: 28px;
        --swiper-navigation-size: 14px;
    }
}