.happy-faces-blaze {
	padding-bottom: 130px;
}

.happy-faces-blaze__container {
	position: relative;
	width: 100%;
	user-select: none;
}

.happy-faces-blaze__slider .blaze-track {
	align-items: center;
	padding: 100px 0;
}

.happy-faces-blaze__slide {
	position: relative;
	z-index: 1;
}

.happy-faces-blaze__slide.is-center {
	z-index: 3;
}

.happy-faces-blaze__slide.is-prev {
	z-index: 2;
}

.happy-faces-blaze__slide.is-next {
	z-index: 1;
}

.happy-faces-blaze__card {
	width: 100%;
	margin: 0 auto;
	transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: 3px solid #10b981;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transform: scale(0.7);
	opacity: 0.8;
}

.happy-faces-blaze__slide.is-center .happy-faces-blaze__card {
	transform: scale(1.3);
	box-shadow: 0 10px 40px rgba(16, 185, 129, 0.6);
	opacity: 1;
}

.happy-faces-blaze__slide.is-prev .happy-faces-blaze__card {
	transform: translateX(0) scale(1.05);
	box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.happy-faces-blaze__slide.is-next .happy-faces-blaze__card {
	transform-origin: left center;
	transform: translateX(0) scale(1.05);
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
	opacity: 1;
}

.happy-faces-blaze__slide.is-prev-2 .happy-faces-blaze__card {
	transform: translateX(10%) scale(0.85);
	border-color: #22c55e;
	opacity: 0.9;
}

.happy-faces-blaze__slide.is-next-2 .happy-faces-blaze__card,
.happy-faces-blaze__slide.is-next-3 .happy-faces-blaze__card {
	transform: translateX(-10%) scale(0.85);
	border-color: #22c55e;
	opacity: 0.9;
}

.happy-faces-blaze__media,
.happy-faces-blaze__thumb {
	position: relative;
	display: block;
}

.happy-faces-blaze__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 271px;
	object-fit: cover;
	pointer-events: none;
}

.happy-faces-blaze__video-wrap {
	position: absolute;
	inset: 0;
	background: #000;
}

.happy-faces-blaze__video-wrap[hidden] {
	display: none;
}

.happy-faces-blaze__video-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.happy-faces-blaze__card.is-playing .happy-faces-blaze__thumb {
	visibility: hidden;
}

.happy-faces-blaze__view-row {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: flex-end;
	padding: 10px 15px;
	z-index: 3;
	pointer-events: none;
}

.happy-faces-blaze__view-count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	background: #2fb463;
	border-radius: 100px;
	color: #fff;
	font: 400 12px/1.3 Roboto, sans-serif;
}

.happy-faces-blaze__card.is-playing .happy-faces-blaze__view-row {
	display: none;
}

.happy-faces-blaze__play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 58px;
	height: 58px;
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
	cursor: pointer;
	z-index: 2;
}

.happy-faces-blaze__play-button::before {
	content: '';
	position: absolute;
	top: 17px;
	left: 23px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #fff;
}

.happy-faces-blaze__card.is-playing .happy-faces-blaze__play-button {
	display: none;
}

.happy-faces-blaze__controls {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 4;
}

.happy-faces-blaze__controls .blaze-prev,
.happy-faces-blaze__controls .blaze-next {
	pointer-events: auto;
	position: relative;
	width: 40px;
	height: 40px;
	margin: 0 30px;
	border: 0;
	border-radius: 50%;
	background: #0009;
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.7);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	transition: all 0.3s ease;
}

.happy-faces-blaze__controls .blaze-prev::after,
.happy-faces-blaze__controls .blaze-next::after {
	content: '';
	position: absolute;
	inset: 0;
	padding: 2px;
	border-radius: inherit;
	background: linear-gradient(90deg, #00ff1e 0%, #fff 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.happy-faces-blaze__controls .blaze-prev:hover,
.happy-faces-blaze__controls .blaze-next:hover {
	transform: scale(1.1);
	background: #10b981;
}

.happy-faces-blaze__mobile-left-peek {
	display: none;
}

@media (max-width: 1699px) {
	.happy-faces-blaze__slider .blaze-track {
		padding: 70px 0;
	}

	.happy-faces-blaze__thumb img {
		max-height: 260px;
	}

	.happy-faces-blaze {
		padding-bottom: 90px;
	}
}

@media (max-width: 1199px) {
	.happy-faces-blaze {
		padding-bottom: 50px;
	}
}

@media (max-width: 991px) {
	.happy-faces-blaze__thumb img {
		max-height: 180px;
	}
}

@media (max-width: 767px) {
	.happy-faces-blaze .blaze-track-container {
		overflow: visible;
	}

	.happy-faces-blaze__slider {
		overflow: hidden;
		padding: 0 25px;
	}

	.happy-faces-blaze__mobile-left-peek {
		display: block;
		position: absolute;
		top: 70px;
		bottom: 70px;
		left: 0;
		z-index: 0;
		width: 50px;
		overflow: hidden;
		border: 3px solid #22c55e;
		border-radius: 20px;
		background: #fff;
		opacity: 0.9;
		pointer-events: none;
	}

	.happy-faces-blaze__mobile-left-peek img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: right center;
	}

	.happy-faces-blaze__slider .blaze-track-container {
		position: relative;
		z-index: 1;
	}

	.happy-faces-blaze__slide.is-prev .happy-faces-blaze__card,
	.happy-faces-blaze__slide.is-next .happy-faces-blaze__card {
		transform: none;
	}

	.happy-faces-blaze__slide.is-center .happy-faces-blaze__card {
		transform: scale(1);
	}

	.happy-faces-blaze__thumb img,
	.happy-faces-blaze__slide.is-center .happy-faces-blaze__thumb img {
		max-height: 400px;
		height: 100%;
	}

	.happy-faces-blaze__controls .blaze-prev,
	.happy-faces-blaze__controls .blaze-next {
		margin: 0;
	}

	.happy-faces-blaze__controls .blaze-next {
		/* Align the right control with the visible card edge, mirroring the left control. */
		right: 8px;
	}

	.happy-faces-blaze__controls .blaze-prev {
		left: -18px;
	}
}

@media (max-width: 400px) {
	.happy-faces-blaze__thumb img,
	.happy-faces-blaze__slide.is-center .happy-faces-blaze__thumb img {
		max-height: 350px;
	}
}
