/* 新闻列表专用样式 */
.news-feed ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-feed li {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-feed li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 图片容器样式 */
.news-feed li>div:first-child {
    flex: 0 0 280px;
    margin-right: 2rem;
}

.news-feed li>div:first-child img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.news-feed li:hover>div:first-child img {
    transform: scale(1.03);
}

/* 文字内容样式 */
.news-feed li>div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-feed li h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.news-feed li p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .news-feed li {
        flex-direction: column;
    }

    .news-feed li>div:first-child {
        margin-right: 0;
        margin-bottom: 1.5rem;
        flex: 0 0 auto;
    }

    .news-feed li h1 {
        font-size: 1.4rem;
    }

    .news-feed li p {
        font-size: 1.05rem;
    }
}

/* 页面标题样式 */
.title-hero {
    background-color: #f8f8f8;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.title-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.title-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 添加一些额外的美观效果 */
.news-feed {
    padding: 2rem 0;
}

.news-feed .row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 为最后一个列表项添加特殊样式，避免底部多余的margin */
.news-feed li:last-child {
    margin-bottom: 0;
}