/* ============================================================
   闽西职业技术学院汀州校区 - 主样式表 v3.0
   现代化校园网站设计系统
   设计理念：庄重大气 · 现代简洁 · 微交互 · 响应式
   ============================================================ */

/* ==================== CSS 变量定义 ==================== */
:root {
    /* 主色调：深海蓝 */
    --primary: #1a3a6e;
    --primary-dark: #0f2447;
    --primary-light: #2a5298;
    --primary-bg: rgba(26,58,110,0.04);
    --primary-bg-hover: rgba(26,58,110,0.08);
    
    /* 强调色：中国红 */
    --accent: #c41e3a;
    --accent-light: #e74c5e;
    --accent-bg: rgba(196,30,58,0.06);
    
    /* 金色点缀 */
    --gold: #c9a227;
    --gold-light: #e0c054;
    
    /* 文字色系 */
    --text: #2c3e50;
    --text-dark: #1a1a2e;
    --text-medium: #555;
    --text-light: #8e99a4;
    --text-lighter: #b0b8c1;
    
    /* 背景色系 */
    --bg-page: #f0f2f5;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f7f8fa;
    
    /* 边框 */
    --border: #e8ecf1;
    --border-light: #f0f2f5;
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
    
    /* 动画 */
    --transition-fast: 0.15s ease;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing: 20px;
    --spacing-md: 28px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* 字体 */
    --font-base: 15px;
    --touch-target: 44px;
    --max-width: 1280px;
}

/* ==================== 全局重置 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: var(--font-base);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg-page);
    line-height: 1.7;
    min-width: 320px;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-light);
}
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul, ol {
    list-style: none;
}

/* ==================== 容器 ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* ==================== 顶部快捷栏 ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0d1b33 100%);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.top-bar .welcome {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.top-bar .welcome span {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.top-bar .welcome i {
    color: var(--gold-light);
    font-size: 12px;
}
.top-bar .top-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.top-bar .top-links a {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.top-bar .top-links a:hover {
    color: var(--gold-light);
    background: rgba(255,255,255,0.08);
}
@media (max-width: 600px) {
    .top-bar { font-size: 11px; padding: 3px 0; }
    .top-bar .container { justify-content: center; }
    .top-bar .top-links a { padding: 4px 8px; font-size: 11px; }
}

/* ==================== 主导航 ==================== */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
    gap: 16px;
}

/* 单一LOGO（仅图片） */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}
.logo:hover {
    opacity: 0.9;
}
.logo-img {
    height: 92px;
    width: auto;
    object-fit: contain;
}
.logo-sitename {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: 0.5px;
    border-left: 2px solid var(--border);
    padding-left: 12px;
    line-height: 1.3;
}

/* 移动端导航默认隐藏（仅在桌面端生效，移动端由 responsive_v4.css 控制） */
.mobile-nav,
.mobile-nav-overlay {
    display: none;
}

/* 主导航菜单 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.main-nav ul {
    display: flex;
    gap: 0;
}
.main-nav li {
    position: relative;
    white-space: nowrap;
}
.main-nav li > a {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 72px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.main-nav li.active > a,
.main-nav li:hover > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-bg);
}
.main-nav li > a .arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.4;
    transition: var(--transition);
}
.main-nav li:hover > a .arrow {
    opacity: 1;
    transform: rotate(180deg);
}

/* 下拉菜单（现代化设计） */
.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid var(--border);
}
.dropdown-inner {
    padding: 8px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
    font-size: 12px;
}
.dropdown a:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 18px;
}

