/**
 * 实验教学与工业训练中心 - 现代化蓝色系科技风格
 * Based on Bootstrap 4
 */

/* ==================== 主页固定背景 ==================== */
.main-page-fixed-bg {
    background: #f8fcff;
}

.main-page-fixed-bg::before {
    display: none;
}

/* ==================== 基础变量 ==================== */
:root {
    --primary-blue: #1a5f9e;
    --secondary-blue: #00a8e8;
    --accent-orange: #f39c12;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --white: #ffffff;
    --border-light: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-blue: linear-gradient(135deg, #1a5f9e 0%, #00a8e8 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* ==================== 全局样式 ==================== */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: #f8fcff;
    line-height: 1.6;
}

/* 扩大主体内容宽度 */
.container {
    max-width: 1400px;
}

/* ==================== 顶部区域 ==================== */
.top-header {
    background: var(--gradient-blue);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lab-logo {
    color: white;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60px;
    letter-spacing: 2px;
    font-family: Arial, "Helvetica Neue", sans-serif;
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.logo-text .en {
    font-size: 12px;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* 搜索框 */
.search-box {
    position: relative;
    max-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--accent-orange);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #e67e22;
    transform: translateY(-50%) scale(1.05);
}

/* ==================== 导航栏 ==================== */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .navbar {
    padding: 0;
}

.main-nav .nav-link {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    padding: 18px 30px !important;
    position: relative;
    transition: all 0.3 ease;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-blue);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 80%;
}

/* ==================== Hero区域 - 原比例全屏图片 ==================== */
.hero-section-scalable {
    width: 100%;
    position: relative;
    overflow: visible;
    line-height: 0;
    z-index: 100;
}

.hero-scalable-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 浮层内容容器 */
.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    overflow: visible;
}

/* 左上角LAB标识 */
.hero-title-section {
    position: absolute;
    top: 4%;
    left: 5%;
    z-index: 11;
}

.lab-logo-only {
    color: white;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 3px;
    font-family: Arial, "Helvetica Neue", sans-serif;
    background: rgba(26, 95, 158, 0.7);
    backdrop-filter: blur(8px);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 右上角容器 - 搜索框和导航栏 */
.hero-top-overlay {
    position: absolute;
    top: calc(4% + 50px);
    right: calc(10% + 70px - 150px - 30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 搜索框 - 浮于图片上层，上移20px，带动态效果 */
.search-box-overlay {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -20px;
    opacity: 0;
    transform: translateX(20px);
    animation: searchFadeIn 0.6s ease 0.3s forwards;
}

@keyframes searchFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.search-box-overlay input {
    width: 180px;
    padding: 10px 40px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box-overlay input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

/* 输入框悬停效果 */
.search-box-overlay input:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 输入框聚焦效果 */
.search-box-overlay input:focus {
    outline: none;
    width: 220px;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.search-box-overlay input:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transform: translateX(10px);
    opacity: 0;
}

/* 搜索按钮 */
.search-box-overlay button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

/* 按钮悬停效果 */
.search-box-overlay button:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-50%) scale(1.15) rotate(15deg);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.6);
}

/* 按钮点击效果 */
.search-box-overlay button:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 1px 5px rgba(243, 156, 18, 0.4);
    transition: all 0.1s ease;
}

/* 按钮脉冲动画 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(243, 156, 18, 0);
    }
}

.search-box-overlay button {
    animation: pulse 2s infinite;
}

.search-box-overlay button:hover {
    animation: none;
}

/* 右上角导航栏 - 浮于图片上层，白色透明，下移10px，带动态效果 */
.hero-nav-overlay {
    background: transparent;
    margin-top: 10px;
    position: relative;
    z-index: 10001;
}

.hero-nav-overlay .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.hero-nav-overlay .nav-item {
    position: relative;
}

.hero-nav-overlay .nav-link {
    color: #ffffff;
    font-size: 1.05vw;
    font-weight: 500;
    padding: 0.8em 0.8em;
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

/* 下划线动画效果 */
.hero-nav-overlay .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

/* 悬停效果 */
.hero-nav-overlay .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 下划线展开 */
.hero-nav-overlay .nav-link:hover::before,
.hero-nav-overlay .nav-link.active::before {
    width: 80%;
}

/* 活跃状态 */
.hero-nav-overlay .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* 点击时的缩放效果 */
.hero-nav-overlay .nav-link:active {
    transform: translateY(0) scale(0.95);
    transition: all 0.1s ease;
}

/* 导航项渐入动画 */
.hero-nav-overlay .nav-item {
    opacity: 0;
    transform: translateY(-10px);
    animation: navFadeIn 0.5s ease forwards;
}

.hero-nav-overlay .nav-item:nth-child(1) { animation-delay: 0.05s; }
.hero-nav-overlay .nav-item:nth-child(2) { animation-delay: 0.1s; }
.hero-nav-overlay .nav-item:nth-child(3) { animation-delay: 0.15s; }
.hero-nav-overlay .nav-item:nth-child(4) { animation-delay: 0.2s; }
.hero-nav-overlay .nav-item:nth-child(5) { animation-delay: 0.25s; }
.hero-nav-overlay .nav-item:nth-child(6) { animation-delay: 0.3s; }
.hero-nav-overlay .nav-item:nth-child(7) { animation-delay: 0.35s; }
.hero-nav-overlay .nav-item:nth-child(8) { animation-delay: 0.4s; }
.hero-nav-overlay .nav-item:nth-child(9) { animation-delay: 0.45s; }
.hero-nav-overlay .nav-item:nth-child(10) { animation-delay: 0.5s; }
.hero-nav-overlay .nav-item:nth-child(11) { animation-delay: 0.55s; }

@keyframes navFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 下拉菜单样式 ==================== */
.hero-nav-overlay .nav-item.has-dropdown {
    position: relative;
}

/* 确保导航栏及下拉菜单正常显示 */
.hero-nav-overlay .nav-item {
    position: relative;
    z-index: 10002;
}

/* 下拉箭头图标 */
.hero-nav-overlay .dropdown-arrow {
    font-size: 0.7vw;
    margin-left: 4px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.hero-nav-overlay .nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.hero-nav-overlay .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.96);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(26, 95, 158, 0.12);
    min-width: 200px;
    padding: 8px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    z-index: 999999;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: block;
    pointer-events: none;
}

/* 顶部渐变装饰条 */
.hero-nav-overlay .dropdown-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a5f9e 0%, #00a8e8 50%, #1a5f9e 100%);
    opacity: 0.9;
}

