﻿/* ========================================
   首页专用样式
   ======================================== */

/* ---- 模块1：Banner 轮播（全屏视觉型） ---- */
.home-hero {
    position: relative;
    height: 680px;
    min-height: unset;
    overflow: hidden;
    margin-top: -72px;
    padding-top: 72px;
    display: block;
}

.home-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
    padding: 0;
    display: block;
}

.home-hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* ---- 背景图片层 ---- */
.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.home-hero-bg img,
.home-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.75) 0%, rgba(0, 51, 102, 0.55) 60%, rgba(26, 76, 122, 0.40) 100%);
}

/* ---- 内容层 ---- */
.home-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-brand-tag {
    display: inline-block;
    padding: 4px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: rgba(200, 16, 46, 0.40);
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* ---- 左右箭头 ---- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.20);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    color: var(--color-white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    /* ★ 移除 transform: translateX(-50%)，用精确定位 */
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.50);
}

.hero-arrow-prev {
    left: 20px; /* 使用 left 定位，图标靠左 */
}

.hero-arrow-next {
    right: 20px; /* 使用 right 定位，图标靠右 */
}

/* ---- 底部控制区（指示器 + 暂停按钮） ---- */
.home-hero-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #ffffff;
    width: 28px;
    border-radius: 5px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.70);
}

/* 声音切换按钮（与指示器同行，位于胶囊内右侧） */
.hero-sound-toggle {
    position: relative;
    width: 28px;
    height: 28px;
    display: none; /* 默认隐藏，JS 按需显示为 flex */
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.80);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color .2s ease, transform .2s ease;
    line-height: 1;
}

.hero-sound-toggle:hover {
    color: #ffffff;
    transform: scale(1.08);
}

/* 竖分隔线：用伪元素生成，按钮隐藏时自动消失 */
.hero-sound-toggle::before {
    content: '';
    position: absolute;
    left: -8px; /* 容器 gap 是 16px，-8px 正好落在中线 */
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.20);
}

    /* 图标显隐 */
    .hero-sound-toggle .sound-icon {
        display: block;
        width: 16px;
        height: 16px;
    }

    .hero-sound-toggle .sound-icon-off {
        display: none;
    }

    .hero-sound-toggle.muted .sound-icon-on {
        display: none;
    }

    .hero-sound-toggle.muted .sound-icon-off {
        display: block;
    }

/* 移动端 */
@media (max-width: 768px) {
    .hero-sound-toggle {
        width: 24px;
        height: 24px;
    }

        .hero-sound-toggle .sound-icon {
            width: 14px;
            height: 14px;
        }

        .hero-sound-toggle::before {
            height: 14px;
        }
}

/* ========================================
   文字位置控制（九宫格）- 重构版
   ======================================== */

/* ---- 内容容器：相对定位，作为绝对定位的锚点 ---- */
.home-hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- 文本内容：绝对定位，精确控制九宫格位置 ---- */
.home-hero-text {
    color: var(--color-white);
    position: absolute;
    max-width: 680px;
    width: 100%;
}

