/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
}

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

a:hover {
    color: #2a5caa;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 80px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
}

/* 导航样式 */
nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
}

nav ul li.active a {
    color: #2a5caa;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2a5caa;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner样式 */
.banner {
    position: relative;
    height: 345px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 15px;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #2a5caa;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #2a5caa;
}

.breadcrumb span {
    color: #2a5caa;
}

/* 首页主体内容样式 */
.main-content {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    color: #2a5caa;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.sections-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h3 {
    font-size: 20px;
    color: #2a5caa;
}

.section-header a {
    font-size: 14px;
    color: #666;
}

.section-header a:hover {
    color: #2a5caa;
}

/* 新闻列表样式 */
.news-list {
    margin-bottom: 20px;
}

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

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

.news-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item .news-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
	margin-top: 10px;
}

.news-item .news-date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
	margin-top: 10px;
}

.hot-news {
    color: #ff4d4f;
}

.more-link {
    display: block;
    text-align: right;
    color: #2a5caa;
    font-weight: 500;
}

.more-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.more-link:hover i {
    transform: translateX(3px);
}

/* 栏目页样式 */
.category-page {
    padding: 40px 0;
}

.category-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.side-nav h3 {
    font-size: 18px;
    color: #2a5caa;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.side-nav ul li {
    margin-bottom: 10px;
}

.side-nav ul li a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
}

.side-nav ul li a:hover,
.side-nav ul li.active a {
    background-color: #e6f0ff;
    color: #2a5caa;
}

.side-widget {
    margin-top: 30px;
}

.side-widget h3 {
    font-size: 18px;
    color: #2a5caa;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f5f7fa;
    border-radius: 15px;
    font-size: 14px;
}

.tags a:hover {
    background-color: #e6f0ff;
    color: #2a5caa;
}

.content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-header h2 {
    font-size: 24px;
    color: #2a5caa;
}

.sort-options {
    font-size: 14px;
}

.sort-options a {
    margin-left: 10px;
    color: #666;
}

.sort-options a.active {
    color: #2a5caa;
    font-weight: 500;
}

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

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

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-item-header h3 {
    font-size: 18px;
    font-weight: normal;
}

.news-item-header h3 a:hover {
    color: #2a5caa;
}

.news-item-header .news-date {
    color: #999;
    font-size: 14px;
}

.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.news-item-meta i {
    margin-right: 5px;
    color: #999;
}

.news-item-excerpt {
    color: #666;
    line-height: 1.8;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
}

.pagination a:hover,
.pagination a.active {
    background-color: #2a5caa;
    color: white;
    border-color: #2a5caa;
}

/* 内容页样式 */
.detail-page {
    padding: 40px 0;
}

.article-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.article-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.article-meta i {
    margin-right: 5px;
    color: #999;
}

.article-body {
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #2a5caa;
}

.article-body h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

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

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 20px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.article-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2a5caa;
}

.article-body ol {
    counter-reset: item;
}

.article-body ol li {
    counter-increment: item;
}

.article-body ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: #2a5caa;
}

.attachments {
    margin: 30px 0;
    padding: 20px;
    background-color: #f5f7fa;
    border-radius: 8px;
}

.attachments h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.attachments ul li {
    margin-bottom: 10px;
}

.attachments a {
    display: inline-flex;
    align-items: center;
    color: #2a5caa;
}

.attachments i {
    margin-right: 8px;
    font-size: 18px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags {
    margin-bottom: 30px;
}

.tags span {
    color: #666;
    margin-right: 10px;
}

.tags a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f5f7fa;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tags a:hover {
    background-color: #e6f0ff;
    color: #2a5caa;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prev-next span {
    color: #666;
    margin-right: 10px;
}

.prev-next a:hover {
    color: #2a5caa;
}

.related-articles {
    margin-top: 50px;
}

.related-articles h3 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #2a5caa;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item h4 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.5;
}

.related-item span {
    color: #999;
    font-size: 14px;
}

/* 页脚样式 */
footer {
    background-color: #2a5caa;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
	text-align: center;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.footer-col i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sections-container,
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
		text-align: center;
    }
}

@media (max-width: 992px) {
    .category-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav {
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 15px;
        top: 20px;
    }
    
    .banner {
		width: 100%;
        height: auto;
        padding: 80px 0;
    }
    
    .banner img {
        width: 100%;
        height: auto;
    }
    
    .banner h2 {
        font-size: 32px;
    }
    
    .sections-container,
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
		text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 80%;
        height: auto;
    }
 .banner {
		margin-top: -100px;
		margin-bottom: -80px;
    }
    .banner img {
        min-height: 300px;
        width: auto;
        max-width: 100%;
    }
    .section-title h2 {
        font-size: 26px;
    }
    
    .section {
        padding: 20px;
    }
    
    .news-item a {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-item .news-date {
        margin-top: 5px;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-options {
        margin-top: 10px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
}