/* 搜索框 */
.header-search {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-search form {
    display: flex;
    align-items: center;
}
.header-search input {
    width: 170px;
    padding: 9px 38px 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    background: var(--bg-page);
}
.header-search input:focus {
    width: 210px;
    border-color: var(--primary-light);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-bg);
}
.header-search input::placeholder {
    color: var(--text-lighter);
}
.header-search button {
    margin-left: -34px;
    background: var(--primary);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-search button:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: var(--touch-target);
    height: var(--touch-target);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
}
.mobile-menu-btn:hover {
    background: var(--bg-page);
}
.mobile-menu-btn .bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}
.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ==================== Banner轮播 ==================== */
.banner-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: var(--primary-dark);
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active {
    opacity: 1;
}
.banner-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.banner-slide.active .slide-bg {
    transform: scale(1);
}
.banner-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15,36,71,0.92) 0%, 
        rgba(26,58,110,0.6) 40%, 
        rgba(26,58,110,0.2) 70%, 
        rgba(26,58,110,0.05) 100%);
}
.banner-slide .slide-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    width: 100%;
    padding: 0 40px;
    color: #fff;
}
/* 轮播图点击跳转链接样式 */
.banner-slide h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: slideInLeft 0.8s ease;
    line-height: 1.2;
    letter-spacing: 1px;
}
.banner-slide p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 650px;
    animation: slideInLeft 0.8s ease 0.2s both;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.banner-dots span:hover {
    background: rgba(255,255,255,0.6);
}
.banner-dots span.active {
    background: var(--gold);
    width: 36px;
    border-radius: 6px;
    border-color: transparent;
}
@media (max-width: 1024px) {
    .banner-slider { height: 380px; }
    .banner-slide h2 { font-size: 32px; }
    .banner-slide p { font-size: 15px; }
    .banner-slide .slide-content { padding: 0 28px; }
}
@media (max-width: 768px) {
    .banner-slider { height: 280px; }
    .banner-slide h2 { font-size: 24px; }
    .banner-slide p { font-size: 13px; max-width: 100%; }
    .banner-slide .slide-content { text-align: center; padding: 0 20px; }
    .banner-dots { bottom: 16px; gap: 6px; }
    .banner-dots span { width: 8px; height: 8px; }
    .banner-dots span.active { width: 24px; }
}

