/* ============================================
   时代升本 - 主样式表
   主色调: #1A4D8C (深蓝) 辅助色: #F5A623 (金色)
   ============================================ */

/* --- 基础重置 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #F5A623; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 颜色变量 --- */
:root {
    --primary: #1A4D8C;
    --primary-dark: #0d2e5a;
    --accent: #F5A623;
    --accent-hover: #e6951a;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --border: #e9ecef;
    --white: #fff;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 4px 20px rgba(0,0,0,.12);
    --radius: 8px;
    --transition: .3s ease;
}

/* --- 按钮 --- */
.btn { display: inline-block; padding: 12px 32px; border-radius: var(--radius); font-size: 15px; font-weight: 500; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245,166,35,.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ============================================
   头部导航
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: background var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { flex-shrink: 0; }
.logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.nav-list { display: flex; gap: 0; flex-wrap: nowrap; white-space: nowrap; }
.nav-item a { display: block; padding: 8px 14px; font-size: 15px; color: var(--text); font-weight: 500; position: relative; transition: color var(--transition); }
.nav-item a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent); transition: all var(--transition); transform: translateX(-50%); }
.nav-item a:hover, .nav-item.active a { color: var(--primary); }
.nav-item.active a::after, .nav-item a:hover::after { width: 60%; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: all var(--transition); }

/* 搜索框 */
.header-search { display: flex; align-items: center; margin-left: auto; margin-right: 16px; }
.search-toggle { background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); transition: color var(--transition); }
.search-toggle:hover { color: var(--accent); }
.search-box { display: none; position: absolute; top: 100%; right: 20px; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); padding: 12px; z-index: 100; width: 300px; }
.search-box.active { display: flex; gap: 8px; }
.search-box .search-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; outline: none; }
.search-box .search-input:focus { border-color: var(--primary); }
.search-box .search-submit { padding: 10px 16px; background: var(--primary); color: var(--white); border: none; border-radius: 4px; cursor: pointer; font-size: 14px; transition: background var(--transition); }
.search-box .search-submit:hover { background: var(--primary-dark); }

/* 搜索结果页 */
.search-form { display: flex; gap: 8px; }
.search-form .search-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; }
.search-form .search-btn { padding: 10px 16px; background: var(--primary); color: var(--white); border: none; border-radius: 4px; cursor: pointer; }
.empty-tip { text-align: center; padding: 40px; color: var(--text-muted); }

/* ============================================
   页面Banner (内页)
   ============================================ */
.page-banner { padding: 120px 0 60px; background: var(--primary); background-size: cover; background-position: center; color: var(--white); text-align: center; }
.page-banner-title { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-banner-desc { font-size: 16px; opacity: .85; }

/* ============================================
   首页 Hero Banner
   ============================================ */
.hero-banner { position: relative; margin-top: 70px; overflow: hidden; background: var(--primary-dark); }
.banner-slides { position: relative; }
.banner-slide { display: none; position: relative; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: 500px; object-fit: cover; }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(26,77,140,.8), rgba(13,46,90,.6)); display: flex; align-items: center; color: var(--white); }
.banner-title { font-size: 42px; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.banner-desc { font-size: 18px; margin-bottom: 28px; opacity: .9; max-width: 600px; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); border: none; color: var(--white); font-size: 36px; padding: 12px 18px; cursor: pointer; transition: background var(--transition); z-index: 10; border-radius: 4px; }
.banner-arrow:hover { background: rgba(255,255,255,.4); }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all var(--transition); border: none; }
.banner-dot.active { background: var(--accent); transform: scale(1.2); }

/* ============================================
   通用区块样式
   ============================================ */
.section { padding: 80px 0; }
.section.bg-light { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); margin-top: 16px; }
.section-footer { text-align: center; margin-top: 40px; }

