.cemacon-cg {
	--cemacon-cg-gap: 64px;
	--cemacon-cg-media-width: 45%;
	--cemacon-cg-rows-gap: 64px;
	--cemacon-cg-accent: #faa21b;
	--cemacon-cg-text: #434345;
	--cemacon-cg-arrow-size: 42px;

	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--cemacon-cg-rows-gap);
}

.cemacon-cg--slider {
	display: block;
}

.cemacon-cg__swiper {
	overflow: hidden;
	width: 100%;
}

.cemacon-cg__swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
	box-sizing: content-box;
}

.cemacon-cg__swiper .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	height: auto;
	position: relative;
	box-sizing: border-box;
}

.cemacon-cg__row {
	display: flex;
	align-items: center;
	gap: var(--cemacon-cg-gap);
	width: 100%;
}

.cemacon-cg--slider .cemacon-cg__row {
	padding-inline: calc(var(--cemacon-cg-arrow-size) + 12px);
}

.cemacon-cg__text {
	flex: 1 1 auto;
	min-width: 0;
}

.cemacon-cg__title {
	margin: 0 0 20px;
}

.cemacon-cg__description {
	margin: 0;
}

.cemacon-cg__media {
	flex: 0 0 var(--cemacon-cg-media-width);
	width: var(--cemacon-cg-media-width);
	overflow: hidden;
}

.cemacon-cg__media .cemacon-video-holder {
	margin-bottom: 0;
}

.cemacon-cg__media .cemacon-self-hosted-video-holder .cemacon-video-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.cemacon-cg__media .cemacon-self-hosted-video-holder video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #111;
}

.elementor-kit-6 button.cemacon-cg__arrow,
.cemacon-cg__arrow {
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--cemacon-cg-arrow-size);
	min-width: var(--cemacon-cg-arrow-size);
	max-width: var(--cemacon-cg-arrow-size);
	height: var(--cemacon-cg-arrow-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	background: var(--cemacon-cg-accent);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.elementor-kit-6 button.cemacon-cg__arrow:hover,
.elementor-kit-6 button.cemacon-cg__arrow:focus,
.cemacon-cg__arrow:hover,
.cemacon-cg__arrow:focus {
	background: var(--cemacon-cg-accent);
	color: #fff;
	opacity: 0.94;
}

.cemacon-cg__arrow:focus-visible {
	outline: 3px solid #f3a48a;
	outline-offset: 2px;
}

.cemacon-cg__arrow--prev {
	left: 0;
}

.cemacon-cg__arrow--next {
	right: 0;
}

.cemacon-cg__arrow-icon {
	display: block;
	width: 16px;
	height: 12px;
	object-fit: contain;
}

.cemacon-cg__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.cemacon-cg--placeholder {
	color: #a4a9ae;
	font-style: italic;
}

@media (max-width: 1024px) {
	.elementor-kit-6 button.cemacon-cg__arrow,
	.cemacon-cg__arrow {
		display: none !important;
	}

	.cemacon-cg--slider .cemacon-cg__row {
		padding-inline: 0;
	}

	.cemacon-cg--slider .cemacon-cg__swiper,
	.cemacon-cg--native-scroll .cemacon-cg__swiper {
		container-type: inline-size;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.cemacon-cg--slider .cemacon-cg__swiper::-webkit-scrollbar,
	.cemacon-cg--native-scroll .cemacon-cg__swiper::-webkit-scrollbar {
		display: none;
	}

	.cemacon-cg--slider .cemacon-cg__swiper .swiper-wrapper,
	.cemacon-cg--native-scroll .cemacon-cg__swiper .swiper-wrapper {
		width: max-content;
		transform: none !important;
	}

	.cemacon-cg--slider .cemacon-cg__swiper .swiper-slide,
	.cemacon-cg--native-scroll .cemacon-cg__swiper .swiper-slide {
		flex: 0 0 100cqw;
		width: 100cqw;
		max-width: 100cqw;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}

@media (max-width: 767px) {
	.cemacon-cg__row {
		flex-direction: column;
		align-items: stretch;
	}

	.cemacon-cg__text {
		order: 0;
	}

	.cemacon-cg__media {
		order: 1;
		flex-basis: auto;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cemacon-cg__arrow {
		transition: none;
	}
}
