/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #aec4d8;
    color: #333;
}
body a {
    color: #666;
    text-decoration: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

/* 顶部横幅 */
.banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.banner2 {
    width: 100%;
    height: 186px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航栏样式 */
.nav {
    width: 100%;
    background: linear-gradient(to bottom, #748aa8, #526a8a);
    /* background: linear-gradient(to bottom, #8ca3c3, #6b85a8); */
    height: 50px;
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-around;
}

.nav ul li {
    text-align: center;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 25px;
    display: block;
}

.nav ul li.active a,
.nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 新闻列表区域 */
.news-list-container {
    padding: 20px;
    background-color: #f5f8f7;
}

.news-list-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #8ca3c3;
    padding-bottom: 10px;
}

.news-list-header h2 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px;
    transition: all 0.3s ease;
}

.news-list-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.news-list-date {
    width: 100px;
    min-width: 100px;
    text-align: center;
    padding: 10px;
    background-color: #8ca3c3;
    color: #fff;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-right: 15px;
}

.news-list-content {
    flex: 1;
}

.news-list-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
}

.news-list-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-list-content h3 a:hover {
    color: #6b85a8;
}

.news-list-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-list-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

.news-list-category {
    background-color: #e5eeea;
    padding: 3px 8px;
    border-radius: 3px;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination a.active {
    background-color: #8ca3c3;
    color: #fff;
    border-color: #8ca3c3;
}

/* 保留原有新闻列表样式（用于首页） */
.news-section {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #e5eeea;
    gap: 15px;
}

.news-item {
    width: calc(50% - 10px);
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.news-item h2{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
    margin-right: 25px ;
    text-align: right;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 50px;
}

.news-content h3 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: normal;
}

.news-content p {
    color: #999;
    font-size: 12px;
    width: 90%;
}

.news-icon {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0px;
    top: 35%;
    transform: translateY(-50%);
}

.news-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* 小区展示区域 */
.community-section {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background-color: rgba(240, 233, 221, 0.7);
}

.community-item {
    width: 32%;
    padding: 10px 10px 10px 30px;
    text-align: center;
    position: relative;
}

.community-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.community-name {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    font-size: 14px;
}

/* 底部二维码和版权信息 */
.footer {
    background-color: #e5eef1;
    padding: 20px 0;
}

.qr-codes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.qr-item {
    text-align: center;
    width: 32%;
}


.qr-item img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    background-color: #000;
    color: #fff;
}

.copyright p {
    font-size: 12px;
    line-height: 1.8;
}
.bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    background-color: #ffffff;
    color: #000000;
}

.bottom p {
    font-size: 12px;
    line-height: 1.8;
}

.news-content2 {
    max-width: 1180px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.news-title {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.news-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.news-meta span {
    margin: 0 10px;
}

.news-body {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
    margin: 0 20px;
}

.news-body p {
    margin-bottom: 15px;
}

.news-body h2 {
    color: #333;
    font-size: 20px;
    margin: 25px 0 15px;
    border-left: 4px solid #1e88e5;
    padding-left: 10px;
}

.news-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.news-body li {
    margin-bottom: 8px;
}

.signature {
    text-align: right;
    margin-top: 30px;
    font-style: italic;
    color: #666;
}