/* ============================================================
   site.css · 网站页面特有样式
   包含：关于我们、首页布局、内容详情、列表页（带图）等
   ============================================================ */

/* ---------- 关于我们 ---------- */
.about-wrapper {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef3fa;
    overflow: hidden;
    min-height: 500px;
}
.about-tabs {
    background: #f8fbff;
    border-right: 1px solid #eef3fa;
    padding: 20px 0;
}
.about-tabs .tab-item {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #2d4059;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-tabs .tab-item i {
    color: #6b7f98;
    font-size: 16px;
    width: 22px;
    text-align: center;
    transition: color 0.25s;
}
.about-tabs .tab-item:hover {
    background: #eef4fe;
    color: #1a5fc7;
}
.about-tabs .tab-item:hover i {
    color: #1a5fc7;
}
.about-tabs .tab-item.active {
    background: #eef4fe;
    color: #1a5fc7;
    border-left-color: #1a5fc7;
}
.about-tabs .tab-item.active i {
    color: #1a5fc7;
}
.about-content {
    padding: 36px 40px 40px;
}
.about-content .content-pane {
    display: none;
    animation: fadeInContent 0.35s ease;
}
.about-content .content-pane.active {
    display: block;
}
@keyframes fadeInContent {
    0% { opacity: 0.4; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.about-content .content-pane h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4fa;
}
.about-content .content-pane h2 i {
    color: #1a5fc7;
    margin-right: 10px;
}
.about-content .content-pane p {
    font-size: 15px;
    color: #3f556b;
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-content .content-pane ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
}
.about-content .content-pane ul li {
    font-size: 15px;
    color: #3f556b;
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.7;
}
.about-content .content-pane ul li::before {
    content: '•';
    color: #1a5fc7;
    font-weight: 700;
    position: absolute;
    left: 0;
}
.about-content .content-pane .highlight-box {
    background: #f8fbff;
    border-left: 4px solid #1a5fc7;
    padding: 14px 20px;
    border-radius: 8px;
    margin: 16px 0;
}
.about-content .content-pane .highlight-box strong {
    color: #1a5fc7;
}

/* 商务合作卡片 */
.cooperation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 12px;
}
.cooperation-card {
    background: #f8fbff;
    border-radius: 16px;
    border: 1px solid #eef3fa;
    padding: 20px 22px;
    transition: all 0.25s ease;
}
.cooperation-card:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.cooperation-card .card-icon {
    font-size: 28px;
    color: #1a5fc7;
    margin-bottom: 10px;
}
.cooperation-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 6px;
}
.cooperation-card p {
    font-size: 14px;
    color: #5a6a7e;
    line-height: 1.7;
    margin-bottom: 0;
}
.cooperation-card .tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 1px 14px;
    border-radius: 30px;
    margin-top: 8px;
}

/* 联系我们 */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}
.contact-item {
    background: #f8fbff;
    border-radius: 14px;
    border: 1px solid #eef3fa;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}
.contact-item:hover {
    background: #ffffff;
    border-color: #c8d9f0;
}
.contact-item .icon {
    width: 44px;
    height: 44px;
    background: #eef4fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5fc7;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-item .info .label {
    font-size: 13px;
    color: #8a9bb0;
}
.contact-item .info .value {
    font-size: 16px;
    font-weight: 600;
    color: #0b2a4a;
}
.contact-item .info .value a {
    color: #1a5fc7;
}
.contact-item .info .value a:hover {
    text-decoration: underline;
}

/* ---------- 网站首页 ---------- */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b2a4a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.section-title i {
    color: #1a5fc7;
    font-size: 26px;
}
.section-title .highlight {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 16px;
    border-radius: 40px;
    margin-left: 4px;
}
.section-title .more {
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
    color: #6b7f98;
}
.section-title .more i {
    font-size: 12px;
    color: #6b7f98;
}

/* 首页品牌推荐 & 选课中心 */
.brand-recommend,
.course-center {
    padding: 20px 0;
    background: #f8fbff;
}
.brand-recommend {
    padding-top: 30px;
}
.friend-links {
    padding: 20px 0 30px;
    background: #f8fbff;
}

.tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    border-bottom: 2px solid #eef3fa;
    padding-bottom: 4px;
}
.tab-nav .tab-btn {
    padding: 8px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #6b7f98;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.25s ease;
    position: relative;
}
.tab-nav .tab-btn:hover {
    color: #1a5fc7;
    background: #eef4fe;
}
.tab-nav .tab-btn.active {
    color: #1a5fc7;
    background: #eef4fe;
}
.tab-nav .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    border-radius: 4px;
}
/* ============================================================
   修复：选项卡数字标签样式 - 红色背景
   ============================================================ */
.tab-nav .tab-btn .count {
    display: inline-block;
    background: #e63946;        /* 改为红色背景 */
    color: #fff;                /* 文字改为白色，增加对比度 */
    font-size: 11px;
    font-weight: 700;
    padding: 0 8px;
    border-radius: 30px;
    margin-left: 4px;
}

/* 激活状态下的数字标签 - 保持红色背景，文字白色 */
.tab-nav .tab-btn.active .count {
    background: #c62832;        /* 激活时使用稍深的红色 */
    color: #fff;
}

.brand-grid,
.course-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    transition: all 0.3s ease;
}
.brand-item,
.course-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef3fa;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    padding: 0;
    opacity: 1;
    transform: scale(1);
}
.brand-item.hidden,
.course-item.hidden {
    display: none;
}
.brand-item:hover,
.course-item:hover {
    border-color: #c8d9f0;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.brand-item .brand-image,
.course-item .course-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f0f4fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eef3fa;
    position: relative;
    overflow: hidden;
}
.brand-item .brand-image .placeholder-icon,
.course-item .course-image .placeholder-icon {
    font-size: 36px;
    color: #c8d9f0;
    margin-bottom: 6px;
}
.brand-item .brand-image .placeholder-text,
.course-item .course-image .placeholder-text {
    font-size: 13px;
    color: #b0c8e0;
    font-weight: 500;
}
.brand-item .brand-category-tag,
.course-item .course-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26, 95, 199, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 30px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}
.brand-item .brand-info,
.course-item .course-info {
    padding: 14px 12px 16px;
}
.brand-item .brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #0b2a4a;
}
.brand-item .brand-slogan {
    font-size: 13px;
    color: #6b7f98;
    margin-top: 4px;
    line-height: 1.4;
}
.brand-item .brand-btn,
.course-item .course-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #1a5fc7;
    border: 1px solid #d4e2f7;
    background: #fff;
    transition: all 0.2s;
    cursor: pointer;
}
.brand-item .brand-btn:hover,
.course-item .course-btn:hover {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
}
.course-item .course-name {
    font-size: 16px;
    font-weight: 700;
    color: #0b2a4a;
    line-height: 1.3;
}
.course-item .course-tag {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 1px 12px;
    border-radius: 30px;
}
.brand-item.fade-in,
.course-item.fade-in {
    animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 广告横幅 */
.ad-banner .banner-placeholder {
    width: 100%;
    height: 120px;
    background: #eef3fa;
    border-radius: 16px;
    border: 2px dashed #c8d9f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b0c8e0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    gap: 8px;
}
.ad-banner .banner-placeholder:hover {
    border-color: #1a5fc7;
    color: #1a5fc7;
    background: #f0f7ff;
}
.ad-banner .banner-placeholder i {
    font-size: 36px;
    color: #c8d9f0;
    transition: color 0.2s;
}
.ad-banner .banner-placeholder:hover i {
    color: #1a5fc7;
}

/* 资讯动态 & 口碑问答 */
.info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.info-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef3fa;
    padding: 24px 28px 28px;
    transition: all 0.3s ease;
}
.info-card:hover {
    border-color: #c8d9f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.info-card .info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4fa;
}
.info-card .info-header i {
    font-size: 22px;
    color: #1a5fc7;
}
.info-card .info-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2a4a;
}
.info-card .info-header .more-link {
    margin-left: auto;
    font-size: 13px;
    color: #6b7f98;
    font-weight: 500;
}
.info-card .info-header .more-link i {
    font-size: 11px;
    color: #6b7f98;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f5f8fc;
    transition: all 0.2s;
    cursor: pointer;
}
.info-list li:last-child {
    border-bottom: none;
}
.info-list li:hover {
    color: #1a5fc7;
    padding-left: 4px;
}
.info-list li .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a5fc7;
    flex-shrink: 0;
}
.info-list li .title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1d334a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.info-list li .date {
    font-size: 13px;
    color: #aab8c8;
    flex-shrink: 0;
}
.info-list li .tag {
    font-size: 11px;
    font-weight: 600;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 1px 12px;
    border-radius: 30px;
    flex-shrink: 0;
}
.info-list.qa-list li .q-icon {
    color: #1a5fc7;
    font-size: 14px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.info-list.qa-list li .q-icon .fa-question-circle {
    color: #ff6b4a;
}

/* 友情链接 */
.friend-links .links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 6px;
}
.friend-links .links-grid a {
    font-size: 14px;
    color: #3a5670;
    transition: color 0.2s;
    position: relative;
}
.friend-links .links-grid a:hover {
    color: #1a5fc7;
}
.friend-links .links-grid a::after {
    content: '|';
    color: #d4e2f7;
    margin-left: 12px;
    font-weight: 300;
}
.friend-links .links-grid a:last-child::after {
    display: none;
}

