.steps-pole {
    display: flex;
    padding: 100px var(--gutters);
    position: relative;
    z-index: 1;
    background-color: var(--wp--preset--color--blanc);
    gap: 2rem;
    height: 90vh;
    align-items: center;
    overflow: hidden;
}
.steps-pole-wrapper{
    display: flex;
    width: 100%;
    height: 100%;
}
.steps-col{
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
}
.steps-col-text{
    margin-bottom: 1rem;
}
.steps-col-text h2{
    margin: 0;
}
.steps-pole-links{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    flex-shrink: 0;
}
.steps-pole-link{
    display: block;
    text-decoration: none;
}
.steps-col-step-title h4{
    margin: 0;
}
.steps-col-step-text, .steps-col-step-line-wrap{
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows ease .6s, opacity ease .6s;
}
.steps-col-step-text-wrapper, .steps-col-step-line-inner{
    overflow: hidden;
    transition: max-height ease .6s;
    max-height: 0;
}
.steps-col-step-check-content{
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    opacity: 0.35;
    transition: opacity ease .6s;
    gap: 0.5rem;
}
.steps-col-step-check-content.open{
    opacity: 1;
}
.steps-col-step-text.open .steps-col-step-text-wrapper{
    max-height: 1000px;
}
.steps-col-step-text-wrapper{
    padding-bottom: 1rem;
}
.steps-col-step-text.open{
    grid-template-rows: 1fr;
    opacity: 1;
}
.steps-col-step{
    display: flex;
    gap: 0.5rem;
}
.steps-col-step-check{
    display: flex;
    min-width: 15px;
    min-height: 15px;
    background-color: var(--wp--preset--color--blanc);
    border: solid 1px var(--wp--preset--color--violet);
    border-radius: 50%;
    transform: translateY(5px);
    flex-direction: column;
}
.steps-col-step-check.active,
.steps-col-step-check-content.open .steps-col-step-check{
    background: url(../../../assets/svg/check.svg) no-repeat center;
    background-size: contain;
}
.steps-col-step-line{
    display: flex;
    flex-direction: column;
    width: 1px;
    background-color: var(--wp--preset--color--violet);
    transition: height ease .6s;
}
.steps-col-step-line-inner{
    display: flex;
    justify-content: center;
}
.steps-col-step-check-content.open .steps-col-step-line{
    height: 100%;
}
.steps-col-step-text.open p{
    padding-bottom: 1rem;
}
.steps-col-media{
    display: flex;
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: #F6F6F6;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}
.steps-col-img-wrapper{
    display: flex;
    width: 90%;
    height: 90%;
    position: absolute;
    overflow: hidden;
    border-radius: 5px;
}
.steps-col-media img{
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    border-radius: 5px;
    background: #F6F6F6;
    will-change: clip-path, transform;
}
.steps-col-step:last-of-type .steps-col-step-line{
    opacity: 0;
}
.steps-col-step-line.active{
    height: 100%;
}

@media (max-width: 768px) {
    .steps-pole {
        height: auto;
        background: #000;
    }
    .steps-pole-wrapper {
        height: auto;
    }
    .steps-col--1 {
        width: 100%;
        gap: 2rem;
    }
    .steps-pole-link {
        border-color: var(--wp--preset--color--blanc);
    }
    .steps-col--2,
    .steps-col-step-check-content {
        display: none;
    }
    .steps-col-step,
    .steps-col-step-content {
        width: 100%;
        min-width: 0;
    }
    .steps-col-step {
        padding-bottom: 1rem;
        border-bottom: 1px solid #E6E6E6;
    }
    .steps-col--1,
    .steps-col--1 * {
        color: #FFF !important;
        text-align: left !important;
    }
    .steps-col-step-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        cursor: pointer;
    }
    .steps-col-step-title::after {
        content: "";
        flex: 0 0 5px;
        height: 9px;
        background: url(../../../assets/svg/faq-arrow.svg) no-repeat center / contain;
        filter: brightness(0) invert(1);
        transition: transform 0.3s ease;
    }
    .steps-col-step-title-label {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
    }
    .steps-col-step-title-label h4 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .steps-col-step-title-label > h4:first-of-type,
    .steps-col-step-title-label > h4:first-of-type * {
        color: #5137d4 !important;
    }
    .steps-col-step-title[aria-expanded="true"]::after {
        transform: rotate(90deg);
    }
    .steps-col-step-title:focus-visible {
        outline: 2px solid #FFF;
        outline-offset: 4px;
    }
    .steps-col-step-text {
        opacity: 1;
        transition: grid-template-rows 0.3s ease;
    }
    .steps-col-step-text-wrapper {
        min-height: 0;
        padding-bottom: 0;
        transition: max-height 0.3s ease;
    }
    .steps-col-step-text.open p {
        padding-bottom: 0;
    }
}
