/* 安途信诚官网主题样式 */

/* ========================================
   CSS变量 - 色彩系统
   ======================================== */
:root {
    /* 主色调 */
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1642;

    /* 辅助色 */
    --secondary: #283593;
    --secondary-light: #5e72e4;

    /* 强调色 */
    --accent-blue: #42a5f5;
    --accent-green: #1abc9c;

    /* 功能色 */
    --success: #27ae60;
    --success-light: #2ecc71;
    --warning: #f39c12;
    --warning-light: #f1c40f;
    --danger: #e74c3c;
    --danger-light: #e67e73;
    --info: #3498db;
    --info-light: #5dade2;

    /* 中性色 */
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #1a1a1a;

    /* 文字色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #cccccc;

    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    --gradient-secondary: linear-gradient(135deg, #283593 0%, #5e72e4 100%);
    --gradient-accent: linear-gradient(135deg, #42a5f5 0%, #1abc9c 100%);
    --gradient-success: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    --gradient-overlay: linear-gradient(rgba(26, 35, 126, 0.7), rgba(40, 53, 147, 0.7));

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.18);

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
}

/* 基础样式重置 */
* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.site-header {
    background: var(--primary); /* 深蓝色商务风格背景 */
    color: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 100;
}

/* 导航菜单 */
.main-navigation {
    text-align: center;
    margin-top: 0;
    padding-top: 4px;
    padding-bottom: 4px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: var(--spacing-sm) 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9em;
    transition: var(--transition-base);
    margin: 0 auto;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 1em;
    font-family: "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    padding: 10px 20px;
    display: block;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
}

.main-navigation a:hover {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 导航激活状态下划线效果 */
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-base);
    border-radius: 1px;
}

.main-navigation a:hover::after {
    width: 80%;
    left: 10%;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--bg-white);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.05);
}

.main-navigation .current-menu-item a::after,
.main-navigation .current_page_item a::after {
    width: 80%;
    left: 10%;
}

/* ========================================
   移动端导航优化
   ======================================== */

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    position: relative;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--bg-white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: var(--transition-base);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 12px;
}

.menu-toggle span:nth-child(3) {
    top: 24px;
}

/* 汉堡菜单激活状态 */
.menu-toggle.active span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
}

/* 响应式设计 - 头部 */
@media (max-width: 1200px) {
    .main-navigation a {
        font-size: 0.98em;
        padding: 10px 18px;
    }

    .main-navigation ul {
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .main-navigation ul {
        flex-direction: row;
        gap: 8px;
    }

    .main-navigation a {
        font-size: 0.95em;
        padding: 8px 16px;
    }

    .site-header {
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        margin-top: var(--spacing-md);
        padding-top: 0;
    }

    .main-navigation ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md) 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .main-navigation.active ul {
        max-height: 500px;
        opacity: 1;
    }

    .main-navigation li {
        width: 100%;
        max-width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .main-navigation.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* 为每个菜单项添加延迟动画 */
    .main-navigation.active li:nth-child(1) { transition-delay: 0.05s; }
    .main-navigation.active li:nth-child(2) { transition-delay: 0.1s; }
    .main-navigation.active li:nth-child(3) { transition-delay: 0.15s; }
    .main-navigation.active li:nth-child(4) { transition-delay: 0.2s; }
    .main-navigation.active li:nth-child(5) { transition-delay: 0.25s; }
    .main-navigation.active li:nth-child(6) { transition-delay: 0.3s; }
    .main-navigation.active li:nth-child(7) { transition-delay: 0.35s; }
    .main-navigation.active li:nth-child(8) { transition-delay: 0.4s; }

    .main-navigation a {
        font-size: 1rem;
        padding: 14px 24px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation a::after {
        display: none;
    }

    .main-navigation a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none;
        box-shadow: none;
    }
}
    
    .main-navigation ul {
        gap: 5px;
    }
    
    .main-navigation a {
        font-size: 0.9em;
        padding: 8px 14px;
        border-radius: 4px;
    }
    
    .main-navigation a::after {
        height: 1.5px;
    }
}

