.openlane-testimonial-block:where(:not(.is-ev-campaign)) { padding: 96px 0; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .container { max-width: 1400px; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading { max-width: 760px;margin: 0 auto 48px; width: 100%; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h4 { color: #99C0FF;text-align: center;font-family: Poppins;font-size: 24px;font-style: normal;font-weight: 500;line-height: 34.8px;letter-spacing: -0.24px;margin-bottom: 24px; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h2 { color: #fff;text-align: center;font-family: Poppins;font-size: 56px;font-style: normal;font-weight: 600;line-height: 61.6px;letter-spacing: -0.56px;margin-bottom: 24px; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading p { color: #fff;text-align: center;font-family: Poppins;font-size: 20px;font-style: normal;font-weight: 400;line-height: 30px;max-width: 580px;margin: 0 auto;width: 100%; }


.testimonial-body figure.testimonial-bg img { width: 100%; border-radius: 16px; }
.openlane-testimonials-item { padding: 0 16px; }
.testimonial-body { border-radius: 16px;border: 1px solid rgba(255, 255, 255, 0.10);background: linear-gradient(180deg, rgba(204, 224, 255, 0.03) 17.72%, rgba(0, 97, 255, 0.08) 94.22%); height: 100%; }
.testimonial-body figure.testimonial-bg  {margin: 0; position: relative; }
.testimonial-content {padding: 42px 34px;text-align: center;}
.testimonial-content p {color: #fff;text-align: center;font-family: Poppins;font-size: 24px;font-style: normal;font-weight: 400;line-height: 36px;  margin-bottom: 16px;}
.testimonial-content span {color: #fff;text-align: center;font-family: Poppins;font-size: 16px;font-style: normal;font-weight: 600;line-height: normal;}
.testimonial-item-wrap { padding-top: 20px;-webkit-transition: padding-top;transition: padding-top;-webkit-transition-duration: 0.3s;transition-duration: 0.3s;-webkit-transition-timing-function: ease-in-out;transition-timing-function: ease-in-out; height: 100%;   backdrop-filter: blur(50px);}
.video-overlay-testimonial { background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%); position: absolute;left: 0;top: 0;width: 100%;height: 100%; border-radius: 16px; }
.video-overlay-testimonial img.play-icon { border-radius: 50px !important; max-width: 64px; width: 100%; margin: 0 auto; position: absolute; left: 24px; bottom: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.openlane-testimonials-wrap.more-padding { padding-bottom: 60px; }
.openlane-testimonials-wrap { position: relative; }
.openlane-testimonials-wrap .slick-pagination { display: none;left: 20px; }
.openlane-testimonials-wrap .slick-pagination.slick-pagination-active { display: block; bottom: 0; }
.openlane-testimonials-wrap .slick-arrow { bottom: -75px; color: #fff;background: transparent; right: 65px; }
.openlane-testimonials-wrap .slick-arrow.slick-next { right: 10px; }
.openlane-testimonials-wrap .slick-arrow.slick-prev { right: 65px; }
.openlane-testimonials-wrap .slick-arrow:hover { background: #0061FF; }

.openlane-testimonial-block:where(:not(.is-ev-campaign)) .openlane-button { text-align: center; margin-top: 48px; }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .openlane-button a.btn { padding: 16px 40px; color: #fff; text-align: center; font-family: Poppins; font-size: 18px; font-style: normal; font-weight: 600; line-height: 24px; background-color: #0061FF;  }
.openlane-testimonial-block:where(:not(.is-ev-campaign)) .openlane-button a.btn:hover { color: #0A1B5F;  background-color: #fff; border-color: #fff; }

.openlane-testimonial-block:where(:not(.is-ev-campaign)) .slick-track { display: grid;grid-auto-flow: column; }

.openlane-testimonials-slider { z-index: 1;}

@media (min-width: 768px) {
    .openlane-testimonials-slider .slick-track .slick-slide:hover .testimonial-item-wrap { padding-top: 0; }
}
@media only screen and (max-width: 1280px) {
    .testimonial-content {padding: 42px 20px;  }
}
@media only screen and (max-width: 1199px) {
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) { padding: 80px 0; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading { max-width: 640px; margin: 0 auto 40px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h4 { font-size: 20px; line-height: 29px;  letter-spacing: -0.2px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h2 { font-size: 48px; line-height:  52.8px; letter-spacing: -0.48px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading p { font-size: 18px; line-height: 27px; }

    .testimonial-content {padding: 51px 39px; }
    .testimonial-content p { font-size: 20px; line-height: 30px; }
    .openlane-testimonials-item { padding: 0 12px; }
    .openlane-testimonial-blockk .openlane-button { margin-top: 40px; }
    .video-overlay-testimonial img.play-icon { left: 16px; bottom: 16px; }
}
@media only screen and (max-width: 1024px) {
    .testimonial-content {padding: 51px 13px; }
}
@media only screen and (max-width: 991px) {
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) { padding: 72px 0; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h4 { font-size: 18px; line-height: 26px;  letter-spacing: -0.18px; margin-bottom: 16px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h2 { font-size: 40px; line-height: 44px; letter-spacing: -0.4px; margin-bottom: 16px; }

    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .container { padding: 0; }
    .testimonial-content { max-width: 330px;margin: 0 auto;width: 100%; }
}

@media only screen and (max-width: 767px) {
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) { padding: 64px 0; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading h2 { font-size: 32px; line-height: 35px; letter-spacing: -0.32px; margin-bottom: 16px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading p { font-size: 16px; line-height: 24px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .heading { max-width: 390px; margin: 0 auto 40px; padding: 0 16px; }

    .openlane-testimonials-item { padding: 0 16px; }
    .openlane-testimonial-block:where(:not(.is-ev-campaign)) .openlane-button { margin-top: 40px; }
    .openlane-testimonials-wrap { margin: 0 60px; }
}
@media only screen and (max-width: 575px) {
    .openlane-testimonials-wrap { margin: 0 0; }
} 

/* OLUS EV installer presentation start */
/* Opt-in EV campaign: shared foundations scoped to this block. */
.openlane-testimonial-block.is-ev-campaign {
    --ev-section-space: var(--gaps-spaces-xl,96px);
    margin:0;
    font-family:poppins,sans-serif;
}
.openlane-testimonial-block.is-ev-campaign h2 {
    color:inherit;
    margin:0;
}
.openlane-testimonial-block.is-ev-campaign h3 {
    color:inherit;
    margin:0;
}
.openlane-testimonial-block.is-ev-campaign .ev-body p {
    color:inherit;
    margin:0;
}
.openlane-testimonial-block.is-ev-campaign .ev-actions {
    display:flex;
    align-items:center;
    gap:var(--gaps-spaces-xs,16px);
    flex-wrap:wrap;
}
.openlane-testimonial-block.is-ev-campaign .ev-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:13px 37px;
    border:3px solid var(--openlane-blue);
    border-radius:999px;
    background:var(--openlane-blue);
    color:var(--openlane-core-white);
    font-size:18px !important;
    line-height:24px !important;
    font-weight:600;
    text-align:center;
    text-decoration:none;
    white-space:normal;
    transition:background-color .2s,color .2s,border-color .2s;
}
.openlane-testimonial-block.is-ev-campaign .ev-button:hover {
    background:var(--openlane-onward-blue);
    border-color:var(--openlane-onward-blue);
    color:var(--openlane-core-white);
}
.openlane-testimonial-block.is-ev-campaign .ev-button:focus-visible, .openlane-testimonial-block.is-ev-campaign a:focus-visible {
    outline:3px solid var(--openlane-blue);
    outline-offset:4px;
}
.openlane-testimonial-block.is-ev-campaign .ev-button-secondary {
    background:transparent;
    color:var(--openlane-core-white);
}
.openlane-testimonial-block.is-ev-campaign .ev-button-secondary:hover {
    background:var(--openlane-blue);
    border-color:var(--openlane-blue);
}
.openlane-testimonial-block.is-ev-campaign figure {
    margin:0;
}
.openlane-testimonial-block.is-ev-campaign.is-editor-preview .inview, .openlane-testimonial-block.is-ev-campaign.is-editor-preview .from-below {
    opacity:1 !important;
    transform:none !important;
}
@media(max-width:767px) {
    .openlane-testimonial-block.is-ev-campaign {
        --ev-section-space:64px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .openlane-testimonial-block.is-ev-campaign .from-below, .openlane-testimonial-block.is-ev-campaign .inview {
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
    .openlane-testimonial-block.is-ev-campaign .ev-button {
        animation:none !important;
        transition:none;
    }
}
/* Section gaps are real, editable Brand Spacer blocks on migrated campaigns. */
.openlane-testimonial-block.is-ev-campaign.ev-brand-spaced {
    padding-top:0;
    padding-bottom:0;
}
/* Inset cards retain their accessible foreground when the section background changes. */
.openlane-three-column-feature-grid-block.ev-benefits .ev-benefit-card, .openlane-testimonial-block.ev-testimonial .ev-testimonial-panel {
    color:var(--openlane-onward-blue);
}
/* Brand library typography; keep shared utilities intact for other pages. */
.openlane-testimonial-block.is-ev-campaign {
    --Font-H2:48px;
    --Font-H3:40px;
    --Font-H4:24px;
    --Font-Body-Large:20px;
}
.openlane-testimonial-block.is-ev-campaign .universal-h1 {
    letter-spacing:-3px;
}
.openlane-testimonial-block.is-ev-campaign :is(.universal-h2,.universal-h3,.universal-h4) {
    letter-spacing:-1px;
}
.openlane-testimonial-block.is-ev-campaign .universal-h4 {
    line-height:1.2 !important;
}
.openlane-testimonial-block.is-ev-campaign :is(.universal-body,.universal-body-large):not(.ev-button) {
    line-height:1.75 !important;
}
@media(min-width:1440px) {
    .openlane-testimonial-block.is-ev-campaign {
        --Font-H2:56px;
        --Font-H3:48px;
    }
}
@media(max-width:1023px) {
    .openlane-testimonial-block.is-ev-campaign {
        --Font-H2:40px;
        --Font-H3:32px;
        --Font-H4:20px;
        --Font-Body-Large:18px;
    }
}
@media(max-width:767px) {
    .openlane-testimonial-block.is-ev-campaign {
        --Font-H2:32px;
        --Font-H3:24px;
    }
}
/* Primary focus follows the library's active treatment on light surfaces. */
.openlane-testimonial-block.is-ev-campaign .ev-button:focus-visible {
    background:var(--openlane-onward-blue);
    border-color:var(--openlane-onward-blue);
    color:var(--openlane-core-white);
}
/* Dark surfaces use white hover treatments; inset testimonial panels remain light. */
.openlane-testimonial-block.is-ev-campaign.universal-text-color-core-white:not(.ev-testimonial) .ev-button:hover,
.openlane-cta-block.ev-offer .ev-offer-card .ev-button:hover {
    background:var(--openlane-core-white);
    border-color:var(--openlane-core-white);
    color:var(--openlane-blue);
}
.openlane-testimonial-block.is-ev-campaign.universal-text-color-core-white:not(.ev-testimonial) .ev-button:focus-visible,
.openlane-cta-block.ev-offer .ev-offer-card .ev-button:focus-visible {
    background:var(--openlane-onward-blue);
    border-color:var(--openlane-blue);
    color:var(--openlane-core-white);
}
.openlane-testimonial-block.is-ev-campaign.universal-text-color-core-white:not(.ev-testimonial) .ev-button-secondary:hover {
    background:transparent;
    border-color:var(--openlane-core-white);
    color:var(--openlane-core-white);
}
.openlane-testimonial-block.is-ev-campaign.universal-text-color-core-white:not(.ev-testimonial) .ev-button-secondary:focus-visible {
    background:var(--openlane-core-white);
    border-color:var(--openlane-core-white);
    color:var(--openlane-blue);
}
/* Secondary actions retain contrast on the approved light surfaces. */
.openlane-testimonial-block.is-ev-campaign.universal-text-color-onward-blue .ev-button-secondary {
    color:var(--openlane-onward-blue);
}
.openlane-testimonial-block.is-ev-campaign.universal-text-color-onward-blue .ev-button-secondary:hover {
    background:var(--openlane-blue);
    border-color:var(--openlane-blue);
    color:var(--openlane-core-white);
}
.openlane-testimonial-block.is-ev-campaign.universal-text-color-onward-blue .ev-button-secondary:focus-visible {
    color:var(--openlane-core-white);
}


/* Opt-in EV campaign presentation. */
.openlane-testimonial-block.ev-testimonial {
    padding:var(--ev-section-space) 0;
}
.openlane-testimonial-block.ev-testimonial .ev-testimonial-layout {
    width:min(1272px,calc(100vw - 168px));
    position:relative;
    left:50%;
    transform:translateX(-50%);
}
.openlane-testimonial-block.ev-testimonial .ev-testimonial-card {
    position:relative;
    min-height:610px;
    padding:51px 50px;
    border-radius:20px;
    overflow:clip;
}
.openlane-testimonial-block.ev-testimonial figure {
    position:absolute;
    inset:0;
}
.openlane-testimonial-block.ev-testimonial figure img {
    position:absolute;
    max-width:none;
    width:129.32%;
    height:151.64%;
    top:-17.05%;
    left:0;
    object-fit:cover;
    object-position:20% center;
}
.openlane-testimonial-block.ev-testimonial .ev-testimonial-panel {
    position:relative;
    width:546px;
    max-width:100%;
    border-radius:20px;
    padding:72px 37px;
    background:#e5efffb3;
    backdrop-filter:blur(15px);
}
.openlane-testimonial-block.ev-testimonial blockquote {
    margin:0;
    padding:0;
    border:0;
    color:inherit;
}
.openlane-testimonial-block.ev-testimonial blockquote p {
    color:inherit;
    margin:0 0 16px;
}
.openlane-testimonial-block.ev-testimonial cite {
    color:var(--openlane-onward-blue);
    font-weight:600;
    font-style:normal;
}
.openlane-testimonial-block.ev-testimonial .ev-actions {
    margin-top:48px;
}
@media(max-width:1023px) {
    .openlane-testimonial-block.ev-testimonial .ev-testimonial-layout {
        width:calc(100vw - 48px);
    }
    .openlane-testimonial-block.ev-testimonial .ev-testimonial-panel {
        width:50%;
        padding:40px 24px;
    }
}
@media(max-width:767px) {
    .openlane-testimonial-block.ev-testimonial .ev-testimonial-layout {
        width:calc(100vw - 40px);
    }
    .openlane-testimonial-block.ev-testimonial .ev-testimonial-card {
        padding:0;
        min-height:0;
    }
    .openlane-testimonial-block.ev-testimonial figure {
        position:relative;
        height:260px;
        overflow:hidden;
    }
    .openlane-testimonial-block.ev-testimonial figure img {
        width:100%;
        height:100%;
        inset:0;
        object-fit:cover;
        object-position:right center;
    }
    .openlane-testimonial-block.ev-testimonial .ev-testimonial-panel {
        width:100%;
        border-radius:0;
    }
    .openlane-testimonial-block.ev-testimonial .ev-actions {
        margin-top:32px;
    }
}

/* OLUS EV installer presentation end */
