.wf-edge-carousel {
	--wf-ec-slide-w: 960px;
	--wf-ec-gap: 70px;
	--wf-ec-bleed: 0px;
	--wf-ec-media-w: 50%;
	--wf-ec-arrow-w: 38px;
	--wf-ec-arrow-h: 30px;
	--wf-ec-dot-size: 8px;
	--wf-ec-dot-gap: 8px;
	--wf-ec-dot-color: #d0d5dd;
	--wf-ec-dot-color-active: #1f2a37;
	position: relative;
}

.wf-edge-carousel .wf-edge-carousel__viewport {
	margin-right: calc(-1 * var(--wf-ec-bleed, 0px));
	overflow: hidden;
}

.wf-edge-carousel .swiper-wrapper {
	align-items: stretch;
}

.wf-edge-carousel .wf-edge-carousel__slide {
	display: flex;
	align-items: stretch;
	width: var(--wf-ec-slide-w);
	height: auto;
	min-height: 380px;
	background-color: #fff;
	border-radius: 16px;
	overflow: hidden;
}

.wf-edge-carousel .wf-edge-carousel__media {
	position: relative;
	flex: 0 0 var(--wf-ec-media-w);
	max-width: var(--wf-ec-media-w);
	height: var(--wf-ec-media-h, auto);
	overflow: hidden;
}

.wf-edge-carousel .wf-edge-carousel__media img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wf-edge-carousel .wf-edge-carousel__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 46px 74px 46px 46px;
}

.wf-edge-carousel .wf-edge-carousel__title {
	margin: 0 0 14px;
	color: #1f2a37;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
}

.wf-edge-carousel .wf-edge-carousel__desc {
	margin: 0 0 28px;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.6;
}

.wf-edge-carousel .wf-edge-carousel__desc p {
	margin: 0;
}

.wf-edge-carousel .wf-edge-carousel__desc p + p {
	margin-top: 0.75em;
}

.wf-edge-carousel .wf-edge-carousel__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 48px;
	border: 1px solid #253341;
	border-radius: 5px;
	background-color: transparent;
	color: #33475b;
	font-family: 'Figtree', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 19px;
	line-height: 23px;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wf-edge-carousel .wf-edge-carousel__button:hover,
.wf-edge-carousel .wf-edge-carousel__button:focus {
	background-color: #253341;
	border-color: #253341;
	color: #fff;
}

.wf-edge-carousel .wf-edge-carousel__footer {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	margin-top: 32px;
}

.wf-edge-carousel .wf-edge-carousel__dots {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wf-ec-dot-gap);
}

.wf-edge-carousel .wf-edge-carousel__dots .swiper-pagination-bullet {
	width: var(--wf-ec-dot-size);
	height: var(--wf-ec-dot-size);
	margin: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--wf-ec-dot-color);
	opacity: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wf-edge-carousel .wf-edge-carousel__dots .swiper-pagination-bullet-active {
	background-color: var(--wf-ec-dot-color-active);
}

.wf-edge-carousel .wf-edge-carousel__nav {
	grid-column: 3;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.wf-edge-carousel .wf-edge-carousel__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wf-ec-arrow-w);
	height: var(--wf-ec-arrow-h);
	min-height: 0;
	padding: 0;
	border: 1px solid #253341;
	border-radius: 50px;
	background-color: transparent;
	color: #253341;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wf-edge-carousel .wf-edge-carousel__arrow:hover,
.wf-edge-carousel .wf-edge-carousel__arrow:focus {
	background-color: #253341;
	color: #fff;
}

.wf-edge-carousel .wf-edge-carousel__arrow svg {
	display: block;
	width: 6px;
	height: 10px;
}

.wf-edge-carousel .wf-edge-carousel__arrow--next svg {
	transform: scaleX(-1);
}

.wf-edge-carousel .wf-edge-carousel__arrow.swiper-button-disabled {
	opacity: 0.4;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.wf-edge-carousel {
		--wf-ec-slide-w: 90% !important;
		--wf-ec-gap: 20px !important;
	}
}

@media (max-width: 767px) {
	.wf-edge-carousel .wf-edge-carousel__slide {
		flex-direction: column;
		min-height: 0;
	}

	.wf-edge-carousel .wf-edge-carousel__media {
		flex: 0 0 auto;
		max-width: 100%;
		height: var(--wf-ec-media-h, 220px);
	}

	.wf-edge-carousel .wf-edge-carousel__content {
		padding: 28px 24px;
	}
}
