/**
 * 121 Platform
 * Media & Text Hero
 */
.nd-media-text-hero {
	margin: 0;
	padding-block: var(--wp--custom--section--space-standard);
}

.nd-media-text-hero__layout {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--custom--layout--gutter);
	box-sizing: border-box;
}

.nd-media-text-hero__layout .wp-block-media-text__media {
	min-width: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--medium);
}

.nd-media-text-hero__layout .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nd-media-text-hero__layout .wp-block-media-text__content {
	min-width: 0;
	padding: var(--wp--preset--spacing--60);
}

.nd-media-text-hero__heading {
	margin-block: 0 var(--wp--preset--spacing--40);
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--typography--weight-bold);
	line-height: 1.15;
}

.nd-media-text-hero__text {
	margin-block: 0 var(--wp--preset--spacing--50);
	max-width: var(--wp--custom--layout--copy-measure);
	line-height: 1.6;
}

.nd-media-text-hero__actions {
	margin-block: 0;
}

@media (max-width: 781px) {
	.nd-media-text-hero {
		padding-block: var(--wp--custom--section--space-compact);
	}

	.nd-media-text-hero__layout {
		padding-inline: var(--wp--preset--spacing--40);
	}

	.nd-media-text-hero__layout .wp-block-media-text__content {
		padding: var(--wp--preset--spacing--50) 0 0;
	}

	.nd-media-text-hero__heading {
		font-size: var(--wp--custom--typography--section-title);
	}
}
