h2{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 36px;
    color: var(--orange);
    font-weight: bold;
}
#notesContent h2{
    font-size: 16px;
}
.sec_title{
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sec_title a{
    font-size: 18px;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sec_title a::after{
    content: '›';
    font-size: 36px;
    box-sizing: border-box;
    padding-bottom: 8px;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--orange-10);
    border-radius: 50%;
    width:50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
}

.course{
    padding: 40px 0;
}

.course_list{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.course_list a{

     border-radius: 20px;
     background-color: var(--orange-10);
     width: calc((100% - 90px) / 4);
     padding: 5px;
    gap: 10px;
}
.course_list a img{
    width: 100%;
    height: 176px;
    object-position: center;
    border-radius: 18px;
    object-fit: cover;
   
}

.course_list a > span{
    font-size: 16px;
    color: #fff;
    border-radius: 7px;
  background-image: -moz-linear-gradient( 0deg, rgb(250,150,2) 0%, rgb(255,177,61) 100%);
  background-image: -webkit-linear-gradient( 0deg, rgb(250,150,2) 0%, rgb(255,177,61) 100%);
  background-image: -ms-linear-gradient( 0deg, rgb(250,150,2) 0%, rgb(255,177,61) 100%);
  background-image: linear-gradient( 0deg, rgb(250,150,2) 0%, rgb(255,177,61) 100%);
  height:24px;
  display: inline-block;
  padding: 0 5px;
 
    width:auto;
    margin: 15px 0;
     margin-left: 20px;
}
.course_list a p{
    font-size: 18px;
    color: #333;
    /* font-weight: bold; */
   
    width: 100%;
    padding: 20px;
    padding-top: 0;
    height: 50px;  
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
     display: block;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    line-height: 24px;
    margin-bottom: 20px;
 
}
.book{
    background: url(../img/book_bg.png) no-repeat center top;
     background-size: 3000px;
     padding: 75px 0;
     padding-bottom: 205px;
}
.book h2,.book .sec_title a{
    color: #8aa21b;
}
.book a::after{
    background-color: #8aa21b22;
}


.book_list,.study_list{
    display: flex;
  
    align-items: center;
    gap: 30px;
}

.book_list a{

 width: 20%;

}

/* 首页图书卡片墙：与课程卡片墙同宽（.wrapper 1200px），5 列等分；
   卡片宽度 = (1200 - 4×30) / 5 = 216px。
   封面容器取 7:10（接近书本体 0.695 的比例）：正方形素材自带的左右白边
   （实测各占 17.6%）会被 object-fit:cover 自然裁掉，书本体铺满卡片 */
#homeBookList a{
    flex: 0 0 auto;
    width: calc((100% - 120px) / 5);
}
#homeBookList a .cover_container{
    height: auto;
    aspect-ratio: 7 / 10;
}

.book_list a .cover_container{
    width: 100%;
    height: 270px;
    padding: 15px;
    border-radius: 20px;
    background-color: #fff;
    /* 图片按高度等比缩放后可能比容器宽，用 flex 居中 + 溢出裁切，
       左右两边均匀裁掉，而不是整体靠右溢出 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book_list a .cover_container img{
    /* 只锁高度，宽度按原图比例自动计算，避免被拉伸变形 */
    width: auto;
    height: 100%;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
}

.book_list a p,.study_list a p{
    font-size: 15px;
    color: #333;
    /* font-weight: bold; */
   
    height: 30px;  
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
     /* display: block; */
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    line-height: 24px;
}

.book_list a span{
    color: #666;
        padding-top: 10px;
        display: block;
}
.book_list a,.course_list a,.study_list a{
    transition: all 0.5s;
}
.book_list a:hover,.course_list a:hover,.study_list a:hover{
    
    transform: translateY(-10px);
}
.study{
    margin-bottom: 50px;
}
.study_list a{
    width: 25%;
}
.study_list a img{
    width: 100%;
    height:200px;
    object-position: center;
    border-radius: 20px;
    object-fit: cover;
   
}

.study_list a p{
    font-size: 18px;
    margin-top: 15px;
}
.about_text{
    margin-bottom: 30px;
     background-image: -moz-linear-gradient( 90deg, rgba(255,177,61,0.70196) 0%, rgb(255,177,61) 100%);
  background-image: -webkit-linear-gradient( 90deg, rgba(255,177,61,0.70196) 0%, rgb(255,177,61) 100%);
  background-image: -ms-linear-gradient( 90deg, rgba(255,177,61,0.70196) 0%, rgb(255,177,61) 100%);
  width: 920px;
  border-radius: 40px;
  color: #fff;
  padding: 30px 40px;
  position: relative;
 font-size: 16px;
}

.about_text span{
    font-size: 20px;
    font-weight: bold;
}
.about_text p{
   padding: 20px 0;
   padding-bottom: 10px;
   line-height: 26px;
   /* JS 动态截断到 5 行，这里只兜底（line-height 26 × 5 = 130） */
   max-height: 130px;
   overflow: hidden;
}
.about_text a{
    color: #fff;
}
.about{
    position: relative;
}
 .contact_download{
    display: flex;
    justify-content: space-between;
 }
.contact,.download{
 /* height: 215px; */
 border-radius: 50px;
 background-color: #f6f6dd;
padding: 30px;
}
.contact{
    color: #a8c816;
    width: 866px;
}
.download{
    background-color: #e9f3f1;
    width: 300px;
}
.ctitle{
    font-size: 20px;
    font-weight: bold;
    color: #a8c816;
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact_list{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.contact_list a{
    background-color: #fff;
    border-radius: 16px;
    width: 25%;
    padding: 20px;
    color: #a8c816;
}

.contact_list a span{
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}
.contact_list a p{
    padding-right: 15px;
    display: inline-block;
    background: url(../img/arrow_green.png) no-repeat right center;
    background-size: 9px auto;
     
}
.download_list{
    margin-top: 20px;
}
.download_list a{
    font-size: 16px;
    color: #333;
    margin-top: 15px;

    display: block;
    /* 单行显示：超长名称截断为省略号，完整内容通过 title 悬停查看 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.download_list a::before{
    content: "●";
     
     color: #50bfe2;
   
    margin-right: 5px;
}

/* ===== 首页卡片名称统一（课程 / 图书 / 研修）===== */
/* 统一名称字号、行高，单行显示，超长省略，完整内容通过 title 悬停查看 */
#homeCourseList a p,
#homeBookList a p,
#homeStudyList a p{
    font-size: 18px;
    font-weight: normal;
    line-height: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    color: #333;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 名称与封面间距统一为 15px */
#homeCourseList a p{
    /* 课程名称上方有分类标签，标签与封面之间已留 15px */
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0 20px;
}
#homeBookList a p{
    margin-top: 15px;
}
#homeStudyList a p{
    margin-top: 15px;
}