/* Image Content Block (.ms-imgcnt) */

body.template-block-builder .ms-imgcnt,
body.template-page .ms-imgcnt,
body.template-component-demo .ms-imgcnt,
.editor-styles-wrapper .ms-imgcnt,
.ms-imgcnt {
	--ms-imgcnt-bg: #faf7f0;
	--ms-imgcnt-ink: #2d1d06;
	--ms-imgcnt-cream: #f5f0e0;
	--ms-imgcnt-link: #1c4220;
	--ms-imgcnt-border: #a7a6a6;
	--ms-imgcnt-placeholder: #d4cbb8;
	box-sizing: border-box;
	margin: 0;
	padding: 100px 0;
	width: 100%;
	background: var(--ms-imgcnt-bg);
	color: var(--ms-imgcnt-ink);
}

body.template-block-builder .ms-imgcnt__inner,
body.template-page .ms-imgcnt__inner,
body.template-component-demo .ms-imgcnt__inner,
.editor-styles-wrapper .ms-imgcnt__inner,
.ms-imgcnt__inner {
	max-width: none;
	margin: 0;
	width: 100%;
	padding: 0;
}

body.template-block-builder .ms-imgcnt__frame,
body.template-page .ms-imgcnt__frame,
body.template-component-demo .ms-imgcnt__frame,
.editor-styles-wrapper .ms-imgcnt__frame,
.ms-imgcnt__frame {
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__grid,
body.template-page .ms-imgcnt__grid,
body.template-component-demo .ms-imgcnt__grid,
.editor-styles-wrapper .ms-imgcnt__grid,
.ms-imgcnt__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 420px;
}

body.template-block-builder .ms-imgcnt__content,
body.template-page .ms-imgcnt__content,
body.template-component-demo .ms-imgcnt__content,
.editor-styles-wrapper .ms-imgcnt__content,
.ms-imgcnt__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 56px 64px;
	border: 0;
	min-width: 0;
}

body.template-block-builder .ms-imgcnt__media,
body.template-page .ms-imgcnt__media,
body.template-component-demo .ms-imgcnt__media,
.editor-styles-wrapper .ms-imgcnt__media,
.ms-imgcnt__media {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 100%;
	min-width: 0;
	max-height: none;
	overflow: hidden;
	background-color: var(--ms-imgcnt-placeholder);
}

body.template-block-builder .ms-imgcnt__img,
body.template-page .ms-imgcnt__img,
body.template-component-demo .ms-imgcnt__img,
.editor-styles-wrapper .ms-imgcnt__img,
.ms-imgcnt__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__media-placeholder,
body.template-page .ms-imgcnt__media-placeholder,
body.template-component-demo .ms-imgcnt__media-placeholder,
.editor-styles-wrapper .ms-imgcnt__media-placeholder,
.ms-imgcnt__media-placeholder {
	width: 100%;
	height: 100%;
	min-height: 420px;
	max-height: none;
	background: var(--ms-imgcnt-placeholder);
}

body.template-block-builder .ms-imgcnt--image-right .ms-imgcnt__frame,
body.template-page .ms-imgcnt--image-right .ms-imgcnt__frame,
body.template-component-demo .ms-imgcnt--image-right .ms-imgcnt__frame,
.editor-styles-wrapper .ms-imgcnt--image-right .ms-imgcnt__frame,
body.template-block-builder .ms-imgcnt--image-left .ms-imgcnt__frame,
body.template-page .ms-imgcnt--image-left .ms-imgcnt__frame,
body.template-component-demo .ms-imgcnt--image-left .ms-imgcnt__frame,
.editor-styles-wrapper .ms-imgcnt--image-left .ms-imgcnt__frame,
.ms-imgcnt--image-right .ms-imgcnt__frame,
.ms-imgcnt--image-left .ms-imgcnt__frame {
	border-top: 1px solid var(--ms-imgcnt-border);
	border-bottom: 1px solid var(--ms-imgcnt-border);
}