/* ==================== 快捷入口 ==================== */
.quick-links-bar {
    background: var(--bg-white);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space);
    position: relative;
    z-index: 10;
}
.quick-links-bar .container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    min-height: 100px;
    justify-content: center;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.quick-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.quick-link-item:hover::before {
    transform: scaleX(1);
}
.quick-link-item:nth-child(1)::before { background: var(--primary); }
.quick-link-item:nth-child(2)::before { background: var(--accent); }
.quick-link-item:nth-child(3)::before { background: #27ae60; }
.quick-link-item:nth-child(4)::before { background: #f39c12; }
.quick-link-item:nth-child(5)::before { background: #8e44ad; }
.quick-link-item:nth-child(6)::before { background: #e74c3c; }
.quick-link-item:hover {
    background: var(--bg-page);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}
.quick-link-item i {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    transition: var(--transition);
}
.quick-link-item:hover i {
    transform: scale(1.1);
}
.quick-link-item:nth-child(1) i { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.quick-link-item:nth-child(2) i { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.quick-link-item:nth-child(3) i { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.quick-link-item:nth-child(4) i { background: linear-gradient(135deg, #f39c12, #f1c40f); }
.quick-link-item:nth-child(5) i { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.quick-link-item:nth-child(6) i { background: linear-gradient(135deg, #e74c3c, #ec7063); }
.quick-link-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}
@media (max-width: 1024px) {
    .quick-links-bar .container { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .quick-links-bar { padding: 16px 0; }
    .quick-links-bar .container { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .quick-link-item { padding: 14px 6px; min-height: 80px; gap: 6px; }
    .quick-link-item i { width: 38px; height: 38px; font-size: 16px; }
    .quick-link-item span { font-size: 12px; }
}

/* ==================== 通用区块标题 ==================== */
.section {
    padding: var(--space-lg) 0;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}
.section-title h2 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 45px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}
.section-title .more {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.section-title .more:hover {
    color: var(--primary);
    gap: 8px;
}
@media (max-width: 768px) {
    .section { padding: 28px 0; }
    .section-title h2 { font-size: 17px; }
}

/* ==================== 首页双栏布局 ==================== */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-bottom: 24px;
}
.home-grid .main-col { min-width: 0; }
.home-grid .side-col { min-width: 0; }
@media (max-width: 1024px) {
    .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .home-grid { gap: 16px; margin-bottom: 16px; }
}

/* ==================== 新闻列表（首页） ==================== */
.news-list {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.news-list:hover {
    box-shadow: var(--shadow-md);
}
.news-list .news-feature {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.news-feature .feature-img {
    height: 180px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-page);
    transition: var(--transition);
}
.news-feature .feature-img:hover {
    transform: scale(1.02);
}
.news-feature .feature-img .cat-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.news-feature .feature-text h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 700;
    transition: var(--transition);
}
.news-feature .feature-text h3:hover {
    color: var(--primary);
}
.news-feature .feature-text p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-feature .meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
    align-items: center;
}
.news-feature .meta i {
    margin-right: 4px;
}

/* 新闻列表项 */
.news-list .list-items li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}
.news-list .list-items li:last-child {
    border-bottom: none;
}
.news-list .list-items li:hover {
    padding-left: 6px;
}
.news-list .list-items li .date-box {
    min-width: 48px;
    text-align: center;
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    flex-shrink: 0;
    transition: var(--transition);
}
.news-list .list-items li:hover .date-box {
    background: var(--primary);
}
.news-list .list-items li .date-box .day {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.news-list .list-items li:hover .date-box .day {
    color: #fff;
}
.news-list .list-items li .date-box .month {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}
.news-list .list-items li:hover .date-box .month {
    color: rgba(255,255,255,0.8);
}
.news-list .list-items li .news-title {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    transition: var(--transition);
}
.news-list .list-items li:hover .news-title {
    color: var(--primary);
}
.news-list .list-items li .news-cat {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
}
@media (max-width: 768px) {
    .news-list { padding: 16px; }
    .news-list .news-feature { grid-template-columns: 1fr; gap: 14px; }
    .news-feature .feature-img { height: 180px; }
    .news-list .list-items li { padding: 10px 0; }
    .news-list .list-items li .date-box { min-width: 42px; padding: 4px 6px; }
    .news-list .list-items li .date-box .day { font-size: 17px; }
    .news-list .list-items li .news-title { font-size: 13px; }
    .news-list .list-items li .news-cat { font-size: 10px; padding: 3px 8px; }
}

/* ==================== 侧边栏通知 ==================== */
.notice-box {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    transition: var(--transition);
}
.notice-box:hover {
    box-shadow: var(--shadow-md);
}
.notice-box ul {
    list-style: none;
}
.notice-box li {
    padding: 12px 0 12px 16px;
    border-bottom: 1px dashed var(--border-light);
    position: relative;
    transition: var(--transition);
}
.notice-box li:hover {
    padding-left: 20px;
}
.notice-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
}
.notice-box li:hover::before {
    background: var(--primary);
    transform: scale(1.5);
}
.notice-box li:last-child {
    border-bottom: none;
}
.notice-box li a {
    font-size: 14px;
    color: var(--text);
    display: block;
    line-height: 1.5;
    font-weight: 500;
    transition: var(--transition);
}
.notice-box li a:hover {
    color: var(--primary);
}
.notice-box li .notice-date {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}
.notice-box li .tag-new {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-left: 6px;
    vertical-align: middle;
    font-weight: 600;
    animation: pulse-badge 2s ease infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ==================== 关于校区（首页） ==================== */
.about-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.about-section .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 14px;
    font-weight: 800;
}
.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}
.about-section p {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.92;
    margin-bottom: 14px;
}
.about-section .about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 4px solid rgba(255,255,255,0.2);
}
.about-section .about-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.about-section .about-img img {
    width: 100%;
    display: block;
    transition: var(--transition-slow);
}
.about-section .about-img:hover img {
    transform: scale(1.03);
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.stat-item {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.stat-item:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}
.stat-item .num {
    font-size: 30px;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.2;
}
.stat-item .label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}
@media (max-width: 1024px) {
    .about-section .container { grid-template-columns: 1fr; gap: 30px; }
    .about-section .about-img { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .about-section { padding: 40px 0; }
    .about-section h2 { font-size: 22px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .stat-item { padding: 14px 8px; }
    .stat-item .num { font-size: 24px; }
    .stat-item .label { font-size: 12px; }
}

/* ==================== 三栏内容区 ==================== */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.col-box {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.col-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.col-box .box-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.col-box .box-header h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.col-box .box-header a {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    transition: var(--transition);
    font-weight: 500;
}
.col-box .box-header a:hover {
    color: #fff;
    transform: translateX(2px);
}
.col-box .box-body { padding: 14px 20px; }
.col-box .box-body li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
    transition: var(--transition);
}
.col-box .box-body li:hover {
    padding-left: 4px;
}
.col-box .box-body li:last-child {
    border-bottom: none;
}
.col-box .box-body li a {
    color: var(--text);
    display: block;
    line-height: 1.5;
}
.col-box .box-body li a:hover {
    color: var(--primary);
}
.col-box .box-body li .date {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 3px;
}
@media (max-width: 1024px) {
    .three-col-grid { grid-template-columns: 1fr; }
}

/* ==================== 智慧校园入口 ==================== */
.smart-campus-section {
    background: var(--bg-white);
    padding: 50px 0;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.smart-campus-section .section-title {
    justify-content: center;
    border-bottom: none;
    margin-bottom: 30px;
}
.smart-campus-section .section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
}
.smart-campus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.smart-item {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-page);
    transition: var(--transition);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.smart-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: var(--transition);
}
.smart-item:hover::after {
    width: 60%;
}
.smart-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: var(--bg-white);
}
.smart-item i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    transition: var(--transition);
}
.smart-item:hover i {
    transform: scale(1.1);
    color: var(--primary-light);
}
.smart-item h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
}
.smart-item p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}
@media (max-width: 1200px) {
    .smart-campus-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .smart-campus-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .smart-item { padding: 22px 12px; }
    .smart-item i { font-size: 28px; }
}
@media (max-width: 480px) {
    .smart-campus-grid { grid-template-columns: 1fr; }
    .smart-item { padding: 18px 14px; }
}

/* ==================== 页脚 ==================== */
.main-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0a1628 100%);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-light), var(--gold));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col h3 i { color: var(--gold-light); }
.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
    opacity: 0.9;
}
.footer-contact p {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact i {
    width: 16px;
    color: var(--gold-light);
    flex-shrink: 0;
    text-align: center;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i {
    width: 14px;
    font-size: 10px;
    color: var(--gold-light);
    flex-shrink: 0;
    text-align: center;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    opacity: 0.65;
}
.footer-bottom p {
    margin-bottom: 4px;
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .main-footer { padding: 36px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-col h3 { font-size: 15px; }
}

/* ==================== 页面Banner ==================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 50px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary-light), var(--gold));
}
.page-banner h1 {
    font-size: 30px;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}
.page-banner p {
    opacity: 0.85;
    font-size: 15px;
}
@media (max-width: 768px) {
    .page-banner { padding: 36px 0; }
    .page-banner h1 { font-size: 22px; }
    .page-banner p { font-size: 13px; }
}

/* ==================== 面包屑 ==================== */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--text-medium);
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb .separator {
    margin: 0 8px;
    color: var(--border);
}
.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== 侧边栏+内容布局 ==================== */
.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    padding: 32px 0;
}
.sidebar-menu {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 92px;
    border: 1px solid var(--border);
}
.sidebar-menu .menu-title {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    font-weight: 500;
}
.sidebar-menu li a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--text-lighter);
    border-radius: 50%;
    transition: var(--transition);
}
.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 24px;
    border-left: 3px solid var(--primary);
}
.sidebar-menu li a:hover::before,
.sidebar-menu li.active a::before {
    background: var(--primary);
}
.main-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 28px;
    min-height: 500px;
    border: 1px solid var(--border);
}
@media (max-width: 1024px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar-menu { position: static; }
}
@media (max-width: 768px) {
    .content-wrapper { padding: 20px 0; gap: 16px; }
    .main-content { padding: 18px; }
}

