/* Applied automatically by responsive-youtube.js to YouTube embeds only. */
body .ofbf-responsive-youtube {
    display: block;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 1.5rem 0;
    float: none !important;
    clear: both;
    aspect-ratio: var(--ofbf-youtube-ratio, 16 / 9);
}

/* Replace Gutenberg's spacer when reusing its existing embed wrapper. */
body .ofbf-responsive-youtube::before {
    display: none !important;
}

body .ofbf-responsive-youtube iframe {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0;
    float: none !important;
}

body .ofbf-responsive-youtube-figure {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    clear: both;
}