/* ---------- 网站列表页（带图） ---------- */
.article-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef3fa;
    padding: 18px 20px;
    transition: all 0.3s ease;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.article-item:hover {
    border-color: #c8d9f0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}
.article-item.has-image .thumb {
    flex: 0 0 160px;
    aspect-ratio: 16 / 10;
    background: #f0f4fa;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef3fa;
    overflow: hidden;
}
.article-item.has-image .thumb .placeholder-icon {
    font-size: 28px;
    color: #c8d9f0;
    margin-bottom: 4px;
}
.article-item.has-image .thumb .placeholder-text {
    font-size: 12px;
    color: #b0c8e0;
    font-weight: 500;
}
.article-item.no-image .thumb {
    display: none;
}
.article-item .content {
    flex: 1;
    min-width: 0;
}
.article-item .content .title {
    font-size: 18px;
    font-weight: 700;
    color: #0b2a4a;
    line-height: 1.4;
    margin-bottom: 4px;
}
.article-item .content .title a:hover {
    color: #1a5fc7;
}
.article-item .content .summary {
    font-size: 14px;
    color: #5a6a7e;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item .content .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #8a9bb0;
    margin-top: 8px;
    flex-wrap: wrap;
}
.article-item .content .meta span i {
    margin-right: 4px;
}
.article-item .content .meta .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 1px 12px;
    border-radius: 30px;
}
.article-item .content .meta .tag.hot {
    background: #fff0e6;
    color: #e06b3a;
}

/* 网站分页 */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #eef3fa;
}
.pagination-wrap .p-btn {
    padding: 6px 16px;
    border: 1px solid #d4e2f7;
    background: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #2d4059;
    cursor: default;
    min-width: 36px;
    text-align: center;
}
.pagination-wrap .p-btn.active {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
}
.pagination-wrap .p-info {
    font-size: 14px;
    color: #6b7f98;
    margin: 0 6px;
}

/* ---------- 网站内容详情页面 ---------- */
#course-tab .container {
    max-width: 1100px;
    margin: 0 auto;
}
#course-tab .card {
    background: #ffffff;
    border-radius: 32px;
    padding: 36px 40px 40px;
    box-shadow: 0 12px 40px -8px rgba(0, 20, 50, 0.10);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.25s ease;
}
#course-tab .card:hover {
    box-shadow: 0 18px 48px -12px rgba(0, 20, 50, 0.16);
}
#course-tab .card-title {
    font-size: 26px;
    font-weight: 700;
    color: #0b2a4a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
}
#course-tab .card-title i {
    color: #2a7de1;
    font-size: 28px;
    width: 40px;
    text-align: center;
}
#course-tab .card-title .highlight {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 18px;
    border-radius: 40px;
    margin-left: 6px;
    white-space: nowrap;
}
#course-tab .card-sub {
    font-size: 15px;
    color: #3a5670;
    margin-bottom: 22px;
    padding-left: 52px;
    font-weight: 500;
}
#course-tab .hero {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 32px;
    padding: 40px 44px 36px;
    box-shadow: 0 12px 40px -8px rgba(0, 20, 50, 0.10);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}
#course-tab .hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(42, 125, 225, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
#course-tab .hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}
#course-tab .hero-badge {
    display: inline-block;
    background: #eef4fe;
    color: #1a5fc7;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 20px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    border: 1px solid #d4e2f7;
}
#course-tab .hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 6px;
    color: #0b1f33;
}
#course-tab .hero-title .accent {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#course-tab .hero-sub {
    font-size: 20px;
    font-weight: 500;
    color: #2d4059;
    margin-top: 16px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
#course-tab .hero-sub span {
    background: #f0f5fe;
    padding: 2px 16px;
    border-radius: 30px;
    margin: 0 4px;
    border: 1px solid #dce8fa;
    display: inline-block;
}
#course-tab .hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin: 18px 0 22px;
    padding: 16px 0;
    border-top: 2px dashed #e6edf6;
    border-bottom: 2px dashed #e6edf6;
}
#course-tab .hero-grid .item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1d334a;
}
#course-tab .hero-grid .item i {
    color: #2a7de1;
    font-size: 20px;
    width: 28px;
    text-align: center;
}
#course-tab .hero-grid .item .tag {
    background: #ff6b4a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 14px;
    border-radius: 30px;
    line-height: 24px;
    margin-left: 4px;
}
#course-tab .hero-grid .item .tag.green {
    background: #2a9d8f;
}
#course-tab .hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
}
#course-tab .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 44px;
    border-radius: 60px;
    border: none;
    box-shadow: 0 8px 24px -6px rgba(26, 95, 199, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}
#course-tab .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -8px rgba(26, 95, 199, 0.45);
    background: linear-gradient(135deg, #1550a8, #3a7dd6);
}
#course-tab .hero-cta .hint {
    color: #6b7f98;
    font-size: 15px;
}
#course-tab .hero-cta .hint i {
    color: #2a7de1;
    margin-right: 4px;
}

/* 课程网格（内容详情） */
#course-tab .course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 6px;
}
#course-tab .course-card {
    background: #fafcff;
    border-radius: 24px;
    padding: 24px 24px 22px;
    border: 1px solid #eaf0f8;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
#course-tab .course-card:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    box-shadow: 0 12px 32px -12px rgba(26, 95, 199, 0.12);
    transform: translateY(-4px);
}
#course-tab .course-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 16px;
    border-radius: 30px;
    background: #eef4fe;
    color: #1a5fc7;
    align-self: flex-start;
    margin-bottom: 10px;
    border: 1px solid #d4e2f7;
}
#course-tab .course-tag.hot {
    background: #fff0e6;
    color: #e06b3a;
    border-color: #fbdccc;
}
#course-tab .course-tag.special {
    background: #e3f0fa;
    color: #1a6b8a;
    border-color: #c4ddf0;
}
#course-tab .course-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 8px;
    line-height: 1.3;
}
#course-tab .course-target {
    font-size: 14px;
    color: #3a5670;
    background: #f0f5fe;
    padding: 4px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}
