/* 学多帮 全站主样式 */
:root {
    --primary: #1e5fff;
    --primary-dark: #1646c0;
    --primary-light: #e8efff;
    --secondary: #ff6b35;
    --secondary-dark: #d9511e;
    --accent: #00b894;
    --text: #2c3e50;
    --text-light: #6b7c93;
    --bg: #ffffff;
    --bg-soft: #f6f9ff;
    --bg-grey: #f4f6f9;
    --border: #e6ebf2;
    --shadow: 0 4px 16px rgba(30, 95, 255, 0.08);
    --shadow-hover: 0 8px 30px rgba(30, 95, 255, 0.15);
    --radius: 10px;
    --radius-lg: 16px;
    --gradient-primary: linear-gradient(135deg, #1e5fff 0%, #4f8cff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffa07a 100%);
    --gradient-ai: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-constructor: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-k12: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-art: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: all .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4, h5 { font-weight: 600; color: var(--text); margin: 0 0 .5em; line-height: 1.3; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* 顶部信息条 */
.topbar { background: #1a2236; color: #c0c8d4; font-size: 12px; padding: 8px 0; }
.topbar a { color: #c0c8d4; margin: 0 6px; }
.topbar a:hover { color: #fff; }
.topbar .topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar .topbar-info i { margin-right: 4px; color: var(--primary); }
.topbar .topbar-tools a { padding: 0 10px; }

/* 导航 */
.header { background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.04); position: sticky; top: 0; z-index: 999; }
.header .header-inner { display: flex; align-items: center; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; }
.logo .logo-text { font-size: 22px; font-weight: 700; color: var(--primary); }
.logo .logo-text small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; margin-top: 2px; }
.nav { margin-left: 40px; flex: 1; }
.nav ul { list-style: none; padding: 0; margin: 0; display: flex; }
.nav li { position: relative; }
.nav li a {
    display: block;
    padding: 0 22px;
    line-height: 78px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}
.nav > ul > li > a:hover, .nav > ul > li.active > a { color: var(--primary); }
.nav > ul > li.active > a { position: relative; }
.nav > ul > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    min-width: 200px;
    display: none;
    border-radius: 6px;
    padding: 6px 0;
    z-index: 100;
}
.nav li:hover .submenu { display: block; }
.nav .submenu li a {
    line-height: 1.6;
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.nav .submenu li:last-child a { border-bottom: 0; }
.nav .submenu li a:hover { background: var(--primary-light); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { color: var(--secondary); font-weight: 700; font-size: 20px; }
.header-phone small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; }

/* 按钮 */
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: all .2s; text-align: center; line-height: 1.4; }
.btn-primary { background: var(--gradient-primary); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 4px 12px rgba(30,95,255,.3); transform: translateY(-1px); }
.btn-secondary { background: var(--gradient-secondary); color: #fff; }
.btn-secondary:hover { color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-block { display: block; width: 100%; }

/* 轮播 — 图片铺满两边（cover），按图片比例自适应高度，适配任何显示器 */
/* 推荐图片尺寸：2560 × 700（覆盖 90% 用户，4K 屏轻微裁切） */
.hero-slider {
    position: relative; overflow: hidden;
    width: 100%;
    aspect-ratio: 2560 / 700;        /* 按图片比例自动算高度 */
    max-height: 700px;                /* 上限：避免 4K 屏太高 */
    margin: 0 auto;
}
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide-bg {
    position: absolute !important; inset: 0;
    width: 100% !important; height: 100% !important;
    object-fit: cover;                /* 关键：铺满两边（左右不留白） */
    display: block;
}
.hero-slider .slide-bg-mobile { display: none; }   /* 默认隐藏手机图 */

/* 平板及以下：切换手机图 */
@media (max-width: 768px) {
    .hero-slider { aspect-ratio: 1080 / 500; max-height: 500px; }
    .hero-slider .slide-bg-desktop { display: none !important; }
    .hero-slider .slide-bg-mobile { display: block !important; }
}
/* 手机：更紧凑 */
@media (max-width: 480px) {
    .hero-slider { aspect-ratio: 750 / 400; max-height: 400px; }
}
.hero-slider .slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%); }
.hero-slider .slide-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-slider .slide-text { color: #fff; max-width: 600px; padding-left: 6%; }
.hero-slider .slide-text h1 { color: #fff; font-size: 44px; line-height: 1.2; margin-bottom: 18px; }
.hero-slider .slide-text p { font-size: 18px; color: #f0f4ff; margin-bottom: 30px; }
.hero-slider .slide-indicators { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-slider .slide-indicators span { width: 36px; height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; cursor: pointer; }
.hero-slider .slide-indicators span.active { background: #fff; width: 56px; }
.hero-slider .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all .2s;
}
.hero-slider .slide-arrow:hover { background: rgba(255,255,255,.3); }
.hero-slider .slide-arrow.prev { left: 30px; }
.hero-slider .slide-arrow.next { right: 30px; }

/* 模块标题 */
.section { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-grey { background: var(--bg-grey); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title h2 small { display: block; font-size: 14px; color: var(--text-light); font-weight: 400; margin-top: 6px; }
.section-title h2 strong { color: var(--primary); }
.section-title .line { width: 60px; height: 3px; background: var(--gradient-primary); margin: 16px auto; border-radius: 2px; }

/* 业务入口卡片 */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.biz-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    background-size: cover;
    background-position: center;
    gap: 4px;
}
.biz-card::before { content: ''; position: absolute; inset: 0; z-index: 0; opacity: .8; }
.biz-card.biz-ai::before { background: var(--gradient-ai); }
.biz-card.biz-constructor::before { background: var(--gradient-constructor); }
.biz-card.biz-k12::before { background: var(--gradient-k12); }
.biz-card.biz-art::before { background: var(--gradient-art); }
.biz-card > * { position: relative; z-index: 1; }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.biz-card h3 { color: #fff; font-size: 22px; margin: 0; line-height: 1.2; }
.biz-card p { color: rgba(255,255,255,.9); font-size: 13px; margin: 0; line-height: 1.5; }
.biz-card .biz-link { color: #fff; font-size: 13px; line-height: 1.4; }
.biz-card .biz-icon { position: absolute; top: 18px; right: 18px; font-size: 48px; opacity: .3; line-height: 1; pointer-events: none; }
.biz-card .biz-tag { display: inline-block; background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 10px; font-size: 12px; line-height: 1.4; }

/* 课程卡片 */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.course-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.course-card .cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .cover img { transform: scale(1.05); }
.course-card .tag-hot, .course-card .tag-new { position: absolute; top: 12px; left: 12px; background: var(--secondary); color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 500; }
.course-card .tag-new { background: var(--accent); left: auto; right: 12px; }
.course-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.course-card h4 { font-size: 16px; line-height: 1.4; margin-bottom: 8px; min-height: 44px; }
.course-card h4 a { color: var(--text); }
.course-card h4 a:hover { color: var(--primary); }
.course-card .summary { color: var(--text-light); font-size: 12px; line-height: 1.5; margin-bottom: 12px; min-height: 36px; }
.course-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); padding: 8px 0; border-top: 1px dashed var(--border); margin-top: auto; }
.course-card .price { color: var(--secondary); font-size: 20px; font-weight: 700; }
.course-card .price small { font-size: 12px; color: var(--text-light); text-decoration: line-through; font-weight: 400; margin-left: 4px; }
.course-card .footer-action { display: flex; gap: 8px; margin-top: 12px; }
.course-card .footer-action .btn { flex: 1; padding: 8px 12px; font-size: 13px; }

/* 师资卡片 */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card {
    background: #fff;
    border-radius: var(--radius);
    text-align: center;
    padding: 28px 18px;
    box-shadow: var(--shadow);
    transition: all .3s;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.teacher-card .avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; border: 3px solid var(--primary-light); }
.teacher-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card h4 { margin-bottom: 4px; }
.teacher-card .title { color: var(--primary); font-size: 13px; margin-bottom: 8px; }
.teacher-card .specialty { color: var(--text-light); font-size: 12px; line-height: 1.6; min-height: 38px; }

/* 学员见证 */
.testimonial-wrap { position: relative; padding: 0 40px; }
.testimonial-list { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory; max-width: 100%; }
.testimonial-list::-webkit-scrollbar { height: 6px; }
.testimonial-list::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
.testimonial-card {
    flex: 0 0 calc(33.33% - 14px);
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    position: relative;
}
.testimonial-card::before { content: '"'; position: absolute; top: -10px; left: 16px; font-size: 80px; color: var(--primary-light); font-family: serif; line-height: 1; }
.testimonial-card .content { color: var(--text); font-size: 13px; line-height: 1.7; margin: 16px 0; min-height: 100px; }
.testimonial-card .user { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 14px; }
.testimonial-card .user .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-card .user .name { font-weight: 600; font-size: 14px; }
.testimonial-card .user .meta { font-size: 12px; color: var(--text-light); }
.testimonial-card .stars { color: #f5b301; font-size: 12px; }

/* 数据 */
.stats-section { background: var(--gradient-primary); padding: 50px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 42px; font-weight: 700; margin-bottom: 6px; }
.stat-num small { font-size: 18px; }
.stat-label { color: rgba(255,255,255,.85); font-size: 14px; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.news-grid .news-feature { grid-row: span 2; }
.news-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-item .cover { aspect-ratio: 16/9; overflow: hidden; }
.news-item .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-item:hover .cover img { transform: scale(1.05); }
.news-item .body { padding: 18px; flex: 1; }
.news-item h4 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; min-height: 42px; }
.news-item h4 a { color: var(--text); }
.news-item h4 a:hover { color: var(--primary); }
.news-item .summary { color: var(--text-light); font-size: 12px; line-height: 1.6; margin-bottom: 8px; }
.news-item .meta { font-size: 12px; color: var(--text-light); }
.news-item.feature h4 { font-size: 18px; min-height: 50px; }

/* 报名表单 */
.enroll-form {
    background: linear-gradient(135deg, #1e5fff 0%, #4f8cff 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.enroll-form::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: rgba(255,255,255,.08); border-radius: 50%; }
.enroll-form h2 { color: #fff; font-size: 30px; }
.enroll-form h2 small { display: block; font-size: 14px; color: rgba(255,255,255,.85); font-weight: 400; margin-top: 4px; }
.enroll-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.enroll-form .form-group { margin-bottom: 0; }
.enroll-form .form-group label { display: block; color: rgba(255,255,255,.9); font-size: 12px; margin-bottom: 4px; }
.enroll-form .form-control {
    background: rgba(255,255,255,.95);
    border: none;
    color: var(--text);
    height: 44px;
    border-radius: 6px;
    padding: 0 14px;
    width: 100%;
    font-size: 14px;
}
.enroll-form textarea.form-control { height: 90px; padding: 10px 14px; resize: vertical; }
.enroll-form .btn-secondary { background: #fff; color: var(--primary); }
.enroll-form .btn-secondary:hover { background: var(--secondary); color: #fff; }
.enroll-form .benefit { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.enroll-form .benefit span { color: rgba(255,255,255,.9); font-size: 13px; }
.enroll-form .benefit span::before { content: '✓'; color: #fff; background: rgba(255,255,255,.2); width: 18px; height: 18px; border-radius: 50%; display: inline-block; text-align: center; line-height: 18px; margin-right: 6px; font-size: 11px; }

/* 底部 */
.footer { background: #1a2236; color: #aab4c4; padding: 50px 0 0; margin-top: 60px; }
.footer a { color: #aab4c4; }
.footer a:hover { color: #fff; }
.footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 30px; }
.footer .footer-bottom { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { line-height: 2; font-size: 13px; }
.footer .contact-line { margin-bottom: 8px; font-size: 13px; }
.footer .contact-line strong { color: #fff; display: block; }
.footer .qrcode { display: flex; gap: 12px; margin-top: 12px; }
.footer .qrcode .qr { background: #fff; padding: 6px; border-radius: 6px; width: 84px; }
.footer .qrcode .qr img { width: 100%; }
.footer .qrcode .qr p { font-size: 11px; text-align: center; color: #aab4c4; margin: 4px 0 0; }
.footer .copyright { border-top: 1px solid #2a3450; padding: 18px 0; margin-top: 30px; text-align: center; font-size: 12px; color: #6b7794; }
.footer .beian { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer .beian a { color: #6b7794; }
.footer .beian a:hover { color: #aab4c4; }

/* 浮动工具栏 */
.floating-tools { position: fixed; right: 18px; bottom: 80px; z-index: 99; }
.floating-tools .tool { display: block; width: 54px; height: 54px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); border-radius: 8px; margin-bottom: 8px; text-align: center; color: var(--primary); cursor: pointer; transition: all .2s; position: relative; }
.floating-tools .tool:hover { background: var(--primary); color: #fff; transform: translateX(-3px); }
.floating-tools .tool i { display: block; font-size: 22px; line-height: 30px; margin-top: 8px; }
.floating-tools .tool small { display: block; font-size: 11px; }
.floating-tools .tool .qr-popup { position: absolute; right: 64px; top: 0; background: #fff; padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-radius: 8px; display: none; min-width: 160px; }
.floating-tools .tool:hover .qr-popup { display: block; }
.floating-tools .tool .qr-popup img { width: 140px; }
.floating-tools .tool .qr-popup p { font-size: 12px; text-align: center; color: var(--text); margin: 6px 0 0; }
.floating-tools .tool-top { background: var(--primary); color: #fff; }

/* 面包屑 */
.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* 页面标题 */
.page-header { background: var(--gradient-primary); color: #fff; padding: 70px 0 60px; text-align: center; }
.page-header h1 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.page-header .sub { color: rgba(255,255,255,.85); font-size: 16px; }
.page-header .page-header-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; text-align: left; max-width: 1100px; margin: 0 auto;
}
.page-header .page-header-row h1 { margin-bottom: 0; flex-shrink: 0; }
.page-header .page-header-row .sub {
    flex: 1; min-width: 0; text-align: right;
    border-left: 1px solid rgba(255,255,255,.3); padding-left: 30px; margin: 0;
}
.page-header .cat-list { margin-top: 24px; }
.page-header .cat-list a { display: inline-block; padding: 6px 16px; background: rgba(255,255,255,.15); color: #fff; border-radius: 20px; margin: 4px; font-size: 13px; }
.page-header .cat-list a:hover, .page-header .cat-list a.active { background: #fff; color: var(--primary); }

/* 课程列表页 */
.course-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #fff; border-radius: 6px; margin-bottom: 20px; box-shadow: var(--shadow); }
.course-toolbar .sort { display: flex; gap: 12px; }
.course-toolbar .sort a { color: var(--text-light); padding: 4px 10px; border-radius: 4px; font-size: 13px; }
.course-toolbar .sort a.active, .course-toolbar .sort a:hover { background: var(--primary-light); color: var(--primary); }
.course-toolbar .total { color: var(--text-light); font-size: 13px; }
.course-toolbar .total strong { color: var(--primary); }
.course-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-list-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* 课程详情 */
.course-detail { display: grid; grid-template-columns: 1fr 360px; gap: 30px; }
.course-detail > * { min-width: 0; }
.course-detail .main { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.course-detail h1 { font-size: 28px; margin-bottom: 14px; }
.course-detail .desc { color: var(--text-light); font-size: 15px; margin-bottom: 20px; }
.course-detail .info-bar { display: flex; gap: 30px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.course-detail .info-bar .item .label { color: var(--text-light); font-size: 12px; }
.course-detail .info-bar .item .val { color: var(--text); font-weight: 600; }
.course-detail .info-bar .item .price { color: var(--secondary); font-size: 28px; font-weight: 700; }
.course-detail .info-bar .item .price small { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.course-detail .tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin: 20px 0; }
.course-detail .tabs a { padding: 12px 24px; color: var(--text); font-weight: 500; }
.course-detail .tabs a.active { color: var(--primary); position: relative; }
.course-detail .tabs a.active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -2px; height: 2px; background: var(--primary); }
.course-detail .content-body { line-height: 1.8; color: var(--text); }
.course-detail .content-body h3 { margin-top: 24px; color: var(--text); font-size: 18px; padding-left: 12px; border-left: 4px solid var(--primary); }
.course-detail .content-body ul, .course-detail .content-body ol { padding-left: 24px; }
.course-detail .content-body li { margin-bottom: 6px; }
.course-detail .sidebar { align-self: start; position: sticky; top: 100px; }
.course-detail .sidebar .price-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
.course-detail .sidebar .price-card .price-top { padding: 20px; text-align: center; }
.course-detail .sidebar .price-card .price-top .price { color: var(--secondary); font-size: 38px; font-weight: 700; }
.course-detail .sidebar .price-card .price-top .price small { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.course-detail .sidebar .price-card .price-top .label { color: var(--text-light); font-size: 12px; margin-top: 4px; }
.course-detail .sidebar .price-card .price-body { padding: 0 20px 20px; }
.course-detail .sidebar .price-card .actions { display: flex; gap: 8px; }
.course-detail .sidebar .price-card .actions .btn { flex: 1; }
.course-detail .sidebar .teacher-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.course-detail .sidebar .teacher-card .t-info { display: flex; align-items: center; gap: 12px; }
.course-detail .sidebar .teacher-card .t-info img { width: 60px; height: 60px; border-radius: 50%; }
.course-detail .sidebar .contact-card { background: var(--gradient-primary); color: #fff; border-radius: var(--radius); padding: 20px; text-align: center; margin-bottom: 16px; }
.course-detail .sidebar .contact-card h4 { color: #fff; }
.course-detail .sidebar .contact-card .phone { font-size: 24px; font-weight: 700; margin: 8px 0; }

/* 关于我们、关于页 */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-block .img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-block h2 { font-size: 28px; }
.about-block h2 strong { color: var(--primary); }
.about-block .features { list-style: none; padding: 0; }
.about-block .features li { padding: 8px 0 8px 26px; position: relative; }
.about-block .features li::before { content: '✓'; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; background: var(--primary-light); color: var(--primary); border-radius: 50%; text-align: center; line-height: 18px; font-size: 11px; font-weight: 700; }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.honor-card .icon { width: 70px; height: 70px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 12px; }
.honor-card h4 { font-size: 15px; margin-bottom: 4px; }
.honor-card p { color: var(--text-light); font-size: 12px; margin: 0; }

/* 联系方式 */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.contact-info { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-info .item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .icon { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-info .item h4 { margin-bottom: 4px; font-size: 15px; }
.contact-info .item p { color: var(--text-light); margin: 0; font-size: 13px; }
.contact-info .item .val { color: var(--secondary); font-weight: 600; font-size: 18px; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text); font-size: 13px; }
.form-group .form-control { width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; transition: all .2s; }
.form-group textarea.form-control { height: 110px; padding: 10px 14px; resize: vertical; }
.form-group .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,95,255,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campus-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.campus-tabs a { padding: 8px 16px; border-radius: 4px; font-size: 13px; background: var(--bg-grey); color: var(--text); }
.campus-tabs a.active, .campus-tabs a:hover { background: var(--primary); color: #fff; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 360px; background: #f0f4f9; position: relative; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* 报名页 */
.enroll-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.enroll-main { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.enroll-main h2 { margin-bottom: 6px; }
.enroll-main .sub { color: var(--text-light); margin-bottom: 24px; }
.enroll-form-page { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enroll-form-page .form-group.full { grid-column: span 2; }
.enroll-sidebar .course-summary { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.enroll-sidebar .course-summary h4 { color: var(--text); margin-bottom: 12px; }
.enroll-sidebar .course-summary .price { color: var(--secondary); font-size: 30px; font-weight: 700; }
.enroll-sidebar .course-summary .price small { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-weight: 400; }
.enroll-sidebar .course-summary ul { list-style: none; padding: 0; margin: 16px 0 0; }
.enroll-sidebar .course-summary li { padding: 6px 0 6px 22px; position: relative; color: var(--text); font-size: 13px; }
.enroll-sidebar .course-summary li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.enroll-sidebar .contact-box { background: var(--gradient-primary); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.enroll-sidebar .contact-box h4 { color: #fff; margin-bottom: 6px; }
.enroll-sidebar .contact-box p { color: rgba(255,255,255,.85); margin-bottom: 14px; font-size: 13px; }
.enroll-sidebar .contact-box .phone { font-size: 26px; font-weight: 700; margin: 14px 0; }

/* 支付页 */
.pay-page { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.pay-main { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.pay-main h2 { margin-bottom: 6px; }
.pay-main .order-info { background: var(--bg-soft); padding: 20px; border-radius: 8px; margin: 20px 0; }
.pay-main .order-info .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.pay-main .order-info .row strong { color: var(--text); }
.pay-main .order-info .row .price { color: var(--secondary); font-size: 22px; font-weight: 700; }
.pay-main .pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-main .pay-methods .method { border: 2px solid var(--border); border-radius: 8px; padding: 18px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all .2s; }
.pay-main .pay-methods .method.active, .pay-main .pay-methods .method:hover { border-color: var(--primary); background: var(--primary-light); }
.pay-main .pay-methods .method .icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.pay-main .pay-methods .method .icon.wechat { background: #1aad19; }
.pay-main .pay-methods .method .icon.alipay { background: #1677ff; }
.pay-main .pay-methods .method .name { font-weight: 600; }
.pay-main .pay-methods .method .desc { font-size: 12px; color: var(--text-light); }
.pay-main .pay-tip { background: #fff7e8; border: 1px solid #ffd591; color: #ad6800; padding: 12px 16px; border-radius: 6px; margin: 16px 0; font-size: 13px; }
.pay-qr { text-align: center; }
.pay-qr .qrcode { width: 200px; height: 200px; margin: 16px auto; background: #f4f6f9; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.pay-result { text-align: center; padding: 40px 0; }
.pay-result .icon { font-size: 60px; margin-bottom: 20px; }
.pay-result .icon.success { color: var(--accent); }
.pay-result .icon.fail { color: var(--secondary); }
.pay-result h2 { margin-bottom: 10px; }
.pay-result p { color: var(--text-light); }

/* 404 */
.error-page { text-align: center; padding: 100px 0; }
.error-page .code { font-size: 120px; color: var(--primary); font-weight: 700; }
.error-page p { color: var(--text-light); font-size: 18px; }

/* 提示 */
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e8f9f0; color: #1f9d55; border: 1px solid #a8e6c3; }
.alert-error { background: #fdecec; color: #c0392b; border: 1px solid #f5b7b1; }
.alert-info { background: #e8f0fe; color: #1e5fff; border: 1px solid #b6cdfe; }

/* 响应式 */
@media (max-width: 1024px) {
    .biz-grid, .course-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
    .footer .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-grid .news-feature { grid-row: auto; }
    .course-detail, .contact-grid, .pay-page, .enroll-page { grid-template-columns: 1fr; }
    .course-list { grid-template-columns: repeat(2, 1fr); }
}

/* 通用 grid-row 工具类（替换内联 grid） */
.grid-page { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.grid-page-narrow { display: grid; grid-template-columns: 1fr 280px; gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.grid-2-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6-partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.grid-auto-280 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.campus-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-list-item { display: grid; grid-template-columns: 220px 1fr; gap: 18px; background: #fff; padding: 18px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.04); margin-bottom: 14px; color: #2c3e50; }
.news-list-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }

/* 课程搜索表单 */
.course-search-form { background: #fff; padding: 14px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.04); display: flex; gap: 10px; }
.course-search-form select { height: 38px; max-width: 240px; border: 1px solid #e6ebf2; border-radius: 6px; padding: 0 12px; }
.course-search-form input[type="text"] { height: 38px; flex: 1; border: 1px solid #e6ebf2; border-radius: 6px; padding: 0 12px; }

/* === 汉堡菜单按钮（桌面隐藏） === */
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent; border: 0; cursor: pointer;
    padding: 8px; flex-shrink: 0;
    position: relative; z-index: 1002;
}
.nav-toggle span {
    display: block; height: 2px; background: var(--primary);
    margin: 5px 0; border-radius: 2px; transition: all .3s;
    transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 999;
    opacity: 0; transition: opacity .3s;
}
.nav-backdrop.show { display: block; opacity: 1; }

/* 移动端专属菜单（独立 DOM，桌面隐藏） */
.nav-mobile { display: none; }
.nav-phone { display: none; }

/* === 移动端 (≤768px) === */
@media (max-width: 768px) {
    /* 防止水平滚动 */
    html, body { overflow-x: hidden; }
    body { -webkit-text-size-adjust: 100%; }

    .container { padding: 0 14px; max-width: 100%; }
    img { max-width: 100%; height: auto; }

    /* 顶部 */
    .topbar { display: none; }

    /* 头部 + 汉堡按钮 */
    .header .header-inner { height: 56px; padding: 0 14px; }
    .header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
    .logo img { height: 32px; }
    .logo .logo-text { font-size: 18px; line-height: 1.2; }
    .logo .logo-text small { font-size: 10px; }
    .header-cta { display: none; }
    .nav-toggle { display: block; }

    /* 侧滑菜单（独立 DOM，桌面隐藏） */
    .nav { display: none; }
    .nav-mobile {
        display: block; position: fixed; top: 0; right: 0; width: 78vw; max-width: 320px;
        height: 100vh; height: 100dvh; background: #fff;
        z-index: 1001; transition: transform .25s ease, visibility 0s linear .25s;
        transform: translateX(100%);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding: 64px 0 30px; box-shadow: -4px 0 16px rgba(0,0,0,.1);
        visibility: hidden;
    }
    .nav-mobile.open { transform: translateX(0); visibility: visible; transition: transform .25s ease, visibility 0s linear 0s; }
    .nav-mobile > ul { flex-direction: column; padding: 0; list-style: none; margin: 0; display: block; }
    .nav-mobile > ul > li { border-bottom: 1px solid var(--border); position: relative; }
    .nav-mobile > ul > li > a {
        line-height: 1.4; padding: 14px 18px;
        font-size: 15px; color: var(--text);
        display: flex; justify-content: space-between; align-items: center;
    }
    .nav-mobile > ul > li > a::after {
        content: '›'; font-size: 18px; color: #ccc; transition: transform .3s;
    }
    .nav-mobile > ul > li.active > a { color: var(--primary); }
    .nav-mobile .submenu {
        position: static; display: none; box-shadow: none;
        background: #f7f9fc; min-width: 0;
        border-radius: 0; padding: 0; list-style: none; margin: 0;
    }
    .nav-mobile > ul > li.expanded > .submenu { display: block; }
    .nav-mobile > ul > li.expanded > a::after { transform: rotate(90deg); }
    .nav-mobile .submenu li a {
        line-height: 1.4; padding: 12px 18px 12px 32px;
        font-size: 14px; border-bottom: 1px solid #eef1f6;
    }
    .nav-mobile .nav-phone {
        display: flex; align-items: center; gap: 8px; margin: 20px 18px 0;
        padding: 14px 18px; background: var(--gradient-primary);
        color: #fff; border-radius: 6px; font-size: 16px; font-weight: 700;
        text-decoration: none; justify-content: center;
    }
    .nav-mobile .nav-phone i { font-style: normal; }

    /* 轮播图（高度已通过 @media 768px 单独控制） */
    .hero-slider .slide-text { max-width: 90%; padding-left: 5%; }
    .hero-slider .slide-text h1 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
    .hero-slider .slide-text p { font-size: 13px; margin-bottom: 18px; }
    .hero-slider .slide-text .btn { padding: 8px 18px; font-size: 13px; }
    .hero-slider .slide-indicators { bottom: 14px; gap: 6px; }
    .hero-slider .slide-indicators span { width: 24px; }
    .hero-slider .slide-indicators span.active { width: 36px; }
    .hero-slider .slide-arrow { display: none !important; }

    /* 通用 */
    .section { padding: 36px 0; }
    .section-title { margin-bottom: 28px; }
    .section-title h2 { font-size: 22px; }
    .section-title .sub { font-size: 13px; }

    /* 网格 */
    .biz-grid, .course-grid, .teacher-grid, .course-list, .course-list-2,
    .honor-grid, .news-grid { grid-template-columns: 1fr; gap: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .about-block { grid-template-columns: 1fr; gap: 24px; }
    .footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .grid-page, .grid-page-narrow, .grid-2, .grid-2-cards, .grid-4-cards, .grid-6-partners, .grid-auto-280, .campus-content { grid-template-columns: 1fr; gap: 20px; }
    .news-list-item { grid-template-columns: 1fr; gap: 12px; }
    .course-search-form { flex-direction: column; gap: 10px; }
    .course-search-form select, .course-search-form input { max-width: 100%; width: 100%; }
    .grid-6-partners { grid-template-columns: repeat(3, 1fr); }
    .grid-4-cards { grid-template-columns: repeat(2, 1fr); }

    /* 卡片 */
    .course-card .card-body { padding: 14px; }
    .course-card .card-title { font-size: 15px; }
    .course-card .card-sub { font-size: 12px; }
    .course-card .card-price { font-size: 22px; }
    .course-card .card-meta { font-size: 12px; flex-wrap: wrap; gap: 8px 12px; }
    .news-card .card-body { padding: 14px; }
    .news-card .card-title { font-size: 15px; }

    /* 移动端轮播：允许横向滚动但不影响父容器 */
    .testimonial-list { width: calc(100% + 28px); margin: 0 -14px; padding: 4px 14px 20px; max-width: calc(100vw - 4px); }
    .testimonial-card { flex-shrink: 0; width: 260px; }
    .testimonial-wrap { overflow: hidden; padding: 0; }

    /* 面包屑 */
    .breadcrumb { padding: 12px 0; font-size: 12px; }

    /* 页面标题 */
    .page-header { padding: 40px 0 32px; }
    .page-header h1 { font-size: 24px; }
    .page-header .sub { font-size: 14px; }
    .page-header .cat-list a { padding: 5px 12px; font-size: 12px; }
    .page-header .page-header-row { flex-direction: column; text-align: center; gap: 10px; }
    .page-header .page-header-row h1 { margin-bottom: 6px; }
    .page-header .page-header-row .sub { text-align: center; border-left: 0; padding-left: 0; }

    /* 课程工具栏 */
    .course-toolbar { flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 8px; }
    .course-toolbar .sort { flex-wrap: wrap; gap: 6px; }
    .course-toolbar .sort a { padding: 5px 10px; font-size: 12px; }

    /* 课程详情 */
    .course-detail .main { padding: 20px 16px; }
    .course-detail h1 { font-size: 22px; }
    .course-detail .info-bar { gap: 16px; padding: 14px 0; }
    .course-detail .info-bar .item .price { font-size: 24px; }
    .course-detail .tabs { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .course-detail .tabs a { padding: 12px 16px; font-size: 14px; }
    .course-detail .sidebar { position: static; }
    .course-detail .content-body { font-size: 15px; line-height: 1.75; }
    .course-detail .content-body h3 { font-size: 16px; }

    /* 表单 */
    .enroll-form { padding: 24px 16px; }
    .enroll-form .form-row { grid-template-columns: 1fr; }
    .enroll-form-page { grid-template-columns: 1fr; gap: 12px; }
    .enroll-form-page .form-group.full { grid-column: span 1; }
    .enroll-main, .pay-main { padding: 20px 16px; }
    .contact-form, .contact-info { padding: 20px 16px; }
    .form-control { font-size: 16px !important; height: 44px; } /* 16px 防止 iOS 缩放 */
    .form-group textarea.form-control { height: 100px; }
    .form-row { grid-template-columns: 1fr; }

    /* 联系页 */
    .contact-info .item { padding: 12px 0; }
    .contact-info .item .icon { width: 42px; height: 42px; font-size: 18px; }
    .contact-info .item .val { font-size: 16px; }
    .map-container { height: 260px; }

    /* 报名侧边 */
    .enroll-sidebar .course-summary { padding: 18px; }
    .enroll-sidebar .course-summary .price { font-size: 26px; }

    /* 支付 */
    .pay-main .pay-method { padding: 14px; }
    .pay-main .order-info { padding: 16px; }
    .pay-main .order-info .row { font-size: 13px; }

    /* 错误页 */
    .error-page { padding: 60px 0; }
    .error-page .code { font-size: 80px; }
    .error-page p { font-size: 15px; }

    /* 浮动工具 */
    .floating-tools { right: 6px; bottom: 80px; gap: 8px; }
    .floating-tools .tool { width: 44px; height: 44px; font-size: 11px; }
    .floating-tools .tool i { font-size: 18px; line-height: 22px; margin-top: 4px; }
    .floating-tools .tool .qr-popup { right: 50px; min-width: 140px; }
    .floating-tools .tool .qr-popup img { width: 120px; }
    .floating-tools .tool-top { display: none; } /* 移动端隐藏"返回顶部"，避免遮挡 */

    /* 提示 */
    .alert { padding: 10px 12px; font-size: 13px; }

    /* 按钮触摸区 */
    .btn { padding: 10px 18px; min-height: 40px; }
    .btn-lg { padding: 12px 24px; font-size: 15px; min-height: 46px; }
    .btn-sm { padding: 6px 12px; }

    /* 表格 */
    table { font-size: 13px; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* === 极小屏 (≤480px) === */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .header .header-inner { padding: 0 12px; }
    .hero-slider { height: 220px; }
    .hero-slider .slide-text h1 { font-size: 19px; }
    .hero-slider .slide-text p { font-size: 12px; }
    .hero-slider .slide-text .btn { padding: 6px 14px; font-size: 12px; }
    .section { padding: 28px 0; }
    .section-title h2 { font-size: 19px; }
    .page-header h1 { font-size: 21px; }
    .stats-grid { gap: 12px; }
    .stats-grid .stat .num { font-size: 26px; }
    .stats-grid .stat .label { font-size: 12px; }
    .course-card .card-price { font-size: 20px; }
    .course-detail h1 { font-size: 19px; }
    .footer { padding: 30px 0 20px; }
    .footer h4 { font-size: 15px; }
    .footer .footer-grid { gap: 20px; }
    .floating-tools { display: none; } /* 极小屏隐藏，避免占位 */
}

/* === 触摸优化：禁用双击放大和文字选择 === */
@media (hover: none) and (pointer: coarse) {
    .course-card { -webkit-tap-highlight-color: transparent; }
    .btn, .nav li a { -webkit-tap-highlight-color: rgba(30,95,255,.1); }
}

/* ===============================================
   业务培训频道页（专题页）样式 — 10 大版块
   =============================================== */
.channel-section { padding: 50px 0; }

/* ① 频道介绍卡（来自 category.content 渲染） */
.channel-intro { background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%); padding: 40px 0; }
.channel-intro-card {
    background: #fff; border-radius: 14px; padding: 36px 40px;
    box-shadow: 0 6px 24px rgba(30,95,255,.08);
    display: flex; gap: 24px; align-items: flex-start;
    border-left: 5px solid var(--primary);
}
.channel-intro-icon {
    font-size: 48px; line-height: 1; flex-shrink: 0;
    width: 80px; height: 80px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #4d8cff);
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(30,95,255,.3);
}
.channel-intro-body { flex: 1; line-height: 1.85; color: #2c3e50; }
.channel-intro-body h2, .channel-intro-body h3 { color: var(--primary); margin: 8px 0; }
.channel-intro-body p { margin: 8px 0; }

/* ② 核心亮点 4 卡 */
.feature-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px;
}
.feature-card {
    background: #fff; border-radius: 12px; padding: 30px 24px; text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    transition: transform .25s, box-shadow .25s;
    border: 1px solid #eef2f7;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(30,95,255,.12); border-color: var(--primary); }
.feature-icon { font-size: 44px; line-height: 1; margin-bottom: 12px; }
.feature-card h4 { font-size: 18px; margin: 8px 0; color: #1a2236; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin: 8px 0 0; }

/* ④ 区域网格 */
.region-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px;
}
.region-card {
    background: #fff; border-radius: 10px; padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    border: 1px solid #eef2f7;
}
.region-area {
    font-size: 15px; font-weight: 700; color: var(--primary);
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 1px dashed #d6e0f0;
}
.region-list { display: flex; flex-wrap: wrap; gap: 6px; }
.region-tag {
    display: inline-block; padding: 4px 10px; background: #f0f4ff; color: #2c3e50;
    border-radius: 14px; font-size: 12px; line-height: 1.4;
    transition: all .2s; cursor: default;
}
.region-tag:hover { background: var(--primary); color: #fff; transform: scale(1.05); }

/* 招生省份筛选（频道页） */
.province-bar { margin-top: 24px; }
.province-area {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 0; border-bottom: 1px dashed #e6ebf2;
}
.province-area:last-child { border-bottom: 0; }
.province-area-name {
    flex-shrink: 0; width: 56px; font-size: 14px; font-weight: 700;
    color: var(--primary); padding-top: 6px;
}
.province-tags { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.province-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 18px; font-size: 13px;
    transition: all .2s; line-height: 1.4; text-decoration: none;
}
.province-tag.has { background: linear-gradient(135deg, #1e5fff, #4d8cff); color: #fff; box-shadow: 0 2px 8px rgba(30,95,255,.18); }
.province-tag.has:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,95,255,.3); background: linear-gradient(135deg, #1749cc, #2f74ff); }
.province-tag.empty { background: #f0f2f5; color: #9aa6b8; cursor: not-allowed; }
.province-count {
    background: rgba(255,255,255,.3); color: #fff;
    font-size: 11px; padding: 1px 6px; border-radius: 10px; font-weight: 600;
}

/* 首页轮播图下方招生省份快速入口 */
.province-quick {
    background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
    padding: 28px 0 32px; border-bottom: 1px solid #e6ebf2;
}
.province-quick-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.province-quick-head h3 { margin: 0; font-size: 20px; color: #1a2236; }
.province-quick-head p { margin: 4px 0 0; color: var(--text-light); font-size: 13px; }
.province-quick-list {
    display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center;
    line-height: 1.8;
}
.province-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 14px; border-radius: 16px; font-size: 13px;
    transition: all .2s; text-decoration: none; line-height: 1.4;
    white-space: nowrap;
}
.province-pill.has { background: #e8f0ff; color: var(--primary); border: 1px solid #c8d8ff; font-weight: 600; }
.province-pill.has:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30,95,255,.25); }
.province-pill.has i {
    font-style: normal; font-size: 11px; background: #fff; color: var(--primary);
    padding: 0 6px; border-radius: 8px; font-weight: 700; line-height: 1.4;
    min-width: 18px; text-align: center;
}
.province-pill.has:hover i { background: rgba(255,255,255,.3); color: #fff; }
.province-pill.empty { background: #f5f7fa; color: #b8c1d0; border: 1px solid #e6ebf2; cursor: not-allowed; }

/* ⑤⑥ 就业内容双栏 */
.employment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.emp-col {
    background: #fff; border-radius: 12px; padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    border: 1px solid #eef2f7;
}
.emp-col-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.emp-col-icon {
    width: 48px; height: 48px; border-radius: 12px;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.emp-col-head h3 { margin: 0 0 4px; font-size: 18px; color: #1a2236; }
.emp-col-head p { margin: 0; color: var(--text-light); font-size: 13px; }
.emp-empty { padding: 30px 20px; text-align: center; color: var(--text-light); background: #fafbfc; border-radius: 8px; font-size: 14px; }

/* 政策列表 */
.policy-list { list-style: none; padding: 0; margin: 0; }
.policy-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #eef2f7; align-items: flex-start; }
.policy-list li:last-child { border-bottom: 0; }
.policy-no {
    background: linear-gradient(135deg, #1e5fff, #4d8cff); color: #fff;
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.policy-body { flex: 1; min-width: 0; }
.policy-title { display: block; font-size: 14px; color: #1a2236; font-weight: 500; line-height: 1.5; transition: color .2s; }
.policy-title:hover { color: var(--primary); }
.policy-meta { display: flex; gap: 12px; margin-top: 4px; font-size: 12px; color: var(--text-light); }

/* 招聘列表 */
.job-list { list-style: none; padding: 0; margin: 0; }
.job-list li { padding: 16px 0; border-bottom: 1px dashed #eef2f7; }
.job-list li:last-child { border-bottom: 0; }
.job-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.job-head h4 { margin: 0; font-size: 15px; color: #1a2236; }
.job-salary {
    background: #fff5e8; color: #ff6b35; font-weight: 700;
    padding: 3px 10px; border-radius: 12px; font-size: 12px; white-space: nowrap;
}
.job-meta { display: flex; gap: 12px; margin-top: 6px; font-size: 12px; color: var(--text-light); flex-wrap: wrap; }
.job-desc { margin: 8px 0 0; color: var(--text-light); font-size: 13px; line-height: 1.6; }

/* ⑦ 合作企业 */
.partner-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 30px;
}
.partner-card {
    background: #fff; border-radius: 10px; padding: 18px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    border: 1px solid #eef2f7;
    transition: transform .2s, box-shadow .2s;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.partner-card img { max-width: 100%; max-height: 50px; object-fit: contain; margin: 0 auto 8px; display: block; }
.partner-logo-placeholder {
    height: 50px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f0f4ff, #e6ebf5); color: var(--primary);
    border-radius: 6px; font-weight: 700; font-size: 14px; margin-bottom: 8px;
}
.partner-name { font-size: 13px; color: #1a2236; font-weight: 500; }
.partner-desc { font-size: 11px; color: var(--text-light); margin-top: 4px; line-height: 1.4; }

/* ⑧ 师资（复用 .teacher-grid 已有） */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.teacher-card { background: #fff; border-radius: 10px; padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.teacher-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 12px; overflow: hidden; }
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-title { font-size: 13px; color: var(--primary); margin: 4px 0; }
.teacher-card p { color: var(--text-light); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }

/* ⑨ 行业新闻列表 */
.news-list-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px;
}
.news-list-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    display: block; color: inherit; transition: transform .2s, box-shadow .2s;
}
.news-list-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.news-list-cover { height: 140px; overflow: hidden; background: #f0f4ff; }
.news-list-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-list-card:hover .news-list-cover img { transform: scale(1.06); }
.news-list-body { padding: 16px; }
.news-list-body h4 { margin: 0 0 6px; font-size: 15px; line-height: 1.5; color: #1a2236; }
.news-list-summary { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.news-list-meta { margin-top: 8px; font-size: 11px; color: #9aa6b8; }

/* 学员见证（卡片式，3 列） */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.testimonial-card {
    background: #fff; border-radius: 10px; padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    position: relative;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: 4px; right: 18px;
    font-size: 60px; line-height: 1; color: #eef2f7; font-family: serif;
}
.testimonial-rating { color: #ffb800; font-size: 16px; margin-bottom: 8px; }
.testimonial-content { color: #2c3e50; font-size: 14px; line-height: 1.7; margin: 8px 0 14px; }
.testimonial-user strong { display: block; color: #1a2236; font-size: 14px; }
.testimonial-user span { color: var(--text-light); font-size: 12px; }

/* 底部 CTA */
.channel-cta { background: var(--gradient-primary); padding: 50px 0; }
.channel-cta-card {
    display: flex; gap: 24px; align-items: center; justify-content: space-between;
    flex-wrap: wrap;
}
.channel-cta-text h2 { color: #fff; margin: 0 0 8px; font-size: 26px; }
.channel-cta-text h2 strong { color: #ffd54a; }
.channel-cta-text p { color: rgba(255,255,255,.9); margin: 0; font-size: 15px; }
.channel-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.channel-cta-actions .btn { border-color: rgba(255,255,255,.4); }
.channel-cta-actions .btn:hover { background: rgba(255,255,255,.95); color: var(--primary); }

/* 课程卡片 sub-tag */
.tag-cat {
    position: absolute; left: 10px; top: 10px;
    background: rgba(0,0,0,.6); color: #fff;
    padding: 3px 8px; border-radius: 4px; font-size: 11px;
}

/* 频道页响应式 */
@media (max-width: 1024px) {
    .feature-grid, .teacher-grid, .news-list-grid { grid-template-columns: repeat(2, 1fr); }
    .region-grid { grid-template-columns: repeat(2, 1fr); }
    .employment-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .province-area { flex-direction: column; gap: 6px; }
    .province-area-name { width: auto; padding-top: 0; }
}
@media (max-width: 640px) {
    .channel-section { padding: 30px 0; }
    .channel-intro-card { flex-direction: column; padding: 24px; }
    .channel-intro-icon { width: 64px; height: 64px; font-size: 36px; }
    .feature-grid, .teacher-grid, .news-list-grid, .region-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
    .channel-cta-card { flex-direction: column; text-align: center; }
    .channel-cta-actions { justify-content: center; }
}

/* === iPhone X+ 安全区 === */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .header { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
        .floating-tools { bottom: max(80px, calc(80px + env(safe-area-inset-bottom))); }
    }
}

/* === 新闻列表（type=list 栏目） === */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list-row {
    display: flex; gap: 18px; padding: 18px;
    background: #fff; border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    transition: all .25s ease;
    color: inherit; text-decoration: none;
}
.news-list-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.news-list-cover {
    flex-shrink: 0; width: 180px; height: 120px;
    border-radius: 8px; overflow: hidden;
    background: var(--gradient-primary);
}
.news-list-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-placeholder {
    width: 100%; height: 100%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700;
}
.news-list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-list-body h4 {
    margin: 0 0 8px; font-size: 17px; font-weight: 600;
    color: #1a2236; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-body h4 .tag-top {
    display: inline-block; background: #ff4757; color: #fff;
    font-size: 11px; padding: 2px 6px; border-radius: 3px;
    margin-right: 6px; vertical-align: middle;
}
.news-list-summary {
    color: var(--text-light); font-size: 13px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 10px;
}
.news-list-meta {
    display: flex; gap: 14px; color: #aab4c4; font-size: 12px;
}
@media (max-width: 640px) {
    .news-list-row { flex-direction: column; gap: 12px; padding: 14px; }
    .news-list-cover { width: 100%; height: 180px; }
}

