﻿/*
 * *Created by PoLeung
 * *Email 30930572@qq.com
 * *Create date 2026-04-19
 * *Copyright LockDataV
 * *Desc data visualization project based on Echarts5.0.
 */
@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
}

:root {
    --main-color: #8B5A2B; /* 中医药主棕色 - 与logo一致 */
    --dark-color: #5A2D18; /* 深棕色 */
    --light-color: #A06B3D; /* 浅棕色 */
    --gold-color: #C4A35A; /* 中医药金色 */
    --gold-light: #E8D5A3; /* 浅金色 */
    --bg-color: #FAF7F2; /* 米白色背景 - 温暖舒适 */
    --text-dark: #3D2914; /* 深棕色文字 */
    --border-color: #E8D5C4; /* 浅棕边框 */
    --white: #ffffff;

    /* 中医药风格配色体系 - 温暖活泼 */
    --fresh-primary: #8B5A2B; /* 主按钮 - 中医药棕色 */
    --fresh-secondary: #A06B3D; /* 次按钮 - 浅棕色 */
    --fresh-light: #F5EEE6; /* 浅棕背景 */
    --fresh-active: #5A2D18; /* 激活深色 */
    --fresh-tab: #C4A35A; /* Tab主色 - 金色 */
    --fresh-tab-light: #FFF8E8; /* Tab浅背景 - 米金色 */
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* 顶部导航 - 左对齐调整 */
.header {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0; /* 移除左右内边距，实现LOGO左对齐 */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    padding: 4px;
    object-fit: cover;
}

.logo-text h2 {
    font-size: 19px;
    color: #2A3B47;
    font-weight: bold;
    line-height: 1.3;
    text-align: justify;
    text-align-last: justify;
}

/* 导航菜单 */
.nav-main {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-main li a {
    display: inline-block;
    text-decoration: none;
    color: #4A5568;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-main li a:hover {
    background-color: var(--fresh-light);
    color: var(--fresh-active);
}

.nav-main li a.active {
    background-color: var(--fresh-primary);
    color: #fff;
}

.user-btns {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 15px; /* 右侧保留内边距 */
}

.user-btn {
    padding: 7px 16px;
    border: 1px solid var(--fresh-primary);
    border-radius: 20px;
    background: transparent;
    color: var(--fresh-primary);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: var(--fresh-primary);
    color: #fff;
}

.mobile-btn {
    background-color: var(--fresh-secondary);
    color: #fff;
    font-weight: bold;
    border-color: var(--fresh-secondary);
}

/* ========== 轮播区域：左对齐 + 1200px宽度 ========== */
.banner-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0; /* 移除左右内边距，实现轮播图左对齐 */
    background-color: var(--bg-color);
}

.banner {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    width: 100%; /* 适配左侧内边距 */
}

.banner-img {
    flex: 7;
    height: 400px;
    background: #fff center/cover no-repeat;
}

.banner-side {
    flex: 3;
    background-color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-side h3 {
    color: #2A3B47;
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 600;
}

.banner-side p {
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 登录按钮 - 清新活泼配色 */
.login-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-btn {
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-login {
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
}

.admin-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(76, 184, 196, 0.3);
}

.user-login {
    background: linear-gradient(135deg, #51CF95, #40E0B0);
}

.user-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(81, 207, 149, 0.3);
}

/*登录后用户信息*/
.forum_user {
    text-align: center;
}

.forum_user .headImg {
    width: 80px;
    height: 80px;
    background-color: #8B5A2B;
    color: #FFF;
    border-radius: 50px;
    border: 2px #fff solid;
    margin: 0 auto;
    font-weight: bold;
    font-size: 48px;
    padding-top: -2px;
    cursor: pointer;
}

.forum_user div {
    margin: 15px auto;
}

/* 资讯区域：左对齐 + 加宽县级推荐课程列 */
.info-section {
    display: flex;
    background-color: var(--white);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    /* 关键：禁止子项自动收缩 */
    align-items: flex-start;
}


/* 县级推荐课程列 */
.county-course-col {
    flex: 0 0 380px; /* 固定宽度，不再弹性变化 */
}


.county-course-list {
    list-style: none;
}

.county-course-item {
    display: flex;
    gap: 15px;
    padding: 5px 0;
    border-bottom: 1px dashed #f0f0f0;
    align-items: center;
    cursor: pointer;
}

.county-course-item:last-child {
    border-bottom: none;
}

.course-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background: url('https://picsum.photos/id/237/200/150') center/cover no-repeat;
}

.course-text h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 5px;
    transition: 0.2s;
}

.course-text h4:hover {
    color: var(--fresh-primary);
}

.course-text p {
    font-size: 12px;
    color: #999;
}

/* 资讯两列 */
.info-col {
    flex: 1; /* 两列平分剩余空间 */
    min-width: 300px; /* 给一个最小宽度，防止挤太窄 */
}

/* 资讯Tab - 清新风格 */
.tab-header {
    display: flex;
    border-bottom: 2px solid var(--fresh-tab);
    margin-bottom: 18px;
}

.tab-item {
    padding: 9px 22px;
    background-color: var(--fresh-tab-light);
    border: 1px solid #E0F7F5;
    border-bottom: none;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    margin-right: 6px;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
}

.tab-item:hover {
    background: #D1F5F2;
    color: #2D9A9A;
}

.tab-item.active {
    background-color: var(--fresh-tab);
    color: #fff;
    border-color: var(--fresh-tab);
}

.tab-content {
    padding: 15px 0;
}

.info-list {
    list-style: none;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed #f0f0f0;
    flex-wrap: nowrap;
    gap: 10px;
}

/* 标题容器：占满剩余空间，但文字强制左对齐 */
.info-item a {
    flex: 1; /* 让标题区域占满除日期外的所有宽度 */
    text-align: left !important; /* 文字强制靠左，不管区域多宽 */
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0; /* 解决 flex 下省略号失效问题 */
    transition: 0.2s;
}

/* 日期：宽度固定，不压缩、不换行 */
.info-date {
    flex: 0 0 110px; /* 固定宽度，足够放下日期 */
    text-align: right; /* 日期文字靠右 */
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item a:hover {
    color: var(--fresh-primary);
    padding-left: 4px;
}


.more-link a {
    color: var(--fresh-primary);
    text-decoration: none;
    font-size: 14px;
}

/* 课程区域 */
.course-section {
    padding: 25px 15px; /* 增加上下内边距 */
    background-color: #FAFDFC;
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

/* 视频课程区域 - 不同背景色 */
.video-section {
    background: rgba(236, 253, 245, 0.5);
    border: 1px solid rgba(76, 184, 196, 0.15);
}


/* 区域头部 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 22px;
    color: #2A3B47;
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    border-radius: 2px;
}

/* 课程Tab - 清新胶囊风格 */
.course-tab-header {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.course-tab, .course-tab-video {
    padding: 9px 22px;
    background-color: #fff;
    border: 1px solid #E0F7F5;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.course-tab:hover {
    border-color: var(--fresh-tab);
    background: var(--fresh-tab-light);
    color: var(--fresh-active);
}

.course-tab.active {
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    border-color: var(--fresh-primary);
    box-shadow: 0 2px 6px rgba(76, 184, 196, 0.3);
}

.course-tab-video.active-video {
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    color: #fff;
    border-color: var(--fresh-tab);
    box-shadow: 0 2px 6px rgba(54, 207, 201, 0.2);
}

.course-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f8f8f8;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(76, 184, 196, 0.12);
    border-color: var(--fresh-tab);
}

.course-img {
    height: 165px;
    background: center/cover no-repeat;
    position: relative;
}

/* 视频课程播放按钮 */
.video-section .course-img::before {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('../images/play.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    left: 15px;
    bottom: 15px;
    content: '';
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.video-section .course-card:hover .course-img::before {
    transform: scale(1.1);
}

.course-info {
    padding: 18px;
}

.course-info h4 {
    color: #2A3B47;
    margin-bottom: 12px;
    font-size: 17px;
}

/* 课程标签区域 */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tags .tag-hits {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    color: #16A34A;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

/* 城市标签 - 橙黄色系 */
.course-tags .tag-city {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FEF3E2, #FDE9D0);
    color: #D97706;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.course-tags .tag-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #E6F7F5, #D1F5F2);
    color: #2D9A9A;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(76, 184, 196, 0.3);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 底部 */
.footer {
    background-color: #2A3B47;
    color: var(--white);
    padding: 45px 15px 25px;
    margin-top: 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    color: var(--fresh-tab);
}

.footer-col h4::after {
    content: "";
    width: 45px;
    height: 2px;
    background-color: var(--fresh-tab);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #B0C4C9;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--fresh-tab);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 13px;
    color: #A0B4B9;
    line-height: 1.8;
}

.copyright-text {
    text-align: left;
    line-height: 1.8;
}

.copyright-text p {
    margin: 5px 0;
}

.copyright-text a {
    color: #B0C4C9;
    text-decoration: none;
}

.footer-bottom a {
}

/* 响应式 */
@media (max-width: 1024px) {
    .info-section {
        gap: 20px;
    }

    .county-course-col {
        flex: 1.2;
    }

    /* 平板端适当收窄 */
    .course-thumbnail {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-main {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner {
        flex-direction: column;
        width: 100%;
    }

    .banner-img {
        height: 220px;
    }

    .info-section {
        flex-direction: column;
        gap: 30px;
    }

    .county-course-col {
        flex: 1;
    }

    /* 移动端恢复1:1 */
    .course-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text h2 {
        font-size: 16px;
    }

    .footer-col {
        min-width: 100%;
    }
}


/*一级框架*/
.mainBox {
    margin: 15px 10%;
}

.contentTitle {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.x-red {
    color: #ff5722;
}

/*个人中心框架*/
.myBox {
    margin: 15px 10%;
    background: rgba(255, 255, 255, 1);
}

.myBox > ul > li:first-child {
    float: left;
    margin-top: 10px;
    width: 18%;
    margin-right: 0.5%;
    height: 500px;
    background: rgba(255, 255, 255, 1);
}

.myBox > ul > li:nth-child(2) {
    float: left;
    width: 79%;
    padding: 1%;
    border-left: 1px #efefef solid;
    background-color: rgba(220, 220, 220, 0.1);
}

.clearfix:after, .clearfix:before {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

/*操作菜单*/
.sub_menu {
    width: 100%;
}

.sub_menu li {
    white-space: nowrap;
    color: #000;
    padding: 10px 0px 10px 20px;
    transition: background-color ease .3s;
}

.sub_menu li:hover {
    cursor: pointer;
    color: #FFF;
    background: #C4A35A;
}

.sub_menu_act {
    color: #fff !important;
    background: #A06B3D;
    border-right: 8px #5A2D18 solid;
}

/*培训*/
.banner_wrap {
    position: relative;
}

.banner_box ul li {
    width: 100%;
    height: 400px;
}

.banner_box ul li a {
    display: block;
    height: 400px;
    background-position: center top;
    background-repeat: no-repeat;
}

.banner_wrap .container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    top: 0px;
    z-index: 100;
}

/* 证书查询区域 */
.cert-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.cert-title {
    text-align: center;
    margin-bottom: 35px;
}

.cert-title h2 {
    font-size: 26px;
    color: #2A3B47;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.cert-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--fresh-primary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cert-title p {
    color: #666;
    margin-top: 10px;
    font-size: 15px;
}

/* 查询卡片 */
.cert-card {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    padding: 45px 40px;
    border: 1px solid #f0f8f7;
}

.form-item {
    margin-bottom: 25px;
}

.form-item label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.form-item input {
    width: 100%;
    height: 48px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.form-item input:focus {
    border-color: var(--fresh-primary);
    box-shadow: 0 0 0 2px rgba(76, 184, 196, 0.15);
}

.form-item input::placeholder {
    color: #aaa;
}

/* 查询结果区域 */
.result-box {
    margin-top: 30px;
    padding: 25px;
    background: #FAFDFC;
    border-radius: 10px;
    border: 1px solid #E0F7F5;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #D1F5F2;
}

.result-header h3 {
    font-size: 18px;
    color: #2A3B47;
    margin: 0;
}

.result-count {
    font-size: 14px;
    color: #666;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f8f7;
    transition: all 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 4px 12px rgba(76, 184, 196, 0.1);
    border-color: var(--fresh-tab);
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.result-item-header h4 {
    font-size: 16px;
    color: #2A3B47;
    margin: 0;
    font-weight: 600;
}

.cert-badge {
    font-size: 13px;
    color: var(--fresh-primary);
    background: var(--fresh-tab-light);
    padding: 4px 12px;
    border-radius: 15px;
}

.result-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.info-label {
    color: #888;
    font-weight: 500;
}

.info-value {
    color: #333;
}

.result-item-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px dashed #f0f0f0;
}

.view-cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-cert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(76, 184, 196, 0.3);
}

/* 无结果提示 */
.no-result {
    margin-top: 30px;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    border: 1px dashed #eee;
}

.no-result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-result-icon i {
    font-size: 36px;
    color: #ccc;
}

.no-result p {
    margin: 0 0 8px;
    color: #666;
    font-size: 15px;
}

.no-result-tip {
    font-size: 13px !important;
    color: #999 !important;
}

/* 查询按钮 */
.query-btn-box {
    margin-top: 15px;
    text-align: center;
}

.query-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(76, 184, 196, 0.2);
}

.query-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 184, 196, 0.25);
}

/* ================= 培训基地页面主体 ================= */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    width: 100%;
}

.page-title {
    font-size: 26px;
    color: #2A3B47;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.page-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

/* 16地市 胶囊TAB（和主页课程TAB风格一致） */
.city-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.city-item {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #E0F7F5;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.city-item:hover {
    border-color: var(--fresh-tab);
    background: var(--fresh-tab-light);
    color: var(--fresh-active);
}

.city-item.active {
    background: rgba(139, 90, 43, 0.1);
    color: var(--fresh-primary);
    border-color: var(--fresh-primary);
}

/* 县级培训中心 卡片列表 */
.county-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.county-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 26px;
    transition: all 0.35s ease;
    border: 1px solid #f0f4f5;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.county-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 90, 43, 0.3), rgba(160, 107, 61, 0.2));
}

.county-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(139, 90, 43, 0.15);
    border-color: rgba(139, 90, 43, 0.3);
}

.county-title {
    font-size: 18px;
    color: #2A3B47;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f8f9;
    position: relative;
}

.county-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 90, 43, 0.4), rgba(160, 107, 61, 0.3));
    border-radius: 1px;
}

.county-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.county-title i {
    color: var(--fresh-primary);
    font-size: 20px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 90, 43, 0.08);
    border: 1px solid rgba(139, 90, 43, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.county-card:hover .county-title i {
    background: rgba(139, 90, 43, 0.15);
    border-color: rgba(139, 90, 43, 0.25);
}

.county-title .title-text {
    flex: 1;
    min-width: 0;
}

/* 等级标签 */
.county-title .level-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    background: rgba(139, 90, 43, 0.06);
    border: 1px solid rgba(139, 90, 43, 0.12);
    color: var(--fresh-primary);
}

.level-tag.level-province {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #DC2626;
}

.level-tag.level-city {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: #D97706;
}

.level-tag.level-county {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

/* 培训内容 + 师资 */
.info-box {
    margin-bottom: 18px;
    padding: 18px;
    background: rgba(139, 90, 43, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(139, 90, 43, 0.06);
    transition: all 0.3s ease;
}

.county-card:hover .info-box {
    background: rgba(139, 90, 43, 0.06);
    border-color: rgba(139, 90, 43, 0.15);
}

.info-box:last-child {
    margin-bottom: 0;
}

.info-box .info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-box h5 {
    font-size: 14px;
    color: var(--fresh-primary);
    font-weight: 600;
    margin: 0;
}

.info-box .info-icon {
    font-size: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.15), rgba(160, 107, 61, 0.15));
    color: var(--fresh-primary);
    border-radius: 8px;
    flex-shrink: 0;
}

.info-box p {
    font-size: 14px;
    color: #5A6678;
    line-height: 1.75;
    margin: 12px 0 0 0;
    padding: 0;
    text-indent: 28px;
}

.county-card:hover .info-box p {
    color: var(--dark-color);
}

/* ========== 文章列表页面样式 ========== */

/* 页面头部 */
.page-header {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--main-color);
}

.breadcrumb i {
    color: #ccc;
    font-size: 14px;
}

.breadcrumb .current {
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
}

/* 页面标题包装 */
.page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #fff 0%, #fafdfc 100%);
    border-radius: 16px;
    border: 1px solid #e8f4f3;
    box-shadow: 0 4px 15px rgba(76, 184, 196, 0.08);
}

