.steps-v2 > .boxed {
    display: flex;
    justify-content: center;
    max-width: 642px;
    padding: 192px 64px 0 64px !important;
}

.steps-v2 > .boxed > .container {
    width: 100%;
    max-width: 624px;
}

.steps-v2 .container > .heading {
    position: relative;
    margin-bottom: 48px;
    background: linear-gradient(180deg, #20375F 0%, #162032 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'Panton', sans-serif;
    font-size: 44px;
    font-weight: 370;
    text-align: center;
    line-height: 48px;
    -webkit-text-fill-color: transparent;
}

.steps-v2 .container > .heading::after {
    position: absolute;
    top: calc(-256px);
    left: calc(-256px);
    z-index: -1;
    width: 512px;
    height: 512px;
    content: '';
    background-image: url('/wp-content/themes/strevon/assets/images/elements/yellow-ellipse.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.steps-v2 .images {
    position: relative;
    display: flex;
    margin-bottom: 48px;
    gap: 1px;
}

.steps-v2 .images > .image {
    width: 100%;
    height: 207px;
}

.steps-v2 .images > .image:first-child > img {
    border-radius: 24px 0 0 24px;
}

.steps-v2 .images > .image:last-child > img {
    border-radius: 0 24px 24px 0;
}

.steps-v2 .images > .image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-v2 .images::after {
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 52px;
    height: 64px;
    content: '';
    background-image: url('/wp-content/themes/strevon/assets/images/elements/stripes.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.steps-v2 .items {
    position: relative;
    display: flex;
    flex-direction: column;
}

.steps-v2 .items .step {
    position: relative;
    display: flex;
    gap: 16px;
}

.steps-v2 .items .step .step-number-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}

.steps-v2 .items .step .step-number {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F4F6FC;
    font-size: 18px;
    font-weight: bold;
    color: #162032;
}

.steps-v2 .items .step .heading {
    margin-bottom: 0;
    font-family: 'Panton', sans-serif;
    font-size: 18px;
    font-weight: 350;
    color: #162032;
    line-height: 28px;
}

.steps-v2 .items .step p {
    margin-bottom: 0;
}

.steps-v2 .items .step .content {
    margin-bottom: 32px;
    font-family: 'Panton', sans-serif;
    font-size: 18px;
    font-weight: 330;
    color: #636A75;
    line-height: 28px;
}

.steps-v2 .items .step .step-number-container .step-line {
    position: absolute;
    top: calc(56px + 0px);
    z-index: 0;
    width: 2px;
    height: calc(100% - 56px - 8px);
    background: repeating-linear-gradient(to bottom, #ccc, #ccc 2px, transparent 2px, transparent 5px);
}

.steps-v2 .boxed .toggle-steps {
    position: relative;
    z-index: 1;
    width: 330px;
    margin-top: 24px;
    border-radius: 8px;
    background-color: #DFE6F1;
    font-size: 18px;
    color: #162032;
    font-family: Panthon, sans-serif;
}

.steps-v2 .items .step.hidden {
    display: none;
}

.steps-v2 .items .step.fade-gradient::after {
    position: absolute;
    bottom: -25px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100px;
    content: '';
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
    pointer-events: none;
}

e {
    margin-bottom: 0;
}

/* Remove the gradient when steps are expanded */
.steps-v2 .items .step.fade-gradient:not(.hidden) + .step:not(.hidden) ~ .step.fade-gradient::after {
    display: none;
}

@media (max-width: 768px) {
    .steps-v2 > .boxed {
        padding: 64px 16px 0 16px !important;
    }

    .steps-v2 .container > .heading {
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 32px;
    }

    .steps-v2 .images {
        margin-bottom: 32px;
        padding: 0;
    }

    .steps-v2 .images::after {
        right: -8px;
        bottom: -8px;
        width: 39px;
        height: 48px;
    }

    .steps-v2 .images > .image:first-child > img {
        border-radius: 8px 0 0 8px;
    }

    .steps-v2 .images > .image:last-child > img {
        border-radius: 0 8px 8px 0;
    }

    .steps-v2 .items .step .heading {
        font-size: 16px;
        line-height: 24px;
    }

    .steps-v2 .items .step .content {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .steps-v2 .boxed .toggle-steps {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .steps-v2 .images > .image {
        height: 108px;
    }
}