/* 桥接间隙的不可见区域，确保鼠标移动时不会中断悬停 */
.hero-nav-overlay .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

/* 下拉菜单项 */
.hero-nav-overlay .dropdown-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* 菜单项分隔线 */
.hero-nav-overlay .dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-nav-overlay .dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

/* 悬停效果 */
.hero-nav-overlay .dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #1a5f9e 0%, #00a8e8 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.hero-nav-overlay .dropdown-menu li a:hover {
    color: #1a5f9e;
    background: linear-gradient(90deg, rgba(0, 168, 232, 0.08) 0%, rgba(0, 168, 232, 0.02) 100%);
    padding-left: 26px;
}

.hero-nav-overlay .dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

/* 上一级菜单项悬停时显示下拉菜单 */
.hero-nav-overlay .nav-item.has-dropdown:hover > .dropdown-menu,
.hero-nav-overlay .nav-item.has-dropdown > .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

/* ==================== 三级子菜单样式 ==================== */
/* 二级菜单中有子菜单的项 */
.hero-nav-overlay .dropdown-menu li.has-submenu {
    position: relative;
}

/* 子菜单箭头 */
.hero-nav-overlay .submenu-arrow {
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.hero-nav-overlay .dropdown-menu li.has-submenu:hover > a .submenu-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 子菜单容器 */
.hero-nav-overlay .submenu {
    position: absolute;
    top: -8px;
    left: calc(100% + 8px);
    transform: translateX(-8px) scale(0.96);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(26, 95, 158, 0.12);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    z-index: 99999;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* 子菜单顶部渐变装饰条 */
.hero-nav-overlay .submenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a5f9e 0%, #00a8e8 50%, #1a5f9e 100%);
    opacity: 0.9;
}

/* 子菜单左侧桥接区域 */
.hero-nav-overlay .submenu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 8px;
    background: transparent;
}

