.wp-block-ananeoo-community-testimonials-sec {
    --community-blue: #003660;
    --community-band: #e4f4f8;
    --community-gold: #d4b000;
    font-family: var(--font-body, Poppins, sans-serif);
    color: var(--community-blue);
}

.wp-block-ananeoo-community-testimonials-sec .reveal {
    opacity: 1;
    transform: none;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec {
    background: #fff;
    padding: 0 0 clamp(36px, 5vw, 56px);
}

.wp-block-ananeoo-community-testimonials-sec.community-testimonials-sec--nested,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec.community-testimonials-sec--nested {
    background: #fff;
    padding: 0;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__band,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__band {
    background: var(--community-band);
    padding: clamp(34px, 4vw, 50px) 0;
    text-align: center;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__band h2,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__band h2 {
    margin: 0;
    color: var(--community-blue);
    font-family: var(--font-heading, Poppins, sans-serif);
    font-size: clamp(1.65rem, 2.3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.15;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__band p,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__band p {
    margin: 4px 0 0;
    color: var(--community-blue);
    font-size: clamp(1.25rem, 1.85vw, 1.75rem);
    font-weight: 400;
    line-height: 1.24;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__body,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__body {
    padding-top: clamp(60px, 6vw, 74px);
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__head,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__head {
    text-align: center;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__head h3,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__head h3 {
    margin: 0;
    color: var(--community-blue);
    font-family: var(--font-heading, Poppins, sans-serif);
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__head p,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__head p {
    margin: 2px 0 0;
    color: var(--community-blue);
    font-size: clamp(1.08rem, 1.5vw, 1.45rem);
    line-height: 1.2;
}

.wp-block-ananeoo-community-testimonials-sec .testi-grid,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: clamp(24px, 4vw, 58px);
    align-items: start;
    justify-content: center;
    margin: clamp(36px, 4vw, 44px) auto 0;
}

.wp-block-ananeoo-community-testimonials-sec .testi-card,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-card {
    position: relative;
    display: block;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.wp-block-ananeoo-community-testimonials-sec .testi-card--nested,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-card--nested {
    position: relative;
    min-width: 0;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 0;
}

.wp-block-ananeoo-community-testimonials-sec .testi-card:has(.ananeoo-video-modal.is-open),
.wp-block-ananeoo-community-testimonials-sec .testi-card--nested:has(.ananeoo-video-modal.is-open) {
    z-index: 2147483000;
}

.wp-block-ananeoo-community-testimonials-sec .testi-thumb,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 6px;
    background: #dce7ef;
}

.wp-block-ananeoo-community-testimonials-sec .testi-thumb--nested,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-thumb--nested {
    width: 100%;
}

.wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb,
.wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb {
    display: block;
    width: var(--ananeoo-video-width, 100%) !important;
    max-width: 100% !important;
    margin: 0 auto;
}

.wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__trigger,
.wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__trigger,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__trigger,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__trigger {
    height: 100%;
    border-radius: 6px;
}

.wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__play,
.wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__play,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .wp-block-ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__play,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .ananeoo-advanced-video-popup.testi-thumb .ananeoo-advanced-video-popup__play {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.wp-block-ananeoo-community-testimonials-sec .testi-thumb > .wp-block-ananeoo-advanced-image,
.wp-block-ananeoo-community-testimonials-sec .testi-thumb > .ananeoo-advanced-image,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-thumb > .wp-block-ananeoo-advanced-image,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-thumb > .ananeoo-advanced-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
}

.wp-block-ananeoo-community-testimonials-sec .testi-thumb img,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-ananeoo-community-testimonials-sec .testi-play,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.wp-block-ananeoo-community-testimonials-sec .testi-play--nested,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-play--nested {
    pointer-events: none;
}

.wp-block-ananeoo-community-testimonials-sec .testi-play--nested > :where(span, p, div),
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-play--nested > :where(span, p, div) {
    color: #fff !important;
    line-height: 1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.wp-block-ananeoo-community-testimonials-sec .testi-play svg,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-play svg {
    width: 30px;
    height: 33px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-meta {
    padding: 13px 0 0;
    color: var(--community-blue);
    line-height: 1.18;
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta--nested,
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-meta--nested {
    padding: 13px 0 0;
    color: var(--community-blue);
    line-height: 1.18;
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta b,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-meta b {
    display: block;
    color: var(--community-blue);
    font-family: var(--font-heading, Poppins, sans-serif);
    font-size: clamp(1.08rem, 1.45vw, 1.42rem);
    font-weight: 700;
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta__name > :where(p, h1, h2, h3, h4, h5, h6, span, div),
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-meta__name > :where(p, h1, h2, h3, h4, h5, h6, span, div) {
    color: var(--community-blue) !important;
    font-family: var(--font-heading, Poppins, sans-serif) !important;
    font-weight: 700 !important;
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta span,
.editor-styles-wrapper .ananeoo-static-section-preview .testi-meta span {
    display: block;
    margin-top: 3px;
    color: #111f37;
    font-size: clamp(0.82rem, 1vw, 0.98rem);
    font-weight: 400;
    line-height: 1.15;
}

.wp-block-ananeoo-community-testimonials-sec .testi-meta__location > :where(p, h1, h2, h3, h4, h5, h6, span, div),
.editor-styles-wrapper .wp-block-ananeoo-community-testimonials-sec .testi-meta__location > :where(p, h1, h2, h3, h4, h5, h6, span, div) {
    display: block;
    margin-top: 3px !important;
    color: #111f37 !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-section__overlay-link.ananeoo-video-modal-trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: inherit;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__closing,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__closing {
    margin: clamp(36px, 4vw, 44px) auto 0;
    text-align: center;
}

.wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__closing p,
.editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__closing p {
    margin: 4px 0 0;
    color: var(--community-blue);
    font-family: var(--font-heading, Poppins, sans-serif);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 2.8vw, 36px);
    opacity: 0;
    pointer-events: none;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal.is-closing {
    pointer-events: none;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    opacity: 1;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__dialog {
    position: relative;
    width: min(960px, calc(100vw - 58px));
    max-height: calc(100vh - 58px);
    z-index: 1;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal.is-open .ananeoo-video-modal__dialog {
    opacity: 1;
    transform: none;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
    opacity: 1;
    animation: none;
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__close {
    position: absolute;
    right: -12px;
    top: -12px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: #dcc27b;
    color: #23344d;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .wp-block-ananeoo-community-testimonials-sec .testi-grid,
    .editor-styles-wrapper .ananeoo-static-section-preview .testi-grid {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
    }
}

@media (max-width: 640px) {
    .wp-block-ananeoo-community-testimonials-sec .community-testimonials-sec__body,
    .editor-styles-wrapper .ananeoo-static-section-preview .community-testimonials-sec__body {
        padding-top: 42px;
    }

    .wp-block-ananeoo-community-testimonials-sec .testi-grid,
    .editor-styles-wrapper .ananeoo-static-section-preview .testi-grid {
        grid-template-columns: repeat(2, minmax(105px, 1fr));
        gap: 28px 24px;
    }

    .wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal {
        padding: 14px;
    }

    .wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__dialog {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 28px);
    }

    .wp-block-ananeoo-community-testimonials-sec .ananeoo-video-modal__frame {
        height: min(78vh, 680px);
        aspect-ratio: auto;
    }

}
