.articles {
    margin-bottom: 120px;
}

.articles-top {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.articles-tags {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    column-gap: 36px;
}

@media(max-width: 400px) {
    .articles-tags {
        column-gap: 25px;
    }
}

.articles-tags-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.articles-tags li {
    cursor: pointer;
    color: #98A1C3;
    padding-block: 10px;
    font-family: 'GraphikLCG-Light', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    transition: color .2s ease;
}

.articles-tags li.active {
    color: #0F3BAC;
    font-weight: 600;
    line-height: 150%;
}

div.articles-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0px;
    column-gap: 40px;
    margin-bottom: 80px;
}

div.articles-content a {
    display: block;
    height: auto !important;
    margin-bottom: 80px;
}

@media(max-width: 1024px) {
    div.articles-content a {
        margin-bottom: 50px;
    }
}

@media(max-width: 525px) {
    div.articles-content a {
        margin-bottom: 35px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .articles-tags li:hover {
        color: #0F3BAC;
    }
}

@media (max-width: 1024px) {
    .articles {
        margin-bottom: 100px;
    }

    .articles-tags-container {
        margin-bottom: 32px;
    }

    div.articles-content {
        grid-template-columns: repeat(2, 50%);
        /* row-gap: 50px; */
        column-gap: 24px;
        margin-bottom: 73px;
    }
}

@media (max-width:750px) {
    .articles-tags .bx_filter_input_checkbox span.bx_filter_param_text {
        font-size: 16px;
    }
}


@media (max-width: 750px) {
    .articles-top {
        gap: 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 525px) {
    .articles {
        margin-bottom: 80px;
    }

    .articles-tags {
        width: 100%;
    }

    .articles-top {
        display: flex;
        flex-flow: column nowrap;
        align-items: flex-start;
        row-gap: 24px;
        margin-bottom: 25px;
    }

    /* .articles-tags {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
    } */

    div.articles-content {
        grid-template-columns: repeat(1, 1fr);
        /* row-gap: 24px; */
        column-gap: 0;
        margin-bottom: 80px;
    }

    .articles-tags-container {
        flex-flow: column nowrap;
        align-items: flex-start;
        margin-bottom: 24px;
    }
}