@media (max-width: 576px) {
    .site-header {
        padding: 6px 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .main-navigation li {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .main-navigation a {
        font-size: 0.9em;
        padding: 10px 12px;
        margin: 0;
        border-radius: 4px;
    }
    
    .main-navigation a:hover::after {
        width: 60%;
        left: 20%;
    }
    
    .main-navigation .current-menu-item a::after,
    .main-navigation .current_page_item a::after {
        width: 60%;
        left: 20%;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 6px 0;
    }
    
    .main-navigation a {
        font-size: 0.85em;
        padding: 8px 10px;
    }
}

/* 主要内容区域 */
.site-main {
    padding: 40px 0;
}

.entry-content {
    padding: 0 80px;
    margin: 20px 0;
}

/* 文章内容样式 */
.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #2c3e50;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 600;
}

.entry-content h1 {
    font-size: 2.2em;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.entry-content h2 {
    font-size: 1.8em;
    border-left: 4px solid #1abc9c;
    padding-left: 15px;
}

.entry-content h3 {
    font-size: 1.5em;
    color: #3498db;
}

.entry-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.entry-content blockquote {
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
    padding: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

.entry-content code {
    background-color: #f1f2f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.entry-content pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 1.5em 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.entry-content th {
    background: linear-gradient(135deg, #3498db, #1abc9c);
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}

.entry-content td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.entry-content tr:hover {
    background-color: #f8f9fa;
}

/* 响应式文章内容 */
@media (max-width: 768px) {
    .entry-content {
        padding: 0 20px;
        font-size: 1em;
    }
    
    .entry-content h1 {
        font-size: 1.8em;
    }
    
    .entry-content h2 {
        font-size: 1.5em;
    }
    
    .entry-content h3 {
        font-size: 1.3em;
    }
    
    .entry-content table {
        font-size: 0.9em;
    }
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f5f5f5;
}

/* 核心模块 */
.core-modules {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 50px 0;
    text-align: center;
    color: white;
}

.core-modules h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.core-modules h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #42a5f5, #1abc9c);
    border-radius: 2px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 确保在所有屏幕尺寸下都使用单行布局 */
@media (min-width: 769px) {
    .modules-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.module {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.module:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.12);
}

.module h3 {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.module p {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.9;
    flex-grow: 1;
}

.module .btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    font-size: 0.85em;
}

.module .btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.module p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ========================================
   按钮系统
   ======================================== */

/* 基础按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-accent);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 按钮光泽效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

/* 主按钮 */
.btn-primary {
    background: var(--gradient-success);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.4);
    transform: translateY(-2px);
}

/* 次要按钮 - 边框样式 */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* 危险按钮 */
.btn-danger {
    background: var(--gradient-primary);
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-light) 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
}

/* 文字按钮 */
.btn-text {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: none;
}

.btn-text:hover {
    color: var(--primary-light);
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

.btn-text::before {
    display: none;
}

/* 小按钮 */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* 大按钮 */
.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* 全宽按钮 */
.btn-block {
    display: block;
    width: 100%;
}

/* 禁用状态 */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}


/* 通用卡片组件样式 */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
}

/* 首页轮播图模块 */
.homepage-slider {
    padding: 30px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.homepage-slider .carousel {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.homepage-slider .carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: none !important; /* 确保轮播图项默认隐藏 */
}

.homepage-slider .carousel-item.active {
    display: block !important; /* 确保激活的轮播图项显示 */
    opacity: 1 !important;
    visibility: visible !important;
}

.homepage-slider .slider-content {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.homepage-slider .slider-content h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.homepage-slider .slider-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.homepage-slider .btn-primary {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.homepage-slider .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.homepage-slider .carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.homepage-slider .carousel-indicators .active {
    background-color: white;
}

.homepage-slider .carousel-control-prev-icon,
.homepage-slider .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 60%;
}

@media (max-width: 768px) {
    .homepage-slider .carousel-item {
        height: 300px;
    }
    
    .homepage-slider .slider-content {
        padding: 20px;
        margin: 0 15px;
    }
    
    .homepage-slider .slider-content h3 {
        font-size: 1.8em;
    }
    
    .homepage-slider .slider-content p {
        font-size: 1em;
    }
}

.card-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-body {
    padding: 25px;
}

/* 课程目录 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ========================================
   课程卡片优化
   ======================================== */

/* 课程卡片容器 */
.course-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
    position: relative;
}

.course-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* 课程缩略图 - 16:9比例 */
.course-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.course-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-item:hover .course-thumbnail img {
    transform: scale(1.08);
}

/* 课程标签徽章 */
.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.course-badge.hot {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-light) 100%);
    color: var(--bg-white);
}

.course-badge.new {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    color: var(--bg-white);
}

.course-badge.featured {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    color: var(--bg-white);
}

/* 课程内容区 */
.course-content {
    padding: var(--spacing-lg);
}

/* 课程标题 */
.course-item h3 {
    padding: 0;
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.course-item h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.course-item h3 a:hover {
    color: var(--primary);
}

/* 课程摘要 */
.course-excerpt {
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 课程元信息 */
.course-meta {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.course-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
}

.course-meta-item.price {
    color: var(--danger);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 课程分类标签 */
.course-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-50);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

/* 课程网格布局 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* 响应式课程卡片 */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .course-content {
        padding: var(--spacing-md);
    }

    .course-item h3 {
        font-size: 1.1rem;
    }
}


/* 课程归档页面统一美化 */
.archive-course .site-main,
.single-course .site-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.archive-course .page-title,
.single-course .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.archive-course .page-title::after,
.single-course .entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 课程目录页面特殊样式 */
.page-course-catalog .all-courses-section {
    margin-top: 40px;
}

.page-course-catalog .all-courses-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
}