body.template-block-builder .ms-imgcnt--image-right .ms-imgcnt__media,
body.template-page .ms-imgcnt--image-right .ms-imgcnt__media,
body.template-component-demo .ms-imgcnt--image-right .ms-imgcnt__media,
.editor-styles-wrapper .ms-imgcnt--image-right .ms-imgcnt__media,
.ms-imgcnt--image-right .ms-imgcnt__media {
	border-left: 1px solid var(--ms-imgcnt-border);
}

body.template-block-builder .ms-imgcnt--image-left .ms-imgcnt__media,
body.template-page .ms-imgcnt--image-left .ms-imgcnt__media,
body.template-component-demo .ms-imgcnt--image-left .ms-imgcnt__media,
.editor-styles-wrapper .ms-imgcnt--image-left .ms-imgcnt__media,
.ms-imgcnt--image-left .ms-imgcnt__media {
	border-right: 1px solid var(--ms-imgcnt-border);
}

body.template-block-builder .ms-imgcnt__eyebrow,
body.template-page .ms-imgcnt__eyebrow,
body.template-component-demo .ms-imgcnt__eyebrow,
.editor-styles-wrapper .ms-imgcnt__eyebrow,
.ms-imgcnt__eyebrow {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--ms-imgcnt-eyebrow-size, 0.875rem);
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ms-imgcnt-ink);
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__title,
body.template-page .ms-imgcnt__title,
body.template-component-demo .ms-imgcnt__title,
.editor-styles-wrapper .ms-imgcnt__title,
.ms-imgcnt__title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(1.75rem, 2.5vw + 0.75rem, var(--ms-imgcnt-title-size, 2rem));
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ms-imgcnt-ink);
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__body,
body.template-page .ms-imgcnt__body,
body.template-component-demo .ms-imgcnt__body,
.editor-styles-wrapper .ms-imgcnt__body,
.ms-imgcnt__body {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: var(--ms-imgcnt-content-size, 1rem);
	line-height: 1.8;
	letter-spacing: 0;
	color: var(--ms-imgcnt-ink);
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__body p,
body.template-page .ms-imgcnt__body p,
body.template-component-demo .ms-imgcnt__body p,
.editor-styles-wrapper .ms-imgcnt__body p,
.ms-imgcnt__body p {
	margin: 0 0 1.5em;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__body p:last-child,
body.template-page .ms-imgcnt__body p:last-child,
body.template-component-demo .ms-imgcnt__body p:last-child,
.editor-styles-wrapper .ms-imgcnt__body p:last-child,
.ms-imgcnt__body p:last-child {
	margin-bottom: 0;
}

body.template-block-builder .ms-imgcnt__actions,
body.template-page .ms-imgcnt__actions,
body.template-component-demo .ms-imgcnt__actions,
.editor-styles-wrapper .ms-imgcnt__actions,
.ms-imgcnt__actions {
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__link,
body.template-page .ms-imgcnt__link,
body.template-component-demo .ms-imgcnt__link,
.editor-styles-wrapper .ms-imgcnt__link,
.ms-imgcnt__link {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--ms-imgcnt-link-size, 1rem);
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-style: solid;
	text-underline-offset: 10px;
	text-decoration-thickness: 1px;
	text-decoration-skip-ink: auto;
	color: var(--ms-imgcnt-link);
	margin: 0;
	padding: 0;
	border: 0;
	transition: opacity 0.2s ease;
}

body.template-block-builder .ms-imgcnt__link:hover,
body.template-page .ms-imgcnt__link:hover,
body.template-component-demo .ms-imgcnt__link:hover,
.editor-styles-wrapper .ms-imgcnt__link:hover,
body.template-block-builder .ms-imgcnt__link:focus-visible,
body.template-page .ms-imgcnt__link:focus-visible,
body.template-component-demo .ms-imgcnt__link:focus-visible,
.editor-styles-wrapper .ms-imgcnt__link:focus-visible,
.ms-imgcnt__link:hover,
.ms-imgcnt__link:focus-visible {
	opacity: 0.75;
	outline: none;
}

body.template-block-builder .ms-imgcnt--headline-overlay .ms-imgcnt__overlay,
body.template-page .ms-imgcnt--headline-overlay .ms-imgcnt__overlay,
body.template-component-demo .ms-imgcnt--headline-overlay .ms-imgcnt__overlay,
.editor-styles-wrapper .ms-imgcnt--headline-overlay .ms-imgcnt__overlay,
.ms-imgcnt--headline-overlay .ms-imgcnt__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(359.65deg, rgba(36, 31, 33, 0.6) 0.3%, rgba(36, 31, 33, 0) 99.7%);
	pointer-events: none;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__overlay-title,
body.template-page .ms-imgcnt__overlay-title,
body.template-component-demo .ms-imgcnt__overlay-title,
.editor-styles-wrapper .ms-imgcnt__overlay-title,
.ms-imgcnt__overlay-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(1.75rem, 2.5vw + 0.75rem, var(--ms-imgcnt-overlay-title-size, 2rem));
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ms-imgcnt-cream);
	margin: 0;
	padding: 40px 48px;
	border: 0;
}

