.condolences {
    background-color: var(--primary-milck-color);
}

.condolences__box {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.condolences__item,
.condolences__item-top {
    display: grid;
    gap: 2rem;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 6px 16px #e6ebf5cc;
    padding: 2.5rem;
    border-radius: 1.2rem;
    background-color: var(--primary-lite-color);
}

.condolences__item--first,
.condolences__item--second {
    max-width: 35%;
    background-color: #fff;
}

.condolences__item--second {
    box-shadow: none;
    background-color: var(--primary-milck-color);
    padding: 0;
}

.condolences__item--third {
    max-width: 30%;
    background-color: #e5ecfe;

}

.condolences__item-box-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.condolences__item-img {
    max-height: 100%;
    width: 100%;
}

.condolences__item-bottom {
    padding: 2.5rem;
}

.cta-list {
    display: block;
    border-radius: 1.2rem;
    margin-top: 10rem;
    color: var(--white-color);
    background-image: url(../images/spb-photo2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-list__box {
    display: flex;
    height: 12rem;
}

.cta-list__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
    padding-left: 2rem;
}

.cta-list__text-title {
    font-size: min(max(2rem, calc(2rem + ((1vw - 0.28rem) * 0.6))), 2.6rem);
    text-transform: uppercase;
}

.cta-list__box-image {
    width: 35%;
    min-width: 14rem;
    display: flex;
    justify-content: center;
    position: relative;

}

.cta-list__img {
    position: absolute;
    bottom: 0rem;
}

.cta-list__arrow {
    width: 30%;
    height: 100%;
    position: relative;
    margin-right: 4rem;
    transition-duration: .5s;
    transition-timing-function: ease-in-out;
    right: 0rem;
}

.arrow-1 {
    display: flex;
    top: 35%;
    right: 2rem;
    position: absolute;
    transform: rotate(-40deg);
    width: 1.2rem;
    height: 3rem;
    z-index: 0;
    border-right-color: var(--white-color);
    border-right-width: 0.25rem;
    border-right-style: solid;
}

.arrow-1::after {
    content: '';
    display: flex;
    top: 70%;
    right: 0;
    position: absolute;
    transform: rotate(-10deg);
    width: 3rem;
    height: 1.2rem;
    z-index: 0;
    border-bottom-color: var(--white-color);
    border-bottom-width: 0.25rem;
    border-bottom-style: solid;
    margin-bottom: 0.5rem;
}


.arrow-2 {
    display: flex;
    top: 35%;
    right: 3rem;
    position: absolute;
    transform: rotate(-40deg);
    width: 1.2rem;
    height: 3rem;
    z-index: 0;
    border-right-color: var(--white-color);
    border-right-width: 0.25rem;
    border-right-style: solid;
    opacity: .7;
}

.arrow-2::after {
    content: '';
    display: flex;
    top: 70%;
    right: 0;
    position: absolute;
    transform: rotate(-10deg);
    width: 3rem;
    height: 1.2rem;
    z-index: 0;
    border-bottom-color: var(--white-color);
    border-bottom-width: 0.25rem;
    border-bottom-style: solid;
    margin-bottom: 0.5rem;
}

.arrow-3 {
    display: flex;
    top: 35%;
    right: 4rem;
    position: absolute;
    transform: rotate(-40deg);
    width: 1.2rem;
    height: 3rem;
    z-index: 0;
    border-right-color: var(--white-color);
    border-right-width: 0.25rem;
    border-right-style: solid;
    opacity: .5;
}

.arrow-3::after {
    content: '';
    display: flex;
    top: 70%;
    right: 0;
    position: absolute;
    transform: rotate(-10deg);
    width: 3rem;
    height: 1.2rem;
    z-index: 0;
    border-bottom-color: var(--white-color);
    border-bottom-width: 0.25rem;
    border-bottom-style: solid;
    margin-bottom: 0.5rem;
}

.arrow-4 {
    display: flex;
    top: 35%;
    right: 5rem;
    position: absolute;
    transform: rotate(-40deg);
    width: 1.2rem;
    height: 3rem;
    z-index: 0;
    border-right-color: var(--white-color);
    border-right-width: 0.25rem;
    border-right-style: solid;
    opacity: .3;
}

.arrow-4::after {
    content: '';
    display: flex;
    top: 70%;
    right: 0;
    position: absolute;
    transform: rotate(-10deg);
    width: 3rem;
    height: 1.2rem;
    z-index: 0;
    border-bottom-color: var(--white-color);
    border-bottom-width: 0.25rem;
    border-bottom-style: solid;
    margin-bottom: 0.5rem;
    transition-duration: .3s;
    transition-timing-function: ease;
}

.cta-list__box:hover>.cta-list__arrow {
    right: -2rem;
}

/* Медиа */

@media (max-width: 840px) {
    .condolences__box {
        flex-direction: column;
    }

    .condolences__item {
        max-width: 100%;
    }
}

@media (max-width: 460px) {
    .cta-list__box-image {
        display: none;
    }
}