.articles__header {
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: unset;
    gap: 3rem;
}

.articles__title {
    margin-inline-end: auto;
    color: #1A3258;
}

.articles__form {
    display: flex;
    gap: 1.5rem;
}

.articles__content {
    padding-bottom: 2rem;
}

@media screen and (max-width: 1024.9px) {
    .articles__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 767.9px) {
    .articles__header {
        align-items: center;
    }
}

@media screen and (max-width: 575.9px) {
    .articles__form {
        width: 100%;
        flex-wrap: wrap;
    }
}

.graduates-item {
    background-color: transparent !important;
}

.graduates-item .posts-item__image {
    aspect-ratio: 295 / 374 !important;
}

.graduates-item .posts-item__title {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    color: #1A3258 !important;
}

.graduates-item .post-item__excerpt {
    font-size: 1.6rem !important;
    color: var(--color-primary) !important;
}

.graduates-item .posts-item__image {
    border: solid 1px #E1E8EC;
}

.graduates-item .posts-item__content {
    padding: 20px 0 0;
    gap: 5px;
}

.articles .sort-form__list {
    width: 33.5rem;
    gap: 1.5rem;
    align-items: center;
}

.articles .sort-form__list .select2 {
    flex: 1;
}

.articles .sort-form__label {
    font-size: 1.8rem;
}

.articles .select2-selection__rendered {
    color: #1A3258 !important;
    background: transparent !important;
}

.articles .select2-selection__arrow::before {
    --border-color: #1A3258 !important;
}

body:has(.articles) .select2-results {
    border: solid 1px #7B9CCB;
}

.articles .pagination__list span.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.articles .pagination__list .page-numbers.next,
.articles .pagination__list .page-numbers.prev {
    border-color: #E1E8EC;
    transition: var(--trans);
}

.articles .pagination__list .page-numbers.next:hover,
.articles .pagination__list .page-numbers.prev:hover {
    border-color: var(--color-primary);
}

@media screen and (max-width: 575.9px) {
    .articles .sort-form__list {
        width: 100%;
    }

    .articles .sort-form__label {
        font-size: 1.6rem;
    }
}