body.template-block-builder .ms-imgcnt--headline-overlay .ms-imgcnt__body,
body.template-page .ms-imgcnt--headline-overlay .ms-imgcnt__body,
body.template-component-demo .ms-imgcnt--headline-overlay .ms-imgcnt__body,
.editor-styles-wrapper .ms-imgcnt--headline-overlay .ms-imgcnt__body,
.ms-imgcnt--headline-overlay .ms-imgcnt__body {
	margin-bottom: 40px;
}

body.template-block-builder .ms-imgcnt__list,
body.template-page .ms-imgcnt__list,
body.template-component-demo .ms-imgcnt__list,
.editor-styles-wrapper .ms-imgcnt__list,
.ms-imgcnt__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-block-builder .ms-imgcnt__list-item,
body.template-page .ms-imgcnt__list-item,
body.template-component-demo .ms-imgcnt__list-item,
.editor-styles-wrapper .ms-imgcnt__list-item,
.ms-imgcnt__list-item {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--ms-imgcnt-list-size, 0.875rem);
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ms-imgcnt-ink);
	margin: 0;
	padding: 20px 0;
	border: 0;
	border-bottom: 1px solid var(--ms-imgcnt-border);
}

body.template-block-builder .ms-imgcnt__list-item:first-child,
body.template-page .ms-imgcnt__list-item:first-child,
body.template-component-demo .ms-imgcnt__list-item:first-child,
.editor-styles-wrapper .ms-imgcnt__list-item:first-child,
.ms-imgcnt__list-item:first-child {
	border-top: 1px solid var(--ms-imgcnt-border);
}

body.template-block-builder .wp-block-acf-image-content-block,
body.template-page .wp-block-acf-image-content-block,
body.template-component-demo .wp-block-acf-image-content-block,
.editor-styles-wrapper .wp-block-acf-image-content-block {
	border: 0;
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	body.template-block-builder .ms-imgcnt__content,
	body.template-page .ms-imgcnt__content,
	body.template-component-demo .ms-imgcnt__content,
	.editor-styles-wrapper .ms-imgcnt__content,
	.ms-imgcnt__content {
		padding: 48px 40px;
	}

	body.template-block-builder .ms-imgcnt__overlay-title,
	body.template-page .ms-imgcnt__overlay-title,
	body.template-component-demo .ms-imgcnt__overlay-title,
	.editor-styles-wrapper .ms-imgcnt__overlay-title,
	.ms-imgcnt__overlay-title {
		padding: 32px 40px;
	}
}

