

/* ===== extracted from original inline <style> blocks, in order ===== */
:root {
            --primary-color: #2c3e50;
            --secondary-color: #34495e;
            --accent-color: #e74c3c;
            --hover-color-light: #1a73e8;
            --hover-color-dark: #ffeb3b;
            --text-color: #333;
            --gray-color: #95a5a6;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: '微软雅黑', sans-serif;
            line-height: 1.5;
            background: #f5f6fa;
            color: var(--text-color);
        }

        .slider-container {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
            height: 400px;
            margin-bottom: 0;
            background: #fff;
        }

        .slider {
            position: relative;
            height: 100%;
            width: 100%;
        }

        .slider-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

        .slider-slide.active {
            opacity: 1;
        }

        .slide-image-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            cursor: pointer;
        }

        .slide-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .slider-slide:hover .slide-image {
            transform: scale(1.05);
        }

        /* 标题在底部显示 */
        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.8) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.5rem;
            color: white;
        }

        .slide-content {
            position: relative;
            z-index: 2;
            margin-bottom: 1rem;
        }

        .slide-category {
            background: var(--secondary-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* 标题样式调整 - 更小，在底部 */
        .slide-title {
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .slide-title a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 轮播图标题悬停 - 使用深色背景悬停色 */
        .slide-title a:hover {
            color: var(--hover-color-dark);
            text-decoration: none;
        }

        /* 新增副标题样式 */
        .slide-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
            margin-top: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 400;
        }

        .slide-excerpt {
            display: none; /* 隐藏摘要 */
        }

        /* 移除阅读全文按钮 */
        .slide-link {
            display: none;
        }

        /* 移除切换标识 */
        .slide-indicator {
            display: none;
        }

        .slider-controls {
            position: absolute;
            bottom: 1.5rem;
            right: 1.5rem;
            display: flex;
            gap: 0.8rem;
            z-index: 10;
        }

        .slider-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255,255,255,0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .slider-dot.active {
            background: white;
            transform: scale(1.3);
            border-color: var(--secondary-color);
        }

        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.9);
            border: none;
            color: var(--primary-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            z-index: 10;
        }

        .slider-nav:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .slider-prev {
            left: 2rem;
        }

        .slider-next {
            right: 2rem;
        }

        /* 布局调整 */
        .main-layout {
            max-width: 1200px;
            margin: 0 auto;
            padding: 25px 1rem 0 1rem; /* 顶部留白给logo突出 */
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 1.5rem;
            align-items: start;
        }

        .slider-column {
            grid-column: 1;
        }

        .intro-column {
            grid-column: 2;
        }

        /* 现代化的内容区域 */
        .container {
            max-width: 1200px;
            margin: 1.5rem auto;
            padding: 0 1rem;            
        }

        /* 现代化的卡片网格 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 35px rgba(0,0,0,0.15);
        }

        /* 统一卡片标题栏高度 */
        .card-header {
            background: var(--secondary-color);
            padding: 0.8rem 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            overflow: hidden;
            min-height: auto;
            height: 60px; /* 统一高度 */
        }

        .card-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
        }

        .card-title {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            color: white;
            font-weight: 600;
            position: relative;
        }

        .card-title i {
            font-size: 1.1rem;
        }

        .card-title h3 {
            font-size: 1.1rem;
            margin: 0;
        }

        .more-link {
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            white-space: nowrap;
            opacity: 0.9;
            transition: opacity 0.3s;
            position: relative;
            padding: 0.3rem 0.6rem;
            background: rgba(255,255,255,0.2);
            border-radius: 15px;
        }

        .more-link:hover {
            opacity: 1;
            background: rgba(255,255,255,0.3);
        }

        /* 平滑滚动 */
        html {
            scroll-behavior: smooth;
        }

        /* 确保锚点定位准确 */
        section, .card {
            scroll-margin-top: 80px;
        }

        /* 内容列表 - 优化布局 */
        .content-list {
            padding: 1rem;
        }

        .list-item {
            display: flex;
            align-items: center;
            padding: 0.7rem 0;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s ease;
        }

        .list-item:hover {
            background: #f8f9fa;
            border-radius: 6px;
        }

        .list-item:last-child {
            border-bottom: none;
        }

        .item-number {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--accent-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.8rem;
            font-size: 0.8rem;
            font-weight: 600;
            flex-shrink: 0;
        }

        .item-number.green {
            background: #27ae60;
        }

        .item-number.blue {
            background: var(--secondary-color);
        }

        /* 文章标题和日期在同一行 */
        .item-content {
            flex: 1;
            min-width: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .item-title-wrapper {
            flex: 1;
            min-width: 0;
        }

        .item-title {
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 1rem;
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            line-height: 1.3;
        }

        /* 栏目文章标题悬停 - 使用浅色背景悬停色 */
        .item-title:hover {
            color: var(--hover-color-light);
        }

        .item-date {
            color: var(--gray-color);
            font-size: 0.8rem;
            white-space: nowrap;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* 优化工具按钮 - 图标文字同行，高度减小 */
        .tool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 0.8rem;
            padding: 1rem;
        }

        .tool-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 0.6rem 0.8rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1rem; /* 修改工具栏文字大小 */
            font-weight: 500;
            min-height: 50px; /* 减小高度 */
            line-height: 1.2;
        }

        /* 工具按钮悬停 - 使用浅色背景悬停色 */
        .tool-btn:hover {
            background: var(--hover-color-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .tool-btn i {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .tool-btn.double {
            grid-column: span 2;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            padding: 0.7rem 0.8rem;
            min-height: 55px;
        }

        /* 介绍卡片 - 调整标题栏高度和内容区域 */
        .intro-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 0;
            height: 400px;
            display: flex;
            flex-direction: column;
        }

        .intro-header {
            background: var(--secondary-color);
            padding: 0.8rem 1.2rem;
            color: white;
            height: 60px; /* 统一高度 */
            display: flex;
            align-items: center;
        }

        .intro-title {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .intro-content {
            padding: 1rem;
            line-height: 1.6;
            font-size: 1rem;
            color: #555;
            flex: 1;
            overflow-y: auto; /* 添加滚动条 */
            display: flex;
            flex-direction: column;
        }

        /* 段首缩进两个字符 */
        .intro-content p {
            margin-bottom: 1rem;
            text-align: justify;
            text-indent: 2em;
        }

        .intro-features {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 0.8rem;
            color: #666;
            font-size: 0.95rem;
        }

        .feature-item i {
            color: var(--secondary-color);
            font-size: 1rem;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .slider-container {
                height: 350px;
            }
            
            .intro-card {
                height: 350px;
            }
            
            .slide-title {
                font-size: 1.4rem;
            }
            
            .slide-subtitle {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 768px) {
            .main-layout {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 10px 0.8rem 0 0.8rem; /* 移动端logo隐藏，减少顶部留白 */
            }

            .slider-column {
                grid-column: 1;
            }

            .intro-column {
                grid-column: 1;
            }

            .slider-container {
                height: 300px;
                border-radius: 12px;
            }

            .slide-overlay {
                padding: 1rem;
            }

            .slide-title {
                font-size: 1rem;
            }
            
            .slide-subtitle {
                font-size: 0.8rem;
            }

            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .slider-prev {
                left: 1rem;
            }

            .slider-next {
                right: 1rem;
            }

            .slider-controls {
                bottom: 1rem;
                right: 1rem;
            }

            .intro-card {
                height: auto;
                min-height: 300px;
            }

            .container {
                padding: 0 0.8rem;
                margin: 1rem auto;
            }

            .card-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
                margin: 1rem 0;
            }

            .card {
                border-radius: 10px;
            }

            .card-header {
                padding: 0.7rem 1rem;
                height: 55px;
            }

            .item-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.3rem;
            }

            .item-date {
                align-self: flex-end;
            }

            /* 手机端工具按钮 */
            .tool-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.6rem;
                padding: 0.8rem;
            }

            .tool-btn {
                padding: 0.5rem 0.6rem;
                font-size: 1rem !important; /* 修改工具栏字体大小 */
                gap: 0.4rem;
                min-height: 45px;
            }

            .tool-btn i {
                font-size: 1.1rem;
            }

            .tool-btn.double {
                grid-column: span 2;
                padding: 0.6rem 0.6rem;
                min-height: 50px;
                font-size: 0.9rem;
            }

            .intro-content {
                padding: 0.8rem;
                font-size: 1.1rem;
            }

            .content-list {
                padding: 0.8rem;
            }

            .list-item {
                padding: 0.6rem 0;
            }
        }

        @media (max-width: 480px) {
            .slider-container {
                height: 250px;
            }

            .slide-title {
                font-size: 0.9rem;
            }
            
            .slide-subtitle {
                font-size: 0.75rem;
            }

            .slider-controls {
                bottom: 0.8rem;
                right: 0.8rem;
            }

            .tool-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
                padding: 0.8rem;
            }

            .tool-btn {
                padding: 0.4rem 0.5rem;
                font-size: 0.8rem;
                gap: 0.3rem;
                min-height: 40px;
            }

            .tool-btn i {
                font-size: 1rem;
            }

            .tool-btn.double {
                grid-column: span 2;
                padding: 0.5rem 0.5rem;
                min-height: 45px;
                font-size: 0.85rem;
            }

            .item-content {
                flex-direction: column;
                align-items: stretch;
            }

            .item-date {
                align-self: flex-start;
                margin-top: 0.2rem;
            }

            .intro-card {
                min-height: 250px;
            }
        }

        @media (max-width: 360px) {
            .tool-grid {
                grid-template-columns: 1fr;
            }

            .tool-btn.double {
                grid-column: span 1;
            }
        }

        /* 无内容提示 */
        .no-content {
            text-align: center;
            padding: 1.5rem;
            color: var(--gray-color);
        }

        .no-content i {
            font-size: 2.5rem;
            margin-bottom: 0.8rem;
            opacity: 0.5;
        }

        .no-content p {
            font-size: 0.9rem;
            margin: 0;
        }

        /* 轮播图无内容样式 */
        .slider-empty {
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border-radius: 16px;
            text-align: center;
        }

        .slider-empty i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .slide-content {
            animation: fadeIn 0.8s ease;
        }

        /* 在线学习平台介绍区域 */
        .learn-platform-section {
            max-width: 1200px;
            margin: 1.5rem auto;
            padding: 0 1rem;
        }

        .learn-platform-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .learn-platform-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 35px rgba(0,0,0,0.15);
        }

        .learn-platform-header {
            background: var(--secondary-color);
            padding: 0.8rem 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            overflow: hidden;
            height: 60px;
        }

        .learn-platform-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
        }

        .learn-platform-title {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            color: white;
            font-weight: 600;
            position: relative;
        }

        .learn-platform-title i {
            font-size: 1.1rem;
        }

        .learn-platform-title h3 {
            font-size: 1.1rem;
            margin: 0;
        }

        .learn-platform-body {
            display: flex;
            align-items: stretch;
            min-height: 280px;
        }

        .learn-platform-intro {
            flex: 1;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .learn-platform-intro h4 {
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .learn-platform-intro p {
            color: #555;
            line-height: 1.8;
            font-size: 0.95rem;
            text-indent: 2em;
            margin-bottom: 0.6rem;
        }

        .learn-platform-courses {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .learn-course-tag {
            background: #f0f6ff;
            color: var(--secondary-color);
            padding: 0.3rem 0.7rem;
            border-radius: 6px;
            font-size: 0.82rem;
            font-weight: 500;
            white-space: nowrap;
        }

        .learn-platform-features {
            width: 420px;
            flex-shrink: 0;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
            border-left: 1px solid #eee;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1rem;
        }

        .learn-feature-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .learn-feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--secondary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .learn-feature-text strong {
            display: block;
            font-size: 0.95rem;
            color: var(--primary-color);
            margin-bottom: 0.15rem;
        }

        .learn-feature-text span {
            font-size: 0.82rem;
            color: #888;
        }

        .learn-platform-entry {
            padding: 1rem 1.5rem;
            border-top: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .learn-entry-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.8rem;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .learn-entry-btn.primary {
            background: var(--secondary-color);
            color: white;
        }

        .learn-entry-btn.primary:hover {
            background: var(--hover-color-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .learn-entry-btn.secondary {
            background: var(--primary-color);
            color: white;
        }

        .learn-entry-btn.secondary:hover {
            background: var(--hover-color-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* 响应式 - 在线学习平台 */
        @media (max-width: 768px) {
            .learn-platform-body {
                flex-direction: column;
                min-height: auto;
            }

            .learn-platform-features {
                width: 100%;
                border-left: none;
                border-top: 1px solid #eee;
            }

            .learn-platform-intro {
                padding: 1rem;
            }

            .learn-platform-features {
                padding: 1rem;
            }

            .learn-platform-entry {
                flex-direction: column;
                gap: 0.6rem;
            }

            .learn-entry-btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .learn-platform-courses {
                gap: 0.4rem;
            }

            .learn-course-tag {
                font-size: 0.75rem;
                padding: 0.2rem 0.5rem;
            }

            .learn-feature-item {
                gap: 0.6rem;
            }

            .learn-feature-icon {
                width: 34px;
                height: 34px;
                font-size: 0.85rem;
            }
        }

/* ---- block ---- */
/* 默认紧凑状态 - 防闪烁 */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
}
.site-header .header-logo-img { height: 72px; width: auto; } /* 收进导航栏，不悬垂（原100px）*/
.site-header .header-logo-arc { opacity: 0; height: 0; top: 50px; }
.site-header .header-top-bar { height: 35px; }
.site-header .school-badge { height: 24px; }
.site-header .header-nav-inner { min-height: 42px; }
.site-header .header-nav-spacer { width: 200px; }
.site-header .header-nav-left a,
.site-header .header-nav-right a { padding: 11px 15px; font-size: 15px; }
.site-header .header-base-info { font-size: 12px; }
/* 页面加载时禁用 header 内所有过渡/动画，避免刷新时 logo 尺寸闪烁 */
.site-header.loading,
.site-header.loading * {
    transition: none !important;
    animation: none !important;
}
/* 在顶部时展开 - 更高优先级 */
.site-header.expanded .header-logo-img { height: 135px; width: auto; }
.site-header.expanded .header-logo-arc { opacity: 1; height: 110px; top: 40px; }
.site-header.expanded .header-top-bar { height: 45px; }
.site-header.expanded .school-badge { height: 30px; }
.site-header.expanded .header-nav-inner { min-height: 50px; }
.site-header.expanded .header-nav-spacer { width: 240px; }
.site-header.expanded .header-nav-left a,
.site-header.expanded .header-nav-right a { padding: 15px 18px; font-size: 16px; }
.site-header.expanded .header-base-info { font-size: 14px; }

/* ---- block ---- */
:root {
        --primary-color: #2c3e50;
        --secondary-color: #34495e;
        --accent-color: #e74c3c;
    }

    /* ========== 头部整体容器 ========== */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        transition: box-shadow 0.3s ease;
    }

    /* ========== 第一行：深色顶栏 ========== */
    .header-top-bar {
        background: #1a1a2e; /* 顶栏背景色 */
        color: #fff;
        height: 45px; /* 顶栏高度 */
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header-top-inner {
        max-width: 1200px; /* 内容最大宽度 */
        height: 100%;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-school-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .school-badge {
        height: 30px; /* Logo高度 */
        width: auto;
        transition: height 0.3s ease;
        filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3)); /* Logo阴影 */
    }

    .school-name {
        font-size: 17px; /* 校名字体大小 */
        font-weight: 600;
        letter-spacing: 2px; /* 字间距 */
        color: #fff;
        transition: font-size 0.3s ease;
    }

    .header-base-info {
        font-size: 14px; /* 基地描述字体大小 */
        color: rgba(255, 255, 255, 0.88);
        letter-spacing: 1px; /* 字间距 */
        transition: font-size 0.3s ease;
    }

    /* ========== 第二行：导航栏 ========== */
    .header-navbar {
        background: #fff;
        border-bottom: 2px solid var(--secondary-color); /* 与卡片标题栏同色 */
        transition: padding 0.3s ease;
    }

    .header-nav-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        position: relative;
        min-height: 50px;
        transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 导航左右分组容器 */
    .header-nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }

    .header-nav-left {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
    }

    .header-nav-right {
        display: flex;
        align-items: center;
        flex: 1;
    }

    /* 中间空白区——留给Logo，确保导航文字不被遮挡 */
    /* 宽度需 ≥ Logo+半圆宽度，防止文字被挤出 */
    .header-nav-spacer {
        width: 240px;
        flex-shrink: 0;
        transition: width 0.3s ease;
    }

    /* ========== 导航栏目文字样式（左右通用） ========== */
    .header-nav-left a,
    .header-nav-right a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #1a3a5c; /* 字体颜色：深蓝色，可改为 #003366 等 */
        text-decoration: none;
        font-size: 16px; /* 字体大小，数值越大字越大 */
        padding: 15px 18px;
        font-weight: 600; /* 字重：400=常规，500=中等，600=粗体 */
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        white-space: nowrap;
    }

    /* 鼠标悬停时字体颜色 */
    .header-nav-left a:hover,
    .header-nav-right a:hover {
        color: var(--accent-color);
        background: rgba(139, 0, 0, 0.04);
    }

    /* 导航栏下划线效果 */
    .header-nav-left a::after,
    .header-nav-right a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px; /* 下划线粗细 */
        background: var(--secondary-color); /* 下划线颜色，与卡片标题栏同色 */
        transition: width 0.3s ease;
    }

    .header-nav-left a:hover::after,
    .header-nav-right a:hover::after,
    .header-nav-left a.active::after,
    .header-nav-right a.active::after {
        width: 70%;
    }

    .header-nav-left a.active,
    .header-nav-right a.active {
        color: var(--accent-color);
        font-weight: 600;
    }

    /* 教师登录按钮 — 位于顶栏右侧 */
    .teacher-login-top {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: rgba(255,255,255,0.82);
        text-decoration: none;
        font-size: 13px;
        padding: 3px 12px;
        border: 1px solid rgba(255,255,255,0.35);
        border-radius: 3px;
        transition: all 0.3s ease;
        white-space: nowrap;
        font-weight: 500;
    }

    .teacher-login-top:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.75);
        background: rgba(255,255,255,0.12);
    }

    /* 顶栏右侧容器：基地描述 + 教师登录 */
    .header-top-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    /* 保留旧的 teacher-login-link 以兼容其他页面，但隐藏 */
    .teacher-login-link {
        display: none;
    }

    /* ========== Logo 跨行定位 ========== */
    /* Logo 居中，覆盖第一行顶栏 + 第二行导航栏，底部超出一点到轮播区 */
    .header-logo-wrap {
        position: absolute;
        top: 6px; /* Logo距页面顶部的空隙，越大离顶部越远 */
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        pointer-events: none;
    }

    .header-logo-wrap a {
        pointer-events: auto;
        display: block;
    }

    /* Logo 图片：修改 height 可调大小，阴影效果用 drop-shadow */
    .header-logo-img {
        display: block;
        height: 135px; /* 图标高度，改这个值调大小 */
        width: auto;
        transition: height 0.3s ease;
        /* 图标阴影：x偏移 y偏移 模糊 颜色，加深让效果更明显 */
        filter: drop-shadow(0 8px 6px rgba(0,0,0,0.65));
        object-fit: contain;
    }

    /* ========== Logo下层的白色半圆底衬 ========== */
    /* 放在Logo下一层（z-index低于Logo），圆心与Logo圆心重叠，半径比Logo大 */
    /* 从Logo下半部分延展出去，形成白色环形衬托效果 */
    .header-logo-arc {
        position: absolute;
        top: 40px; /* Logo圆心位置（Logo高135，圆心在67.5），改这个值上下移动 */
        left: 50%;
        transform: translateX(-50%);
        width: 220px; /* 半圆直径，比Logo(135)大一圈，改这个值调大小 */
        height: 110px; /* 半圆半径 = width/2 */
        background: #fff;
        border-radius: 0 0 110px 110px; /* 下半圆：从圆心平切，向下弧线延展 */
        z-index: 1; /* 低于Logo的层级 */
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Logo链接确保在白色半圆之上 */
    .header-logo-wrap a {
        position: relative;
        z-index: 2; /* 高于半圆底衬 */
    }

    /* 滚动后隐藏半圆底衬 */
    .site-header.scrolled .header-logo-arc {
        opacity: 0;
        height: 0;
        top: 50px;
    }

    /* ========== 滚动后缩小状态 ========== */
    /* 页面滚动超过 60px 后自动添加 .scrolled 类，以下为缩小后的尺寸 */
    .site-header.scrolled .header-top-bar {
        height: 35px; /* 顶栏高度缩小 */
    }
    .site-header.scrolled .school-badge {
        height: 24px; /* Logo缩小 */
    }
    .site-header.scrolled .school-name {
        font-size: 15px; /* 校名字体缩小 */
    }
    .site-header.scrolled .header-base-info {
        font-size: 12px; /* 基地描述字体缩小 */
    }
    .site-header.scrolled .header-nav-inner {
        min-height: 42px; /* 导航栏高度缩小 */
    }
    .site-header.scrolled .header-nav-spacer {
        width: 200px; /* 中间空白区同步缩小 */
    }
    /* 滚动缩小后导航字体（比正常状态小1px即可） */
    .site-header.scrolled .header-nav-left a,
    .site-header.scrolled .header-nav-right a {
        padding: 11px 15px;
        font-size: 15px; /* 缩小后字体大小 */
    }
    .site-header.scrolled .header-logo-img {
        height: 72px; /* 滚动后Logo大小：6+72=78 ≤ header 82px，完全收进导航栏，正文不再被压 */
    }

    /* ========== 面包屑导航样式 ========== */
    .breadcrumb-container {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 0.6rem 0;
        border-bottom: 1px solid #dee2e6;
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .breadcrumb {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .breadcrumb a {
        color: var(--secondary-color);
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 0.3rem 0.6rem;
        border-radius: 3px;
        font-weight: 500;
    }

    .breadcrumb a:hover {
        color: var(--primary-color);
        background: rgba(52, 152, 219, 0.1);
        text-decoration: none;
    }

    .breadcrumb .separator {
        color: #6c757d;
        margin: 0 0.3rem;
        font-size: 1rem;
    }

    /* ========== 移动端菜单按钮 ========== */
    .menu-toggle {
        display: none;
        color: #333;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
        border-radius: 4px;
        transition: all 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .menu-toggle:hover {
        background: #f0f0f0;
    }

    /* ========== 响应式设计 ========== */
    @media (max-width: 900px) {
        .header-nav-spacer {
            width: 80px;
        }
        .header-logo-wrap {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .header-top-bar {
            height: 40px;
        }
        .header-top-inner {
            justify-content: center; /* 移动端居中显示 */
        }
        .header-school-info {
            display: none; /* 移动端隐藏校名和Logo */
        }
        .header-base-info {
            font-size: 12px;
            letter-spacing: 0.5px;
            max-width: 200px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .header-nav-inner {
            min-height: 44px;
            padding: 0 12px;
            justify-content: space-between;
        }

        .header-nav-wrapper {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            flex-direction: column;
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
            border-top: 2px solid var(--secondary-color);
            z-index: 200;
        }

        .header-nav-wrapper.active {
            display: flex;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .header-nav-left,
        .header-nav-right {
            flex-direction: column;
            width: 100%;
            justify-content: flex-start;
        }

        .header-nav-spacer {
            display: none;
        }

        .header-nav-left a,
        .header-nav-right a {
            padding: 14px 20px;
            border-bottom: 1px solid #f0f0f0;
            width: 100%;
            font-size: 15px;
        }
        .header-nav-right a:last-child { border-bottom: none; }
        .header-nav-left a::after,
        .header-nav-right a::after { display: none; }

        .teacher-login-top {
            font-size: 12px;
            padding: 2px 8px;
        }

        .menu-toggle {
            display: block;
        }

        .header-logo-wrap {
            display: none;
        }

        /* 移动端面包屑 */
        .breadcrumb-container {
            padding: 0.5rem 0;
            font-size: 0.95rem;
        }
        .breadcrumb {
            padding: 0 0.8rem;
            gap: 0.3rem;
        }
        .breadcrumb a {
            padding: 0.25rem 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .header-top-bar {
            height: 36px;
        }
        .header-base-info {
            font-size: 11px;
            max-width: 170px;
        }
        .header-nav-inner {
            min-height: 40px;
        }
        .header-nav-left a,
        .header-nav-right a {
            padding: 12px 16px;
            font-size: 14px;
        }
        .breadcrumb-container {
            padding: 0.4rem 0;
            font-size: 0.9rem;
        }
    }