.mdm-homepage {
	margin: 0;
}

.home #main.mdm-homepage {
	padding-top: 0 !important;
}

.mdm-home-hero,
.mdm-home-hero *,
.mdm-home-hero *::before,
.mdm-home-hero *::after {
	box-sizing: border-box;
}

.mdm-home-hero {
	--mdm-home-content-offset: max(64px, calc((100vw - 1440px) / 2 + 64px));
	--mdm-home-shell-edge: max(64px, calc((100vw - 1440px) / 2 + 64px));
	background: #2c0112;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 480px;
	overflow: hidden;
}

.mdm-home-hero__content {
	align-items: center;
	background: #2c0112;
	display: flex;
	min-width: 0;
	padding: 0 64px 24px 0;
	position: relative;
}

.mdm-home-hero__content-slider,
.mdm-home-hero__image-slider {
	min-width: 0;
}

.mdm-home-hero__content-slider {
	flex: 1 1 auto;
	width: 100%;
}

.mdm-home-hero__content-slide {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}

.mdm-home-hero__content-slider.slick-initialized .mdm-home-hero__content-slide {
	display: flex;
}

.mdm-home-hero__content-slider:not(.slick-initialized) .mdm-home-hero__content-slide:not(:first-child),
.mdm-home-hero__image-slider:not(.slick-initialized) .mdm-home-hero__image-slide:not(:first-child) {
	display: none;
}

.mdm-home-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-left: var(--mdm-home-content-offset);
	width: calc(100% - var(--mdm-home-content-offset));
}

.mdm-home-hero__title,
.mdm-home-hero__description {
	color: #f3ede5;
	margin: 0;
}

.mdm-home-hero__title {
	font-family: 'PPCirka', Georgia, serif;
	font-size: 58px;
	font-weight: 500;
	line-height: 1.05;
}

.mdm-home-hero__description {
	font-family: 'Commissioner', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
}

.mdm-home-hero__cta {
	margin-left: var(--mdm-home-content-offset);
	margin-top: 28px;
}

.mdm-home-hero__media {
	min-height: 480px;
	overflow: hidden;
	position: relative;
}

.mdm-home-hero__image-slider {
	inset: 0;
	position: absolute;
}

.mdm-home-hero__image-slide,
.mdm-home-hero__image-slider .slick-list,
.mdm-home-hero__image-slider .slick-track {
	height: 100%;
}

.mdm-home-hero__image-slide {
	position: relative;
}

.mdm-home-hero__image {
	height: 100%;
	left: 0;
	max-width: none;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	width: 100%;
}

.mdm-home-hero__nav {
	align-items: center;
	background: rgba(243, 237, 229, 0.3);
	border: 1px solid #f3ede5;
	cursor: pointer;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	padding: 12px;
	transition: background-color 180ms ease;
	width: 48px;
	z-index: 2;
}

.mdm-home-hero__nav:hover,
.mdm-home-hero__nav:focus-visible {
	background: rgba(243, 237, 229, 0.5);
	outline: 0;
}

.mdm-home-hero__nav img {
	display: block;
	height: 20px;
	width: 20px;
}

.mdm-home-hero__nav--previous img {
	transform: rotate(180deg);
}

.mdm-home-hero__nav--next {
	right: 64px;
	position: absolute;
	top: calc(50% - 24px);
}

.mdm-home-hero__nav--desktop {
	left: max(16px, calc(var(--mdm-home-shell-edge) - 64px));
	position: absolute;
	top: calc(50% - 24px);
}

.mdm-home-hero__nav--mobile {
	display: none;
}

@media (min-width: 992px) and (max-width: 1439px) {
	.mdm-home-hero {
		--mdm-home-content-offset: 24px;
		--mdm-home-shell-edge: 20px;
	}
	.mdm-home-hero__nav--next {
		right: 16px;	
	}
}

@media (max-width: 991px) {
	.mdm-home-hero {
		--mdm-home-content-offset: 0px;
		--mdm-home-shell-edge: 0px;
		display: block;
		min-height: 0;
	}

	.mdm-home-hero__content {
		display: block;
		padding: 36px 16px;
	}

	.mdm-home-hero__nav--desktop {
		display: none;
	}

	.mdm-home-hero__content-slide {
		gap: 0;
	}

	.mdm-home-hero__title {
		font-size: 40px;
	}

	.mdm-home-hero__cta {
		width: 100%;
	}

	.mdm-home-hero__media {
		height: 235px;
		min-height: 235px;
	}

	.mdm-home-hero__nav--mobile,
	.mdm-home-hero__nav--next {
		display: inline-flex;
		position: absolute;
		top: calc(50% - 24px);
	}

	.mdm-home-hero__nav--mobile {
		left: 16px;
	}

	.mdm-home-hero__nav--next {
		right: 16px;
	}
}

.mdm-home-hero__copy-wrapper{
	padding-left: 64px;
}

@media (max-width: 991px) {
	.mdm-home-hero__copy-wrapper{
		padding-left: 0px;
	}	
}
