/*
 * B9 Website Core
 *
 * Public Before / After component styles.
 *
 * Source contract:
 * - .b9-before-after
 * - .b9-before-after__content
 * - .b9-before-after__eyebrow
 * - .b9-before-after__title
 * - .b9-before-after__text
 * - .b9-before-after__comparison
 *
 * Layout primitives used by the view:
 * - .b9-section
 * - .b9-container
 * - .b9-stack
 *
 * Responsibilities:
 * - register Before / After component presentation hooks;
 * - map supported presentation properties to Public Theme tokens;
 * - provide the semantic comparison container for future Media runtime output.
 *
 * Does NOT:
 * - resolve Media;
 * - render image URLs;
 * - implement comparison slider JavaScript;
 * - define hardcoded dimensions;
 * - define hardcoded typography sizes;
 * - define hardcoded breakpoints;
 * - implement Theme Editor behavior.
 */

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

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

.b9-before-after__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-before-after__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-before-after__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-before-after__comparison {
    width: 100%;
    overflow: hidden;
    border-radius: var(--b9-radius-xl);
    box-shadow: var(--b9-shadow-md);
}