/* ==================== 新闻列表页 ==================== */
.news-list-page li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    border-radius: var(--radius-sm);
}
.news-list-page li:last-child {
    border-bottom: none;
}
.news-list-page li:hover {
    background: var(--bg-page);
    padding: 20px 12px;
    margin: 0 -12px;
}
.news-list-page .news-thumb {
    width: 200px;
    height: 135px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--bg-page);
}
.news-list-page .news-info {
    flex: 1;
    min-width: 0;
}
.news-list-page .news-info h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 700;
    transition: var(--transition);
}
.news-list-page .news-info h3:hover {
    color: var(--primary);
}
.news-list-page .news-info p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-page .news-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 14px;
}
.news-list-page .news-meta i {
    margin-right: 3px;
}
@media (max-width: 768px) {
    .news-list-page li { flex-direction: column; gap: 14px; padding: 16px 0; }
    .news-list-page .news-thumb { width: 100%; height: 180px; }
    .news-list-page .news-info h3 { font-size: 15px; }
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    border: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
    font-weight: 500;
}
.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}
.pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(26,58,110,0.3);
}
.pagination .ellipsis {
    border: none;
    min-width: auto;
    padding: 0 4px;
}
@media (max-width: 480px) {
    .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 12px; }
}

/* ==================== 文章详情页 ==================== */
.article-detail .article-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 24px;
}
.article-detail h1 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.4;
    font-weight: 800;
}
.article-detail .article-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.article-detail .article-meta i {
    margin-right: 4px;
}
.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    overflow-wrap: break-word;
}
.article-body p {
    margin-bottom: 18px;
    text-indent: 2em;
}
.article-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 16px auto;
    box-shadow: var(--shadow);
}
@media (max-width: 768px) {
    .article-detail h1 { font-size: 19px; }
    .article-body { font-size: 15px; }
    .article-body p { text-indent: 0; }
}

