.elementor-widget-mh_osetreni,
.elementor-widget-mh_osetreni > .elementor-widget-container,
.mh-osetreni {
	width: 100%;
}

.mh-osetreni {
	display: grid;
	gap: 30px;
}

.mh-osetreni__viewport,
.mh-osetreni__track {
	display: contents;
}

.mh-osetreni__nav {
	display: none;
}

.mh-osetreni-card {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #d9d9d9;
	color: #fff;
}

.mh-osetreni-card__photo {
	position: absolute;
	inset: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: opacity 0.45s ease;
}

.mh-osetreni-card__photo--before {
	opacity: 0;
}

.mh-osetreni-card__badge {
	position: absolute;
	z-index: 2;
	top: 20px;
	right: 20px;
	display: grid;
	margin: 0;
	font-family: "futura-pt", sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.mh-osetreni-card__badge span {
	grid-area: 1 / 1;
	padding: 7px 10px;
	text-align: center;
	transition: opacity 0.35s ease;
}

.mh-osetreni-card__badge .is-after {
	background: #ecc68b;
	color: #282a2e;
}

.mh-osetreni-card__badge .is-before {
	background: #7a5c48;
	color: #fff;
	opacity: 0;
}

.mh-osetreni-card__content {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 72px 24px 24px;
	background: linear-gradient(180deg, rgba(46, 24, 16, 0) 0%, rgba(46, 24, 16, 0.78) 68%);
	transition: opacity 0.4s ease;
}

.mh-osetreni-card__title {
	margin: 0;
	color: #fff;
	font-family: "the-seasons", serif;
	font-size: clamp(22px, 2vw, 32px);
	font-weight: 400;
	line-height: 1.15;
}

.mh-osetreni-card__text {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-family: "futura-pt", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
	.mh-osetreni-card:hover .mh-osetreni-card__photo--before,
	.mh-osetreni-card:hover .mh-osetreni-card__badge .is-before {
		opacity: 1;
	}

	.mh-osetreni-card:hover .mh-osetreni-card__badge .is-after,
	.mh-osetreni-card:hover .mh-osetreni-card__content {
		opacity: 0;
	}
}

.mh-osetreni-card.is-active .mh-osetreni-card__photo--before,
.mh-osetreni-card.is-active .mh-osetreni-card__badge .is-before {
	opacity: 1;
}

.mh-osetreni-card.is-active .mh-osetreni-card__badge .is-after,
.mh-osetreni-card.is-active .mh-osetreni-card__content {
	opacity: 0;
}

@media (hover: none) {
	.mh-osetreni-card {
		cursor: pointer;
	}
}

@media (max-width: 767px) {
	.mh-osetreni--slider {
		display: block;
		position: relative;
	}

	.mh-osetreni--slider .mh-osetreni__viewport {
		display: block;
		width: 100%;
		overflow: hidden;
	}

	.mh-osetreni--slider .mh-osetreni__track {
		display: flex;
	}

	.mh-osetreni--slider .mh-osetreni-card {
		height: auto;
	}

	.mh-osetreni--slider .mh-osetreni__nav {
		display: block;
		position: absolute;
		z-index: 3;
		inset: 0;
		pointer-events: none;
	}

	button.mh-osetreni__arrow,
	button.mh-osetreni__arrow:hover,
	button.mh-osetreni__arrow:focus,
	button.mh-osetreni__arrow:active {
		position: absolute;
		top: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		min-width: 40px;
		height: 40px;
		margin-top: -20px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background-color: #ecc68b;
		background-image: none;
		color: #fff;
		box-shadow: none;
		overflow: hidden;
		pointer-events: auto;
		cursor: pointer;
		transition: background-color 0.25s ease, opacity 0.25s ease;
	}

	.mh-osetreni__arrow--prev {
		left: -10px;
	}

	.mh-osetreni__arrow--next {
		right: -10px;
	}

	button.mh-osetreni__arrow:hover,
	button.mh-osetreni__arrow:focus,
	button.mh-osetreni__arrow:active {
		border-radius: 50%;
		background-color: #b9a084;
	}

	.mh-osetreni__arrow.swiper-button-disabled {
		opacity: 0.35;
		pointer-events: none;
	}

	.mh-osetreni__arrow .cmsmasters-wrap-icon {
		position: relative;
		z-index: 1;
		color: #fff;
		font-size: 14px;
		line-height: 1;
	}

	button.mh-osetreni__arrow::before,
	button.mh-osetreni__arrow::after,
	button.mh-osetreni__arrow:hover::before,
	button.mh-osetreni__arrow:hover::after,
	button.mh-osetreni__arrow:focus::before,
	button.mh-osetreni__arrow:focus::after,
	button.mh-osetreni__arrow:active::before,
	button.mh-osetreni__arrow:active::after {
		content: none;
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mh-osetreni-card__photo,
	.mh-osetreni-card__content,
	.mh-osetreni-card__badge span {
		transition: none;
	}
}
