/*
 * Technical Committee testimonials (prototype committee.html "committee-testimonials"): heading left, round arrows
 * right, two quote cards beneath. Pager contract: .is-style-pager > .pager__track (the slides) + .pager__nav.
 * Two cards side by side from 1024px, one at a time below (the arrows page through).
 */
.section-committee-testimonials .is-style-pager {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
}

/* the prototype's eyebrow is a flex item here, so there is no 24px line box around it */
.section-committee-testimonials .committee-testimonials__head .is-style-eyebrow-rule {
	display: block;
}

.section-committee-testimonials .committee-testimonials__head {
	min-width: 0;
}

.section-committee-testimonials .pager__nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 25px 0 0;
}

.section-committee-testimonials .pager__track {
	display: flex;
	gap: 32px;
	margin-top: 30px;
	padding-bottom: 10px;
	flex-direction: column;
	scrollbar-width: none;
}

.section-committee-testimonials .pager__track::-webkit-scrollbar {
	display: none;
}

.section-committee-testimonials .pager__track > * {
	flex: none;
	min-width: 0;
	scroll-snap-align: start;
}

@media (width >= 1024px) {
	.section-committee-testimonials .pager__track {
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.section-committee-testimonials .is-style-pager {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.section-committee-testimonials .pager__nav {
		margin-top: 0;
	}

	.section-committee-testimonials .pager__track {
		grid-column: 1 / -1;
	}

	.section-committee-testimonials .pager__track > * {
		flex: 0 0 calc((100% - 32px) / 2);
	}
}

.committee-quote {
	display: flex;
	flex-direction: column;
	border-radius: var(--wp--custom--radius--card);
}

/* the coral quote marks (prototype .quote-mark) */
.committee-quote__text::before,
.committee-quote__text::after {
	color: var(--wp--preset--color--coral);
	font-size: 1.5em;
	font-weight: 700;
	line-height: 0;
	user-select: none;
}

.committee-quote__text::before {
	content: "\201C";
	margin-left: -0.26em;
	margin-right: 0.04em;
}

.committee-quote__text::after {
	content: "\201D";
	margin-left: 0.06em;
	vertical-align: -0.12em;
}

.wp-block-group.committee-quote__by {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
	padding-top: 15px;
	border-top: 1px solid var(--wp--preset--color--greige);
}

.committee-quote__avatar {
	flex: none;
	margin: 0;
}

.committee-quote__avatar img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.committee-quote__who {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.committee-quote__who > * {
	margin: 0;
}
