  /***
 * Colors
 ***/
/**
 * Typography
 **/
/*
 * We can use the font weight fot the bold styling example below
 * .test-font { font-family: $font-default; } regular
 * .test-font-bold { font-family: $font-default; font-weight: $font-weight-bold; }
 * @see: _typography.scss
*/
/**
 * Global elements
 **/
/*
 * Sizing/Spacing
 */
/**
 * Forms
 */
/*
 * Bootstrap
 */
/
 * Mappings
 ****/
/*
 * IMPORTANT:
 *   - This file should *only contain* variables not considered UN style guide *
 */
/**
  Help theming for rtl languages.
*/
/* background opacity */
/*
 * This handles indentation for the depth of child levels for accordion
 * TODO: improve this implementation, overly complex due to previous design
 */
/*
 * Reset the button appearance to make it look like regular text.
 *
 * The padding can be optionally passed, as it is usually overriden.
 *
 * @param {Number} $padding - The padding to apply to the button.
 */
.pattern-media-image .pattern-media-image__credits {
  margin-block-start: 0.5rem;
}

.pattern-media-image--wrapped {
  background-color: #f5f5f5;
  width: 100%;
}

.pattern-media-image--wrapped .pattern-media-image__media {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9;
}

.pattern-media-image--wrapped picture {
  display: contents;
}

.pattern-media-image--wrapped img {
  width: auto;
  max-height: 100%;
}

.pattern-media-image--ratio-16-9 .pattern-media-image__media {
  aspect-ratio: 16/9;
}

.pattern-media-image--ratio-1-1 .pattern-media-image__media {
  aspect-ratio: 1;
}

.pattern-media-image--ratio-4-3 .pattern-media-image__media {
  aspect-ratio: 4/3;
}
