/**
 * @file
 * Frontend styles for Gutenberg blocks.
 */

.wp-block-drupalmedia-drupal-media-entity iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* The default size of the Icon block, from the default theme.json of
 * WordPress (styles.blocks.core/icon.dimensions.width), with the specificity
 * of global styles: block-library makes the SVG fill the content width, and
 * the width of the block and theme styles win over this one. */
:root :where(.wp-block-icon svg) {
  width: 24px;
}