/* --- 核心优势 --- */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.advantage-item { text-align: center; padding: 40px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: all var(--transition); }
.advantage-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.advantage-icon { font-size: 48px; margin-bottom: 20px; }
.advantage-title { font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.advantage-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- 课程卡片 --- */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.course-card-link { display: block; color: var(--text); }
.course-card-img { height: 200px; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-card-body { padding: 20px; }
.course-card-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.course-card-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-card-more { font-size: 14px; color: var(--primary); font-weight: 500; }

/* --- 师资卡片 --- */
.teachers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.teacher-card { text-align: center; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.teacher-card-img { height: 240px; overflow: hidden; }
.teacher-card-img img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card-body { padding: 20px; }
.teacher-card-name { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.teacher-card-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* --- 学员喜报 --- */
.success-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.success-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.success-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.success-card-img { height: 180px; overflow: hidden; }
.success-card-img img { width: 100%; height: 100%; object-fit: cover; }
.success-card-body { padding: 16px; }
.success-card-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.success-card-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* --- 备考资讯 --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card-link { display: flex; color: var(--text); }
.news-card-date { flex-shrink: 0; width: 80px; background: var(--primary); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 8px; }
.news-date-day { font-size: 28px; font-weight: 700; line-height: 1; }
.news-date-month { font-size: 12px; opacity: .8; margin-top: 4px; }
.news-card-body { padding: 16px; flex: 1; }
.news-card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================
   内页布局
   ============================================ */
.main-content { padding-top: 100px; padding-bottom: 60px; min-height: 60vh; }
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* --- 列表页布局 --- */
.list-layout, .article-layout, .single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }

/* --- 文章列表项 --- */
.article-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); transition: all var(--transition); }
.article-item:hover { background: var(--bg-light); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius); }
.article-item-img { flex-shrink: 0; width: 200px; height: 140px; border-radius: var(--radius); overflow: hidden; }
.article-item-img img { width: 100%; height: 100%; object-fit: cover; }
.article-item-body { flex: 1; }
.article-item-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.article-item-title a:hover { color: var(--primary); }
.article-item-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 12px; align-items: center; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.tag-top { background: #e74c3c; color: var(--white); }
.tag-recommend { background: var(--accent); color: var(--white); }

/* --- 分页 --- */
.pagination { margin-top: 40px; padding: 20px 0; }
.page-bar { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--text-light); background: var(--white); transition: all .2s; cursor: pointer; text-decoration: none; }
.page-btn:hover { background: var(--bg-light); border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); font-weight: 600; }
.page-btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.page-num { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--text-light); background: var(--white); transition: all .2s; text-decoration: none; }
.page-num:hover { background: var(--bg-light); border-color: var(--primary); color: var(--primary); }
.page-num.page-num-current { background: var(--primary); color: var(--white); border-color: var(--primary); font-weight: 600; }
.page-ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; color: var(--text-muted); font-size: 14px; }
.empty-tip { text-align: center; color: var(--text-muted); padding: 60px 0; font-size: 16px; }

/* --- 侧边栏 --- */
.sidebar-widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.sidebar-title { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.sidebar-nav li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav li a { font-size: 14px; color: var(--text-light); display: block; padding: 4px 8px; border-radius: 4px; transition: all var(--transition); }
.sidebar-nav li a:hover, .sidebar-nav li.active a { color: var(--primary); background: var(--bg-light); }
.sidebar-hot li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.sidebar-hot li:last-child { border-bottom: none; }
.sidebar-hot li a { font-size: 14px; color: var(--text-light); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-hot li a:hover { color: var(--primary); }
.hot-date { font-size: 12px; color: var(--text-muted); flex-shrink: 0; margin-left: 8px; }
.sidebar-contact p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }

/* --- 文章详情页 --- */
.article-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.article-meta { font-size: 14px; color: var(--text-muted); display: flex; gap: 20px; }
.article-cover { margin-bottom: 30px; }
.article-cover img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); }
.article-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-content h2 { font-size: 22px; font-weight: 600; color: var(--primary); margin: 30px 0 15px; padding-left: 12px; border-left: 4px solid var(--accent); }
.article-content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-nav-item { padding: 16px; background: var(--bg-light); border-radius: var(--radius); }
.article-nav-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }

