html:has(.promo),
body:has(.promo) {
	max-width: 100%;
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html:has(.promo),
	body:has(.promo) {
		overflow-x: clip;
	}
}

.promo {
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	min-height: 100svh;
	padding-block: clamp(3rem, 7vw, 7rem);
	background: transparent;
	position: relative;
	isolation: isolate;
	overflow: visible;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-bottom: 1px solid var(--wp--preset--color--black, #000);
}
.promo::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	content: "";
	background: var(--wp--preset--color--sky-blue, #67d0f8);
}
.promo::after{
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	content: "";
	background: var(--wp--preset--color--ivory, #f9f0eb);
	transform: translateY(-52%) rotate(-3deg);
	top: 0;
	height: 135px;
}

.promo.blue-version::after {
	background: #0031A7;
}

.promo.blue-version .promo__carousel {
	background: #00F;
}

.promo__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 3rem);
}

.promo.version-2 .promo__inner {
	box-sizing: border-box;
	width: min(calc(100% - 2rem), var(--wp--style--global--wide-size, 73.75rem));
	margin-inline: auto;
	padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.promo__title {
	width: min(100%, 60rem);
	margin-inline: auto;
	text-align: center;
}
.promo__title * {
	-webkit-text-stroke-width: 0.8px;
	-webkit-text-stroke-color: #000;
}
.promo__title > :first-child,
.promo__text > :first-child {
	margin-block-start: 0;
}

.promo__title > :last-child,
.promo__text > :last-child {
	margin-block-end: 0;
}

.promo__texts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.promo__text {
	min-width: 0;
}

.promo__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.5rem, 1.5vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.promo__step {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: clamp(0.5rem, 1.5vw, 1.5rem);
}

.promo__step-card {
	position: relative;
	display: grid;
	flex: 0 0 clamp(9rem, 16vw, 12rem);
	place-items: center;
	width: clamp(9rem, 16vw, 12rem);
	aspect-ratio: 192 / 181;
}

.promo__step-shape {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.promo__step-content {
	position: relative;
	z-index: 1;
	width: 70%;
	font-size: clamp(0.75rem, 1.15vw, 1rem);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}
.promo__step-content h3{
	margin-bottom: 0;
}
.promo__step-content h3 span:first-child {
	-webkit-text-stroke-width: 0.85px;
	-webkit-text-stroke-color: #000;
	font-size: 28px;
}

.promo__steps > .promo__step:first-child .promo__step-content .has-16-font-size {
	font-size: 12px !important;
}

.promo__step-content p{
	margin-top: 0.25rem;
	line-height: 0.8!important;
}

.promo__step-content > :first-child {
	margin-block-start: 0;
}

.promo__step-content > :last-child {
	margin-block-end: 0;
}

.promo__step-arrow {
	display: block;
	flex: 0 1 5.9375rem;
	width: clamp(3rem, 7vw, 5.9375rem);
	height: auto;
}

@media (min-width: 701px) {
	.promo__step:nth-child(1) .promo__step-arrow {
		align-self: flex-start;
	}

	.promo__step:nth-child(2) .promo__step-arrow {
		align-self: flex-end;
	}
}

.promo__carousel {
	--promo-duration: 30s;
	display: flex;
	width: 101%;
	overflow: hidden;
	border-block: 1px solid var(--wp--preset--color--black, #000);
	background: var(--wp--preset--color--rush-plum, #a2006e);
	position: absolute;
	top: 0;
	left: 0;
	transform: rotate(-3deg);
}

.promo__track {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	min-width: max-content;
	padding: 1rem clamp(0.5rem, 1vw, 1rem);
	animation: promo-marquee var(--promo-duration) linear infinite;
	will-change: transform;
}

.promo__word {
	color: var(--wp--preset--color--sky-blue, #67d0f8);
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #000;
	font-size: var(--wp--preset--font-size--24);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--new-science-extended);
}

.promo__separator,
.promo__separator svg {
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 31px;
}

.promo__message {
	--promo-frame-width: min(60vw, 45rem);
	position: relative;
	display: grid;
	place-items: center;
	width: min(calc(100% - 2rem), 73.75rem);
	min-height: clamp(31rem, 57vw, 46rem);
	margin-inline: auto;
}

.promo__frame,
.promo__tags-cloud {
	box-sizing: border-box;
	width: var(--promo-frame-width);
	aspect-ratio: 3 / 2;
}

.promo__frame {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--black, #000);
	border-radius: clamp(1rem, 2vw, 2rem);
	background: var(--wp--preset--color--ivory, #f9f0eb);
}

.promo__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.promo__tags-cloud {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.promo__tag {
	position: absolute;
	display: grid;
	place-items: center;
	width: clamp(7.5rem, 11vw, 9.5rem);
	aspect-ratio: 1;
	transform: rotate(-7deg);
}

.promo__tag:nth-child(6n + 1) { top: 2%; left: 0; transform: translate(-50%, 20%) rotate(20deg); }
.promo__tag:nth-child(6n + 2) { top: 0; left: 50%; transform: rotate(8deg) translate(-50%, -50%);}
.promo__tag:nth-child(6n + 3) { top: 15%; right: 5%; transform: rotate(-4deg);}
.promo__tag:nth-child(6n + 4) { right: 0; bottom: 0; transform: translate(30%, 30%) rotate(7deg);  }
.promo__tag:nth-child(6n + 5) { bottom: 0; left: 8%; transform: translateY(20%) rotate(-9deg); }

.promo__tag-shape {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.promo__tag-content {
	position: relative;
	z-index: 1;
	width: 72%;
	font-size: clamp(0.75rem, 1.1vw, 1rem);
	font-weight: 500;
	line-height: 1.05;
	text-align: center;
	pointer-events: auto;
}

.promo--tags-animation-ready .promo__tag:not(.promo__tag--visible),
.promo--tags-animation-ready .promo__tag-content:not(.promo__tag-content--visible) {
	opacity: 0;
}

.promo__tag-content > :first-child { margin-block-start: 0; }
.promo__tag-content > :last-child { margin-block-end: 0; }
.promo__tag-content h4{
	margin-bottom: 0;
	font-weight: 700;
	-webkit-text-stroke-width: 0.85px;
	-webkit-text-stroke-color: #000;
}
.promo__tag-content p{
	margin-top: 0.25rem;
}

.promo__empty {
	width: min(calc(100% - 2rem), 73.75rem);
	margin-inline: auto;
	padding: 2rem;
	border: 1px dashed currentcolor;
	text-align: center;
}
.promo.version-2::before {
	background-color: var(--wp--preset--color--powder-pink);
} 
@keyframes promo-marquee {
	to { transform: translateX(-100%); }
}
@media (max-width: 1024px) {
	.promo__tag-content p span{
		font-size: var(--wp--preset--font-size--12) !important;
	}
	.promo__tag-content h4 span{
		font-size: var(--wp--preset--font-size--20) !important;
	}
}

@media (max-width: 700px) {
	.promo {
		padding-block: clamp(2.5rem, 12vw, 4rem);
		min-height: 0;
	}

	.promo__inner {
		gap: 3rem;
	}

	.promo__message {
		--promo-frame-width: min(78vw, 25rem);
		display: flex;
		min-height: 0;
		flex-direction: column;
		align-items: center;
	}

	.promo__frame {
		width: var(--promo-frame-width);
	}

	.promo__tag {
		width: clamp(6.75rem, 31vw, 8rem);
	}

	.promo__tag-content {
		font-size: clamp(0.68rem, 3vw, 0.85rem);
	}

	.promo__texts {
		grid-template-columns: 1fr;
	}

	.promo__steps {
		flex-direction: column;
	}

	.promo__step {
		flex-direction: column;
	}

	.promo__step-arrow {
		flex-basis: auto;
		transform: rotate(90deg);
	}
}
@media (max-width: 520px) {
	.promo::after {
		height: 50px;
	}
	.promo__frame, .promo__tags-cloud {
		aspect-ratio: 1/2;
	}
	.promo__tag:nth-child(6n + 1) {
		top: 0;
		left: 0;
		transform: translate(-20%, 20%) rotate(20deg);
	}
	.promo__tag:nth-child(6n + 2) {
		top: 0;
		right: 0;
		transform: rotate(8deg) translate(50%, -30%);
	}
	.promo__tag:nth-child(6n + 3) {
		top: 50%;
		right: 5%;
		transform: translateY(-50%) rotate(-4deg);
	}
	.promo__tag:nth-child(6n + 5) {
		bottom: 10%;
		left: 0;
		transform: translate(-20%, 20%) rotate(-9deg);
	}
	.promo__inner{
		padding-top: 3rem;
	}
	.promo__step-content h3 span:not(:first-child) {
		font-size: var(--wp--preset--font-size--14) !important;
	}

	.promo__step, .promo__steps{
		gap: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.promo__track {
		animation: none;
	}

	.promo__track[aria-hidden="true"] {
		display: none;
	}

	.promo--tags-animation-ready .promo__tag,
	.promo--tags-animation-ready .promo__tag-content {
		opacity: 1;
	}

}
