/* 自定义字体 - 书法字体 */
@font-face {
    font-family: 'CustomCalligraphy';
    src: url('../fonts/calligraphy.woff2') format('woff2'),
        url('../fonts/calligraphy.woff') format('woff');
        /* url('../fonts/calligraphy.ttf') format('truetype'); */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* 优化字体加载性能 */
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

:root {
    --primary-color: #d74339;
    --primary-light: #d74339;
    --primary-dark: #d74339;
    --primary-gradient: linear-gradient(135deg, #d74339 0%, #d74339 100%);

    /* 辅助色 */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #888;
    --text-lighter: #999;
    --text-white: #fff;

    /* 背景色 */
    --bg-body: #f6f7f9;
    --bg-white: #fff;
    --bg-hover: #f8f9fa;
    --bg-border: #e8e8e8;

    /* 边框圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(216, 27, 96, 0.15);
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    padding-top: 0;
    /* 移除顶部预留空间,让轮播图置于底下 */
}

.container {
    max-width: 1440px;
    /* 内容宽度1040px + 左右边距各200px */
    margin: 0 auto;
    padding: 0 200px;
    /* 左右内边距各200px */
}

/* 顶部栏 */
.header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar {
    background-color: #fff;
    /* 纯白色背景，不透明 */
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name {
    font-weight: bold;
    color: var(--text-secondary);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info .username {
    font-weight: 500;
    color: var(--text-secondary);
}

.user-info .divider {
    color: rgba(102, 102, 102, 0.5);
}

.user-info .link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.user-info .link:hover {
    color: var(--primary-color);
}

/* 导航栏 */
.nav-bar {
    background-color: rgba(255, 255, 255, 0.65);
    /* 半透明白色背景 */
    backdrop-filter: blur(10px);
    /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);
    /* Safari兼容 */
    padding: 15px 0;
}

.nav-bar .container {
    display: flex;
    align-items: center;
    gap: 0;
    /* 移除默认间距，使用自定义margin */
}

.logo {
    width: 150px;
    /* logo区域固定宽度200px */
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.search-box {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    border: 2px solid #ddd;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-left: 40px;
    /* 与logo保持40px间距 */
    margin-right: 40px;
    /* 与首页导航保持40px间距 */
    position: relative;
    /* 使内部的绝对定位按钮相对于搜索框定位 */
    transition: border-color 0.3s ease;
}

/* 当输入框获得焦点时，边框变为主题色 */
.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-box input {
    flex: 1;
    padding: 8px 40px 8px 12px;
    /* 右侧留出空间给按钮 */
    border: none;
    outline: none;
    font-size: 14px;
}

/* 导航栏搜索按钮 */
.nav-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: transparent;
    /* 透明背景 */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* 图标默认为灰色 */
.nav-search-btn svg circle,
.nav-search-btn svg path {
    stroke: #999;
    transition: stroke 0.3s ease;
}

/* 当输入框获得焦点时，图标变为主题色 */
.search-box:focus-within .nav-search-btn svg circle,
.search-box:focus-within .nav-search-btn svg path {
    stroke: var(--primary-color);
}

/* 悬停时图标颜色变深 */
.nav-search-btn:hover svg circle,
.nav-search-btn:hover svg path {
    stroke: var(--primary-dark);
}

.search-btn {
    padding: 8px 20px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.main-nav {
    display: flex;
    gap: 20px;
    flex: 0 0 auto;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active {
    font-weight: 600;
}

/* 导航栏右侧按钮区域 */
.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    /* 自动推到右侧 */
}

.btn-login,
.btn-register {
    padding: 6px 20px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-login {
    color: var(--text-primary);
    background: #f0f0f0;
}

.btn-login:hover {
    background: #e0e0e0;
}

.btn-register {
    color: var(--text-white);
    background: var(--primary-gradient);
    font-weight: 500;
}

.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 主轮播图 */
.hero-banner {
    width: 100%;
    padding: 0;
    margin: 0;
    /* margin-top: -50px; */
    /* 负边距让轮播图向上移到导航栏下方 */
    padding-top: 120px;
    /* 补偿padding确保内容不被遮挡 */
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 530px;
    /* 默认高度 */
    background-color: #f5f5f5;
    /* 浅灰色背景,避免黑色背景 */
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item.active {
    opacity: 1;
    z-index: 2;
}

/* 轮播图图片自适应 - 填满容器无留白 */
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 填满容器,可能裁剪图片边缘 */
    object-position: center;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
}

/* 不同轮播图的背景色 */
.banner-item:nth-child(1) .placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-item:nth-child(2) .placeholder-image {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
}

.banner-item:nth-child(3) .placeholder-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 轮播图控制按钮 */
.banner-prev,
.banner-next,
.special-prev,
.special-next,
.banner-prev-small,
.banner-next-small {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.banner-prev:hover,
.banner-next:hover,
.special-prev:hover,
.special-next:hover,
.banner-prev-small:hover,
.banner-next-small:hover {
    background: var(--primary-gradient);
}

.banner-prev {
    left: 100px;
    /* 主轮播图左按钮向内移动100px */
}

.special-prev,
.banner-prev-small {
    left: 10px;
}

.banner-next {
    right: 100px;
    /* 主轮播图右按钮向内移动100px */
}

.special-next,
.banner-next-small {
    right: 10px;
}

/* 轮播图指示器 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    /* 提高层级，确保在备考专题之上 */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* 快捷导航菜单 */
.quick-nav {
    background-color: var(--bg-white);
    padding: 20px 0;
    /* margin: 20px 0; */
    box-shadow: var(--shadow-md);
}

.quick-nav-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 左侧圆形图标区 */
.quick-nav-left {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.nav-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 20px;
    transition: all 0.3s;
    min-width: 140px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid var(--bg-border);
}

.nav-circle-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.nav-daily .circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.nav-hotspot .circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6 0%, #1976d2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.nav-circle-item:hover .circle-icon {
    transform: scale(1.1) rotate(5deg);
}

.circle-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.circle-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 右侧菜单网格 */
.quick-nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 100%;
}

.nav-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 10px;
    transition: all 0.3s;
    color: var(--text-primary);
    background-color: var(--bg-white);
    border: 1px solid var(--bg-border);
}

.nav-grid-item:hover {
    background-color: var(--bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.nav-grid-item svg {
    /* margin-bottom: 2px; */
    color: var(--primary-color);
    transition: all 0.3s;
}

.nav-grid-item:hover svg {
    transform: scale(1.15);
}

.nav-grid-item span {
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
}

/* 快捷导航响应式设计 */
@media (max-width: 1440px) {
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .quick-nav-content {
        flex-direction: column;
    }

    .quick-nav-left {
        justify-content: center;
    }

    .nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-circle-item {
        min-width: 120px;
        padding: 15px;
    }
}

/* 通用区块样式 */
section {
    margin: 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 0px 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    /* box-shadow: var(--shadow-sm); */
    height: 56px;
}

.section-header h2 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    gap: 15px;
}

.tab {
    color: var(--text-white);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    padding: 4px 8px;
}

.tab:hover,
.tab.active {
    color: var(--text-white);
}

/* Tab底部底纹效果 */
.tab::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--text-white);
    transition: width 0.3s ease;
}

.tab:hover::after,
.tab.active::after {
    width: 100%;
}

/* 更多链接样式 */
.more-link {
    /* font-size: 12px; */
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 8px;
    margin-left: 10px;
    border-radius: var(--radius-sm);
    font-weight: normal;
    color: var(--text-lighter);
}

.more-link:hover {
    color: var(--primary-color);
}

/* Tab内容区域 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    transition: all 0.3s;
}

/* 圆点样式 */
.news-dot {
    color: #ddd;
    font-size: 16px;
    line-height: 1;
    transition: color 0.3s;
}

.news-list-item:hover .news-dot {
    color: var(--primary-color);
}

/* 纯图片展示的第一条样式 */
.news-list-item.hot.image-only {
    padding: 0;
    border: none;
    background-color: transparent;
    margin-bottom: 15px;
}

.news-list-item.hot.image-only .news-image-link {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-list-item.hot.image-only .news-image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-list-item.hot.image-only img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-list-item.hot.image-only .news-image-link:hover img {
    transform: scale(1.05);
}

/* 纯图片展示的第一条样式 - 120px高度 */
.news-list-item.hot.image-only-120 {
    padding: 0;
    border: none;
    background-color: transparent;
    margin-bottom: 15px;
    /* border-radius: 4px; */
}

.news-list-item.hot.image-only-120 .news-image-link {
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-list-item.hot.image-only-120 .news-image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-list-item.hot.image-only-120 img {
    width: 100%;
    height: 90px;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.3s ease;
}

.news-list-item.hot.image-only-120 .news-image-link:hover img {
    transform: scale(1.05);
}

/* 图文结合的第一条样式 */
.news-list-item.hot.with-image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 12px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    min-height: 110px;
}

.news-list-item.hot.with-image .news-thumbnail {
    width: 180px;
    /* min-width: 150px; */
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-list-item.hot.with-image .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-list-item.hot.with-image .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
}

.news-list-item.hot.with-image .news-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-list-item.hot.with-image .news-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-weight: 700 !important;
    line-height: 1.5;
    color: var(--text-primary) !important;
    font-size: 16px;
}

.news-list-item.hot.with-image .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-top: 0;
}

.news-list-item.hot.with-image .news-author {
    color: var(--primary-color);
    font-weight: 500;
}

.news-list-item.hot.with-image .news-date {
    font-size: 13px;
    color: var(--text-light);
}

.news-title {
    flex: 1;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title:hover {
    color: var(--primary-color);
}

/* 特色标题 - 加粗显示 */
.news-title.featured-title {
    font-weight: bold;
}

/* news-main 内的特色标题 - 多行省略 */
/* 使用更具体的选择器以覆盖 .news-list-item.hot.with-image .news-title 的样式 */
.news-list-item.hot.with-image .news-main .featured-title {
    /* 移除单行省略，允许多行显示 */
    white-space: normal;
    /* 多行省略（最多3行） */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* 设置行高以确保3行的高度一致 */
    line-height: 1.5;
}

.news-date {
    color: var(--text-lighter);
    font-size: 12px;
    flex-shrink: 0;
}

/* 备考专题轮播 */
.exam-special {
    margin-top: -40px;
    /* 向上偏移80px，遮挡主轮播图 */
    position: relative;
    z-index: 10;
    /* 确保在主轮播图上方 */
    opacity: 0.95;
    /* 整体透明度95%，更清晰 */
}

.exam-special .container {
    background-color: transparent;
}

.special-slider {
    position: relative;
    height: 120px;
    /* 固定高度140px，减少20px */
    overflow: visible;
    /* 改为visible，让阴影完整显示 */
    background-color: transparent;
    /* 改为透明 */
    border-radius: 0;
    box-shadow: none;
    display: flex;
    justify-content: center;
    /* 居中显示，两侧留白 */
    align-items: center;
}

.special-wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    /* 自适应宽度，最大1440px，小屏不超出 */
    height: 100%;
}

.special-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 自适应宽度，两列平分 */
    gap: 2rem;
    /* 图片间距2rem（32px） */
    padding: 0;
    /* 移除左右边距 */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.special-slide.active {
    opacity: 1;
    z-index: 2;
}

.special-item {
    position: relative;
    /* 添加相对定位，为遮罩层提供定位基准 */
    height: 100%;
    border-radius: 16px;
    /* 增大圆角 */
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* 增强阴影 */
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.special-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    /* 悬浮时阴影更强 */
}

/* 备考专题图片自适应 - 保持比例 */
.special-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例，裁剪多余部分 */
    object-position: center;
    display: block;
}

/* 备考专题悬浮遮罩层 */
.special-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(56, 178, 172, 0.75) 0%, rgba(45, 55, 72, 0.85) 100%);
    /* 青绿色到深灰色渐变，降低透明度 */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    /* 淡入淡出效果 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.special-item:hover .special-overlay {
    opacity: 1;
    /* 悬浮时显示遮罩层 */
}