.home-hero-text h1 {
    color: var(--color-white);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* ============================================================
   九宫格定位
   ============================================================ */

/* ---- 左上 ---- */
.home-hero-content.pos-top-left .home-hero-text {
    top: 80px;
    left: 0;
    text-align: left;
}

.home-hero-content.pos-top-left .hero-actions {
    justify-content: flex-start;
}

/* ---- 上中 ---- */
.home-hero-content.pos-top-center .home-hero-text {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.home-hero-content.pos-top-center .hero-actions {
    justify-content: center;
}

/* ---- 右上 ---- */
.home-hero-content.pos-top-right .home-hero-text {
    top: 80px;
    right: 0;
    text-align: right;
}

.home-hero-content.pos-top-right .hero-actions {
    justify-content: flex-end;
}

/* ---- 中左 ---- */
.home-hero-content.pos-middle-left .home-hero-text {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    text-align: left;
}

.home-hero-content.pos-middle-left .hero-actions {
    justify-content: flex-start;
}

/* ---- 中中 ---- */
.home-hero-content.pos-middle-center .home-hero-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-hero-content.pos-middle-center .hero-actions {
    justify-content: center;
}

/* ---- 中右 ---- */
.home-hero-content.pos-middle-right .home-hero-text {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    text-align: right;
}

.home-hero-content.pos-middle-right .hero-actions {
    justify-content: flex-end;
}

/* ---- 左下 ---- */
.home-hero-content.pos-bottom-left .home-hero-text {
    bottom: 80px;
    left: 0;
    text-align: left;
}

.home-hero-content.pos-bottom-left .hero-actions {
    justify-content: flex-start;
}

/* ---- 下中 ---- */
.home-hero-content.pos-bottom-center .home-hero-text {
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.home-hero-content.pos-bottom-center .hero-actions {
    justify-content: center;
}

/* ---- 右下 ---- */
.home-hero-content.pos-bottom-right .home-hero-text {
    bottom: 80px;
    right: 0;
    text-align: right;
}

.home-hero-content.pos-bottom-right .hero-actions {
    justify-content: flex-end;
}

/* ============================================================
   按钮对齐（跟随文本对齐方式）
   ============================================================ */

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

/* 左对齐文本 → 按钮左对齐 */
.home-hero-content.pos-top-left .hero-actions,
.home-hero-content.pos-middle-left .hero-actions,
.home-hero-content.pos-bottom-left .hero-actions {
    justify-content: flex-start;
}

/* 居中文本 → 按钮居中 */
.home-hero-content.pos-top-center .hero-actions,
.home-hero-content.pos-middle-center .hero-actions,
.home-hero-content.pos-bottom-center .hero-actions {
    justify-content: center;
}

/* 右对齐文本 → 按钮右对齐 */
.home-hero-content.pos-top-right .hero-actions,
.home-hero-content.pos-middle-right .hero-actions,
.home-hero-content.pos-bottom-right .hero-actions {
    justify-content: flex-end;
}

/* ============================================================
   响应式：移动端调整
   ============================================================ */

@media (max-width: 768px) {
    .home-hero-content {
        padding: 0 16px;
    }

    .home-hero-text {
        max-width: 100%;
    }

    /* 移动端统一居中，避免内容跑偏 */
    .home-hero-content.pos-top-left .home-hero-text,
    .home-hero-content.pos-top-right .home-hero-text,
    .home-hero-content.pos-middle-left .home-hero-text,
    .home-hero-content.pos-middle-right .home-hero-text,
    .home-hero-content.pos-bottom-left .home-hero-text,
    .home-hero-content.pos-bottom-right .home-hero-text {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .home-hero-content.pos-top-left .hero-actions,
    .home-hero-content.pos-top-right .hero-actions,
    .home-hero-content.pos-middle-left .hero-actions,
    .home-hero-content.pos-middle-right .hero-actions,
    .home-hero-content.pos-bottom-left .hero-actions,
    .home-hero-content.pos-bottom-right .hero-actions {
        justify-content: center;
    }

    /* 调整偏移避免与底部控制区重叠 */
    .home-hero-content.pos-bottom-center .home-hero-text,
    .home-hero-content.pos-bottom-left .home-hero-text,
    .home-hero-content.pos-bottom-right .home-hero-text {
        bottom: 100px;
    }
}

/* ============================================================
   核心业务入口（简约版）
   ============================================================ */

.services-entry {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

/* ---- 三列网格 ---- */
.services-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

/* ---- 卡片 ---- */
.service-card-horizontal {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px 36px; /* 统一内边距，不再分别设置 */
    text-decoration: none;
    color: var(--color-navy);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 200px;
}

    /* ★ 第一个卡片：只保留右侧内边距，左侧不设内边距 */
    .service-card-horizontal:first-child {
        padding-left: 16px;
        padding-right: 20px;
    }

    /* ★ 第二个卡片：左右各保留少量内边距 */
    .service-card-horizontal:nth-child(2) {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ★ 第三个卡片：只保留左侧内边距，右侧不设内边距 */
    .service-card-horizontal:last-child {
        padding-left: 20px;
        padding-right: 16px;
    }

/* ---- 高亮卡片（留学服务默认深蓝） ---- */
.service-card-highlight {
    background: var(--color-navy);
    color: var(--color-white);
}

    .service-card-highlight h3 {
        color: var(--color-white);
    }

    .service-card-highlight p {
        color: rgba(255, 255, 255, 0.70);
    }

    .service-card-highlight .service-card-btn {
        color: var(--color-white);
        border-color: rgba(255, 255, 255, 0.20);
    }

        .service-card-highlight .service-card-btn:hover {
            background: var(--color-white);
            color: var(--color-navy);
        }

/* ---- 装饰线 ---- */
.service-card-line {
    width: 40px;
    height: 4px;
    background: var(--color-red);
    margin-bottom: 16px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-highlight .service-card-line {
    background: rgba(255, 255, 255, 0.40);
}

/* ---- 标题 ---- */
.service-card-horizontal h3 {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-serif);
    margin: 0 0 6px;
    transition: color 0.3s ease;
}

/* ---- 描述 ---- */
.service-card-horizontal p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    color: var(--color-gray-500);
    transition: color 0.3s ease;
    max-width: 90%;
}

/* ---- 右下角按钮 ---- */
.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-end;
    margin-top: auto;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

/* ---- 悬停效果 ---- */
.service-card-horizontal:hover {
    background: var(--color-red);
    color: var(--color-white);
}

    .service-card-horizontal:hover .service-card-line {
        width: 80px;
        background: rgba(255, 255, 255, 0.40);
    }

    .service-card-horizontal:hover p {
        color: rgba(255, 255, 255, 0.75);
    }

    .service-card-horizontal:hover h3 {
        color: var(--color-white);
    }

    .service-card-horizontal:hover .service-card-btn {
        color: var(--color-white);
        border-color: rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.08);
    }

        .service-card-horizontal:hover .service-card-btn:hover {
            background: var(--color-white);
            color: var(--color-red);
        }

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 992px) {
    .services-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .service-card-horizontal {
        padding: 28px 20px 24px !important; /* 移动端统一内边距 */
        min-height: auto;
    }

        .service-card-horizontal p {
            max-width: 100%;
        }

    .service-card-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .service-card-horizontal {
        padding: 20px 16px 18px !important;
    }

        .service-card-horizontal h3 {
            font-size: 19px;
        }

        .service-card-horizontal p {
            font-size: 13px;
        }

    .service-card-btn {
        font-size: 12px;
        padding: 4px 14px;
    }

    .service-card-line {
        width: 32px;
        margin-bottom: 12px;
    }
}

/* ========================================
   商业合作模块
   ======================================== */

.cooperation-section {
    /* background: var(--color-navy-light);*/
    background: linear-gradient(135deg, #002244 0%, #003366 60%, #1a4c7a 100%);
}

/* ---- 头部 ---- */
.cooperation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.cooperation-header-left {
    max-width: 640px;
}

    .cooperation-header-left h2 {
        color: var(--color-white);
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 0;
    }

    .cooperation-header-left p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 18px;
        font-weight: 300;
        line-height: 1.8;
        margin-top: var(--spacing-sm);
        margin-bottom: 0;
    }

.cooperation-header-right {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* ---- 城市卡片 ---- */
.cooperation-card {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
}

    .cooperation-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: var(--radius-sharp, 0px);
        display: block;
    }

    .cooperation-card .card-info {
        display: flex;
        align-items: flex-start;
        gap: var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-xs) 0;
    }

        .cooperation-card .card-info .pin {
            color: var(--color-red);
            flex-shrink: 0;
            margin-top: 2px;
            width: 16px;
            height: 16px;
        }

        .cooperation-card .card-info .name {
            color: var(--color-white);
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
        }

        .cooperation-card .card-info .address {
            color: rgba(255, 255, 255, 0.5);
            font-size: 11px;
            line-height: 1.5;
            margin-top: 2px;
        }

    /* ---- 占位卡片 ---- */
    .cooperation-card.placeholder {
        border-style: dashed;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.04);
    }

        .cooperation-card.placeholder .placeholder-icon {
            width: 100%;
            aspect-ratio: 16 / 9;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.2);
        }

            .cooperation-card.placeholder .placeholder-icon svg {
                color: rgba(255, 255, 255, 0.3);
                width: 32px;
                height: 32px;
            }

        .cooperation-card.placeholder .card-info .pin {
            color: rgba(255, 255, 255, 0.3);
        }

