/* 自定义字体 - 书法字体 */
@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: #d81b60; 
    --primary-light: #f06292;
    --primary-dark: #ad1457;
    --primary-gradient: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);*/
    --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 var(--primary-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-left: 40px; /* 与logo保持40px间距 */
    margin-right: 40px; /* 与首页导航保持40px间距 */
    position: relative; /* 使内部的绝对定位按钮相对于搜索框定位 */
}

.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: 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 {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* 完整显示图片,不裁剪 */
    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,
.special-prev,
.banner-prev-small {
    left: 20px;
}

.banner-next,
.special-next,
.banner-next-small {
    right: 20px;
}

/* 轮播图指示器 */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.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: 20px;
    border-radius: var(--radius-sm);
    font-weight: normal;
}

.more-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 渐变背景下的更多链接 */
.section-header .more-link {
    color: var(--text-white);
}

/* 白色背景下的更多链接 */
.three-columns .section-header .more-link,
.course-center .section-header .more-link,
.four-columns .section-header .more-link,
.bank-module .section-header .more-link,
.two-columns .section-header .more-link {
    /* color: var(--primary-color); */
    color: var(--text-lighter);
}

.three-columns .section-header .more-link:hover,
.course-center .section-header .more-link:hover,
.four-columns .section-header .more-link:hover,
.bank-module .section-header .more-link:hover,
.two-columns .section-header .more-link:hover {
    /* background-color: rgba(216, 27, 96, 0.1); */
    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.with-image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 12px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    min-height: 80px;
}

.news-list-item.hot.with-image .news-thumbnail {
    width: 150px;
    min-width: 150px;
    height: 80px;
    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-date {
    color: var(--text-lighter);
    font-size: 12px;
    flex-shrink: 0;
}

/* 备考专题轮播 */
/* .exam-special {
    margin: 10px 0;
} */

.exam-special .container {
    background-color: transparent;
}

.special-slider {
    position: relative;
    height: 150px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.special-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.special-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.special-slide.active {
    opacity: 1;
    z-index: 2;
}

.special-item {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.special-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(93, 173, 226, 0.3);
}

/* 备考专题图片自适应 */
.special-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.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: 10px;
}

.special-next {
    left: auto;
    right: 10px;
}

.special-slider:hover .special-prev,
.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: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    max-height: 80px;
    overflow: hidden;
}

.nav-link {
    padding: 5px 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
    margin-right: 10px;
}

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

.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: 20px;
    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: flex-start; /* 改为左对齐 */
}

.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: 36px;
}

/* tab 选中状态 - 后两个字正常字体（和"速递"一致） */
.three-columns .tab.active .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

/* .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: 16px;
    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: 36px;
}

/* mock-exam-column tab 选中状态 - 后两个字正常字体 */
.mock-exam-column .tab.active .title-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
}

/* 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-start;
    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 {
    /* 不再需要左右分栏布局 */
}

/* 课程卡片网格 - 自适应布局，自然换行 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(93, 173, 226, 0.3);
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    z-index: 10;
    font-weight: bold;
}

.course-badge.special {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.course-image {
    height: 120px;
    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::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: 20px;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.course-subtitle {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.course-info {
    padding: 5px 5px;
}

.course-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

.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);
}

/* 资讯中心 */
/* .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: 10px 0;
} */

.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;
}

/* 合并列样式 */
.four-columns .merged-column {
    grid-column: span 2;
}

.merged-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.merged-left,
.merged-right {
    display: flex;
    flex-direction: column;
}

.merged-left .section-header,
.merged-right .section-header {
    border-bottom: 1px solid var(--bg-border);
}

.merged-left .column-content,
.merged-right .column-content {
    flex: 1;
}

/* 轮播图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 {
    background-color: transparent;
}

.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;
}

.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: 24px;
}

/* 标题高亮样式 - 红色书法字体 */
.bank-module .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; */
}

.bank-module.merged-bank .merged-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.bank-module.merged-bank .merged-left,
.bank-module.merged-bank .merged-right {
    display: flex;
    flex-direction: column;
}

