/* another */
.case-another__grid {
    position: relative;
    gap: 1rem;
}

.case-another__grid::before {
    content: attr(data-name);
    position: absolute;
    left: 0;
    top: -60px;
    width: 60px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-align: left;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 1;
}

.case-another__grid[data-name]::after {
    content: '';
    position: absolute;
    left: 60px;
    top: -46px;
    width: 52px;
    height: 38px;
    background: url(img/arrow-2.svg) no-repeat center;
    background-size: contain;
    z-index: 1;
}

.case-another__item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 50px 30px;
    height: 280px;
    color: var(--l-black);
    border: 1px solid var(--l-black);
    border-radius: 12px;
    -webkit-transition: var(--l-transition);
    -o-transition: var(--l-transition);
    transition: var(--l-transition);
}

.case-another__item:hover {
    background-color: var(--l-black);
    color: var(--l-white);
}

.case-another__link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: var(--l-black);
    -webkit-transition: var(--l-transition);
    -o-transition: var(--l-transition);
    transition: var(--l-transition);
    gap: 1rem;
}

.case-another__item:hover .case-another__link {
    color: var(--l-white);
}

.case-another__link-arrow {
    width: 19px;
    height: 19px;
    min-width: 19px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: var(--l-transition);
    -o-transition: var(--l-transition);
    transition: var(--l-transition);
}

.case-another__link-arrow--left {
    background-image: url(img/Group-30.svg);
}

.case-another__link-arrow--right {
    background-image: url(img/Group-30-1.svg);
}

.case-another__item:hover .case-another__link-arrow--left {
    background-image: url(img/Group-30-2.svg);
}

.case-another__item:hover .case-another__link-arrow--right {
    background-image: url(img/Group-30-1-1.svg);
}

.case-another__img-wrapper {
    position: absolute;
    right: 60px;
    top: 230px;
    display: none;
    width: 88px;
    height: 85px;
    -webkit-transition: var(--l-transition);
    -o-transition: var(--l-transition);
    transition: var(--l-transition);
}

@media (min-width: 992px) {
    .case-another__item {
        padding: 96px 50px 86px;
        height: 486px;
    }

    .case-another__grid::before {
        font-size: 16px;
        line-height: 19px;
        top: -65px;
    }

    .case-another__grid::after {
        width: 76px;
        height: 56px;
        left: 70px;
        top: -55px;
        background: url(img/arrow-3.svg) no-repeat center;
        background-size: contain;
    }

    .case-another__img-wrapper {
        display: block;
        opacity: 0;
    }

    .case-another__img-wrapper img {
        -o-object-fit: contain;
           object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .case-another__item:hover .case-another__img-wrapper {
        opacity: 1;
    }
}