/* ---- 桌面端网格 ---- */
.cooperation-grid {
    display: grid;
    grid-template-columns: 13rem 1fr 13rem;
    gap: 4px;
    align-items: stretch;
    margin-top: var(--spacing-2xl);
}

.cooperation-side {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
}

    .cooperation-side.left {
        justify-self: end;
        margin-right: -8px;
    }

    .cooperation-side.right {
        justify-self: start;
        margin-left: -8px;
    }

.cooperation-map {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

    .cooperation-map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ---- 移动端 ---- */
.cooperation-mobile {
    display: none;
    margin-top: var(--spacing-lg);
}

    .cooperation-mobile .mobile-map {
        width: 100%;
        padding: var(--spacing-md);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

        .cooperation-mobile .mobile-map img {
            width: 100%;
            height: auto;
            display: block;
        }

    .cooperation-mobile .mobile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

/* ========================================
   响应式
   ======================================== */

/* 桌面端隐藏移动端，移动端隐藏桌面端 */
@media (min-width: 1024px) {
    .hidden-mobile {
        display: grid;
    }

    .visible-mobile {
        display: none;
    }
}

@media (max-width: 1023px) {
    .hidden-mobile {
        display: none;
    }

    .visible-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .cooperation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .cooperation-header-right {
        width: 100%;
    }

        .cooperation-header-right .btn {
            flex: 1;
            text-align: center;
            padding: 10px 16px;
            font-size: 14px;
        }

    .cooperation-header-left h2 {
        font-size: 28px;
    }

    .cooperation-header-left p {
        font-size: 16px;
    }

    .cooperation-mobile .mobile-grid {
        gap: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .cooperation-header-right {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

        .cooperation-header-right .btn {
            width: 100%;
        }

    .cooperation-mobile .mobile-grid {
        gap: var(--spacing-xs);
    }

    .cooperation-card .card-info .name {
        font-size: 12px;
    }

    .cooperation-card .card-info .address {
        font-size: 10px;
    }

    .cooperation-card .card-info .pin {
        width: 14px;
        height: 14px;
    }
}

/* ============================================================
   首页 · 最新留学资讯
   ============================================================ */

.home-news-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

/* ---- 头条 ---- */
.home-news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

.home-news-headline {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

    .home-news-headline:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
        border-color: var(--color-gray-200);
    }

.headline-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.headline-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-gray-100);
}

    .headline-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.home-news-headline:hover .headline-image img {
    transform: scale(1.02);
}

.headline-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
}

    .headline-image-placeholder i {
        width: 48px;
        height: 48px;
        stroke-width: 1.5;
    }

.headline-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-navy);
    padding: 2px 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.headline-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-red);
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

    .headline-badge .badge-icon {
        width: 14px;
        height: 14px;
        stroke-width: 2;
    }

