#top .scholar-testimonial-library {
	padding: 56px 0 76px;
	font-family: 'open sans', Helvetica, Arial, sans-serif;
}

#top .scholar-library-group {
	margin: 0 0 58px;
	scroll-margin-top: 120px;
}

#top .scholar-library-group h2 {
	margin: 0 0 22px;
	padding: 0 0 12px;
	border-bottom: 1px solid #d8bd96;
	color: #12173e;
	font-family: 'cormorant garamond', Georgia, serif;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.08;
}

#top .scholar-library-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

#top .scholar-library-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid #e2d4c0;
	background: #fff;
	box-shadow: 0 12px 30px rgba(18, 23, 62, .045);
}

#top .scholar-library-card__top,
#top .scholar-testimonial-embed__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 32px;
}

#top .scholar-testimonial-school {
	display: block;
	flex: 1 1 0;
	min-width: 0;
	color: #c9a373;
	font-family: 'open sans', Helvetica, Arial, sans-serif;
	font-size: clamp(12px, 2.8vw, 14px);
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

#top .scholar-library-card__image,
#top .scholar-testimonial-embed__logo {
	position: relative;
	width: 118px;
	height: 62px;
	flex: 0 0 auto;
	text-align: right;
	overflow: hidden;
}

#top .scholar-library-card__image.is-cropped img,
#top .scholar-testimonial-embed__logo.is-cropped img {
	position: absolute;
	left: var(--scholar-card-logo-left);
	top: var(--scholar-card-logo-top);
	width: var(--scholar-card-logo-width);
	max-width: none;
	max-height: none;
}

#top .scholar-library-card__image img,
#top .scholar-testimonial-embed__logo img {
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

#top .scholar-library-card blockquote {
	margin: 12px 0 24px;
	padding: 0;
	border: 0;
	background: none;
	color: #12173e;
	font-family: 'cormorant garamond', Georgia, serif;
	font-size: clamp(23px, 2.1vw, 29px);
	font-style: italic;
	font-weight: 400;
	line-height: 1.23;
	text-align: left;
}

#top .scholar-library-card blockquote::before {
	content: '“';
	display: block;
	height: 34px;
	color: #c9a373;
	font-size: 70px;
	font-style: normal;
	line-height: .7;
}

#top .scholar-library-card blockquote p {
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

#top .scholar-library-card footer {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid #d8bd96;
	color: #bc9565;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	text-transform: uppercase;
}

#top .scholar-library-card footer strong {
	color: #12173e;
	font-size: 17px;
	letter-spacing: .06em;
}

#top .scholar-library-card .scholar-testimonial-attribution {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#top .scholar-testimonial-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 14px;
	font-family: 'open sans', Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
	text-transform: none;
}

#top .scholar-testimonial-actions a {
	color: #12173e;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .scholar-testimonial-actions a:hover,
#top .scholar-testimonial-actions a:focus-visible {
	color: #a67943;
}

#top .scholar-results-section .scholar-testimonial-embed--featured blockquote,
#top .scholar-results-section .scholar-testimonial-embed--card blockquote {
	font-style: italic;
}

#top .scholar-results-section .scholar-testimonial-attribution {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	font-family: 'open sans', Helvetica, Arial, sans-serif;
	line-height: 1.5;
	text-transform: uppercase;
}

#top .scholar-results-section .scholar-testimonial-attribution strong {
	color: #12173e;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .06em;
}

#top .scholar-results-section .scholar-testimonial-attribution .scholar-testimonial-reference {
	color: #bc9565;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
}

#top .scholar-results-section .scholar-testimonial-embed--card {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

#top .scholar-results-section .scholar-testimonial-embed--card .scholar-quote-card__footer {
	margin-top: auto;
}

