/* =========================================================
   Martin Limbeck – K2 Teilnehmerstimmen Slider
   Faithful Elementor port of gipfelstuermer-k2.html
   ========================================================= */

.ml-k2-testimonial-section {
	--ml-k2-sand-50: #F8F8F7;
	--ml-k2-sand-100: #F1F1EE;
	--ml-k2-olive-900: #1C1F19;
	--ml-k2-orange: #E84922;
	--ml-k2-muted-light: rgba(241, 241, 238, .62);
	--ml-k2-line-light: rgba(241, 241, 238, .16);
	--ml-k2-ease: cubic-bezier(.22, 1, .36, 1);

	position: relative;
	width: 100%;
	padding: clamp(80px, 12vh, 150px) 0;
	background: var(--ml-k2-olive-900);
	color: var(--ml-k2-sand-50);
	font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 300;
	box-sizing: border-box;
}

.ml-k2-testimonial-section *,
.ml-k2-testimonial-section *::before,
.ml-k2-testimonial-section *::after {
	box-sizing: border-box;
}

.ml-k2-testimonial-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(22px, 5vw, 64px);
}

.ml-k2-testimonial-slider {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: clamp(38px, 5vh, 56px) auto 0;
}

.ml-k2-testimonial {
	display: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.ml-k2-testimonial.is-active {
	display: block;
	animation: mlK2TestimonialFade .6s var(--ml-k2-ease);
}

@keyframes mlK2TestimonialFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.ml-k2-testimonial__quote {
	margin: 0 0 26px !important;
	padding: 0 !important;
	font-family: 'Gotham', 'Montserrat', sans-serif !important;
	font-weight: 300 !important;
	font-size: clamp(1.5rem, 3vw, 2.4rem) !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	color: var(--ml-k2-sand-50) !important;
	text-align: center;
}

.ml-k2-testimonial__quote em {
	font-style: normal;
	color: var(--ml-k2-orange);
}

/*
 * This intentionally reproduces the original dist.zip behaviour:
 * the <footer> inside each blockquote inherits the global footer rule
 * from gs.css, which creates the line and the large author spacing.
 */
.ml-k2-testimonial__footer {
	display: block;
	width: 100%;
	margin: 0;
	padding: clamp(60px, 9vh, 100px) 0 40px !important;
	border-top: 1px solid var(--ml-k2-line-light) !important;
	background: var(--ml-k2-olive-900) !important;
	font-family: 'Gotham', 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	font-weight: 300 !important;
	line-height: 1.7 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
	text-align: center !important;
	color: var(--ml-k2-muted-light) !important;
}

.ml-k2-testimonial__name {
	font-weight: 600 !important;
	color: var(--ml-k2-sand-50) !important;
}

.ml-k2-testimonial__meta {
	font-weight: 300 !important;
	color: var(--ml-k2-muted-light) !important;
}

.ml-k2-testimonial__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(30px, 4vh, 44px);
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot {
	appearance: none !important;
	-webkit-appearance: none !important;

	display: block !important;

	flex: 0 0 10px !important;

	width: 10px !important;
	height: 10px !important;

	min-width: 10px !important;
	min-height: 10px !important;
	max-width: 10px !important;
	max-height: 10px !important;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	border-radius: 50% !important;

	outline: 0;

	background: rgba(241, 241, 238, .3) !important;
	background-image: none !important;

	box-shadow: none !important;

	font-size: 0 !important;
	line-height: 0 !important;

	cursor: pointer;

	transform: none;

	transition:
		background-color .3s ease,
		transform .3s var(--ml-k2-ease);
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot.is-active {
	background: var(--ml-k2-orange) !important;
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot:hover {
	background: rgba(241, 241, 238, .45) !important;
	transform: scale(1.15);
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot.is-active:hover {
	background: var(--ml-k2-orange) !important;
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot:focus,
.ml-k2-testimonial-section button.ml-k2-testimonial__dot:active {
	width: 10px !important;
	height: 10px !important;
	min-width: 10px !important;
	min-height: 10px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
}

.ml-k2-testimonial-section button.ml-k2-testimonial__dot:focus-visible {
	outline: 2px solid var(--ml-k2-orange) !important;
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.ml-k2-testimonial-section {
		padding: 80px 0;
	}

	.ml-k2-testimonial-slider {
		margin-top: 38px;
	}

	.ml-k2-testimonial__footer {
		padding: 60px 0 40px !important;
		font-size: 11px !important;
		letter-spacing: .1em !important;
	}

	.ml-k2-testimonial__dots {
		margin-top: 30px;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ml-k2-testimonial.is-active {
		animation: none !important;
	}

	.ml-k2-testimonial__dot {
		transition: none !important;
	}
}
