.jh-steps {
    display: flex;
    gap: 24px;
}

.steps-wrap {
    display: flex;
    gap: 24px;
    flex-direction: column;
    counter-reset: list-counter;
    list-style-type: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.step {
    background: #FFFFFF;
    border: 1px solid #F8ECFC;
    box-shadow: 0px 0px 8px rgba(43, 43, 55, 0.25);
    position: relative;
    /* border-radius: 22px;
    padding: 25px;
    padding-left: 44px; */
    counter-increment: list-counter;
    transition: height ease 300ms;
    color: #2B2B37;
    font-family: "GOTHAM Book", Sans-serif;
    border-radius: 12px;
    padding: 15px;
    padding-left: 24px;
}

.step .title {
	font-family: "GOTHAM Bold", Sans-serif;
    color: #2B2B37;
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    position: relative;
    left: 12px;
    padding-right: 12px;
}

.step .title::before {
    content: counter(list-counter) ". "; 
    position: absolute;
    left: -1.15em; 
}

.step .description {
    display: flex;
    position: relative;
    left: 6px;
    width: calc(100% - 24px);
    gap: 12px;
    margin-top: 12px;
}

.step .description p {
    color: #2B2B37;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    flex: 1 0 calc(100% - 115px);
}

.step.active {
    background: #5F4FCB;
    border: 1px solid #F8ECFC;
}

.step.active, 
.step.active .title,
.step.active .description p {
    color: white;
}

.img-wrap-inner {
    height: 144px;
    overflow: hidden;
    flex: 1 0 105px;
}

.img-wrap {
    display: none;
    width: 500px;
    height: 560px;
    overflow: hidden;
    position: relative; 
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    background: #EFEDFA;
}

.img-wrap-inner img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: center; 
}

.img-wrap img {
    width: 100%;
    height: 100%; 
    object-fit: contain;
    object-position: bottom; 
}

@media (min-width: 768px) {
    .step .description {
        position: unset;
    }

    .step::before {
        top: 20px;
    }

    .img-wrap-inner {
        display: none;
    }
        
    .step {
        border-radius: 22px;
        padding: 25px;
        padding-left: 44px;
    }

    .step .title {
        font-size: 18px;
        line-height: 24px;
    }

    .step .description {
        left: -20px;
        width: calc(100% + 22px)
    }

    .step .description p {
        font-size: 16px;
        line-height: 22px;
        flex: 1 0 calc(100% - 105px);
    }

    .steps-wrap {
        flex: 1 0 50%;
    }

    .img-wrap {
        display: block;
        flex: 1 0 40%;
    }
}

@media (min-width: 1200px) {
    .steps-wrap {
        flex: unset;
    }
    .step {
        min-width: 592px;
    }
    .img-wrap {
        width: 600px;
        flex: none;
    }
}