.special-content {
    text-align: center;
    padding: 0 40px;
    width: 100%;
}

.special-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.special-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.special-btn:hover {
    background-color: #fff;
    color: #38b2ac;
    transform: translateX(5px);
}

.special-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

/* 青海 - 青绿色 */
.special-slide:nth-child(1) .special-item:nth-child(1) .special-image {
    background: linear-gradient(135deg, #56b4a3 0%, #3d9985 100%);
}

/* 浙江 - 天蓝色 */
.special-slide:nth-child(1) .special-item:nth-child(2) .special-image {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
}

/* 山东 - 深蓝色 */
.special-slide:nth-child(2) .special-item:nth-child(1) .special-image {
    background: linear-gradient(135deg, #4a90e2 0%, #2e5c8a 100%);
}

/* 江苏 - 紫蓝色 */
.special-slide:nth-child(2) .special-item:nth-child(2) .special-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 广东 - 橙红色 */
.special-slide:nth-child(3) .special-item:nth-child(1) .special-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 四川 - 绿色 */
.special-slide:nth-child(3) .special-item:nth-child(2) .special-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 备考专题轮播按钮显示控制 */
.special-prev,
.special-next {
    opacity: 0;
    left: 20px;
    /* 初始位置在图片内部 */
    transition: opacity 0.3s ease;
    /* 只过渡透明度 */
}

.special-next {
    left: auto;
    right: 20px;
    /* 初始位置在图片内部 */
}

.special-slider:hover .special-prev {
    opacity: 1;
    /* 悬浮时显示按钮 */
}

.special-slider:hover .special-next {
    opacity: 1;
    /* 悬浮时显示按钮 */
}

.placeholder-banner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #999;
    color: #fff;
    font-size: 20px;
}

/* 考区导航 */
/* .exam-navigation {
    margin: 10px 0;
} */

.exam-navigation .container {
    background-color: transparent;
}

.nav-content {
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: none;
    gap: 30px;
}

.nav-row:last-child {
    border-bottom: none;
}

.nav-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    width: 100px;
}

.nav-label .nav-icon {
    color: var(--primary-color);
    width: 32px;
    height: 32px;
}

.nav-label .nav-text {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.nav-divider {
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
    flex-shrink: 0;
    align-self: center;
}

.nav-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    /* 固定16列 */
    grid-template-rows: repeat(2, 1fr);
    /* 固定2行 */
    gap: 12px 8px;
    /* 行间距12px，列间距8px */
    align-items: center;
}

.nav-link {
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
    white-space: nowrap;
    text-align: center;
    /* 文字居中 */
    border-radius: 4px;
    /* 添加圆角 */
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
    /* 悬浮时添加背景色 */
}

.placeholder-content {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #999;
    color: #fff;
    font-size: 18px;
}

/* 三栏布局 */
/* .three-columns {
    margin: 10px 0;
} */

.three-columns .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: transparent;
}

.three-columns .column {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 三栏/四栏/两栏/题库布局 - 统一白色背景样式 */
.three-columns .section-header,
.four-columns .section-header,
.two-columns .section-header,
.course-center .section-header,
.bank-module .section-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-border);
    box-shadow: none;
    padding: 0px 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.three-columns .section-header h2,
.four-columns .section-header h2,
.two-columns .section-header h2,
.course-center .section-header h2,
.bank-module .section-header h2 {
    color: var(--text-primary);
    text-shadow: none;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    line-height: 1.5;
}

.three-columns .section-header .tabs,
.four-columns .section-header .tabs,
.two-columns .section-header .tabs,
.bank-module .section-header .tabs {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    /* 改为左对齐 */
}

.three-columns .section-header .tabs,
.mock-exam-column .section-header .tabs {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
    /* tab按钮居中 */
}

.three-columns .tab,
.four-columns .tab,
.two-columns .tab,
.course-center .tab,
.bank-module .tab {
    color: var(--text-secondary);
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
}

/* 选中状态的tab样式类似标题 */
.three-columns .tab.active,
.mock-exam-column .tab.active {
    font-size: 18px;
}

/* tab 选中状态 - 前两个字红色书法字体（和"遴选"一致） */
.three-columns .tab.active .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 28px;
}

