.y25-image-text-background-row {
	display: flex;
}
.y25-image-text-background-media figure {
	margin: 0;
}
.y25-image-text-background-media .wp-block-image img {
	max-height: 500px;
}
.y25-image-text-background-media {
	width: 40%;
}
.y25-image-text-background-media .wp-block-image img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.y25-image-text-background-media figure {
	height: 100%;
}
.y25-image-text-background-details {
	justify-content: center;
	width: 60%;
	align-content: center;
	padding: clamp(1.25rem, 0.757rem + 2.632vw, 3.125rem);
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 0.921rem + 1.754vw, 2.5rem);
}
.y25-image-text-background-button {
	width: max-content;
}
.y25-image-text-background-button a {
	border-radius: 5px;
}
.y25-image-text-heading {
	font-size: clamp(1.25rem, 0.921rem + 1.754vw, 2.5rem);
	margin-bottom: 0;
}
p.y25-image-text-background-paragraph {
	font-size: clamp(1rem, 0.934rem + 0.351vw, 1.25rem);
	font-family: "Apercu";
	font-weight: 400;
}
a.wp-block-button__link.wp-element-button {
	font-size: clamp(1rem, 0.934rem + 0.351vw, 1.25rem);
	font-family: "Apercu Mono";
}
.block-editor-block-list__block.cmw-y25-image-text-background .cmw-details h1 {
	margin: 0;
}
.block-editor-block-list__block.cmw-y25-image-text-background .cmw-custom-button a:active,.block-editor-block-list__block.cmw-y25-image-text-background .cmw-custom-button a:focus {
    color: white;
}
@media (max-width: 700px) {
	.y25-image-text-background-row {
		flex-direction: column-reverse !important;
	}
	.y25-image-text-background-media {
		overflow: hidden;
		width: 100%;
	}
	.y25-image-text-background-details {
		width: 100%;
	}
	.y25-image-text-background-media .wp-block-image img {
		max-height: 300px;
	}
}