

/* Contact Page Styles */
/* 隐藏联系页面的hero section */
.top-bar{
    background-color: #144279;
    background-image: none;
}

.top-bar .hero {
    display: none;
}


/* banner */
.banner{
    background-image: url(../img/courses/u0.png);
    width: 100%;
    height: 490rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-content{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.breadcrumb{
    display: flex;
    align-items: center;
    gap: 8rem;
    padding-top: 20rem;
    font-size: 14rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.breadcrumb-home{
    color: #fff;
    text-decoration: none;
}

.breadcrumb-separator{
    color: #fff;
}

.breadcrumb-current{
    color: #fff;
}

.faq-hero{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 80rem;
}

.faq-overlay{
    background-color: rgba(51, 51, 51, 0.55);
    width: 650rem;
    padding: 25rem 90rem;
    max-width: 650rem;
    position: relative;
    z-index: 1;
}

.faq-title{
    font-size: 48rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24rem;
    font-family: sans-serif;
}

.faq-description{
    font-size: 20rem;
    color: #ffffff;
    line-height: 1.3;
}

/* main */

/* main nav */
.ecademy-section{
    background-color: #ffffff;
    padding-top: 16rem;
}

.ecademy-nav{
    border-bottom: 1px solid #e0e0e0;
}

.ecademy-nav-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 20rem;
}

.ecademy-nav-link{
    padding: 18rem 0;
    font-size: 18rem;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.ecademy-nav-link::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background-color: #c57a1a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* .ecademy-nav-link:hover{
    color: #8B4513;
} */

.ecademy-nav-link:hover::after{
    transform: scaleX(1);
}

.ecademy-nav-link.active{
    font-weight: 700;
}

.ecademy-nav-link.active::after{
    transform: scaleX(1);
}

/* main content */
.main-content-section{
    background-color: #ffffff;
    padding: 40rem 0;
}

.main-content-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 40rem;
    align-items: flex-start;
}

/* Filter Sidebar */
.filter-sidebar{
    width: 280rem;
    flex-shrink: 0;
    background-color: rgba(237, 240, 242, 1);
    padding: 24rem;
    height: fit-content;
    align-self: flex-start;
}

.filter-title{
    font-size: 18rem;
    font-weight: 700;
    color: #004a80;
    padding:20rem 0;
    border-bottom: 1px solid #e0e0e0;

   
}

.filter-group{
    padding-top: 24rem;
    margin-bottom: 24rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 16rem;
}

.filter-group:last-child{
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16rem;
    cursor: pointer;
}

.filter-group-title{
    font-size: 16rem;
    font-weight: 600;
    color: #004a80;
}

.filter-caret{
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5rem solid transparent;
    border-right: 5rem solid transparent;
}

.filter-caret-up{
    border-bottom: 6rem solid #666;
    border-top: none;
}

.filter-caret-down{
    border-top: 6rem solid #666;
    border-bottom: none;
}

.filter-options{
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.filter-option{
    display: flex;
    align-items: center;
    gap: 8rem;
    font-size: 14rem;
    color: #004a80;
    cursor: pointer;
    padding: 6rem 0;
}

.filter-option:hover{
    color: #B8b21A;
}

.filter-option input[type="checkbox"]{
    width: 16rem;
    height: 16rem;
    cursor: pointer;
}

.filter-show-more{
    font-size: 14rem;
    color: #B8741A;
    text-decoration: none;
    margin-top: 8rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.filter-show-more:hover{
    color: #c57a1a;
}

.filter-options-tags{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 8rem;
    padding-top: 2rem;
}

.filter-options-tags-wrap{
    display: flex;
    flex-direction: column;
    gap: 14rem;
}

.tag-category-block{
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.tag-category-title{
    font-size: 12rem;
    font-weight: 700;
    color: #144279;
    line-height: 1.4;
    padding-left: 2rem;
}

.filter-option-tag{
    position: relative;
    padding: 0;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    border: 1rem solid #cfd8e3;
    border-radius: 6rem;
    background: #ffffff;
    color: #17405f;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(20, 66, 121, 0.04);
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.filter-option-tag input[type="checkbox"]{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.filter-option-tag span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28rem;
    padding: 0 11rem;
    font-size: 12rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.filter-option-tag:hover{
    color: #144279;
    border-color: #144279;
    background: #f7fafc;
}

.filter-option-tag.is-active{
    color: #ffffff;
    border-color: #144279;
    background: #144279;
    box-shadow: 0 6rem 14rem rgba(20, 66, 121, 0.14);
}

/* Content Area */
.content-area{
    flex: 1;
}

/* Courses Section */
.courses-section{
    margin-bottom: 60rem;
}

.courses-inner{
    width: 100%;
}

.courses-title{
    font-size: 28rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 16rem;
}

.courses-subtitle{
    font-size: 16rem;
    color: #333;
    margin-bottom: 35rem;
}

.courses-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24rem;
    margin-bottom: 40rem;
}

.course-card{
    background-color: rgba(236, 240, 244, 1);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.course-card:hover{
    box-shadow: 0 4rem 12rem rgba(0, 0, 0, 0.15);
}

.course-image{
    width: 100%;
    height:200rem;
    overflow: hidden;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.course-image-blank{
    background-color: #ffffff;
}

.course-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.course-name{
    font-size: 18rem;
    font-weight: 700;
    color: #144279;
    padding: 0 20rem;
    margin: 25rem 0;
    line-height: 1.4;
    flex-shrink: 0;
    text-decoration: underline;
    cursor: pointer;
}

.course-description{
    font-size: 14rem;
    color: #666666;
    line-height: 1.5;
    padding: 0 20rem;
    margin-bottom: 20rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}


.courses-view-all{
    display: inline-block;
    color: #B8741A;
    font-size: 14rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.courses-view-all:hover{
    color: #c57a1a;
}

/* Pagination */
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-top: 60rem;
    padding: 20rem 0;
}

.pagination-link{
    padding: 8rem 12rem;
    font-size: 14rem;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 4rem;
    transition: all 0.3s ease;
}

.pagination-link:hover{
    color: #B8B21A;
}

.pagination-link.active{
    background-color: rgba(244, 244, 244, 1);
    border-color: rgba(244, 244, 244, 1);
}

.pagination-ellipsis{
    padding: 8rem 4rem;
    font-size: 14rem;
    color: #666;
}

/* 课程详情页 */
.course-detail-section {
    padding: 40rem 20rem 60rem;
    background: #fff;
}

.course-detail-inner {
    max-width: 900rem;
    margin: 0 auto;
}

.course-detail-cover {
    margin-bottom: 24rem;
    border-radius: 8rem;
    overflow: hidden;
    background: #f5f5f5;
}

.course-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.course-detail-video {
    margin-bottom: 24rem;
    border-radius: 8rem;
    overflow: hidden;
    background: #000;
}

.course-detail-video video {
    display: block;
    width: 100%;
    max-height: 500rem;
    vertical-align: top;
}

.course-detail-section h1 {
    font-size: 28rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16rem;
    line-height: 1.3;
}

.course-detail-intro {
    font-size: 16rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24rem;
}

.course-detail-content {
    font-size: 15rem;
    line-height: 1.7;
    color: #333;
}

.course-detail-content p {
    margin: 0 0 12rem;
}

.course-detail-content img {
    max-width: 100%;
    height: auto;
}


