.article-section {
    padding: 30px 0;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    display: flex;
    flex-direction: column;
}

.article-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: center;
}

.article-item:last-child {
    border-bottom: none;
}

.article-image {
    position: relative;
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff6b00;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.article-info {
    padding: 0 0 0 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-info h2 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-item:hover .article-info h2 {
    color: #007bff;
}

.article-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.article-date {
    color: #888;
    font-size: 14px;
}

.article-more {
    display: inline-block;
    padding: 6px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.article-more:hover {
    background-color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-container {
        flex-direction: column;
    }

    .article-sidebar {
        flex: none;
        width: 100%;
    }

    .article-image {
        height: 200px;
    }
}



/* 响应式设计 */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
        padding: 25px 0;
    }

    .article-image {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }

    .article-info {
        padding: 0;
    }

    .article-info h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .article-meta {
        margin-top: 15px;
    }
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link:hover {
    text-decoration: none;
}

.article-image .article-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.article-item:hover .article-image .article-link img {
    transform: scale(1.05);
}

.article-info .article-link h2 {
    transition: color 0.3s ease;
}

.article-info .article-link:hover h2 {
    color: #007bff;
} 
.article-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    max-height: 3.2em; /* 2行高度，按字体大小微调 */
    line-height: 1.6;
}