.next-gen-content {
	width: 100%;
}

.next-gen-content__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: 50rem;
	align-items: center;
	padding:0 20px;
}

.next-gen-content[data-layout="row-reverse"] .next-gen-content__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.next-gen-content[data-layout="row-reverse"] .next-gen-content__body {
	order: 2;
}

.next-gen-content[data-layout="row-reverse"] .next-gen-content__media {
	order: 1;
}

.next-gen-content__wysiwyg > *:first-child {
	margin-top: 0;
}

.next-gen-content__wysiwyg > *:last-child {
	margin-bottom: 18rem;
}

.next-gen-content__wysiwyg h1,
.next-gen-content__wysiwyg h2,
.next-gen-content__wysiwyg h3,
.next-gen-content__wysiwyg h4 {
	color: var(--ng-blue);
	font-weight:600;
}

.next-gen-content__wysiwyg p {
	font-weight:500;
}

.next-gen-content__wysiwyg p strong {
	font-weight: 600;
    font-size: 18rem;
    color: var(--ng-blue);
}

.next-gen-content__wysiwyg ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.next-gen-content__wysiwyg li {
	position: relative;
	padding-left: 28rem;
	margin-bottom: 14rem;
}

.next-gen-content__wysiwyg li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.40em;
	width: 13rem;
	height: 13rem;
	background: url(/wp-content/themes/wp-solutionreach/assets/images/star-bullet.svg) no-repeat center / contain;
}

.next-gen-content__media {
	position: relative;
	width: 100%;
	display:flex;
}

.next-gen-content__media[data-media-align="left"] {
	justify-content: flex-start;
}

.next-gen-content__media[data-media-align="center"] {
	justify-content: center;
}

.next-gen-content__media[data-media-align="right"] {
	justify-content: flex-end;
}

.next-gen-content__media img,
.next-gen-content__media .next-gen-animation__media {
	display: block;
	width: var(--ng-content-media-width, 100%);
	height: auto;
	max-width: 100%;
}

.next-gen-content__media .next-gen-animation__media video,
.next-gen-content__media .next-gen-animation__media svg,
.next-gen-content__media .next-gen-animation__media canvas {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Audio Player */

.next-gen-content__audio {
	width: 100%;
	max-width: 430rem;
	min-height: 58rem;
	margin: 20rem 0 34rem;
	border: 2rem solid var(--ng-bright-teal);
	border-radius: var(--ng-radius-pill);
	background: linear-gradient(90deg, #fafdfd 0%, #eef8f7 100%);
	display: grid;
	grid-template-columns: 42rem minmax(0, 1fr) 86rem;
	align-items: center;
	gap: 10rem;
	padding: 10rem 24rem 10rem 8rem;
	box-shadow: var(--ng-shadow-soft);
	box-sizing: border-box;
}

.next-gen-content__audio-toggle {
	width: 36rem;
	height: 36rem;
	border-radius: 50%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.next-gen-content__play-icon {
	width: 20rem;
    height: 20rem;
    margin-left: 15rem;
    background: url(images/blue-play-button.svg) no-repeat center / contain;
    display: block;
    flex-shrink: 0;
}

.next-gen-content__pause-icon {
	display: none;
	position: relative;
	width: 12rem;
	height: 16rem;
	flex-shrink: 0;
	margin-left: 11rem;
}

.next-gen-content__pause-icon::before,
.next-gen-content__pause-icon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 4rem;
	height: 16rem;
	background: var(--ng-blue);
	border-radius: 2rem;
}

.next-gen-content__pause-icon::before {
	left: 0;
}

.next-gen-content__pause-icon::after {
	right: 0;
}

.next-gen-content__audio.is-playing .next-gen-content__play-icon {
	display: none;
}

.next-gen-content__audio.is-playing .next-gen-content__pause-icon {
	display: block;
}

.next-gen-content__audio-label {
	color: var(--ng-blue);
	font-size: 14rem;
	font-weight: 700;
	line-height: 1.15;
	white-space: normal;
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.next-gen-content__audio-wave {
	position: relative;
	width: 86rem;
	min-width: 86rem;
	height: 42rem;
	justify-self: end;
	flex-shrink: 0;
}

.next-gen-content__wave {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 118rem;
	height: 42rem;
	transform: translate(-50%, -50%);
	display: block;
	object-fit: contain;
	object-position: center;
}

.next-gen-content__wave-playing {
	display: none;
}

.next-gen-content__audio.is-playing .next-gen-content__wave-paused {
	display: none;
}

.next-gen-content__audio.is-playing .next-gen-content__wave-playing {
	display: block;
}

/* Responsive */

@media screen and (max-width: 960px) {

	.next-gen-content__grid,
	.next-gen-content[data-layout="row-reverse"] .next-gen-content__grid {
		grid-template-columns: 1fr;
		gap: 35rem;
	}

	.next-gen-content[data-layout="row-reverse"] .next-gen-content__body,
	.next-gen-content[data-layout="row-reverse"] .next-gen-content__media {
		order: initial;
	}

	.next-gen-content__audio {
		max-width: 100%;
	}
	.next-gen-content__wysiwyg li::before {
		top: 0.35em;
	}
	.next-gen-content__media img,
	.next-gen-content__media .next-gen-animation__media {
		width: 100%;
	}
}

@media screen and (max-width: 640px) {

	.next-gen-content__audio {
		width: 100%;
		max-width: 100%;
		min-height: 54rem;
		grid-template-columns: 38rem minmax(0, 1fr) 72rem;
		gap: 10rem;
		padding: 7rem 12rem 7rem 7rem;
		box-sizing: border-box;
	}

	.next-gen-content__audio-toggle {
		width: 38rem;
		height: 38rem;
	}

	.next-gen-content__audio-label {
		font-size: 12rem;
		line-height: 1.15;
		white-space: normal;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.next-gen-content__audio-wave,
	.next-gen-content__wave {
		width: 72rem;
		height: 28rem;
	}

	.next-gen-content__audio-wave {
		justify-self: end;
		margin-top: 0;
	}

}