.headline-body {
    padding: var(--spacing-lg);
}

    .headline-body h3 {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-navy);
        font-family: var(--font-serif);
        margin: 0 0 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .headline-body p {
        font-size: 15px;
        color: var(--color-gray-500);
        margin: 0 0 12px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.headline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-gray-400);
}

    .headline-meta .meta-icon {
        display: inline-block;
        width: 14px;
        height: 14px;
        color: var(--color-gray-400);
        vertical-align: middle;
        margin-right: 4px;
        stroke-width: 2;
    }

.headline-readmore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--color-navy);
    transition: all var(--transition-base);
}

.home-news-headline:hover .headline-readmore {
    color: var(--color-red);
}

.headline-readmore .readmore-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform var(--transition-smooth);
}

.home-news-headline:hover .readmore-icon {
    transform: translateX(4px);
}

/* ---- 右侧列表 ---- */
.home-news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.list-item {
    display: flex;
    gap: var(--spacing-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    padding: var(--spacing-sm);
    transition: all var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

    .list-item:hover {
        transform: translateX(4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        border-color: var(--color-gray-200);
    }

.list-item-image {
    flex: 0 0 100px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-gray-100);
}

    .list-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.list-item:hover .list-item-image img {
    transform: scale(1.02);
}

.list-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
}

    .list-item-placeholder i {
        width: 24px;
        height: 24px;
        stroke-width: 1.5;
    }

.list-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.list-item-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-red);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.list-item-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-item-summary {
    font-size: 13px;
    color: var(--color-gray-500);
    margin: 0 0 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-item-date {
    font-size: 12px;
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

    .list-item-date .meta-icon-sm {
        display: inline-block;
        width: 12px;
        height: 12px;
        color: var(--color-gray-400);
        stroke-width: 2;
    }

/* ---- 底部：查看全部 ---- */
.list-item-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    background: var(--color-white);
    border: 1px dashed var(--color-gray-200);
    transition: all var(--transition-smooth);
    min-height: 64px;
}

    .list-item-more:hover {
        border-color: var(--color-navy);
        background: var(--color-gray-50);
    }

    .list-item-more .btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .list-item-more .more-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        stroke-width: 2;
        transition: transform var(--transition-smooth);
    }

    .list-item-more .btn:hover .more-icon {
        transform: translateX(4px);
    }

