.card3DContainer {
    background-color: white;
}

.card3DContainer .card3D__wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 84.4444%;
    max-width: 1364px;
    align-items: center;
    margin: 0 auto;
}

.card3DContainer .card3D__titre {
    max-width: 800px;
    width: 90%;
    margin: 0 auto 48px;
}

.card3DContainer .card3D__bloc {
    display: flex;
    justify-content: space-between;
}

.card3DContainer .card3D__bloc .card3D__bloc--image {
    width: 41.65%;
}

.card3DContainer .card3D__bloc .imgcropCtn {
    aspect-ratio: 1/1;
    border-radius: 9px;
}

.card3DContainer .card3D__bloc .card3D__bloc--wrapper {
    width: 49.98%;
}

.card3DContainer .card3D__bloc h3 {
    color: white;
    font-size: 3.2rem;
    line-height: 1.2;
    font-style: normal;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.card3DContainer .card3D__bloc--desc {
    max-width: 100%;
}

.card3DContainer .card3D__bloc--desc p {
    color: white;
    font-weight: 200;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.card3D__listeblocs {
    position: initial;
}

.card3D__listeblocs .card3D__bloc {
    background-color: #ABD1F0;
    height: auto;
    min-height: 400px;
    margin-bottom: 5vh;
    display: flex;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    padding: 16px;
    top: 25%;
    overflow: hidden;
    box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.20);
    border-radius: 25px;
}

.card3D__listeblocs .card3D__bloc .card3D__bloc--wrapper {
    display: flex;
    flex-direction: column;
    padding: 0 5% 0 0;
}

.card3D__listeblocs .card3D__bloc .card3D__bloc--wrapper .card3D__bloc--pretitre {
    color: #20424A;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5; /* 150% */
    text-transform: uppercase;
}

.card3D__listeblocs .card3D__bloc--lien {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.card3D__listeblocs .card3D__bloc:nth-child(3) .btn::after {
    background-image: url("http://localhost:8888/Kramer/wp-content/uploads/2025/04/ArrowGreenKramer.svg");
}

.card3D__listeblocs .card3D__bloc:nth-child(3) .btn {
    color: white;
    background-color: #20424A;
}

.card3D__listeblocs .card3D__bloc:nth-child(2) {
    background-color: #FFA74F;
}

.card3D__listeblocs .card3D__bloc:nth-child(2) .card3D__bloc--pretitre {
    color: white;
}

.card3D__listeblocs .card3D__bloc:nth-child(1) {
    background-color: #3A864E;
}

.card3D__listeblocs .card3D__bloc:nth-child(1) .card3D__bloc--pretitre {
    color: #21442B;
}

.card3D__listeblocs .card3D__bloc:nth-child(1) .btn {
    color: white;
    background-color: #21442B;
}

.card3D__listeblocs .card3D__bloc:nth-child(1) .btn::after {
    background-image: url("http://localhost:8888/Kramer/wp-content/uploads/2025/04/ArrowGreenKramer.svg");
}

@media (max-width: 1400px) {
    .card3DContainer .card3D__bloc--desc p {
        margin: 16px 0;
    }

    .card3D__listeblocs .card3D__bloc {
        min-height: 500px;
    }
}

@media (max-width: 1200px) {
    .card3DContainer .card3D__bloc--desc {
        max-width: 100%;
    }
}

@media (max-width: 992px) {

    .card3DContainer .card3D__wrapper {
        width: 90%;
        margin: 0 auto;
    }
    
    .card3D__listeblocs .card3D__bloc {
        height: max-content;
        padding: 48px 16px;
    }

    .card3D__listeblocs .card3D__bloc--lien {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 800px) {

    .card3D__listeblocs .card3D__bloc {
        position: initial;
        gap: 24px;
        padding: 16px;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .card3DContainer .card3D__bloc .card3D__bloc--image {
        height: 250px;
        width: 100%;
        border-radius: 24px;
    }

    .card3DContainer .card3D__bloc .imgcropCtn {
        width: 100%;
        height: 100%;
        border-radius: 16px;
    }

    .card3DContainer .card3D__bloc .card3D__bloc--wrapper {
        width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 650px) {
    .card3D__listeblocs .card3D__bloc {
        padding: 32px;
    }
}

@media (max-width: 500px) {
    .card3DContainer .card3D__bloc--desc {
        padding: 24px 0 0 0;
    }
}