/* tab 选中状态 - 后两个字正常字体（和"速递"一致） */
.three-columns .tab.active .title-text {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 20px;
}

/* .three-columns .tab span{
    display: inline-block;
    margin-top: 50%;
} */

/* tab 未选中状态 - 所有文字正常字体 */
.three-columns .tab .title-highlight,
.three-columns .tab .title-text {
    color: var(--text-secondary);
    font-weight: normal;
    font-size: 20px;
    display: inline-block;
    /* margin-top: 50%; */
}

/* mock-exam-column tab 选中状态 - 前两个字红色书法字体 */
.mock-exam-column .tab.active .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 28px;
}

/* mock-exam-column tab 选中状态 - 后两个字正常字体 */
.mock-exam-column .tab.active .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 20px;
}

/* mock-exam-column tab 未选中状态 - 所有文字正常字体 */
.mock-exam-column .tab .title-highlight,
.mock-exam-column .tab .title-text {
    color: var(--text-secondary);
    font-weight: normal;
    font-size: 16px;
    display: inline-block;
}


.three-columns .tab::after,
.four-columns .tab::after,
.two-columns .tab::after,
.course-center .tab::after,
.bank-module .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.three-columns .tab:hover,
.four-columns .tab:hover,
.two-columns .tab:hover,
.course-center .tab:hover,
.bank-module .tab:hover {
    color: var(--primary-color);
}

/* tab 选中状态样式 - 主题色 + 加粗 + 底部下划线 */
.course-center .tab.active,
.four-columns .tab.active,
.bank-module .tab.active,
.two-columns .tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 注意：tab.active 的样式已在上面单独定义，不需要在这里重复 */

.three-columns .tab:hover::after,
.three-columns .tab.active::after,
.four-columns .tab:hover::after,
.four-columns .tab.active::after,
.two-columns .tab:hover::after,
.two-columns .tab.active::after,
.course-center .tab:hover::after,
.course-center .tab.active::after,
.bank-module .tab:hover::after,
.bank-module .tab.active::after {
    width: 60%;
}

/* 内容区域统一样式 */
.three-columns .column-content,
.four-columns .column-content,
.two-columns .column-content,
.bank-module .column-content {
    padding: 15px;
    min-height: 300px;
}

/* 新闻列表项统一样式 */
.three-columns .news-list-item,
.four-columns .news-list-item,
.two-columns .news-list-item,
.bank-module .news-list-item {
    border-bottom: 1px solid #f0f0f0;
    background-color: transparent;
}

.three-columns .news-list-item:last-child,
.four-columns .news-list-item:last-child,
.two-columns .news-list-item:last-child,
.bank-module .news-list-item:last-child {
    border-bottom: none;
}

.three-columns .news-list-item:hover,
.four-columns .news-list-item:hover,
.two-columns .news-list-item:hover,
.bank-module .news-list-item:hover {
    background-color: var(--bg-hover);
}

.three-columns .news-list-item.hot .news-title,
.four-columns .news-list-item.hot .news-title,
.two-columns .news-list-item.hot .news-title,
.bank-module .news-list-item.hot .news-title {
    color: #ff9800;
    font-weight: 500;
}

/* 课程中心 */
/* .course-center {
    margin: 40px 0;
} */

.course-center .container {
    background-color: transparent;
}

.course-wrapper {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

/* 课程中心tab居左样式 */
.course-center .section-header .tabs {
    flex: 1;
    justify-content: flex-end;
    margin-left: 50px;
}

/* 课程中心主标题样式 - 与遴选题库一致 */
.course-center .section-header.main-title {
    background: transparent;
    border-bottom: none;
    padding: 10px 0px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.course-center .section-header.main-title h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    text-shadow: none;
    display: flex;
    align-items: center;
    /* gap: 10px; */
    letter-spacing: 1px;
}

.course-center .section-header.main-title .title-icon {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
    padding-right: 10px;
}

.course-center .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

.course-center .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 36px;
}

.course-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    /* 让左右两侧高度一致 */
}

/* 左侧广告区 - 占35%宽度 */
.course-ad-section {
    flex-shrink: 0;
    width: 35%;
    display: flex;
    flex-direction: column;
}

.course-ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 右侧课程区 - 自适应宽度，底部对齐 */
.course-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    /* 关键：允许 flex 子元素缩小 */
    justify-content: space-between;
    /* 让滚动区域推到底部 */
}

/* 课程卡片网格 - 3列自适应铺满 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 0;
    width: 100%;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 280px;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(93, 173, 226, 0.25);
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    color: #fff;
}

.course-badge.tag-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #d74339 100%);
}

.course-badge.tag-holy {
    background: linear-gradient(135deg, #ff6b6b 0%, #d74339 100%);
}

.course-badge.special {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.course-image {
    height: 180px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 渐变遮罩效果 */
.course-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
}

.course-image.hot-bg {
    background: linear-gradient(135deg, #c73333 0%, #e74c3c 100%);
}

.course-image.special-bg {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.course-title-overlay {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.course-stats {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 11px;
    opacity: 0.9;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 10px;
}

.course-subtitle {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.course-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    line-height: 1.5;
}

.course-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    color: #ff6b35;
    font-size: 20px;
    font-weight: bold;
}

.course-price {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

.buy-btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #d74339 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.buy-btn-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.buy-btn {
    padding: 6px 20px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* 滚动文字区域包装器 */
.course-marquee-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 0;
}

/* 资讯标签 */
.marquee-label {
    flex-shrink: 0;
    padding: 0px 20px;
    background: #ebebeb;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px 0 0 8px;
    position: relative;
    padding-left: 24px;
    height: 56px;
    display: flex;
    align-items: center;
}

/* 左侧红色竖线 */
.marquee-label::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #e74c3c;
    border-radius: 2px;
}

/* 滚动文字区域 */
.course-marquee {
    flex: 1;
    height: 56px;
    background: #ebebeb;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 0;
    /* 移除上边距，由 justify-content: space-between 控制位置 */
    position: relative;
    flex-shrink: 0;
    /* 防止被压缩 */
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    /* 鼠标悬浮时显示手型 */
}

/* 鼠标悬浮在具体文字上时暂停滚动 */
.marquee-item:hover~.marquee-content,
.marquee-item:hover {
    animation-play-state: paused;
}

/* 更好的方案：悬浮在任意文字上时暂停整个滚动 */
.course-marquee:has(.marquee-item:hover) .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 资讯中心 */
/* .news-center {
    margin: 10px 0;
} */

.news-center .container {
    background-color: transparent;
}

.news-center-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 15px;
}

/* .news-main {
    height: 400px;
} */

.placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #999;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.news-item {
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
}

/* 四栏布局（实际三栏） */
.four-columns {
    margin: 0 0 20px 0;
}

/* 题库大全标题区 */
.question-bank-title-section {
    background-color: var(--bg-body);
    padding: 10px 0 0 0;
    margin-bottom: 0px;
}

.question-bank-title-section .container {
    background-color: transparent;
}

.question-bank-title-section .section-header.main-title {
    background: transparent;
    border-bottom: none;
    padding: 10px 0px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.question-bank-title-section .section-header.main-title h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    text-shadow: none;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.question-bank-title-section .section-header.main-title .title-icon {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
    padding-right: 10px;
}

.question-bank-title-section .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

.question-bank-title-section .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 36px;
}

.four-columns .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: transparent;
}