/* 子菜单项 */
.hero-nav-overlay .submenu li {
    margin: 0;
    padding: 0;
}

/* 子菜单项分隔线 */
.hero-nav-overlay .submenu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-nav-overlay .submenu li a {
    display: flex;
    align-items: center;
    padding: 20px 22px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.hero-nav-overlay .submenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #1a5f9e 0%, #00a8e8 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.hero-nav-overlay .submenu li a:hover {
    color: #1a5f9e;
    background: linear-gradient(90deg, rgba(0, 168, 232, 0.08) 0%, rgba(0, 168, 232, 0.02) 100%);
    padding-left: 28px;
}

.hero-nav-overlay .submenu li a:hover::before {
    transform: scaleY(1);
}

/* 悬停显示子菜单 */
.hero-nav-overlay .dropdown-menu li.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

/* 响应式下拉菜单调整 */
@media (max-width: 1200px) {
    .hero-nav-overlay .dropdown-arrow {
        font-size: 0.8vw;
    }
    
    .hero-nav-overlay .dropdown-menu {
        min-width: 180px;
    }
    
    .hero-nav-overlay .dropdown-menu li a {
        padding: 11px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-nav-overlay .dropdown-arrow {
        font-size: 2vw;
    }
    
    .hero-nav-overlay .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        margin-top: 5px;
        min-width: auto;
        display: none;
    }
    
    .hero-nav-overlay .dropdown-menu::after,
    .hero-nav-overlay .submenu::after {
        display: none;
    }
    
    .hero-nav-overlay .nav-item.has-dropdown:hover .dropdown-menu,
    .hero-nav-overlay .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-nav-overlay .dropdown-menu li a {
        color: #fff;
        padding: 10px 22px;
        font-size: 12px;
    }
    
    .hero-nav-overlay .dropdown-menu li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .hero-nav-overlay .dropdown-menu::before {
        display: none;
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hero-top-overlay {
        right: 8%;
    }
    
    .hero-nav-overlay .nav-link {
        font-size: 1.1vw;
        padding: 0.3em 0.5em;
    }
}

@media (max-width: 768px) {
    .hero-top-overlay {
        top: 3%;
        right: 3%;
    }
    
    .search-box-overlay input {
        width: 140px;
        font-size: 11px;
    }
    
    .hero-nav-overlay .nav-list {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 70%;
    }
    
    .hero-nav-overlay .nav-link {
        font-size: 2.5vw;
        padding: 0.2em 0.4em;
    }
}

/* 搜索框 - 最右上角 */
.search-box-top {
    position: absolute;
    top: 20px;
    right: 40px;
    display: flex;
    align-items: center;
    z-index: 20;
}

.search-box-top input {
    width: 220px;
    padding: 10px 40px 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box-top input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-box-top input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.search-box-top button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box-top button:hover {
    background: #e67e22;
    transform: translateY(-50%) scale(1.05);
}

/* ==================== 卡片样式 ==================== */
.card-modern {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.card-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.card-title-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--secondary-blue);
    border-radius: 2px;
}

.btn-more {
    color: var(--text-gray);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-more:hover {
    color: var(--secondary-blue);
}

/* ==================== 新闻列表 ==================== */
.news-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: rgba(0, 168, 232, 0.03);
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 8px;
    color: var(--white);
    margin-right: 15px;
    flex-shrink: 0;
}

.news-date .day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--secondary-blue);
}

.news-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 图文新闻 ==================== */
.news-card {
    display: flex;
    gap: 18px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    background: var(--bg-light);
}

.news-card-img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-card-content {
    flex: 1;
    min-width: 0;
}

.news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title {
    color: var(--primary-blue);
}

