
/* 主内容区容器 */
.main-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 15px;
}

/* 新闻列表 */
.news-section {
}
.news-section h2 {
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}
.news-cover {
    width: 220px;
    height: 120px;
    background-color: #e6c200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
}
.news-content h3 {
    margin-bottom: 0.8rem;
}
.news-content h3 a{
    color:#333 ;
}
.news-content p {
    color: #333;
    height: calc(1.5em * 2);
    line-height: 1.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: normal;
}
.read-more {
    color: #d0b229;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.read-more:hover {
    color: #d0b229;
}

/* 新闻详情区 */
.news-detail-section {

}
.news-detail-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.news-detail-wrapper {
    border: 1px solid #ddd;
    padding: 3rem;
}
.news-detail-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}
.news-detail-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000;
}
.news-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.news-detail-cover {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}
.news-detail-cover img {
    object-fit: cover;
}
.news-detail-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}
.news-detail-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.news-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}
.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}
.news-nav-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.news-nav-link:hover {
    color: #d4af37;
}
/* 热门新闻侧边栏 */
.hot-news-list {
    list-style: none;
    padding: 0;
}
.hot-news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.hot-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.hot-news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.hot-news-date {
    color: #666;
    margin-top: 0.5rem;
}

/* 侧边栏 */

.sidebar h3 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.social-links a {
    display: block;
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.social-links a:hover {
    color: #d4af37;
}

.btn-submit {
    background-color: #f1c40f;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}


/* 响应式适配 */
@media (max-width: 992px) {
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }
    .news-cover {
        width: 100%;
        height: 180px;
    }

    .sidebar {
        padding: 3rem 0;
    }

    .news-detail-wrapper {
        padding: 1.5rem;
    }
    .news-detail-cover {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .news-detail-cover {
        height: 200px;
    }
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