/* ==================== 通用按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 600;
    min-height: var(--touch-target);
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.btn:hover { 
    transform: translateY(-1px); 
    box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn-primary { 
    background: linear-gradient(135deg, var(--primary), var(--primary-light)); 
    color: #fff; 
}
.btn-primary:hover { 
    box-shadow: 0 4px 16px rgba(26,58,110,0.35); 
}
.btn-success { background: linear-gradient(135deg, #27ae60, #2ecc71); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #e74c3c, #ec7063); color: #fff; }
.btn-warning { background: linear-gradient(135deg, #f39c12, #f1c40f); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm { padding: 6px 14px; font-size: 12px; min-height: 32px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ==================== 表单 ==================== */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
}
.form-group label .required { color: var(--accent); margin-left: 3px; }
.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-white);
    min-height: var(--touch-target);
}
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-bg);
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238E99A4' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==================== 表格 ==================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.data-table th {
    background: var(--primary-bg);
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    white-space: nowrap;
}
.data-table tbody tr {
    transition: var(--transition);
}
.data-table tbody tr:hover {
    background: var(--bg-page);
}
.data-table .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: rgba(39,174,96,0.1); color: #27ae60; }
.badge-warning { background: rgba(243,156,18,0.1); color: #f39c12; }
.badge-danger { background: rgba(231,76,60,0.1); color: #e74c3c; }
.badge-info { background: rgba(52,152,219,0.1); color: #3498db; }
@media (max-width: 768px) {
    .data-table th, .data-table td { padding: 10px 12px; font-size: 13px; }
}

/* ==================== 卡片 ==================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.card-body { padding: 22px; }
@media (max-width: 768px) {
    .card-header { padding: 14px 16px; }
    .card-body { padding: 16px; }
}

/* ==================== 视频弹窗 ==================== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.video-modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 1100px;
    width: 95vw;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-modal-overlay.active .video-modal {
    transform: translateY(0) scale(1);
}
.video-modal .video-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}
.video-modal .video-close:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(90deg);
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-medium);
}
.video-placeholder i {
    font-size: 60px;
    color: var(--primary-light);
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.video-placeholder p {
    font-size: 15px;
    line-height: 1.8;
}
.video-placeholder .hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
    padding: 8px 20px;
    background: var(--primary-bg);
    border-radius: var(--radius-full);
}
/* 视频弹窗底部控制栏 */
.video-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
/* ============================================================
   宣传视频展示区（嵌入首页，非弹窗）
   ============================================================ */
.video-showcase {
    background: var(--bg-light);
    padding: 60px 0;
    margin-top: 0;
}
.video-showcase .section-title {
    margin-bottom: 28px;
}
.video-showcase-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
/* 视频播放器容器 */
.video-player-wrap {
    flex: 1.2;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
/* 视频简介文字 */
.video-info {
    flex: 0.8;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-info h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}
.video-info p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 12px;
}
.video-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
}
.video-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.video-more-btn i {
    transition: transform 0.3s;
}
.video-more-btn:hover i {
    transform: translateX(4px);
}
/* 视频文件不存在时的占位提示 */
.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-medium);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}
.video-placeholder i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
    display: block;
}
.video-placeholder p {
    font-size: 16px;
    margin-bottom: 8px;
}
.video-placeholder .hint {
    font-size: 13px;
    color: var(--text-light);
}
/* 移动端适配 */
@media (max-width: 900px) {
    .video-showcase-inner {
        flex-direction: column;
    }
    .video-player-wrap {
        width: 100%;
    }
    .video-info {
        width: 100%;
        padding: 0;
    }
}

