/**
 * Theme Name: Populi Theme
 * Description: Blocksy Child theme
 * Author: Virtually Created
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Program testimonial cards */

.populi-testimonials {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 24px 40px;
}

.populi-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100%;
	padding: 34px 30px;
	background: #ffffff;
	border: 2px solid var(--program-color, #F2994A);
	box-shadow: 0 10px 25px rgba(0,32,96,.08);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 32, 96, 0.08);
	text-align: center;
	border-top: 4px solid var(--program-color, #F2994A);
}

.populi-testimonial {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.populi-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 32, 96, 0.10);
}

.populi-testimonial::before {
	content: "“";
	display: block;
	margin-bottom: -10px;
	color: var(--program-color, #F2994A);
	font-size: 68px;
	font-weight: 700;
	line-height: 1;
}

.populi-testimonial__photo {
	width: 120px;
	height: 120px;
	margin-bottom: 24px;
}

.populi-testimonial__image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit:contain;
}

.populi-testimonial__quote {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	color: var(--program-color, #002060);
	font-size: 17px;
	font-style: normal;
	line-height: 1.6;
}

.populi-testimonial__quote{
    margin:20px 0 28px;
}

.populi-testimonial__attribution {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
}

.populi-testimonial__name {
	color: var(--program-color, #002060);
	font-size: 16px;
}

.populi-testimonial__role {
	color: #000000;
	font-size: 14px;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.populi-testimonials {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.populi-testimonials {
		grid-template-columns: 1fr;
		padding-right: 16px;
		padding-left: 16px;
	}

	.populi-testimonial {
		padding: 28px 22px;
	}
}