* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

li {
    margin: 0;
    padding: 0;
}
#backtop span{
    display: none;
}
body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
}

.seporate {
    height: 20px;
    background-color: #ddd;
    margin: 20px 0;
}

.header {
    background-color: white;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    width: 75vw;
    height: auto;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.login-btn {
    background: none;
    border: none;
    color: #b2000c;
    font-weight: bold;
    font-size: 5vw;
    cursor: pointer;
    padding: 5px 10px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-btn img {
    width: 5vw;
    height: 5vw;
}

.search-box {
    margin-top: 10px;
    width: 100%;
    gap: 3vh;
    align-items: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-box.show {
    max-height: 100px;
    opacity: 1;
}

.search-box input {
    width: 80%;
    padding: 10px 3vw;
    border: 1px solid #ddd;
    border-radius: 8vw;
    font-size: 4vw;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #b2000c;
    box-shadow: 0 0 5px rgba(178, 0, 12, 0.3);
}

.search-box button {
    width: calc(20% - 2vw);
    padding: 10px 15px;
    background-color: #b2000c;
    color: white;
    border: none;
    border-radius: 8vw;
    font-size: 4vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background-color: #8a0009;
    transform: scale(1.05);
}

.header-bottom {
    text-align: center;
    margin-top: 2vh;
    overflow: hidden;
}

.logo02 {
    width: 75vw;
    height: auto;
    float: right;
    margin-right: 1vh;
}

.navH5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
    background-color: #b2000c;
    margin: 10px 0;
}
.navH5 a{
    color: #fff;
}

.nav-item {
    text-align: center;
    font-size: 5vw;
    color: white;
    text-decoration: none;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}

.carousel {
    position: relative;
    background-color: white;
    margin: 10px 0;
    overflow: hidden;
    touch-action: pan-y;
    height: 56.25vw;
}
.carouselBD {
    width: 100%;
    height: 56.25vw;
}
.carousel-inner {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
}

.carousel-inner:active {
    cursor: grabbing;
}

.carousel-item {
    min-width: 100%;
    height: auto;
    position: relative;
}

.carousel-link {
    display: block;
    width: 100%;
    height: 100%;
}
.carousel-item img {
    width: 100%;
    height: 56.25vw;

    pointer-events: none;
    user-select: none;
}

.carousel-title {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1vw 2vw;
    font-size: 4vw;
    width: 100%;
    padding-right: 20vw;
    text-overflow: ellipsis;
    white-space: wrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-weight: bold;
    text-decoration: none;
    display: -webkit-box;
    line-height: 8vw;
}

.carousel-dots {
    position: absolute;
    bottom: 4vw;
    right: 2vw;
    display: flex;
    gap: 5px;
}

.carousel-dots li {
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0;
}

.carousel-dots li.on {
    background-color: #e4393c;
}

/* 文章切换 */
.tabToggle {
    padding: 2vw;
}

.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.tab {
    padding: 2vw 4vw;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 5vw;
}

.tab.active {
    background-color: #a80000;
    color: white;
}

ul.article-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    min-height: 48vw;
}

ul.article-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

ul.article-list li > div.title {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 4vw;
    line-height: 8vw;
}

ul.article-list li > div.title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

ul.article-list li > div.title a {
    text-overflow: ellipsis;
    white-space: wrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-weight: bold;
    text-decoration: none;
    display: -webkit-box;
}

/* ul.article-list li > div.title > span.sticky {
    background-color: #ff4d4f;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;

    line-height: 3vw;
} */

/* ul.article-list li > div.date {
    color: #999;
    font-size: 3vw;
} */

div.more {
    text-align: center;
    font-weight: bold;
    margin-top: 2vw;
    font-size: 4vw;
}
div.more a {
    color: #a80000;
}

/* 文章切换结束 */

/* 专题专栏 */
.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 20px;
    overflow: hidden;
}

.slider-inner {
    display: flex;
    transition: transform 0.4s ease;
}