#course-tab .course-target i {
    color: #2a7de1;
    margin-right: 6px;
}
#course-tab .course-desc {
    font-size: 15px;
    color: #3f556b;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}
#course-tab .course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a5fc7;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 24px;
    border-radius: 60px;
    border: 1px solid #d4e2f7;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}
#course-tab .course-btn:hover {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
    box-shadow: 0 4px 14px -4px rgba(26, 95, 199, 0.25);
}

/* 教学优势 */
#course-tab .advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 30px;
    margin-top: 10px;
}
#course-tab .advantage-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fafcff;
    border-radius: 20px;
    padding: 24px 24px 22px;
    border: 1px solid #eaf0f8;
    transition: all 0.25s ease;
}
#course-tab .advantage-step:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    box-shadow: 0 12px 32px -12px rgba(26, 95, 199, 0.12);
    transform: translateY(-4px);
}
#course-tab .step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    width: 100%;
}
#course-tab .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 12px;
    flex-shrink: 0;
}
#course-tab .step-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b2a4a;
}
#course-tab .step-desc {
    font-size: 14px;
    color: #3f556b;
    line-height: 1.7;
    padding-left: 4px;
}
#course-tab .step-desc .sub {
    display: block;
    margin-top: 2px;
    font-weight: 500;
    color: #1d334a;
}

/* 学校环境 */
.environment-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: stretch;
}
.environment-image {
    flex: 1 1 400px;
    min-height: 280px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: 2px dashed #d4e2f7;
    background: #f8fbff;
}
.environment-image .env-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(26, 95, 199, 0.08);
    color: #1a5fc7;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid rgba(26, 95, 199, 0.12);
    z-index: 2;
}
.environment-image .placeholder-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b0c8e0;
    z-index: 2;
    position: relative;
}
.environment-image .placeholder-hint i {
    font-size: 48px;
    color: #d4e2f7;
}
.environment-image .placeholder-hint .main-text {
    font-size: 18px;
    font-weight: 600;
    color: #aab8c8;
}
.environment-image .placeholder-hint .sub-text {
    font-size: 14px;
    color: #c0cedc;
}
.environment-image .env-footer {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #c0cedc;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 18px;
    border-radius: 30px;
    z-index: 2;
    border: 1px solid #eef3fa;
    white-space: nowrap;
}
.environment-desc {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.environment-desc .env-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #f8fbff;
    border-radius: 16px;
    border: 1px solid #eef3fa;
    transition: all 0.2s ease;
}
.environment-desc .env-feature:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    box-shadow: 0 4px 12px rgba(26, 95, 199, 0.06);
    transform: translateX(4px);
}
.environment-desc .env-feature i {
    font-size: 20px;
    color: #2a7de1;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}
.environment-desc .env-feature .text {
    font-size: 15px;
    color: #1d334a;
    font-weight: 500;
}
.environment-desc .env-feature .text small {
    font-weight: 400;
    color: #6b7f98;
    font-size: 13px;
}

/* 直营教学点 */
#course-tab .campus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
#course-tab .campus-item {
    background: #f8fbff;
    border: 1px solid #eef3fa;
    border-radius: 14px;
    padding: 16px 8px;
    text-align: center;
    font-weight: 600;
    color: #1a2634;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    letter-spacing: 0.3px;
}
#course-tab .campus-item:hover {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px -10px rgba(26, 95, 199, 0.30);
}

/* 常见问题 */
#course-tab .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
#course-tab .faq-item {
    background: #f8fbff;
    border-radius: 18px;
    padding: 18px 20px 16px;
    border: 1px solid #eef3fa;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}
#course-tab .faq-item:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    box-shadow: 0 6px 20px -10px rgba(26, 95, 199, 0.08);
    transform: translateY(-2px);
}
#course-tab .faq-item .q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #0b2a4a;
    flex: 1;
    min-width: 0;
    margin: 0;
}
#course-tab .faq-item .q .num {
    background: #1a5fc7;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
#course-tab .faq-item .btn-faq {
    align-self: center;
    flex-shrink: 0;
    background: #fff;
    color: #1a5fc7;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #d4e2f7;
    padding: 4px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
#course-tab .faq-item .btn-faq:hover {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
    box-shadow: 0 4px 12px -4px rgba(26, 95, 199, 0.25);
}
#course-tab .faq-more {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4px;
}
#course-tab .faq-more .btn-faq {
    background: #eef4fe;
    border: 1px solid #d4e2f7;
    padding: 10px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    color: #1a5fc7;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
#course-tab .faq-more .btn-faq:hover {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
    box-shadow: 0 8px 24px -8px rgba(26, 95, 199, 0.30);
}

/* ---------- 网站文章内容（卡片美化） ---------- */
#article-tab .article-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 40px 40px;
    border: 1px solid #eef3fa;
    box-shadow: 0 8px 30px -6px rgba(0, 20, 50, 0.06);
    transition: box-shadow 0.3s ease;
}
#article-tab .article-wrapper:hover {
    box-shadow: 0 14px 40px -8px rgba(0, 20, 50, 0.10);
}
#article-tab .article-wrapper h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0b2a4a;
    line-height: 1.3;
    margin-bottom: 8px;
}
#article-tab .article-wrapper .article-meta {
    display: block;
    font-size: 14px;
    color: #8a9bb0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f4fa;
    margin-bottom: 20px;
}
#article-tab .article-wrapper h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0b2a4a;
    margin-top: 28px;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid #1a5fc7;
}
#article-tab .article-wrapper h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5a;
    margin-top: 20px;
    margin-bottom: 8px;
}
#article-tab .article-wrapper p {
    font-size: 15px;
    color: #2d4059;
    line-height: 1.9;
    margin-bottom: 16px;
}
#article-tab .article-wrapper ul,
#article-tab .article-wrapper ol {
    padding-left: 24px;
    margin: 8px 0 16px;
}
#article-tab .article-wrapper li {
    font-size: 15px;
    color: #2d4059;
    line-height: 1.8;
    margin-bottom: 4px;
}
#article-tab .article-wrapper .highlight-box {
    background: #f8fbff;
    border-left: 4px solid #1a5fc7;
    padding: 14px 20px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 15px;
}
#article-tab .article-wrapper .highlight-box strong {
    color: #1a5fc7;
}
#article-tab .article-wrapper .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}
#article-tab .article-wrapper .compare-item {
    background: #f8fbff;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    border: 1px solid #eef3fa;
}
#article-tab .article-wrapper .compare-item .name {
    font-weight: 700;
    color: #0b2a4a;
    font-size: 15px;
}
#article-tab .article-wrapper .compare-item .stars {
    color: #f5a623;
    margin: 2px 0;
}
#article-tab .article-wrapper .compare-item .desc {
    font-size: 13px;
    color: #6b7f98;
}
#article-tab .article-wrapper .tip {
    background: #eef8f0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14px;
    color: #1d6b3a;
    margin: 14px 0;
}
#article-tab .article-wrapper .tip i {
    color: #2a9d8f;
    margin-right: 6px;
}
#article-tab .article-wrapper .article-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px solid #f0f4fa;
    font-size: 14px;
    color: #8a9bb0;
    text-align: center;
}
#article-tab .article-wrapper .article-footer i {
    color: #1a5fc7;
    margin: 0 4px;
}