/* 标题图标 */
.title-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(76, 184, 196, 0.3);
    flex-shrink: 0;
}

.title-icon i {
    color: #fff;
    font-size: 28px;
}

/* 标题内容 */
.title-content {
    flex: 1;
}

.title-content h1 {
    font-size: 28px;
    color: #2A3B47;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-content h1::after {
    content: '';
    width: 45px;
    height: 4px;
    background: linear-gradient(90deg, var(--fresh-primary), var(--fresh-secondary));
    border-radius: 2px;
}

.title-content .title-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding-left: 4px;
}

/* 新闻分类美化 */
.news-cats {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-item {
    padding: 8px 20px;
    border-radius: 25px;
    background: #f5f8f9;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cat-item:hover,
.cat-item.active {
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 184, 196, 0.3);
}

/* 新闻列表美化 */
.news-list {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.news-item {
    padding: 22px 0;
    border-bottom: 1px dashed #e8f4f3;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    padding-left: 10px;
    background: #fafdfc;
    margin: 0 -32px;
    padding-right: 32px;
    padding-left: 42px;
    border-radius: 8px;
    cursor: pointer;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-title {
    font-size: 16px;
    color: #2A3B47;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    flex: 1;
    min-width: 0;
}

.news-title:hover {
    color: var(--fresh-primary);
}

.news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    padding: 4px 12px;
    background: #f5f8f9;
    border-radius: 15px;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 4px;
}

/* 右侧边栏美化 */
.right-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.side-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* 侧边栏头部 */
.side-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
}

.side-header i {
    color: #fff;
    font-size: 20px;
}

.side-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.recom-courses {
    padding: 16px;
}

/* 推荐课程卡片 */
.recom-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f5;
}

