/* WO Shofar Testimonials */
.wo-shofar-testimonials {
    --wo-st-ink: #2f1d16;
    --wo-st-soft-ink: #6f594f;
    --wo-st-gold: #b8893d;
    --wo-st-gold-soft: #e8d4ab;
    --wo-st-cream: #fbf6ed;
    --wo-st-card: rgba(255, 255, 255, 0.88);
    --wo-st-border: rgba(184, 137, 61, 0.24);
    --wo-st-shadow: 0 16px 42px rgba(47, 29, 22, 0.10);
    margin: clamp(2rem, 5vw, 4rem) auto;
    color: var(--wo-st-ink);
}

.wo-shofar-testimonials * {
    box-sizing: border-box;
}

.wo-st-heading {
    margin: 0 0 1.5rem;
    text-align: center;
    color: var(--wo-st-ink);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.wo-st-viewport {
    width: 100%;
}

.wo-st-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
    align-items: stretch;
}

.wo-st-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.3rem;
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
    border: 1px solid var(--wo-st-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(232, 212, 171, 0.24), transparent 32%),
        var(--wo-st-card);
    box-shadow: var(--wo-st-shadow);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .wo-st-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 52px rgba(47, 29, 22, 0.14);
        border-color: rgba(184, 137, 61, 0.38);
    }
}

.wo-st-quote-mark {
    position: absolute;
    top: -0.35rem;
    right: 1.1rem;
    color: rgba(184, 137, 61, 0.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6.5rem;
    line-height: 1;
    pointer-events: none;
}

.wo-st-quote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--wo-st-soft-ink);
    font-size: clamp(0.96rem, 1.2vw, 1.03rem);
    line-height: 1.72;
}

.wo-st-quote p {
    margin: 0 0 0.8rem;
}

.wo-st-quote p:last-child {
    margin-bottom: 0;
}

.wo-st-person {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(184, 137, 61, 0.18);
}

.wo-st-avatar {
    flex: 0 0 auto;
    width: clamp(60px, 6vw, 72px);
    height: clamp(60px, 6vw, 72px);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--wo-st-ink), #5c3b2f);
    color: #fffaf2;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 3px solid rgba(232, 212, 171, 0.78);
    overflow: hidden;
}

.wo-st-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wo-st-person-text {
    min-width: 0;
}

.wo-st-name {
    display: block;
    color: var(--wo-st-ink);
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
}

.wo-st-role {
    display: block;
    margin-top: 0.12rem;
    color: var(--wo-st-gold);
    font-size: 0.92rem;
    font-weight: 600;
}

.wo-st-layout-grid .wo-st-track {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.wo-st-layout-carousel .wo-st-viewport {
    overflow: hidden;
}

.wo-st-layout-carousel .wo-st-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wo-st-layout-carousel .wo-st-track::-webkit-scrollbar {
    display: none;
}

.wo-st-layout-carousel .wo-st-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.wo-st-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.wo-st-btn {
    appearance: none;
    border: 1px solid rgba(184, 137, 61, 0.35);
    border-radius: 999px;
    background: #fffaf2;
    color: var(--wo-st-ink);
    min-width: 42px;
    min-height: 42px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wo-st-btn:hover,
.wo-st-btn:focus-visible {
    background: var(--wo-st-ink);
    color: #fffaf2;
    border-color: var(--wo-st-ink);
    outline: none;
}

.wo-st-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(184, 137, 61, 0.32);
}

.wo-st-status {
    color: var(--wo-st-soft-ink);
    font-size: 0.92rem;
    min-width: 4.5rem;
    text-align: center;
}

@media (max-width: 900px) {
    .wo-st-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wo-shofar-testimonials {
        margin: 2rem auto;
    }

    .wo-st-track {
        grid-template-columns: 1fr;
    }

    .wo-st-card {
        border-radius: 20px;
    }

    .wo-st-avatar {
        width: 62px;
        height: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wo-st-card,
    .wo-st-btn,
    .wo-st-layout-carousel .wo-st-track {
        transition: none;
        scroll-behavior: auto;
    }
}
