/*
 Pour le Padding
*/
.banner-wrapper{
    width: 100%;
    padding: 0 60px;
}


/* 
 Pour la banière
*/
.banner{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-height: 600px;
}
.banner-small{
    display: flex;
    height: 100%;
}
.banner-small img{
    display: flex;
    object-fit: cover;
    max-height: 250px;
    object-position: bottom;
}
.banner-wrapper-small{
    width: 100%;
}


/*
 Pour le contenu gauche de la banière
*/
.banner-left-content{
    display: flex;
    flex-direction: row;
    padding: 60px;
    width: 30%;
    gap: 20px;
    align-items: flex-end;
    
}
.title-small{
    color: var(--wp--preset--color--light) !important;
    font-weight: 500 !important;
    line-height: 100% !important;
    font-size: var(--wp--preset--font-size--h-4) !important;
    text-transform: uppercase;
}
.banner-title-content{
    width: 100%;
    display: flex;
    padding: 20px;
}

.banner-title{
    writing-mode: vertical-rl;
    rotate: 180deg;
    color: var(--wp--preset--color--light) !important;
}
.banner-text{
    color: var(--wp--preset--color--light);
}

/*
 Pour le contenu droit de la banière
*/
.banner-right-content{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 70%;
}
.banner-image-content{
    position: relative;
    height: 100%;
}
.banner-bg-before{
    position: absolute;
    content: '';
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.banner:hover .banner-bg-before, .banner-small:hover .banner-bg-before{
    opacity: 1;
}
.banner-right-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fake-btn{
    position: absolute;
    z-index: 3;
    bottom: 60px;
    right: 100px;
    padding: 16px 24px;
    font-weight: 700;
    background-color: var(--wp--preset--color--red);
    color: var(--wp--preset--color--light);
    transition: background-color 0.3s ease-in-out;
}
.banner:hover .banner-right-content .fake-btn{
    background-color: var(--wp--preset--color--red-hover);
}


/*
 Pour le responsive
*/
@media not all and (min-width: 1281px) {
    .banner-wrapper{
        padding: 0 0;
    }
    .banner{
        max-height: 550px;
    }
    .banner-left-content{
        width: 40%;
    }
    .banner-right-content{
        width: 60%;
    }
}
@media not all and (min-width: 1025px) {
    .banner{
        max-height: 450px;
    }
    .banner-left-content{
        width: 50%;
        padding: 60px 40px;
    }
    .banner-right-content{
        width: 50%;
    }
    .fake-btn{
        right: 40px;
        bottom: 40px;
    }
}
@media not all and (min-width: 769px) {
    .banner{
        flex-direction: column;
        max-height: unset;
    }
    .banner-left-content{
        width: 100%;
        padding: 20px;
        max-height: 270px;
    }
    .banner-right-content{
        width: 100%;
    }


}
@media not all and (min-width: 391px) {
    .banner-wrapper{
        padding: 0 20px;
    }

}