.recom-card:last-child {
    margin-bottom: 0;
}

.recom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 184, 196, 0.12);
    border-color: rgba(76, 184, 196, 0.3);
}

/* 课程图片 */
.recom-img {
    height: 140px;
    background: #f5f8f9 center/cover no-repeat;
    position: relative;
}

/* 播放图标 */
.recom-img .play-icon {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.recom-img .play-icon i {
    color: #fff;
    font-size: 14px;
    margin-left: 2px;
}

.recom-card:hover .play-icon {
    background: var(--fresh-primary);
    transform: scale(1.1);
}

/* 课程信息 */
.recom-info {
    padding: 14px 16px;
}

.recom-title {
    font-size: 15px;
    color: #2A3B47;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 课程标签 */
.recom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.recom-tag {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.recom-tag.tag-type {
    background: linear-gradient(135deg, #FEF3E2, #FDE9D0);
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.recom-tag.tag-tech {
    background: linear-gradient(135deg, #E6F7F5, #D1F5F2);
    color: #2D9A9A;
    border: 1px solid rgba(76, 184, 196, 0.3);
}

.teacher-list {
    list-style: none;
    padding-left: 4px;
}

/* ========== 文章详情页面样式 ========== */

/* 文章详情容器 */
.article-detail {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 文章头部 */
.article-header {
    padding: 40px 50px;
    background: linear-gradient(135deg, #fafdfc 0%, #f0fffc 100%);
    border-bottom: 1px solid #e8f4f3;
}

.article-title {
    font-size: 28px;
    color: #2A3B47;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 25px 0;
    padding-left: 15px;
    border-left: 5px solid var(--fresh-primary);
}

/* 文章元信息 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: var(--fresh-primary);
    font-size: 15px;
}

/* 文章正文区域 */
.article-content {
    width: 1200px;
    padding: 40px 50px;
}

/* 正文内容 */
.article-content .mainText {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 2;
}

.article-content .mainText p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-content .mainText img {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content .mainText h2 {
    font-size: 20px;
    color: #2A3B47;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-left: 12px;
    border-left: 4px solid var(--fresh-primary);
}

.article-content .mainText h3 {
    font-size: 18px;
    color: #3D4852;
    font-weight: 600;
    margin: 25px 0 12px 0;
}

.article-content .mainText ul,
.article-content .mainText ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content .mainText li {
    margin-bottom: 10px;
    line-height: 1.9;
}

/* 附件下载区域 */
.attachments {
    margin-top: 40px;
    padding: 25px;
    background: #fafdfc;
    border-radius: 12px;
    border: 1px dashed #d1f5f2;
}

.attach-title {
    font-size: 16px;
    color: var(--fresh-active);
    font-weight: 600;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attach-title i {
    font-size: 18px;
}

.attach-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attach-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e8f4f3;
}

.attach-item:last-child {
    margin-bottom: 0;
}

.attach-item:hover {
    background: #f0fffc;
    border-color: rgba(76, 184, 196, 0.3);
    transform: translateX(5px);
}

.attach-item i {
    color: var(--fresh-primary);
    font-size: 18px;
}

.attach-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.download-btn {
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 184, 196, 0.3);
}

/* ========== 培训中心详情页面样式 ========== */

/* 中心详情容器 */
.base-detail {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 中心头部 */
.base-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 45px;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.12) 0%, rgba(160, 107, 61, 0.08) 50%, rgba(90, 45, 24, 0.06) 100%);
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.base-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(139, 90, 43, 0.05);
    border-radius: 50%;
}

.base-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(160, 107, 61, 0.04);
    border-radius: 50%;
}

.header-left {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.base-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.15), rgba(160, 107, 61, 0.12));
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.1);
    flex-shrink: 0;
    border: 1px solid rgba(139, 90, 43, 0.15);
    transition: all 0.3s ease;
}

.base-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(139, 90, 43, 0.15);
}

.base-icon i {
    color: var(--fresh-primary);
    font-size: 34px;
}

.base-title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.base-level {
    display: flex;
    gap: 8px;
}

.base-level .level-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(139, 90, 43, 0.08);
    border: 1px solid rgba(139, 90, 43, 0.15);
    color: var(--fresh-primary);
    transition: all 0.3s ease;
}