/* ============================================================
   首页（page-home）手机端完整适配
   标题与日期在同一行，排版紧凑清晰
   ============================================================ */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .about-tabs {
        border-right: none;
        border-bottom: 1px solid #eef3fa;
        display: flex;
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 4px;
    }
    .about-tabs .tab-item {
        padding: 10px 18px;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 14px;
    }
    .about-tabs .tab-item.active {
        border-left-color: transparent;
        border-bottom-color: #1a5fc7;
    }
    .about-content {
        padding: 28px 24px 32px;
    }
    .cooperation-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
    .brand-grid,
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .info-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #course-tab .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #course-tab .campus-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    #course-tab .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 20px 18px 24px;
    }
    .about-content .content-pane h2 {
        font-size: 20px;
    }
    .cooperation-grid {
        grid-template-columns: 1fr;
    }
    .brand-grid,
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .tab-nav {
        justify-content: center;
        gap: 6px;
    }
    .tab-nav .tab-btn {
        padding: 6px 16px;
        font-size: 14px;
    }
    .section-title {
        font-size: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .section-title .more {
        margin-left: 0;
    }
    .info-card {
        padding: 18px 18px 20px;
    }
    .info-list li .title {
        font-size: 14px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    .info-list li {
        flex-wrap: wrap;
        gap: 6px;
    }
    .info-list li .date {
        font-size: 12px;
        margin-left: 18px;
    }
    .ad-banner .banner-placeholder {
        height: 80px;
        font-size: 12px;
    }
    .ad-banner .banner-placeholder i {
        font-size: 28px;
    }
    .friend-links .links-grid {
        gap: 8px 16px;
    }
    .friend-links .links-grid a {
        font-size: 13px;
    }
    .article-item {
        flex-direction: column;
        padding: 14px 16px;
    }
    .article-item.has-image .thumb {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .article-item .content .title {
        font-size: 16px;
    }
    #course-tab .card {
        padding: 28px 28px 32px;
    }
    #course-tab .hero {
        padding: 30px 28px 28px;
    }
    #course-tab .card-sub {
        padding-left: 0;
    }
    #course-tab .hero-title {
        font-size: 30px;
    }
    #course-tab .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #course-tab .campus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    #course-tab .faq-grid {
        grid-template-columns: 1fr;
    }
    #course-tab .advantage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .environment-wrapper {
        flex-direction: column;
    }
    .environment-image {
        min-height: 220px;
        flex: 1 1 auto;
    }
    #article-tab .article-wrapper {
        padding: 28px 24px 32px;
    }
    #article-tab .article-wrapper .compare-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    /* ---------- 品牌推荐 & 选课中心 ---------- */
    .page-home .brand-grid,
    .page-home .course-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .page-home .brand-item,
    .page-home .course-item {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        min-width: 0 !important;
        background: #ffffff;
        border: 1px solid #eef3fa;
    }
    .page-home .brand-item .brand-image,
    .page-home .course-item .course-image {
        aspect-ratio: 16 / 12 !important;
        flex-shrink: 0 !important;
        padding: 8px 0;
    }
    .page-home .brand-item .brand-image .placeholder-icon,
    .page-home .course-item .course-image .placeholder-icon {
        font-size: 20px !important;
    }
    .page-home .brand-item .brand-image .placeholder-text,
    .page-home .course-item .course-image .placeholder-text {
        font-size: 10px !important;
    }
    .page-home .brand-item .brand-info,
    .page-home .course-item .course-info {
        padding: 8px 6px 10px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .page-home .brand-item .brand-name,
    .page-home .course-item .course-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        word-break: break-word !important;
        text-align: center !important;
    }
    .page-home .brand-item .brand-slogan {
        font-size: 11px !important;
        color: #6b7f98 !important;
        margin-top: 2px !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        word-break: break-word !important;
        text-align: center !important;
        padding: 0 2px;
    }
    .page-home .course-item .course-tag {
        font-size: 10px !important;
        padding: 1px 8px !important;
        margin-top: 2px !important;
    }
    .page-home .brand-item .brand-btn,
    .page-home .course-item .course-btn {
        font-size: 11px !important;
        padding: 3px 12px !important;
        margin-top: 6px !important;
        white-space: nowrap !important;
        border-radius: 30px !important;
        border: 1px solid #d4e2f7 !important;
        background: #fff !important;
        color: #1a5fc7 !important;
        font-weight: 600 !important;
    }
    .page-home .brand-item .brand-btn:hover,
    .page-home .course-item .course-btn:hover {
        background: #1a5fc7 !important;
        color: #fff !important;
        border-color: #1a5fc7 !important;
    }
    .page-home .brand-item .brand-category-tag,
    .page-home .course-item .course-category-tag {
        font-size: 9px !important;
        padding: 1px 8px !important;
        top: 5px !important;
        left: 5px !important;
        border-radius: 20px !important;
    }

    /* ---------- 选项卡 ---------- */
    .page-home .tab-nav {
        gap: 4px !important;
        justify-content: center !important;
    }
    .page-home .tab-nav .tab-btn {
        padding: 4px 12px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
    }
    .page-home .tab-nav .tab-btn .count {
        font-size: 9px !important;
        padding: 0 5px !important;
    }
    .page-home .tab-nav .tab-btn.active::after {
        width: 20px !important;
        bottom: -4px !important;
    }

    /* ---------- 板块标题 ---------- */
    .page-home .section-title {
        font-size: 17px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    .page-home .section-title .highlight {
        font-size: 11px !important;
        padding: 1px 10px !important;
        border-radius: 30px !important;
    }
    .page-home .section-title .more {
        font-size: 12px !important;
    }

    /* ---------- 资讯动态 & 口碑问答 ---------- */
    .page-home .info-wrapper {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .page-home .info-card {
        padding: 14px 16px 16px !important;
        border-radius: 16px !important;
    }
    .page-home .info-card .info-header h3 {
        font-size: 15px !important;
    }
    .page-home .info-card .info-header i {
        font-size: 18px !important;
    }
    .page-home .info-card .info-header .more-link {
        font-size: 12px !important;
    }

    /* 列表项：标题和日期在同一行（flex 一行排布） */
    .page-home .info-list li {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 7px 0 !important;
        gap: 4px 8px !important;
        border-bottom: 1px solid #f5f8fc !important;
    }
    .page-home .info-list li .dot {
        width: 5px !important;
        height: 5px !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        order: 0 !important;
    }
    .page-home .info-list.qa-list li .q-icon {
        font-size: 13px !important;
        width: 18px !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        order: 0 !important;
        text-align: center !important;
    }
    /* 标题：flex:1 占据剩余空间，允许换行 */
    .page-home .info-list li .title {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #1d334a !important;
        line-height: 1.4 !important;
        flex: 1 1 auto !important;
        order: 1 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: break-word !important;
        min-width: 60px !important;
    }
    /* 日期：紧跟标题，flex-shrink:0 尽量保持同行 */
    .page-home .info-list li .date {
        font-size: 12px !important;
        color: #aab8c8 !important;
        flex: 0 0 auto !important;
        order: 2 !important;
        margin-left: auto !important;   /* 靠右对齐，与标题同行 */
        white-space: nowrap !important;
    }
    /* 标签：紧跟在日期后面（或单独一行） */
    .page-home .info-list li .tag {
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #1a5fc7 !important;
        background: #eef4fe !important;
        padding: 1px 10px !important;
        border-radius: 30px !important;
        flex: 0 0 auto !important;
        order: 3 !important;
        margin-left: 4px !important;
        align-self: center !important;
        line-height: 18px !important;
        white-space: nowrap !important;
    }
    .page-home .info-list.qa-list li .tag {
        margin-left: 0 !important;
    }
    .page-home .info-list li:last-child {
        border-bottom: none !important;
    }

    /* ---------- 广告横幅 ---------- */
    .page-home .ad-banner .banner-placeholder {
        height: 50px !important;
        font-size: 10px !important;
        border-radius: 10px !important;
        gap: 4px !important;
    }
    .page-home .ad-banner .banner-placeholder i {
        font-size: 18px !important;
    }

    /* ---------- 友情链接 ---------- */
    .page-home .friend-links .links-grid {
        gap: 4px 8px !important;
        justify-content: center !important;
    }
    .page-home .friend-links .links-grid a {
        font-size: 11px !important;
    }
    .page-home .friend-links .links-grid a::after {
        margin-left: 6px !important;
        font-size: 10px !important;
    }

    /* ---------- 轮播图（首页专用） ---------- */
    /* Banner 容器 */
    .banner-slider {
        position: relative;
        width: 100%;
        height: 450px;
        overflow: hidden;
        border-radius: 16px;
        background: #f0f4fa;
        margin-bottom: 24px;
    }

    /* 幻灯片容器 - 固定显示第一张，不移动 */
    .banner-slider .slides {
        display: flex;
        width: 100%;
        height: 100%;
        transform: translateX(0%);
        transition: none; /* 无过渡动画 */
    }

    .banner-slider .slide {
        flex: 0 0 100%;
        height: 100%;
    }

    .banner-slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 隐藏非激活的 slide（只保留第一张可见） */
    .banner-slider .slide:not(.active) {
        display: none;
    }

    .banner-slider .slider-btn {
    pointer-events: auto;   /* 允许点击 */
    cursor: pointer;
    opacity: 1;
}
.banner-slider .dots .dot {
    pointer-events: auto;
    cursor: pointer;
}
    .banner-slider .slider-btn.prev {
        left: 16px;
    }

    .banner-slider .slider-btn.next {
        right: 16px;
    }

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

    .banner-slider .dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: default;
        padding: 0;
        transition: none;
        pointer-events: none; /* 禁用点击 */
    }

    .banner-slider .dots .dot.active {
        background: #1a5fc7;
        width: 32px;
        border-radius: 6px;
    }

    /* 响应式调整 */
    @media (max-width: 768px) {
        .banner-slider {
            height: 300px;
        }
        .banner-slider .slider-btn {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .banner-slider {
            height: 200px;
        }
        .banner-slider .slider-btn {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
        .banner-slider .dots .dot {
            width: 8px;
            height: 8px;
        }
        .banner-slider .dots .dot.active {
            width: 24px;
        }
    }
    /* ---------- 关于我们（移动端） ---------- */
    .about-content {
        padding: 16px 14px 20px !important;
    }
    .about-content .content-pane h2 {
        font-size: 18px !important;
    }
    .about-content .content-pane p {
        font-size: 14px !important;
    }
    .about-content .content-pane ul li {
        font-size: 14px !important;
    }
    .about-tabs .tab-item {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    .contact-item {
        padding: 14px 16px !important;
    }
    .contact-item .info .value {
        font-size: 14px !important;
    }
    .cooperation-card {
        padding: 16px 16px !important;
    }

    /* ---------- 网站列表页（移动端） ---------- */
    .article-item .content .title {
        font-size: 15px !important;
    }
    .article-item .content .summary {
        font-size: 13px !important;
        -webkit-line-clamp: 3 !important;
    }
    .article-item .content .meta {
        font-size: 12px !important;
        gap: 10px !important;
    }
    .pagination-wrap .p-btn {
        padding: 4px 12px !important;
        font-size: 13px !important;
        min-width: 30px !important;
    }
    .pagination-wrap .p-info {
        font-size: 12px !important;
    }

    /* ---------- 内容详情（移动端） ---------- */
    #course-tab .card {
        padding: 18px 16px 20px !important;
        border-radius: 20px !important;
    }
    #course-tab .card-title {
        font-size: 20px !important;
    }
    #course-tab .card-title .highlight {
        font-size: 12px !important;
        padding: 2px 12px !important;
        white-space: normal !important;
    }
    #course-tab .card-sub {
        padding-left: 0 !important;
        font-size: 14px !important;
    }
    #course-tab .hero {
        padding: 20px 16px 22px !important;
        border-radius: 20px !important;
    }
    #course-tab .hero-title {
        font-size: 24px !important;
    }
    #course-tab .hero-sub {
        font-size: 15px !important;
        gap: 6px 8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    #course-tab .hero-sub span {
        font-size: 13px !important;
        padding: 2px 12px !important;
    }
    #course-tab .hero-grid {
        gap: 10px 16px !important;
    }
    #course-tab .hero-grid .item {
        font-size: 14px !important;
    }
    #course-tab .btn-primary {
        font-size: 15px !important;
        padding: 12px 24px !important;
        justify-content: center !important;
        width: 100% !important;
    }
    #course-tab .hero-cta {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #course-tab .hero-cta .hint {
        text-align: center !important;
    }
    #course-tab .course-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    #course-tab .course-title {
        font-size: 18px !important;
    }
    #course-tab .course-card {
        padding: 18px 16px !important;
    }
    #course-tab .advantage-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    #course-tab .advantage-step {
        padding: 18px 16px !important;
    }
    #course-tab .step-title {
        font-size: 17px !important;
    }
    #course-tab .step-number {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
    #course-tab .campus-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    #course-tab .campus-item {
        padding: 12px 6px !important;
        font-size: 13px !important;
    }
    #course-tab .faq-item {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 14px 16px !important;
    }
    #course-tab .faq-item .q {
        font-size: 14px !important;
    }
    #course-tab .faq-item .btn-faq {
        align-self: flex-start !important;
        margin-left: 34px !important;
        font-size: 13px !important;
        padding: 3px 16px !important;
    }
    #course-tab .faq-more .btn-faq {
        font-size: 14px !important;
        padding: 8px 24px !important;
    }
    .environment-image {
        min-height: 160px !important;
        padding: 24px 16px !important;
    }
    .environment-image .placeholder-hint i {
        font-size: 28px !important;
    }
    .environment-image .placeholder-hint .main-text {
        font-size: 14px !important;
    }
    .environment-image .placeholder-hint .sub-text {
        font-size: 12px !important;
    }
    .environment-desc .env-feature {
        padding: 10px 14px !important;
    }
    .environment-desc .env-feature .text {
        font-size: 14px !important;
    }

    /* ---------- 文章内容（移动端） ---------- */
    #article-tab .article-wrapper {
        padding: 16px 14px 20px !important;
        border-radius: 16px !important;
    }
    #article-tab .article-wrapper h1 {
        font-size: 20px !important;
    }
    #article-tab .article-wrapper h2 {
        font-size: 17px !important;
        padding-left: 10px !important;
    }
    #article-tab .article-wrapper h3 {
        font-size: 15px !important;
    }
    #article-tab .article-wrapper p,
    #article-tab .article-wrapper li {
        font-size: 14px !important;
    }
    #article-tab .article-wrapper .compare-grid {
        grid-template-columns: 1fr !important;
    }
    #article-tab .article-wrapper .article-meta {
        font-size: 12px !important;
    }
}
/* ============================================================
   修复：列表页双栏布局（page-layout）
   ============================================================ */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 320px; /* 左侧自适应，右侧侧边栏固定宽度 */
    gap: 30px;
    align-items: flex-start;
}
.main-content {
    min-width: 0; /* 防止子元素溢出撑破布局 */
}
.sidebar {
    width: 100%;
}