.bank-module.merged-bank .merged-left .section-header,
.bank-module.merged-bank .merged-right .section-header {
    border-bottom: 1px solid var(--bg-border);
}

.bank-module.merged-bank .merged-left .column-content,
.bank-module.merged-bank .merged-right .column-content {
    flex: 1;
}

/* 专栏题库特殊样式 */
/* .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: 280px 1fr 320px;
    gap: 15px;
    /* height: 340px; */
}

/* 左侧宣传图区域 */
.tutorial-left {
    background: linear-gradient(135deg, #ff7e67 0%, #ff6b57 100%);
    margin: 10px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.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-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;
    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; */
    /* 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: 10px 12px;
    color: #666; /* 默认灰色文字 */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    background-color: transparent;
    text-align: left;
}

.tutorial-middle .tutorial-tab:hover {
    color: var(--primary-color);
    background-color: var(--bg-hover);
    border-left-color: var(--primary-color);
}

.tutorial-middle .tutorial-tab.active {
    color: var(--primary-color);
    background-color: #fce4ec;
    border-left-color: var(--primary-color);
    font-weight: 600;
}

/* 中间右侧：内容列表 */
.tutorial-middle .tutorial-content-area {
    padding: 15px;
    background: #fff;
}

.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: 0;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-item:hover {
    background-color: #f8f9fa;
    padding-left: 12px;
}

.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;
}

.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: 18px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    line-height: 1;
}

.download-icon:hover {
    color: #c0392b;
    transform: translateY(2px);
}

/* 右侧下载列表区域 */
.tutorial-right {
    background: #f8f9fa;
    padding: 15px 12px;
    border-radius: 8px;
}

.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 1fr 320px;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 左侧品牌区域 */
.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: 15px;
    flex-wrap: wrap;
}

.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-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-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: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 0 280px;
    position: relative;
    overflow: hidden;
}

.teacher-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/pattern-bg.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

/* 标题部分 */
.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: -140px;
    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;
    transform: scale(0.95);
}

.small-card:hover {
    transform: scale(1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.small-card.active {
    opacity: 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: 180px;
    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);
}

.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;
}

/* 面试专区 - 考点速递标题样式 */
.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-end;
    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;
}

.exam-point-merged .section-header.main-title .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底部红线基础样式 - 与标题栏底部边线重合 */
.exam-point-merged .section-header.main-title .tab::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tab::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.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 {
    color: var(--primary-color);
}

/* hover和active状态时底部红线展开 */
.exam-point-merged .section-header.main-title .tab:hover::after,
.exam-point-merged .section-header.main-title .tab.active::after {
    width: 60%;
}

.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 {
    color: var(--primary-color);
    font-weight: 600;
}

.industry-selection-section .exam-point-merged .section-header.main-title .tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 更多链接 */
.exam-point-merged .section-header.main-title .more-link {
    color: var(--text-lighter);
    font-size: 12px;
    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: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

/* 两栏内容布局 */
.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;
    /* 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);
    font-size: 12px;
    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;
}

/* 特色项（带图片） */
.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;
    margin-top: 8px;
}

/* 新闻列表 */
.exam-point-column .news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.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: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.policy-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-3d-slide {
    position: absolute;
    width: 600px;
    height: 320px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* 左侧卡片 */
.policy-3d-slide[data-position="left"] {
    left: 10%;
    transform: translateX(-50%) scale(0.75) rotateY(15deg);
    opacity: 0.6;
    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: 90%;
    transform: translateX(-50%) scale(0.75) rotateY(-15deg);
    opacity: 0.6;
    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: 16px;
    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: 56px;
    height: 56px;
    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);
}

.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-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(6, 1fr);
    gap: 24px;
    max-width: 1440px;
    margin: 20px auto 0;
    padding: 0px 40px 40px 40px;
}

.policy-topic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 140px;
    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.8) 0%, rgba(0, 0, 0, 0.4) 50%, 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: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.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;
    }
}