.news-card-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ==================== 快速入口 ==================== */
.quick-links {
    padding: 40px 0;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.quick-link-item:hover .quick-link-icon {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.quick-link-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.quick-link-item:hover .quick-link-title {
    color: var(--primary-blue);
}

/* ==================== 内容区域布局 ==================== */
.content-section {
    padding: 40px 0;
}

/* ==================== 左侧栏目标题 ==================== */
.column-header {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

.column-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.column-menu {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column-list li {
    border-bottom: 1px solid var(--border-light);
}

.column-list li:last-child {
    border-bottom: none;
}

.column-list a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.column-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    color: var(--secondary-blue);
}

.column-list a:hover,
.column-list a.active {
    background: rgba(0, 168, 232, 0.05);
    color: var(--primary-blue);
    padding-left: 40px;
}

.column-list a:hover::before,
.column-list a.active::before {
    left: 25px;
}

/* 二级子菜单样式 */
.column-list li.has-submenu {
    position: relative;
}

.column-list li.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.column-list li.has-submenu:hover > a::after {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 168, 232, 0.03);
    border-left: 3px solid var(--secondary-blue);
    display: none;
}

.column-list li.has-submenu:hover .submenu-list {
    display: block;
}

.submenu-list li {
    border-bottom: none;
}

.submenu-list li a {
    padding: 12px 20px 12px 45px;
    font-size: 13px;
    color: var(--text-gray);
}

.submenu-list li a::before {
    content: '\f111';
    font-size: 6px;
    left: 30px;
}

.submenu-list li a:hover {
    padding-left: 50px;
    color: var(--primary-blue);
}

.submenu-list li a:hover::before {
    left: 35px;
}

/* ==================== 文章列表页 ==================== */
.list-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.breadcrumb-modern {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-modern a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb-modern a:hover {
    color: var(--secondary-blue);
}

.article-list-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.article-list-item:hover {
    padding-left: 10px;
}

.article-list-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-blue);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.article-list-title {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-list-item:hover .article-list-title {
    color: var(--primary-blue);
}

.article-list-date {
    color: var(--text-gray);
    font-size: 13px;
    margin-left: 15px;
}

/* ==================== 文章详情页 ==================== */
.article-detail {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.article-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.article-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-gray);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* ==================== 分页 ==================== */
.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination-modern a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pagination-modern a:hover,
.pagination-modern a.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* ==================== Footer ==================== */
.footer-modern {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-blue);
    padding-left: 5px;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact i {
    color: var(--secondary-blue);
    margin-right: 10px;
    width: 20px;
}

/* ==================== 现代化底部样式 ==================== */
.footer-main {
    align-items: flex-start;
}

/* 友情链接网格布局 */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.footer-link-item {
    display: flex;
    align-items: center;
    padding: 15px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    transform: translateX(5px);
    border-color: var(--secondary-blue);
}

.footer-link-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 232, 0.15);
    color: var(--secondary-blue);
    border-radius: 6px;
    margin-right: 10px;
    font-size: 12px;
}

/* 现代化联系方式 */
.footer-contact-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 232, 0.15);
    color: var(--secondary-blue);
    border-radius: 8px;
    margin-right: 12px;
    font-size: 13px;
    flex-shrink: 0;
}

.contact-item span {
    line-height: 1.5;
    padding-top: 4px;
}

.contact-item span small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact-modern {
        padding: 15px 20px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ==================== 轮播图 ==================== */
.carousel-modern {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-modern img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ==================== 统计卡片 ==================== */
.stats-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 168, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--secondary-blue);
    font-size: 24px;
}

.stats-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stats-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* ==================== 滚动动画效果 ==================== */

/* 滚动显示动画基础类 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 从左侧滑入 */
.scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 从右侧滑入 */
.scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放淡入 */
.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 延迟动画 */
.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-delay-3 { transition-delay: 0.3s; }
.scroll-delay-4 { transition-delay: 0.4s; }
.scroll-delay-5 { transition-delay: 0.5s; }