.four-columns .column {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 四栏布局样式已简化，不再需要 merged-column、merged-content、merged-left、merged-right */

/* 轮播图2 */
/* .banner-section {
    margin: 10px 0;
} */

.banner-section .container {
    background-color: transparent;
}

.banner-slider-small {
    position: relative;
    height: 150px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.banner-wrapper-small {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-item-small {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-item-small.active {
    opacity: 1;
}

.banner-item-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-prev-small,
.banner-next-small {
    opacity: 0;
}

.banner-slider-small:hover .banner-prev-small,
.banner-slider-small:hover .banner-next-small {
    opacity: 1;
}

/* 题库专区 */
/* .question-bank-section {
    margin: 10px 0;
} */

.question-bank-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: transparent;
}

/* 题库专区响应式布局 */
@media (max-width: 1024px) {
    .question-bank-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .question-bank-section .container {
        grid-template-columns: 1fr;
    }
}

.bank-module {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.bank-module .section-header.main-title {
    background: transparent;
    border-bottom: none;
    /* padding: 10px 20px 0px 20px; */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bank-module .section-header.main-title h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    text-shadow: none;
    display: flex;
    align-items: center;
    /* gap: 10px; */
    letter-spacing: 1px;
    position: relative;
    /* padding-bottom: 12px;  给底线留出空间 */
}

/* 标题底线 - 红色 */
.question-bank-section .bank-module .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.question-bank-section .bank-module .section-header.main-title {
    border-bottom: 1px solid var(--bg-border);
    /* 灰色细线 */
}

.bank-module .section-header.main-title .title-icon {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
    padding-right: 10px;
}

/* 标题文字样式 - 黑色常规字体 */
.bank-module .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 20px;
}

/* 标题高亮样式 - 红色书法字体 */
.bank-module .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 32px;
    /* margin-left: -9px; */
}

/* 专栏题库特殊样式 */
/* .bank-module .tab {
    color: var(--text-light);
    font-size: 14px;
} */

.special-topics .section-header .tabs {
    gap: 15px;
    flex-wrap: nowrap;
}

/* 两栏布局 */
/* .two-columns {
    margin: 10px 0;
} */

.two-columns .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: transparent;
}

.two-columns .column-large {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 2024年精选全套教程 - 独立标题栏 */
.tutorial-title-section {
    margin: 10px 0 0 0;
}

.tutorial-title-section .container {
    background-color: transparent;
}

.tutorial-main-title {
    text-align: center;
    padding: 20px 0;
}

.tutorial-main-title h2 {
    color: var(--text-primary);
    font-size: 24px;
    margin: 0;
    font-weight: 700;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 标题装饰箭头 */
.tutorial-main-title .title-arrow {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 标题普通文字 */
.tutorial-main-title .title-text {
    color: var(--text-primary);
    font-size: 22px;
}

/* 标题高亮文字 - 红色加粗 */
.tutorial-main-title .title-highlight {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 26px;
}

/* 2024年精选全套教程内容区 */
.tutorial-section {
    margin: 0 0 10px 0;
}

.tutorial-section .container {
    background-color: transparent;
}

.tutorial-wrapper {
    /* background-color: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
}

/* 三栏布局：左侧宣传图、中间tab+内容、右侧下载列表 */
.tutorial-content {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 15px;
}

/* 左侧宣传图区域 */
.tutorial-left {
    /* background: linear-gradient(135deg, #ff7e67 0%, #ff6b57 100%); */
    margin: 0;
    /* margin-right: 20px; */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tutorial-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.promo-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    width: 100%;
}

/* 左侧宣传图样式 */
.promo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 装饰性标题 */
.promo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.promo-decor {
    font-size: 20px;
    color: #fff;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

.promo-main-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

/* 表单框 */
.promo-form-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    margin: 0px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* 限前50名标签 */
.form-limit-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 表单标题 */
.form-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 12px 0 15px;
    line-height: 1.6;
    text-align: center;
}

/* 输入框包裹器 */
.form-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
}

.form-input {
    width: 100%;
    padding: 10px 10px 10px 38px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(215, 67, 57, 0.1);
}

.form-input::placeholder {
    color: #bbb;
}

/* 提交按钮 */
.form-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff5252 0%, #f44336 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* 中间区域：嵌套布局（左侧tab + 右侧内容） */
.tutorial-middle {
    border-radius: 8px;
    overflow: hidden;
    /* margin: 0 15px; */
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* background-color: #f8f9fa; 悬停淡灰背景 */
}

.tutorial-middle .middle-layout {
    display: grid;
    grid-template-columns: 150px 1fr;
    height: 100%;
}

/* 中间左侧：tab按钮 - 无背景色,边框切换效果 */
.tutorial-middle .tutorial-tabs {
    /* background: #fff; 白色背景 */
    padding: 15px 0;
    /* margin: 15px 0; */
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e8e8e8;
}

.tutorial-middle .tutorial-tab {
    padding: 8px 20px;
    margin: 5px 10px;
    color: #666;
    /* 默认灰色文字 */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    text-align: center;
}

.tutorial-middle .tutorial-tab:hover {
    color: #e74c3c;
    background-color: #fff5f5;
    border-color: #e74c3c;
}

.tutorial-middle .tutorial-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #ff5252 0%, #f44336 100%);
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* 中间右侧：内容列表 */
.tutorial-middle .tutorial-content-area {
    padding: 25px;
    background: #fff;
    height: 440px;
    overflow: hidden;
    position: relative;
}

/* 滚动容器 */
.tutorial-middle .scroll-container {
    height: 100%;
    overflow: hidden;
}

/* 滚动内容 - 应用动画 */
.tutorial-middle .scroll-content {
    animation: scrollUp 30s linear infinite;
}

/* 向上滚动动画 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* 鼠标悬停时暂停滚动 */
.tutorial-middle .scroll-container:hover .scroll-content {
    animation-play-state: paused;
}

.tutorial-middle .news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tutorial-middle .news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.tutorial-middle .news-list-item:last-child {
    border-bottom: none;
}

.tutorial-middle .news-list-item:hover {
    background-color: #f8f9fa;
    padding-left: 5px;
}

.tutorial-middle .news-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tutorial-middle .news-title:hover {
    color: #5dade2;
}

.tutorial-middle .news-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 资料下载列表样式 */
.resource-download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: #f5f5f5;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.resource-item:hover {
    background-color: #eeeeee;
}

.doc-icon {
    font-size: 20px;
    color: #e74c3c;
    flex-shrink: 0;
    line-height: 1;
}

.resource-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.doc-type {
    color: #e74c3c;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
    background-color: #fff3e0;
    padding: 2px 8px;
    border-radius: 3px;
}

.doc-title {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.resource-item:hover .doc-title {
    color: var(--primary-color);
}

.download-icon {
    color: #e74c3c;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
}

.download-icon:hover {
    color: #c0392b;
    background-color: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

/* 右侧下载列表区域 */
.tutorial-right {
    background: #f8f9fa;
    padding: 15px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

/* 热门下载榜标题栏 */
.hot-download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.hot-download-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 热门下载列表 */
.hot-download-list {
    padding-right: 5px;
}

/* 下载项 */
.hot-download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-download-item:hover {
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    transform: translateX(5px);
}

/* 排名徽章 */
.rank-badge {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    flex-shrink: 0;
    background: #e0e0e0;
    color: #666;
}

/* 前三名特殊颜色 */
.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #fff;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: #fff;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8722c 100%);
    color: #fff;
}

/* 下载信息 */
.hot-download-info {
    flex: 1;
    min-width: 0;
}

.hot-download-info h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-count {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* 保留旧样式以防其他地方使用 */
.tutorial-right .download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tutorial-right .download-item {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.tutorial-right .download-item:hover {
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.15);
    transform: translateY(-2px);
}

.tutorial-right .download-info h4 {
    color: #333;
    font-size: 14px;
    margin: 0 0 6px 0;
    font-weight: 600;
    line-height: 1.4;
}

.tutorial-right .download-meta {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.tutorial-right .download-meta span {
    color: #5dade2;
    font-weight: 500;
}

.tutorial-right .download-btn {
    width: 100%;
    padding: 7px 14px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tutorial-right .download-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.tutorial-right .download-btn:active {
    transform: translateY(0);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .tutorial-content {
        grid-template-columns: 240px 1fr 280px;
    }
}

@media (max-width: 992px) {
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tutorial-left,
    .tutorial-middle,
    .tutorial-right {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .tutorial-right {
        border-bottom: none;
    }
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #fff;
    margin-top: 50px;
    padding-top: 50px;
}

/* .footer-content {
    display: grid;
    grid-template-columns: 280px auto 1fr auto 320px;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} */

/* 页脚分隔线 */
.footer-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

/* 左侧品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.footer-slogan {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.footer-contact p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact i {
    margin-top: 3px;
    font-size: 16px;
}

/* 中间链接区域 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column ul li {
    margin: 0;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* 右侧社交和二维码区域 */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-icons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icons img {
    width: 35px;
    height: 35px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #bbb;
    transition: all 0.3s ease;
}

.social-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-item span {
    font-size: 12px;
}

.social-item:hover {
    color: var(--primary-color);
}

.social-item:hover i {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-qrcodes {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    background: #fff;
}

.qrcode-item p {
    margin: 0;
    font-size: 13px;
    color: #bbb;
}

/* 底部版权信息 */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* 图标占位符样式(实际使用时替换为真实图标) */
.icon-phone::before {
    content: "📞";
}

.icon-location::before {
    content: "📍";
}

.icon-app::before {
    content: "📱";
}

.icon-xiaohongshu::before {
    content: "📕";
}

.icon-weibo::before {
    content: "🌐";
}

.icon-wechat::before {
    content: "💬";
}

.icon-douyin::before {
    content: "🎵";
}

/* 模考大赛卡片样式 */
.mock-exam-column {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mock-exam-column .section-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    height: 56px;
    /* 统一最小高度,与课程中心一致 */
}

.mock-exam-column .column-content {
    padding: 15px;
}

.exam-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.exam-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.exam-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 500;
}

.exam-badge.calendar {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.exam-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-right: 60px;
    line-height: 1.5;
}

.exam-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    color: #666;
    min-width: 85px;
    flex-shrink: 0;
}

.info-item .value {
    color: #333;
    font-weight: 500;
}

.exam-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 模考大赛样式继承自统一白色背景样式 */

/* 响应式设计 */
@media (max-width: 1600px) {
    .container {
        max-width: calc(100% - 200px);
        /* 左右各留100px */
        padding: 0 50px;
    }

    /* 轮播图响应式 */
    .banner-slider {
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: calc(100% - 80px);
        /* 左右各留40px */
        padding: 0 40px;
    }

    .three-columns .container,
    .four-columns .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutorial-content {
        grid-template-columns: 150px 1fr;
    }

    /* 轮播图响应式 */
    .banner-slider {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: calc(100% - 30px);
        /* 左右各留15px */
        padding: 0 15px;
    }

    .nav-bar .container {
        flex-wrap: wrap;
    }

    .main-nav {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .three-columns .container,
    .four-columns .container,
    .two-columns .container,
    .news-layout {
        grid-template-columns: 1fr;
    }

    .tutorial-content {
        grid-template-columns: 1fr;
    }

    .tutorial-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }

    .tutorial-tab {
        white-space: nowrap;
        border-left: none;
        border-bottom: 1px solid transparent;
    }

    .tutorial-tab:hover,
    .tutorial-tab.active {
        border-left: none;
        border-bottom-color: #fff;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-divider {
        display: none;
    }

    .footer-brand,
    .footer-social {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-column {
        text-align: left;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-qrcodes {
        justify-content: center;
    }

    /* 轮播图响应式 */
    .banner-slider {
        height: 280px;
    }
}

@media (max-width: 480px) {

    /* 小屏幕手机 */
    .banner-slider {
        height: 220px;
    }
}

/* 平板响应式 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 30px;
    }

    .footer-divider {
        display: none;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-social {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ==================== 教师天团 ==================== */
.teacher-team-section {
    background: #ffffff;
    padding: 40px 0 340px;
    position: relative;
    overflow: hidden;
}

.teacher-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

/* 标题区域 - 与热点周讲保持一致 */
.teacher-team-section .section-header.main-title {
    text-align: center !important;
    margin-bottom: 50px;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
    height: auto !important;
    justify-content: center !important;
}

.teacher-team-section .section-header.main-title h2 {
    font-size: 32px;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
    text-align: center;
}

/* 移除h2的伪元素底线 */
.teacher-team-section .section-header.main-title h2::after {
    display: none !important;
}

/* 标题样式 - "中彤"红色书法字体 */
.teacher-team-section .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 46px;
}

/* 标题样式 - "智库"黑色常规字体 */
.teacher-team-section .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 36px;
}

/* 副标题 - 在大标题下方，居中显示 */
.teacher-team-section .section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin: 8px auto 0 auto;
    padding: 0 0 15px 0;
    position: relative;
    display: inline-block;
    text-align: center;
}

/* 红色底线 - 在副标题下方，与文字等宽 */
.teacher-team-section .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 3px;
    background: var(--primary-color);
}

/* 确保副标题容器居中 */
.teacher-team-section .section-header.main-title {
    text-align: center !important;
    margin-bottom: 50px;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    height: auto !important;
    justify-content: center !important;
}

.teacher-team-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.team-main-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 5px;
}

.team-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

/* 双层容器 */
.teacher-dual-layer {
    position: relative;
    max-width: 1650px;
    margin: 0 auto;
}

/* ========== 下层：大图轮播 ========== */
.teacher-big-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.big-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.big-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.big-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.big-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 教师信息叠加层（在图片顶部） */
.big-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 40px;
}

.teacher-info-card {
    max-width: 700px;
    margin-top: 50px;
    margin-left: 100px;
    color: #fff;
}

.teacher-info-card h3 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.teacher-info-card .title {
    font-size: 18px;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.teacher-info-card .experience {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 3px solid var(--primary-color);
}

.teacher-info-card .desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* 大图切换按钮 */
.big-slider-prev,
.big-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.big-slider-prev {
    left: 20px;
}

.big-slider-next {
    right: 20px;
}

.big-slider-prev:hover,
.big-slider-next:hover {
    background: rgba(215, 67, 57, 0.9);
    border-color: rgba(215, 67, 57, 1);
    transform: translateY(-50%) scale(1.1);
}

/* ========== 第三层：小卡片网格（在大图下方，向上偏移） ========== */
.teacher-small-cards {
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 200px);
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    z-index: 20;
}

.small-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
    /* opacity: 0.7; */
    filter: brightness(0.85) saturate(0.8);
    transform: scale(0.95);
}

.small-card:hover {
    transform: scale(1) translateY(0px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    /* opacity: 0.9; */
    filter: brightness(0.95) saturate(0.9);
}

.small-card.active {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(215, 67, 57, 0.4);
    border: 2px solid var(--primary-color);
}

.small-card-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.small-card-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.small-card:hover .small-card-image img {
    transform: scale(1.1);
}

.small-card-info {
    padding: 20px;
    background: #fff;
}

.small-card-info h4 {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.small-card-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.consult-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 67, 57, 0.4);
}

.small-card.active .consult-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(215, 67, 57, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(215, 67, 57, 0);
    }
}

/* 响应式设计 - 大屏幕 */
@media (max-width: 1440px) {
    .teacher-big-slider {
        height: 450px;
    }

    .teacher-small-cards {
        width: calc(100% - 150px);
    }

    .small-card-image {
        height: 160px;
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .teacher-team-section {
        padding: 40px 0 200px;
    }

    .team-main-title {
        font-size: 36px;
    }

    .team-subtitle {
        font-size: 16px;
    }

    .teacher-big-slider {
        height: 400px;
    }

    .teacher-small-cards {
        bottom: -60px;
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 100px);
        gap: 15px;
    }

    .small-card-image {
        height: 140px;
    }

    .teacher-info-card h3 {
        font-size: 28px;
    }

    .big-slider-prev,
    .big-slider-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .big-slider-prev {
        left: 15px;
    }

    .big-slider-next {
        right: 15px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .teacher-team-section {
        padding: 30px 0 60px;
    }

    .team-main-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .team-subtitle {
        font-size: 14px;
    }

    .teacher-big-slider {
        height: 350px;
    }

    .teacher-small-cards {
        position: relative;
        top: 0;
        margin-top: 20px;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 15px;
    }

    .small-card-image {
        height: 160px;
    }

    .teacher-info-card {
        max-width: 100%;
    }

    .teacher-info-card h3 {
        font-size: 24px;
    }

    .teacher-info-card .title {
        font-size: 16px;
    }

    .teacher-info-card .experience {
        font-size: 14px;
    }

    .teacher-info-card .desc {
        font-size: 13px;
    }

    .big-slider-prev,
    .big-slider-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .big-slider-prev {
        left: 10px;
    }

    .big-slider-next {
        right: 10px;
    }

    .big-slide-overlay {
        padding: 20px;
    }
}

/* ==================== 考点速递专区 ==================== */
.exam-points-section {
    /* margin: 10px 0; */
    background-color: var(--bg-body);
}

.exam-points-section .container {
    background-color: transparent;
}

/* 行业遴选样式 */
.industry-selection-section {
    /* margin: 10px 0; */
    background-color: var(--bg-body);
    margin-top: 40px;
    /* height: 1536px; */
}

.industry-selection-section .container {
    background-color: transparent;
}

/* 行业遴选标题样式 - 与面试专区一致 */
.exam-point-merged .section-header.main-title {
    background: transparent;
    border-bottom: 1px solid var(--bg-border);
    /* padding: 10px 20px 0px 20px; */
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.exam-point-merged .section-header.main-title h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    text-shadow: none;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    /* padding-bottom: 5px; */
}

/* 大标题底线 - 60%居中 */
.exam-point-merged .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 标题文字样式 - 黑色常规字体 */
.exam-point-merged .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

/* 标题高亮样式 - 红色书法字体 */
.exam-point-merged .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 36px;
}

/* ==================== 面试专区 - 独立卡片布局 ==================== */

/* 面试专区容器 - Grid 三等分布局（与题库专区保持一致） */
.interview-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 三等分 */
    gap: 20px;
    background-color: transparent;
}

/* 独立卡片样式 - 保持等高 */
.interview-section .independent-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* 垂直布局，确保内容撑满 */
}

