/* GYWS Testimonials – styled to match the GYWS site. Override the variables to restyle. */
.gyws-testimonials {
	--gyws-t-bg: #ffffff;
	--gyws-t-ink: #0b1b33;
	--gyws-t-text: #2b3a4d;
	--gyws-t-muted: #5f6b7a;
	--gyws-t-border: #e3e8ef;
	--gyws-t-accent: #1e9c8c;
	--gyws-t-accent-soft: #5fe0cf;
	--gyws-t-radius: 14px;
	--gyws-t-shadow: 0 10px 30px rgba(11, 27, 51, 0.08);
	margin: 0;
	font-family: inherit;
}

.gyws-testimonials__heading {
	margin: 0 0 1.25rem;
	color: var(--gyws-t-ink);
}

.gyws-testimonials__list {
	display: grid;
	gap: 1.5rem;
}

.gyws-testimonials--quote .gyws-testimonials__list {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Card */
.gyws-testimonial {
	position: relative;
	margin: 0;
	padding: 2rem 1.75rem 1.6rem;
	background: var(--gyws-t-bg);
	border: 1px solid var(--gyws-t-border);
	border-top: 4px solid var(--gyws-t-accent);
	border-radius: var(--gyws-t-radius);
	box-shadow: var(--gyws-t-shadow);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Large quote mark */
.gyws-testimonial::before {
	content: "\201C";
	position: absolute;
	top: 0.4rem;
	right: 1.4rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4.5rem;
	line-height: 1;
	color: var(--gyws-t-accent-soft);
	opacity: 0.55;
	pointer-events: none;
}

/* Reset theme blockquote styling */
.gyws-testimonial .gyws-testimonial__quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: normal;
	quotes: none;
	color: var(--gyws-t-text);
}

.gyws-testimonial .gyws-testimonial__quote::before,
.gyws-testimonial .gyws-testimonial__quote::after {
	content: none;
}

.gyws-testimonial__quote p {
	margin: 0 0 0.9em;
	line-height: 1.65;
}

.gyws-testimonial__quote p:last-child {
	margin-bottom: 0;
}

.gyws-testimonials--quote .gyws-testimonial__quote p {
	font-size: 1.05rem;
	line-height: 1.55;
	padding-right: 2.5rem;
}

.gyws-testimonials--full .gyws-testimonial {
	padding: 2.4rem 2.2rem 2rem;
}

.gyws-testimonials--full .gyws-testimonial__quote p {
	font-size: 1.02rem;
}

.gyws-testimonials--full .gyws-testimonial__quote p:first-child {
	padding-right: 3rem;
}

/* Attribution */
.gyws-testimonial__cite {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--gyws-t-border);
	font-size: 0.95rem;
}

.gyws-testimonial__name {
	font-weight: 700;
	color: var(--gyws-t-ink);
}

.gyws-testimonial__org {
	color: var(--gyws-t-muted);
}

.gyws-testimonial__org a {
	color: var(--gyws-t-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Links */
.gyws-testimonial__links,
.gyws-testimonials__more {
	margin: 0;
	font-size: 0.95rem;
}

.gyws-testimonials__more {
	margin-top: 1.4rem;
}

.gyws-testimonial__links a,
.gyws-testimonials__more a {
	font-weight: 700;
	color: var(--gyws-t-accent);
	text-decoration: none;
}

.gyws-testimonial__links a::after,
.gyws-testimonials__more a::after {
	content: " \2192";
}

.gyws-testimonial__links a:hover,
.gyws-testimonials__more a:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.gyws-testimonial,
	.gyws-testimonials--full .gyws-testimonial {
		padding: 1.75rem 1.25rem 1.4rem;
	}
	.gyws-testimonial::before {
		font-size: 3.5rem;
		right: 1rem;
	}
}
