/* Standalone players own their aspect ratio. */
.rdg-video-player {
    position: relative;
}

/* Gutenberg already reserves its embed's aspect ratio with ::before.
   Fill that reserved space rather than creating a second in-flow video box.
   This also fixes HTML cached by earlier versions of RDG Core. */
.wp-embed-responsive .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper > .rdg-video-player {
    position: absolute;
    inset: 0;
    height: 100%;
}
