/*
 * B9 Website Core
 *
 * Public Banner component styles.
 *
 * Source contract:
 * - .b9-banner
 * - .b9-banner__inner
 * - .b9-banner__content
 * - .b9-banner__eyebrow
 * - .b9-banner__title
 * - .b9-banner__text
 * - .b9-banner__actions
 * - .b9-banner__button
 *
 * Layout primitives used by the view:
 * - .b9-section
 * - .b9-container
 * - .b9-stack
 *
 * Responsibilities:
 * - register Banner component presentation hooks;
 * - map supported presentation properties to Public Theme tokens;
 * - provide the presentation contract for future background Media output.
 *
 * Does NOT:
 * - resolve Media;
 * - render background Media URLs;
 * - implement background-image behavior;
 * - duplicate Public layout primitive behavior;
 * - define hardcoded dimensions;
 * - define hardcoded typography sizes;
 * - define hardcoded breakpoints;
 * - implement Theme Editor behavior.
 */

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

.b9-banner__inner {
    border: var(--b9-border-width) solid var(--b9-color-border);
    border-radius: var(--b9-radius-xl);
    box-shadow: var(--b9-shadow-md);
}

.b9-banner__content {
    padding: var(--b9-space-xl);
    max-width: var(--b9-content-width);
}

.b9-banner__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-banner__title {
    color: var(--b9-color-on-surface);
    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-banner__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-banner__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--b9-space-sm);
}

.b9-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--b9-control-height);
    padding-inline: var(--b9-button-padding-x);
    padding-block: var(--b9-button-padding-y);
    border: var(--b9-border-width) solid var(--b9-color-primary);
    border-radius: var(--b9-radius-md);
    background: var(--b9-color-primary);
    color: var(--b9-color-on-primary);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-md);
    line-height: var(--b9-line-height-normal);
    font-weight: var(--b9-font-weight-medium);
    text-decoration: none;
}

.b9-banner__button:hover {
    background: var(--b9-color-secondary);
    border-color: var(--b9-color-secondary);
    color: var(--b9-color-on-secondary);
}
