/* Image URL */
.carte-image-gauche {
    background-image: linear-gradient(0deg, #231F20 0%, rgba(35, 31, 32, 0) 100%),
    url('../../images/candidats/actualite/photo-encart-marathon-emploi.jpg');
}
.carte-image-droite {
    background-image: linear-gradient(0deg, #231F20 0%, rgba(35, 31, 32, 0) 100%),
    url(../../images/candidats/actualite/photo-encart-createur-de-cv.jpg);
}
.carte-image-centre {
    background-image: url(../../images/candidats/actualite/photo-encart-hp-lepermislibre.jpg);
}
/* Styling Card and Card Container */
.clickable {
    display: flex;
    text-decoration: none !important;
    flex-grow: 1;
    min-width: 350px;
}

#banner-carte-container,
.actualite-carte,
.brand-carte {
    display: flex;
    position: relative;
    align-items: flex-end;
}

#banner-carte-container {
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 15px 0px;
}

.actualite-carte,
.brand-carte {
    height: 370px;
    background-size: cover;
    border-radius: 15px;
    background-position-x: center;
}

.brand-carte {
    height: 410px;
    background-size: contain;
}

/* Responsive */

@media (max-width: 992px) {
    #banner-carte-container {
        overflow-x: auto;
        justify-content: start;
        gap: 15px;
    }

    .clickable {
        min-width: 290px !important;
    }

    #bloc-red-image {
        height: 270px !important;
    }
}

/* Styling Darker Background When Hover */

.actu-background-hover,
.brand-background-hover {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-out;
    border-radius: 15px;
}

.actu-background-hover {
    background: linear-gradient(0deg, #231F20 0%, rgba(35, 31, 32, 0.50) 100%);
}

.brand-background-hover {
    background: linear-gradient(180deg, #DA291C 0%, #BF0D3E 100%);
}

/* Styling Shadow When Hover */

.shadow-hover,
.red-shadow-hover {
    opacity: 0;
    bottom: -10px;
    left: 25px;
    position: absolute;
    border-radius: 15px;
    filter: blur(10px);
    width: 300px;
    height: 165px;
    transition: opacity 0.3s ease-out;
}

.shadow-hover {
    background: rgba(35, 31, 32, 0.30);
}

.red-shadow-hover {
    background: rgba(218, 41, 28, 0.30);

}

.carte-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 25px;
    line-height: 1;
    color: #fff;
    z-index: 1;
}

/* Styling Card Category Label */

.carte-label {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 6px;
    background: #fff;
    position: relative;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin: 0px;
}

.alerte-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-notifications.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.alerte-label::after {
    content: "Alerte job de rêve";
    color: #968C83;
    padding-left: 30px;
}

.carriere-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-briefcase.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.carriere-label::after {
    color: #968C83;
    content: "Conseils carrière";
    padding-left: 30px;
}

.formation-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-school.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.formation-label::after {
    color: #968C83;
    content: "Formation";
    padding-left: 30px;
}

.event-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-calendar.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.event-label::after {
    color: #00B398;
    content: "Evènement";
    padding-left: 30px;
}

.rencontrons-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-calendar.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.rencontrons-label::after {
    color: #00B398;
    content: "Evènement";
    padding-left: 30px;
}

.avantages-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-sparkles.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.avantages-label::after {
    color: #E35205;
    content: "Avantages";
    padding-left: 30px;
}

.bonsplans-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-wallet.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.bonsplans-label::after {
    color: #E35205;
    content: "Bons plans";
    padding-left: 30px;
}

.nepasmanquer-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-alarm.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.nepasmanquer-label::after {
    color: #E35205;
    content: "À ne pas manquer";
    padding-left: 30px;
}

.jeuconcours-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-gift.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.jeuconcours-label::after {
    color: #E35205;
    content: "Jeu concours";
    padding-left: 30px;
}

.histoires-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-chatbubble.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.histoires-label::after {
    color: #43B02A;
    content: "Vos belles histoires";
    padding-left: 30px;
}

.nouveau-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-rocket.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.nouveau-label::after {
    color: #43B02A;
    content: "Nouveau !";
    padding-left: 30px;
}

.nouvelle-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-heart.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.nouvelle-label::after {
    color: #43B02A;
    content: "Bonne nouvelle !";
    padding-left: 30px;
}

.saviez-label::before {
    content: "";
    background-image: url(../../images/candidats/icons/icon-light.svg);
    width: 25px;
    height: 100%;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.saviez-label::after {
    color: #43B02A;
    content: "Le saviez-vous ?";
    padding-left: 30px;
}

/* Styling Text */

p.actualite-heading {
    font-size: 23px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 130%;
}

p.actualite-cta {
    font-size: 17px;
    font-weight: 500;
}

.arrow-icon {
    position: relative;
    right: 15px;
    bottom: 10px;
    border: solid 2px transparent;
    border-radius: 50px;
    transition: border-color 0.3s ease-out;
}

/* Styling Hover effect */

.actualite-carte:hover .arrow-icon,
.brand-carte:hover .arrow-icon {
    border-color: white;
}

.actualite-carte:hover .actu-background-hover,
.actualite-carte:hover .shadow-hover,
.brand-carte:hover .red-shadow-hover {
    opacity: 1;
}

.brand-carte:hover .brand-background-hover {
    opacity: 0.5;
}

/* Styling Brand Card */

#bloc-red-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(158deg, #da291c 0%, #bf0d3e 100%);
    padding: 10px;
    text-align: center;
    color: #fff;
    clip-path: polygon(100% 100%, 0 100%, 0 30px, 100% 0);
    height: 190px;
    border-radius: 0px 0px 15px 15px;
}

#btn-white-circle {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#btn-white-circle img {
    margin-top: 10px;
}