/* ==========================================================================
   cb-testimonials.css — Custom Build: Testimonials
   Figma: 1440×402 hug, background #F0EBDF, padding 80px/60px
   Quote: Freight Neo 400, 24px, 100% lh, 900px centred
   Author: Geist 300, 16px — full-bleed rule (690.5px each side of 59px name)
   ========================================================================== */

.cb-testimonials {
    background-color: var(--color-sand-light, #f0ebdf);
    padding-block: 80px;
    /* No padding-inline — quote gets it; author line is full-bleed */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

/* ── Testimonial item ─────────────────────────────────────────────────────── */
.cb-testimonials__item {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.cb-testimonials__item.is-active {
    display: flex;
}

/* ── Quote — Freight Neo 400, 24px, 100% lh, max 900px centred ───────────── */
.cb-testimonials__quote {
    font-family: var(--font-heading);   /* Freight Neo Pro */
    font-size: 1.5rem;                  /* 24px */
    font-weight: 400;                   /* Book */
    line-height: 1;                     /* 100% */
    letter-spacing: 0;
    text-align: center;
    color: var(--color-dark, #1a1a1a);
    max-width: 900px;
    width: 100%;
    
    margin: 0;
}

.cb-testimonials__quote p {
    margin: 0;
}

/* ── Author row — centred in section (690.5px space each side of 59px name) ─ */
.cb-testimonials__author-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Hide decorative lines — not in Figma */
.cb-testimonials__line {
    display: none;
}

/* Author — Geist 300, 16px, 139% lh, centred */
.cb-testimonials__author {
    font-family: var(--font-body);
    font-size: 1rem;            /* 16px */
    font-weight: 300;           /* Geist Light */
    line-height: 1.39;          /* 139% */
    letter-spacing: 0;
    text-align: center;
    color: var(--color-dark, #1a1a1a);
    font-style: normal;
}

/* ── Navigation arrows (only shown when multiple testimonials) ────────────── */
.cb-testimonials__nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cb-testimonials__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--color-dark, #1a1a1a);
    border-radius: 1000px;
    background: transparent;
    color: var(--color-dark, #1a1a1a);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.cb-testimonials__btn:hover {
    background-color: var(--color-dark, #1a1a1a);
    color: var(--color-white, #fff);
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 639px) {
    .cb-testimonials {
        padding-block: 80px;
        padding-inline: 16px;
        gap: 32px;
    }

    .cb-testimonials__quote {
        font-size: 1.25rem;
        padding-inline: 0;
    }
}