/* ==================== 会议室系统 ==================== */
.meeting-container { max-width: var(--max-width); margin: 0 auto; padding: 28px 24px; }
.room-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.room-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.room-card h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 10px; font-weight: 700; }
.room-card .room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 12px;
}
.room-card .room-meta i { color: var(--primary); margin-right: 4px; }
.room-card .room-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.room-card .facility-tag {
    font-size: 11px;
    padding: 4px 12px;
    background: var(--primary-bg);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 500;
}
.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .meeting-container { padding: 16px 12px; }
    .room-card { padding: 18px; }
    .booking-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* 日历 */
.calendar-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.calendar-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.calendar-table th, .calendar-table td {
    border: 1px solid var(--border);
    padding: 8px;
    text-align: center;
    font-size: 13px;
}
.calendar-table th { background: var(--primary-bg); font-weight: 700; color: var(--primary); }
.calendar-table td { height: 55px; vertical-align: top; }
.calendar-table td .date-num { font-weight: 700; color: var(--text); font-size: 13px; }
.calendar-table td.other-month { color: var(--text-lighter); background: #fafbfc; }
.calendar-table td.today { background: var(--primary-bg); border: 2px solid var(--primary); }
.calendar-table td.today .date-num { color: var(--primary); }
.calendar-table .booking-tag {
    display: block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-tag.status-pending { background: #fff3cd; color: #856404; }
.booking-tag.status-approved { background: #d4edda; color: #155724; }
.booking-tag.status-rejected { background: #f8d7da; color: #721c24; }
@media (max-width: 480px) {
    .calendar-table td { height: 42px; }
    .calendar-table th, .calendar-table td { padding: 4px; font-size: 11px; }
}

/* ==================== OA系统 ==================== */
.oa-login-box {
    max-width: 440px;
    margin: 80px auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border);
}
.oa-login-box h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 28px;
    font-size: 22px;
    font-weight: 800;
}
.oa-dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.oa-sidebar {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0d1b33 100%);
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.oa-sidebar .logo-area {
    padding: 0 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 14px;
}
.oa-sidebar .logo-area h3 { font-size: 16px; font-weight: 700; }
.oa-sidebar ul { padding: 0 10px; }
.oa-sidebar li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    transition: var(--transition);
    font-weight: 500;
}
.oa-sidebar li a:hover,
.oa-sidebar li.active a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.oa-sidebar li a i { width: 20px; text-align: center; }
.oa-main { padding: 24px; background: var(--bg-page); min-height: 100vh; }
.oa-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.oa-stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.oa-stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.oa-stat-card .num { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.oa-stat-card .label { font-size: 13px; color: var(--text-medium); margin-top: 4px; }
.oa-panel {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.oa-panel .panel-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.oa-panel .panel-body { padding: 20px; }

/* OA移动端适配 */
.oa-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.oa-mobile-toggle:hover {
    transform: scale(1.05);
}
@media (max-width: 1024px) {
    .oa-dashboard { grid-template-columns: 1fr; }
    .oa-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        z-index: 1100;
        width: 270px;
        transition: left 0.3s ease;
        height: 100vh;
        padding-top: 60px;
    }
    .oa-sidebar.open { left: 0; box-shadow: var(--shadow-xl); }
    .oa-sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1099; }
    .oa-sidebar-overlay.open { display: block; }
    .oa-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .oa-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .oa-main { padding: 14px; }
    .oa-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .oa-stat-card { padding: 14px; }
    .oa-stat-card .num { font-size: 24px; }
    .oa-panel .panel-header { padding: 12px 16px; }
    .oa-panel .panel-body { padding: 16px; }
    .oa-login-box { margin: 30px 16px; padding: 28px 20px; }
}

/* ==================== 搜索页面 ==================== */
.search-box { margin-bottom: 28px; }
.search-box form { display: flex; gap: 12px; }
.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}
.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-bg);
}
.search-box button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.search-box button:hover {
    box-shadow: 0 4px 16px rgba(26,58,110,0.3);
    transform: translateY(-1px);
}
@media (max-width: 480px) {
    .search-box form { flex-direction: column; }
    .search-box button { width: 100%; justify-content: center; }
}

