/*
 * B9 Website Core
 *
 * Public Testimonials component styles.
 *
 * Source contract:
 * - .b9-testimonials
 * - .b9-testimonials__content
 * - .b9-testimonials__eyebrow
 * - .b9-testimonials__title
 * - .b9-testimonials__text
 * - .b9-testimonials__grid
 * - .b9-testimonial
 * - .b9-testimonial__avatar
 * - .b9-testimonial__content
 * - .b9-testimonial__quote
 * - .b9-testimonial__author
 * - .b9-testimonial__author-name
 * - .b9-testimonial__author-role
 *
 * Layout primitives used by the view:
 * - .b9-section
 * - .b9-container
 * - .b9-stack
 * - .b9-grid
 *
 * Responsibilities:
 * - register Testimonials component presentation hooks;
 * - map supported presentation properties to Public Theme tokens;
 * - remain compatible with Theme Runtime overrides.
 *
 * Does NOT:
 * - duplicate Public layout primitive behavior;
 * - define hardcoded dimensions;
 * - define hardcoded typography sizes;
 * - define hardcoded breakpoints;
 * - resolve Media;
 * - decide page composition;
 * - implement Theme Editor variants.
 */

.b9-testimonials {
    background: var(--b9-color-background);
    color: var(--b9-color-on-background);
}

.b9-testimonials__content {
    max-width: var(--b9-content-width);
}

.b9-testimonials__eyebrow {
    color: var(--b9-color-primary);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-sm);
    line-height: var(--b9-line-height-normal);
    font-weight: var(--b9-font-weight-semibold);
}

.b9-testimonials__title {
    color: var(--b9-color-on-background);
    font-family: var(--b9-font-heading);
    font-size: var(--b9-font-size-2xl);
    line-height: var(--b9-line-height-tight);
    font-weight: var(--b9-font-weight-bold);
}

.b9-testimonials__text {
    max-width: var(--b9-content-width-narrow);
    color: var(--b9-color-text-muted);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-md);
    line-height: var(--b9-line-height-relaxed);
    font-weight: var(--b9-font-weight-normal);
}

.b9-testimonial {
    overflow: hidden;
    background: var(--b9-color-surface);
    color: var(--b9-color-on-surface);
    border: var(--b9-border-width) solid var(--b9-color-border);
    border-radius: var(--b9-radius-lg);
    box-shadow: var(--b9-shadow-sm);
}

.b9-testimonial__avatar {
    overflow: hidden;
    border-radius: var(--b9-radius-xl);
}

.b9-testimonial__avatar img,
.b9-testimonial__avatar picture {
    display: block;
}

.b9-testimonial__content {
    padding: var(--b9-space-lg);
}

.b9-testimonial__quote {
    color: var(--b9-color-on-surface);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-lg);
    line-height: var(--b9-line-height-relaxed);
    font-weight: var(--b9-font-weight-normal);
}

.b9-testimonial__author {
    color: var(--b9-color-on-surface);
    font-family: var(--b9-font-body);
}

.b9-testimonial__author-name {
    color: var(--b9-color-on-surface);
    font-size: var(--b9-font-size-md);
    line-height: var(--b9-line-height-normal);
    font-weight: var(--b9-font-weight-semibold);
}

.b9-testimonial__author-role {
    color: var(--b9-color-text-muted);
    font-size: var(--b9-font-size-sm);
    line-height: var(--b9-line-height-normal);
    font-weight: var(--b9-font-weight-normal);
}
