/* Recognized Testimonials. Each testimonial is a message bubble with a solid background,
   with the name and role under it. Fits the width of the container it is placed in. */

.elementor .rtm {
	--rtm-green: #00ff00;
	--rtm-bubble: #2b2b2b;
	--rtm-bubble-hover: #353535;
	--rtm-text: #ffffff;
	--rtm-sub: #a3a3a3;
	--rtm-cols: 3;
	container-type: inline-size;
	display: block;
	width: 100%;
	min-width: 0;
	color: var(--rtm-text);
	font-family: inherit;
}

.elementor .rtm *,
.elementor .rtm *::before,
.elementor .rtm *::after {
	box-sizing: border-box;
}

.elementor .rtm h2,
.elementor .rtm p,
.elementor .rtm ul,
.elementor .rtm figure,
.elementor .rtm blockquote {
	margin: 0;
	padding: 0;
	font-family: inherit;
}

.elementor .rtm blockquote {
	border: 0;
	font-style: normal;
	quotes: none;
}

.elementor .rtm blockquote::before,
.elementor .rtm blockquote::after {
	content: none;
}

/* Heading block */

.elementor .rtm-head {
	max-width: 46rem;
	margin-bottom: 36px;
}

.elementor .rtm-kicker {
	margin-bottom: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--rtm-green);
}

.elementor .rtm .rtm-heading {
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--rtm-text);
}

.elementor .rtm-intro {
	margin-top: 12px;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--rtm-sub);
}

/* Messages flow into columns at their natural height */

.elementor .rtm .rtm-wall {
	list-style: none;
	columns: var(--rtm-cols);
	column-gap: 24px;
}

.elementor .rtm-msg {
	position: relative;
	display: block;
	margin: 0 0 28px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

/* The bubble: solid fill, rounded, with the bottom left corner tucked in like a received message */

.elementor .rtm .rtm-bubble {
	position: relative;
	padding: 18px 20px;
	border-radius: 22px 22px 22px 6px;
	background: var(--rtm-bubble);
	transition: background-color 0.2s ease;
}

.elementor .rtm-bubble p {
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--rtm-text);
}

/* Name and role under the bubble */

.elementor .rtm-meta {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 10px 8px 0;
}

.elementor .rtm-name {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rtm-text);
}

.elementor .rtm-role {
	font-size: 0.85rem;
	line-height: 1.35;
	color: var(--rtm-sub);
}

/* Linked messages: the whole message opens the original comment */

.elementor .rtm a.rtm-link {
	color: inherit;
	text-decoration: none;
}

.elementor .rtm-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.elementor .rtm-link:focus-visible {
	outline: none;
}

.elementor .rtm-msg--link:focus-within .rtm-bubble {
	outline: 3px solid var(--rtm-green);
	outline-offset: 3px;
}

.elementor .rtm-msg--link:hover .rtm-bubble {
	background: var(--rtm-bubble-hover);
}

.elementor .rtm-msg--link:hover .rtm-name {
	text-decoration: underline;
	text-decoration-color: var(--rtm-green);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.elementor .rtm-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Narrower containers */

@container (max-width: 900px) {
	.elementor .rtm .rtm-wall {
		columns: 2;
	}
}

@container (max-width: 580px) {
	.elementor .rtm .rtm-wall {
		columns: 1;
	}

	.elementor .rtm-head {
		margin-bottom: 26px;
	}

	.elementor .rtm-msg {
		margin-bottom: 22px;
	}

	.elementor .rtm-bubble p {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor .rtm .rtm-bubble {
		transition: none;
	}
}