/* 导航栏滚动变化 */
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(26, 95, 158, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 95, 158, 0.5);
}

/* 快速入口图标动画 */
.quick-link-icon i {
    transition: transform 0.3s ease;
}

.quick-link-item:hover .quick-link-icon i {
    transform: rotate(360deg);
}

/* 新闻列表项渐入动画 */
.news-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== 增强滚动动画效果 ==================== */

/* 滚进度条 */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-blue);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
}

/* 淡入上滑 - 增强版 */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 淡入下滑 */
.scroll-fade-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 旋转淡入 */
.scroll-rotate {
    opacity: 0;
    transform: rotate(-10deg) translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-rotate.visible {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

/* 缩放弹出 */
.scroll-zoom {
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scroll-zoom.visible {
    opacity: 1;
    transform: scale(1);
}

/* 翻转显示 */
.scroll-flip {
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-flip.visible {
    opacity: 1;
    transform: perspective(400px) rotateX(0);
}

/* 横向滑动 - 左 */
.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 横向滑动 - 右 */
.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 模糊淡入 */
.scroll-blur {
    opacity: 0;
    filter: blur(20px);
    transition: all 1s ease;
}

.scroll-blur.visible {
    opacity: 1;
    filter: blur(0);
}

/* 斜角滑入 */
.scroll-diagonal {
    opacity: 0;
    transform: translate(-50px, 50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-diagonal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 斜角滑入 - 反向 */
.scroll-diagonal-reverse {
    opacity: 0;
    transform: translate(50px, 50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-diagonal-reverse.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 增强延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* 视差滚动效果 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 滚动时卡片悬浮效果 */
.card-float-on-scroll {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-float-on-scroll:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 滚动时文字颜色渐变 */
.text-gradient-scroll {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    transition: background-position 0.5s ease;
}

.text-gradient-scroll.visible {
    background-position: 100% 0;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* 脉冲缩放动画 */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse-scale 2s ease-in-out infinite;
}

/* 滚动时图片缩放效果 */
.img-zoom-on-scroll {
    overflow: hidden;
}

.img-zoom-on-scroll img {
    transition: transform 0.6s ease;
}

.img-zoom-on-scroll.visible img {
    transform: scale(1.05);
}

/* 滚动触发的边框动画 */
.border-draw {
    position: relative;
}

.border-draw::before,
.border-draw::after {
    content: '';
    position: absolute;
    background: var(--secondary-blue);
    transition: all 0.5s ease;
}

.border-draw::before {
    width: 0;
    height: 2px;
    top: 0;
    left: 0;
}

.border-draw::after {
    width: 2px;
    height: 0;
    top: 0;
    right: 0;
}

.border-draw.visible::before {
    width: 100%;
}

.border-draw.visible::after {
    height: 100%;
}

/* 分割线动画 */
.divider-animate {
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 1s ease;
    margin: 20px auto;
}

.divider-animate.visible {
    width: 100%;
}

/* 滚动时的背景颜色变化 */
.bg-color-shift {
    transition: background-color 0.5s ease;
}

/* 照片栏滚动动画 */
.gallery-scroll-item {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-scroll-item.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* 快速入口悬停特效 */
.quick-link-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.quick-link-item:hover::before {
    width: 300px;
    height: 300px;
}

/* 投射阴影动画 */
.shadow-animate {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.shadow-animate.visible {
    box-shadow: 0 15px 40px rgba(26, 95, 158, 0.2);
}

/* 卡片悬停光效 */
.card-modern {
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.card-modern:hover::before {
    left: 100%;
}

/* 统计数字发光效果 */
.stats-number {
    position: relative;
}

.stats-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

.stats-card:hover .stats-number::after {
    width: 50%;
}

/* Hero区域 - 无动态效果 */
.hero-section-new {
    position: relative;
    overflow: hidden;
}

.hero-banner-img {
    /* 移除所有动态效果 */
}

/* 内容区域分割线动画 */
.card-header-modern {
    position: relative;
}

.card-header-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.5s ease;
}

.card-modern:hover .card-header-modern::after {
    width: 100%;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card-img {
        width: 100%;
        height: 150px;
    }
    
    .main-nav .nav-link {
        padding: 12px 15px !important;
    }
    
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 20px;
    }
}

/* ==================== 非首页页面置顶背景区域 ==================== */
/* 使用8.jpg作为背景图的置顶区域 - 等比例放大不裁剪 */
.page-header-banner {
    position: relative;
    width: 100%;
    overflow: visible;
    line-height: 0;
    z-index: 1;
}

.page-header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 非首页页面的浮层内容容器 */
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    overflow: visible;
}

/* 非首页页面的右上角容器 - 搜索框和导航栏 */
.page-header-top-overlay {
    position: absolute;
    top: calc(4% + 50px);
    right: calc(10% + 70px - 150px - 30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 非首页页面的搜索框 - 复用首页样式 */
.page-header-top-overlay .search-box-overlay {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -20px;
    opacity: 0;
    transform: translateX(20px);
    animation: searchFadeIn 0.6s ease 0.3s forwards;
}

/* 非首页页面的导航栏 - 复用首页样式 */
.page-header-top-overlay .hero-nav-overlay {
    background: transparent;
    margin-top: 10px;
    position: relative;
    z-index: 10001;
}

.page-header-top-overlay .hero-nav-overlay .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.page-header-top-overlay .hero-nav-overlay .nav-item {
    position: relative;
    z-index: 10002;
    opacity: 0;
    transform: translateY(-10px);
    animation: navFadeIn 0.5s ease forwards;
}

.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(1) { animation-delay: 0.05s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(2) { animation-delay: 0.1s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(3) { animation-delay: 0.15s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(4) { animation-delay: 0.2s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(5) { animation-delay: 0.25s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(6) { animation-delay: 0.3s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(7) { animation-delay: 0.35s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(8) { animation-delay: 0.4s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(9) { animation-delay: 0.45s; }
.page-header-top-overlay .hero-nav-overlay .nav-item:nth-child(10) { animation-delay: 0.5s; }

.page-header-top-overlay .hero-nav-overlay .nav-link {
    color: #ffffff;
    font-size: 1.05vw;
    font-weight: 500;
    padding: 0.8em 0.8em;
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.page-header-top-overlay .hero-nav-overlay .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.page-header-top-overlay .hero-nav-overlay .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header-top-overlay .hero-nav-overlay .nav-link:hover::before,
.page-header-top-overlay .hero-nav-overlay .nav-link.active::before {
    width: 80%;
}

.page-header-top-overlay .hero-nav-overlay .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.page-header-top-overlay .hero-nav-overlay .nav-link:active {
    transform: translateY(0) scale(0.95);
    transition: all 0.1s ease;
}

/* 非首页页面下拉菜单样式 */
.page-header-top-overlay .hero-nav-overlay .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 10px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999999;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    pointer-events: none;
}

/* 桥接间隙的不可见区域，确保鼠标移动时不会中断悬停 */
.page-header-top-overlay .hero-nav-overlay .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.page-header-top-overlay .hero-nav-overlay .dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.page-header-top-overlay .hero-nav-overlay .dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #1a5f9e 0%, #00a8e8 100%);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.page-header-top-overlay .hero-nav-overlay .dropdown-menu li a:hover {
    color: #1a5f9e;
    background: rgba(0, 168, 232, 0.08);
    padding-left: 22px;
}

.page-header-top-overlay .hero-nav-overlay .dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.page-header-top-overlay .hero-nav-overlay .nav-item.has-dropdown:hover > .dropdown-menu,
.page-header-top-overlay .hero-nav-overlay .nav-item.has-dropdown > .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* 非首页页面响应式调整 */
@media (max-width: 1200px) {
    .page-header-top-overlay {
        right: 8%;
    }
    
    .page-header-top-overlay .hero-nav-overlay .nav-link {
        font-size: 1.1vw;
        padding: 0.3em 0.5em;
    }
}

@media (max-width: 768px) {
    .page-header-top-overlay {
        top: 3%;
        right: 3%;
    }
    
    .page-header-top-overlay .search-box-overlay input {
        width: 140px;
        font-size: 11px;
    }
    
    .page-header-top-overlay .hero-nav-overlay .nav-list {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 70%;
    }
    
    .page-header-top-overlay .hero-nav-overlay .nav-link {
        font-size: 2.5vw;
        padding: 0.2em 0.4em;
    }
    
    .page-header-top-overlay .hero-nav-overlay .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        margin-top: 5px;
        min-width: auto;
        display: none;
    }
    
    .page-header-top-overlay .hero-nav-overlay .nav-item.has-dropdown:hover .dropdown-menu,
    .page-header-top-overlay .hero-nav-overlay .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .page-header-top-overlay .hero-nav-overlay .dropdown-menu li a {
        color: #fff;
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .page-header-top-overlay .hero-nav-overlay .dropdown-menu li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
    }
}
/* ==================== 实验各室纵向轮播图样式 ==================== */

/* 轮播容器 */
.lab-carousel-container {
    height: 680px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* 遮罩效果 - 顶部和底部渐变 */
.lab-carousel-container::before,
.lab-carousel-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

.lab-carousel-container::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.lab-carousel-container::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* 轮播轨道 */
.lab-carousel-track {
    display: flex;
    flex-direction: column;
    animation: labScrollUp 25s linear infinite;
    padding: 20px 15px;
    gap: 20px;
}

/* 鼠标悬停时暂停动画 */
.lab-carousel-container:hover .lab-carousel-track {
    animation-play-state: paused;
}

/* 向上滚动动画 - 平滑无缝循环 */
@keyframes labScrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 轮播项 */
.lab-carousel-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.lab-carousel-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(26, 95, 158, 0.25);
}

/* 图片样式 */
.lab-carousel-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.lab-carousel-item:hover img {
    transform: scale(1.1);
}

/* 标签样式 */
.lab-carousel-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 95, 158, 0.95) 0%, rgba(26, 95, 158, 0.7) 70%, transparent 100%);
    color: white;
    padding: 35px 15px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.lab-carousel-item:hover .lab-carousel-label {
    background: linear-gradient(to top, rgba(0, 168, 232, 0.95) 0%, rgba(0, 168, 232, 0.7) 70%, transparent 100%);
    padding-bottom: 20px;
}

.lab-carousel-label i {
    font-size: 18px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lab-carousel-label span {
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .lab-carousel-container {
        height: 500px;
    }
    
    .lab-carousel-item img {
        height: 240px;
    }
    
    .lab-carousel-label {
        padding: 30px 12px 12px;
    }
    
    .lab-carousel-label span {
        font-size: 14px;
    }
}
/* ==================== 树状组织结构图样式 ==================== */

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    animation: fadeInScale 0.8s ease-out forwards;
}

/* 顶部节点 */
.org-top-node {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

/* 连接线容器 */
.org-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

/* 水平连线 */
.org-horizontal-line {
    width: 75%;
    height: 2px;
    background: var(--primary-blue);
    margin-top: 0;
}

/* 垂直连线 */
.org-vertical-lines {
    display: flex;
    justify-content: space-around;
    width: 75%;
    max-width: 800px;
}

.org-vertical-lines span {
    width: 2px;
    height: 30px;
    background: var(--primary-blue);
}

/* 底部节点容器 */
.org-bottom-nodes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}

/* 底部节点 */
.org-node {
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    min-width: 140px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .org-horizontal-line,
    .org-vertical-lines {
        width: 90%;
    }
    
    .org-bottom-nodes {
        gap: 15px;
    }
    
    .org-node {
        font-size: 13px;
        min-width: 110px;
    }
    
    .org-top-node {
        font-size: 16px;
        padding: 12px 25px;
    }
}
/* ==================== 安全教育页面样式 ==================== */

/* 深蓝色标题栏 */
.safety-header {
    background: #1a4483;
    padding: 15px 30px;
    border-radius: 8px 8px 0 0;
}

.safety-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.safety-header h3 i {
    margin-right: 12px;
}

/* 安全列表容器 */
.safety-list {
    background: #ffffff;
    padding: 0;
}

/* 安全列表项 */
.safety-item {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    border-bottom: 1px solid #e0e0d8;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.safety-item:hover {
    background: #e8e8e0;
    text-decoration: none;
}

.safety-item:last-child {
    border-bottom: none;
}

/* 箭头图标 */
.safety-arrow {
    color: #c9302c;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
}

/* 标题 */
.safety-title {
    flex: 1;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.safety-item:hover .safety-title {
    color: var(--primary-blue);
}

/* 日期 */
.safety-date {
    color: #666;
    font-size: 14px;
    margin-left: 15px;
    flex-shrink: 0;
}

/* 分页栏 */
.safety-pagination {
    background: #ffffff;
    padding: 15px 30px;
    border-top: 1px solid #e0e0d8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 0 0 8px 8px;
}

.page-info {
    color: #333;
    font-size: 14px;
    margin-right: 10px;
}

.page-btn {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.page-btn:hover {
    background: var(--secondary-blue);
    color: white;
    border-radius: 4px;
    padding: 5px 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .safety-header {
        padding: 12px 20px;
    }
    
    .safety-item {
        padding: 10px 20px;
        flex-wrap: wrap;
    }
    
    .safety-title {
        white-space: normal;
        font-size: 14px;
    }
    
    .safety-date {
        margin-left: 26px;
        margin-top: 5px;
        font-size: 13px;
    }
    
    .safety-pagination {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .page-btn {
        font-size: 13px;
    }
}

/* ==================== 页面动态效果 ==================== */

/* 淡入上升动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入左滑动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 淡入右滑动画 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 缩放淡入动画 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 页面内容淡入 */
.page-content-fade {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 页面标题淡入 */
.page-title-fade {
    animation: fadeInLeft 0.5s ease-out forwards;
}

/* 面包屑淡入 */
.breadcrumb-fade {
    animation: fadeInRight 0.5s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

/* 卡片延迟动画 */
.card-delay-1 {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.card-delay-2 {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.card-delay-3 {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.card-delay-4 {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* 列表项淡入动画 */
.list-item-fade {
    animation: fadeInLeft 0.5s ease-out forwards;
    opacity: 0;
}

/* 交替淡入动画 */
.list-item-fade:nth-child(1) { animation-delay: 0.05s; }
.list-item-fade:nth-child(2) { animation-delay: 0.1s; }
.list-item-fade:nth-child(3) { animation-delay: 0.15s; }
.list-item-fade:nth-child(4) { animation-delay: 0.2s; }
.list-item-fade:nth-child(5) { animation-delay: 0.25s; }
.list-item-fade:nth-child(6) { animation-delay: 0.3s; }
.list-item-fade:nth-child(7) { animation-delay: 0.35s; }
.list-item-fade:nth-child(8) { animation-delay: 0.4s; }
.list-item-fade:nth-child(9) { animation-delay: 0.45s; }
.list-item-fade:nth-child(10) { animation-delay: 0.5s; }

/* 图片悬停动画 */
.img-hover-zoom {
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-hover-zoom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* 按钮悬停动画 */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 95, 158, 0.3);
}

/* 链接悬停动画 */
.link-hover {
    transition: all 0.3s ease;
    display: inline-block;
}

.link-hover:hover {
    transform: translateX(5px);
    color: var(--secondary-blue);
}

/* 列表悬停效果 */
.list-hover-item {
    transition: all 0.3s ease;
}

.list-hover-item:hover {
    background: rgba(0, 168, 232, 0.05);
    transform: translateX(10px);
}

/* 文本渐入显示 */
.text-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 统计数字动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-animate {
    animation: countUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* 信息卡片浮动效果 */
.info-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* 隔行线动画 */
@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.line-animate {
    position: relative;
    overflow: hidden;
}

.line-animate::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--secondary-blue);
    animation: lineExpand 0.8s ease-out forwards;
    animation-delay: 0.5s;
    width: 0;
}
