.boxes-wrapper {
    position: relative;
    padding: 4px 4px 12px;
    overflow: visible;
}

.boxes {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 13px;
}

.boxes::-webkit-scrollbar {
    display: none;
}

.boxes .box-link {
    display: flex;
    flex: 0 0 auto;
    height: auto;
    color: inherit;
    text-decoration: none;
}

.boxes .box {
    position: relative;
    flex: 0 0 172px;
    width: 172px;
    height: 100%;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    text-align: left;
    box-shadow: 3px 7px 6px rgb(5 4 42 / 8%);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.boxes .box:hover {
    transform: translateY(-2px);
    box-shadow: 6px 11px 13px rgb(5 4 42 / 5%);
}

.boxes .box .image {
    width: 100%;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.boxes .box .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.boxes .box .text {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.boxes .box .text strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #02016f;
    margin-bottom: -2px;
}

.boxes .box .text span {
    font-size: .8rem;
    color: #4f5c76;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    line-height: 1.4;
}

.boxes .box .text span svg {
    flex-shrink: 0;
    color: #0504aa;
    opacity: .6;
}

.box-link {
    display: flex;
    height: auto;
    color: inherit;
    text-decoration: none;
}

.box-link-no-link {
    cursor: default;
}

.boxes-wrapper .arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #0504aa1f;
    box-shadow: 0 18px 48px rgba(5, 4, 42, .12);
    color: #0504aa;

    display: none;

    align-items: center;
    justify-content: center;
    cursor: pointer;

    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
}

.boxes-wrapper .arrow.is-visible {
    display: inline-flex;
}

.boxes-wrapper .arrow-left {
    left: 0;
}

.boxes-wrapper .arrow-right {
    right: 0;
}

.boxes-wrapper .arrow svg {
    width: 18px;
    height: 18px;
}


/* lg */
@media (max-width: 991.98px) {

    .boxes-wrapper {
        padding: 10px;
    }

    .boxes {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 0 10px 15px 0;
    }

    .boxes::-webkit-scrollbar {
        display: none;
    }

    .boxes .box {
        flex: 0 0 auto;
    }

}