/* ---- 空状态 ---- */
.home-news-empty {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    color: var(--color-gray-400);
}

    .home-news-empty .empty-icon {
        display: block;
        margin-bottom: var(--spacing-md);
        color: var(--color-gray-300);
    }

        .home-news-empty .empty-icon i {
            width: 48px;
            height: 48px;
            stroke-width: 1.5;
        }

    .home-news-empty p {
        font-size: 16px;
        margin: 0;
    }

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 992px) {
    .home-news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .home-news-headline {
        order: 1;
    }

    .home-news-list {
        order: 2;
    }

    .headline-body h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .home-news-section {
        padding: var(--spacing-xl) 0;
    }

    .headline-body {
        padding: var(--spacing-md);
    }

        .headline-body h3 {
            font-size: 17px;
        }

        .headline-body p {
            font-size: 14px;
        }

    .list-item {
        padding: var(--spacing-xs);
        gap: var(--spacing-sm);
    }

    .list-item-image {
        flex: 0 0 80px;
    }

    .list-item-body h4 {
        font-size: 14px;
    }

    .list-item-summary {
        font-size: 12px;
    }

    .list-item-more {
        min-height: 52px;
        padding: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .list-item {
        flex-direction: column;
        padding: var(--spacing-xs);
    }

    .list-item-image {
        flex: 1 1 auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .headline-body h3 {
        font-size: 16px;
    }

    .headline-body p {
        font-size: 13px;
    }

    .list-item-more .btn {
        width: 100%;
        justify-content: center;
    }

    .home-news-empty .empty-icon i {
        width: 36px;
        height: 36px;
    }

    .home-news-empty p {
        font-size: 14px;
    }
}

/* ============================================================
   高校战略合作
   ============================================================ */

.honors-partners-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.honors-partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-sharp, 0px);
    aspect-ratio: 16 / 9;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

    .partner-logo-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform var(--transition-smooth);
    }

    .partner-logo-item:hover {
        border-color: var(--color-navy);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        transform: translateY(-4px);
    }

        .partner-logo-item:hover img {
            transform: scale(1.04);
        }

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 992px) {
    .honors-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {

    .honors-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .honors-partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

/* ---- 中部通栏广告位 ---- */
.home-middle-banner {
    padding: 16px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.middle-banner-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.middle-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.middle-banner-bg {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #e2e8f0;
}

    .middle-banner-bg img,
    .middle-banner-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.middle-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.70) 0%, rgba(0, 51, 102, 0.40) 100%);
}

.middle-banner-text {
    color: #ffffff;
    max-width: 70%;
}

    .middle-banner-text h3 {
        color: #ffffff;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .middle-banner-text p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 16px;
        margin-bottom: 8px;
    }

.middle-banner-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--color-red);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.middle-banner-link:hover .middle-banner-btn {
    background: var(--color-red-light);
    transform: scale(1.02);
}

/* 无图片时显示纯色背景 */
.middle-banner-bg.no-image {
    background: linear-gradient(135deg, #003366, #1a4c7a);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 768px) {
    .middle-banner-bg {
        height: 140px;
    }

    .middle-banner-content {
        padding: 0 20px;
    }

    .middle-banner-text {
        max-width: 90%;
    }

        .middle-banner-text h3 {
            font-size: 20px;
        }

        .middle-banner-text p {
            font-size: 14px;
            margin-bottom: 4px;
        }

    .middle-banner-btn {
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .middle-banner-bg {
        height: 110px;
    }

    .middle-banner-content {
        padding: 0 14px;
    }

    .middle-banner-text {
        max-width: 100%;
    }

        .middle-banner-text h3 {
            font-size: 16px;
        }

        .middle-banner-text p {
            font-size: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .middle-banner-btn {
        font-size: 11px;
        padding: 4px 12px;
    }
}

/* ========================================
   企业介绍模块（横幅图片版）
   ======================================== */

.brand-intro-section {
    padding: var(--spacing-3xl) 0;
}

/* ====== 第1层：标签+标题 + 数据，底部对齐 ====== */
.brand-intro-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ★ 底部对齐 */
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-gray-100);
    flex-wrap: wrap;
}

.brand-intro-head-left {
    flex: 1 1 auto;
    min-width: 0;
}

/* 小标签 */
.brand-intro-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    padding: 2px 12px;
    background: rgba(200, 16, 46, 0.06);
    border-radius: var(--radius-sm);
}