/* ============================================================
   修复：侧边栏卡片容器（side-card）
   ============================================================ */
.side-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef3fa;
    padding: 20px 20px 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.side-card:hover {
    border-color: #c8d9f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.side-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b2a4a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4fa;
}
.side-title .more-link {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: #6b7f98;
    display: flex;
    align-items: center;
    gap: 4px;
}
.side-title .more-link i {
    font-size: 11px;
}

/* ============================================================
   修复：品牌推荐网格（brand-card-grid）
   ============================================================ */
.brand-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.brand-card-item {
    background: #f8fbff;
    border-radius: 12px;
    border: 1px solid #eef3fa;
    overflow: hidden;
    text-align: center;
    padding: 12px 8px 14px;
    transition: all 0.2s ease;
}
.brand-card-item:hover {
    background: #ffffff;
    border-color: #c8d9f0;
    transform: translateY(-2px);
}
.brand-card-item .brand-thumb {
    width: 80px;          /* 固定宽度 */
    height: 80px;         /* 固定高度 */
    aspect-ratio: auto;   /* 取消自动比例 */
    flex-shrink: 0;       /* 防止压缩 */
    margin: 0 auto;       /* 居中 */
}
.brand-card-item .brand-thumb .placeholder-icon {
    font-size: 24px;
    color: #c8d9f0;
}
.brand-card-item .brand-thumb .placeholder-text {
    font-size: 11px;
    color: #b0c8e0;
}
.brand-card-item .brand-name {
    font-size: 14px;
    font-weight: 600;
    color: #0b2a4a;
}

