/* ========================================
   恒好考教育·中级经济师培训 - 全局样式
   主色调: #1565C0 (深蓝) #2196F3 (亮蓝) #E3F2FD (浅蓝背景)
   ======================================== */

:root {
    --primary: #1565C0;
    --primary-light: #2196F3;
    --primary-hover: #0D47A1;
    --bg-light: #E3F2FD;
    --bg-section: #F5F9FF;
    --text-dark: #1a1a2e;
    --text-gray: #555;
    --text-light: #888;
    --border: #e0e0e0;
    --white: #fff;
    --shadow: 0 4px 20px rgba(21,101,192,0.1);
    --shadow-hover: 0 8px 30px rgba(21,101,192,0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 懒加载占位 */
img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ====== 导航栏 ====== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
}

.nav { display: flex; gap: 36px; }
.nav a {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-yellow {
    background: linear-gradient(135deg, #F9A825, #FFCA28);
    color: #1a1a2e;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(249,168,37,0.35);
}
.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,168,37,0.45);
}

.btn-white:hover { background: var(--bg-light); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 1px;
}

/* ====== 轮播图 ====== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    margin-top: 72px;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(21,101,192,0.85) 0%, rgba(21,101,192,0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.hero-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ====== 通用区块标题 ====== */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 56px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.section-title p {
    font-size: 16px;
    color: var(--text-gray);
}
.section-title .line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ====== 题库入口 ====== */
.tiku-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px 0;
    color: var(--white);
}
.tiku-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.tiku-left h2 {
    font-size: 32px;
    margin-bottom: 12px;
}
.tiku-left p { opacity: 0.9; font-size: 16px; }
.tiku-right { display: flex; gap: 20px; }

/* ====== 优势卡片 ====== */
.advantage-section { background: var(--bg-section); }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.advantage-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--bg-light), var(--white));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    border: 1px solid rgba(21,101,192,0.1);
}
.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.advantage-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ====== 培训优势 ====== */
.train-section { background: var(--white); }
.train-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.train-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-section);
    transition: var(--transition);
}
.train-item:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
}
.train-num {
    width: 48px; height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.train-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.train-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ====== 班型介绍 ====== */
.class-section { background: var(--bg-section); }
.class-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.class-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.class-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.class-header {
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.class-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.class-header.blue { background: linear-gradient(135deg, #1565C0, #2196F3); }
.class-header.green { background: linear-gradient(135deg, #2E7D32, #66BB6A); }
.class-header.orange { background: linear-gradient(135deg, #E65100, #FF9800); }
.class-header.purple { background: linear-gradient(135deg, #6A1B9A, #AB47BC); }
.class-header.red { background: linear-gradient(135deg, #C62828, #EF5350); }

.class-header h3 {
    font-size: 20px;
    position: relative;
    z-index: 1;
}
.class-header .price {
    font-size: 32px;
    font-weight: 700;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.class-header .price small {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}
.class-body {
    padding: 24px 20px;
    flex: 1;
}
.class-body ul {
    list-style: none;
}
.class-body li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-gray);
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.class-body li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: bold;
}
.class-body li:last-child { border-bottom: none; }
.class-footer {
    padding: 0 20px 24px;
}
.class-footer .btn {
    width: 100%;
}

.class-tag {
    position: absolute;
    top: 12px; right: -30px;
    background: #FFD700;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    z-index: 2;
}
.class-card { position: relative; overflow: hidden; }

/* ====== 资讯区域 ====== */
.news-section { background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--white);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-img-wrap { overflow: hidden; }
.news-body { padding: 20px; }
.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
}
.news-category {
    background: var(--bg-light);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.news-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-title { color: var(--primary); }
.news-summary {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====== 联系我们 ====== */
.contact-section { background: var(--bg-section); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.contact-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}
.contact-text p {
    font-size: 14px;
    color: var(--text-gray);
}
.contact-qrcode {
    text-align: center;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-qrcode img {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
}
.contact-qrcode p {
    font-size: 15px;
    color: var(--text-gray);
}
.contact-qrcode strong {
    display: block;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ====== 页脚 ====== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}
.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ====== 资讯列表页 ====== */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
    margin-top: 72px;
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-banner p { opacity: 0.9; }

.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 48px 0;
}

.article-list { display: flex; flex-direction: column; gap: 24px; }

.article-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.article-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.article-item-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.article-item-body { display: flex; flex-direction: column; }
.article-item-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.article-item:hover .article-item-title { color: var(--primary); }
.article-item-summary {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* ====== 资讯详情页 ====== */
.article-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
}
.article-detail-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.article-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}
.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}
.article-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
}
.article-detail-content h2,
.article-detail-content h3 {
    color: var(--text-dark);
    margin: 32px 0 16px;
}
.article-detail-content p { margin-bottom: 16px; }
.article-detail-content ul,
.article-detail-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.article-detail-content li { margin-bottom: 8px; }
.article-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}
.article-detail-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    background: var(--bg-section);
    margin: 20px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-dark);
}

/* 侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-banner {
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.sidebar-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.sidebar-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.pagination a {
    color: var(--text-gray);
    background: var(--white);
}
.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pagination span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 600;
}

/* ====== 后台登录 ====== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.admin-login-box {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.admin-login-box h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}
.btn-block { width: 100%; padding: 14px; font-size: 16px; }

/* 后台管理 */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--text-dark);
    color: var(--white);
    padding: 24px 0;
}
.admin-sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
}
.admin-sidebar-header h3 {
    font-size: 18px;
    color: var(--white);
}
.admin-sidebar-header p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-left-color: var(--primary-light);
}
.admin-main {
    background: var(--bg-section);
    padding: 32px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.admin-header h2 { font-size: 24px; }
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.admin-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--text-dark);
}
.admin-table tr:hover { background: var(--bg-section); }
.admin-table .badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.badge-green { background: #E8F5E9; color: #2E7D32; }
.badge-gray { background: #F5F5F5; color: #757575; }
.admin-actions { display: flex; gap: 8px; }
.admin-actions a {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}
.admin-actions .edit { background: var(--bg-light); color: var(--primary); }
.admin-actions .delete { background: #FFEBEE; color: #C62828; }
.admin-actions a:hover { opacity: 0.8; }

/* 富文本编辑器容器 */
.editor-wrap { margin-bottom: 20px; }

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .class-grid { grid-template-columns: repeat(3, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-slider { height: 440px; }
    .hero-content h1 { font-size: 28px; }
    .hero-btns { flex-direction: column; }
    .advantage-grid { grid-template-columns: 1fr; }
    .train-grid { grid-template-columns: 1fr; }
    .class-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .tiku-inner { flex-direction: column; text-align: center; }
    .article-item { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-title h2 { font-size: 28px; }
    .admin-login-box { padding: 32px 24px; }
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
}
