.itc-mediabox {
	display: inline-block;
	box-sizing: border-box;
	line-height: 0;
}

.itc-mediabox__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.itc-mediabox__svg {
	display: inline-flex;
	width: 100%;
}

/* currentColor in the pasted SVG inherits the wrapper's `color`,
   which is set inline per-instance via the SVG Color option.
   height:auto (not 100%) keeps the SVG's own aspect ratio when
   the Width field scales it up or down. */
.itc-mediabox__svg svg {
	display: block;
	width: 100%;
	height: auto;
	color: inherit;
}