/* ==================== Toast消息提示 ==================== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    max-width: 90vw;
}
.toast-success { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.toast-error { background: linear-gradient(135deg, #e74c3c, #ec7063); }
.toast-warning { background: linear-gradient(135deg, #f39c12, #f1c40f); }
.toast-info { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translate(-50%, -20px); } }

/* ==================== 加载动画 ==================== */
.loading-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== 无障碍跳转链接 ==================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top 0.2s;
    font-weight: 600;
}
.skip-link:focus { top: 10px; }

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 18px;
    transition: var(--transition);
}
.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.back-to-top.show { display: flex; }

/* ==================== 首页动画 ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease; }
.fade-in-delay-1 { animation: fadeInUp 0.6s ease 0.1s both; }
.fade-in-delay-2 { animation: fadeInUp 0.6s ease 0.2s both; }
.fade-in-delay-3 { animation: fadeInUp 0.6s ease 0.3s both; }

/* ==================== 打印样式 ==================== */
@media print {
    .top-bar, .main-header, .banner-slider, .quick-links-bar,
    .smart-campus-section, .main-footer, .sidebar-menu,
    .header-search, .mobile-menu-btn, .oa-sidebar,
    .oa-mobile-toggle, .back-to-top { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .container { max-width: 100%; padding: 0; }
    a { color: #000 !important; }
    .main-content { box-shadow: none; padding: 0; border: none; }
    .content-wrapper { grid-template-columns: 1fr; display: block; }
}

/* ==================== 高清屏适配 ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .banner-slide .slide-bg { image-rendering: auto; }
}

/* ==================== 减少动画偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
