.alternating-content-expanded {
}

.alternating-content-expanded__item {
	display: flex;
	flex-direction: column;
}

.alternating-content-expanded__item:not(:last-child) {
	margin-bottom: 50px;
}

.alternating-content-expanded__copy {
	display: flex;
	flex-direction: column;
	padding: 0 30px;
}

.alternating-content-expanded__copy > *:not(:last-child) {
	margin-bottom: 20px;
}

.alternating-content-expanded__button {
	margin-top: auto;
}

.alternating-content-expanded__image {
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1.13 / 1;
	width: 100%;
	margin-bottom: 40px;
}

.alternating-content-expanded__image img {
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.alternating-content-expanded__pop-out-container {
	z-index: 1;
	position: relative;
}

.alternating-content-expanded__item:nth-child(odd)
	.alternating-content-expanded__pop-out {
	left: auto;
	right: 0;
	bottom: auto;
	top: 0;
}

.alternating-content-expanded__pop-out {
	display: none;
	position: absolute;
	z-index: -1;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background-color: var(--wp--preset--color--purple);
}

.alternating-content-expanded__title {
	margin-bottom: 40px;
	padding: 0px 30px;
}

@media screen and (max-width: 767px) {
	.alternating-content-expanded {
		padding-bottom: 40px !important;
		padding-top: 0px !important;
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
}

@media screen and (min-width: 1024px) {
	.alternating-content-expanded__item:nth-child(even)
		.alternating-content-expanded__button {
		margin-top: auto;
		margin-bottom: 30px;
	}

	.alternating-content-expanded__item:nth-child(odd)
		.alternating-content-expanded__pop-out-container {
		margin-top: 30px;
		margin-right: 30px;
		margin-bottom: 0;
		margin-left: 0;
	}

	.alternating-content-expanded__pop-out-container {
		margin-left: 30px;
		margin-bottom: 30px;
	}

	.alternating-content-expanded__item:not(:last-child) {
		margin-bottom: 100px;
	}

	.alternating-content-expanded__pop-out {
		display: block;
	}

	.alternating-content-expanded__image {
		margin-bottom: 0;
		aspect-ratio: 0.99 / 1;
	}

	.alternating-content-expanded__item {
		flex-direction: row;
	}

	.alternating-content-expanded__item:nth-child(odd) {
		flex-direction: row-reverse;
	}

	.alternating-content-expanded__item > * {
		width: 50%;
	}

	.alternating-content-expanded__item:nth-child(odd)
		.alternating-content-expanded__copy {
		padding-left: 0;
		padding-right: 120px;
	}

	.alternating-content-expanded__copy {
		padding-left: 120px;
	}

	.alternating-content-expanded__title {
		margin-bottom: 40px;
		padding: 0;
	}
}
