.aj-testimonials-grid-v1{
    width:100%;
    padding:42px 0 82px;
    background:#fef7f0;
}

.aj-testimonials-grid-v1-heading{
    width:min(1320px,calc(100% - 48px));
    margin:0 auto 44px;
    text-align:center;
}

.aj-testimonials-grid-v1-heading h1{
    margin:0 0 12px;
    color:#111;
    font-family:"Lora",Georgia,"Times New Roman",serif;
    font-size:50px;
    line-height:1.12;
    font-weight:700;
}

.aj-testimonials-grid-v1-heading p{
    max-width:920px;
    margin:0 auto;
    color:#e35f11;
    font-family:"Lora",Georgia,"Times New Roman",serif;
    font-size:17px;
    line-height:1.45;
}

.aj-testimonials-grid-v1-wrap{
    width:min(1420px,calc(100% - 72px));
    margin:0 auto;
}

.aj-testimonials-grid-v1-list{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,400px));
    justify-content:center;
    gap:34px 26px;
}

.aj-testimonial-card-v1{
    min-width:0;
}

.aj-testimonial-thumb-v1{
    position:relative;
    display:block;
    width:400px;
    max-width:100%;
    height:220px;
    aspect-ratio:20/11;
    overflow:hidden;
    border:2px solid #df6b1f;
    border-radius:11px;
    background:#eee5dd;
    box-shadow:0 2px 7px rgba(0,0,0,.12);
}

.aj-testimonial-thumb-v1 img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.aj-testimonial-thumb-v1 iframe{
    position:absolute;
    inset:0;
    display:block;
    width:400px !important;
    max-width:none !important;
    height:220px !important;
    min-width:400px;
    min-height:220px;
    aspect-ratio:20/11;
    border:0;
    pointer-events:none;
}

/* Vimeo leaves a narrow internal gutter on the left at card size.
   Crop only that horizontal gutter without changing the 220px height. */
.aj-testimonial-vimeo-edge-fix-v8 iframe{
    left:-14px;
    right:auto;
    width:428px !important;
    min-width:428px;
    height:220px !important;
    min-height:220px;
    transform:none;
}

.aj-testimonial-thumb-empty-v1{
    width:100%;
    height:100%;
    background:#eee5dd;
}


.aj-testimonial-card-v1 h2{
    margin:15px 0 6px;
    color:#111;
    font-family:"Lora",Georgia,"Times New Roman",serif;
    font-size:20px;
    line-height:1.25;
    font-weight:700;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.aj-testimonial-card-v1 h2 a{
    color:inherit;
}

.aj-testimonial-card-v1 p{
    margin:0;
    color:#e35f11;
    font-family:"Lora",Georgia,"Times New Roman",serif;
    font-size:16px;
    line-height:1.35;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

.aj-testimonials-empty-v1{
    grid-column:1/-1;
    padding:50px 20px;
    text-align:center;
}

@media(max-width:991.98px){
    .aj-testimonials-grid-v1-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:575.98px){
    .aj-testimonials-grid-v1{
        padding:34px 0 60px;
    }

    .aj-testimonials-grid-v1-heading{
        width:calc(100% - 30px);
        margin-bottom:30px;
    }

    .aj-testimonials-grid-v1-heading h1{
        font-size:38px;
    }

    .aj-testimonials-grid-v1-heading p{
        font-size:15px;
    }

    .aj-testimonials-grid-v1-wrap{
        width:calc(100% - 30px);
    }

    .aj-testimonials-grid-v1-list{
        grid-template-columns:1fr;
    }

    .aj-testimonial-thumb-v1{
        width:100%;
        height:auto;
        aspect-ratio:20/11;
    }

    .aj-testimonial-thumb-v1 iframe{
        width:100% !important;
        min-width:100%;
        height:100% !important;
        min-height:100%;
    }

    .aj-testimonial-vimeo-edge-fix-v8 iframe{
        left:-3.5%;
        width:107% !important;
        min-width:107%;
        height:100% !important;
        min-height:100%;
    }
}
