﻿/* CSS Document */
@charset "utf-8";
/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SimSun", "宋体", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5f0;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: #8c3c1c;
    transition: all 0.3s ease;
}

a:hover {
    color: #5a2512;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* 头部区域 */
header {
    background-color: #8c3c1c;
    border-bottom: 3px solid #5a2512;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 15px 0;
}

.logo img {
    max-width: 120px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* 导航菜单 */
nav ul {
    display: flex;
    flex-wrap: wrap;
}

nav li {
    margin-left: 5px;
}

nav a {
    display: block;
    color: #f9f5f0;
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* 主要内容区域 */
.wenhua-main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex: 1;
}

.main-left {
    flex: 1 1 70%;
    min-width: 300px;
}

.main-side {
    flex: 1 1 25%;
    min-width: 250px;
}

/* 新闻列表 */
.list-news {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8d9c9;
    margin-bottom: 20px;
}

.list-news ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-news li {
    padding-bottom: 15px;
    border-bottom: 1px dashed #e8d9c9;
}

.list-news li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-news a {
    display: block;
    font-size: 1.1rem;
    padding: 8px 0;
    color: #5a2512;
    transition: all 0.3s;
}

.list-news a:hover {
    color: #8c3c1c;
    padding-left: 10px;
    background-color: #f9f5f0;
    border-radius: 4px;
}

/* 标签新闻 */
.tag-news {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8d9c9;
}

.tag-news ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-news li {
    flex: 1 1 auto;
}

.tag-news a {
    display: block;
    padding: 10px 15px;
    background-color: #f9f5f0;
    border-radius: 4px;
    text-align: center;
    color: #8c3c1c;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tag-news a:hover {
    background-color: #8c3c1c;
    color: #fff;
    text-decoration: none;
}

/* 侧边栏 */
.side-ad {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8d9c9;
    position: sticky;
    top: 20px;
}

.side-ad h3 {
    font-size: 1.3rem;
    color: #5a2512;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8d9c9;
    text-align: center;
}

.ad-show {
    text-align: center;
    padding: 10px;
    background-color: #f9f5f0;
    border-radius: 5px;
}

/* 底部样式 */
footer {
    background-color: #5a2512;
    color: #f9f5f0;
    padding: 25px 0;
    margin-top: auto;
    border-top: 3px solid #8c3c1c;
}

.copynav {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.copyright {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 响应式设计 */
/* 平板设备 */
@media (max-width: 992px) {
    .wenhua-main {
        gap: 20px;
    }
    
    .main