/**
 * Testimonial Module
 *
 * Styles for template-parts/modules/testimonial_module.php
 */

.testimonial-module {
	overflow: hidden;background-color:Var(--dark-green)
}

/* Image panel — fills equal-height row column */
.quote-image {
	position: relative;
	min-height: 480px;
	height: 100%;
	overflow: hidden;
}

.quote-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Content panel */
.quote-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: 80px 64px;
	height: 100%;
}

.quote-open {
	font-family: var(--header);
	font-size: 6rem;
	line-height: 1;
	color: var(--yellow);
	margin-bottom: -24px; margin-bottom: -54px;
}

.quote-text p {
	font-family: var(--header);
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	line-height: 1.6;
	color: var(--white);
	font-size: 2.375rem;
    line-height: 1.16;
}

.quote-text p:last-child { margin-bottom: 0; }

.quote-citation {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 8px;
	border-top: 2px solid var(--primary);
}
.quote-citation p {}
.quote-name {
	font-weight: var(--semi);
	font-size: 1rem;
	color: var(--white);
	font-size: 1.125rem;
  font-style: normal;
  line-height: 1.625rem;
}

.quote-role {
	font-size: 0.875rem;
	color: var(--white);
	font-size: 1.125rem;
  font-style: normal;
  line-height: 1.625rem;
}

/* No image — centred layout */
.testimonial-module .col-lg-8 .quote-content {
	padding: 80px 0;
	align-items: center;
	text-align: center;
}

.testimonial-module .col-lg-8 .quote-citation {
	align-items: center;
}
.photo-credit {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 20px;
  color: var(--white);
}
@media (max-width: 992px) {
	.quote-image { min-height: 360px; }
	.quote-content { padding: 60px 40px; }

.quote-text p {
font-size: 1.8125rem;
  font-weight: 500;
  line-height: 1.17;
}

}

@media (max-width: 768px) {
	.quote-image { min-height: 280px; }
	.quote-content { padding: 48px 24px; }
	.quote-open { font-size: 4rem; }
}
