.advantages-five-block {}

.advantages-five-block .advantages-five-block__wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
}

.advantages-five-block .item {
    width: calc((100% - 48px) / 3);
    padding: 35px;
    border-radius: 25px;
    background: var(--bg-primary-second);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
    position: relative;
}

.advantages-five-block .item:nth-child(3n+2) {
    background: var(--bg-alt-third);
}


.advantages-five-block .item:nth-child(3n+2)::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(images/before.png.webp);
    background-repeat: no-repeat;
    background-size: cover;
}


.advantages-five-block .item-top__side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
}

.advantages-five-block .item__icon {
    width: 70px;
    height: 70px;
    background: var(--bg-primary-main);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.advantages-five-block .item__icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.advantages-five-block .item__title {
    color: var(--text-primary-head);
    position: relative;
    z-index: 2;
}

.advantages-five-block .item__text {
    color: var(--text-primary-main);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}


.advantages-five-block .item__text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.advantages-five-block .item__text ul li {
    padding-left: 18px;
    position: relative;
    list-style: none;
}

.advantages-five-block .item__text ul li::before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: var(--bg-priamry-main);
    top: 7px;
    left: 0;
}

.advantages-five-block .item__text * {
    color: var(--text-primary-main);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

@media (max-width: 1240px) {
    .advantages-five-block .item {
        padding: 20px;
        width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 740px) {
    .advantages-five-block .item {
        padding: 15px;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .advantages-five-block .item__icon {
        width: 50px;
        height: 50px;
       
    }


    .advantages-five-block .item__icon img {
        width: 24px;
        height: 24px;
    }

}