.news-top-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.news-tabs-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.news-tabs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    border-radius: 0.625rem;
    background-color: var(--light-blue-light);
    font-weight: 600;
    font-size: 1.125rem;
}

.news-tabs-btn.is-active {
    background: linear-gradient(180deg, #5797FF 0%, #8EBDFF 100%);
    color: #ffffff;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem 1rem;
}

.news-content .blog-card {
    max-width: none;
    gap: 0.75rem;
}


@media (max-width:1000px) {
    .news-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width:768px) {
    .news-top-container {
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .news-top-container .news-tabs-container {
        order: 2;
    }

    .news-top-container .h2-title {
        order: 3;
    }

    .news-top-container .search_wrapper {
        orphans: 1;
    }

    .news-tabs-container {
        gap: 8px;
    }

    .news-tabs-btn {
        font-size: 16px;
        font-weight: 400;
        padding: 10px;
        min-width: 150px;
    }
}

@media (max-width:680px) {
    .news-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width:420px) {
    .news-tabs-container {
        display: flex;
        flex-wrap: wrap;
    }
     .news-tabs-btn {
        font-size: 15px;
        padding: 8px;
    }
}