.news-search-input {
    min-width: 220px;
}

.news-source-select {
    min-width: 270px;
}

.news-days-select {
    min-width: 105px;
}

.badge-scroll {
    scrollbar-width: thin;
}

.badge-scroll .badge {
    white-space: nowrap;
}

.news-source-groups {
    display: grid;
    gap: .65rem;
}

.news-source-group {
    padding: .65rem .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.news-source-group-title {
    margin-bottom: .25rem;
    font-size: .78rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.card-news {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.card-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 .75rem 1.5rem rgba(15, 23, 42, .08) !important;
    border-color: #cbd5e1;
}

.news-thumb-wrap {
    background: #f8fafc;
}

.news-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-news .card-body {
    position: relative;
    padding: 1rem;
}

.news-source {
    min-height: 18px;
}

.news-title {
    line-height: 1.45;
}

.news-title a {
    color: #0f172a;
}

.news-title a:hover {
    color: #15803d;
}

.news-desc {
    line-height: 1.5;
}

.meta {
    min-width: 0;
}

.meta .text-truncate {
    min-width: 0;
}

.card-news--text {
    background:
        linear-gradient(135deg, rgba(22, 163, 74, .055), rgba(255, 255, 255, 0) 48%),
        #fff;
}

.card-news--text .card-body {
    padding: 1rem 1rem 1.1rem;
}

.card-news--text .news-title {
    font-size: 1rem;
    -webkit-line-clamp: 3;
}

.card-news--text .news-desc {
    display: none;
}

@media (max-width: 575.98px) {
    .card-news .card-body {
        padding: .8rem .8rem .95rem;
    }

    .card-news--text .news-title {
        font-size: .98rem;
    }

    .news-source-group {
        padding: .55rem .65rem;
    }
}