/* 卡片内容区域自动填充剩余空间 */
.interview-section .independent-card .column-content {
    flex: 1;
    /* 自动填充，保持等高 */
}

/* 独立卡片标题样式 */
.interview-section .independent-card .section-header.main-title h2 {
    position: relative;
}

/* 独立卡片标题底线（红色） */
.interview-section .independent-card .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 面试专区 - 考点速递标题样式（旧样式，保留兼容） */
.interview-section .merged-left .section-header.main-title h2 {
    position: relative;
    /* padding-bottom: 12px; */
}

/* 面试专区 - 考点速递标题底线（红色） */
.interview-section .merged-left .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 面试专区 - 考情分析标题底线（红色） */
.interview-section .merged-right .section-header.main-title h2 {
    position: relative;
    /* padding-bottom: 12px; */
}

.interview-section .merged-right .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


/* 标题图标样式 */
.exam-point-merged .section-header.main-title .title-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    padding-right: 10px;
}

/* Tab样式 */
.exam-point-merged .section-header.main-title .tabs {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: 30px;
}

.exam-points-section .exam-point-merged .section-header.main-title .tabs {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: 10px;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tabs {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* margin-left: 30px; */
}


.exam-point-merged .section-header.main-title .tab {
    color: #fff;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    background: #f4f4f4;
    border-radius: 4px;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tab {
    color: var(--text-secondary);
    padding: 3px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    background: #f4f4f4;
    border-radius: 16px;
}

/* Tab底部红线基础样式 - 隐藏（改用背景色方案） */
.exam-point-merged .section-header.main-title .tab::after {
    display: none;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tab::after {
    display: none;
}

.exam-points-section .exam-point-merged .section-header.main-title .tab::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.exam-point-merged .section-header.main-title .tab:hover {
    background: var(--primary-color);
    color: #fff;
}

/* hover和active状态时背景变主题色 */
.exam-point-merged .section-header.main-title .tab:hover::after,
.exam-point-merged .section-header.main-title .tab.active::after {
    display: none;
}

.exam-points-section .exam-point-merged .section-header.main-title .tab:hover::after,
.exam-points-section .exam-point-merged .section-header.main-title .tab.active::after {
    width: 60%;
}

.exam-point-merged .section-header.main-title .tab.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tab.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: normal;
}

/* 更多链接 */
/* .exam-point-merged .section-header.main-title .more-link {
    color: var(--text-lighter);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
} */

/* .exam-points-section .exam-point-merged .section-header.main-title .more-link {
    margin-left: 0px;

}

.exam-point-merged .section-header.main-title .more-link:hover {
    color: var(--primary-color);
} */

.exam-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 合并容器样式 */
.exam-point-merged {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 三栏内容布局 */
.merged-three-content {
    display: flex;
    gap: 0;
    align-items: stretch;
}

/* 两栏内容布局 */
.merged-two-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* 单栏内容布局 */
.merged-single-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* 调整内部栏目样式 */
.exam-point-merged .exam-point-column {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    /* border-right: 1px solid var(--bg-border); */
}

/* 调整内部栏目样式 */
.industry-selection-section .exam-point-merged .exam-point-column {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    /* border-right: 1px solid var(--bg-border); */
}

/* 最后一个栏目不需要右边框 */
/* .exam-point-merged .exam-point-column:last-child {
    border-right: none;
} */

.exam-point-column {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 标题样式 */
.exam-point-column .section-header {
    background: var(--bg-white);
    /* border-bottom: 0.5px solid var(--bg-border); */
    padding: 0px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.exam-points-section .exam-point-column .section-header {
    gap: 10px;
}


.exam-point-column .section-header h2 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    flex-shrink: 0;
}

/* 主标题样式 - 确保tabs右对齐 */
.exam-point-column .section-header.main-title {
    justify-content: space-between;
}

.exam-point-column .section-header.main-title h2 {
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 0px;
}

/* 大标题底线 - 60%居中 */
.exam-point-column .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 更多链接 */
/* .exam-point-column .more-link {
    color: var(--text-lighter);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.exam-point-column .more-link:hover {
    color: var(--primary-color);
} */

/* Tab样式 */
.exam-point-column .tabs {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    /* tab按钮向右对齐 */
}

.exam-point-column .tab {
    color: var(--text-secondary);
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Tab底部红线基础样式 - 初始宽度为0 */
.exam-point-column .tab::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.exam-point-column .tab:hover {
    color: var(--primary-color);
}

/* hover和active状态时底部红线展开 */
.exam-point-column .tab:hover::after,
.exam-point-column .tab.active::after {
    width: 60%;
}

.exam-point-column .tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 内容区域 */
.exam-point-column .column-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 特色项（带图片） */
.featured-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-border);
}

.featured-image {
    width: 140px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.featured-info h4 {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-date {
    color: var(--text-lighter);
    font-size: 12px;
}

/* 新闻列表 */
.exam-point-column .news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.exam-point-column .news-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.exam-point-column .news-list-item:last-child {
    border-bottom: none;
}

.exam-point-column .news-list-item:hover {
    background-color: var(--bg-hover);
    padding-left: 5px;
}

.exam-point-column .news-dot {
    color: #ddd;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.exam-point-column .news-list-item:hover .news-dot {
    color: var(--primary-color);
}

.exam-point-column .news-title {
    flex: 1;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exam-point-column .news-title:hover {
    color: var(--primary-color);
}

.exam-point-column .news-date {
    color: var(--text-lighter);
    font-size: 12px;
    flex-shrink: 0;
}

/* 栏目合并样式 - 已废弃，使用新的 merged-three-content 结构 */
/*
.exam-point-column:nth-child(1),
.exam-point-column:nth-child(2),
.exam-point-column:nth-child(3) {
    border-right: none;
    border-radius: 0;
}

.exam-point-column:nth-child(1) {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.exam-point-column:nth-child(3) {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-right: 1px solid var(--bg-border);
}

.exam-point-column:nth-child(4),
.exam-point-column:nth-child(5),
.exam-point-column:nth-child(6) {
    border-right: none;
    border-radius: 0;
}

.exam-point-column:nth-child(4) {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.exam-point-column:nth-child(6) {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-right: 1px solid var(--bg-border);
}

.exam-point-column:nth-child(2)::after,
.exam-point-column:nth-child(5)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--bg-border);
}
*/

.exam-point-column {
    position: relative;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .merged-three-content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .merged-two-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .merged-three-content {
        grid-template-columns: 1fr;
    }

    .merged-two-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* .exam-point-merged .exam-point-column {
        border-right: none;
        border-bottom: 1px solid var(--bg-border);
    }

    .exam-point-merged .exam-point-column:last-child {
        border-bottom: none;
    } */
}

@media (max-width: 768px) {
    .exam-points-grid {
        grid-template-columns: 1fr;
    }

    .exam-point-column .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .exam-point-column .tabs {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .exam-point-column .tab.active::after {
        bottom: -10px;
    }

    .featured-item {
        flex-direction: column;
    }

    .featured-image {
        width: 100%;
        height: 150px;
    }
}

/* ==================== 遴选速递模块样式 ==================== */

/* 遴选速递标题样式 - 参考战绩模块 */
.three-columns .section-header.main-title h2 {
    display: inline-flex;
    align-items: center;
    font-size: 24px;
    line-height: 1;
    position: relative;
    /* padding-bottom: 20px; */
    padding: 10px 0px 10px 0px;
}

/* 标题底线 - 主题色 */
.three-columns .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 标题图标 - 双竖线 */
.three-columns .section-header.main-title .title-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    margin-right: 8px;
}

/* 标题文字样式 - 黑色常规字体 */
.three-columns .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

/* 标题高亮样式 - 红色书法字体 */
.three-columns .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 36px;
    /* margin-left: -9px; */
}

/* 标题高亮样式 - "遴选"红色（保留兼容性） */
.three-columns .section-header h2 .title-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== 四栏内容区主标题样式（历年考题、预测题库） ==================== */

/* 四栏标题样式 - 与遴选速递保持一致 */
.four-columns .section-header.main-title h2 {
    display: inline-flex;
    align-items: center;
    font-size: 24px;
    line-height: 1;
    position: relative;
    padding: 10px 0px 10px 0px;
}

/* 标题底线 - 主题色 */
.four-columns .section-header.main-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 标题图标 - 双竖线 */
.four-columns .section-header.main-title .title-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    margin-right: 8px;
}

/* 标题文字样式 - 黑色常规字体 */
.four-columns .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

/* 标题高亮样式 - 红色书法字体 */
.four-columns .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 36px;
}

/* 标签导航容器 */
.three-columns .section-header .header-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

/* 标签导航项 */
.three-columns .section-header .header-tab {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.three-columns .section-header .header-tab:hover {
    color: var(--primary-color);
}

.three-columns .section-header .header-tab.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* 彩色标签样式 */
.news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 20px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
}

.news-tag.tag-recommend {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
}

.news-tag.tag-holy {
    background: linear-gradient(135deg, #ff6b6b 0%, #d74339 100%);
}

.news-tag.tag-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #d74339 100%);
}

/* 分类标签 */
.news-category {
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
}

/* 竖线分隔符 */
.news-divider {
    color: #ddd;
    font-size: 14px;
    flex-shrink: 0;
}

/* 列表项布局调整 */
.three-columns .news-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
}

/* 标题样式 */
.three-columns .news-list-item .news-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 悬浮效果 - 整行字体加粗（包括标签） */
.three-columns .news-list-item:hover .news-tag,
.three-columns .news-list-item:hover .news-category,
.three-columns .news-list-item:hover .news-divider,
.three-columns .news-list-item:hover .news-title,
.three-columns .news-list-item:hover .news-date {
    font-weight: 600;
}

/* 悬浮效果 - 整行变成主题色 */
.three-columns .news-list-item:hover .news-tag {
    opacity: 0.9;
}

.three-columns .news-list-item:hover .news-category,
.three-columns .news-list-item:hover .news-divider,
.three-columns .news-list-item:hover .news-title,
.three-columns .news-list-item:hover .news-date {
    color: var(--primary-color);
}

/* 日期样式 */
.three-columns .news-list-item .news-date {
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 13px;
}

/* ==================== 政策理论 Section ==================== */
.policy-theory-section {
    /* padding: 40px 0; */
    background: var(--bg-body);
}

.policy-theory-section .section-header {
    margin-bottom: 20px;
}

/* 精选专题轮播 - 3D卡片式 */
.policy-featured-slider-3d {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.policy-3d-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 150px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.policy-3d-wrapper {
    position: relative;
    width: 100%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-3d-slide {
    position: absolute;
    width: 800px;
    height: 260px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* 左侧卡片 */
.policy-3d-slide[data-position="left"] {
    left: 18%;
    transform: translateX(-50%) scale(0.75) rotateY(15deg);
    opacity: 0.8;
    filter: brightness(0.2);
    z-index: 1;
}

/* 中间卡片（激活状态） */
.policy-3d-slide[data-position="center"] {
    left: 50%;
    transform: translateX(-50%) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 3;
}

/* 右侧卡片 */
.policy-3d-slide[data-position="right"] {
    left: 82%;
    transform: translateX(-50%) scale(0.75) rotateY(-15deg);
    opacity: 0.8;
    filter: brightness(0.2);
    z-index: 1;
}

/* 隐藏的卡片 */
.policy-3d-slide[data-position="hidden"] {
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.policy-3d-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.policy-3d-slide[data-position="center"] .policy-3d-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.policy-3d-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 统计信息 */
.policy-3d-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 24px;
    z-index: 2;
}

.policy-3d-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.policy-3d-stats .stat-item svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* 控制按钮 */
.policy-3d-prev,
.policy-3d-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    /* 默认隐藏 */
}

.policy-3d-prev {
    left: 40px;
}

.policy-3d-next {
    right: 40px;
}

.policy-3d-prev:hover,
.policy-3d-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* 容器悬浮时显示按钮 */
.policy-3d-container:hover .policy-3d-prev,
.policy-3d-container:hover .policy-3d-next {
    opacity: 1;
    /* 悬浮时显示 */
}

/* 底部标题 */
.policy-3d-title {
    text-align: center;
    margin-top: 10px;
}

.policy-3d-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

/* 专题卡片网格 */
.policy-topics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1440px;
    margin: 20px auto 0;
    padding: 0px 40px 40px 40px;
}

.policy-topic-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 110px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.policy-topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.topic-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.topic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.policy-topic-card:hover .topic-card-image img {
    transform: scale(1.1);
}

/* 渐变遮罩 - 增强底部遮罩效果 */
.topic-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 100%);
    pointer-events: none;
}

.topic-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
}

