/* Homepage news section */

.home-news {
    padding: 8px 0 24px;
    margin-top: 40px;
}

.home-news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0;
}

.home-news__title {
    margin: 0 0 28px;
    font-family: "Exo2-Bold", Arial, sans-serif;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: #0063a8;
}

.home-news__all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 34px;
    padding: 0 18px;
    border: 1px solid #0063a8;
    border-radius: 4px;
    color: #0063a8;
    font-family: "Exo2-SemiBold", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    margin-bottom: 28px;
}

.home-news__all:hover {
    background: #0063a8;
    color: #fff;
}

.home-news__list {
    width: 100%;
}

.home-news .news .item:last-child {
    margin-bottom: 0;
}

.home-news .news .item .text_block a {
    text-decoration: underline;
}

@media screen and (max-width: 991px) {
    .home-news__title {
        font-size: 28px;
        margin-bottom: 22px;
    }

    .home-news__all {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 640px) {
    .home-news__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-news__title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .home-news__all {
        margin-bottom: 18px;
    }
}
