.component-title-sliding-images-and-texts__gamme-pharmacologues {
    background-color: var(--light-grey);
}

.component-title-sliding-images-and-texts--wrapper__gamme-pharmacologues {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.component-title-sliding-images-and-texts__gamme-pharmacologues * {
    order: 1;
}

.component-cta__gamme-pharmacologues {
    order: 5;
}

.component-title-sliding-images-and-texts--img-wrapper__gamme-pharmacologues img {
    height: auto;
}

div.component-title-sliding-images-and-texts--description__gamme-pharmacologues {
    order: 10;
}

.component-title-sliding-images-and-texts--title__gamme-pharmacologues,
.component-title-sliding-images-and-texts--topic-title-text__gamme-pharmacologues-text {
    padding-inline: 2.437rem;

    text-align: center;
}

.component-title-sliding-images-and-texts--title__gamme-pharmacologues {
    margin-block-start: 1.563rem;
}

.component-title-sliding-images-and-texts--topic-title-text__gamme-pharmacologues-text {
    margin-block: 1.25rem;
    font-size: .875rem;
}

.component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues {
    --margin-inline: 3.063rem;

    display: flex;
    align-items: center;

    padding: .625rem 1.094rem;
    margin-inline: 3.063rem;
    min-width: calc(100vw - var(--margin-inline) * 2);
}

.component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues + .component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues {
    border-block-start: .063rem solid var(--text);
}

.component-wrapper-picture-picture-image__gamme-pharmacologues {
    min-width: 3.125rem ;
    height: auto;
}

.component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues--caption {
    margin-inline-start: 1.563rem;

    font-size: .75rem;
    font-weight: 600;
}

.component-cta__gamme-pharmacologues {
    margin-block-start: 1.563rem;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues {
    position: relative;

    padding: 3.125rem 2.188rem;
    margin-block-start: 2rem;
    
    background-color: var(--orange);
    border-end-end-radius: 2.188rem;

    text-align: center;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues * {
    color: var(--white);
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues blockquote * {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues blockquote strong {
    font-weight: 700;
    font-style: normal;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues > p {
    font-size: .875rem;
    font-weight: 300;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues blockquote ~ p {
    margin-block-start: 0;
}

.component-title-sliding-images-and-texts--description__gamme-pharmacologues blockquote + p {
    margin-block-start: 2.188rem;
}

.component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type) .component-title-sliding-images-and-texts--description__gamme-pharmacologues {
    margin-block-end: -2.188rem;
}

/*
the block after needs to be higher
in order to be able to slip below the verbatim
to achieve that, we add a pseudo-element 
with height = to verbatim's radius
*/
.page-home .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type):has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues) ~ section:before {
    content: '';

    display: block;
    width: 100vw;
   height: 2.188rem;
}

.component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type):has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues) ~ section ~ section:before {
    content: none;
}

@media screen and (min-width: 48rem) {
    
    .component-title-sliding-images-and-texts__gamme-pharmacologues {
        position: relative;
    }

    .component-title-sliding-images-and-texts--wrapper__gamme-pharmacologues {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.938rem;
    }
    
    .component-title-sliding-images-and-texts--wrapper__gamme-pharmacologues > *:not(.component-title-sliding-images-and-texts--img-wrapper__gamme-pharmacologues) {
        margin-inline-start: 4rem;
    }
    
    main:not(.page-home) .component-title-sliding-images-and-texts__gamme-pharmacologues,
    .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues)) {
        padding-block-end: 0;
    }

    main:not(.page-home) .component-title-sliding-images-and-texts__gamme-pharmacologues .component-cta__gamme-pharmacologues,
    .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues)) .component-cta__gamme-pharmacologues {
        margin-block-end: 3.125rem;
    }
    
    .page-home.component-title-sliding-images-and-texts__gamme-pharmacologues:has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues) {
        padding-block-end: 3rem;
    }

    .component-title-sliding-images-and-texts--img-wrapper__gamme-pharmacologues {
        grid-row: 1 / var(--nbSubItems);
        align-self: start;
        justify-self: end;
    }

    .component-title-sliding-images-and-texts--img-wrapper__gamme-pharmacologues img {
        max-width: 38.375rem;
        height: auto;
    }

    .component-title-sliding-images-and-texts--title__gamme-pharmacologues,
    .component-title-sliding-images-and-texts--topic-title-text__gamme-pharmacologues-text,
    .component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues {
        max-width: 27.125rem;
        min-width: unset;
        padding-inline: 0;
        margin-inline: 0;
    }

    .component-title-sliding-images-and-texts--title__gamme-pharmacologues,
    .component-title-sliding-images-and-texts--topic-title-text__gamme-pharmacologues-text {
        text-align: start;
    }

    .component-title-sliding-images-and-texts--title__gamme-pharmacologues {
        margin-block-start: 3.125rem;
    }
    
    .component-title-sliding-images-and-texts--topic-title-text__gamme-pharmacologues-text {
        margin-block-end: 1.563rem;
    }

    .component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues {
        padding-inline: .625rem;
    }

    .component-title-sliding-images-and-texts--topic-image-text__gamme-pharmacologues--caption {
        font-size: .875rem;
    }

    .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type) .component-title-sliding-images-and-texts--description__gamme-pharmacologues {
        position: absolute;
        inset-block-end: 0;
        inset-inline-end: calc(50vw - 2rem);

        max-width: 35rem;
    }
    
    .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type) .component-title-sliding-images-and-texts--description__gamme-pharmacologues {
        margin-block-end: -3rem;
    }

    .component-title-sliding-images-and-texts__gamme-pharmacologues:not(:last-of-type):has(.component-title-sliding-images-and-texts--description__gamme-pharmacologues) ~ section:before {
        height: 3rem;
    }

    main:not(.page-home) .component-title-sliding-images-and-texts--img-wrapper__gamme-pharmacologues {
        display: flex;
        align-items: center;
        align-self: stretch;

        overflow: hidden;
    }

    .component-title-sliding-images-and-texts--cta__gamme-pharmacologues {
        padding-block-end: 1.5rem;
    }

}