/* Extima testimonials grid (mu-plugin extima-testimonials v0.2.7 file testimonials-r2.css, 2026-11-01, Cooper card 1be8).
 * Layout only + the card / filter / pager / video facade. Colours come from the Elementor Kit globals
 * (--e-global-color-*); the section background, hero and CTA band are Elementor controls on the page. */

.ext-tst { width: 100%; margin: 0 auto; }

/* Filter */
.ext-tst-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 32px; }
.ext-tst-filter__label { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--e-global-color-secondary, #1E346D); }
.ext-tst-filter__control { position: relative; display: inline-block; }
.ext-tst-filter__control::after {
	content: ""; position: absolute; top: 50%; right: 16px; width: 9px; height: 9px; margin-top: -7px; pointer-events: none;
	border-right: 2px solid var(--e-global-color-primary, #1491C9); border-bottom: 2px solid var(--e-global-color-primary, #1491C9);
	transform: rotate(45deg);
}
.ext-tst-filter__select {
	-webkit-appearance: none; appearance: none; min-width: 215px; height: 46px; margin: 0; padding: 0 46px 0 16px;
	font: inherit; font-size: 17px; line-height: 44px; color: var(--e-global-color-text, #424242);
	background: #fff; border: 1px solid #d5dbe3; border-radius: 4px; cursor: pointer;
}
.ext-tst-filter__select:focus-visible { outline: 3px solid var(--e-global-color-primary, #1491C9); outline-offset: 2px; }
.ext-tst-filter__go {
	height: 46px; padding: 0 22px; font: inherit; font-weight: 600; color: #fff; cursor: pointer;
	background: var(--e-global-color-accent, #B50EC4); border: 0; border-radius: 30px;
}

/* Masonry: CSS columns, DOM order = newest first */
.ext-tst__grid { column-count: 2; column-gap: 30px; }
.ext-tst-item { display: block; padding: 0 0 30px; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.ext-tst-card { display: block; width: 100%; margin: 0; padding: 34px 37px 32px; background: #fff; border-radius: 20px; box-sizing: border-box; }
.ext-tst-card__logo { margin: 0 0 28px; }
.ext-tst-card__logo-img { display: block; width: auto; height: auto; max-width: 180px; max-height: 70px; }
.ext-tst-card__quote { margin: 0 0 22px; padding: 0; border: 0; font-size: 18px; line-height: 1.45; font-style: normal; color: var(--e-global-color-text, #424242); }
.ext-tst-card__quote p { margin: 0 0 12px; }
.ext-tst-card__quote p:last-child { margin-bottom: 0; }
.ext-tst-card__by { display: block; font-size: 17px; line-height: 1.45; color: var(--e-global-color-text, #424242); }
.ext-tst-card__name, .ext-tst-card__role, .ext-tst-card__place { display: block; }
.ext-tst-card__name { font-weight: 700; color: var(--e-global-color-secondary, #1E346D); }
.ext-tst-card__place { margin-top: 18px; font-weight: 700; color: var(--e-global-color-primary, #1491C9); }

/* Video facade: a link to YouTube; the script swaps in a youtube-nocookie player on click */
.ext-tst-card__media { margin: -12px -13px 30px; }
.ext-tst-video { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #0b1730; }
.ext-tst-video__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* v0.2.9 (card 1be8, Quincy P1): Elementor's `.elementor img { height: auto }` beat the rule above, so 4:3 YouTube stills showed their black bars in the 16:9 frame. */
.ext-tst .ext-tst-video__img { height: 100%; }
.ext-tst-video__play {
	position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
	background: rgba(255, 255, 255, .92); box-shadow: 0 4px 18px rgba(0, 0, 0, .25); transition: transform .2s ease;
}
.ext-tst-video__play::after {
	content: ""; position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -7px;
	border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--e-global-color-accent, #B50EC4);
}
.ext-tst-video:hover .ext-tst-video__play, .ext-tst-video:focus-visible .ext-tst-video__play { transform: scale(1.08); }
.ext-tst-video:focus-visible { outline: 3px solid var(--e-global-color-primary, #1491C9); outline-offset: 3px; }
.ext-tst-video__frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* Astra underlines .entry-content links on singular pages (0,2,1); these links are buttons/media, not prose. */
.ext-tst .ext-tst-pager a.page-numbers, .ext-tst .ext-tst-card a.ext-tst-video { text-decoration: none; }

.ext-tst__empty { margin: 0 0 30px; font-size: 18px; }

/* Numbered pagination (site pill buttons, Kit accent) */
.ext-tst-pager { margin: 10px 0 0; }
.ext-tst-pager__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ext-tst-pager__list li { margin: 0; padding: 0; }
.ext-tst-pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px;
	font-size: 16px; font-weight: 600; letter-spacing: 1px; line-height: 1; text-decoration: none; box-sizing: border-box;
	color: var(--e-global-color-accent, #B50EC4); background: #fff; border: 2px solid var(--e-global-color-accent, #B50EC4); border-radius: 30px;
	transition: background-color .2s ease, color .2s ease;
}
.ext-tst-pager a.page-numbers:hover, .ext-tst-pager a.page-numbers:focus-visible { color: #fff; background: var(--e-global-color-accent, #B50EC4); }
.ext-tst-pager a.page-numbers:focus-visible { outline: 3px solid var(--e-global-color-primary, #1491C9); outline-offset: 2px; }
.ext-tst-pager .page-numbers.current { color: #fff; background: var(--e-global-color-accent, #B50EC4); }
.ext-tst-pager .page-numbers.dots { border-color: transparent; background: transparent; min-width: 24px; padding: 0 4px; }

@media (max-width: 1024px) {
	.ext-tst-card { padding: 30px 28px 28px; }
	.ext-tst-card__media { margin: -10px -10px 26px; }
}
@media (max-width: 767px) {
	.ext-tst__grid { column-count: 1; }
	.ext-tst-filter { margin-bottom: 24px; }
	.ext-tst-filter__select { min-width: 200px; }
	.ext-tst-item { padding-bottom: 20px; }
	.ext-tst-card { padding: 26px 22px 24px; }
	.ext-tst-card__media { margin: -8px -8px 22px; }
	.ext-tst-card__quote { font-size: 16px; }
	.ext-tst-card__by { font-size: 16px; }
	.ext-tst-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ext-tst-video__play, .ext-tst-pager .page-numbers { transition: none; }
}

/* v0.2.2: photo cards (Featured Image shown before a YouTube link exists), page/filter jumps land on the section
 * below the fixed 80px header, and the hero fades in (heading, then button, then photo). CSS only: Elementor
 * entrance animations need JS that WP Rocket delays, which can leave content hidden. */
.ext-tst-photo { display: block; overflow: hidden; border-radius: 12px; }
.ext-tst-photo__img { display: block; width: 100%; height: auto; }
#testimonials { scroll-margin-top: 80px; }
@keyframes ext-tst-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ext-tst-fade { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.elementor-17145 .elementor-element-4e56a74 { animation: ext-tst-rise .8s cubic-bezier(.2, .7, .2, 1) .1s both; }
	.elementor-17145 .elementor-element-198cb02 { animation: ext-tst-rise .8s cubic-bezier(.2, .7, .2, 1) .35s both; }
	.elementor-17145 .elementor-element-600b4e0 { animation: ext-tst-fade 1s cubic-bezier(.2, .7, .2, 1) .55s both; }
}

/* v0.2.7 (2026-11-01, card 1be8): margins match the homepage (Ashley). Hero edges follow the home hero, including its
 * 1025-1120 header-logo band; the grid fills the 1510 Kit container, its old 1170 cap is gone. */
body .elementor-17145 .elementor-element.elementor-element-619e875 { --padding-left: 0px; --padding-right: 0px; }
@media (min-width: 1025px) {
	body .elementor-17145 .elementor-element.elementor-element-33c7d97 { --padding-left: 0px; --padding-right: 0px; }
	body .elementor-17145 .elementor-element.elementor-element-d113923 { margin-left: auto; }
}
@media (min-width: 1121px) {
	body .elementor-17145 .elementor-element.elementor-element-746355b { --padding-left: 40px; --padding-right: 40px; }
}
@media (max-width: 767px) {
	body .elementor-17145 .elementor-element.elementor-element-0e2ce9d { --padding-left: 20px; --padding-right: 20px; }
}
