/* ==========================================
   CSS重置和全局样式
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 颜色变量 */
    --primary-red: #AD0800;
    --primary-red-dark: #8A0600;
    --tag-orange: #FFF3E6;
    --tag-orange-text: #D97706;
    --text-primary: #131313;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #E5E5E5;
    --border-red: #D32F2F;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --card-red-bg: #C62828;

    /* 布局变量 */
    --page-width: 1443px;
    --content-width: 900px;
    --sidebar-width: 265px;
    --gap: 35px;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

/* ==========================================
   顶部导航栏
   ========================================== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    filter: drop-shadow(0px 0px 11px rgba(215, 215, 215, 0.329));
}

.header-wrapper {
    display: flex;
    flex-direction: column;
}

/* PC端：顶部红色搜索栏隐藏，只显示白色导航栏 */
.header-top-bar {
    display: none;
}

.header-nav-bar {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 7px 121px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    background: var(--bg-white);
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    margin-left: 100px;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    font-family: 'PingFang SC', 'PingFangSC-Regular', 'Microsoft YaHei', sans-serif;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-red);
    font-weight: bold;
}

/* PC端搜索框放在导航栏右侧 */
.search-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.search-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ED6525 0%, #EA1D1D 24%, #B80D0D 100%);
    border-radius: 11px;
    width: 454px;
    height: 38px;
    padding: 2px;
    gap: 0;
    overflow: hidden;
}

.search-input {
    width: 376px;
    flex-shrink: 0;
    border: none;
    background: #FFFFFF;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
    color: #000;
    border-radius: 10px;
    height: 100%;
    margin: 0;
}

.search-input::placeholder {
    color: #9F9B9B;
}

.search-btn {
    flex: 1;
    background: transparent;
    color: #FFFFFF;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    white-space: nowrap;
    height: 100%;
    text-align: center;
}

/* 移动端课程列表PC端隐藏 */
.course-list-mobile {
    display: none !important;
}

/* PC端：显示大头像，隐藏小头像 */
.avatar-mobile {
    display: none;
}

.avatar-pc {
    display: block;
    width: 110px;
    height: 115px;
}

/* 导航栏头像 - PC端隐藏 */
.nav-avatar {
    display: none;
}

/* PC端搜索框显示，移动端搜索框隐藏 */
.pc-search {
    display: flex;
}

/* 底部固定按钮 - PC端隐藏 */
.mobile-fixed-btn {
    display: none;
}

/* 移动端logo - PC端隐藏 */
.mobile-logo {
    display: none;
}

/* ==========================================
   页面主容器
   ========================================== */
.page-wrapper {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 121px;
}

.main-container {
    display: flex;
    gap: var(--gap);
    padding-top: 13px;
    position: relative;
}

.content-left {
    width: var(--content-width);
    flex-shrink: 0;
}

.sidebar-right {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* ==========================================
   讲师主卡片
   ========================================== */
.teacher-main-card {
    padding: 22px 0 30px;
    margin-bottom: 40px;
    background: var(--bg-white);
}

.teacher-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    justify-content: space-between;
}

.teacher-info-left {
    flex: 1;
}

.teacher-name {
    font-size: 28px;
    font-weight: 650;
    font-family: 'PingFang SC', 'PingFangSC-Semibold', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    margin-top: -6px;
    margin-bottom: 10px;
}

