.cm-home-banner {
	background: #fff;
	box-sizing: border-box;
	min-height: 420px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.cm-home-banner__slides {
	box-sizing: border-box;
	height: clamp(420px, 42vw, 600px);
	min-height: 0;
	position: relative;
}

.cm-home-banner__slide {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 50% 50%;
	height: 100%;
	inset: 0;
	min-height: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 700ms ease;
	width: 100%;
}

.cm-home-banner__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.cm-home-banner__content {
	align-items: flex-start;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	max-height: 600px;
	min-width: 0;
	overflow: hidden;
	padding: clamp(28px, 7vw, 95px);
	position: relative;
	z-index: 3;
}

.cm-home-banner__title-1 {
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1.35;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.cm-home-banner__title-2 {
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.05;
	margin-bottom: 28px;
	text-transform: uppercase;
}

.cm-home-banner__title-2 span {
	display: inline;
}

.cm-home-banner__title-2 span + span::before {
	content: " ";
}

.cm-home-banner__button {
	border: 0;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 16px 28px;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 180ms ease;
}

.cm-home-banner__button:hover,
.cm-home-banner__button:focus-visible {
	opacity: 0.82;
}

.cm-home-banner__media {
	background: #f3f3f3;
	box-sizing: border-box;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.cm-home-banner__media::before {
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	content: "";
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: clamp(70px, 10vw, 100px);
	z-index: 2;
}

.cm-home-banner__media picture {
	display: flex;
	height: 100%;
	width: 100%;
}

.cm-home-banner__media img {
	display: block;
	flex: 1 1 auto;
	height: 100%;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: var(--cm-banner-image-position, center center);
	width: 100%;
}

.cm-home-banner__dots {
	background: #fff;
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 14px 0 18px;
	position: relative;
	width: 100%;
	z-index: 5;
}

.cm-home-banner__dots button {
	background: rgba(0, 0, 0, 0.24);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 9px;
	padding: 0;
	width: 9px;
}

.cm-home-banner__dots button.is-active {
	background: #bc9c22;
	width: 24px;
}

@media (max-width: 767px) {
	.cm-home-banner {
		height: auto;
		min-height: 0;
	}

	.cm-home-banner__slides {
		height: auto;
	}

	.cm-home-banner__slide {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.cm-home-banner__content {
		align-items: center;
		min-height: 180px;
		order: 1;
		padding: 22px 24px;
		text-align: center;
	}

	.cm-home-banner__media {
		clip-path: none;
		margin-left: 0;
		min-height: 260px;
		order: 2;
	}

	.cm-home-banner__media::before {
		display: none;
	}

	.cm-home-banner__dots {
		background: #fff;
		bottom: auto;
		justify-content: center;
		left: auto;
		order: 3;
		padding: 14px 0 18px;
		position: relative;
		transform: none;
		width: 100%;
	}

	.cm-home-banner__title-1 {
		font-size: min(var(--cm-mobile-title-1, 16px), 18px) !important;
		margin-bottom: 12px;
	}

	.cm-home-banner__title-2 {
		font-size: min(var(--cm-mobile-title-2, 36px), 42px) !important;
		margin-bottom: 20px;
	}
}
