.et_pb_code_inner:has(.acf_image),
.et_pb_code_inner:has(.acf_image) *,
.et_pb_text_inner:has(.acf_image) *,
.et_pb_text_inner:has(.acf_image) {
    height: inherit;
    max-height: inherit;
}

*:has(>.acf_image) {
    height: inherit;
    max-height: inherit;
}

.acf_image {
    max-width: 100%;
    vertical-align: middle;
    max-height: inherit;

    &.full {
        width: 100%;
    }
}

.at-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;

    .track {
        display: flex;
        white-space: nowrap;
        will-change: transform;
    }
}


@keyframes at-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Optionnel : Pause au survol */
/* .at-marquee-wrapper:hover .track {
  animation-play-state: paused;
} */