/* The theme's full-width video heroes use the divider shape and a separate text layer. */
:is(.gb-element-abt001, .gb-element-news001, .alignfull:has(> .gb-shape--divider)) > .gx-videobg {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    margin: 0;
}

/* Keep animation instructions available when editing the animation block. */
.editor-styles-wrapper .alignfull:has(> .gb-shape--divider):has(> .gx-videobg)
    .sm-editor-animated-section:not(.is-selected) > :is(.sm-editor-block__meta, .sm-editor-block__hint) {
    display: none;
}

/* Gutenberg gives the Fly cards' absolutely positioned video blocks flow margins. */
.editor-styles-wrapper :is(
    .gb-element-b51d4104,
    .gb-element-d09fc6a5,
    .gb-element-a7c01474,
    .gb-element-0d1298a3,
    .gb-element-c4ac0ee0,
    .gb-element-09e4b9b5
) > .gx-videobg {
    margin: 0;
}
