.mdm-home-events,
.mdm-home-events * {
	box-sizing: border-box;
}

.mdm-home-events {
	background: #F3EDE5;
	color: #4b0922;
	padding-block: 72px 96px;
}

.mdm-home-events .mdm-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
}

.mdm-home-events__heading,
.mdm-home-events__toolbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.mdm-home-events__heading {
	align-self: center;
	grid-column: 1;
	grid-row: 1;
	margin-bottom: 48px;
}

.mdm-home-events h2 {
	color: #4b0922;
	font-family: 'PPCirka', Georgia, serif;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.05;
	margin: 0;
}

.mdm-home-events__all-link {
	align-self: center;
	font-size: 18px;
	grid-column: 2;
	grid-row: 1;
	min-height: 58px;
	padding-inline: 28px;
}

.mdm-home-events__toolbar {
	grid-column: 1 / -1;
	grid-row: 2;
	gap: 32px;
	margin-bottom: 48px;
}

.mdm-home-events__city-label,
.mdm-home-events__types {
	align-items: center;
	display: flex;
	font-family: 'Commissioner', Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	gap: 16px;
}

.mdm-home-events__city {
	appearance: none;
	background: #f3ede5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='11' viewBox='0 0 18 11' fill='none'%3E%3Cpath d='M1 1.5 9 9.5l8-8' stroke='%234B0922' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 20px center;
	border: 1px solid #4B092233;
    border-radius: 0;
    color: #4b0922;
    font: inherit;
    min-width: 240px;
    padding: 10px 53px 10px 18px;
    font-size: 16px;
	line-height: 1.15;
}

.mdm-home-events__type-buttons,
.mdm-home-events__arrows,
.mdm-home-events__actions {
	align-items: center;
	display: flex;
	gap: 12px;
}

.mdm-home-events__type,
.mdm-home-events__arrow {
	background: transparent;
	border: 1px solid #4B092233;
	border-radius: 0;
	color: #4b0922;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	transition: background-color .2s ease, color .2s ease;
}

.mdm-home-events__type {
	min-height: 40px;
    padding: 8px 12px;
}

.mdm-home-events__type:hover,
.mdm-home-events__type:focus-visible,
.mdm-home-events__type.is-active {
	background: #c1b5a2;
	color: #4b0922;
}

.mdm-home-events__arrows {
	margin-left: auto;
}

.mdm-home-events__arrows.is-filter-hidden {
	display: none;
}

.mdm-home-events__arrow {
	align-items: center;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	line-height: 0;
	padding: 0;
	width: 36px;
}

.mdm-home-events__arrow svg {
	display: block;
	flex: 0 0 20px;
}

.mdm-home-events__arrow:hover,
.mdm-home-events__arrow:focus-visible {
	background: #e7a8a5;
}

.mdm-home-events__slider {
	grid-column: 1 / -1;
	grid-row: 3;
	margin-inline: -12px;
}

.mdm-home-events__slider:not(.slick-initialized) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdm-home-events__slide {
	min-width: 0;
	padding-inline: 12px;
}

.mdm-home-events__image-link,
.mdm-home-events__image,
.mdm-home-events__image-placeholder {
	display: block;
	width: 100%;
}

.mdm-home-events__image,
.mdm-home-events__image-placeholder {
	aspect-ratio: 7 / 5;
	object-fit: cover;
}

.mdm-home-events__image-placeholder {
	background: #4b0922;
}

.mdm-home-events__content {
	padding-top: 20px;
}

.mdm-home-events h3 {
	font-family: 'PPCirka', Georgia, serif;
	font-size: 24px;
	font-weight: 500;
	height: 2.5em;
	line-height: 1.25;
	margin: 0 0 16px;
	overflow: hidden;
}

.mdm-home-events h3 a,
.mdm-home-events__details {
	color: inherit;
}

.mdm-home-events__content h3 a {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	font-family: inherit;
	font-weight: inherit;
	overflow: hidden;
}

.mdm-home-events__meta {
	align-items: flex-start;
	display: flex;
	font-family: 'Commissioner', Arial, sans-serif;
	font-size: 17px;
	font-weight: 500;
	gap: 10px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.mdm-home-events__meta svg {
	flex: 0 0 20px;
	margin-top: 2px;
}

.mdm-home-events__meta--location {
	height: 50px;
}

.mdm-home-events__location-text {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	overflow: hidden;
}

.mdm-home-events__actions {
	justify-content: space-between;
	margin-top: 24px;
}

.mdm-home-events__buy {
	font-size: 18px;
	gap: 10px;
	min-height: 36px;
	padding: 10px 12px;
}

.mdm-home-events__buy svg {
	flex: 0 0 16px;
}

.mdm-home-events__buy svg path {
	transition: fill 180ms ease;
}

.mdm-home-events .mdm-home-events__buy:hover svg path,
.mdm-home-events .mdm-home-events__buy:focus svg path {
	fill: #4b0922;
}

.mdm-home-events__details {
	font-family: 'Commissioner', Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mdm-home-events .mdm-home-events__details:hover,
.mdm-home-events .mdm-home-events__details:focus {
	color: #664f57;
	text-decoration: none;
}

.mdm-home-events__empty {
	color: #4b0922;
	font-family: 'Commissioner', Arial, sans-serif;
	grid-column: 1 / -1;
	margin: 24px 0 0;
	text-align: center;
	font-size: 32px;
    font-weight: 500;
}

.mdm-home-events__swipe-hint {
	display: none;
}

@media (max-width: 1199px) {
	.mdm-home-events__toolbar {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.mdm-home-events__arrows {
		margin-left: 0;
	}
}

@media (max-width: 700px) {
	.mdm-home-events .mdm-container {
		display: block;
	}

	.mdm-home-events {
		padding-block: 24px 64px;
	}

	.mdm-home-events__heading {
		align-items: stretch;
		flex-direction: column;
		margin-bottom: 24px;
	}

	.mdm-home-events h2 {
		font-size: 36px;
	}

	.mdm-home-events h3 {
		font-size: 18px;
	}

	.mdm-home-events__meta {
		font-size: 16px;
	}

	.mdm-home-events__all-link {
		justify-content: center;
		margin-top: 24px;
		width: 100%;
	}

	.mdm-home-events__toolbar {
		gap: 20px;
		margin-bottom: 32px;
	}

	.mdm-home-events__city-label,
	.mdm-home-events__types {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		width: 100%;
	}

	.mdm-home-events__city {
		min-width: 0;
		width: 100%;
	}

	.mdm-home-events__type-buttons {
		gap: 8px;
		width: 100%;
	}

	.mdm-home-events__type {
		flex: 1 1 0;
		font-size: 14px;
		padding-inline: 8px;
	}

	.mdm-home-events__arrows {
		display: none;
	}

	.mdm-home-events__slider {
		margin: 0;
	}

	.mdm-home-events__slide {
		padding: 0 24px 0 0;
	}

	.mdm-home-events__swipe-hint {
		color: #664f57;
		display: block;
		font-family: 'Commissioner', Arial, sans-serif;
		font-size: 16px;
		font-weight: 500;
		line-height: 1.4;
		margin: 16px 0 0;
		text-align: center;
	}

	.mdm-home-events__swipe-hint span {
		font-size: 20px;
		line-height: 1;
	}
}