/* ============================================================
   修复：热点动态列表（hot-news-list）
   ============================================================ */
.hot-news-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f8fc;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item .ntitle {
    font-size: 14px;
    font-weight: 500;
    color: #1d334a;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-item .ntitle:hover {
    color: #1a5fc7;
}
.news-item .ntime {
    font-size: 12px;
    color: #aab8c8;
    flex-shrink: 0;
    margin-left: 12px;
}

/* ============================================================
   修复：口碑问答列表（qa-side-list）
   ============================================================ */
.qa-side-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.qa-side-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f8fc;
    font-size: 14px;
}
.qa-side-item:last-child {
    border-bottom: none;
}
.qa-side-item .qicon {
    color: #ff6b4a;
    font-size: 14px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.qa-side-item .qtext {
    flex: 1;
    color: #1d334a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qa-side-item .qtag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 1px 10px;
    border-radius: 30px;
    flex-shrink: 0;
    margin-left: 4px;
}
.qa-side-item .qtag.热门 {
    background: #fff0e6;
    color: #e06b3a;
}

/* ============================================================
   修复：表单错误提示及移动端适配
   ============================================================ */
.error-msg {
    display: none;
    font-size: 12px;
    color: #ff6b4a;
    margin-top: 4px;
    line-height: 1.4;
}
.error-msg.show {
    display: block;
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr; /* 平板/手机变为单列 */
    }
}
@media (max-width: 480px) {
    .brand-card-grid {
        grid-template-columns: 1fr 1fr;
    }
    .side-card {
        padding: 16px 14px 18px;
    }
    .news-item .ntitle,
    .qa-side-item .qtext {
        white-space: normal; /* 手机端允许文字换行 */
    }
}
/* ============================================================
   修复一：列表标题、文章项、翻页的上下间距调整
   ============================================================ */
/* 拉大“最新资讯”标题与列表的间距 */
#article-list-section .section-title {
    margin-bottom: 24px;
}

/* 文章列表项之间增加间距 */
.article-item {
    margin-bottom: 18px;
}
/* 确保最后一个文章项底部没有多余的边距 */
.article-item:last-child {
    margin-bottom: 0;
}

/* 翻页区域（分页）与文章列表拉开距离 */
.pagination-wrap {
    margin-top: 24px;          /* 与上方的列表拉开间隙 */
    padding-top: 20px;
    border-top: 1px solid #eef3fa; /* 加上分隔线更美观 */
}

/* 在手机端（480px以下）稍微缩小间距 */
@media (max-width: 480px) {
    #article-list-section .section-title {
        margin-bottom: 16px;
    }
    .article-item {
        margin-bottom: 12px;
    }
    .pagination-wrap {
        margin-top: 16px;
        padding-top: 14px;
    }
}


/* ============================================================
   修复二：右侧边栏 - 预约体验课表单样式完善
   注：补全了所有 input、select、radio、验证码和按钮的样式
   ============================================================ */
.booking-form-side .side-title .hot {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b4a;
    display: flex;
    align-items: center;
    gap: 4px;
}

#bookingForm {
    display: flex;
    flex-direction: column;
    gap: 14px; /* 表单字段的上下间距 */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2d4059;
}
.form-group label .required {
    color: #ff6b4a;
    margin-left: 2px;
}

/* 统一文本框、下拉框、电话输入框的样式 */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4e2f7;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2634;
    background: #ffffff;
    transition: border-color 0.2s ease;
    outline: none;
    height: 42px;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #1a5fc7;
    box-shadow: 0 0 0 3px rgba(26, 95, 199, 0.08);
}
.form-group input::placeholder {
    color: #aab8c8;
}

/* 年级单选组 */
.radio-group {
    display: flex;
    gap: 14px;
    padding-top: 4px;
    flex-wrap: wrap;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2d4059;
    cursor: pointer;
}
.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #1a5fc7;
    cursor: pointer;
}

/* 验证码区域（输入框 + 图片验证码） */
.captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha input {
    flex: 1;
}
.captcha .code {
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* 提交按钮 */
.btn-submit-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 95, 199, 0.2);
    margin-top: 4px;
}
.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 95, 199, 0.3);
    background: linear-gradient(135deg, #1550a8, #3a7dd6);
}

/* 表单底部安全提示 */
.form-submit-hint {
    font-size: 12px;
    color: #8a9bb0;
    text-align: center;
    margin-top: 0;
}
.form-submit-hint i {
    margin-right: 4px;
    color: #6b7f98;
}

/* 表单验证错误提示（配合之前定义的 show 类） */
.error-msg {
    display: none;
    font-size: 12px;
    color: #ff6b4a;
    margin-top: 4px;
    line-height: 1.4;
}
.error-msg.show {
    display: block;
}
/* ============================================================
   修复三：标题、文章列表、翻页的间距调整
   ============================================================ */
/* 1. 标题：加大“最新资讯”与下方文章列表的距离 */
#article-list-section .section-title {
    margin-bottom: 28px;          /* 从 24px 加宽到 28px，视觉更舒适 */
}

/* 2. 主容器底部：拉开翻页区域与底部深蓝色 CTA 条的间距 */
.page-main .container {
    padding-bottom: 40px;         /* 给整个主内容区底部增加内边距，防止分页贴着底部深蓝条 */
}

/* 3. 针对移动端（手机小屏）的间距微调 */
@media (max-width: 480px) {
    #article-list-section .section-title {
        margin-bottom: 18px;
    }
    .page-main .container {
        padding-bottom: 30px;     /* 手机端适当缩小底部间距 */
    }
}
/* ============================================================
   修复四：解决“最新资讯”标题顶部间距太近的问题
   ============================================================ */
.page-main .container {
    padding-top: 24px;    /* 顶部增加 24px 距离，让标题下移 */
}

/* 手机端（480px以下）适当微调 */
@media (max-width: 480px) {
    .page-main .container {
        padding-top: 16px; /* 手机屏幕较小，减少到 16px 保证不浪费空间 */
    }
}
/* ============================================================
   内容详情页：选项卡样式
   ============================================================ */
.tab-nav-wrapper {
    background: #ffffff;
    border-bottom: 2px solid #eef3fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 0 20px;
}
.tab-nav-wrapper .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    padding: 0;
}
.tab-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #6b7f98;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-btn:hover {
    color: #1a5fc7;
    background: #f8fbff;
}
.tab-btn.active {
    color: #1a5fc7;
    border-bottom-color: #1a5fc7;
    background: #f8fbff;
}
.tab-pane {
    display: none;
    animation: fadeInContent 0.35s ease;
}
.tab-pane.active {
    display: block;
}

