/**
 * Testimonials Marquee Styles
 * Post ID: 28398
 */

.tm-28398 {
	position: relative;
	background-color: #F4F5F7;
	padding: 90px 0;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
}

/* Optional Header */
.tm-28398 .tm-28398__header {
	text-align: center;
	max-width: 860px;
	margin: 0 auto 48px auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.tm-28398 .tm-28398__eyebrow {
	font-family: 'azo-sans-web', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #C8102E;
	margin-bottom: 12px;
	display: block;
}

.tm-28398 .tm-28398__heading {
	font-family: 'azo-sans-web', sans-serif;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
	color: #232A31;
	letter-spacing: -0.01em;
	margin: 0;
}

/* Marquee Wall Container */
.tm-28398 .tm-28398__wall {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-bottom: 48px;
}

.tm-28398 .tm-28398__wall--fade-edges {
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 3%, #000000 8%, #000000 92%, rgba(0, 0, 0, 0.4) 97%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 3%, #000000 8%, #000000 92%, rgba(0, 0, 0, 0.4) 97%, transparent 100%);
}

/* Marquee Track & Groups */
.tm-28398 .tm-28398__marquee {
	overflow: hidden;
	width: 100%;
	position: relative;
}

.tm-28398 .tm-28398__track {
	display: flex;
	width: max-content;
	gap: 24px;
}

.tm-28398 .tm-28398__group {
	display: flex;
	gap: 24px;
	flex-shrink: 0;
	will-change: transform;
}

/* Keyframes */
@keyframes tm-scroll-left-28398 {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

@keyframes tm-scroll-right-28398 {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0);
	}
}

.tm-28398 .tm-28398__marquee--left .tm-28398__group {
	animation: tm-scroll-left-28398 var(--tm-speed, 40s) linear infinite;
}

.tm-28398 .tm-28398__marquee--right .tm-28398__group {
	animation: tm-scroll-right-28398 var(--tm-speed, 45s) linear infinite;
}

/* Pause on Hover */
.tm-28398 .tm-28398__wall--pause-hover .tm-28398__marquee:hover .tm-28398__group {
	animation-play-state: paused;
}

/* Card Styling */
.tm-28398 .tm-28398__card {
	width: 400px;
	background-color: var(--tw-color-white, #FFFFFF);
	border-radius: 4px;
	padding: 32px 30px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
	flex-shrink: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	user-select: text;
}

.tm-28398 .tm-28398__card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.tm-28398 .tm-28398__quote-icon {
	color: #C8102E;
	margin-bottom: 18px;
	display: inline-block;
	line-height: 1;
}

.tm-28398 .tm-28398__quote-text {
	font-family: 'azo-sans-web', sans-serif;
	font-size: var(--tw-body-size, 15px);
	line-height: 1.6;
	color: #334155;
	margin: 0 0 24px 0;
}

.tm-28398 .tm-28398__author-wrap {
	display: block;
	margin-top: auto;
}

.tm-28398 .tm-28398__author {
	font-family: 'azo-sans-web', sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: #0F172A;
	display: block;
	line-height: 1.3;
}

/* Footer / CTA Button */
.tm-28398 .tm-28398__footer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0 24px;
	box-sizing: border-box;
}

.tm-28398 .tm-28398__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #FDE8E9;
	color: #C8102E;
	border: 2px solid #C8102E;
	border-radius: 4px;
	padding: 14px 44px;
	font-family: 'azo-sans-web', sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: all 0.25s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.tm-28398 .tm-28398__btn:hover {
	background-color: #C8102E;
	color: var(--tw-color-white, #FFFFFF);
}

/* Responsive & Reduced Motion */
@media (max-width: 768px) {
	.tm-28398 {
		padding: 60px 0;
	}

	.tm-28398 .tm-28398__card {
		width: 320px;
		padding: 24px 20px;
	}

	.tm-28398 .tm-28398__quote-text {
		font-size: 14px;
		margin-bottom: 18px;
	}

	.tm-28398 .tm-28398__btn {
		width: 90%;
		max-width: 380px;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tm-28398 .tm-28398__group {
		animation: none !important;
	}

	.tm-28398 .tm-28398__marquee {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
