.amcs-slider-wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: visible;
}

.amcs-width-contained {
	max-width: 1180px;
}

.amcs-width-full {
	max-width: none;
}

.amcs-swiper {
	width: 100%;
	overflow: hidden;
}

.amcs-slide {
	flex: 0 0 calc((100% - (var(--amcs-gap, 24px) * (var(--amcs-mobile, 1) - 1))) / var(--amcs-mobile, 1));
	height: auto;
	background: transparent;
	transition: transform 650ms ease, opacity 650ms ease;
}

.amcs-image {
	width: 100%;
	height: var(--amcs-image-height, 395px);
	margin: 0;
	overflow: hidden;
	background: #f2f4f7;
}

.amcs-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--amcs-fit, contain);
	transform: scale(1.01);
	transition: transform 650ms ease;
	will-change: transform;
}

.swiper-slide-active .amcs-image img,
.swiper-slide-next .amcs-image img {
	transform: scale(1);
}

.amcs-content {
	padding-top: 16px;
}

.amcs-content h3 {
	margin: 0 0 8px;
	color: #07152f;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: 0;
}

.amcs-content p {
	margin: 0 0 14px;
	color: #4b5565;
	font-size: 16px;
	line-height: 1.55;
}

.amcs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	background: #07152f;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.amcs-button:hover,
.amcs-button:focus {
	background: #17243d;
	color: #fff;
	text-decoration: none;
}

.amcs-arrow {
	position: absolute;
	top: calc(var(--amcs-image-height, 395px) / 2);
	z-index: 5;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(7, 21, 47, 0.08);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.amcs-arrow::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #07152f;
	border-right: 2px solid #07152f;
	content: "";
}

.amcs-prev {
	left: 22px;
}

.amcs-prev::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.amcs-next {
	right: 22px;
}

.amcs-next::before {
	transform: translate(-65%, -50%) rotate(45deg);
}

.amcs-arrow:hover,
.amcs-arrow:focus {
	background: #fff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
	transform: translateY(-50%) scale(1.04);
}

.amcs-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 18px;
	margin-top: 22px;
}

.amcs-dot {
	display: block;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d5d9e2;
	cursor: pointer;
	opacity: 1;
}

.amcs-dot-active {
	background: #07152f;
}

@media (max-width: 767px) {
	.amcs-image {
		height: min(var(--amcs-image-height, 395px), 320px);
	}

	.amcs-prev {
		left: 10px;
	}

	.amcs-next {
		right: 10px;
	}

	.amcs-arrow {
		width: 40px;
		height: 40px;
	}
}
@media (min-width: 768px) {
	.amcs-slide {
		flex-basis: calc((100% - (var(--amcs-gap, 24px) * (var(--amcs-tablet, 2) - 1))) / var(--amcs-tablet, 2));
	}
}

@media (min-width: 1024px) {
	.amcs-slide {
		flex-basis: calc((100% - (var(--amcs-gap, 24px) * (var(--amcs-desktop, 2) - 1))) / var(--amcs-desktop, 2));
	}
}