.slider-inner img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

.arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}
.userType {
    padding: 8vw;
    display: flex;
    flex-wrap: wrap;
    gap: 8vw;
}
.userTypeItem {
    display: flex;
    vertical-align: middle;
    align-items: center;
    width: 100%;
    gap: 0 6vw;
}

/* 专题专栏结束 */

/* 课程 */
.header-bg_kc {
    width: 100%;
    height: auto;
    background: url(images/lm.png) no-repeat center center;
    background-size: cover;
    text-align: center;
    line-height: 10vw;
    font-size: 5vw;
    color: #fff;
    font-weight: bold;
}

.slider-container_kc {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    padding: 2vw;
}

.slider-inner_kc {
    display: flex;
    transition: transform 0.4s ease;
}

.slide-item_kc {
    box-sizing: border-box;
    padding: 10px;
}

.slide-item_kc img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    position: relative;
}

.arrow_kc {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    cursor: pointer;
    z-index: 10;
}

.arrow-left_kc {
    left: 10px;
    background: url("images/l.png") no-repeat center center;
    background-size: contain;
}

.arrow-right_kc {
    right: 10px;
    background: url("images/r.png") no-repeat center center;
    background-size: contain;
}

.slide-title_kc {
    font-size: 4vw;
    margin: 2vw;
    line-height: 8vw;
    font-weight: bold;
}

.slide-info_kc {
    display: flex;
    justify-content: space-between;
    font-size: 4vw;
    color: #666;
    padding: 2vw;
}

.slide-info_speaker_kc {
    font-size: 4vw;
    display: flex;
    align-items: center;
}

.slide-info_speaker_kc img {
    width: 4vw;
    height: 4vw;
    margin: 0 1vw;
}

.slide-info_views_kc {
    font-size: 4vw;
    display: flex;
    align-items: center;
}

.slide-info_views_kc img {
    width: 4vw;
    height: 4vw;
    margin: 0 1vw;
}

.btn-group_kc {
    display: flex;
    gap: 2vw;
    justify-content: center;
    padding: 2vw;
}

.btn-group_kc button {
    background-color: #b2000c;
    color: white;
    border: none;
    padding: 1vw 2vw;
    border-radius: 4px;
    cursor: pointer;
    font-size: 4vw;
}
.btn_kc {
    width: 30vw;
    margin: 2vw;
    padding: 2vw 0;
    border: none;
    border-radius: 4px;
    font-size: 3vw;
    cursor: pointer;
    color: #ae010e;
    background-color: #f8d7da;
    font-weight: bold;
}

.dots_kc {
    text-align: center;
    margin-top: 10px;
}

.dots_kc li {
    display: inline-block;
    width: 3vw;
    height: 3vw;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    font-size: 0;
}

.dots_kc li.on {
    background-color: #a80000;
    width: 6vw;
    height: 3vw;
    border-radius: 2vw;
}

/* 课程结束 */

/* 尾部 */
.linker {
    padding: 1vw 2vw;
}

.linker a {
    display: inline-block;
    margin: 10px;
}

.linker img {
    width: 100%;
    height: auto;
}

.footer-info {
    flex: 1;
    min-width: 200px;
}

.footer-stats {
    padding: 4vw 0;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8vw;
    justify-content: center;
    font-size: 4vw;
    line-height: 6vw;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 100px;
    height: 100px;
}

.footer-qr div {
    margin-top: 5px;
}

.footer-visit {
    border-left: 1px solid #666;
    padding-left: 20px;
}

.footer-visit div {
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1vw solid #b40612;
    background-color: #333;
    color: white;
}

.footer-info {
    text-align: center;
    line-height: 8vw;
    font-size: 4vw;
    margin: 0 4vw;
    padding: 4vw 2vw;
    border-bottom: 1px solid #666;
}

/* 尾部结束 */

