.cz-promotion {
	padding: clamp(16px, 4vw, 40px);
	text-align: center;
	overflow-wrap: anywhere;
}

.cz-promotion-banner {
	border-block: 1px solid currentColor;
	padding-block: 16px;
}

.cz-promotion img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 420px;
	object-fit: contain;
	margin: 0 auto 12px;
}

.cz-promotion-banner img {
	max-height: 120px;
}

/* Keep the Factory's native column widths and stacked order while mirroring the desktop row. */
@media (min-width: 1000px) {
	.cz-promotion-section.cz-promotion-image-right > .row_col_wrap_12 {
		display: flex;
		flex-direction: row-reverse;
	}
}

/* The shared media stack keeps Salient's animated inner layers. */
.cz-promotion-section .cz-promotion-artwork {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	margin-inline: auto;
	margin-block: clamp(20px, 3vw, 44px);
	isolation: isolate;
	position: relative;
}

.cz-promotion-section.cz-promotion-image-right .cz-promotion-artwork {
	direction: rtl;
}

.cz-promotion-section .cz-promotion-artwork > .cascading-image[data-has-img] {
	display: block;
	position: relative;
	inset: auto;
	transform: none;
	grid-area: 1 / 1;
	min-width: 0;
	min-height: 0;
	padding: 0 !important;
}

/* The in-flow spacer has no intrinsic width in Salient's stacked flex columns. */
.cz-promotion-section .wpb_wrapper:has(> .cz-promotion-artwork) {
	width: 100%;
}

/* Reserve the established column height and keep the copy-facing edge in place. */
.cz-promotion-section:not(.cz-promotion-centered) .cz-promotion-artwork {
	--cz-artwork-edge: calc((100% - var(--cz-artwork-original-width)) / 2);
}

.cz-promotion-section:not(.cz-promotion-centered) .cz-promotion-artwork::before {
	content: "";
	width: var(--cz-artwork-original-width);
	aspect-ratio: var(--cz-artwork-ratio);
	margin-block-start: var(--cz-artwork-original-offset);
}

.cz-promotion-section:not(.cz-promotion-centered) .cz-promotion-artwork > .cascading-image[data-has-img] {
	position: absolute;
	grid-area: auto;
	aspect-ratio: var(--cz-artwork-ratio);
	inset-block-end: 0;
	inset-inline-end: var(--cz-artwork-edge);
	width: var(--cz-artwork-width);
}

.cz-promotion-section:not(.cz-promotion-centered) .cz-promotion-artwork > .cascading-image[data-has-img="false"] {
	width: var(--cz-artwork-backing);
	inset-block-end: var(--cz-artwork-drop);
	inset-inline-end: calc(var(--cz-artwork-edge) + var(--cz-artwork-width) * 0.14);
}

.cz-promotion-section .cz-promotion-artwork .inner-wrap,
.cz-promotion-section .cz-promotion-artwork .bg-layer,
.cz-promotion-section .cz-promotion-artwork .img-wrap {
	display: block;
	width: 100%;
	height: 100%;
}

.cz-promotion-section .cz-promotion-artwork .bg-layer > .bg-color {
	display: block;
	width: 100% !important;
	height: 100% !important;
	padding: 0;
}

.cz-promotion-section .cz-promotion-artwork > [data-has-img="false"] .bg-color {
	background-color: var(--cz-appearance-backing, #41472c) !important;
}

.cz-promotion-section .cz-promotion-artwork .cascading-image .img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	object-fit: contain;
}

@media (min-width: 1200px) {
	.cz-promotion-section .cz-promotion-artwork {
		width: 97.5%;
	}

	.cz-promotion-section:not(.cz-promotion-centered) .cz-promotion-artwork {
		/* Preserve the Factory's measured copy-facing clearance. */
		--cz-artwork-edge: 0%;
		margin-inline-end: 2.5%;
	}
}

.cz-promotion-section .cz-section-full-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-block: clamp(20px, 3vw, 44px);
}

.cz-promotion-section .nectar-text-inline-images {
	overflow-wrap: anywhere;
}

/* Stack the same native Factory columns for centered copy and optional artwork. */
.cz-promotion-section.cz-promotion-centered > .row_col_wrap_12 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cz-promotion-section.cz-promotion-centered :is(.nectar-highlighted-text, .nectar-highlighted-text :is(h2, h3), .nectar-text-inline-images, .nectar-text-inline-images p) {
	text-align: center;
}

.cz-promotion-section.cz-promotion-centered .cz-promotion-artwork {
	--cz-artwork-centered-limit: min(900px, calc(480px * var(--cz-artwork-ratio)), var(--cz-artwork-source-width, 900px));
	max-width: calc(var(--cz-artwork-centered-limit) / var(--cz-artwork-original-scale));
}

.cz-promotion-section.cz-promotion-centered .cz-promotion-artwork > [data-has-img="true"] {
	justify-self: center;
	width: var(--cz-artwork-original-width);
	aspect-ratio: var(--cz-artwork-ratio);
	margin-block-start: var(--cz-artwork-original-offset);
}

.cz-promotion-section.cz-promotion-centered .cz-promotion-artwork > [data-has-img="false"] {
	/* Size the backing against the photo while the photo alone sets the row height. */
	position: absolute;
	grid-area: auto;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(100vw, calc(var(--cz-artwork-original-width) * 1.125));
	aspect-ratio: calc(var(--cz-artwork-ratio) * 1.125 / 0.875);
}

.cz-promotion-section.cz-promotion-centered > .row_col_wrap_12 > .wpb_column:last-child > .vc_column-inner > .wpb_wrapper {
	margin-inline: auto;
}

/* Use the same clearance as the native 25px stacked-column margin. */
.cz-promotion-section.cz-promotion-full-image > .row_col_wrap_12 {
	row-gap: 25px;
}

@media (min-width: 1000px) {
	.cz-promotion-section.cz-promotion-centered > .row_col_wrap_12 {
		row-gap: 25px;
	}

	/* Center the copy while keeping the Factory copy column's 10% total inset. */
	.cz-promotion-section.cz-promotion-centered > .row_col_wrap_12 > .wpb_column:last-child > .vc_column-inner > .wpb_wrapper {
		width: 90%;
	}
}
