﻿.thapmuoi-news-section {
    padding: 60px 0;
    background: var(--thapmuoi-gray-light);
}

.thapmuoi-breadcrumb-wrapper {
    margin: -45px 0 30px 0;
}

.thapmuoi-breadcrumb {
    padding: 6px 14px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    display: inline-flex;
    border: 1px solid rgba(11,61,145,0.08);
    font-size: 0.8rem;
}

    .thapmuoi-breadcrumb ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .thapmuoi-breadcrumb li {
        display: flex;
        align-items: center;
        color: var(--thapmuoi-text-muted);
        font-size: 0.8rem;
    }

        .thapmuoi-breadcrumb li a {
            color: var(--thapmuoi-blue);
            text-decoration: none;
            font-weight: 500;
            padding: 3px 6px;
            border-radius: 20px;
            transition: var(--thapmuoi-transition);
            background: rgba(11,61,145,0.02);
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
        }

            .thapmuoi-breadcrumb li a:hover {
                background: var(--thapmuoi-blue);
                color: white;
            }

                .thapmuoi-breadcrumb li a:hover i {
                    color: white;
                }

        .thapmuoi-breadcrumb li i {
            margin: 0 4px;
            color: var(--thapmuoi-blue);
            font-size: 0.65rem;
            opacity: 0.4;
            transition: var(--thapmuoi-transition);
        }

        .thapmuoi-breadcrumb li:last-child {
            color: var(--thapmuoi-red);
            font-weight: 500;
            background: rgba(230,57,70,0.04);
            padding: 3px 10px;
            border-radius: 20px;
            margin-left: 2px;
            font-size: 0.8rem;
        }

.thapmuoi-news-header {
    text-align: center;
    margin-bottom: 30px;
}

    .thapmuoi-news-header h1 {
        font-size: 2.5rem;
        color: var(--thapmuoi-blue);
        font-weight: 700;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .thapmuoi-news-header h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--thapmuoi-red);
            border-radius: 2px;
        }

    .thapmuoi-news-header p {
        color: var(--thapmuoi-text-muted);
        font-size: 1.2rem;
    }

.thapmuoi-search-box {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

    .thapmuoi-search-box input {
        width: 100%;
        padding: 15px 20px 15px 50px;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        background: white;
    }

        .thapmuoi-search-box input:focus {
            outline: none;
            box-shadow: 0 5px 20px rgba(11,61,145,0.15);
        }

    .thapmuoi-search-box .search-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--thapmuoi-blue);
        font-size: 1.2rem;
    }

    .thapmuoi-search-box .clear-search {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 1.2rem;
        cursor: pointer;
        display: none;
        transition: var(--thapmuoi-transition);
    }

        .thapmuoi-search-box .clear-search:hover {
            color: var(--thapmuoi-red);
        }

    .thapmuoi-search-box.has-value .clear-search {
        display: block;
    }

.thapmuoi-news-list {
    max-width: 1000px;
    margin: 0 auto;
}

.thapmuoi-news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--thapmuoi-shadow);
    transition: var(--thapmuoi-transition);
    margin-bottom: 15px;
    display: flex;
    cursor: pointer;
}

    .thapmuoi-news-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px var(--thapmuoi-shadow-hover);
    }

.thapmuoi-news-thumbnail {
    width: 180px;
    min-width: 180px;
    height: 120px;
    overflow: hidden;
}

    .thapmuoi-news-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.thapmuoi-news-item:hover .thapmuoi-news-thumbnail img {
    transform: scale(1.1);
}

.thapmuoi-news-content {
    flex: 1;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
}

.thapmuoi-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.thapmuoi-news-date {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--thapmuoi-text-muted);
    font-size: 0.8rem;
}

    .thapmuoi-news-date i {
        color: var(--thapmuoi-blue);
        font-size: 0.75rem;
    }

.thapmuoi-news-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--thapmuoi-blue);
    margin-bottom: 5px;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thapmuoi-news-item:hover .thapmuoi-news-title {
    color: var(--thapmuoi-red);
}

.thapmuoi-news-summary {
    color: var(--thapmuoi-text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thapmuoi-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.thapmuoi-news-view {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--thapmuoi-text-muted);
    font-size: 0.75rem;
}

    .thapmuoi-news-view i {
        color: var(--thapmuoi-gold);
        font-size: 0.8rem;
    }

.thapmuoi-news-readmore {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--thapmuoi-blue);
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--thapmuoi-transition);
}

    .thapmuoi-news-readmore i {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

.thapmuoi-news-item:hover .thapmuoi-news-readmore {
    color: var(--thapmuoi-red);
    gap: 6px;
}

    .thapmuoi-news-item:hover .thapmuoi-news-readmore i {
        transform: translateX(3px);
    }

.thapmuoi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.thapmuoi-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--thapmuoi-blue);
    border: 1px solid rgba(11,61,145,0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--thapmuoi-transition);
    font-size: 0.9rem;
}

    .thapmuoi-pagination-btn:hover {
        background: var(--thapmuoi-blue);
        color: white;
        border-color: var(--thapmuoi-blue);
        transform: translateY(-2px);
    }

    .thapmuoi-pagination-btn.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

.thapmuoi-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.thapmuoi-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    background: white;
    color: var(--thapmuoi-text-dark);
    border: 1px solid rgba(11,61,145,0.2);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--thapmuoi-transition);
    font-size: 0.9rem;
}

    .thapmuoi-pagination-number:hover {
        background: var(--thapmuoi-blue);
        color: white;
        border-color: var(--thapmuoi-blue);
        transform: translateY(-2px);
    }

    .thapmuoi-pagination-number.active {
        background: var(--thapmuoi-blue);
        color: white;
        border-color: var(--thapmuoi-blue);
    }

.thapmuoi-news-empty, .thapmuoi-no-results {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--thapmuoi-shadow);
}

    .thapmuoi-news-empty i, .thapmuoi-no-results i {
        font-size: 4rem;
        color: var(--thapmuoi-blue);
        margin-bottom: 20px;
    }

    .thapmuoi-news-empty h2 {
        font-size: 2rem;
        color: var(--thapmuoi-blue);
        margin-bottom: 15px;
    }

    .thapmuoi-news-empty p {
        font-size: 1.1rem;
        color: var(--thapmuoi-text-muted);
    }

    .thapmuoi-no-results h3 {
        font-size: 1.5rem;
        color: var(--thapmuoi-text-dark);
        margin-bottom: 10px;
    }

    .thapmuoi-no-results p {
        color: var(--thapmuoi-text-muted);
        font-size: 1rem;
    }

@media (max-width: 1200px) {
    .thapmuoi-news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .thapmuoi-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .thapmuoi-breadcrumb-wrapper {
        margin: -30px 0 20px 0;
    }

    .thapmuoi-news-header h1 {
        font-size: 2rem;
    }

    .thapmuoi-news-item {
        flex-direction: column;
    }

    .thapmuoi-news-thumbnail {
        width: 100%;
        height: 230px;
    }

    .thapmuoi-news-content {
        padding: 12px;
    }

    .thapmuoi-news-title {
        -webkit-line-clamp: 2;
    }

    .thapmuoi-news-summary {
        -webkit-line-clamp: 2;
    }

    .thapmuoi-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .thapmuoi-news-header h1 {
        font-size: 1.8rem;
    }

    .thapmuoi-news-header p {
        font-size: 1rem;
    }

    .thapmuoi-news-thumbnail {
        height: 230px;
    }

    .thapmuoi-pagination-number {
        min-width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .thapmuoi-pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}