.page-course-catalog .all-courses-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 课程列表美化 - 列表形式展示 */
.archive-course .courses-list,
.page-course-catalog .courses-list {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.archive-course .course-list-item,
.page-course-catalog .course-list-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.archive-course .course-list-item:hover,
.page-course-catalog .course-list-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.archive-course .course-list-thumbnail,
.page-course-catalog .course-list-thumbnail {
    flex: 0 0 120px;
    margin-right: 20px;
}

.archive-course .course-list-thumbnail img,
.page-course-catalog .course-list-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.archive-course .course-list-content,
.page-course-catalog .course-list-content {
    flex: 1;
}

.archive-course .course-list-content h3,
.page-course-catalog .course-list-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.archive-course .course-list-content h3 a,
.page-course-catalog .course-list-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.archive-course .course-list-content h3 a:hover,
.page-course-catalog .course-list-content h3 a:hover {
    color: #3498db;
}

.archive-course .course-list-excerpt,
.page-course-catalog .course-list-excerpt {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}

.archive-course .course-list-meta,
.page-course-catalog .course-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.archive-course .course-list-meta span,
.page-course-catalog .course-list-meta span {
    font-size: 0.9em;
    color: #666;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
}

/* 响应式设计 - 课程列表 */
@media (max-width: 768px) {
    .archive-course .course-list-item,
    .page-course-catalog .course-list-item {
        flex-direction: column;
        text-align: center;
    }
    
    .archive-course .course-list-thumbnail,
    .page-course-catalog .course-list-thumbnail {
        margin-right: 0;
        margin-bottom: 15px;
        flex: none;
    }
    
    .archive-course .course-list-meta,
    .page-course-catalog .course-list-meta {
        justify-content: center;
    }
    
    .archive-course .courses-list,
    .page-course-catalog .courses-list {
        padding: 0 10px;
    }
    
    .archive-course .course-list-content h3,
    .page-course-catalog .course-list-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .archive-course .course-list-item,
    .page-course-catalog .course-list-item {
        padding: 15px;
    }
    
    .archive-course .course-list-thumbnail,
    .page-course-catalog .course-list-thumbnail {
        width: 100%;
        max-width: 200px;
    }
    
    .archive-course .course-list-content h3,
    .page-course-catalog .course-list-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .archive-course .course-list-excerpt,
    .page-course-catalog .course-list-excerpt {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .archive-course .course-list-meta,
    .page-course-catalog .course-list-meta {
        gap: 10px;
    }
    
    .archive-course .course-list-meta span,
    .page-course-catalog .course-list-meta span {
        font-size: 0.85em;
        padding: 3px 8px;
    }
}

/* 课程网格美化 - 每行3个课程 */
.archive-course .courses-grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.archive-course .course-grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-course .course-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.archive-course .course-grid-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.archive-course .course-grid-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-course .course-grid-item:hover .course-grid-thumbnail img {
    transform: scale(1.05);
}

.archive-course .course-grid-content {
    padding: 20px;
}

.archive-course .course-grid-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.archive-course .course-grid-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.archive-course .course-grid-content h3 a:hover {
    color: #3498db;
}

.archive-course .course-grid-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.archive-course .course-grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.archive-course .course-grid-meta span {
    font-size: 0.85em;
    color: #666;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
}

/* 响应式设计 - 课程网格 */
@media (max-width: 1200px) {
    .archive-course .courses-grid-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .archive-course .courses-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .archive-course .course-grid-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .archive-course .courses-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .archive-course .page-title,
    .single-course .entry-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .archive-course .course-grid-thumbnail {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .archive-course .courses-grid-list {
        gap: 15px;
    }
    
    .archive-course .course-grid-content {
        padding: 15px;
    }
    
    .archive-course .course-grid-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .archive-course .course-grid-excerpt {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .archive-course .course-grid-meta {
        gap: 8px;
        padding-top: 12px;
    }
    
    .archive-course .course-grid-meta span {
        font-size: 0.8em;
        padding: 4px 8px;
    }
}

/* 考试系统 */
.exams-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.exam-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exam-item:hover {
    transform: translateY(-5px);
}

.exam-thumbnail {
    height: 150px;
    overflow: hidden;
    margin-bottom: 15px;
}

.exam-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exam-item h3 {
    margin-top: 0;
}

.exam-item h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.exam-item h3 a:hover {
    color: #3498db;
}

.exam-meta {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 0.9em;
    color: #7f8c8d;
}

.exam-excerpt {
    color: #7f8c8d;
    margin: 15px 0;
}

/* 考试页面 */
.exam-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.exam-timer {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
}

.exam-questions {
    margin: 30px 0;
}

.exam-actions {
    text-align: center;
    margin: 30px 0;
}

/* 考试结果 */
.exam-results {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.result-score {
    font-size: 1.2em;
    margin: 30px 0;
}

.result-status {
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.result-status.passed {
    background-color: #d5f5e3;
    color: #27ae60;
}

.result-status.failed {
    background-color: #fadbd8;
    color: #c0392b;
}

.result-details {
    text-align: left;
    margin: 30px 0;
}

/* 开班计划 */
.class-schedule {
    padding: 40px 0;
    background-color: #ffffff;
}

.class-schedule .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.class-schedule h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #1a237e;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.class-schedule h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #42a5f5, #1abc9c);
    border-radius: 2px;
}

/* 响应式表格容器 - 用于开班计划页面 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 平滑滚动 */
    position: relative;
}

/* 当 table 直接带 schedule-table 类时的样式 */
table.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    min-width: 800px; /* 确保表格有最小宽度，触发横向滚动 */
}

table.schedule-table th,
table.schedule-table td {
    padding: 18px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f4ff;
    transition: all 0.3s ease;
    white-space: nowrap; /* 防止内容换行 */
}

table.schedule-table th {
    background-color: #1a237e;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 0.95em;
    position: sticky;
    top: 0;
    z-index: 10;
}

table.schedule-table tbody tr:hover {
    background-color: #f8fafc;
}

table.schedule-table tr:last-child td {
    border-bottom: none;
}

/* 旧版结构兼容：div.schedule-table > table */
.schedule-table {
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 30px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.schedule-table th,
.schedule-table td {
    padding: 18px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f4ff;
    transition: all 0.3s ease;
}

.schedule-table th {
    background-color: #1a237e;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 0.95em;
    position: sticky;
    top: 0;
    z-index: 10;
}

.schedule-table tr:hover {
    background-color: #f8fafc;
    transform: scale(1.002);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table .btn {
    padding: 10px 20px;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.3px;
}

.schedule-table .btn-primary {
    background-color: #1a237e;
    color: white;
}

.schedule-table .btn-primary:hover {
    background-color: #283593;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.schedule-table .btn-secondary {
    background-color: #e0e7ff;
    color: #1a237e;
}

.schedule-table .btn-secondary:hover {
    background-color: #c7d2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

/* 开班计划列宽与换行优化 */
.class-schedule .schedule-table table {
  table-layout: fixed;
}
.class-schedule .schedule-table table th,
.class-schedule .schedule-table table td {
  white-space: nowrap;
}
.class-schedule .schedule-table table th:first-child,
.class-schedule .schedule-table table td:first-child {
  width: 28%;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 兼容首页（6列）与其他页面（7列）不同结构，设置通用列宽 */
.class-schedule .schedule-table table th:nth-child(2),
.class-schedule .schedule-table table td:nth-child(2) { width: 13%; } /* 认证机构或开课时间 */
.class-schedule .schedule-table table th:nth-child(3),
.class-schedule .schedule-table table td:nth-child(3) { width: 13%; } /* 开课时间或上课形式 */
.class-schedule .schedule-table table th:nth-child(4),
.class-schedule .schedule-table table td:nth-child(4) { width: 12%; } /* 上课形式或上课时长 */
.class-schedule .schedule-table table th:nth-child(5),
.class-schedule .schedule-table table td:nth-child(5) { width: 12%; } /* 上课时长或费用 */
.class-schedule .schedule-table table th:nth-child(6),
.class-schedule .schedule-table table td:nth-child(6) { width: 11%; } /* 费用或操作 */
.class-schedule .schedule-table table th:nth-child(7),
.class-schedule .schedule-table table td:nth-child(7) { width: 11%; } /* 报名/操作 */

.class-schedule .schedule-table .btn {
  white-space: nowrap;
}

/* 新结构兼容：table.schedule-table 直接应用列宽 */
.class-schedule table.schedule-table {
  table-layout: fixed;
}
.class-schedule table.schedule-table th,
.class-schedule table.schedule-table td {
  white-space: nowrap;
}
.class-schedule table.schedule-table th:first-child,
.class-schedule table.schedule-table td:first-child {
  width: 28%;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.class-schedule table.schedule-table th:nth-child(2),
.class-schedule table.schedule-table td:nth-child(2) { width: 13%; }
.class-schedule table.schedule-table th:nth-child(3),
.class-schedule table.schedule-table td:nth-child(3) { width: 13%; }
.class-schedule table.schedule-table th:nth-child(4),
.class-schedule table.schedule-table td:nth-child(4) { width: 12%; }
.class-schedule table.schedule-table th:nth-child(5),
.class-schedule table.schedule-table td:nth-child(5) { width: 12%; }
.class-schedule table.schedule-table th:nth-child(6),
.class-schedule table.schedule-table td:nth-child(6) { width: 11%; }
.class-schedule table.schedule-table th:nth-child(7),
.class-schedule table.schedule-table td:nth-child(7) { width: 11%; }

/* 响应式：小屏幕优化 */
@media (max-width: 992px) {
    .table-responsive {
        margin: 0 -15px; /* 抵消容器内边距，让表格可以占满宽度 */
        border-radius: 0;
    }

    table.schedule-table,
    .schedule-table table {
        min-width: 900px; /* 确保横向滚动 */
    }

    table.schedule-table th,
    table.schedule-table td,
    .schedule-table th,
    .schedule-table td {
        padding: 12px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    table.schedule-table,
    .schedule-table table {
        min-width: 800px;
    }

    table.schedule-table th,
    table.schedule-table td,
    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }

    /* 报名按钮在小屏幕上调整 */
    .schedule-table .btn,
    table.schedule-table .btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }
}

/* 报名表单 */
.enrollment-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.enrollment-form-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.selected-course {
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.selected-course h3 {
    margin-top: 0;
    color: #2c3e50;
}

.enrollment-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.enrollment-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.enrollment-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

.enrollment-form .form-group .required {
    color: #e74c3c;
}

/* ========================================
   表单系统
   ======================================== */

/* 基础表单控件 */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: "Microsoft YaHei", sans-serif;
    transition: var(--transition-base);
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
    outline: none;
}

/* 表单组 */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* 浮动标签效果 */
.form-floating {
    position: relative;
}

.form-floating input,
.form-floating textarea {
    padding: 20px 16px 8px;
}

.form-floating label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--text-muted);
    transition: var(--transition-base);
    pointer-events: none;
    font-weight: 400;
}

.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label,
.form-floating textarea:focus + label,
.form-floating textarea:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* 验证状态 */
.form-control.is-valid,
input.is-valid,
textarea.is-valid {
    border-color: var(--success);
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2327ae60' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-control.is-invalid,
input.is-invalid,
textarea.is-invalid {
    border-color: var(--danger);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* 错误和成功消息 */
.invalid-feedback {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--danger);
}

.valid-feedback {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--success);
}

/* 必填标记 */
.required {
    color: var(--danger);
    margin-left: 2px;
}

/* 表单帮助文本 */
.form-text {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Checkbox和Radio美化 */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Select下拉框美化 */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* 表单行内布局 */
.form-inline {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.form-inline .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* 响应式表单 */
@media (max-width: 768px) {
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .form-inline .form-group {
        margin-bottom: var(--spacing-md);
    }
}

/* 原有表单样式兼容 */
.enrollment-form .form-group input,
.enrollment-form .form-group select,
.enrollment-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 1rem;
    transition: var(--transition-base);
}

.enrollment-form .form-group input:focus,
.enrollment-form .form-group select:focus,
.enrollment-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.enrollment-form .checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
}

.enrollment-form .checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.enrollment-form .checkbox-group a {
    color: #3498db;
    text-decoration: none;
}

.enrollment-form .checkbox-group a:hover {
    text-decoration: underline;
}

.form-success {
    background-color: #d5f5e3;
    color: #27ae60;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.form-success h3 {
    margin-top: 0;
}

.site-footer {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 40px 0;
    text-align: center;
}

.footer-contact {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.footer-contact h3 {
    margin-top: 0;
    color: #1abc9c;
    flex: 0 0 100%;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info p {
    margin: 5px 0;
}

.wechat-contact {
    margin-top: 15px;
}

.wechat-id {
    font-weight: bold;
    color: #1abc9c;
}

.wechat-qrcode {
    margin-top: 10px;
}

.wechat-qrcode img {
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.site-info {
    font-size: 0.9em;
}

.site-info a {
    color: #1abc9c;
    text-decoration: none;
}

/* 页面模板样式 */

/* 首页自适应布局 - 去除边框 */
.home .site-main { 
  padding: 0; 
  margin: 0;
  width: 100%;
  border: none;
  box-shadow: none;
}

.home .entry-content { 
  padding: 0; 
  margin: 0;
  max-width: 100%;
  border: none;
}

/* 移除所有边框 */
.home .container,
.home .core-modules,
.home .class-schedule {
  border: none;
  box-shadow: none;
}

/* 核心业务模块调整为一行显示 */
.modules-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.module {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .modules-grid {
    justify-content: space-around;
  }
  .module {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .modules-grid {
    flex-direction: column;
    align-items: center;
  }
  .module {
    min-width: 100%;
    max-width: 100%;
  }
}

/* 通用卡片网格样式（用于安全意识/咨询服务） */
.awareness-grid, .services-grid, .job-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.awareness-item, .service-item, .job-class-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.awareness-item:hover, .service-item:hover, .job-class-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.awareness-thumbnail, .service-thumbnail, .job-class-thumbnail {
  height: 200px;
  overflow: hidden;
}
.awareness-thumbnail img, .service-thumbnail img, .job-class-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.awareness-item h3, .service-item h3, .job-class-item h3 {
  margin: 16px 16px 8px;
  font-size: 1.1rem;
  color: #2c3e50;
}
.awareness-excerpt, .service-excerpt, .job-class-excerpt {
  padding: 0 16px 16px;
  color: #7f8c8d;
}
/* 业务页面UI美化 */
.page-template-page-course-catalog .site-main,
.page-template-page-security-awareness .site-main,
.page-template-page-consulting-service .site-main,
.page-template-page-job-class .site-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

/* 增强业务页面美化效果 */
.page-template-page-course-catalog .entry-title,
.page-template-page-security-awareness .entry-title,
.page-template-page-consulting-service .entry-title,
.page-template-page-job-class .entry-title {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-template-page-course-catalog .entry-title::after,
.page-template-page-security-awareness .entry-title::after,
.page-template-page-consulting-service .entry-title::after,
.page-template-page-job-class .entry-title::after {
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.page-template-page-course-catalog .course-item,
.page-template-page-security-awareness .awareness-item,
.page-template-page-consulting-service .service-item,
.page-template-page-job-class .job-class-item {
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.page-template-page-course-catalog .course-item:hover,
.page-template-page-security-awareness .awareness-item:hover,
.page-template-page-consulting-service .service-item:hover,
.page-template-page-job-class .job-class-item:hover {
    border-color: rgba(52, 152, 219, 0.3);
}

/* 页面标题美化 */
.page-template-page-course-catalog .entry-title,
.page-template-page-security-awareness .entry-title,
.page-template-page-consulting-service .entry-title,
.page-template-page-job-class .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.page-template-page-course-catalog .entry-title::after,
.page-template-page-security-awareness .entry-title::after,
.page-template-page-consulting-service .entry-title::after,
.page-template-page-job-class .entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 内容区域美化 */
.page-template-page-course-catalog .entry-content,
.page-template-page-security-awareness .entry-content,
.page-template-page-consulting-service .entry-content,
.page-template-page-job-class .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 课程网格美化 */

/* 热门课程类型卡片 */
.course-types {
    padding: 40px 0;
    background-color: #f8fafc;
}

.course-types .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-types h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #1a237e;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.course-types h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #42a5f5, #1abc9c);
    border-radius: 2px;
}

.course-types .course-type-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.course-types .course-type-card {
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-types .course-type-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #1a237e;
}

.course-types .course-type-card.active {
    border-color: #1a237e;
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.15) inset;
    background-color: rgba(26, 35, 126, 0.02);
}

.course-types .course-type-card .card-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a237e;
    font-size: 1.1em;
    letter-spacing: 0.3px;
}

.course-types .course-type-card .card-meta {
    color: #6b7280;
    font-size: 13px;
}

.course-types .course-type-list {
    margin-top: 20px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-types .course-type-list .type-heading {
    margin: 0 0 20px;
    font-size: 1.3em;
    color: #1a237e;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.course-types .course-type-list .course-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
}

.course-types .course-type-list .course-links li a {
    color: #1a237e;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 16px;
    display: inline-block;
}

.course-types .course-type-list .course-links li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.course-types .course-type-list .course-links li a:hover {
    color: #42a5f5;
    transform: translateX(3px);
}

.course-types .course-type-list .course-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1200px) {
    .course-types .course-type-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .course-types .course-type-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .course-types .course-type-list .course-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .course-types {
        padding: 40px 0;
    }
    
    .course-types h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .course-types .course-type-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
    .course-types .course-type-card {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .course-types .course-type-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .course-types .course-type-list .course-links {
        grid-template-columns: 1fr;
    }
    
    .course-types .course-type-list {
        padding: 16px;
    }
}
.page-template-page-course-catalog .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-template-page-course-catalog .course-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-template-page-course-catalog .course-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-template-page-course-catalog .course-thumbnail {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.page-template-page-course-catalog .course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-template-page-course-catalog .course-item:hover .course-thumbnail img {
    transform: scale(1.05);
}

.page-template-page-course-catalog .course-item h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.3rem;
}

.page-template-page-course-catalog .course-item h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.page-template-page-course-catalog .course-item h3 a:hover {
    color: #3498db;
}

.page-template-page-course-catalog .course-excerpt {
    padding: 0 20px 20px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* 安全意识页面特殊样式 */
.page-template-page-security-awareness .awareness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-template-page-security-awareness .awareness-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-template-page-security-awareness .awareness-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 咨询服务页面特殊样式 */
.page-template-page-consulting-service .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-template-page-consulting-service .service-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-template-page-consulting-service .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 业务页面特殊样式 */
.page-template-page-job-class .job-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-template-page-job-class .job-class-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-template-page-job-class .job-class-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 标签样式统一 */
.label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-primary {
    background: linear-gradient(135deg, #3498db, #1abc9c);
    color: white;
}

.label-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.label-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: white;
}

.label-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

/* 联系我们页面样式 */
.page-template-page-contact .site-main {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.page-template-page-contact .entry-title {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-template-page-contact .entry-title::after {
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.page-template-page-contact .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.page-template-page-contact .entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-template-page-contact .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-details {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.contact-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-top: 0;
}

.wechat-qrcode img {
    border: 3px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.contact-form {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-form h3 {
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Microsoft YaHei", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* 404页面样式 - 统一风格 */
.error-404 {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-404 .page-title {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-404 .page-content {
    font-size: 1.2em;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .page-content p {
    margin-bottom: 30px;
}

/* 考试系统页面统一美化 */
.page-template-page-exam-system .site-main,
.page-template-page-take-exam .site-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.page-template-page-exam-system .entry-title,
.page-template-page-take-exam .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.page-template-page-exam-system .entry-title::after,
.page-template-page-take-exam .entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 考试列表美化 */
.page-template-page-exam-system .exams-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-template-page-exam-system .exam-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-template-page-exam-system .exam-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-template-page-exam-system .exam-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.page-template-page-exam-system .exam-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-template-page-exam-system .exam-item:hover .exam-thumbnail img {
    transform: scale(1.05);
}

/* 考试容器美化 */
.page-template-page-take-exam .exam-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-template-page-take-exam .exam-timer {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    font-size: 1.1em;
}

/* 课程归档页面统一美化 */
.archive-course .site-main,
.single-course .site-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.archive-course .page-title,
.single-course .entry-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.archive-course .page-title::after,
.single-course .entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 课程网格美化 - 每行3个课程 */
.archive-course .courses-grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.archive-course .course-grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-course .course-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.archive-course .course-grid-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.archive-course .course-grid-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-course .course-grid-item:hover .course-grid-thumbnail img {
    transform: scale(1.05);
}

.archive-course .course-grid-content {
    padding: 20px;
}

.archive-course .course-grid-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.archive-course .course-grid-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.archive-course .course-grid-content h3 a:hover {
    color: #3498db;
}

.archive-course .course-grid-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.archive-course .course-grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.archive-course .course-grid-meta span {
    font-size: 0.85em;
    color: #666;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
}

/* 响应式设计 - 课程网格 */
@media (max-width: 1200px) {
    .archive-course .courses-grid-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .archive-course .courses-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .archive-course .course-grid-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .archive-course .courses-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .archive-course .page-title,
    .single-course .entry-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .archive-course .course-grid-thumbnail {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .archive-course .courses-grid-list {
        gap: 15px;
    }
    
    .archive-course .course-grid-content {
        padding: 15px;
    }
    
    .archive-course .course-grid-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .archive-course .course-grid-excerpt {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .archive-course .course-grid-meta {
        gap: 8px;
        padding-top: 12px;
    }
    
    .archive-course .course-grid-meta span {
        font-size: 0.8em;
        padding: 4px 8px;
}

/* 证书维持页面样式 */
.page-template-page-certificate-maintenance .site-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 60px 0;
    min-height: 100vh;
}

.page-template-page-certificate-maintenance .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-template-page-certificate-maintenance .maintenance-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.page-template-page-certificate-maintenance .maintenance-intro h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
    position: relative;
}

.page-template-page-certificate-maintenance .maintenance-intro h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-template-page-certificate-maintenance .maintenance-intro p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-template-page-certificate-maintenance .maintenance-services {
    margin: 40px 0;
}

.page-template-page-certificate-maintenance .maintenance-services h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    text-align: center;
}

.page-template-page-certificate-maintenance .maintenance-services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-template-page-certificate-maintenance .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.page-template-page-certificate-maintenance .service-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-template-page-certificate-maintenance .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-template-page-certificate-maintenance .service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-template-page-certificate-maintenance .service-item h3 {
    margin: 0 0 15px 0;
    color: #1a237e;
    font-size: 1.3rem;
}

.page-template-page-certificate-maintenance .service-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 - 证书维持页面 */
@media (max-width: 768px) {
    .page-template-page-certificate-maintenance .site-main {
        padding: 40px 0;
    }
    
    .page-template-page-certificate-maintenance .entry-content {
        padding: 0 15px;
    }
    
    .page-template-page-certificate-maintenance .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro h2 {
        font-size: 1.8rem;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services h2 {
        font-size: 1.6rem;
    }
    
    .page-template-page-certificate-maintenance .service-item {
        padding: 20px 15px;
    }
    
    .page-template-page-certificate-maintenance .service-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .page-template-page-certificate-maintenance .service-item h3 {
        font-size: 1.2rem;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .page-template-page-certificate-maintenance .site-main {
        padding: 30px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services {
        margin: 30px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .page-template-page-certificate-maintenance .services-grid {
        gap: 15px;
    }
    
    .page-template-page-certificate-maintenance .service-item {
        padding: 15px 10px;
    }
    
    .page-template-page-certificate-maintenance .service-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro p {
        font-size: 14px;
    }
}

.page-template-page-certificate-maintenance .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-template-page-certificate-maintenance .maintenance-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.page-template-page-certificate-maintenance .maintenance-intro h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
    position: relative;
}

.page-template-page-certificate-maintenance .maintenance-intro h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-template-page-certificate-maintenance .maintenance-intro p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-template-page-certificate-maintenance .maintenance-services {
    margin: 40px 0;
}

.page-template-page-certificate-maintenance .maintenance-services h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    text-align: center;
}

.page-template-page-certificate-maintenance .maintenance-services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-template-page-certificate-maintenance .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.page-template-page-certificate-maintenance .service-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-template-page-certificate-maintenance .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-template-page-certificate-maintenance .service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-template-page-certificate-maintenance .service-item h3 {
    margin: 0 0 15px 0;
    color: #1a237e;
    font-size: 1.3rem;
}

.page-template-page-certificate-maintenance .service-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 - 证书维持页面 */
@media (max-width: 768px) {
    .page-template-page-certificate-maintenance .site-main {
        padding: 40px 0;
    }
    
    .page-template-page-certificate-maintenance .entry-content {
        padding: 0 15px;
    }
    
    .page-template-page-certificate-maintenance .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro h2 {
        font-size: 1.8rem;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services h2 {
        font-size: 1.6rem;
    }
    
    .page-template-page-certificate-maintenance .service-item {
        padding: 20px 15px;
    }
    
    .page-template-page-certificate-maintenance .service-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .page-template-page-certificate-maintenance .service-item h3 {
        font-size: 1.2rem;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .page-template-page-certificate-maintenance .site-main {
        padding: 30px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services {
        margin: 30px 0;
    }
    
    .page-template-page-certificate-maintenance .maintenance-services h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .page-template-page-certificate-maintenance .services-grid {
        gap: 15px;
    }
    
    .page-template-page-certificate-maintenance .service-item {
        padding: 15px 10px;
    }
    
    .page-template-page-certificate-maintenance .service-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .page-template-page-certificate-maintenance .maintenance-intro p {
        font-size: 14px;
    }
}

/* 通用页面标题美化 */
.page-title,
.entry-title {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title::after,
.entry-title::after {
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* 模板文件统一样式 */

/* 通用文章样式 */
.entry-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 15px;
    margin: 40px 0;
}

.entry-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.entry-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #3498db;
}

.entry-meta {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 15px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* 课程内容特殊样式 */
.content-course .entry-header {
    background: linear-gradient(135deg, #e8f4f8 0%, #d5edf7 100%);
}

.content-course .entry-title {
    color: #2c3e50;
}

.content-course .entry-title::after {
    background: linear-gradient(90deg, #3498db, #1abc9c);
}

/* 考试内容特殊样式 */
.content-exam .entry-header {
    background: linear-gradient(135deg, #f8e8f8 0%, #edd5f7 100%);
}

.content-exam .entry-title {
    color: #2c3e50;
}

.content-exam .entry-title::after {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

/* 考试信息样式 */
.exam-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #3498db;
}

.exam-info h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.exam-info p {
    margin: 10px 0;
    font-size: 1.1em;
}

.exam-info strong {
    color: #34495e;
}

/* 无结果页面样式 */
.no-results {
    display: none; /* 默认隐藏 */
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 15px;
    margin: 40px 0;
}

.no-results.show {
    display: block; /* 有 show 类时显示 */
}

/* 课程目录页面 - 网格布局 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

/* 课程卡片样式 - 使用更具体的选择器避免冲突 */
.course-grid .course-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.course-grid .course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0077ff 0%, #00d4ff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.course-grid .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,119,255,0.15);
    border-color: #0077ff;
}

.course-grid .course-card:hover::before {
    transform: scaleX(1);
}

/* 课程图标 */
.course-grid .course-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 8px;
}

/* 课程内容 */
.course-grid .course-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 0; /* 覆盖旧样式 */
}

/* 课程标题 */
.course-grid .course-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2937;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 课程元信息 */
.course-grid .course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 0; /* 覆盖旧样式 */
    border-top: none; /* 覆盖旧样式 */
}

.course-grid .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* 课程描述 */
.course-grid .course-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 课程操作按钮 */
.course-grid .course-actions {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.course-grid .btn-detail {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #0077ff 0%, #0055cc 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-grid .btn-detail:hover {
    background: linear-gradient(135deg, #0055cc 0%, #003d99 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,119,255,0.3);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0;
    }

    .course-grid .course-card {
        padding: 20px;
    }
}

.no-results .page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
}

.no-results .page-content {
    font-size: 1.2em;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.no-results .page-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-results .search-form {
    max-width: 400px;
    margin: 0 auto;
}

/* 页面头部样式 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 15px;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 300;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #1abc9c);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    
    .site-description {
        font-size: 1em;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid,
    .exams-list {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        display: block;
    }
    
    .main-navigation li {
        display: block;
        margin: 10px 0;
    }
    
    /* 报名表单响应式 */
    .enrollment-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    /* 移动端页面标题调整 */
    .page-title,
    .entry-title {
        font-size: 2rem;
    }
    
    /* 移动端卡片布局调整 */
    .courses-grid,
    .exams-list,
    .awareness-grid,
    .services-grid,
    .job-classes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 在中等屏幕设备上调整模块大小 */
@media (max-width: 1200px) and (min-width: 769px) {
    .modules-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .module {
        padding: 20px 12px;
    }
    
    .module h3 {
        font-size: 1.1em;
    }
    
    .module p {
        font-size: 0.85em;
    }
    
    .module .btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 现代化页脚样式 - 深蓝色背景 */
.site-footer {
    background: #1a237e; /* 深蓝色背景 */
    color: #ecf0f1;
    padding: 0;
    text-align: left;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 上部：公司信息 */
.footer-company {
    text-align: center;
    padding: 15px 0 8px; /* 减少内边距 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company h3 {
    color: #ffffff;
    font-size: 1.3rem; /* 减小字体 */
    margin-bottom: 8px; /* 减少间距 */
    font-weight: 600;
}

.footer-company .company-desc {
    color: #bdc3c7;
    line-height: 1.4; /* 减小行高 */
    margin-bottom: 0;
    font-size: 0.85rem; /* 减小字体 */
    max-width: 800px;
    margin: 0 auto;
}

/* 中部：左右两栏布局 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* 减少间距 */
    padding: 15px 0; /* 减少内边距 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem; /* 减小字体 */
    margin-bottom: 12px; /* 减少间距 */
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -4px; /* 调整位置 */
    left: 0;
    width: 40px; /* 减小宽度 */
    height: 2px;
    background: linear-gradient(90deg, #42a5f5, #1abc9c);
    border-radius: 2px;
}

/* 联系我们区域样式 */
.contact-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* 减少间距 */
    color: #ecf0f1;
    font-size: 0.85rem; /* 减小字体 */
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px; /* 减少内边距 */
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px); /* 减少位移 */
}

.contact-item i {
    margin-right: 10px; /* 减少间距 */
    color: #42a5f5;
    width: 20px; /* 减小宽度 */
    font-size: 1rem; /* 减小字体 */
    text-align: center;
}

.contact-item span {
    padding: 0;
    background: none;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
    text-align: left;
}

/* 微信扫码咨询区域样式 */
.qrcode-section {
    text-align: center;
}

.qrcode-section h4 {
    text-align: center;
}

.wechat-qrcode {
    margin: 12px 0; /* 减少间距 */
    padding: 6px; /* 减少内边距 */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px; /* 减小圆角 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* 减小阴影 */
    transition: all 0.3s ease;
    display: inline-block;
}

.wechat-qrcode:hover {
    transform: scale(1.03); /* 减少缩放 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* 减小阴影 */
}

.wechat-qrcode img {
    max-width: 110px; /* 减小尺寸 */
    height: 110px; /* 减小尺寸 */
    border: none;
    border-radius: 6px; /* 减小圆角 */
    padding: 0;
    background: none;
}

.wechat-id {
    color: #bdc3c7;
    font-size: 0.8rem; /* 减小字体 */
    margin-top: 8px; /* 减少间距 */
    font-weight: 500;
}

/* 下部：版权信息样式 */
.footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px 0; /* 减少内边距 */
	color: #95a5a6;
	font-size: 0.75rem; /* 减小字体 */
	text-align: center;
}

.footer-bottom .copyright {
	width: 100%;
}

.footer-bottom .copyright a {
	color: #42a5f5;
	text-decoration: none;
}

.footer-bottom .copyright a:hover {
	text-decoration: underline;
}

/* 响应式设计 - 页脚 */
@media (max-width: 992px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 15px; /* 减少间距 */
	}
	
	.contact-section {
		text-align: center;
	}
	
	.contact-item {
		justify-content: center;
	}
	
	.qrcode-section {
		margin-top: 12px; /* 减少间距 */
	}
}

@media (max-width: 768px) {
	.footer-company h3 {
		font-size: 1.2rem; /* 减小字体 */
	}
	
	.footer-company .company-desc {
		font-size: 0.8rem; /* 减小字体 */
	}
	
	.footer-section h4 {
		font-size: 1rem; /* 减小字体 */
	}
	
	.contact-item {
		font-size: 0.8rem; /* 减小字体 */
	}
	
	.wechat-qrcode img {
		max-width: 100px; /* 减小尺寸 */
		height: 100px; /* 减小尺寸 */
	}
	
	.wechat-id {
		font-size: 0.75rem; /* 减小字体 */
	}
	
	.footer-bottom {
		padding: 10px 0; /* 减少内边距 */
		font-size: 0.7rem; /* 减小字体 */
	}
}

@media (max-width: 576px) {
	.footer-wrapper {
		padding: 0 12px; /* 减少内边距 */
	}
	
	.footer-company {
		padding: 12px 0 6px; /* 减少内边距 */
	}
	
	.footer-company h3 {
		font-size: 1.1rem; /* 减小字体 */
	}
	
	.footer-company .company-desc {
		font-size: 0.75rem; /* 减小字体 */
	}
	
	.footer-content {
		padding: 12px 0; /* 减少内边距 */
		gap: 12px; /* 减少间距 */
	}
	
	.footer-section h4 {
		font-size: 0.95rem; /* 减小字体 */
	}
	
	.contact-item {
		font-size: 0.75rem; /* 减小字体 */
		padding: 5px 8px; /* 减少内边距 */
	}
	
	.wechat-qrcode {
		margin: 10px 0; /* 减少间距 */
		padding: 5px; /* 减少内边距 */
	}
	
	.wechat-qrcode img {
		max-width: 90px; /* 减小尺寸 */
		height: 90px; /* 减小尺寸 */
	}
	
	.wechat-id {
		font-size: 0.7rem; /* 减小字体 */
	}
	
	.footer-bottom {
		padding: 8px 0; /* 减少内边距 */
		font-size: 0.65rem; /* 减小字体 */
	}
	
	.footer-bottom .copyright {
		padding: 0 8px; /* 减少内边距 */
	}
}

/* 新增的ICP备案号样式 */
.footer-bottom .copyright a[rel="noopener"] {
	color: #42a5f5;
	text-decoration: none;
	border-bottom: 1px dotted #42a5f5;
}

.footer-bottom .copyright a[rel="noopener"]:hover {
	text-decoration: underline;
	border-bottom: 1px solid #42a5f5;
}
}


/* 空状态优化样式 */
.empty-state-container {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 24px;
    line-height: 1;
    animation: emptyStateFloat 3s ease-in-out infinite;
}

@keyframes emptyStateFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state-title {
    font-size: 28px;
    color: #1a237e;
    margin-bottom: 16px;
    font-weight: 600;
}

.empty-state-message {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}

.empty-state-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.empty-state-actions .btn-primary,
.empty-state-actions .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.empty-state-actions .btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.empty-state-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.4);
}

.empty-state-actions .btn-secondary {
    background: white;
    color: #1a237e;
    border: 2px solid #1a237e;
}

.empty-state-actions .btn-secondary:hover {
    background: #1a237e;
    color: white;
    transform: translateY(-2px);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .empty-state-container {
        padding: 60px 16px;
    }

    .empty-state-icon {
        font-size: 60px;
    }

    .empty-state-title {
        font-size: 24px;
    }

    .empty-state-message {
        font-size: 14px;
    }

    .empty-state-actions {
        flex-direction: column;
    }

    .empty-state-actions .btn-primary,
    .empty-state-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
