/* Bloc Interview Styles */

.bloc-interview {
    padding: 60px;
    position: relative;
    @media (max-width: 992px){
        .image{
            order: 1!important;
        }
        .text{
            order: 2!important;
        }
    }
    @media (max-width: 767.98px){
        width: 100vw!important;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        .text{
            padding-right: 0!important;
            padding-left: 0!important;
        }
        .bloc-interview__introduction{
            margin-right: -15px!important;
            margin-left: -15px!important;
        }
    }
    .image{
        padding-right: 100px;
        @media (max-width: 1500px){
            padding-right: 0;
        }
        @media (max-width: 767.98px){
            padding-left: 0;
        }
    }
}

.bloc-interview--white {
    background-color: #ffffff;
}

.bloc-interview--grey {
    background-color: #f8f9fa;
}

.bloc-interview__introduction {
    margin-bottom: 74px;
}

.bloc-interview__quote{
    height: 50px;
    margin-bottom: 20px;
}

.bloc-interview__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1;
    color: #000000;
    margin-bottom: 0;
    @media (min-width: 993px){
        margin: 0 0 20px 0;
    }
}

.bloc-interview__subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.bloc-interview__icon {
    background-image: url('../../images/crochet-red.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 50px;
    @media (max-width: 992px){
        display: none;
    }
}

.bloc-interview__subtitle-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.2;
    color: #000000;
}

.bloc-interview__description {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
}

.bloc-interview__content {
    position: relative;
}

.bloc-interview__qa-container {
    position: relative;
    display: flex;
    gap: 20px;
    height: 500px;
}

.bloc-interview__qa {
    flex: 1;
    overflow-y: auto;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    @media (max-width: 992px){
        margin-top: 30px;
    }
}

/* Masquer la scrollbar native */
.bloc-interview__qa::-webkit-scrollbar {
    display: none;
}

.bloc-interview__qa {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Désactiver le scrolling sous 992px */
@media (max-width: 991.98px) {
    .bloc-interview__qa-container {
        height: auto;
        flex-direction: column;
        gap: 10px;
    }
    
    .bloc-interview__qa {
        overflow-y: visible;
        padding-right: 0;
        padding-left: 0;
    }
    
    .bloc-interview__scrollbar {
        display: none;
    }
}



.bloc-interview__question {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.2;
    color: #BE0000;
    margin: 0 0 15px 0;
}

.bloc-interview__answer {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 30px;
}

/* Custom Scrollbar */
.bloc-interview__scrollbar {
    position: relative;
    width: 39px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.bloc-interview__scrollbar-track {
    position: relative;
    width: 4px;
    height: calc(100% - 94px);
    background-color: #d9d9d9;
    border-radius: 2px;
    margin: 60px 0;
}

.bloc-interview__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: #BE0000;
    border-radius: 2px;
    transition: height 0.1s ease;
}

.bloc-interview__scrollbar-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.bloc-interview__scrollbar-arrow-up,
.bloc-interview__scrollbar-arrow-down {
    width: 39px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.bloc-interview__scrollbar-arrow-up:hover,
.bloc-interview__scrollbar-arrow-down:hover {
    opacity: 0.7;
}


.bloc-interview__image {
    width: 100%;
    border-radius: 0 20px 0 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 10/8;
    position: relative;
    @media (max-width: 992px){
        aspect-ratio: 1/1;
        width: initial!important;
    }
    &::before{
        content:'';
        position: absolute;
        display: block;
        height: 100px;
        width: 15px;
        background: #BE0000;
        left: 10%;
        top: -50px;
        @media (max-width: 992px){
            display: none;
        }
    }
}

.bloc-interview__img {
    width: 100%;
    height: 100%;
    border-radius: 0 20px 0 0;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991.98px) {

    .bloc-interview__scrollbar{
        display: none;
    }
    
    .bloc-interview__sidebar {
        margin-top: 40px;
    }
    
    .bloc-interview__image {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .bloc-interview {
        padding: 20px;
    }
    
    .bloc-interview__introduction {
        margin-bottom: 40px;
    }
    
    .bloc-interview__qa-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .bloc-interview__qa {
        padding-left: 0;
        padding-right: 0;
    }
    
    .bloc-interview__scrollbar {
        width: 100%;
        height: 39px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .bloc-interview__scrollbar-track {
        width: calc(100% - 78px);
        height: 4px;
        margin: 0 39px;
    }
    
    .bloc-interview__scrollbar-arrows {
        flex-direction: row;
        justify-content: space-between;
    }

    .bloc-interview__question {
        font-size: 18px!important;
    }

    .bloc-interview__quote{
        height: 20px;
    }

    .bloc-interview__subtitle-text{
        font-size: 20px;
    }

    .bloc-interview__name{
        font-size: 18px;
        margin-bottom: 10px;
    }
    

    

    

    
    /* .bloc-interview__description,
    .bloc-interview__answer {
        font-size: 14px;
    } */
}
