/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.header .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.header .nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.header .nav ul li {
    margin-left: 20px;
}

.header .nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.header .nav ul li a.active {
    color: #ff6347;
}

/* 新闻列表样式 */
.news {
    padding: 40px 0;
}

.news h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-item h2 a {
    color: #333;
    text-decoration: none;
}

.news-item h2 a:hover {
    color: #ff6347;
}

.news-item .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 16px;
    margin-bottom: 10px;
}

.news-item .read-more {
    color: #ff6347;
    text-decoration: none;
    font-weight: bold;
}

.news-item .read-more:hover {
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
}

.footer-links li a:hover {
    color: #ff6347;
}


/* 新闻详情样式 */
.news-detail {
    padding: 40px 0;
}

.news-detail h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.news-detail .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.news-detail .content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-detail .content p {
    margin-bottom: 20px;
}

.news-detail .content .align-right {
    text-align: right;
}

.news-detail .back-to-news {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6347;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.news-detail .back-to-news:hover {
    background-color: #e5533d;
}