.alignfull.has-background + .wp-block-cover.alignfull,
.wp-block-cover.alignfull + .alignfull.has-background,
.wp-block-cover.alignfull + .wp-block-cover.alignfull {
    margin-block-start: 0 !important;
}
.wp-block-cover .wp-block-cover__inner-container p {
    color: var(--wp--custom--theme-100);
}
.wp-block-cover .wp-block-cover__inner-container :is(.wp-block-heading, [class*=like-h]) {
    color: var(--wp--custom--theme-50);
}
.wp-block-cover:has(.wp-block-cover__background.has-theme-50-background-color) .wp-block-cover__inner-container p {
    color: var(--wp--custom--body-txt-color);
}
.wp-block-cover:has(.wp-block-cover__background.has-theme-50-background-color) .wp-block-cover__inner-container :is(.wp-block-heading, [class*=like-h]) {
    color: var(--wp--custom--body-heading-color);
}

.wp-block-cover :is(h1,.is-style-like-h1).has-large-font-size {
    font-size: var(--wp--preset--font-size--xxl) !important;
}
.wp-block-cover :is(h2,.is-style-like-h2).has-large-font-size {
    font-size: var(--wp--preset--font-size--xl) !important;
}
.wp-block-cover :is(h3,.is-style-like-h3).has-large-font-size {
    font-size: var(--wp--preset--font-size--l) !important;
}
.wp-block-cover :is(h4,.is-style-like-h4).has-large-font-size {
    font-size: var(--wp--preset--font-size--m) !important;
}

.wp-block-cover.entete-page::before,
.entry-content.wp-block-post-content > .wp-block-cover:first-child::before {
content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: -30px;
    height: 40%;
    background: linear-gradient(180deg, var(--wp--custom--theme-900), transparent);
    filter: blur(25px);
    z-index: 1;
    opacity: 1;
}
.wp-block-cover.entete-page .wp-block-cover__inner-container,
.entry-content.wp-block-post-content .wp-block-cover:first-child .wp-block-cover__inner-container {
    z-index: 2;
}

.wp-block-cover.is-style-half-left .wp-block-cover__image-background {
    width: calc(50% - 80px);
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}
.wp-block-cover.is-style-half-right .wp-block-cover__image-background {
    width: calc(50% - 80px);
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    left: auto;
}
@media screen and (max-width:781px){
    .wp-block-cover:is(.is-style-half-right,.is-style-half-left) .wp-block-cover__image-background {
        display: none;
}

.wp-block-cover.is-style-opacity-gradient .wp-block-cover__background.has-theme-900-background-color {
    background-color: transparent !important;
    background: linear-gradient(90deg, var(--wp--custom--theme-900) 40%, transparent 75%);
}
@media screen and (max-width:781px){
    .wp-block-cover.is-style-opacity-gradient .wp-block-cover__background.has-theme-900-background-color {
        background: linear-gradient(90deg, var(--wp--custom--theme-900) 40%, rgba(7, 14, 33, .5) 75%);
    } 
}
.wp-block-cover.is-style-opacity-gradient .wp-block-cover__background.has-theme-50-background-color {
    background-color: transparent !important;
    background: linear-gradient(90deg, var(--wp--custom--theme-50) 40%, transparent 75%);
}

.wp-block-cover__inner-container:has(>.is-full-height) {
    align-self: stretch;
}
.wp-block-cover.scale-hover img {
    transition: all 150ms ease-in-out;
}
.wp-block-cover.scale-hover:hover img {
    transform: scale(1.05);
}
.wp-block-cover.scale-hover .wp-block-cover__inner-container {
    position: unset;
}
.wp-block-cover.scale-hover a:has(.fwp-svg-inline),
.wp-block-cover.scale-hover:hover a:has(.fwp-svg-inline) {
    color: inherit;
}
.wp-block-cover.scale-hover a::after {
    content: '';
    position: absolute;
    inset: 0;
}

@media screen and (max-width:699px){
    .wp-block-cover.banniere-partenaires {
        min-height: 50vw !important;
    }
}