.base-level .level-tag:hover {
    background: rgba(139, 90, 43, 0.12);
    transform: translateY(-2px);
}

.base-level .level-tag i {
    font-size: 13px;
}

.base-level .level-province {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    color: #E53E3E;
}

.base-level .level-city {
    background: rgba(255, 179, 71, 0.1);
    border-color: rgba(255, 179, 71, 0.3);
    color: #D97706;
}

.base-level .level-county {
    background: rgba(119, 221, 119, 0.1);
    border-color: rgba(119, 221, 119, 0.3);
    color: #22C55E;
}

.base-title {
    font-size: 28px;
    color: #2A3B47;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.base-title .name {
    color: var(--fresh-primary);
    font-weight: 700;
}

.base-title .depart {
    font-size: 20px;
    color: #6B7280;
    font-weight: 500;
}

.header-right {
    text-align: right;
    position: relative;
    z-index: 1;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(139, 90, 43, 0.06);
    border-radius: 10px;
    color: var(--fresh-primary);
    font-size: 14px;
    border: 1px solid rgba(139, 90, 43, 0.12);
    transition: all 0.3s ease;
}

.location-info:hover {
    background: rgba(139, 90, 43, 0.1);
    transform: translateY(-2px);
}

.location-info i {
    font-size: 15px;
}

