/**
 * Inodia — Layout & sections
 *
 * Layer: structure
 * Containers, columns, section backgrounds, automatic spacing and text + image layouts.
 * Breakpoints are container queries on the viewport container set on <html>.
 */

@layer structure {
    /* Absolute header: pull <main> up under the header */
    .header-absolute:not(.header-absolute-home) + main,
    .home .header-absolute-home + main {
        margin-block-start: calc((var(--logo-height) + (var(--padding-header) * 2)) * -1);
    }

    /* .center: centered text, headings and widgets */
    figcaption,
    .center:not(.owl-item)
        :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong, .elementor-widget-container, .elementor-widget-wrap),
    .center:not(.owl-item):where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong),
    .center:is(.h1, .h2, .h3, .h4) .elementor-heading-title {
        align-items: center;
        text-align: center;
        text-wrap: balance;
    }

    /* Post grid */
    .posts-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--items-min-size)), 1fr));
        gap: var(--items-gap);
    }

    /* Containers: boxed sections, .container-small/-middle */
    .container,
    :is(.ino-section-boxed, .elementor-section-boxed):not(.elementor-inner-section)
        > :is(.ino-container, .elementor-container) {
        inline-size: min(var(--wrapper-size-mobile), var(--wrapper-size));
        margin-inline: auto;
    }

    :is(.ino-section-boxed, .elementor-section-boxed).container-small > :is(.ino-container, .elementor-container) {
        inline-size: min(var(--wrapper-size-mobile), var(--wrapper-size-small));
    }

    .container .container.container-middle {
        inline-size: min(100%, var(--wrapper-size-middle));
    }

    .container .container.container-small {
        inline-size: min(100%, var(--wrapper-size-small));
    }

    /* Rows: columns side by side with a fluid gap */
    :where(
        .elementor-top-section > .elementor-container,
        .ino-top-section > .ino-container,
        .elementor-inner-section > .elementor-container
    ) {
        display: flex;
        flex-flow: row;
        gap: calc(var(--spacing-4xl) * 0.66) var(--columns-gap);
    }

    :is(.elementor-section, .ino-section):not(.ino-grid).full :is(.elementor-container, .ino-container) {
        gap: 0;
    }

    /* .fond.block: rounded card sections */
    :is(.elementor-top-section, .ino-top-section).fond.block:not(.full)
        > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape),
    :is(.elementor-top-section, .ino-top-section).fond.block:not(.elementor-section-full_width)
        > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
        border-radius: clamp(0rem, var(--border-radius), clamp(4rem, 3rem + 5vi, 8rem));
        overflow: clip;
    }

    /* Text + image sections (auto-detected: a column holding only an Image/Image Carousel widget) */
    .ino-col-txt,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        )
        .elementor-top-column:not(
            :has(.elementor-widget-image:only-child, .elementor-widget-image-carousel:only-child),
            .ino-grid
        )
        > .elementor-widget-wrap,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        )
        .elementor-top-column:not(
            :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child),
            .ino-grid
        )
        > .elementor-widget-wrap {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .ino-col-img
        :is(.owl-carousel, .owl-stage-outer, .owl-stage, .owl-item, .item, [ino-lightbox], figure, picture, img),
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        )
        .elementor-column:has(.elementor-widget-image:only-child, .elementor-widget-image-carousel:only-child)
        :is(
            .elementor-widget-wrap,
            .elementor-widget-image,
            .elementor-widget-image-carousel,
            .elementor-widget-container,
            .elementor-image-carousel-wrapper,
            .elementor-image-carousel,
            figure,
            picture,
            img
        ),
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        )
        .elementor-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
        )
        :is(
            .elementor-widget-wrap,
            .elementor-widget-image,
            .elementor-widget-image-carousel,
            .elementor-widget-container,
            .elementor-image-carousel-wrapper,
            .elementor-image-carousel,
            figure,
            picture,
            img
        ) {
        inline-size: 100%;
        block-size: 100%;
    }

    iframe,
    .ino-txt-img:not(.full) .ino-col-img:not(.contain) img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        ):not(.full)
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child:not(.contain)
        )
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        ):not(.full)
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child:not(.contain)
        )
        img {
        border-radius: var(--border-radius);
    }

    .elementor-top-section:has(.elementor-column:not(.elementor-col-100) .elementor-widget-image:only-child)
        .elementor-top-column:has(.elementor-widget-image:only-child)
        picture,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100) .elementor-widget-image:first-child + .bouton-icon:last-child
        )
        .elementor-top-column:has(.elementor-widget-image:first-child + .bouton-icon:last-child)
        picture {
        position: relative;
        z-index: 1;
    }

    .ino-col-img:not(.contain) img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        )
        .elementor-top-column:has(.elementor-widget-image:only-child, .elementor-widget-image-carousel:only-child)
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        )
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
        )
        img {
        object-fit: cover;
    }

    .ino-txt-img.full .ino-col-img img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        ).full
        .elementor-top-column:has(.elementor-widget-image:only-child, .elementor-widget-image-carousel:only-child)
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        )
        .elementor-top-column:has(.elementor-widget-image:only-child, .elementor-widget-image-carousel:only-child)
        :is(.elementor-widget-image, .elementor-widget-image-carousel).contain
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        ).full
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
        )
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        )
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
        )
        :is(.elementor-widget-image, .elementor-widget-image-carousel).contain
        img {
        border-radius: 0;
    }

    .ino-col-img.contain img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
        )
        .elementor-top-column:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
        :is(.elementor-widget-image, .elementor-widget-image-carousel).contain
        img,
    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                + .bouton-icon:last-child
        )
        .elementor-top-column:has(
            :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
        )
        :is(.elementor-widget-image, .elementor-widget-image-carousel).contain
        img {
        object-fit: contain;
        z-index: 1;
    }

    .elementor-top-section:has(
            .elementor-column:not(.elementor-col-100)
                :is(
                    .elementor-widget-image:first-child,
                    .elementor-widget-image.elementor-element-edit-mode:nth-child(2)
                )
                + .bouton-icon:last-child
        )
        .elementor-top-column:has(
            :is(.elementor-widget-image:first-child, .elementor-widget-image.elementor-element-edit-mode:nth-child(2))
                + .bouton-icon:last-child
        )
        .bouton-icon {
        color-scheme: dark;
        display: table;
        inline-size: auto;
        block-size: auto;
        position: absolute;
        inset: 50% auto auto 50%;
        translate: -50% -50%;
    }

    /* Nested boxed sections fill their parent */
    .elementor-section-boxed > .elementor-container .elementor-section-boxed > .elementor-container {
        inline-size: 100%;
    }

    /* Section spacing (.reset-margin to opt out) */
    :is(.elementor-top-section, .ino-top-section):not(.reset-margin):first-child {
        margin-block-start: var(--spacing-2xl);
    }

    :is(.elementor-top-section, .ino-top-section):not(.reset-margin, :first-child) {
        margin-block-start: var(--spacing-2xl);
    }

    .single-post .section-suggested,
    :is(.elementor-top-section, .ino-top-section):not(.fond:not(.block)):last-child {
        margin-block-end: var(--spacing-2xl);
    }

    :is(.elementor-top-section, .ino-top-section).fond:not(
            .block,
            .elementor-section-full_width,
            .ino-section-full_width
        ) {
        padding-block: var(--spacing-xl);
    }

    :is(.elementor-top-section, .ino-top-section).fond:not(.block):last-child {
        margin-block-end: 0;
    }

    :is(.elementor-top-section, .ino-top-section).fond.block:not(.full)
        > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
        position: relative;
        padding: var(--spacing-2xl);
    }

    .elementor-widget + .elementor-widget-heading.reset-margin,
    :is(.elementor-top-section, .ino-top-section) :is(.elementor-inner-section, .ino-inner-section):first-child,
    :is(.elementor-top-section, .ino-top-section)
        :is(.elementor-inner-section, .ino-inner-section).titre
        + :is(.elementor-inner-section, .ino-inner-section),
    :is(.elementor-top-section, .ino-top-section):is(.fond:not(.block), .supp)
        + :is(.elementor-top-section, .ino-top-section):is(.fond:not(.block), .supp) {
        margin-block-start: 0;
    }

    :is(.elementor-top-section, .ino-top-section).fond-dark:not(.block)
        + :is(.elementor-top-section, .ino-top-section).fond-dark:not(.block),
    :is(.elementor-top-section, .ino-top-section).fond-alt:not(.block)
        + :is(.elementor-top-section, .ino-top-section).fond-alt:not(.block),
    :is(.elementor-top-section, .ino-top-section).fond-light:not(.block)
        + :is(.elementor-top-section, .ino-top-section).fond-light:not(.block) {
        padding-block-start: 0;
    }

    /* Section backgrounds: .fond + .fond-light|dark|alt */
    :is(.fond-dark, .fond-light):not(.block),
    :is(.fond-dark, .fond-light).block
        > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
        background: var(--background-color);
    }

    .fond-alt:not(.block),
    .fond-alt.block > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
        background: var(--background-alt-color);
    }

    /* Background schemes: fond-light is light, fond-dark is dark; swapped only when the site scheme differs from light-/dark-default */
    :where(
        .fond-light:not(.block),
        .fond-light.block > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape)
    ) {
        color-scheme: light;
    }

    :where(
        .fond-dark:not(.block),
        .fond-dark.block > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape)
    ) {
        color-scheme: dark;
    }

    :is(.light-scheme-color.dark-default, .dark-scheme-color.light-default)
        :where(
            .fond-light:not(.block),
            .fond-light.block > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape)
        ) {
        color-scheme: dark;
    }

    :is(.light-scheme-color.dark-default, .dark-scheme-color.light-default)
        :where(
            .fond-dark:not(.block),
            .fond-dark.block > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape)
        ) {
        color-scheme: light;
    }

    /* Inner section spacing */
    .elementor-top-section
        :is(.elementor-inner-section, .elementor-widget-text-editor)
        + .elementor-inner-section:not(.boutons) {
        margin-block-start: var(--spacing-xl);
    }

    /* Column backgrounds */
    :is(.elementor-column, .ino-column).fond {
        border-radius: var(--border-radius);
        padding: var(--spacing-xl);
    }

    /* Alignment helpers & button groups (.boutons) */
    :is(.center, .center-desktop, .right) :is(.elementor-widget-container, .elementor-widget-wrap) {
        display: flex;
        flex-flow: column;
    }

    .center [type="submit"] {
        margin-inline: auto;
    }

    .boutons:has(> .bouton),
    .boutons .elementor-widget-wrap {
        display: flex;
        flex-flow: row wrap;
        gap: var(--spacing-2xs);
    }

    .center.bouton,
    .center .bouton,
    .center.boutons .elementor-widget-wrap {
        justify-content: center;
    }

    /* Vertical rhythm between widgets (see the spacing table in the team guide) */
    .elementor-widget + .elementor-inner-section,
    :is(.elementor-widget-image, .elementor-widget-image-carousel) + .bouton,
    .elementor-widget + :is(.boutons, .elementor-widget-form, .elementor-widget-text-editor),
    :is(.elementor-widget-text-editor, .elementor-widget-accordion, .elementor-widget-shortcode) + .elementor-widget {
        margin-block-start: calc(var(--spacing-4xl) / 3);
    }

    :is(.elementor-widget-button, .elementor-widget-text-editor) + .elementor-widget-image {
        margin-block-start: calc(var(--spacing-4xl) / 1.5);
    }

    .elementor-widget-image + .elementor-widget-text-editor {
        margin-block-start: calc(var(--spacing-4xl) / 4);
    }

    :is(.elementor-widget + .quote, .section-titre + .elementor-top-section),
    :is(
            .elementor-widget-heading.h1:not(.reset-margin),
            .elementor-widget-heading.h2:not(.reset-margin),
            .elementor-widget-heading:not(.h3, .h4, .reset-margin):has(h1, h2)
        )
        + :is(.elementor-widget:not(.elementor-widget-heading), .elementor-inner-section) {
        margin-block-start: var(--spacing-md);
    }

    :is(.elementor-widget-heading.h3:not(.reset-margin), .elementor-widget-heading:not(.h2, .h4, .reset-margin):has(h3))
        + :is(.elementor-widget:not(.elementor-widget-heading), .elementor-inner-section) {
        margin-block-start: var(--spacing-sm);
    }

    :is(.elementor-widget-heading.h4:not(.reset-margin), .elementor-widget-heading:not(.h2, .h3, .reset-margin):has(h4))
        + :is(.elementor-widget:not(.elementor-widget-heading), .elementor-inner-section) {
        margin-block-start: var(--spacing-xs);
    }

    .elementor-widget-heading + .elementor-widget-heading {
        margin-block-start: var(--spacing-2xs);
    }

    .elementor-widget-heading:is(.sur-titre) + .elementor-widget-heading {
        margin-block-start: var(--spacing-4xs);
    }

    .elementor-inner-section + .elementor-widget,
    .elementor-widget:not(.elementor-widget-heading)
        + :is(.elementor-widget-heading.h2, .elementor-widget-heading:not(.h3, .h4):has(h2)) {
        margin-block-start: calc(var(--spacing-lg) * 2);
    }

    .elementor-widget:not(.elementor-widget-heading)
        + :is(.elementor-widget-heading.h3, .elementor-widget-heading:not(.h2, .h4):has(h3)) {
        margin-block-start: calc(var(--spacing-md) * 2);
    }

    .elementor-widget:not(.elementor-widget-heading)
        + :is(.elementor-widget-heading.h4, .elementor-widget-heading:not(.h2, .h3):has(h4)) {
        margin-block-start: calc(var(--spacing-sm) * 2);
    }

    .elementor-widget-image + .elementor-widget-heading {
        margin-block-start: var(--spacing-3xl);
    }

    /* Column widths */
    :is(.elementor-col-100, .ino-col-100) {
        inline-size: 100%;
    }

    .ino-col-25 {
        inline-size: 25%;
    }

    .ino-col-20 {
        inline-size: 20%;
    }

    /* Single-image carousel ratio */
    .ino-col-img:has(.owl-carousel.item-1) {
        aspect-ratio: 3 / 2;
        overflow: clip;
    }

    /* Desktop (> 70rem / 1120px) */
    @container viewport (70rem < inline-size) {
        /* .right alignment */
        .right
            :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong, .elementor-widget-container, .elementor-widget-wrap),
        .right:where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong),
        .right:is(.h1, .h2, .h3, .h4) .elementor-heading-title {
            align-items: flex-end;
            text-align: right;
        }

        .right.bouton,
        .right .bouton,
        .right .boutons .elementor-widget-wrap {
            justify-content: flex-end;
        }

        .right [type="submit"] {
            margin-inline-start: auto;
        }

        /* Column widths */
        :is(.elementor-col-66:not(.elementor-field-group), .ino-col-66) {
            inline-size: 66.666%;
        }

        :is(.elementor-col-50:not(.elementor-field-group), .ino-col-50) {
            inline-size: 50%;
        }

        :is(.elementor-col-33:not(.elementor-field-group), .ino-col-33) {
            inline-size: 33.333%;
        }

        /* Text + image: stretch, absolute image column, text padding */
        :is(.ino-txt-img > .ino-container, .inner-txt-img > .elementor-container),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            )
            > .elementor-container,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            )
            > .elementor-container {
            align-items: stretch;
        }

        .ino-txt-img .ino-col-img > *:not(.ino-modal),
        .inner-txt-img
            .elementor-column:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            > .elementor-widget-wrap,
        .elementor-top-section:not(.section-custom):has(
                .elementor-top-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            )
            .elementor-top-column:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            > .elementor-widget-wrap:not(.ui-sortable, :has(.elementor-inner-section)),
        .elementor-top-section:has(
                .elementor-top-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            )
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            )
            > .elementor-widget-wrap:not(.ui-sortable, :has(.elementor-inner-section)) {
            position: absolute;
        }

        .ino-txt-img:not(.full) .ino-col-txt > div,
        .elementor-top-section:not(.section-custom):has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):not(.full)
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child))
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ):not(.full)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            )
            > .elementor-widget-wrap {
            padding-block: var(--spacing-lg);
        }

        .ino-txt-img.full:not(.block, .supp) .ino-col-txt > div,
        .elementor-top-section:not(.section-custom):has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full:not(.block, .supp)
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child))
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full:not(.block, .supp)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            )
            > .elementor-widget-wrap {
            padding-block: var(--spacing-lg);
        }

        /* .full + full-width section: 8-track grid aligned on the site wrapper */
        .ino-section-full_width.ino-txt-img.full:not(.block) > .ino-container,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            > .elementor-container,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            > .elementor-container {
            display: grid;
            grid-template-columns: 1fr repeat(6, calc(min(var(--wrapper-size-mobile), var(--wrapper-size)) / 6)) 1fr;
        }

        .ino-section-full_width.ino-txt-img.full:not(.block) > .ino-container > div,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column {
            inline-size: 100%;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-33:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-33:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):first-child {
            grid-column: 1 / 4;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-33:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-33:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):first-child {
            grid-column: 2 / 4;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-33:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-33:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):last-child {
            grid-column: 6 / 9;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-33:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-33:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):last-child {
            grid-column: 6 / 8;
        }

        .ino-section-full_width.ino-txt-img.full:not(.block, .supp) .ino-col-img:first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-50:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-50:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):first-child {
            grid-column: 1 / 5;
        }

        .ino-section-full_width.ino-txt-img.full:not(.block) .ino-col-txt:first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-50:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-50:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):first-child {
            grid-column: 2 / 5;
        }

        .ino-section-full_width.ino-txt-img.full:not(.block, .supp) .ino-col-img:last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-50:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-50:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):last-child {
            grid-column: 5 / 9;
        }

        .ino-section-full_width.ino-txt-img.full:not(.block) .ino-col-txt:last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-50:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-50:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):last-child {
            grid-column: 5 / 8;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-66:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-66:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):first-child {
            grid-column: 1 / 6;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-66:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):first-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-66:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):first-child {
            grid-column: 2 / 6;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-66:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column.elementor-col-66:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):last-child {
            grid-column: 4 / 9;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-66:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):last-child,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block)
            .elementor-top-column.elementor-col-66:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):last-child {
            grid-column: 4 / 8;
        }

        /* .full.supp: image as section background, text card on top */
        .ino-section-full_width.ino-txt-img.full.supp:not(.block) .ino-col-txt,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.supp.elementor-section-full_width:not(.block)
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.supp.elementor-section-full_width:not(.block)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            position: relative;
            z-index: 1;
        }

        .ino-section-full_width.ino-txt-img.full.supp:not(.block) .ino-col-img,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.supp.elementor-section-full_width:not(.block)
            .elementor-top-column:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.supp.elementor-section-full_width:not(.block)
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ) {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):not(.supp).full
            .elementor-top-column:has(
                .elementor-widget-image:only-child,
                .elementor-widget-image-carousel:only-child
            ):first-child
            img,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ):not(.supp).full
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):first-child
            img {
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):not(.supp).full
            .elementor-top-column:has(
                .elementor-widget-image:only-child,
                .elementor-widget-image-carousel:only-child
            ):last-child
            img,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ):not(.supp).full
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ):last-child
            img {
            border-radius: var(--border-radius) 0 0 var(--border-radius);
        }

        .ino-section-full_width.ino-txt-img.full:not(.block, .supp) .ino-col-txt:first-child > div,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):first-child
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):first-child
            > .elementor-widget-wrap {
            padding-inline-end: var(--spacing-2xl);
        }

        .ino-section-full_width.ino-txt-img.full:not(.block, .supp) .ino-col-txt:last-child > div,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column:not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ):last-child
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.elementor-section-full_width:not(.block, .supp)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ):last-child
            > .elementor-widget-wrap {
            padding-inline-start: var(--spacing-2xl);
        }

        .ino-txt-img.full.block .ino-col-txt > div,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.block
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child))
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.block
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            )
            > .elementor-widget-wrap {
            padding: var(--spacing-2xl);
        }

        .ino-txt-img.full.supp .ino-col-txt,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.supp
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.supp
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            border-radius: clamp(0rem, var(--border-radius), clamp(2rem, 1.5rem + 2.5vi, 4rem));
            overflow: clip;
        }

        .ino-txt-img.full.supp .ino-col-txt > div,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.supp
            .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child))
            > .elementor-widget-wrap,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.supp
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            )
            > .elementor-widget-wrap {
            padding: var(--spacing-xl);
        }

        .elementor-top-section.supp > .elementor-container {
            padding-block: var(--spacing-3xl);
        }

        /* Sticky sidebar (.section-sticky-sidebar > .sidebar + .main-content) */
        .section-sticky-sidebar .sidebar > .elementor-widget-wrap {
            max-block-size: calc(100vb - var(--spacing-lg));
            overflow-block: auto;
            overscroll-behavior: contain;
            padding-block-end: var(--spacing-lg);
            position: sticky;
            inset-block-start: var(--spacing-lg);
            z-index: 49;
        }

        @-moz-document url-prefix() {
            .section-sticky-sidebar .sidebar > .elementor-widget-wrap {
                scrollbar-width: none;
            }
        }

        .section-sticky-sidebar .sidebar > .elementor-widget-wrap::-webkit-scrollbar {
            display: none;
        }

        .section-sticky-sidebar :is(.sidebar, .main-content) {
            inline-size: auto;
        }

        .section-sticky-sidebar .sidebar {
            display: table;
            inline-size: var(--sidebar-width);
        }

        .section-sticky-sidebar .main-content {
            inline-size: 100%;
        }
    }

    /* Tablet & below (<= 70rem): stacked columns, text before image */
    @container viewport (inline-size <= 70rem) {
        :is(.elementor-top-section, .ino-top-section, .inner-txt-img, .elementor-inner-section)
            > :is(.elementor-container, .ino-container) {
            flex-flow: column;
        }

        :is(
            .elementor-top-section .elementor-container > .elementor-column,
            .elementor-inner-section .elementor-container > .elementor-column
        ) {
            inline-size: 100%;
        }

        .ino-col-txt,
        .inner-txt-img
            .elementor-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            )
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            )
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            order: 1;
        }

        .ino-col-img,
        .inner-txt-img .elementor-column:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            )
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            )
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
            ) {
            order: 2;
        }

        .ino-txt-img.full.block .ino-col-txt,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.block
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.block
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            padding: var(--spacing-2xl);
        }

        .ino-txt-img.full:not(.block) .ino-col-txt,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full:not(.block)
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full:not(.block)
            .elementor-top-column:not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            padding-block: var(--spacing-2xl);
        }

        /*.ino-txt-img.full:not(.block) .ino-col-txt > div,
        .elementor-top-section:has(.elementor-column:not(.elementor-col-100) :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child).full:not(.block) .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)) > .elementor-widget-wrap,
        .elementor-top-section:has(.elementor-column:not(.elementor-col-100) :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child).full:not(.block) .elementor-top-column:not(:has(:is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child)) > .elementor-widget-wrap {
            inline-size: min(var(--wrapper-size-mobile), var(--wrapper-size));
            margin-inline: auto;
        }*/

        iframe,
        .ino-txt-img:not(.full) .ino-col-img:not(.contain) img,
        .inner-txt-img
            .elementor-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child:not(.contain)
            )
            img,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ):not(.full)
            .elementor-top-column:has(
                :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child:not(.contain)
            )
            img {
            border-radius: clamp(0rem, var(--border-radius), clamp(2rem, 1rem + 5vi, 6rem));
        }
    }

    /* .center-desktop (> 36rem / 576px) */
    @container viewport (36rem < inline-size) {
        .center-desktop:not(.owl-item)
            :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong, .elementor-widget-container, .elementor-widget-wrap),
        .center-desktop:not(.owl-item):where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, strong),
        .center-desktop:is(.h1, .h2, .h3, .h4) .elementor-heading-title {
            align-items: center;
            text-align: center;
            text-wrap: balance;
        }

        .center-desktop.bouton,
        .center-desktop .bouton,
        .center-desktop .boutons .elementor-widget-wrap {
            justify-content: center;
        }

        .center-desktop [type="submit"] {
            margin-inline: auto;
        }
    }

    /* Button groups (> 30rem) */
    @container viewport (30rem < inline-size) {
        .boutons .bouton {
            inline-size: auto;
        }
    }

    /* Small mobile (<= 30rem / 480px) */
    @container viewport (inline-size <= 30rem) {
        :is(.elementor-top-section, .ino-top-section).fond.block:not(.full)
            > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
            padding-inline: 0;
        }

        :is(.elementor-top-section, .ino-top-section).fond.block:not(.full)
            > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape)
            > div {
            inline-size: min(var(--wrapper-size-mobile), var(--wrapper-size));
            margin-inline: auto;
        }

        :is(.elementor-top-section, .ino-top-section):is(.fond, .supp)
            + :is(.elementor-top-section, .ino-top-section):is(.fond, .supp) {
            margin-block-start: 0;
        }

        :is(.elementor-top-section, .ino-top-section):is(.fond, .supp) {
            margin-block-end: 0;
        }

        :is(.elementor-top-section, .ino-top-section).fond.block:not(.elementor-section-full_width)
            > div:not(.elementor-element-overlay, .elementor-background-overlay, .elementor-shape) {
            border-radius: 0;
        }

        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).block
            > .elementor-container,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).block
            > .elementor-container {
            inline-size: 100%;
            max-inline-size: initial;
        }

        .ino-txt-img.full.block .ino-col-txt,
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):only-child
            ).full.block
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(
                :has(:is(.elementor-widget-image, .elementor-widget-image-carousel):only-child)
            ),
        .elementor-top-section:has(
                .elementor-column:not(.elementor-col-100)
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child
                    + .bouton-icon:last-child
            ).full.block
            .elementor-top-column:is(.elementor-col-33, .elementor-col-50, .elementor-col-66):not(
                :has(
                    :is(.elementor-widget-image, .elementor-widget-image-carousel):first-child + .bouton-icon:last-child
                )
            ) {
            inline-size: min(var(--wrapper-size-mobile), var(--wrapper-size));
            margin-inline: auto;
            padding-inline: 0;
        }
    }
}
