/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

/* 核心色彩变量 */
:root {
    --primary-color: #003366; /* 深蓝主色 */
    --secondary-color: #0066CC; /* 浅蓝辅助色 */
    --accent-color: #FF6600; /* 橙色强调色 */
    --bg-light: #F5F7FA; /* 浅灰背景 */
    --text-dark: #333333; /* 深灰文字 */
    --text-medium: #666666; /* 中灰文字 */
    --white: #FFFFFF; /* 白色 */
    --border-color: #e0e0e0; /* 边框颜色 */
}

/* 通用样式 */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 15px; */
}
.container-1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.btn {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--primary-color);
}

.more-link {
    font-size: 14px;
    color: var(--secondary-color);
}

.more-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 头部样式 */
header {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* 品牌标识栏 */
.header-top {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    /* width: 50px; */
    /* height: 50px; */
    /* background-color: var(--white); */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
}

.school-name h1 {
    font-size: 18px;
    line-height: 1.2;
}

.school-name p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 6px 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    padding: 6px 12px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--secondary-color);
    color: var(--white);
    cursor: pointer;
}

.accessibility {
    font-size: 14px;
}

/* 主导航栏 */
.nav-main {
    background-color: var(--primary-color);
}

.nav-main ul {
    display: flex;
    justify-content: center;
}

.nav-main li {
    position: relative;
    width: 180px;
    text-align: center;
}

.nav-main a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
}

.nav-main a:hover {
    background-color: var(--secondary-color);
}

/* 下拉菜单 */
.nav-main .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    color: var(--text-dark);
    width: 200px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-main .submenu a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.nav-main .submenu a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

.nav-main li:hover .submenu {
    display: block;
}

/* 响应式导航按钮 */
.mobile-nav-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Banner轮播区 */
.banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0,51,102,0.5); */
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* 轮播控制按钮 */
.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* 轮播导航箭头 */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.banner-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.banner-nav-btn:hover {
    background-color: rgba(0,0,0,0.5);
}

/* 核心内容区 */
.main-content {
    padding: 30px 0;
    background-color: var(--bg-light);
}

.content-wrap {
    display: flex;
    gap: 30px;
}

/* 左侧内容区 */
.content-left {
    width: 100%;
}

.content-module {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    /* margin-bottom: 30px; */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.module-header h3 {
    font-size: 20px;
    color: var(--primary-color);
}

/* 工作动态幻灯片 */
.news-slider {
    width: 100%;
    height: 370px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* margin-bottom: 10px; */
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-slide.active {
    opacity: 1;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,51,102,0.6);
}
.news-overlay img{
   width:100%;
   height:380px;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    /* margin: 20px auto; */
    display: block;
}

.news-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
    margin-top: 200px;
}