/* Testimonials page introduction, school navigation, and final enquiry. */
#top .scholar-testimonials-page-section > .container { width: min(91%, 1390px); max-width: 1390px; }
#top .scholar-testimonials-page-section .template-page { padding: 0; }
#top .scholar-testimonials-page-section .entry-content-wrapper { padding: clamp(72px, 7vw, 104px) 0; }
#top .scholar-testimonials-page-section .av-special-heading { margin: 0 0 22px !important; padding: 0; }
#top .scholar-testimonials-page-section .av-special-heading .special-heading-border { display: none !important; }
#top .scholar-testimonials-page-section .scholar-testimonials-page-eyebrow p {
	margin: 0 0 18px; color: #c9a373; font: 700 11px/1.5 'open sans', Helvetica, Arial, sans-serif; letter-spacing: .19em; text-transform: uppercase;
}
#top #wrap_all .scholar-testimonials-page-intro .scholar-testimonials-page-title .av-special-heading-tag {
	float: none; display: block; color: #c9a373; font: 400 clamp(42px, 5vw, 60px)/1.04 'cormorant garamond', Georgia, serif !important;
}
#top .scholar-testimonials-page-intro .scholar-testimonials-page-copy p {
	max-width: 800px; margin: 0; color: #fff; font: 400 clamp(21px, 2.15vw, 28px)/1.35 'cormorant garamond', Georgia, serif;
}
#top .scholar-testimonials-page-index { background: #f7f5f1; }
#top .scholar-testimonials-page-index .scholar-testimonials-page-eyebrow p { color: #a47a49; }
#top #wrap_all .scholar-testimonials-page-index .scholar-testimonials-page-title .av-special-heading-tag,
#top #wrap_all .scholar-testimonials-page-cta .scholar-testimonials-page-title .av-special-heading-tag {
	float: none; display: block; color: #12173e; font: 400 40px/1.07 'cormorant garamond', Georgia, serif !important;
}
#top .scholar-testimonial-school-index {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 30px;
}
#top .scholar-testimonial-school-index__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 135px;
	padding: 18px 12px; border: 1px solid #dfd0bc; background: #fff; text-align: center; text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#top .scholar-testimonial-school-index__link:hover,
#top .scholar-testimonial-school-index__link:focus-visible { border-color: #c9a373; box-shadow: 0 10px 24px rgba(18,23,62,.1); transform: translateY(-3px); }
#top .scholar-testimonial-school-index__link:focus-visible { outline: 2px solid #12173e; outline-offset: 3px; }
#top .scholar-testimonial-school-index__logo { margin: 0 auto; text-align: center; }
#top .scholar-testimonial-school-index__name {
	color: #12173e; font: 700 11px/1.4 'open sans', Helvetica, Arial, sans-serif; letter-spacing: .025em;
}
#top .scholar-testimonial-school-index__link.is-text-only .scholar-testimonial-school-index__name {
	font: 400 25px/1.05 'cormorant garamond', Georgia, serif;
}
#top .scholar-testimonials-page-cta { background: #c9a373; }
#top .scholar-testimonials-page-cta .entry-content-wrapper { text-align: center; }
#top .scholar-testimonials-page-cta .scholar-testimonials-page-eyebrow p { color: #12173e; }
#top .scholar-testimonials-page-cta .scholar-testimonials-page-button .avia-button {
	margin-top: 14px; padding: 17px 28px; border: 1px solid #12173e; border-radius: 0; background: #12173e; color: #fff;
	font: 700 12px/1.3 'open sans', Helvetica, Arial, sans-serif; text-transform: uppercase;
}
#top .scholar-testimonials-page-cta .scholar-testimonials-page-button .avia-button:hover { border-color: #fff; background: #fff; color: #12173e; }

@media (max-width: 1024px) {
	#top .scholar-testimonial-school-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	#top .scholar-testimonials-page-section > .container { width: calc(100% - 42px); }
	#top .scholar-testimonials-page-section .entry-content-wrapper { padding: 62px 0 66px; }
	#top .scholar-testimonial-school-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	#top .scholar-testimonial-school-index__link { min-height: 120px; padding: 13px 8px; }
	#top .scholar-testimonial-school-index__name { font-size: 10px; }
	#top .scholar-library-grid {
		grid-template-columns: 1fr;
	}

	#top .scholar-testimonial-library {
		padding: 42px 0 56px;
	}

	#top .scholar-library-group {
		margin-bottom: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#top .scholar-testimonial-school-index__link { transition: none; }
	#top .scholar-testimonial-school-index__link:hover,
	#top .scholar-testimonial-school-index__link:focus-visible { transform: none; }
}