.topic-card-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.topic-card-stats {
    display: flex;
    gap: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.95);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.stat-item svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .policy-topics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .policy-featured-slider {
        height: 300px;
    }

    .policy-slide-content h3 {
        font-size: 24px;
    }

    .policy-slide-content p {
        font-size: 14px;
    }

    .policy-topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .policy-prev,
    .policy-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .policy-topics-grid {
        grid-template-columns: 1fr;
    }

    .policy-featured-slider {
        height: 250px;
    }
}

/* ========== 遴选速递 - 图文结合样式 ========== */
/* 第一条：图文叠加（图片覆盖整个区域，文字叠加在图片上） */
.news-featured-item {
    position: relative;
    /* 相对定位，作为绝对定位的参考容器 */
    height: 190px;
    /* 设置容器高度 */
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    /* 浅灰色背景，图片未覆盖区域会显示 */
    transition: box-shadow 0.3s;
}

.news-featured-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image-link {
    position: absolute;
    /* 绝对定位，覆盖整个容器 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 铺满容器，可拉伸裁剪 */
    transition: transform 0.3s;
}

.news-featured-item:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    /* 绝对定位，叠加在图片上 */
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.4);
    /* 白色半透明遮罩 */
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    /* 确保在图片上方 */
    overflow: hidden;
}

