.ebx-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: .8rem;
    margin-top: 1.25rem;
    font-family: var(--everblue-font-family, "Outfit", sans-serif);
}
.ebx-testimonials-grid[data-count="1"] { grid-template-columns: minmax(0, 760px); }
.ebx-testimonial-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    align-self: start;
    padding: 1rem;
    border: 1px solid rgba(201, 161, 99, .3);
    border-radius: 1rem;
    background: radial-gradient(circle at 92% 8%, rgba(201, 161, 99, .16), transparent 30%), linear-gradient(145deg, #182a46, #0c1524 72%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    color: #cbd5e1;
}
.ebx-testimonial-card.has-photo { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 1.25rem; }
.ebx-testimonial-card__photo { width: 80px; height: 80px; border: 1px solid rgba(201, 161, 99, .35); border-radius: 50%; object-fit: cover; }
.ebx-testimonial-card__body { min-width: 0; }
.ebx-testimonial-card__quote { display: block; height: 1.25rem; color: #c9a163; font-family: Georgia, serif; font-size: 2.25rem; line-height: .75; }
.ebx-testimonial-card__headline { margin: .3rem 0 .45rem; color: #f2e4b7; font-size: 1rem; line-height: 1.3; }
.ebx-testimonial-card__secondary { margin: 0 0 .35rem !important; color: #c9a163 !important; font-size: .72rem !important; line-height: 1.35 !important; }
.ebx-testimonial-card p { margin: .6rem 0 0; color: #e3e9f1; font-size: .92rem; line-height: 1.55; }
.ebx-testimonial-card__details summary { margin-top: .75rem; color: #f2e4b7; cursor: pointer; font-size: .82rem; font-weight: 700; }
.ebx-testimonial-card__details > p:first-of-type { margin-top: .65rem; }
.ebx-testimonial-card__name { display: block; margin-top: .65rem; color: #fff; font-size: .86rem; line-height: 1.4; }
.ebx-testimonial-card__result { min-height: 1.25rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid rgba(255, 255, 255, .09); }
.ebx-testimonial-card__result > span { color: #f2e4b7; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ebx-testimonial-card__result b { color: #c9a163; font-size: 1rem; }
.ebx-testimonials__disclaimer { margin: .8rem 0 0; color: #9eacc1; font-size: .72rem; line-height: 1.45; text-align: center; }
.ebx-testimonials__video-reserve { min-height: 0; }
.ebx-shared-testimonials + .ebx-sl-proof-note { display: none; }
.ebx-shared-testimonials { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* One shared video carousel for Home and sales landings. The iframe is only
 * created after a visitor chooses a testimonial, keeping Bunny lazy. */
.ebx-video-testimonials { position: relative; margin-top: 1.5rem; }
.ebx-video-testimonials__controls { display: flex; justify-content: flex-end; gap: .6rem; margin-bottom: .85rem; }
.ebx-video-testimonials__controls button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid rgba(201, 161, 99, .42); border-radius: 999px; background: #132034; color: #f2e4b7; cursor: pointer; }
.ebx-video-testimonials__controls button:focus-visible,
.ebx-video-testimonial__launch:focus-visible { outline: 3px solid #f2e4b7; outline-offset: 3px; }
.ebx-video-testimonials__viewport { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: #c9a163 transparent; scrollbar-width: thin; }
.ebx-video-testimonials__track { display: grid; grid-auto-columns: minmax(210px, 260px); grid-auto-flow: column; justify-content: center; gap: 1rem; }
.ebx-video-testimonial { min-width: 0; overflow: hidden; border: 1px solid rgba(201, 161, 99, .3); border-radius: 1rem; background: linear-gradient(145deg, #182a46, #0c1524 72%); scroll-snap-align: start; }
.ebx-video-testimonial__launch { position: relative; display: grid; width: 100%; aspect-ratio: 9 / 16; place-content: center; gap: .6rem; overflow: hidden; border: 0; background: #0b111e; color: #fff; font: inherit; font-weight: 700; cursor: pointer; isolation: isolate; }
.ebx-video-testimonial__launch.is-playing { visibility: hidden; }
.ebx-video-testimonial__launch > img { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 100%; max-width: none; max-height: none; opacity: 1; object-fit: cover; object-position: center; }
.ebx-video-cta__shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(to bottom, rgba(7, 12, 21, .05) 30%, rgba(7, 12, 21, .16) 56%, rgba(7, 12, 21, .78) 100%); transition: background-color .2s ease, background .2s ease; }
.ebx-video-cta { --ebx-cta-x: 50%; --ebx-cta-y: 50%; --ebx-cta-label-gap: clamp(2.25rem, 4vw, 4rem); --ebx-cta-label-safe: 3.25rem; }
.ebx-video-cta__play { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255, 255, 255, .86); border-radius: 50%; background: rgba(7, 12, 21, .64); color: #fff; font-size: 0; box-shadow: 0 5px 18px rgba(0, 0, 0, .32); transform: scale(1); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ebx-video-cta__play::before { width: 0; height: 0; margin-left: 4px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid currentColor; content: ""; }
/* Approved posters already contain the orange play circle and white triangle.
 * Do not add a second decorative ring or animation around that artwork. */
.ebx-video-cta[data-ebx-approved-cover="1"] .ebx-video-cta__play { display: none; }
.ebx-video-cta[data-ebx-approved-cover="1"] .ebx-video-cta__label { position: absolute; z-index: 2; top: min(calc(var(--ebx-cta-y) + var(--ebx-cta-label-gap)), calc(100% - var(--ebx-cta-label-safe))); left: var(--ebx-cta-x); transform: translateX(-50%); }
.ebx-video-cta__label { position: relative; z-index: 1; width: max-content; max-width: calc(100% - 2rem); margin-inline: auto; padding: .42rem .78rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(7, 12, 21, .84); color: #fff; font-size: .8rem; font-weight: 750; line-height: 1.15; text-shadow: 0 1px 2px #000; }
.ebx-video-cta:focus-visible { outline: 3px solid #f2e4b7; outline-offset: 3px; }
.ebx-video-cta:focus-visible .ebx-video-cta__shade { background: linear-gradient(to bottom, rgba(7, 12, 21, .22) 26%, rgba(7, 12, 21, .38) 58%, rgba(7, 12, 21, .86) 100%); }
.ebx-video-cta:focus-visible .ebx-video-cta__play { background: rgba(7, 12, 21, .82); box-shadow: 0 8px 24px rgba(0, 0, 0, .42); transform: scale(1.12); }
@media (hover: hover) and (pointer: fine) { .ebx-video-cta:hover .ebx-video-cta__shade { background: linear-gradient(to bottom, rgba(7, 12, 21, .22) 26%, rgba(7, 12, 21, .38) 58%, rgba(7, 12, 21, .86) 100%); } }
@media (hover: hover) and (pointer: fine) { .ebx-video-cta:hover .ebx-video-cta__play { background: rgba(7, 12, 21, .82); box-shadow: 0 8px 24px rgba(0, 0, 0, .42); transform: scale(1.12); } }
@media (hover: none) { .ebx-video-cta:active .ebx-video-cta__shade { background: linear-gradient(to bottom, rgba(7, 12, 21, .22) 26%, rgba(7, 12, 21, .38) 58%, rgba(7, 12, 21, .86) 100%); } .ebx-video-cta:active .ebx-video-cta__play { transform: scale(1.1); background: rgba(7, 12, 21, .82); } }
@media (hover: none) and (prefers-reduced-motion: no-preference) { .ebx-video-cta__play { animation: ebx-video-cta-pulse 3.2s ease-in-out infinite; } }
@keyframes ebx-video-cta-pulse { 0%, 100% { box-shadow: 0 5px 18px rgba(0, 0, 0, .32); transform: scale(1); } 50% { box-shadow: 0 5px 25px rgba(201, 161, 99, .5); transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .ebx-video-cta__play, .ebx-video-cta__shade { animation: none; transition: none; } }
.ebx-video-testimonial__video { display: block; width: min(100%, calc(100vh * .5625)); max-height: 100%; aspect-ratio: 9 / 16; border: 0; background: #000; object-fit: contain; }
.ebx-video-testimonial__body { padding: 1.15rem; }
.ebx-video-testimonial__quote { display: block; height: .8rem; color: #c9a163; font-family: Georgia, serif; font-size: 2rem; line-height: .75; }
.ebx-video-testimonial h3 { margin: .55rem 0 .7rem; color: #f2e4b7; font-size: 1rem; line-height: 1.32; }
.ebx-video-testimonial__withdrawals { margin: 0; color: #c9a163; font-size: .88rem; font-weight: 800; line-height: 1.4; }
.ebx-video-testimonial__secondary { margin: .35rem 0 0; color: #f2e4b7; font-size: .72rem; line-height: 1.45; }
.ebx-video-testimonial strong { display: block; margin-top: .8rem; color: #fff; font-size: .9rem; }
.ebx-video-testimonial__highlight { min-height: 2.8em; margin: .45rem 0 .8rem; color: #cbd5e1; font-size: .82rem; line-height: 1.45; }
.home .ebx-video-testimonial__highlight { min-height: 0; }
.ebx-video-testimonial small { display: block; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1); color: #9eacc1; font-size: .7rem; line-height: 1.35; }
.ebx-video-testimonials__modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(4, 8, 15, .94); }
.ebx-video-testimonials__modal[hidden] { display: none; }
.ebx-video-testimonials__modal-player { display: grid; width: 100%; height: 100%; place-items: center; }
.ebx-video-testimonials__close { position: fixed; z-index: 1; top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(242, 228, 183, .75); border-radius: 50%; background: #132034; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
html.ebx-testimonial-modal-open { overflow: hidden; }

/* The nurture landing gets a stronger, conversion-focused carousel without
 * changing the shared Home component. The Bunny poster remains untouched. */
.everblue-sales-landing--nurture .ebx-shared-testimonials { padding-block: 0; }
.everblue-sales-landing--nurture .ebx-shared-testimonials__subtitle { margin: 0 0 1.5rem; color: #cbd5e1; font-size: 1rem; line-height: 1.6; }
.everblue-sales-landing--nurture .ebx-video-testimonials { margin-top: 1.15rem; }
.everblue-sales-landing--nurture .ebx-video-testimonials__track { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1.15rem); }
.everblue-sales-landing--nurture .ebx-video-testimonial { border-color: rgba(201, 161, 99, .72); box-shadow: 0 0 0 1px rgba(201, 161, 99, .11), 0 18px 38px rgba(0, 0, 0, .28), 0 0 24px rgba(201, 161, 99, .11); }
.everblue-sales-landing--nurture .ebx-video-testimonial__launch > img { opacity: 1; filter: none; }
.everblue-sales-landing--nurture .ebx-video-testimonial__withdrawals { color: #e5bc72; font-size: .96rem; }
.everblue-sales-landing--nurture .ebx-video-testimonial strong { font-size: 1rem; }
.everblue-sales-landing--nurture .ebx-shared-testimonials__disclaimer { margin: 1.1rem 0 0; color: #cbd5e1; font-size: .78rem; line-height: 1.5; text-align: center; }

@media (max-width: 700px) {
    .ebx-testimonials-grid { grid-template-columns: 1fr; }
    .ebx-testimonial-card.has-photo { grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; }
    .ebx-testimonial-card__photo { width: 58px; height: 58px; }
	.ebx-video-testimonials__controls { display: none; }
	.ebx-video-testimonials__track { grid-auto-columns: 88vw; justify-content: start; }
	.everblue-sales-landing--nurture .ebx-video-testimonials__viewport { margin-right: -1.5rem; padding-right: 1.5rem; }
	.everblue-sales-landing--nurture .ebx-video-testimonials__track { grid-template-columns: none; grid-auto-columns: 84vw; justify-content: start; }
}
@media (min-width: 701px) and (max-width: 1120px) {
    .ebx-testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ebx-video-testimonials__track { grid-auto-columns: minmax(230px, 290px); justify-content: start; }
}