/* --- 文章底部信息框 --- */
.article-tail { margin: 25px 0 0; padding: 20px; border-top: 1px dashed #ddd; font-size: 14px; line-height: 2; color: #666; }
.article-source { margin: 0 0 8px; }
.article-source span { color: #999; }
.article-tail-divider { height: 1px; background: #eee; margin: 10px 0; }
.article-tail-contact { margin: 0 0 4px; }
.article-tail-contact strong { color: #333; font-weight: bold; }
.article-tail-contact a { color: #C00000; font-weight: bold; text-decoration: none; }
.article-tail-contact a:hover { text-decoration: underline; }
.article-tail-slogan { margin: 0; font-size: 12px; color: #999; }

/* --- 单页 --- */
.single-content { font-size: 16px; line-height: 1.8; }
.single-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }

/* ============================================
   页脚
   ============================================ */
.footer { background: #1a2332; color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; opacity: .7; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; opacity: .7; transition: opacity var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-contact li { font-size: 14px; margin-bottom: 8px; opacity: .7; }
.qrcode-list { display: flex; gap: 20px; justify-content: flex-start; }
.qrcode-wrap { text-align: center; flex: 0 0 auto; width: 110px; }
.qrcode-wrap img { width: 110px; height: 110px; border-radius: 8px; margin: 0 auto 8px; background: var(--white); object-fit: cover; display: block; border: 1px solid var(--border); }
.qrcode-wrap span { font-size: 12px; opacity: .6; display: block; white-space: nowrap; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; opacity: .5; }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   手机端底部导航
   ============================================ */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); box-shadow: 0 -2px 12px rgba(0,0,0,.08); z-index: 1000; padding: 8px 0 env(safe-area-inset-bottom); border-top: 1px solid #f0f0f0; }
.mobile-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 0; font-size: 10px; color: #888; text-decoration: none; transition: color .2s; }
.mobile-nav-item:active { color: var(--primary); }
.mobile-nav-icon { width: 24px; height: 24px; margin-bottom: 2px; }
.mobile-nav-item span { line-height: 1; letter-spacing: .5px; }

/* 微信弹窗 */
.wechat-popup { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; }
.wechat-popup.show { display: flex; align-items: center; justify-content: center; }
.wechat-popup-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); }
.wechat-popup-content { position: relative; background: var(--white); border-radius: 16px; padding: 30px 24px 24px; text-align: center; z-index: 1; width: 280px; box-shadow: 0 10px 40px rgba(0,0,0,.2); animation: popupFadeIn .3s ease; }
@keyframes popupFadeIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.wechat-popup-close { position: absolute; top: 10px; right: 14px; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.wechat-popup-close:hover { color: #333; }
.wechat-popup-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 16px; }
.wechat-popup-qrcode { width: 180px; height: 180px; margin: 0 auto 12px; border-radius: 8px; overflow: hidden; border: 1px solid #eee; }
.wechat-popup-qrcode img { width: 100%; height: 100%; object-fit: cover; }
.wechat-popup-tip { font-size: 13px; color: #999; }
.mobile-nav-cta { background: var(--primary); color: var(--white) !important; }

/* --- 返回顶部 --- */
.back-to-top { position: fixed; bottom: 80px; right: 20px; width: 44px; height: 44px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 999; box-shadow: var(--shadow); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

/* ============================================
   响应式 - 平板端 (<1200px)
   ============================================ */
@media (max-width: 1199px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .teachers-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .list-layout, .article-layout, .single-layout { grid-template-columns: 1fr; }
    .list-sidebar, .article-sidebar, .single-sidebar { order: 2; }
}

/* ============================================
   响应式 - 平板端底部导航 (<1024px)
   ============================================ */
@media (max-width: 1024px) {
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 70px; }
    .back-to-top { bottom: 80px; }
}

/* ============================================
   响应式 - 手机端 (<768px)
   ============================================ */
@media (max-width: 767px) {
    html { font-size: 14px; }
    .container { padding: 0 16px; }
    .header-inner { height: 60px; }
    .logo img { height: 32px; }

    /* 汉堡菜单 */
     .menu-toggle { display: block; }
    .header-search { margin-right: 8px; }
    .search-box { right: 10px; width: calc(100vw - 20px); }
    .main-nav { position: fixed; top: 60px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    .main-nav.open { max-height: 400px; }
    .nav-list { flex-direction: column; padding: 10px 0; }
    .nav-item a { padding: 12px 20px; border-bottom: 1px solid var(--border); color: var(--text); }
    .nav-item a::after { display: none; }

    /* Hero Banner */
    .hero-banner { margin-top: 60px; }
    .banner-slide img { height: 300px; }
    .banner-title { font-size: 24px; }
    .banner-desc { font-size: 14px; }
    .banner-arrow { font-size: 24px; padding: 8px 12px; }

    /* 内页Banner */
    .page-banner { padding: 90px 0 40px; }
    .page-banner-title { font-size: 24px; }

    /* Section */
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .section-header { margin-bottom: 30px; }

    /* 优势 */
    .advantages-grid { grid-template-columns: 1fr; gap: 16px; }
    .advantage-item { padding: 24px 16px; }

    /* 课程/师资/资讯 */
    .courses-grid, .teachers-grid, .success-grid, .news-grid { grid-template-columns: 1fr; gap: 16px; }
    .course-card-img { height: 160px; }
    .teacher-card-img { height: 200px; }

    /* 列表项 */
    .article-item { flex-direction: column; gap: 12px; }
    .article-item-img { width: 100%; height: 180px; }

    /* 侧边栏 */
    .list-layout, .article-layout, .single-layout { grid-template-columns: 1fr; gap: 20px; }

    /* 文章详情 */
    .article-title { font-size: 22px; }
    .article-meta { flex-wrap: wrap; gap: 8px; }
    .article-nav { grid-template-columns: 1fr; }

    /* 页脚 */
    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-col-qrcode { text-align: center; }
    .qrcode-list { justify-content: center; }

    /* 手机底部导航 */
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 70px; }
    .back-to-top { bottom: 80px; }

    /* 院校地图 */
    .school-map-container { flex-direction: column; }
    .hubei-map { width: 100%; max-width: 500px; margin: 0 auto; }
    .city-label { font-size: 10px !important; }
    .map-stats { flex-wrap: wrap; gap: 12px; }
    .stat-item { flex: 1; min-width: 80px; }

    /* 学校专题页 */
    .school-header { flex-direction: column; gap: 16px; }
    .school-layout { grid-template-columns: 1fr; }
    .school-sidebar { order: 2; }
}

/* ============================================
   院校地图 & 学校专题页
   ============================================ */

/* 页面标题 */
.page-banner { text-align: center; padding: 60px 0 40px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); border-radius: 0 0 20px 20px; }
.page-banner-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.page-banner-subtitle { font-size: 18px; opacity: 0.9; }

/* 统计信息 */
.map-stats { display: flex; gap: 16px; margin-bottom: 30px; padding: 24px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 12px; }
.stat-item { flex: 1; text-align: center; color: var(--white); }
.stat-num { display: block; font-size: 32px; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 13px; opacity: .85; }

/* 城市卡片网格 */
.school-map-section { padding: 0 0 40px; }
.map-container { position: relative; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-card { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--white); border: 2px solid var(--border); border-radius: 10px; cursor: pointer; transition: all .3s; }
.city-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(26,77,140,.15); transform: translateY(-2px); }
.city-name { font-size: 16px; font-weight: 600; color: var(--text); }
.city-count { font-size: 14px; color: var(--primary); font-weight: 500; }
.city-arrow { font-size: 20px; color: var(--text-muted); transition: transform .3s; }
.city-card:hover .city-arrow { transform: translateX(4px); color: var(--primary); }

/* 全部院校表格 */
.all-schools-section { margin-top: 40px; }
.school-type-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.type-tab { padding: 10px 20px; border: 2px solid var(--border); border-radius: 8px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--text-light); cursor: pointer; transition: all .2s; }
.type-tab:hover { border-color: var(--primary); color: var(--primary); }
.type-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.schools-table { overflow-x: auto; }
.schools-table table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.schools-table th { padding: 14px 16px; background: var(--bg-light); font-size: 14px; font-weight: 600; color: var(--text); text-align: left; border-bottom: 2px solid var(--border); }
.schools-table td { padding: 12px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.schools-table tr:hover { background: var(--bg-light); }
.type-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.type-badge.public { background: #e8f5e9; color: #2e7d32; }
.type-badge.private { background: #fff3e0; color: #e65100; }
.btn-link { color: var(--primary); text-decoration: none; font-weight: 500; }
.btn-link:hover { text-decoration: underline; }

/* 城市学校弹窗 */
.city-schools-popup { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; }
.city-schools-popup.show { display: flex; align-items: center; justify-content: center; }
.popup-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); }
.popup-content { position: relative; background: var(--white); border-radius: 12px; width: 90%; max-width: 500px; max-height: 80vh; overflow: hidden; z-index: 1; animation: popupFadeIn .3s ease; }
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--primary); color: var(--white); }
.popup-title { font-size: 18px; font-weight: 600; margin: 0; color: var(--white); }
.popup-close { font-size: 28px; color: rgba(255,255,255,.8); cursor: pointer; line-height: 1; }
.popup-close:hover { color: var(--white); }
.popup-body { padding: 16px 20px; overflow-y: auto; max-height: calc(80vh - 60px); }
.school-list { list-style: none; padding: 0; margin: 0; }
.school-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.school-list li:last-child { border-bottom: none; }
.school-list a { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 8px; transition: all .2s; }
.school-list a:hover { background: var(--bg-light); color: var(--primary); }
.school-list a::after { content: '\2192'; color: var(--text-muted); transition: transform .2s; }
.school-list a:hover::after { transform: translateX(4px); color: var(--primary); }

/* 学校专题页 */
.school-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 30px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.school-name { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.school-desc { font-size: 15px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.school-meta { display: flex; gap: 12px; }
.school-tag { display: inline-block; padding: 4px 12px; background: var(--primary); color: var(--white); border-radius: 20px; font-size: 12px; }
.school-actions { display: flex; gap: 12px; flex-shrink: 0; }
.school-actions .btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 14px; }

/* 学校布局 */
.school-layout { display: grid; grid-template-columns: 1fr 280px; gap: 30px; }
.school-main { min-width: 0; }

/* 学校简介 */
.school-about { margin-bottom: 40px; }
.school-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.school-content p { margin-bottom: 16px; }

/* 资讯列表 */
.school-news { margin-bottom: 40px; }
.news-list { margin-top: 20px; }
.news-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.news-date { flex-shrink: 0; width: 60px; text-align: center; }
.date-day { display: block; font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1; }
.date-month { font-size: 12px; color: var(--text-muted); }
.news-content { flex: 1; min-width: 0; }
.news-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.news-title a { color: var(--text); text-decoration: none; }
.news-title a:hover { color: var(--primary); }
.news-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* 侧边栏 */
.school-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--bg-light); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.school-info-list { }
.info-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-item:last-child { border-bottom: none; }
.info-label { color: var(--text-muted); }
.info-value { color: var(--text); font-weight: 500; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a { display: block; padding: 8px 12px; font-size: 14px; color: var(--text-light); text-decoration: none; border-radius: 6px; transition: all .2s; }
.sidebar-links a:hover { background: var(--white); color: var(--primary); }

/* 响应式 - 平板 */
@media (max-width: 992px) {
    .city-grid { grid-template-columns: repeat(3, 1fr); }
    .map-stats { flex-wrap: wrap; }
    .stat-item { min-width: calc(50% - 8px); }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .city-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .city-card { padding: 12px 14px; }
    .city-name { font-size: 14px; }
    .city-count { font-size: 12px; }
    .stat-num { font-size: 24px; }
    .page-banner { padding: 40px 0 24px; }
    .page-banner-title { font-size: 24px; }
    .page-banner-subtitle { font-size: 16px; }
    .school-header { flex-direction: column; gap: 16px; }
    .school-layout { grid-template-columns: 1fr; }
    .school-type-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .type-tab { flex-shrink: 0; padding: 8px 16px; font-size: 13px; }
    .schools-table { font-size: 13px; }
    .schools-table th, .schools-table td { padding: 10px 12px; }
    .all-schools-section { margin-top: 30px; }
}