/* ============================================================
   内容详情页：报名表单样式
   ============================================================ */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fafcff;
    border-radius: 16px;
    padding: 24px 28px 28px;
    border: 1px solid #eef3fa;
    margin-top: 8px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-row .full-width {
    grid-column: 1 / -1;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d4059;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group .form-label .required {
    color: #ff6b4a;
}
.form-group .form-label .field-hint {
    font-weight: 400;
    font-size: 12px;
    color: #8a9bb0;
}
.form-group .form-input,
.form-group .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4e2f7;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2634;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    height: 42px;
}
.form-group .form-input:focus,
.form-group .form-select:focus {
    border-color: #1a5fc7;
    box-shadow: 0 0 0 3px rgba(26, 95, 199, 0.08);
}
.select-wrapper {
    position: relative;
}
.select-wrapper .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9bb0;
    pointer-events: none;
    font-size: 12px;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 2px;
}
.radio-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2d4059;
    cursor: pointer;
}
.radio-btn input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #1a5fc7;
    cursor: pointer;
}
.validation-error {
    display: none;
    font-size: 12px;
    color: #ff6b4a;
    margin-top: 2px;
    line-height: 1.4;
}
.validation-error.show {
    display: flex;
    align-items: center;
}
.form-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 6px;
    flex-wrap: wrap;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 95, 199, 0.2);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 95, 199, 0.3);
}
.form-hint {
    font-size: 13px;
    color: #8a9bb0;
}
.form-hint i {
    margin-right: 4px;
    color: #6b7f98;
}
/* 内容详情页移动端适配 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .booking-form {
        padding: 16px 18px 20px;
    }
    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-submit {
        width: 100%;
        padding: 12px 20px;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}
/* ============================================================
   修复五：内容详情页 - 顶部工具栏与主头部样式
   ============================================================ */
/* 顶部工具栏左侧/右侧对齐 */
.top-bar .left {
    display: flex;
    align-items: center;
}
.top-bar .right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 顶部搜索框 */
.top-bar .search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d4e2f7;
    border-radius: 30px;
    padding: 2px 2px 2px 14px;
    transition: border-color 0.2s;
}
.top-bar .search-box:focus-within {
    border-color: #1a5fc7;
}
.top-bar .search-box input {
    border: none;
    outline: none;
    font-size: 13px;
    padding: 4px 0;
    width: 120px;
    background: transparent;
    color: #1a2634;
}
.top-bar .search-box button {
    border: none;
    background: #1a5fc7;
    color: #fff;
    border-radius: 30px;
    padding: 4px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.top-bar .search-box button:hover {
    background: #0f4a9e;
}
.top-bar .right .phone {
    font-weight: 700;
    color: #1a5fc7;
    font-size: 15px;
}
.top-bar .right .hotline {
    font-size: 12px;
    color: #8a9bb0;
}

/* 主头部 Logo 区域 */
.main-header .logo-image {
    display: flex;
    align-items: center;
    gap: 12px;
}
.main-header .logo-image .icon {
    font-size: 28px;
    color: #1a5fc7;
    background: #eef4fe;
    padding: 10px;
    border-radius: 12px;
    border: 2px dashed #c8d9f0;
}
.main-header .logo-image .hint {
    font-size: 22px;
    font-weight: 800;
    color: #0b2a4a;
}
.main-header .logo-image .hint span {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航栏 - 预约报名按钮徽标 */
/* 正常状态：亮红色 */
.main-nav a.btn-nav {
    background: #e63946;  /* 换成醒目的红色 */
    color: #fff;
    padding: 8px 22px;
    position: relative;
    border-radius: 30px;
    font-weight: 700;
}

/* 悬停状态：深红色 */
.main-nav a.btn-nav:hover {
    background: #c62832;  /* 鼠标悬停时变成深红色，增加交互感 */
}
.main-nav a.btn-nav .badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff6b4a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(255, 107, 74, 0.3);
}


/* ============================================================
   修复六：教学优势在手机端显示为 2 列，而非 1 列
   ============================================================ */
@media (max-width: 480px) {
    #course-tab .advantage-grid {
        grid-template-columns: 1fr 1fr !important; /* 强制改为 2 列 */
        gap: 10px !important;                      /* 缩小间距以适配两列 */
    }
    #course-tab .advantage-step {
        padding: 14px 12px !important;            /* 缩小内边距 */
        border-radius: 14px !important;
    }
    #course-tab .step-title {
        font-size: 15px !important;               /* 标题字体适当缩小 */
    }
    #course-tab .step-desc {
        font-size: 12px !important;               /* 描述文字缩小 */
        line-height: 1.5 !important;
    }
    #course-tab .step-number {
        width: 28px !important;                   /* 数字图标缩小 */
        height: 28px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    #course-tab .step-header {
        gap: 8px !important;
    }
}
/* ============================================================
   修复七：独立预约报名页面的容器与卡片样式
   ============================================================ */
/* 页面主体容器居中 */
.page-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 卡片主容器样式（复用内容详情页的同款设计） */
.page-wrap .card {
    background: #ffffff;
    border-radius: 32px;
    padding: 36px 40px 40px;
    box-shadow: 0 12px 40px -8px rgba(0, 20, 50, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.25s ease;
}
.page-wrap .card:hover {
    box-shadow: 0 18px 48px -12px rgba(0, 20, 50, 0.16);
}

/* 卡片标题 */
.page-wrap .card-title {
    font-size: 26px;
    font-weight: 700;
    color: #0b2a4a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
}
.page-wrap .card-title i {
    color: #2a7de1;
    font-size: 28px;
    width: 40px;
    text-align: center;
}
.page-wrap .card-title .highlight {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 18px;
    border-radius: 40px;
    margin-left: 6px;
    white-space: nowrap;
}

/* 卡片副标题 */
.page-wrap .card-sub {
    font-size: 15px;
    color: #3a5670;
    margin-bottom: 22px;
    padding-left: 52px;
    font-weight: 500;
}


/* ============================================================
   移动端适配：独立预约报名页
   ============================================================ */
@media (max-width: 768px) {
    .page-wrap {
        margin: 20px auto;
    }
    .page-wrap .card {
        padding: 28px 28px 32px;
        border-radius: 20px;
    }
    .page-wrap .card-title {
        font-size: 22px;
    }
    .page-wrap .card-title .highlight {
        font-size: 12px;
        padding: 2px 12px;
        white-space: normal;
    }
    .page-wrap .card-sub {
        padding-left: 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-wrap .card {
        padding: 18px 16px 20px;
    }
    .page-wrap .card-title {
        font-size: 18px;
    }
    .page-wrap .card-title .highlight {
        font-size: 11px;
    }
    .page-wrap .card-sub {
        font-size: 13px;
    }
}
/* ============================================================
   修复：首页品牌/课程标题“更多”始终靠右对齐
   ============================================================ */
@media (max-width: 768px) {
    .section-title .more {
        margin-left: auto !important; /* 强制覆盖平板端的 margin-left: 0 */
    }
}
@media (max-width: 480px) {
    .page-home .section-title .more {
        margin-left: auto !important; /* 强制覆盖手机端的靠左对齐 */
    }
}
/* ============================================================
   修复八：广告图与资讯动态板块间距不足
   ============================================================ */


.info-section {
    padding-top: 20px;   /* 在资讯区块顶部增加 20px 缓冲区 */
}


/* ============================================================
   移动端适配补充
   ============================================================ */
@media (max-width: 480px) {
    .ad-banner {
        margin-bottom: 10px; /* 手机上间距缩小至 20px */
    }
    .info-section {
        padding-top: 10px;   /* 手机上顶部缓冲区缩小至 10px */
    }
}
/* 强制生效测试 */
.tab-nav .tab-btn .count {
    background: #ff0000 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    padding: 2px 8px !important;
    border-radius: 40% !important;
}
/* 文章卡片整体链接 */
.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-link:hover .article-item {
    border-color: #c8d9f0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* 鼠标悬停时标题变色（可选） */
.article-link:hover .title {
    color: #1a5fc7;
}
/* ---------- 分页 ---------- */
.pagination-static {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eef3fa;
    flex-wrap: wrap;
}
.pagination-static .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d4e2f7;
    background: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #2d4059;
    transition: all 0.2s ease;
    cursor: default;
    user-select: none;
}
.pagination-static .page-btn.active {
    background: #1a5fc7;
    color: #fff;
    border-color: #1a5fc7;
}
.pagination-static .page-btn.disabled {
    opacity: 0.4;
    cursor: default;
}
.pagination-static .page-btn.ellipsis {
    border: none;
    background: transparent;
    color: #6b7f98;
    min-width: 30px;
    padding: 0 4px;
}
.pagination-static .page-info {
    font-size: 13px;
    color: #8a9bb0;
    margin-left: 6px;
}
/* 文章内容居中 */
#article-tab .article-wrapper {
    max-width: 1100px;      /* 与课程容器的最大宽度一致 */
    margin: 0 auto;         /* 水平居中 */
    padding: 36px 40px 40px; /* 保留原有内边距 */
}
/* ============================================================
   学校环境图片自适应
   ============================================================ */
.environment-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #f8fbff;
    border: 2px dashed #d4e2f7;
}