/* 返回顶部按钮样式
#backToTop {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background-color: #b2000c;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#backToTop:hover {
    background-color: #8a0009;
    transform: scale(1.1);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* 移动端适配  
@media screen and (max-width: 768px) {
    #backToTop {
        right: 15px;
        bottom: 80px;
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }
} */

/* 搜索页面css */
/* 公共列表样式 - 适用于课程列表、文章列表、搜索结果等页面 */

body .javaex-mask-transparent {
    background-color: rgba(0, 0, 0, 0.3);
}

/* 文章/课程卡片样式 */
.article {
    border-bottom: 3px dashed #ccc;
    padding: 10px 0;
    display: flex;
    gap: 2vw;
}

.article .c-item-img {
    width: 28vw;
    height: 21vw;
}

.article .c-item-h5 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1vw;
}

.article .c-item-img img {
    width: 100%;
    height: 100%;
}

.article .c-item-img .c-item-tit {
    width: 100%;
    height: 100%;
    margin-top: 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0;
    line-height: 5vw;
    font-size: 3vw;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.article-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 90px;
}

.article-content-wrapper .c-item-name,
.article-title {
    font-size: 4vw;
    color: #333;
    margin-bottom: 4px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-weight: bold;
    text-decoration: none;
    display: -webkit-box;
}

.article-content-wrapper .c-item-info,
.article-content {
    font-size: 4vw;
    color: #666;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.article-content-wrapper .c-item-info span {
    margin-right: 10px;
}

.article-content-wrapper .c-item-study {
    margin-top: 10px;
    text-align: right;
}

.article-content-wrapper .c-item-study button {
    background-color: #b2000c;
    color: white;
    border: none;
    padding: 1vw 2vw;
        border-radius: 2vw;
    cursor: pointer;
    font-size: 3vw;
}

/* 分页样式 */
.pagination {
    margin-top: 15px;
    font-size: 14px;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.pagination-info {
    user-select: none;
    font-size: 4vw;
    line-height: 6vw;
    padding: 2vw 0;
}

.page-size-select {
    user-select: none;
    font-size: 4vw;
    line-height: 6vw;
    padding: 2vw 0;
}

select {
    font-size: 14px;
    padding: 3px;
    margin-left: 5px;
}

.xlk {
    display: inline-block;
    width: 14vw;
    font-size: 4vw;
    text-align: center;
    position: relative;
}

input#input-pageSizeSelect {
    font-size: 4vw;
    text-align: center;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

.xlk span.icon-angle-down {
    position: absolute;
    right: 1vw;
    top: 1vw;
}

.higeLight {
    color: #11ddaa;
    font-weight: bold;
}

input#input-pageSizeSelect {
    font-size: 3vw;
    text-align: center;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

#articleListInfo {
    width: 96%;
    padding: 2vw;
    border-top: 2px solid #ccc;
    box-sizing: border-box;
    margin: 2vw auto;
}

.jumpPagination {
    width: 100%;
    text-align: center;
    padding-top: 2vw;
}

.pagination .jumpPagination button {
    font-size: 4vw;
    padding: 0 2vw;
}

.jumpPagination button.page-btn {
    margin: 0 3px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 3vw;
    user-select: none;
}

.jumpPagination button.page-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    cursor: default;
}

.jumpPagination span.ellipsis {
    margin: 0 5px;
    font-weight: bold;
    user-select: none;
}

/*userCenter 头部*/
.userHead {
    width: 100%;
    height: 15vw;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eee;
    margin-bottom: 4vw;
    background: #fff;
}

.userHead i {
    font-size: 6vw;
    width: 30vw;
    padding-left: 4vw;
    color: #b71c1c;
}

.userHead .pageName {
    width: 40vw;
    text-align: center;
    font-size: 4.5vw;
    font-weight: bold;
    color: #b71c1c;
}
.userHead .funcPart {
    width: 30vw;
    font-size: 3.5vw;
    color: #f95a7a;
    text-align: center;
}


/*禁用当前页button*/
.jumpPagination button.active{
    pointer-events: none
}