:root {
    --brand-color: #e1251b;
    --secondary-color: #f21736;
    --btn-color: #fb2e44;
}

.discover-why-wrapper .container-wrapper-join-us-section {
    height: 180px;
}

.discover-why-wrapper .container-wrapper-join-us-section div .left {
    width: 373px;
    flex-shrink: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.discover-why-wrapper .container-wrapper-join-us-section div .left .title {
    inset-inline-start: 33%;
    inset-inline-end: 0%;
    top: 20px;
    color: var(--secondary-color);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1;
}

html[lang="fr"] .discover-why-wrapper .container-wrapper-join-us-section div .left .title {
    font-size: clamp(0.9rem, calc(0.2vw + 1.2rem), 1.05rem);
}

.discover-why-wrapper .container-wrapper-join-us-section div .left .sub_title {
    inset-inline-start: 33%;
    inset-inline-end: 2%;
    top: 65px;
    color: #292D32;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.discover-why-wrapper .container-wrapper-join-us-section div .left a {
    inset-inline-start: 45%;
    text-decoration: none;
    bottom: 15%;
    background: var(--btn-color);
    color: white;
    border-radius: 89px;
    width: fit-content;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    position: absolute;
}

.discover-why-wrapper .container-wrapper-join-us-section div .left a:hover {
    font-weight: 700;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Logo inside left panel */
.discover-why-wrapper .container-wrapper-join-us-section div .left .logo {
    bottom: 10%;
    inset-inline-start: 3%;
    width: 29px;
    height: 33px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discover-why-wrapper .container-wrapper-join-us-section div .left .logo img {
    width: 29px;
    height: 33px;
    max-width: 29px;
    max-height: 33px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.discover-why-wrapper .container-wrapper-join-us-section div .vertical-line {
    width: 2px;
    height: 103px;
    flex-shrink: 0;
    background-color: var(--secondary-color);
}

/* Desktop & mobile card slides */
.discover-why-wrapper .swiper-join-us-desktop-section .swiper-slide,
.discover-why-wrapper .swiper-join-us-mobile-section .swiper-slide {
    height: fit-content !important;
    width: 50px !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.discover-why-wrapper .swiper-join-us-desktop-section .swiper-slide img,
.discover-why-wrapper .swiper-join-us-mobile-section .swiper-slide img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.discover-why-wrapper .container-wrapper-join-us-section div .swiper-join-us-desktop-section .swiper-wrapper .swiper-slide p,
.discover-why-wrapper .container-wrapper-join-us-section .swiper-join-us-mobile-section .swiper-wrapper .swiper-slide p {
    font-weight: 600;
    font-size: 11px;
    margin: 0;
    text-align: center;
    word-break: break-word;
    overflow: hidden;
    max-width: 50px;
}

.discover-why-wrapper .container-wrapper-join-us-section div .swiper-join-us-desktop-section,
.discover-why-wrapper .container-wrapper-join-us-section .swiper-join-us-mobile-section {
    margin: 0;
}

.discover-why-wrapper .container-wrapper-join-us-section .swiper-join-us-mobile-section {
    height: 177px;
}

@media (max-width: 768px) {
    .discover-why-wrapper .container-wrapper-join-us-section div .left {
        width: 100%;
        flex-shrink: 1;
        border-radius: 0.375rem;
        height: 180px;
    }

    .discover-why-wrapper .container-wrapper-join-us-section {
        height: 100%;
    }

    html[dir="rtl"] .discover-why-wrapper .container-wrapper-join-us-section div .left {
        border-radius: 0.375rem;
    }

    .discover-why-wrapper .container-wrapper-join-us-section div .left .title {
        font-size: clamp(0.4rem, 3.2vw, 1.2rem);
        inset-inline-start: 40%;
    }

    .discover-why-wrapper .container-wrapper-join-us-section div .left .sub_title {
        font-size: 9px;
        inset-inline-start: 40%;
    }

    .discover-why-wrapper .container-wrapper-join-us-section div .left a {
        inset-inline-start: 50%;
    }
}

@media (min-width: 768px) {
    .discover-why-wrapper .container-wrapper-join-us-section div .left {
        height: 100%;
    }
}

html[dir="rtl"] .discover-why-wrapper .container-wrapper-join-us-section div .left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