/* 标题 */
.brand-intro-head-left h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-navy);
    margin: 0;
}

    .brand-intro-head-left h2 .text-red {
        font-style: italic;
    }

/* ====== 数据：无背景，沿用原有样式 ====== */
.brand-intro-stats {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: var(--spacing-lg) var(--spacing-xl);
    padding-bottom: 6px; /* 与标题底部基线微调 */
}

.brand-stat {
    text-align: center;
}

.brand-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-serif);
    color: var(--color-navy); /* ★ 品牌深蓝 */
    line-height: 1.2;
}

.brand-stat-label {
    display: block;
    font-size: 12px;
    color: var(--color-gray-400);
    margin-top: 2px;
    white-space: nowrap;
}

/* ====== 第2层：详细正文通栏 ====== */
.brand-intro-text {
    margin-bottom: var(--spacing-sm);
}

    .brand-intro-text p {
        font-size: 17px;
        line-height: 1.9;
        color: var(--color-gray-600);
        margin-bottom: var(--spacing-sm);
    }

        .brand-intro-text p:last-child {
            margin-bottom: 0;
        }

/* ====== 第3层：通栏横幅图片 ====== */
.brand-intro-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sharp);
    box-shadow: var(--shadow-card-hover);
}

    .brand-intro-banner img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform var(--transition-smooth);
    }

    .brand-intro-banner:hover img {
        transform: scale(1.02);
    }

/* ========================================
   响应式
   ======================================== */

@media (max-width: 1200px) {
    .brand-intro-head-left h2 {
        font-size: 30px;
    }

    .brand-intro-stats {
        gap: var(--spacing-md) var(--spacing-lg);
    }

    .brand-stat-number {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .brand-intro-head {
        /* 数据条换行，仍靠左 */
        align-items: flex-start;
    }

    .brand-intro-stats {
        /* 数据占满一行 */
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
        padding-top: var(--spacing-md);
        padding-bottom: 0;
    }

    .brand-stat {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .brand-intro-section {
        padding: var(--spacing-2xl) 0;
    }

    .brand-intro-head-left h2 {
        font-size: 26px;
    }

    .brand-intro-text p {
        font-size: 15px;
    }

    .brand-intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md) var(--spacing-sm);
    }

    .brand-stat-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .brand-intro-head-left h2 {
        font-size: 22px;
    }

    .brand-intro-stats {
        gap: var(--spacing-sm);
    }

    .brand-stat-number {
        font-size: 20px;
    }

    .brand-stat-label {
        font-size: 11px;
    }
}

/* ---- 模块3：通栏广告位 ---- */
.stats-banner {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #002244 0%, #003366 100%);
    color: var(--color-white);
}

.stats-banner-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: var(--spacing-sm);
}

.stats-banner-item {
    text-align: center;
    flex: 1;
    padding: 0 var(--spacing-xs);
}
/* ★ 数字使用衬线字体（中宋风格） ★ */
.stats-banner-number {
    display: block;
    font-family: 'Times New Roman', 'Songti SC', 'Noto Serif SC', serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: 1px;
}

.stats-banner-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.stats-banner-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .stats-banner-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md) var(--spacing-lg);
        max-width: 600px;
    }

    .stats-banner-item {
        flex: 0 0 calc(50% - var(--spacing-lg));
        padding: 0;
    }

    .stats-banner-divider {
        display: none;
    }

    .stats-banner-number {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .stats-banner-grid {
        gap: var(--spacing-md);
        max-width: 100%;
    }

    .stats-banner-item {
        flex: 0 0 calc(50% - var(--spacing-sm));
    }

    .stats-banner-number {
        font-size: 26px;
    }

    .stats-banner-label {
        font-size: 12px;
    }
}