/* 固定的喇叭图标 */
.featured-icon {
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 滚动文字容器 */
.featured-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.featured-scroll-text {
    display: flex;
    gap: 100px;
    animation: scroll-marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 鼠标悬停时暂停滚动 */
.featured-scroll-wrapper:hover .featured-scroll-text {
    animation-play-state: paused;
}

.featured-news-title {
    color: #ffffff;
    /* 白色文字 */
    text-decoration: none;
    font-size: 14px;
    /* font-weight: 600; */
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
    /* 添加文字阴影，增强可读性 */
}

.featured-news-title:hover {
    text-decoration: underline;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    /* 白色半透明 */
}

.featured-author {
    color: rgba(255, 255, 255, 0.95);
    /* 白色，稍微透明 */
}

.featured-date {
    color: rgba(255, 255, 255, 0.8);
    /* 白色，更透明 */
}

/* 遴选速递 - 标题栏背景渐变色（从下到上：白色到淡主题色） */
.three-columns .column:first-child .section-header {
    background: linear-gradient(to top, #ffffff 0%, #ffeaa7 100%);
}

/* ==================== 热点周讲模块 ==================== */
.hot-topics-section {
    background: #fff;
    padding: 40px 0;
    margin: 0;
}

/* 标题区域 - 使用更高优先级的选择器 */
.hot-topics-section .section-header.main-title {
    text-align: center !important;
    margin-bottom: 50px;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
    height: auto !important;
    justify-content: center !important;
    border-radius: 8px;
}

.hot-topics-section .section-header.main-title h2 {
    font-size: 32px;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border: none !important;
    text-align: center;
}

/* 移除h2的伪元素底线 */
.hot-topics-section .section-header.main-title h2::after {
    display: none !important;
}

/* 标题样式 - "热点"红色书法字体 */
.hot-topics-section .section-header.main-title .title-highlight {
    color: var(--primary-color);
    font-family: 'CustomCalligraphy', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
    font-weight: bold;
    font-size: 38px;
}

/* 标题样式 - "周讲"黑色常规字体 */
.hot-topics-section .section-header.main-title .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 32px;
}

/* 英文副标题 - 在大标题下方，居中显示 */
.hot-topics-section .section-subtitle {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin: 8px auto 0 auto;
    padding: 0 0 15px 0;
    position: relative;
    display: block;
    text-align: center;
}

/* 红色底线 - 在英文副标题下方，居中 */
.hot-topics-section .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 卡片网格布局 */
.hot-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* 单个卡片 */
.hot-topic-card {
    display: flex;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-topic-card:hover {
    box-shadow: 0 4px 16px rgba(215, 67, 57, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

/* 卡片图片区域 */
.hot-topic-card .card-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.hot-topic-card .card-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 卡片内容区域 */
.hot-topic-card .card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 卡片标题 */
.hot-topic-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.hot-topic-card:hover .card-title {
    color: var(--primary-color);
}

/* 卡片描述 */
.hot-topic-card .card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部按钮区域 */
.hot-topics-footer {
    text-align: center;
    margin-top: 20px;
}

.hot-topics-footer .view-all-btn {
    display: inline-block;
    padding: 12px 48px;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(215, 67, 57, 0.2);
}

.hot-topics-footer .view-all-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(215, 67, 57, 0.3);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hot-topics-grid {
        gap: 20px;
    }

    .hot-topic-card .card-image {
        width: 180px;
        height: 135px;
    }

    .hot-topic-card .card-content {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .hot-topics-section {
        padding: 40px 0;
    }

    .hot-topics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hot-topic-card {
        flex-direction: column;
    }

    .hot-topic-card .card-image {
        width: 100%;
        height: 200px;
    }

    .hot-topics-section .section-header h2 {
        font-size: 28px;
    }

    .hot-topics-section .section-header.main-title .title-highlight,
    .hot-topics-section .section-header.main-title .title-text {
        font-size: 28px;
    }
}

/* ==================== 学习工具下拉面板样式 ==================== */

/* 学习工具包裹容器 */
.learning-tools-wrapper {
    position: relative;
    display: inline-block;
}

/* 学习工具按钮样式 */
.site-name {
    font-weight: bold;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
}

.site-name:hover {
    color: var(--primary-color);
}

/* 下拉面板容器 */
.learning-tools-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 580px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* 小三角指示器 */
.learning-tools-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

/* 激活状态 */
.learning-tools-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 二维码网格 */
.learning-tools-dropdown .qr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* 二维码项 */
.learning-tools-dropdown .qr-item {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--bg-border);
}

.learning-tools-dropdown .qr-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(215, 67, 57, 0.12);
    border-color: var(--primary-light);
}

/* 二维码图片容器 */
.learning-tools-dropdown .qr-image-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    padding: 8px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-tools-dropdown .qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 二维码标题 */
.learning-tools-dropdown .qr-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* 二维码描述 */
.learning-tools-dropdown .qr-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* 二维码操作提示 */
.learning-tools-dropdown .qr-action {
    font-size: 11px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .learning-tools-dropdown {
        width: 90vw;
        max-width: 400px;
        left: 0;
        transform: translateY(-10px);
    }

    .learning-tools-dropdown.active {
        transform: translateY(0);
    }

    .learning-tools-dropdown .qr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .learning-tools-dropdown .qr-image-wrapper {
        width: 80px;
        height: 80px;
    }

    .learning-tools-dropdown .qr-title {
        font-size: 12px;
    }

    .learning-tools-dropdown .qr-desc,
    .learning-tools-dropdown .qr-action {
        font-size: 10px;
    }
}

/* ==================== 悬浮侧边栏公众号二维码样式 ==================== */

/* 公众号项相对定位 */
.wechat-qr-item {
    position: relative;
}

/* 二维码弹出框 */
.wechat-qr-popup {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 200px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* 小三角指示器 */
.wechat-qr-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.05));
}

/* 鼠标悬浮显示 */
.wechat-qr-item:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 二维码内容 */
.qr-popup-content {
    text-align: center;
}

/* 二维码图片 */
.qr-popup-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 12px;
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 二维码标题 */
.qr-popup-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

/* 二维码描述 */
.qr-popup-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

/* 二维码操作提示 */
.qr-popup-action {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wechat-qr-popup {
        width: 180px;
        padding: 12px;
    }

    .qr-popup-image {
        width: 130px;
        height: 130px;
    }

    .qr-popup-title {
        font-size: 13px;
    }

    .qr-popup-desc,
    .qr-popup-action {
        font-size: 11px;
    }
}

/* ==================== 社交二维码模态框样式 ==================== */

/* 模态框容器 */
.social-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.social-qr-modal.active {
    opacity: 1;
    visibility: visible;
}

/* 遮罩层 */
.social-qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* 内容容器 */
.social-qr-container {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 32px;
    max-width: 350px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.social-qr-modal.active .social-qr-container {
    transform: scale(1);
}

/* 关闭按钮 */
.social-qr-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    line-height: 1;
    padding: 0;
}

.social-qr-close:hover {
    background-color: var(--bg-hover);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* 内容区域 */
.social-qr-content {
    text-align: center;
}

/* 二维码图片 */
.social-qr-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* 标题 */
.social-qr-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* 描述 */
.social-qr-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* 操作提示 */
.social-qr-action {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* 社交图标悬停效果 */
.social-qr-trigger {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.social-qr-trigger:hover {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-qr-container {
        padding: 24px;
        max-width: 320px;
    }

    .social-qr-img {
        width: 180px;
        height: 180px;
    }

    .social-qr-title {
        font-size: 16px;
    }

    .social-qr-desc,
    .social-qr-action {
        font-size: 13px;
    }

    .social-qr-close {
        top: 12px;
        right: 12px;
        font-size: 24px;
    }
}

/* ========================================
   顶部加载进度条（方案A：简单进度条）
   ======================================== */

/* 进度条容器 */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000; /* 确保在所有内容之上 */
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* 不阻挡鼠标事件 */
}

/* 激活状态 */
.loading-bar.active {
    opacity: 1;
}

/* 进度条本体 */
.loading-bar-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #d74339, #ff6b6b); /* 主题红色渐变 */
    box-shadow: 0 0 10px rgba(215, 67, 57, 0.5); /* 轻微发光效果 */
    transition: width 0.3s ease;
}

/* 完成状态（快速过渡到 100%） */
.loading-bar.complete .loading-bar-progress {
    transition: width 0.2s ease;
}
/* ========== 中彤智库 Vue 应用状态样式 ========== */

/* 加载状态 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    gap: 16px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state span {
    font-size: 16px;
    color: #666;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 16px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
}

.empty-state p {
    font-size: 16px;
    color: #999;
}

/* ========== 政策理论专题卡片网格样式 ========== */

/* 专题卡片标题 */
.topic-card-title {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.policy-topic-card:hover .topic-card-title {
    color: #007bff;
}

/* 网格加载状态 */
.grid-loading,
.grid-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 12px;
    color: #999;
}

.grid-loading .loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.grid-empty p {
    font-size: 14px;
    color: #999;
}