/* 中心详情内容 */
.base-content {
    width: 1200px;
    padding: 35px 45px;
    background: linear-gradient(180deg, rgba(139, 90, 43, 0.03) 0%, rgba(160, 107, 61, 0.02) 100%);
}

/* 信息区块 - 左右布局 */
.info-section {
    margin-bottom: 30px;
    padding: 22px;
    background: rgba(139, 90, 43, 0.04);
    border: 1px solid rgba(139, 90, 43, 0.08);
    border-radius: 12px;
    transition: all 0.35s ease;
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.info-section:hover {
    background: rgba(139, 90, 43, 0.08);
    border-color: rgba(139, 90, 43, 0.18);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.08);
}

.info-section:last-child {
    margin-bottom: 0;
}

/* 中心详情页面 - 左侧标题区域 */
.base-content .info-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
    flex-shrink: 0;
    text-align: center;
    transition: all 0.35s ease;
}

.base-content .info-section .section-header i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.12), rgba(160, 107, 61, 0.08));
    color: var(--fresh-primary);
    border-radius: 12px;
    font-size: 21px;
    border: 1px solid rgba(139, 90, 43, 0.12);
    transition: all 0.35s ease;
}

.base-content .info-section:hover .section-header i {
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    border-color: var(--fresh-primary);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.3);
}

