/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 2.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #004499;
}

/* 顶部导航 */
.top-bar {
    background-color: #1a3e72;
    color: white;
    padding: 0px 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
}

.header-title {
    margin-left: 0px;
}

.header-title h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.header-title p {
    font-size: 14px;
    color: #ccc;
}

/* 主导航 */
.main-nav {
    background-color:#2c3e50;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 15px 25px;
    color: white;
    font-size: 16px;
}

.main-nav a:hover, .main-nav a.current {
    background-color: #004499;
}

/* 横幅 */
.banner {
     /*margin-bottom: -25px;*/
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* 添加圆角效果，可根据需要调整数值 */
    overflow: hidden; /* 确保图片内容不会溢出圆角边界 */
     padding: 5px;
}

/* 主要内容区 */
.main-content {
    padding: 30px 0;
}

.content-left {
    width: 80%;
    float: left;
    padding-right: 30px;
}

.content-right {
    width: 20%;
    float: right;
}

/* 新闻和通知部分 */
.section-title {
    font-size: 18px;
    color: #1a3e72;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a3e72;
    margin-bottom: 15px;
}

.news-item, .notice-item {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.news-item a, .notice-item a {
    display: block;
    margin-bottom: 5px;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 列表页样式 */
.list-page {
    background-color: white;
    /* padding: 15px;*/ 
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    padding: 22px 0;
    color: #666;
    font-size: 14px;
}

.page-title h2 {
    font-size: 24px;
    color: #1a3e72;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.article-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.article-summary {
    color: #666;
    line-height: 1.8;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    background-color: white;
}

.pagination a:hover, .pagination span.current {
    background-color: #1a3e72;
    color: white;
    border-color: #1a3e72;
}

/* 内容页样式 */
.article-page {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article-content h1 {
    font-size: 26px;
    color: #1a3e72;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 15px;
}

.article-body {
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-tags {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.article-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 3px 8px;
    background-color: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.prev-article, .next-article {
    width: 48%;
}

/* 页脚样式 */
.site-footer {
    background-color: #1a3e72;
    color: white;
    padding: 40px 0 20px;
    /*margin-top: 20px;*/
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    width: 30%;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2d4d7a;
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d4d7a;
    font-size: 14px;
    color: #ccc;
}

.copyright p {
    margin-bottom: 5px;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .content-left, .content-right {
        width: 100%;
        float: none;
        padding-right: 0;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav a {
        padding: 10px 15px;
    }
}
.pagination {
    margin: 60px 0;
    text-align: center;
}
.pagination ul {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination li {
    display: inline;
    margin: 0 5px;
}
.pagination a,
.pagination li.active a {
    display: inline-block;
    padding: 3px 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}
.pagination li.active a {
    background: #337ab7;
    color: #fff;
    border-color: #337ab7;
}
.pagination a:hover {
    background: #eee;
}