.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.article-card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.1);*/
    padding:1rem;
}

.article-image {
    position: relative;
    height: 9.38rem;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/*.article-card:hover .article-image img {*/
/*    transform: scale(1.05);*/
/*}*/

.article-badge {
    position: absolute;
    top: 0.85rem;
    left: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 12px;
    border-radius:0 1rem 1rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}
.article-detail img{
    max-width: 100%;
}
.article-detail p{
    text-indent: 2em;
}
.popular-list {
    padding: 1.5rem;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item:hover {
    color: #007bff;
}

.popular-number {
    background: #FFECEB;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #961B12;
}

.popular-title {
    font-size: 0.88rem;
    line-height: 1.4;
    color: #2C2C2C;
}

.tags-container {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: #dee2e6;
    color: #495057;
}
.popular_item .card-img-top{
    height: 12.5rem;
}
@media (max-width: 768px) {
    .news-container {
        padding: 1rem 0.5rem;
    }

    .section-title {
        font-size: 0.85rem;
    }

    .article-image {
        height: 150px;
    }
    .popular_item .card-img-top{
        height: 10.5rem;
    }
}

.share-buttons {
    display: flex;
    align-items: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-btn i {
    font-size: 20px;
    color: #6c757d;
}