.base-content .info-section .section-header h3 {
    font-size: 15px;
    color: var(--fresh-primary);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    transition: all 0.35s ease;
}

.base-content .info-section:hover .section-header h3 {
    color: var(--dark-color);
    font-weight: 700;
}

/* 右侧内容区域 */
.section-content {
    flex: 1;
    min-width: 0;
}

.section-content p {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.8;
    margin: 0;
    padding: 8px 0;
}

/* 地理位置网格 */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.location-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8f4f3;
}

.location-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.location-value {
    font-size: 15px;
    color: #2A3B47;
    font-weight: 600;
}

.teacher-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.teacher-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--fresh-primary);
    border-radius: 50%;
}

/* ========== 培训课程卡片样式 ========== */

/* 培训区域容器 */
.training-section {
    background: rgba(160, 107, 61, 0.08);
    border: 1px solid #e8f4f3;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.training-section:hover {
    background: rgba(160, 107, 61, 0.12);
    border-color: rgba(139, 90, 43, 0.25);
}

/* 培训课程列表 */
.training-courses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

/* 培训卡片 */
.training-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.35s ease;
    border: 1px solid #f0f4f5;
}

.training-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(139, 90, 43, 0.15);
    border-color: rgba(139, 90, 43, 0.3);
}

/* 卡片图片区域 */
.training-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.training-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

