/* Home review 2026-09-18.
 * Structure, gutter, child widths and responsive stacking are saved in core/group
 * attributes. This file only neutralises the legacy full-bleed carousel treatment.
 * Shared by the public site and the Gutenberg editing canvas.
 */
.rx-home-reviewed-section .rx-home-track__query.rx-figma-carousel {
    margin-inline: 0;
    max-inline-size: 100%;
}
.rx-home-reviewed-section .rx-home-track__query .rx-carousel-controls {
    padding-inline-end: 0;
}
@media (min-width: 50.001rem) {
    .rx-home-reviewed-section .rx-home-track__query.rx-figma-carousel .wp-block-post {
        flex-basis: 30.925%;
    }
}
/* A query post-template is the carousel track, not an extra content-width wrapper. */
.rx-home-reviewed-section .rx-home-track__query > .wp-block-post-template {
    max-inline-size: 100%;
}

/* These hooks replace legacy selectors that forced display:grid !important.
 * Native Group attributes own Flex/Grid, widths, gaps and viewport variants.
 */
.rx-home-hero__native-row {
    inline-size: 100%;
    margin-block: 0;
}
.rx-home-story-media__native-labels {
    position: absolute;
    inset: 50% var(--rx-figma-gutter) auto;
    z-index: 2;
    margin-block: 0;
    transform: translateY(-50%);
    color: var(--wp--preset--color--paper);
}
.rx-home-story-media__native-labels > * {
    min-inline-size: 0;
}
@media (max-width: 782px) {
    .rx-home-hero__native-row > * {
        inline-size: 100%;
    }
}
