.categories-page {
    background: linear-gradient(130deg, #014381 10%, #1671C3 90%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0 0;
}

.categories-logo__inner {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.categories-logo__link {
    max-width: 380px;
    flex: 1 0 auto;
}

.categories-logo__link img {
    width: 100%;
}

.categories__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.categories__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 515px;
    width: 100%;
    gap: 30px;
}

.categories__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 741px;
    width: 100%;
}

.categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    width: calc(25% - 7px);
    max-width: 180px;
    min-height: 180px;
    background: #FFF;
    border: 3px solid transparent;
    border-radius: 16px;
    text-align: center;
    gap: 24px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    position: relative;
    top: 0;
}

.categories__item--double {
    width: calc(50% - 7px);
    max-width: 367px;
    flex-direction: row;
    gap: 50px;
}

.categories__item:hover {
    border: 3px solid #0FBC02;
    box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.categories__item-text {
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #545454;
}

.categories-banner {
    background-color: #fff;
    margin-top: auto;
}

.categories-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 83px;
    gap: 40px;
}

.categories-banner__title {
    font-family: "Inter";
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5;
    color: #444;
    width: 290px;
    height: 83px;
    padding: 8px 30px 8px 0;
    flex-shrink: 0;
    position: relative;
}
.categories-banner__title::before {
    content: "";
    display: block;
    width: 100vw;
    height: 83px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #F4F4F4;
}
.categories-banner__title span {
    position: relative;
    z-index: 1;
}
.categories-banner__title img {
    position: relative;
    top: 6px;
}

.categories-banner .splide__pagination,
.categories-banner .splide__sr {
    display: none;
}

.categories-banner .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*media ================================================*/


@media (max-width: 1200px) {
    .categories__item {
        width: calc(33.33% - 5px);
    }

    .categories__item--double {
        width: calc(66.66% - 5px);
    }

    .categories__title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .categories-logo__inner {
        justify-content: center;
    }

    .categories__inner {
        flex-direction: column;
    }

    .categories__content {
        max-width: 741px;
    }

    .categories__title {
        text-align: center;
        font-size: 48px;
    }

    .categories__text {
        text-align: center;
    }

    .categories__list {
        justify-content: center;
    }

    .categories-banner__inner {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .categories-banner__inner {
        height: auto;
    }
    .categories__list {
        max-width: 100%;
        width: 100%;
    }

    .categories__item {
        width: calc(33.33% - 7px);
    }

    .categories__item--double {
        width: calc(66.66% - 7px);
    }

    .categories__title {
        font-size: 36px;
    }

    .categories-banner__inner {
        flex-direction: column;
        padding: 0 0 15px;
        gap: 12px;
    }

    .categories-banner__title {
        width: 100%;
        text-align: center;
        padding: 20px 0 15px;
    }

    .categories-banner__title::before {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 575px) {
    .categories-banner__title::before {
        height: 95px;
    }
    .categories-banner__slider {
        margin-top: 10px;
    }
    .categories__item {
        width: calc(50% - 4px);
    }

    .categories__item--double {
        width: 100%;
    }
}
