.slideshow {
    height: 400px;
    object-fit: cover;
}

/* 新闻图文并茂布局样式 */
.news-item-horizontal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-horizontal:hover .news-img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.news-category {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 20px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.news-date i,
.news-views i {
    margin-right: 5px;
    color: #007bff;
}

.news-title {
    margin-bottom: 10px;
    font-size: 16px;

    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-item-horizontal .row {
        flex-direction: column;
    }
    
    .news-img-wrapper {
        height: 180px;
    }
    
    .news-content {
        height: auto;
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
