.custom_item-template-4 {
    overflow: hidden;
}

.custom_item-template-4 .swiper {

}

.custom_item-template-4 .services-box {
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.custom_item-template-4 .item .cover-box {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0; /* Changed from left */
    left: 0; /* Changed from right */
    border-radius: var(--border-radius_1);
    opacity: 0.1;
}

.custom_item-template-4 .item > * {
    z-index: 20;
}

.custom_item-template-4 .item p {
    font-size: 13px;
    text-align: justify;
    color: #545454;
    margin: 0;
}

.custom_item-template-4 .item span {
    color: #191919;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.custom_item-template-4 .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: calc(var(--margin) *1.5);
    gap: var(--margin-3);
    position: relative;
    border-radius: var(--border-radius_3);
    overflow: hidden;
}
.custom_item-template-4 .item img {
    border-radius: var(--border-radius_1);
    margin-bottom: var(--margin-2);
}
@media (min-width: 992px) {
    .custom_item-template-4 {
    
    }

    .custom_item-template-4 .item span {
        font-size: 18px;
        font-weight: bold;
    }

    .custom_item-template-4 .item {
    
    }

    .custom_item-template-4 .item img {
        width: 7rem;
        height: 7rem;
        padding: var(--margin-2);
        border-radius: 20px;
    }
}

@media (max-width: 991px) {
    .custom_item-template-4 {
        margin-top: var(--margin);
        padding-top: 3rem;
    }

    .custom_item-template-4 .item span {
        font-size: 12px;
    }

    .custom_item-template-4 .item {

    }

    .custom_item-template-4 .item img {
        width: 5.5rem;
        height: 5.5rem;
        padding: var(--margin-3);
    }
}