/* 课程标签 */
.training-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(139, 90, 43, 0.3);
}

.video-badge {
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    box-shadow: 0 2px 8px rgba(76, 184, 196, 0.3);
}

/* 视频播放覆盖层 */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-overlay i {
    color: var(--fresh-primary);
    font-size: 20px;
    margin-left: 3px;
}

.training-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

/* 卡片信息区域 */
.training-info {
    padding: 18px;
}

.training-title {
    font-size: 16px;
    color: #2A3B47;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.training-card:hover .training-title {
    color: var(--fresh-primary);
}

/* 元信息 */
.training-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.meta-item i {
    color: var(--fresh-primary);
    font-size: 14px;
}

/* 标签区域 */
.training-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.training-tags .tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.training-tags .tag-hits {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    color: #16A34A;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.training-tags .tag-city {
    background: linear-gradient(135deg, #FEF3E2, #FDE9D0);
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.training-tags .tag-label {
    background: linear-gradient(135deg, #E6F7F5, #D1F5F2);
    color: #2D9A9A;
    border: 1px solid rgba(76, 184, 196, 0.3);
}

/* 空状态 */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 45px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #e8f4f3;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    font-size: 15px;
    color: #999;
    margin: 0;
}

/* 视频培训特殊样式 - 移除特殊背景，保持与其他区块一致 */
.video-training {
    /* 使用统一的培训区块样式 */
}

/* 隐藏样式 */
.city-content {
    display: none;
}

.city-content.show {
    display: block;
}

/* 页面标题 */
.page-title {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    text-align: left;
}

.page-title h1 {
    font-size: 24px;
    color: #2A3B47;
    position: relative;
    padding-left: 15px;
}

.page-title h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 22px;
    background: var(--fresh-primary);
    border-radius: 3px;
}

/* === 主内容双栏布局：左侧新闻 + 右侧推荐课程 === */
.main-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
    display: flex;
    gap: 25px;
}

/* 左侧内容 */
.left-content {
    flex: 1;
}