/* 图片本身填满容器，保持比例裁剪 */
.environment-image .env-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* 悬停时轻微放大（可选） */
.environment-image:hover .env-img {
    transform: scale(1.02);
}

/* 保持原有装饰元素层级 */
.environment-image .env-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: rgba(26, 95, 199, 0.08);
    color: #1a5fc7;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 30px;
    border: 1px solid rgba(26, 95, 199, 0.12);
}

.environment-image .env-footer {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #c0cedc;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 18px;
    border-radius: 30px;
    z-index: 2;
    border: 1px solid #eef3fa;
    white-space: nowrap;
}

/* 响应式调整（移动端） */
@media (max-width: 768px) {
    .environment-image {
        min-height: 220px;
    }
}
@media (max-width: 480px) {
    .environment-image {
        min-height: 160px;
        padding: 0; /* 取消原有内边距，让图片完整显示 */
    }
    .environment-image .env-badge {
        font-size: 10px;
        padding: 2px 12px;
        top: 10px;
        right: 10px;
    }
    .environment-image .env-footer {
        font-size: 11px;
        padding: 2px 12px;
        bottom: 10px;
        white-space: nowrap;
    }
}
/* ============================================================
   相关文章推荐（内容详情页）
   ============================================================ */
.related-articles {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid #f0f4fa;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 16px;
}
.related-title i {
    color: #1a5fc7;
    font-size: 22px;
}
.related-title .more-link {
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
    color: #6b7f98;
    display: flex;
    align-items: center;
    gap: 4px;
}
.related-title .more-link:hover {
    color: #1a5fc7;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.related-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f8fc;
    transition: all 0.2s ease;
}
.related-list li:last-child {
    border-bottom: none;
}
.related-list li:hover {
    padding-left: 8px;
}
.related-list li a {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1d334a;
    text-decoration: none;
    transition: color 0.2s;
}
.related-list li a:hover {
    color: #1a5fc7;
}
.related-list li .date {
    font-size: 13px;
    color: #aab8c8;
    flex-shrink: 0;
    margin-left: 16px;
    white-space: nowrap;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .related-articles {
        margin-top: 28px;
        padding-top: 20px;
    }
    .related-title {
        font-size: 18px;
    }
    .related-list li {
        flex-wrap: wrap;
        gap: 4px 0;
        padding: 8px 0;
    }
    .related-list li a {
        font-size: 14px;
        width: 100%;
        flex: 0 0 100%;
    }
    .related-list li .date {
        margin-left: 0;
        font-size: 12px;
        color: #b0c0d0;
    }
}
/* ============================================================
   主头部 Logo 图片样式
   ============================================================ */
.main-header .logo-image {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo 图片 */
.main-header .logo-image .logo-img {
    height: 44px;          /* 固定高度，宽度自适应 */
    width: auto;
    display: block;
    border-radius: 6px;    /* 可选：圆角 */
    object-fit: contain;   /* 确保图片比例不变 */
}

/* 品牌名称文字（去掉“LOGO · ”前缀） */
.main-header .logo-image .hint {
    font-size: 22px;
    font-weight: 800;
    color: #0b2a4a;
}

.main-header .logo-image .hint span {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-header .logo-image .logo-img {
        height: 34px;
    }
    .main-header .logo-image .hint {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .main-header .logo-image .logo-img {
        height: 28px;
    }
    .main-header .logo-image .hint {
        font-size: 16px;
    }
}
/* ============================================================
   侧边栏预约体验课表单样式修复
   ============================================================ */

/* 表单容器 */
.booking-form-side {
    padding: 18px 20px 20px;
}

.booking-form-side .form-group {
    margin-bottom: 14px;
}

.booking-form-side .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.booking-form-side .form-group label .required {
    color: #f5576c;
}

.booking-form-side .form-group input,
.booking-form-side .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafafa;
}

.booking-form-side .form-group input:focus,
.booking-form-side .form-group select:focus {
    border-color: #f5576c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.12);
    background: #fff;
}

.booking-form-side .form-group input.error,
.booking-form-side .form-group select.error {
    border-color: #f5576c;
    background: #fff5f5;
}

.booking-form-side .error-msg {
    display: none;
    color: #f5576c;
    font-size: 12px;
    margin-top: 4px;
}

.booking-form-side .error-msg.show {
    display: block;
}

/* 单选按钮组（年级） */
.booking-form-side .radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 2px;
}

.booking-form-side .radio-option {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 14px;
}

.booking-form-side .radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #f5576c;
    cursor: pointer;
}

.booking-form-side .radio-option span {
    user-select: none;
}

/* 验证码 */
.booking-form-side .captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form-side .captcha input {
    flex: 1;
}

.booking-form-side .captcha .code {
    display: inline-block;
    padding: 8px 14px;
    background: #e8e8e8;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: #333;
    cursor: pointer;
    user-select: none;
    min-width: 52px;
    text-align: center;
    transition: background 0.2s;
}

.booking-form-side .captcha .code:hover {
    background: #d5d5d5;
}

/* ===== 提交按钮（核心修复） ===== */
.booking-form-side .btn-submit-form {
    width: 100%;
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f5576c, #ff6b4a);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s, opacity 0.3s;
    text-align: center;
    margin-top: 6px;
    box-sizing: border-box;
}

.booking-form-side .btn-submit-form:hover {
    background: linear-gradient(135deg, #e0485e, #e85a3a);
}

.booking-form-side .btn-submit-form:active {
    transform: scale(0.98);
}

.booking-form-side .btn-submit-form:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 提交提示 */
.booking-form-side .form-submit-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.booking-form-side .form-submit-hint i {
    margin-right: 4px;
}

/* ============================================================
   响应式：手机端适配
   ============================================================ */
@media (max-width: 768px) {
    .booking-form-side {
        padding: 14px 16px 16px;
    }

    .booking-form-side .radio-group {
        gap: 8px;
    }

    .booking-form-side .captcha {
        flex-wrap: wrap;
    }

    .booking-form-side .captcha input {
        min-width: 120px;
    }

    .booking-form-side .btn-submit-form {
        font-size: 15px;
        padding: 11px 16px;
    }
}