/*
 * etype global fixes for all Kiamo sites. This file ships empty in the
 * Gavias theme package and is loaded last in the global-styling library,
 * so it is the designated place for our overrides.
 */

/* Third-party embeds (weather widgets etc.) ship fixed pixel widths
   (e.g. WillyWeather iframe width=300 in a style="width:300px" wrapper),
   which pushes them outside their builder column and, on narrow screens,
   beyond the viewport. Cap them at their container width. */
.gavias-blockbuilder-content iframe,
.gavias-blockbuilder-content embed,
.gavias-blockbuilder-content object,
.gavias-blockbuilder-content video {
  max-width: 100%;
}

/* The embeds' own wrapper divs carry the same inline pixel widths; cap the
   free-HTML areas of the elements sites use for such embeds. */
.gsc-image-content .desc div,
.gsc-box-text div,
.gsc-code div {
  max-width: 100%;
}
