
    /* Inherits --color-primary-black/orange, --color-neutral-*, --font-sans
       etc. from global.css's :root — deleted the local override block that
       used to redefine these with slightly different one-off values. */
    .am-testimonials-preview {
        font-family: var(--font-sans);
        background: var(--color-neutral-canvas);
    }

    .am-testimonials-preview,
    .am-testimonials-preview *,
    .am-testimonials-preview *::before,
    .am-testimonials-preview *::after {
        box-sizing: border-box;
    }

    /* =========================================================
       TESTIMONIALS SECTION — prefixed with "am-testimonial-" to
       avoid clashing with theme/plugin class names.
       ========================================================= */

    .am-testimonials-section {
        width: 100%;
        padding: 64px 0 0;
        background-color: var(--color-warm-canvas-alt); /* section background — swap for your token, e.g. var(--color-neutral-canvas-alt) */
    }

    /* ── Intro: avatar stack + heading ── */
    .am-testimonials-intro {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 24px 48px;
        text-align: center;
    }

    .am-testimonial-avatar-stack {
        display: flex;
        justify-content: center;
        margin-bottom: 24px;
    }

    .am-testimonial-avatar-stack img {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--color-neutral-canvas);
        box-shadow: 0 0 0 1px var(--color-neutral-grid-gray);
        margin-left: -14px;
    }
    .am-testimonial-avatar-stack img:first-child { margin-left: 0; }

    .am-testimonials-intro h2 {
        margin: 0 0 12px;
        font-family: var(--font-serif);
        font-weight: 700;
        font-size: clamp(32px, 4.5vw, 52px);
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: var(--color-primary-black);
    }

    .am-testimonials-intro p {
        margin: 0;
        font-size: 16px;
        color: var(--color-neutral-text-gray);
    }

    /* ── Section shell: bordered strip like the logo marquee ── */
    .am-testimonials-shell {
        border-top: 1px solid var(--color-neutral-grid-gray);
        border-bottom: 1px solid var(--color-neutral-grid-gray);
        overflow: hidden;
        background-color: var(--color-warm-canvas-alt);
    }

    .am-testimonials-viewport {
        overflow: hidden;
    }

    .am-testimonials-track {
        display: flex;
        width: max-content;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        touch-action: pan-y;
    }
    .am-testimonials-preview .am-testimonials-track.am-is-dragging {
        cursor: grabbing;
    }
    .am-testimonials-preview .am-testimonials-track img {
        -webkit-user-drag: none;
        user-select: none;
        pointer-events: none;
    }

    /* Each set is one full pass of cards; two sets = seamless loop */
    .am-testimonials-set {
        display: flex;
    }

    /* ── Individual testimonial cell ── */
    .am-testimonial-cell {
        flex: 0 0 320px;
        border-right: 1px solid var(--color-neutral-grid-gray);
        background-color: var(--color-white);
        padding: 32px 28px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        box-sizing: border-box;
        user-select: none;
        -webkit-user-select: none;
    }

    /* ── Company logo row — highlighted as the card's focal point ── */
    .am-testimonial-logo {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 20px;
        background-color: var(--color-neutral-canvas);
        border-radius: 6px;
    }
    .am-testimonial-logo img {
        height: 100%;
        width: auto;
        max-width: 130px;
        object-fit: contain;
    }
    .am-testimonial-logo-text {
        font-family: var(--font-sans);
        font-weight: 800;
        font-size: 19px;
        letter-spacing: -0.01em;
        color: var(--color-primary-black);
    }

    /* ── Star rating ── */
    .am-testimonial-stars {
        display: flex;
        justify-content: center;
        gap: 2px;
    }
    .am-testimonial-stars svg {
        width: 16px;
        height: 16px;
        fill: var(--color-star);
    }
    .am-testimonial-stars svg.am-is-empty {
        fill: var(--color-neutral-grid-gray);
    }

    /* ── Quote ── */
    .am-testimonial-quote {
        margin: 0;
        flex: 1;
        font-family: var(--font-sans);
        font-size: 15.5px;
        line-height: 1.6;
        color: var(--color-primary-black);
    }

    /* ── Author row ── */
    .am-testimonial-author {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: auto;
    }

    .am-testimonial-author img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .am-testimonial-author-name {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: var(--color-primary-black);
    }

    .am-testimonial-author-role {
        margin: 0;
        font-size: 13px;
        color: var(--color-neutral-text-gray);
    }

    /* ── Mobile ── */
    @media (max-width: 768px) {
        .am-testimonials-section { padding: 48px 0 0; }
        .am-testimonial-avatar-stack img { width: 40px; height: 40px; }
        .am-testimonial-cell { flex: 0 0 260px; padding: 24px 20px; }
        .am-testimonial-quote { font-size: 14px; }
        .am-testimonial-logo { padding: 5px 16px; }
    }
