/* Match the WordPress header's centered 1200px content width while keeping its background full bleed. */
.aeco-site-header {
    box-sizing: border-box;
    padding-inline: max(16px, calc((100% - 1200px) / 2));
}
.aeco-team-member__testimonials {
    padding: 4rem 0;
    background: #fff;
}

.aeco-testimonial-frame {
    box-sizing: border-box;
    width: min(1128px, 94%);
    min-height: 0;
    margin-inline: auto;
    padding: 40px;
    border: 1px solid #171631;
    background: #fff;
}

.aeco-testimonial-mark {
    height: 44px;
    margin-bottom: 18px;
}

.aeco-testimonial-mark img {
    display: block;
    width: 42px;
    height: 44px;
    object-fit: contain;
}

.aeco-testimonial-frame .elementor-widget-testimonial-carousel {
    width: 100%;
}

@media (max-width: 767px) {
    .aeco-team-member__testimonials { padding: 2.5rem 0; }

    .aeco-testimonial-frame {
        width: 94%;
        min-height: 0;
        padding: 24px 18px;
    }

    .aeco-testimonial-mark {
        height: 38px;
        margin-bottom: 26px;
    }

    .aeco-testimonial-mark img {
        width: 36px;
        height: 38px;
    }
}
/* Keep Elementor's default 1.3em testimonial copy at the 15px WordPress page-kit size. */
.aeco-testimonial-frame.elementor .elementor-widget-testimonial-carousel .elementor-testimonial__text {
    font-size: 15px;
    line-height: 1.8;
}

/* Elementor derives carousel height from testimonial content. */
.aeco-testimonial-frame .elementor-widget-testimonial-carousel {
    height: auto;
}

.aeco-testimonial-frame .elementor-widget-container,
.aeco-testimonial-frame .elementor-swiper,
.aeco-testimonial-frame .elementor-main-swiper,
.aeco-testimonial-frame .swiper-wrapper {
    height: auto;
}
/* Scale the entire home awards gallery, including its spacing and layout height. */
@media (max-width: 1024px) {
    .elementor-24 .elementor-element.elementor-element-2001f4d .elementor-gallery__container {
        zoom: 0.5;
        width: 100%;
        margin-inline: auto;
    }
}
