/* =====================================================
   Chiro Testimonials Slider – Frontend Styles
   ===================================================== */

.chiro-testimonials-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
    background: #f0ede8;
    border-radius: 16px;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', serif;
}

/* ── Left card ─────────────────────────────────────── */
.chiro-left-card {
    flex: 0 0 240px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.chiro-rating-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    letter-spacing: -2px;
    font-family: Georgia, serif;
}

.chiro-stars {
    display: flex;
    gap: 4px;
}

.chiro-star {
    width: 22px;
    height: 22px;
    fill: #2d7a6e;
    stroke: none;
}

.chiro-review-count {
    font-size: 13px;
    color: #555;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chiro-review-count strong {
    color: #1a1a1a;
}

/* ── Navigation arrows ─────────────────────────────── */
.chiro-nav {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.chiro-prev,
.chiro-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
}

.chiro-prev svg,
.chiro-next svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chiro-next {
    background: #fff;
    border-color: #ccc;
}

.chiro-next svg {
    stroke: #555;
}

.chiro-prev:hover,
.chiro-next:hover {
    background: #f5f5f5;
    border-color: #aaa;
}

/* ── Slides area ───────────────────────────────────── */
.chiro-slides-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.chiro-slides-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.chiro-slide {
    flex: 0 0 50%;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    margin-right: 20px;
}

.chiro-slide:last-child {
    margin-right: 0;
}

/* ── Quote icon ────────────────────────────────────── */
.chiro-quote-icon {
    font-size: 48px;
    line-height: 1;
    color: #2d7a6e;
    font-family: Georgia, serif;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

/* ── Review text ───────────────────────────────────── */
.chiro-review-text {
    font-size: 16px;
    line-height: 1.75;
    color: #2a2a2a;
    margin: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    flex: 1;
}

/* ── Reviewer name ─────────────────────────────────── */
.chiro-reviewer {
    margin-top: 28px;
    font-size: 14px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chiro-reviewer strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
    .chiro-testimonials-wrapper {
        flex-direction: column;
    }

    .chiro-left-card {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .chiro-rating-number {
        font-size: 48px;
    }

    .chiro-nav {
        margin-top: 0;
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .chiro-slide {
        padding: 28px 22px 24px;
    }

    .chiro-review-text {
        font-size: 15px;
    }
}

.chiro-no-testimonials {
    text-align: center;
    color: #777;
    padding: 32px;
}