.teacher-subtitle {
    font-size: 18px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.teacher-experience {
    display: flex;
    align-items: center;
    column-gap: 10px;
    row-gap: 7px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.teacher-experience .divider {
    color: var(--border-color);
}

.teacher-intro-text {
    font-size: 15px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', 'Microsoft YaHei', sans-serif;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 15px;
}

.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.teacher-tags::-webkit-scrollbar {
    display: none;
}

.tag-badge {
    display: inline-block;
    background: linear-gradient(90deg, #FFEEE5 0%, #FFECEB 26%, #FFE8E5 100%);
    border: 1px solid rgba(255, 232, 232, 1);
    color: var(--text-primary);
    padding: 5px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-invite {
    background: linear-gradient(135deg, #B80D0D 0%, #EA1D1D 76%, #ED6525 100%);
    color: #FFFFFF;
    width: 223px;
    height: 33px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    border: none;
    cursor: pointer;
}

.btn-invite:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.teacher-avatar-right {
    flex-shrink: 0;
    width: 225px;
    height: 225px;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background: transparent;
}

.has-png-avatar {
    position: relative;
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(to bottom, #ffd7c5 0%, #ffe9d1 41%, #fff3e5 100%);
}

.has-png-avatar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: #FFF3E5;
    pointer-events: none;
    z-index: 2;
}

.has-png-avatar::after {
    display: none;
}

.teacher-avatar-right.is-avatar-placeholder {
    border: 1px solid #FFE2D2;
    background: #FFF8F3;
}

.teacher-avatar-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    position: relative;
    z-index: 1;
}

.has-png-avatar img {
    border-radius: 11px;
}

/* ==========================================
   通用区块样式
   ========================================== */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* 用 border-top 画线，避免 height:1px+background 在缩放/高分屏上粗细不一致 */
.title-line {
    width: 100%;
    height: 0;
    margin: 0 0 20px;
    padding: 0;
    border: none;
    border-top: 1px solid var(--primary-red);
    background: none;
    box-sizing: border-box;
}

.section-text {
    font-size: 15px;
    color: #000000;
    line-height: 30px;
}

.achievement-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 8px;
}

.achievement-list li {
    position: relative;
    padding-left: 14px;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    color: #000000;
}

.achievement-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-red);
}

/* ==========================================
   课程列表
   ========================================== */
.courses-section {
    margin-bottom: 50px;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.course-item {
    background: rgba(255, 251, 251, 1);
    border: 1px solid rgba(255, 237, 226, 1);
    border-radius: 10px;
    padding: 19px 15px 15px 13px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    height: 131px;
    box-sizing: border-box;
    overflow: hidden;
}

.course-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.course-name {
    font-size: 18px;
    font-weight: 500;
    font-family: 'PingFang SC', 'PingFangSC-Medium', 'Microsoft YaHei', sans-serif;
    color: #000000;
    margin-bottom: 0;
    line-height: 25px;
    height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.course-name a {
    color: inherit;
    text-decoration: none;
}

.course-name a:hover,
.course-name:hover {
    text-decoration: underline;
    color: #AD0800;
}

.course-intro {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', 'Microsoft YaHei', sans-serif;
    color: #888888;
    line-height: 20px;
    height: 20px;
    margin-top: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.course-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 11px;
    border-top: none;
    padding-top: 0;
}

.teacher-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-mini-avatar {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
}

.teacher-mini-info {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.teacher-mini-name {
    font-size: 15px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #000000;
    line-height: 21px;
    white-space: nowrap;
}

.teacher-mini-title {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #888888;
    line-height: 20px;
    white-space: nowrap;
}

/* 培训咨询按钮 */
.btn-consult {
    background: linear-gradient(135deg, #B80D0D 0%, #F22121 100%);
    background-size: 200% 100%;
    background-position: left center;
    color: #FFFFFF;
    width: 68px;
    height: 28px;
    font-size: 13px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
    align-self: center;
    transition: background-position 0.3s ease;
}

.btn-consult:hover {
    background-position: right center;
    opacity: 1;
}

.btn-consult:hover {
    opacity: 0.85;
}

.view-more {
    display: inline-block;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

.view-more:hover {
    color: #E00F0F;
    text-decoration: none;
}

/* ==========================================
    右侧微信卡片
   ========================================== */
.sidebar-right {
    position: sticky;
    top: 91px;
    height: fit-content;
}

.wechat-card {
    width: 265px;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 上半部分红色背景 - 高153px */
.wechat-card-top {
    position: relative;
    border-radius: 16px 16px 0 0;
    padding: 18px 21px 0;
    height: 153px;
    box-sizing: border-box;
    overflow: hidden;
    background: #C62828;
}

.wechat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 265px;
    height: 153px;
    display: block;
}

.wechat-title {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
    color: #FFFFFF;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.wechat-tip {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #FFFFFF;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* 二维码跨越红白两区域 */
.wechat-qrcode-wrap {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
}

.wechat-qrcode-img {
    width: 190px;
    height: 189px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* 下半部分白色背景 */
.wechat-card-bottom {
    background: #FFFFFF;
    border-radius: 0 0 16px 16px;
    padding: 15px 21px 20px;
    box-sizing: border-box;
    text-align: center;
}

.wechat-note {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #131313;
    text-align: center;
    white-space: nowrap;
}

/* ==========================================
   底部
   ========================================== */
.footer {
    background: #000000;
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 121px;
}

.footer-intro {
    margin-bottom: 15px;
}

.footer-intro p {
    font-size: 14px;
    color: #7D7D7D;
    line-height: 1.8;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #333333;
    margin-bottom: 20px;
}

.footer-section-block {
    margin-bottom: 20px;
}

.footer-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #908F8F;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    margin-bottom: 12px;
}

.footer-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.footer-tag {
    font-size: 14px;
    color: #908F8F;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-right: 30px;
    margin-bottom: 8px;
}

.footer-tag:hover {
    color: #ffffff;
}

.footer-desc {
    font-size: 13px;
    color: #908F8F;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 23px;
    padding-top: 20px;
    max-width: var(--page-width);
    margin: 0 auto;
    padding-left: 121px;
    padding-right: 121px;
}

.footer-bottom p {
    font-size: 14px;
    color: #7D7D7D;
    margin-bottom: 0;
}

.footer-copyright {
    text-align: left;
}

.footer-beian {
    text-align: left;
    white-space: nowrap;
}

.beian-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px;
}

/* ==========================================
    培训咨询弹窗
   ========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    position: relative;
    width: 265px;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.5);
}

.modal-box {
    position: relative;
    width: 265px;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.modal-top {
    position: relative;
    height: 153px;
    padding: 21px 21px 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #C62828;
    border-radius: 16px 16px 0 0;
}

.modal-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 265px;
    height: 153px;
    display: block;
}

.modal-title {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
    color: #FFFFFF;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.modal-tip {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #FFFFFF;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.modal-qrcode-wrap {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
}

.modal-qrcode-img {
    width: 190px;
    height: 189px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.modal-bottom {
    background: #fff;
    padding: 15px 21px 20px;
    text-align: center;
    border-radius: 0 0 16px 16px;
}

.modal-note {
    font-size: 14px;
    font-weight: 400;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    color: #131313;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1200px) {

    .header-nav-bar,
    .page-wrapper,
    .footer-content,
    .footer-bottom {
        padding-left: 40px;
        padding-right: 40px;
    }

    .main-container {
        flex-direction: column;
    }

    .content-left {
        width: 100%;
    }

    .sidebar-right {
        width: 100%;
        position: static;
    }

    .wechat-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 底部面包屑导航 */
.breadcrumb-bottom {
    width: 100%;
    max-width: 900px;
    height: 34px;
    background: linear-gradient(90deg, #fff1ea 0%, rgba(245, 226, 225, 0.27) 27%, rgba(253, 230, 224, 0.36) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    margin-top: 40px;
    font-size: 14px;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

.bc-label {
    color: #131313;
}

.bc-link {
    color: #131313;
    text-decoration: none;
}

.bc-link:hover {
    color: var(--primary-red);
}

.bc-sep {
    color: #131313;
}

.bc-current {
    color: #131313;
    font-weight: 500;
}

/*  ===== 2026.03.19 分类页面  ===== */

.breadcrumb-top,
.breadcrumb-top a {
    color: #A3A2A2;
    font-size: 14px;
}

.breadcrumb-top a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}


/* 搜索 */
.search-mid {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.search-mid-l {
    width: 698px;
    height: 46px;
    padding: 2px;
    border-radius: 16px;
    /* background: linear-gradient(to right, #B80D0D, #EA1D1D, #ED6525); */
    background: linear-gradient(to right, #B80D0D, #EA1D1D);
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.search-mid-l input[type=text],
.search-mid-l input[type=search] {
    -webkit-appearance: none;
    appearance: none;

    width: 584px;
    height: 100%;
    border-radius: 14px;
    border: none;
    background-color: #fff;
    padding-left: 12px;
    font-size: 15px;
}

.search-mid-l input[type=text]::placeholder,
.search-mid-l input[type=search]::placeholder {
    font-size: 14px;
    color: #9fa19f;
}

.search-mid-l input[type=text]:focus,
.search-mid-l input[type=search]:focus {
    outline: none;
}

.search-mid-l button {
    flex: 1;
    font-size: 18px;
    color: #fff;
}

.search-mid-l:hover {
    background: linear-gradient(to left, #c21010, #ea1e1d);
}

.search-mid-r {
    flex: 1;
    margin-left: 15px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 16px 16px 0 16px;
    background: linear-gradient(to right, #e8273e, #ed6127);
}

.search-mid-r:hover {
    background: linear-gradient(to right, #ed6127, #e8273e);
}

/* 热门主题 */
.hot {
    margin-top: 12px;
    display: flex;
    align-items: center;
}

.hot a {
    display: inline-block;
    margin-right: 10px;
}

.hot a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* 分类选择 */
.category-card {
    width: 100%;
    max-width: 900px;
    margin-top: 12px;
    background: linear-gradient(to right, #fffaf6, #fdf4ed);
    border: 1px solid #fbe6e5;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 每一行 = 一级分类 + 二级分类容器 */
.filter-row-all {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.filter-row-all::-webkit-scrollbar {
    display: none;
}

/* 一级分类标题 (左侧) */
.primary-cat-title {
    width: 80px;
    font-weight: 600;
    padding: 2px 0;
    color: #000;
    text-align: center;
    border-radius: 8px;
    background: linear-gradient(to right, #ffe3df, #fef4ec);
}

/* 二级分类整体容器 */
.secondary-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin-left: 10px;
    color: #000;
}

/* 二级分类的每个可选项 */
.sec-item {
    font-size: 15px;
    font-weight: normal;
    color: #3c3a4a;
    padding: 4px 2px;
    cursor: default;
    transition: color 0.15s ease, text-decoration 0.1s;
    text-decoration: none;
    line-height: 1.5;
    border-bottom: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

/* 鼠标经过 (hover) 颜色变红 + 下划线 */
.sec-item:hover {
    color: #AD0800 !important;
    text-decoration: underline;
    text-decoration-color: #AD0800;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    font-weight: bold;
}

/* 点击后 (active 类) 颜色变红 + 下划线 —— 模拟选中效果 */
.sec-item.active {
    color: #FF1B1B !important;
    text-decoration: underline;
    text-decoration-color: #FF1B1B;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* 为了保证效果图一致性，将“全部”设为默认active（第一个分类） */
.sec-item.active-first {
    color: #FF1B1B;
    text-decoration: underline;
    text-decoration-color: #FF1B1B;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    font-weight: bold;
}

/* 小点缀：一级分类和右侧的间距适配窄屏 */
@media (max-width: 700px) {
    .filter-row {
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .primary-cat {
        min-width: 100%;
        border-bottom: 1px dashed #cdc3d9;
        padding-bottom: 6px;
        margin-bottom: 4px;
    }
}

.secondary-list .sec-item {
    white-space: nowrap;
    /* 防止数字/词语换行，保持一行 */
}

/* 想让一级分类也有淡淡的装饰，仿效果图极简风格 */
.primary-cat {
    position: relative;
}

.primary-cat::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 24px;
    height: 2px;
    background: #b0a2c0;
    opacity: 0.3;
    border-radius: 2px;
}

/* 为了更接近原图，干脆去掉，只保留文字本身 */
.primary-cat::after {
    display: none;
}

/* 培训专家 */
.training {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 3px;
    border-bottom: 1px solid #e0e0e0;
}

.training::-webkit-scrollbar {
    display: none;
}

.training h1 {
    position: relative;
    font-size: 20px;
}

.training h1::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 82px;
    height: 6px;
    background: linear-gradient(to right, #ba0e0e, #f22121);
}

.training h2 {
    position: relative;
}

.training h2::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 82px;
    height: 6px;
    background: linear-gradient(to right, #ba0e0e, #f22121);
}

.training h3 {
    position: relative;
}

.training h3::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 82px;
    height: 6px;  
    background: linear-gradient(to right, #ba0e0e, #f22121);
}

.training span {
    font-size: 21px;
    font-weight: bold;
}

.training .result-count {
    margin-left: 15px;
    font-style: normal;
    color: #747474;
}

.introduce {
    margin-top: 10px;
    color: #6b6666;
}

.card_training {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: 15px;
    margin-top: 15px;
    box-sizing: border-box;
}

.card_training .card {
    overflow: hidden;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ffede2;
    background: #fffbfb;
}

.card_training .card .card_img {
    float: left;
    width: 124px;
    height: 124px;
    border-radius: 12px;
    overflow: hidden;
}

.card_training .card .card_text {
    position: relative;
    float: right;
    overflow: hidden;
    width: 272px;
}

.card_list {
    display: flex;
    align-items: center;
    color: #6f6f6f;
}

.card_training .card .card_text h3 {
    font-size: 1.4em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.card_training .card .card_text h3:hover {
    color: #AD0800;
}

.card_list li {
    line-height: 26px;
}

.card_list li:nth-child(1) {
    width: 82px;
}

.card_list li:nth-child(2) {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card_position {
    position: absolute;
    top: 4px;
    right: 0px;
    width: 70px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card_position img {
    margin-right: 5px;
}

/* Pages */
.pages_pc,
.pages_mobile {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pages_pc a,
.pages_mobile a {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid #797979;
}

.pages_pc a:hover,
.pages_mobile a:hover {
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
}

.pages_pc span.active {
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    box-sizing: border-box;
    min-width: 40.41px;
    text-align: center;
}

.page-jump-box {
    display: inline-flex;
    align-items: center;
    padding: 8px 8px;
    border-radius: 10px;
    border: 1px solid #797979;
    gap: 5px;
    box-sizing: border-box;
}

.page-jump-box:hover,
.page-jump-box:focus-within {
    border-color: var(--primary-red);
}

.page-jump-box:hover .page-jump-link {
    color: var(--primary-red);
}

.page-jump-divider {
    color: #797979;
    user-select: none;
    line-height: 1;
}

.page-jump-input {
    width: 34px;
    min-width: 0;
    flex: 0 0 34px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
}

.page-jump-input:focus {
    outline: none;
}

.page-jump-input::placeholder {
    color: #999;
}

.pages_pc .page-jump-box .page-jump-link {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.pages_pc .page-jump-box .page-jump-link:hover {
    border: none;
}

.pages_mobile {
    display: none;
}

/* 主题 */
.theme {
    margin-top: 50px;
}

.theme h2 {
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ad0800;
    font-size: 18px;
}

.theme h3 {
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ad0800;
    font-size: 18px;
} 

.theme h4 {
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ad0800;
    font-size: 18px;
}

.theme p {
    margin-top: 12px;
}

/* 核心擅长方向 */
.core-directions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.core-dir-row {
    font-size: 15px;
    color: #000;
    line-height: 30px;
}

.core-dir-label {
    font-weight: 600;
    color: #131313;
}

/* 专家主题方向 标签组 */
.theme_tag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.theme_tag span,
.theme_tag a {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 10px;
    background-color: #fef1eb;
    color: #131313;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

.theme_tag span:hover,
.theme_tag a:hover {
    color: #fff;
    background-color: #cc0000;
}

.role-training-section .section-text {
    margin-bottom: 14px;
}

.role-training-tag a {
    border: 1px solid #ffd8cc;
    background-color: #fff8f5;
}

.expert-learning-path-section .section-text {
    margin-bottom: 14px;
}

.expert-learning-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.expert-learning-path-card {
    position: relative;
    min-height: 116px;
    padding: 17px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    border: 1px solid #ffd8cc;
    border-radius: 8px;
    background: #fff8f5;
    color: #131313;
    text-decoration: none;
}

.expert-learning-path-card::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 16px;
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-red);
}

.expert-learning-path-card strong {
    padding-top: 12px;
    color: #111;
    font-size: 16px;
    line-height: 1.35;
}

.expert-learning-path-card span {
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}

.expert-learning-path-card:hover {
    border-color: #cc0000;
    background: #fff1ec;
}

.expert-learning-path-card:hover strong {
    color: #cc0000;
}

.expert-knowledge-entry-section {
    margin-bottom: 50px;
}

.expert-knowledge-entry-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #ffd8cc;
    background: #fff8f5;
    color: var(--primary-red);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.expert-knowledge-entry-link:hover {
    color: #fff;
    background-color: #cc0000;
    border-color: #cc0000;
}


.expert {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ffd7ca;
}

.expert p {
    margin-top: 10px;
}

.expert_list p {
    margin-top: 2px;
    margin-left: 12px;
}

.expert_list p span {
    font-size: 20px;
    margin-right: 5px;
}

.mt15 {
    margin-top: 15px;
}

.bread_bottom {
    display: none;
}

/* ==========================================
响应式设计 - 手机端 (<768px)
   ========================================== */
@media (max-width: 768px) {

    /* 返回顶部按钮手机端隐藏 */
    #gotop-btn {
        display: none !important;
    }

    /* 导航栏固定在顶部 */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        background: #FFFFFF;
        box-shadow: none;
        filter: none;
    }

    .header-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* 顶部搜索栏：白色背景 */
    .header-top-bar {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 8px 10px;
        background: #FFFFFF;
        box-sizing: border-box;
    }

    .search-container {
        display: flex;
        flex: 1;
        width: 100%;
    }

    /* 搜索框外框：渐变红色，圆角13px，高44px */
    .search-box {
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        gap: 0;
        padding: 2px;
        overflow: hidden;
        border-radius: 13px;
        background: linear-gradient(135deg, #ed6525 0%, #ea1d1d 24%, #b80d0d 100%);
    }

    /* 白色内凹区域：四个角都是圆角11px */
    .search-inner {
        flex: 1;
        display: flex;
        align-items: center;
        background: #FFFFFF;
        border-radius: 11px;
        height: 100%;
        padding: 0 8px;
        gap: 6px;
        min-width: 0;
        overflow: hidden;
    }

    .mobile-logo {
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        border-radius: 4px;
        object-fit: cover;
    }

    .search-input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        padding: 0;
        font-size: 16px;
        color: #000;
        height: 100%;
        min-width: 0;
        width: auto;
        appearance: none;
    }

    .search-input::placeholder {
        color: #C2BFBF;
        font-size: 16px;
    }

    /* 搜索按钮：固定68px，白色文字 */
    .search-btn {
        flex: 0 0 68px;
        background: transparent;
        color: #fff;
        padding: 0;
        font-size: 13px;
        font-weight: 400;
        height: 100%;
        text-align: center;
        white-space: nowrap;
    }

    /* PC端搜索框隐藏 */
    .pc-search {
        display: none !important;
    }

    /* 白色导航栏 */
    .header-nav-bar {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0 13px;
        gap: 0;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        box-sizing: border-box;
        /* border-bottom: 1px solid #E5E5E5; */
    }

    /* 隐藏logo */
    .logo {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        gap: 0;
        margin-left: 0;
        flex-shrink: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 15px;
        font-weight: 400;
        color: #000000;
        white-space: nowrap;
        padding: 10px 0;
    }

    /* 移动端头像行 - 不需要 */
    .mobile-avatar-bar {
        display: none;
    }

    /* 页面内容顶部留出导航栏高度 */
    .page-wrapper {
        padding: 0 13px;
        margin-top: 92px;
        position: relative;
    }

    /* 头像：绝对定位到右上角，紧贴导航栏下方，与合作联系对齐 */
    .teacher-avatar-right {
        position: absolute;
        top: 18px;
        /* 往下移一点，避免贴近导航栏 */
        right: 13px;
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        border: none;
        border-radius: 15px;
        padding: 2px;
        background: linear-gradient(to bottom, #ffd7c5 0%, #ffe9d1 41%, #fff3e5 100%);
        overflow: hidden;
        /* 头像圆角裁切 */
    }

    .has-png-avatar::after {
        display: none;
    }

    .teacher-avatar-right.has-png-avatar::before {
        height: 2px;
    }

    .avatar-pc {
        display: none !important;
    }

    .avatar-mobile {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 13px;
    }

    .teacher-avatar-right.has-png-avatar .avatar-mobile {
        border-radius: 13px;
    }

    .teacher-avatar-right.is-avatar-placeholder {
        border: 1px solid #FFE2D2;
        background: #FFF8F3;
        padding: 0;
    }

    .main-container {
        flex-direction: column;
        padding-top: 0;
        gap: 0;
    }

    /* ---- 讲师主卡片 ---- */
    .teacher-main-card {
        padding: 25px 0 10px;
        /* 下移一点，避免紧贴导航栏下方 */
        margin-bottom: 0;
        background: transparent;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .teacher-main-card::-webkit-scrollbar {
        display: none;
    }

    .teacher-card-inner {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
        min-width: 500px;
    }

    .teacher-info-left {
        flex: 1;
        min-width: 0;
    }

    /* 姓名：20px, 650, #000 */
    .teacher-name {
        font-size: 20px;
        font-weight: 650;
        font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
        color: #000000;
        margin-top: 0;
        margin-bottom: 4px;
    }

    /* 副标题：15px, 400, #000，间距13px */
    .teacher-subtitle {
        font-size: 15px;
        font-weight: 400;
        color: #000000;
        margin-bottom: 12px;
    }

    /* 经验文字：16px, 400，间距12px */
    .teacher-experience {
        flex-wrap: nowrap;
        gap: 4px;
        font-size: 16px;
        font-weight: 400;
        color: #000000;
        margin-bottom: 13px;
        line-height: 1.4;
        white-space: nowrap;
    }

    /* 简介：15px, 400，间距13px */
    .teacher-intro-text {
        font-size: 15px;
        font-weight: 400;
        color: #000000;
        line-height: 1.6;
        margin-bottom: 8px;
        white-space: normal;
    }

    /* 标签行：横排一行不换行 */
    .teacher-tags {
        gap: 6px;
        margin-bottom: 10px;
        flex-wrap: nowrap;
        overflow-x: visible;
    }

    /* 所有标签：渐变背景，字体400，黑色 */
    .tag-badge {
        font-size: 13px;
        font-weight: 400;
        color: #000000;
        padding: 5px;
        line-height: 1;
        border-radius: 4px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-invite {
        display: none;
    }

    /* ---- 通用区块 ---- */
    .section {
        margin-bottom: 0;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    /* section标题：16px, 650, #000 */
    .section-title {
        font-size: 16px;
        font-weight: 650;
        font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
        color: #000000;
        margin-bottom: 8px;
    }

    /* 分割线：与 PC 相同画法，保证各区块视觉粗细一致 */
    .title-line {
        height: 0;
        margin: 0 0 14px;
        padding: 0;
        border: none;
        border-top: 1px solid rgba(173, 8, 0, 1);
        background: none;
        box-sizing: border-box;
    }

    /* 正文：15px, 400, 黑色，line-height:30px */
    .section-text {
        font-size: 15px;
        font-weight: 400;
        font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
        color: #131313;
        line-height: 30px;
        width: 370px;
    }

    /* 服务行业正文：无line-height指定，用默认 */
    .section-industry .section-text {
        line-height: 1.5;
    }

    .achievement-list {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .achievement-list li {
        font-size: 15px;
        line-height: 30px;
    }

    .achievement-list li::before {
        top: 13px;
    }

    .expert-learning-path-section .section-text {
        width: 100%;
        margin-bottom: 12px;
    }

    .expert-learning-path-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .expert-learning-path-card {
        min-height: 0;
        padding: 15px 13px 13px;
    }

    .expert-learning-path-card::before {
        top: 15px;
        left: 13px;
    }

    .expert-learning-path-card strong {
        font-size: 15px;
    }

    /* 课程列表切换：移动端显示移动版，隐藏PC版 */
    .course-list-pc {
        display: none !important;
    }

    .course-list-mobile {
        display: flex !important;
    }

    /* ---- 课程列表 - 竖排单列，无背景色 ---- */
    .courses-section {
        margin-bottom: 0;
    }

    .course-list {
        display: flex;
        flex-direction: column;
        overflow-x: unset;
        gap: 0;
        padding-bottom: 0;
        padding-right: 0;
        grid-template-columns: unset;
        flex-wrap: nowrap;
        margin-bottom: 10px;
    }

    /* 课程卡片：无背景色，无边框，底部分割线，不裁切内容 */
    .course-item {
        min-width: unset;
        max-width: unset;
        width: 100%;
        height: auto;
        min-height: unset;
        flex-shrink: unset;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 237, 234, 1);
        border-radius: 0;
        padding: 12px 0;
        box-shadow: none;
        overflow: visible;
    }

    .course-item:hover {
        transform: none;
        box-shadow: none;
    }

    /* 课程名：15px, #000 */
    .course-name {
        font-size: 15px;
        font-weight: 400;
        font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
        color: #000000;
        white-space: normal;
        height: auto;
        line-height: 1.4;
        margin-bottom: 7px;
        overflow: visible;
        text-overflow: unset;
    }

    /* 课程描述：#888 */
    .course-intro {
        font-size: 13px;
        font-weight: 400;
        color: #888888;
        white-space: normal;
        height: auto;
        line-height: 1.4;
        margin-top: 0;
        overflow: visible;
        text-overflow: unset;
    }

    .course-bottom {
        flex-direction: row;
        align-items: center;
        margin-top: 8px;
        justify-content: space-between;
    }

    .teacher-mini {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    /* 讲师名和职称同一行 */
    .teacher-mini-name {
        font-size: 14px;
        font-weight: 400;
        color: #000000;
        line-height: 1.4;
        white-space: nowrap;
    }

    .teacher-mini-title {
        font-size: 14px;
        font-weight: 400;
        color: #888888;
        line-height: 1.4;
        white-space: nowrap;
    }

    .btn-consult {
        display: none;
    }

    .view-more {
        font-size: 16px;
        font-weight: 650;
        font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
        color: #E00F0F;
        display: block;
        margin-top: 10px;
    }

    /* ---- 右侧微信卡片：移动端隐藏 ---- */
    .sidebar-right {
        display: none;
    }

    /* ---- 面包屑：横向滚动，14px黑色 ---- */
    .breadcrumb-bottom {
        font-size: 14px;
        font-weight: 400;
        color: #131313;
        height: 34px;
        padding: 0 9px;
        flex-wrap: nowrap;
        gap: 0;
        margin-top: 18px;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        align-items: center;
        background: linear-gradient(90deg, #fff1ea 0%, rgba(245, 226, 225, 0.27) 27%, rgba(253, 230, 224, 0.36) 100%);
        border-radius: 10px;
    }

    .breadcrumb-bottom::-webkit-scrollbar {
        display: none;
    }

    .bc-label,
    .bc-link,
    .bc-sep,
    .bc-current {
        font-size: 14px;
        font-weight: 400;
        color: #131313;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ---- 底部固定栏：渐变圆角按钮 ---- */
    .mobile-fixed-btn {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        gap: 4px;
        overflow: hidden;
        background: #fff;

    }

    .fixed-btn-m {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        height: 31px;
        border-radius: 8px;
        gap: 4px;
        background: linear-gradient(135deg, #f26a21 0%, #fb0000 100%);
    }

    .fixed-btn-text {
        color: #ffffff;
        font-size: 14px;
        font-weight: 400;
        font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
        white-space: nowrap;
    }

    .fixed-btn-link {
        color: #ffffff;
        font-size: 14px;
        font-weight: 400;
        font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
        white-space: nowrap;
    }

    /* 底部留出固定栏空间 */
    .footer {
        margin-bottom: 0;
        margin-top: 30px;
        padding: 30px 0 0 0;
    }

    .footer-content,
    .footer-bottom {
        padding-left: 13px;
        padding-right: 13px;
    }

    /* 底部文字颜色匹配原版灰色 */
    .footer-section-title {
        color: #908F8F;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .footer-tags-row {
        gap: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-tag {
        color: #908F8F;
        font-size: 13px;
        margin-right: 0;
        margin-bottom: 8px;
        width: 20%;
        text-align: left;
    }

    .footer-tags-hot .footer-tag {
        width: 25%;
    }

    .footer-desc {
        color: #908F8F;
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 6px;
    }

    .footer-intro p {
        color: #908F8F;
        font-size: 13px;
    }

    .footer-section-block {
        margin-bottom: 16px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 10px;
        /* 减小分割线到底部文案的间距 */
    }

    .footer-divider {
        margin-bottom: 12px;
    }

    .footer-bottom p {
        color: #7D7D7D;
        font-size: 13px;
        margin-bottom: 4px;
        text-align: center;
    }

    .footer-copyright,
    .footer-beian {
        text-align: center;
        white-space: normal;
    }

    .beian-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        margin: 0 2px;
    }

    /* .mobile-fixed-btn {
        bottom: 6px;
    } */

    /* 2026.03.19 分类页面 */
    .breadcrumb-top,
    .search-mid,
    .hot,
    .card_position,
    .pages_pc {
        display: none;
    }

    .category-card {
        margin-top: 30px;
    }

    .filter-row-all,
    .training {
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .secondary-list {
        flex-wrap: nowrap;
    }

    .primary-cat-title {
        padding: 2px 12px;
    }

    .card_training {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .card_training .card {
        position: relative;
    }

    .card_training .card .card_img {
        position: absolute;
        top: 10px;
        right: 10px;
        float: none;
        width: 60px;
        height: 60px;
    }

    .card_training .card .card_text {
        position: relative;
        float: none;
        width: 100%;
    }

    .theme {
        margin-top: 30px;
    }

    .pages_mobile {
        display: block;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .pages_mobile span {
        margin: 0 12px;
    }

    .bread_bottom {
        display: block;
    }


}

/* ==========================================
    专家页动态加载状态
   ========================================== */
.expert-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
}

.expert-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: expert-spin 0.8s linear infinite;
}

.expert-loading-text {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

@keyframes expert-spin {
    to {
        transform: rotate(360deg);
    }
}

.expert-content-hidden {
    display: none !important;
}

.expert-content-hidden.expert-content-visible {
    display: flex !important;
}

.expert-loading.expert-loading-hidden {
    display: none !important;
}

.expert-load-error {
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* 返回顶部按钮 */
#gotop-btn {
    display: none;
    position: fixed;
    right: 260px;
    bottom: 40px;
    z-index: 999;
    width: 40px;
    height: 40px;
}

#gotop-btn img {
    width: 40px;
    height: 40px;
    display: block;
}

.expert-load-error p {
    margin-bottom: 12px;
}

/* ==========================================
   专家课程集合页
   ========================================== */
.expert-course-collection {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 36px 121px 64px;
}

.expert-course-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 24px;
}

.expert-course-breadcrumb a:hover {
    color: var(--primary-red);
}

.expert-course-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 30px;
    align-items: start;
    border-bottom: 1px solid var(--primary-red);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.expert-course-hero-copy {
    min-width: 0;
}

.expert-course-hero-avatar {
    flex-shrink: 0;
    width: 225px;
    height: 225px;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background: transparent;
}

.expert-course-hero-avatar.has-png-avatar {
    position: relative;
    padding: 5px;
    background: linear-gradient(to bottom, #ffd7c5 0%, #ffe9d1 41%, #fff3e5 100%);
}

.expert-course-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    position: relative;
    z-index: 1;
}

.expert-course-back {
    display: inline-flex;
    align-items: center;
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 16px;
}

.expert-course-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.expert-course-hero-links .expert-course-back {
    margin-bottom: 0;
}

.expert-course-hero h1 {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 10px;
    color: #000;
}

.expert-course-hero p {
    font-size: 15px;
    color: var(--text-secondary);
}

.expert-course-hero .expert-course-summary {
    max-width: 560px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.expert-course-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.expert-course-stats span,
.expert-course-card-tags span {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background: #fff3ea;
    color: #8a3d18;
    font-size: 13px;
}

.expert-course-stats span {
    height: 22.5px;
    padding-right: 8px;
    padding-left: 8px;
}

.expert-course-card-tags span {
    height: 23px;
}

.expert-course-list-section h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.expert-course-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 900px) var(--sidebar-width);
    gap: var(--gap);
    align-items: start;
    width: 1200px;
}

.expert-course-main-column {
    width: 900px;
    min-width: 0;
}

.expert-course-list-section {
    width: 100%;
    max-width: 900px;
    margin: 0;
}

.expert-course-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: 113px;
    height: fit-content;
    margin-top: 0;
}

.expert-course-sidebar .course-wechat-card {
    width: 265px;
    overflow: visible;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 0;
    position: relative;
}

.expert-course-sidebar .course-wechat-top {
    position: relative;
    height: 153px;
    padding: 21px 21px 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    color: #fff;
    background: #C62828;
}

.expert-course-sidebar .course-wechat-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 265px;
    height: 153px;
    display: block;
}

.expert-course-sidebar .course-wechat-title,
.expert-course-sidebar .course-wechat-top p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.expert-course-sidebar .course-wechat-title {
    margin-bottom: 8px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.expert-course-sidebar .course-wechat-top p {
    color: #fff;
    font-family: "PingFang SC", "PingFangSC-Regular", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.expert-course-sidebar .course-wechat-qr {
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
    position: relative;
    z-index: 2;
}

.expert-course-sidebar .course-wechat-qr img {
    width: 190px;
    height: 189px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.expert-course-sidebar .course-wechat-note {
    margin: 0;
    padding: 15px 21px 20px;
    box-sizing: border-box;
    border-radius: 0 0 16px 16px;
    background: #fff;
    text-align: center;
    color: #131313;
    font-family: "PingFang SC", "PingFangSC-Regular", sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.expert-course-list {
    display: grid;
    gap: 16px;
}

.expert-course-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid rgba(255, 237, 226, 1);
    border-radius: 10px;
    background: rgba(255, 251, 251, 1);
}

.expert-course-card.is-featured {
    border-color: rgba(173, 8, 0, 0.28);
    background: #fffafa;
}

.expert-course-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.expert-course-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #000;
    word-break: break-word;
}

.expert-course-card h3 a:hover {
    color: var(--primary-red);
}

.expert-course-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.expert-course-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.expert-course-card .btn-consult {
    width: 88px;
    height: 38px;
    font-size: 15px;
}

.expert-course-detail-link {
    color: var(--primary-red);
    font-weight: 500;
}

.expert-course-detail-link:hover {
    text-decoration: underline;
}

.expert-course-empty {
    padding: 32px 0;
    color: var(--text-secondary);
}

@media (min-width: 769px) and (max-width: 1199px) {
    .header-nav-bar {
        padding-right: 48px;
        padding-left: 48px;
        gap: 24px;
    }

    .nav-menu {
        gap: 24px;
        margin-left: 40px;
    }

    .pc-search {
        min-width: 0;
    }

    .pc-search .search-box {
        width: 100%;
        min-width: 0;
    }

    .pc-search .search-input {
        width: auto;
        min-width: 0;
        flex: 1;
    }
}

@media (min-width: 1200px) and (max-width: 1320px) {
    .expert-course-collection {
        padding-left: calc((100vw - 1200px) / 2);
        padding-right: calc((100vw - 1200px) / 2);
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .expert-course-collection {
        width: min(900px, calc(100% - 48px));
        padding: 32px 0 64px;
    }

    .expert-course-content-layout {
        display: block;
        width: 100%;
    }

    .expert-course-main-column {
        width: 100%;
    }

    .expert-course-list-section {
        max-width: none;
    }

    .expert-course-sidebar {
        display: none;
    }

    .expert-course-hero {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 24px;
    }

    .expert-course-hero-avatar {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .expert-course-collection {
        width: calc(100% - 32px);
        margin-top: 104px;
        padding: 24px 0 64px;
    }

    .expert-course-hero h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .expert-course-hero {
        display: block;
    }

    .expert-course-hero-avatar {
        display: none;
    }

    .expert-course-content-layout {
        display: block;
        width: auto;
    }

    .expert-course-main-column {
        width: 100%;
    }

    .expert-course-sidebar {
        display: none;
    }

    .expert-course-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 16px;
    }

    .expert-course-card h3 {
        font-size: 18px;
    }

    .expert-course-card-actions {
        justify-content: space-between;
        white-space: normal;
    }
}

/* ==========================================
   专家知识体系页
   ========================================== */
.expert-knowledge-page {
    width: 1200px;
    margin: 0 auto;
    padding: 22px 0 70px;
}

.expert-knowledge-layout {
    display: grid;
    grid-template-columns: minmax(0, 900px) var(--sidebar-width);
    gap: var(--gap);
    align-items: start;
}

.expert-knowledge-main {
    min-width: 0;
}

.expert-knowledge-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 34px;
    align-items: center;
    min-height: 292px;
    margin-bottom: 26px;
    padding: 34px 36px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(255, 249, 247, 0.96) 0%, rgba(255, 255, 255, 1) 52%, rgba(244, 249, 248, 0.96) 100%);
}

.expert-knowledge-hero h1 {
    max-width: 620px;
    margin: 16px 0 8px;
    color: #111;
    font-size: 34px;
    line-height: 1.22;
    font-weight: 700;
}

.expert-knowledge-hero-context {
    color: var(--primary-red);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
}

.expert-knowledge-summary {
    max-width: 640px;
    margin-top: 12px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.expert-knowledge-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.expert-knowledge-primary,
.expert-knowledge-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.expert-knowledge-primary {
    background: var(--primary-red);
    color: #fff;
}

.expert-knowledge-secondary {
    border: 1px solid rgba(173, 8, 0, 0.24);
    background: #fff;
    color: var(--primary-red);
}

.expert-knowledge-avatar {
    width: 210px;
    aspect-ratio: 1 / 1;
    align-self: end;
    overflow: hidden;
    border: none;
    border-radius: 16px;
    background: transparent;
}

.expert-knowledge-avatar.has-png-avatar {
    position: relative;
    padding: 5px;
    background: linear-gradient(to bottom, #ffd7c5 0%, #ffe9d1 41%, #fff3e5 100%);
}

.expert-knowledge-avatar.has-png-avatar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: #fff3e5;
    pointer-events: none;
    z-index: 2;
}

.expert-knowledge-avatar picture {
    display: block;
    width: 100%;
    height: 100%;
}

.expert-knowledge-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 11px;
    position: relative;
    z-index: 1;
}

.expert-knowledge-avatar:not(.has-png-avatar) img {
    object-fit: contain;
    object-position: center;
    padding: 14px;
}

.expert-knowledge-section {
    margin-bottom: 24px;
    padding: 28px;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.expert-knowledge-section-head {
    display: block;
    margin-bottom: 22px;
}

.expert-knowledge-section-head h2 {
    color: #111;
    font-size: 22px;
    line-height: 1.3;
}

.expert-knowledge-section-head p {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.expert-knowledge-system-grid,
.expert-knowledge-topic-grid,
.expert-knowledge-judge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.expert-knowledge-system-card,
.expert-knowledge-topic-card,
.expert-knowledge-judge-card {
    min-width: 0;
    border-radius: 8px;
    background: #fbfbfb;
}

.expert-knowledge-system-card {
    padding: 18px;
    border: 1px solid #ececec;
}

.expert-knowledge-card-index {
    margin-bottom: 12px;
    color: rgba(173, 8, 0, 0.38);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.expert-knowledge-system-card h3,
.expert-knowledge-topic-card h3,
.expert-knowledge-course-card h3,
.expert-knowledge-judge-card h3 {
    color: #111;
    font-size: 17px;
    line-height: 1.42;
    word-break: break-word;
}

.expert-knowledge-system-card p,
.expert-knowledge-topic-card p,
.expert-knowledge-course-card p,
.expert-knowledge-judge-card p,
.expert-knowledge-flow p {
    color: #5f6670;
    font-size: 14px;
    line-height: 1.7;
}

.expert-knowledge-system-card p {
    margin-top: 10px;
}

.expert-knowledge-answer-section {
    padding-top: 18px;
}

.expert-knowledge-answer-box {
    padding: 20px 22px;
    border-left: 4px solid var(--primary-red);
    border-radius: 0 8px 8px 0;
    background: #fff8f4;
}

.expert-knowledge-answer-box p {
    color: #2f3744;
    font-size: 16px;
    line-height: 1.85;
}

.expert-knowledge-source-list {
    display: grid;
    gap: 10px;
    padding: 20px 22px;
    border-radius: 8px;
    background: #f9fbfa;
}

.expert-knowledge-source-list p {
    display: flex;
    gap: 8px;
    color: #5f6670;
    font-size: 14px;
    line-height: 1.7;
}

.expert-knowledge-source-list span {
    flex: 0 0 auto;
    color: var(--primary-red);
}

.expert-knowledge-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.expert-knowledge-chip-row span,
.expert-knowledge-course-tag,
.expert-knowledge-judge-card span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 6px;
    background: #fff3ea;
    color: #8a3d18;
    font-size: 12px;
    line-height: 1.4;
}

.expert-knowledge-topic-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 18px;
    border: 1px solid rgba(238, 238, 238, 1);
}

.expert-knowledge-topic-card h3 a:hover,
.expert-knowledge-course-card h3 a:hover,
.expert-knowledge-text-link:hover,
.expert-knowledge-more:hover,
.expert-knowledge-side-nav a:hover {
    color: var(--primary-red);
}

.expert-knowledge-topic-card p {
    margin-top: 10px;
    flex: 1;
}

.expert-knowledge-text-link,
.expert-knowledge-more {
    display: inline-flex;
    width: fit-content;
    margin-top: 14px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 500;
}

.expert-knowledge-course-list {
    display: grid;
    gap: 14px;
}

.expert-knowledge-course-card {
    display: block;
    padding: 18px 20px;
    border: 1px solid rgba(255, 237, 226, 1);
    border-radius: 8px;
    background: rgba(255, 251, 251, 1);
}

.expert-knowledge-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expert-knowledge-course-card h3 {
    margin: 8px 0;
}

.expert-knowledge-course-tag {
    white-space: nowrap;
}

.expert-knowledge-course-meta .expert-knowledge-course-tag {
    flex: 0 0 auto;
    white-space: nowrap;
}

.expert-knowledge-judge-card {
    min-height: 172px;
    padding: 18px;
    border: 1px solid #ececec;
    background: #f9fbfa;
}

.expert-knowledge-judge-card h3 {
    margin-top: 12px;
}

.expert-knowledge-judge-card p {
    margin-top: 8px;
}

.expert-knowledge-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.expert-knowledge-fit-card {
    min-width: 0;
    padding: 20px;
    border-radius: 8px;
    background: #f9fbfa;
    border: 1px solid #ececec;
}

.expert-knowledge-fit-card h3 {
    margin-bottom: 12px;
    color: #111;
    font-size: 18px;
    line-height: 1.35;
}

.expert-knowledge-fit-card p {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    color: #5f6670;
    font-size: 14px;
    line-height: 1.7;
}

.expert-knowledge-fit-card p span {
    flex: 0 0 auto;
    color: var(--primary-red);
}

.expert-knowledge-flow-section {
    margin-bottom: 0;
}

.expert-knowledge-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.expert-knowledge-flow div {
    min-width: 0;
    padding: 18px;
    border-radius: 8px;
    background: #f7f7f7;
}

.expert-knowledge-flow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.expert-knowledge-flow strong {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-size: 16px;
}

.expert-knowledge-faq-section {
    margin-top: 24px;
}

.expert-knowledge-faq-list {
    display: grid;
    gap: 12px;
}

.expert-knowledge-faq-list article {
    padding: 18px 20px;
    border-radius: 8px;
    background: #fbfbfb;
    border: 1px solid #ececec;
}

.expert-knowledge-faq-list h3 {
    margin-bottom: 8px;
    color: #111;
    font-size: 17px;
    line-height: 1.4;
}

.expert-knowledge-faq-list p {
    color: #5f6670;
    font-size: 14px;
    line-height: 1.75;
}

.expert-knowledge-sidebar {
    position: sticky;
    top: 86px;
}

.expert-knowledge-sidebar .course-wechat-card {
    width: 265px;
    overflow: visible;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.expert-knowledge-sidebar .course-wechat-top {
    position: relative;
    height: 153px;
    padding: 21px 21px 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    color: #fff;
    background: #C62828;
}

.expert-knowledge-sidebar .course-wechat-top img {
    position: absolute;
    inset: 0;
    width: 265px;
    height: 153px;
}

.expert-knowledge-sidebar .course-wechat-title,
.expert-knowledge-sidebar .course-wechat-top p {
    position: relative;
    z-index: 1;
}

.expert-knowledge-sidebar .course-wechat-title {
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
}

.expert-knowledge-sidebar .course-wechat-top p {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.expert-knowledge-sidebar .course-wechat-qr {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
}

.expert-knowledge-sidebar .course-wechat-qr img {
    width: 190px;
    height: 189px;
    object-fit: cover;
    border-radius: 10px;
}

.expert-knowledge-sidebar .course-wechat-note {
    margin: 0;
    padding: 15px 21px 20px;
    border-radius: 0 0 16px 16px;
    background: #fff;
    color: #131313;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
}

.expert-knowledge-side-nav {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
}

.expert-knowledge-side-nav a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    background: #f8f8f8;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .expert-knowledge-page {
        width: 100%;
        max-width: 100vw;
        margin-top: 92px;
        padding: 18px 16px 56px;
    }

    .expert-knowledge-layout,
    .expert-knowledge-hero,
    .expert-knowledge-system-grid,
    .expert-knowledge-topic-grid,
    .expert-knowledge-judge-grid,
    .expert-knowledge-fit-grid,
    .expert-knowledge-course-card,
    .expert-knowledge-flow {
        display: block;
    }

    .expert-knowledge-hero {
        min-height: 0;
        width: 100%;
        max-width: 100%;
        padding: 24px 18px;
        overflow: hidden;
    }

    .expert-knowledge-main,
    .expert-knowledge-hero-copy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .expert-knowledge-hero h1 {
        font-size: 26px;
    }

    .expert-knowledge-hero-context {
        font-size: 16px;
    }

    .expert-knowledge-page h1,
    .expert-knowledge-page h2,
    .expert-knowledge-page h3,
    .expert-knowledge-page p,
    .expert-knowledge-page a,
    .expert-knowledge-page span {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .expert-knowledge-summary,
    .expert-knowledge-section-head p,
    .expert-knowledge-system-card p,
    .expert-knowledge-topic-card p,
    .expert-knowledge-course-card p,
    .expert-knowledge-judge-card p,
    .expert-knowledge-flow p {
        white-space: normal;
    }

    .expert-knowledge-avatar,
    .expert-knowledge-sidebar {
        display: none;
    }

    .expert-knowledge-section {
        width: 100%;
        max-width: 100%;
        padding: 22px 0;
        overflow: hidden;
    }

    .expert-knowledge-system-card,
    .expert-knowledge-topic-card,
    .expert-knowledge-course-card,
    .expert-knowledge-judge-card,
    .expert-knowledge-fit-card,
    .expert-knowledge-flow div {
        width: 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    .expert-knowledge-answer-box,
    .expert-knowledge-source-list,
    .expert-knowledge-faq-list article {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
    }

    .expert-knowledge-course-tag {
        margin-top: 12px;
        white-space: normal;
    }

    .expert-knowledge-course-meta .expert-knowledge-course-tag {
        margin-top: 0;
        white-space: nowrap;
    }
}