/* 右侧边栏 */
.right-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* === 新闻分类标签 === */
.news-cats {
    background: #fff;
    border-radius: 10px;
    padding: 18px 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.news-cats strong {
    color: #2A3B47;
    font-size: 15px;
}

.cat-item {
    padding: 6px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.cat-item:hover,
.cat-item.active {
    background: var(--fresh-primary);
    color: #fff;
}

/* 新闻列表 */
.news-list {
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.news-item {
    padding: 18px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-title {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title:hover {
    color: var(--fresh-primary);
    padding-left: 4px;
}

.news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    padding-left: 15px;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-item {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: 0.2s;
}

.page-item:hover, .page-item.active {
    background: var(--fresh-primary);
    color: #fff;
    border-color: var(--fresh-primary);
}

/* === 右侧：推荐培训课程 === */
.side-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.side-title {
    padding: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.recom-courses {
    padding: 15px;
}

.recom-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    cursor: pointer;
}

.recom-item:last-child {
    border-bottom: none;
}

.recom-pic {
    width: 70px;
    height: 55px;
    border-radius: 4px;
    background: #f0f0f0;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.recom-text {
    flex: 1;
}

.recom-text h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recom-text p {
    font-size: 12px;
    color: #999;
}

/* 滑块验证组件层级调整 */
.slider-item {
    position: relative;
    z-index: 1;
}

.slider-bg {
    z-index: 2 !important;
}

.slider-btn {
    z-index: 3 !important;
}

.slider-text {
    z-index: 2 !important;
}

/* ========== 我的课程页面样式 ========== */

/* 卡片样式 - 清新紧凑风格 */
.course-card {
    margin-bottom: 14px;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f4f5;
    background: #fff;
}

.course-card:hover {
    box-shadow: 0 4px 16px rgba(76, 184, 196, 0.12);
    transform: translateY(-2px);
    border-color: rgba(76, 184, 196, 0.25);
}

/* 卡片头部 */
.course-card-header {
    padding: 5px;
    border-bottom: 1px solid #f5f8f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #fafdfc;
}

/* 卡片内容 */
.course-card-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* 课程图片容器 */
.course-image-container {
    flex-shrink: 0;
}

/* 课程图片 */
.course-image {
    width: 100px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* 课程信息 */
.course-info {
    flex: 1;
    min-width: 0;
}

/* 课程标题 */
.course-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2A3B47;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title:hover {
    color: var(--fresh-primary);
}

/* 课程时长 */
.course-duration {
    font-size: 12px;
    color: #E57373;
    margin-left: 8px;
    padding: 2px 8px;
    background: #FFEBEE;
    border-radius: 12px;
}

/* 进度条容器 */
.progress-container {
    margin-top: 10px;
}

/* 状态按钮组 */
.status-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* 状态按钮 */
.status-buttons span {
    font-size: 12px;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
}

/* 审核状态 */
.status-buttons span:first-child {
    background: #f0f8f7;
    color: var(--fresh-active);
    border: 1px solid rgba(76, 184, 196, 0.3);
}

/* 同步按钮 */
.status-buttons span:last-child {
    background: linear-gradient(135deg, var(--fresh-primary), var(--fresh-secondary));
    color: #fff;
    box-shadow: 0 1px 4px rgba(76, 184, 196, 0.25);
}

.status-buttons span:last-child:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 184, 196, 0.35);
}

/* 链接样式 */
.course-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 课程状态信息 */
.course-status {
    margin: 8px 0;
    font-size: 13px;
    color: #5A6678;
}

/* 课程签到信息 */
.course-check {
    font-size: 13px;
    color: #666;
}

/* 时间信息 */
.sign-time {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    margin-left: 10px;
}

/* 学习数据标签 */
.course-info label {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    margin-right: 8px;
    font-weight: 500;
}

.course-info label:first-of-type {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
    border: 1px solid rgba(230, 81, 0, 0.3);
}

.course-info label:last-of-type {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

/* 结业审核状态 */
.status-buttons span:nth-child(2) {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
    border: 1px solid rgba(21, 101, 192, 0.3);
}

/* 查看证书链接 */
.course-info a {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(76, 184, 196, 0.25);
}

.course-info a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 184, 196, 0.35);
}

/* ========== 线下培训卡片样式 ========== */

/* 课程标题链接 */
.course-title-link {
    text-decoration: none;
    color: inherit;
}

.course-title-link:hover .course-title {
    color: var(--fresh-primary);
}

/* 课程元信息 */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.meta-item {
    font-size: 12px;
    color: #6A7C8E;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--fresh-primary);
    border-radius: 50%;
}

/* 证书区域 */
.cert-section {
    margin-top: 10px;
}

/* 证书按钮 */
.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    height: 20px;
    background: linear-gradient(135deg, #4CB8C4, #36CFC9);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(76, 184, 196, 0.3);
}

.cert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 184, 196, 0.35);
    background: linear-gradient(135deg, #3BA8B4, #26BFC0);
    color: #fff;
}

.cert-btn i {
    font-size: 10px;
}

/* 课程标题行 - 标题和证书按钮水平排列 */
.course-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.course-title-row .course-title-link {
    flex: 1;
    min-width: 0;
}

.course-title-row .course-title {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 600;
    color: #2A3B47;
    line-height: 1.5;
}

.course-title-row .cert-btn {
    flex-shrink: 0;
    padding: 3px 10px;
    font-size: 10px;
}

/* 课程统计信息 */
.course-stats {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    margin-right: 10px;
}

.course-stats .stat-item {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.course-stats .stat-item.time {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
}

.course-stats .stat-item.progress {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

/* Tab切换样式优化 - 两Tab各占50% */
.layui-tab {
    width: 100%;
}

.layui-tab-title {
    display: flex;
    width: 100%;
    margin-bottom: 0;
    border-bottom: 2px solid #e8f4f3;
}

.layui-tab-title li {
    flex: 1;
    width: 50%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background-color: #fafdfc;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #555;
}

.layui-tab-title li:hover {
    background: #f0fffc;
}

.layui-tab-title li.layui-this {
    color: #000;
    font-weight: bold;
    position: relative;
}

.layui-tab-title li.layui-this::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 30%;
    right: 30%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* 温馨提示卡片 */
.contentTitle {
    font-weight: 600;
    font-size: 18px;
    color: #2A3B47;
    text-align: center;
    padding: 15px 0;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

.layui-card-body {
    padding: 20px;
}

.layui-card-body p {
    font-size: 14px;
    color: #5A6678;
    line-height: 2;
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.layui-card-body p::before {
    content: '\2022';
    position: absolute;
    left: 8px;
    color: var(--fresh-primary);
    font-weight: bold;
}