@media (max-width: 768px) {
	body.template-block-builder .ms-imgcnt__grid,
	body.template-page .ms-imgcnt__grid,
	body.template-component-demo .ms-imgcnt__grid,
	.editor-styles-wrapper .ms-imgcnt__grid,
	.ms-imgcnt__grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	body.template-block-builder .ms-imgcnt__media,
	body.template-page .ms-imgcnt__media,
	body.template-component-demo .ms-imgcnt__media,
	.editor-styles-wrapper .ms-imgcnt__media,
	.ms-imgcnt__media {
		min-height: 280px;
		max-height: none;
		order: -1;
	}

	body.template-block-builder .ms-imgcnt--image-right .ms-imgcnt__media,
	body.template-page .ms-imgcnt--image-right .ms-imgcnt__media,
	body.template-component-demo .ms-imgcnt--image-right .ms-imgcnt__media,
	.editor-styles-wrapper .ms-imgcnt--image-right .ms-imgcnt__media,
	body.template-block-builder .ms-imgcnt--image-left .ms-imgcnt__media,
	body.template-page .ms-imgcnt--image-left .ms-imgcnt__media,
	body.template-component-demo .ms-imgcnt--image-left .ms-imgcnt__media,
	.editor-styles-wrapper .ms-imgcnt--image-left .ms-imgcnt__media,
	.ms-imgcnt--image-right .ms-imgcnt__media,
	.ms-imgcnt--image-left .ms-imgcnt__media {
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid var(--ms-imgcnt-border);
	}

	body.template-block-builder .ms-imgcnt--image-right .ms-imgcnt__content,
	body.template-page .ms-imgcnt--image-right .ms-imgcnt__content,
	body.template-component-demo .ms-imgcnt--image-right .ms-imgcnt__content,
	.editor-styles-wrapper .ms-imgcnt--image-right .ms-imgcnt__content,
	body.template-block-builder .ms-imgcnt--image-left .ms-imgcnt__content,
	body.template-page .ms-imgcnt--image-left .ms-imgcnt__content,
	body.template-component-demo .ms-imgcnt--image-left .ms-imgcnt__content,
	.editor-styles-wrapper .ms-imgcnt--image-left .ms-imgcnt__content,
	.ms-imgcnt--image-right .ms-imgcnt__content,
	.ms-imgcnt--image-left .ms-imgcnt__content {
		order: 0;
	}

	body.template-block-builder .ms-imgcnt__content,
	body.template-page .ms-imgcnt__content,
	body.template-component-demo .ms-imgcnt__content,
	.editor-styles-wrapper .ms-imgcnt__content,
	.ms-imgcnt__content {
		padding: 40px 32px;
	}

	body.template-block-builder .ms-imgcnt__media-placeholder,
	body.template-page .ms-imgcnt__media-placeholder,
	body.template-component-demo .ms-imgcnt__media-placeholder,
	.editor-styles-wrapper .ms-imgcnt__media-placeholder,
	.ms-imgcnt__media-placeholder {
		min-height: 280px;
		max-height: none;
	}
}

@media (max-width: 600px) {
	body.template-block-builder .ms-imgcnt,
	body.template-page .ms-imgcnt,
	body.template-component-demo .ms-imgcnt,
	.editor-styles-wrapper .ms-imgcnt,
	.ms-imgcnt {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	body.template-block-builder .ms-imgcnt__content,
	body.template-page .ms-imgcnt__content,
	body.template-component-demo .ms-imgcnt__content,
	.editor-styles-wrapper .ms-imgcnt__content,
	.ms-imgcnt__content {
		padding: 32px 24px;
	}

	body.template-block-builder .ms-imgcnt__overlay-title,
	body.template-page .ms-imgcnt__overlay-title,
	body.template-component-demo .ms-imgcnt__overlay-title,
	.editor-styles-wrapper .ms-imgcnt__overlay-title,
	.ms-imgcnt__overlay-title {
		padding: 24px;
	}
}
