.panels-block-container{
    display: flex;
    flex-direction: column;
}
.panel-item{
    display: flex;
    height: 100vh;
    width: 100%;
    /* border-top: 1px solid var(--wp--preset--color--noir); */
    box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.5);
}
.panel-item__inner{
    display: flex;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px){
    .panel-item__inner{
        flex-direction: column;
        height: auto;
    }
}
.panel-item__col--left{
    display: flex;
    width: 45%;
    height: 100%;
}
@media (max-width: 768px){
    .panel-item__col--left{
        width: 100%;
        height: 100%;
        &::after{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: 1;
        }
    }
    @media (max-width: 576px){
        .panel-item__col--left{
            &::after{
                background: rgba(0, 0, 0, 0.5);
            }
        }
    }
}
.panel-item__media{
    width: calc(100% + var(--gutters));
    height: 100%;
    margin: 0;
    object-fit: cover;
    & img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    & video{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.panel-item__col--right{
    display: flex;
    flex-direction: column;
    width: 55%;
    padding: 0 var(--gutters) 0 var(--spacing-xxl);
    background-color: var(--wp--preset--color--blanc);
}
@media (max-width: 768px){
    .panel-item__col--right{
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 var(--gutters);
        background: transparent;
        z-index: 2;
        padding-top: 50px;
    }
    .panel-item__col--right *{
        color: var(--wp--preset--color--blanc);
    }
    .panel-item:nth-child(2){
        .panel-item__col--right{
            padding-top: 150px;
        }
        .panel-item__key-number.panel-item__key-number--1{
            & p{
                margin-top: 0;
            }
        }
    }
}
.panel-item_col--right-wrap{
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: 2rem;
}
.panel-item__key-numbers{
    display: none;
    justify-content: space-between;
}
.panel-item__link{
    font-family: "Lexend_Tera", sans-serif;
    font-size: var(--wp--preset--font-size--s-title);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wp--preset--color--noir);
    text-decoration: none;
    transform: translateY(25%);
    transition: font-weight 0.3s ease;
    margin-bottom: 2rem;
}
.panel-item__link:hover{
    font-weight: 800;
}
.panel-item__link span{
    display: block;
    width: 30px;
    height: 30px;
    background: url(../../../assets/svg/qa.svg) no-repeat center center;
    background-size: contain;
    transform: rotate(90deg);
}
.panel-item__next .panel-item__link.panel-item__link--next{
    margin-bottom: 0;
    margin-top: 1rem;
}

.panel-item__next .panel-item__link.panel-item__link--next span{
    transform: rotate(0deg);
}
@media (max-width: 768px){
    .panel-item__anchor.btn-cta{
        font-size: var(--wp--preset--font-size--xs-title);
    }
    .has-xxl-title-font-size{
        font-size: var(--wp--preset--font-size--m-title) !important;
        margin-top: 100px;
    }
    .panel-item__link span{
        filter: invert(1);
    }
}