.news-content .news-date {
    color: rgba(255,255,255,0.9);
    margin-right: 0;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.news-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #233a7c;
    /* text-shadow: 2px 2px 4px #ffffff; */
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

/* 轮播控制按钮 */
.news-controls {
    position: relative;
    bottom: 30px;
    /* left: 52%; */
    /* transform: translateX(-50%); */
    display: flex;
    gap: 10px;
    z-index: 10;
    /* padding: 0 20px; */
    /* max-width: 600px; */
    justify-content: center;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* 轮播导航箭头 */
.news-nav {
    position: fixed;
    top: 150%;
    transform: translateY(-800%);
    width: 95%;
    display: flex;
    padding: 0 10px;
    z-index: 10;
    justify-content: space-evenly;
    max-width: 520px;
    /* margin: 10px 10px; */
}

.news-nav-btn {

}

.news-nav-btn:hover {

}
.news-nav-btn-bak {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.news-nav-btn-bak:hover {
    background-color: rgba(0,0,0,0.5);
}

/* 重点工作专栏 */
.key-work {
    display: flex;
    align-items: center;
    gap: 20px;
}

.key-work-img {
    width: 200px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
}

.key-work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.key-work-text {
    flex: 1;
}

.key-work-text p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 右侧内容区 */
.content-right {
    width: 100%;
}

/* 通知公告 */
.notice-list {
    font-size: 14px;
}

.notice-item {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-icon {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 16px;
}

.notice-content {
    flex: 1;
}

.notice-date {
    color: var(--text-medium);
    margin-bottom: 4px;
}

/* 快捷功能入口 */
.shortcut-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.shortcut-btn {
    padding: 20px 10px;
    background-color: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shortcut-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.shortcut-btn i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

/* 三栏目文章列表模块 */
.three-columns {
    background-color: var(--white);
    padding: 20px;
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.columns-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.column-item {
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.column-item:hover {
    background-color: var(--bg-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: transparent;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondary-color);
}

.column-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.column-icon i {
    font-size: 20px;
}

.column-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 文章列表样式 */
.column-article-list {
    font-size: 14px;
}

.column-article-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-article-item:last-child {
    border-bottom: none;
}

.column-article-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-right: 10px;
}

.column-article-title:hover {
    color: var(--secondary-color);
}

.column-article-date {
    color: var(--text-medium);
    font-size: 12px;
    white-space: nowrap;
}

.column-more {
    margin-top: 15px;
    text-align: right;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: 30px;
}

.footer-links {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-info p {
    margin-bottom: 8px;
}

/* 列表页样式 */
.list-page {
    padding: 30px 0;
    background-color: var(--bg-light);
    min-height: 600px;
}

/* 筛选区 */
.filter-bar {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.filter-item select, .filter-item input {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.filter-item select:focus, .filter-item input:focus {
    border-color: var(--secondary-color);
}

.filter-btn {
    margin-left: auto;
}

/* 列表标题区 */
.list-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.list-header h2 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.list-header p {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 8px;
}

/* 新闻列表区 */
.news-list-container {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-list-item {
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background-color: rgba(0,102,204,0.02);
}

.news-list-title {
    font-size: 16px;
    color: var(--text-dark);
    flex: 1;
    padding-right: 20px;
}

.news-list-title a:hover {
    color: var(--secondary-color);
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-medium);
}

.news-list-date, .news-list-hits {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 分页 */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.pagination-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pagination-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.pagination-btn.disabled {
    color: #999;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.pagination-btn.disabled:hover {
    border-color: var(--border-color);
    color: #999;
}

/* 详情页样式 */
.detail-page {
    padding: 30px 0;
    background-color: var(--bg-light);
    min-height: 600px;
}

.detail-wrap {
    display: flex;
    gap: 30px;
}

/* 左侧正文区（75%） */
.detail-left {
    width: 75%;
}

.detail-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 文章标题区 */
.article-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-medium);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 文章正文区 */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px auto;
    display: block;
}

.article-body h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.article-body h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 25px 0 10px;
}

.article-body ul, .article-body ol {
    margin: 10px 0 20px 20px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

/* 文章底部操作区 */
.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    cursor: pointer;
}

.share-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.article-nav {
    display: flex;
    gap: 15px;
}

/* 右侧推荐区（25%） */
.detail-right {
    width: 25%;
}

.sidebar-module {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-header {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 15px;
}

/* 相关推荐列表 */
.related-list {
    font-size: 14px;
}

.related-item {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item a:hover {
    color: var(--secondary-color);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .content-wrap {
        flex-direction: column;
    }
    .content-left, .content-right {
        width: 100%;
    }
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .columns-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-wrap {
        flex-direction: column;
    }
    .detail-left, .detail-right {
        width: 100%;
    }
    .related-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-main ul {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
    }
    .mobile-nav-btn {
        display: block;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
    .key-work {
        flex-direction: column;
    }
    .key-work-img {
        width: 100%;
    }
    .shortcut-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner h2 {
        font-size: 24px;
    }
    .banner p {
        font-size: 16px;
    }
    .columns-wrap {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 22px;
    }
    .detail-content {
        padding: 20px 15px;
    }
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .related-list {
        grid-template-columns: 1fr;
    }
}