/*
 * Custom image sizes use max-width / max-height so logos scale down on small screens
 * while keeping the authored size as the upper limit on large viewports.
 */
.wp-block-image.is-resized {
	flex-shrink: 1;
	min-width: 0;
	width: fit-content;
	max-width: 100%;
}

.wp-block-image.is-resized img {
	object-fit: contain;
	width: auto !important;
	height: auto !important;
	max-width: min(var(--onepoint-image-max-width, 100%), 100%) !important;
	max-height: var(--onepoint-image-max-height, none) !important;
}
