/**
 * Branwell Steps — plugin styles
 * Handle: bw-styles-steps
 *
 * Three-step "How to Get a Psychic Reading" strip, Option D layout —
 * three columns + arrows between them inside a soft palette container.
 *
 * Scope: all rules under #bw-steps-panel so nothing leaks. Plugin owns:
 *   - layout of the strip
 *   - arrow icons + sizing
 *   - step heading rhythm inside the card
 *
 * Plugin does NOT own:
 *   - body font, body colour, container max-width  (theme owns)
 *   - heading defaults                              (theme owns)
 *   - link colours at the page level                (theme owns)
 *   - paragraph rhythm defaults                     (theme owns)
 *   - the section header at the top                 (theme partial)
 *
 * Palette: all colours via var(--color-*) tokens defined by the theme
 * customizer. Switch the palette → strip re-themes automatically.
 */

#bw-steps-panel {
    box-sizing: border-box;
    width: 100%;
    /* No horizontal padding or margin — theme content wrapper controls width.
       The strip card has its own internal padding below. */
    margin: 0;
    padding: 0;
}
#bw-steps-panel *,
#bw-steps-panel *::before,
#bw-steps-panel *::after {
    box-sizing: border-box;
}

/* ============================================================
   Strip — soft palette card with three columns + arrows
   ============================================================ */
#bw-steps-panel .bw-steps__strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    background: var(--color-background-secondary, #f5f7fa);
    border-radius: 16px;
    margin-top: 8px;
}

/* ============================================================
   Step column
   ============================================================ */
#bw-steps-panel .bw-steps__step {
    min-width: 0;     /* allow text to wrap inside a grid cell */
    text-align: left;
}
#bw-steps-panel .bw-steps__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 6px;
    line-height: 1.2;
}
#bw-steps-panel .bw-steps__heading {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 6px;
    color: inherit;
}
/* Phone link inside step 2 heading — inherits heading weight/size but
   keeps the palette colour so it reads as actionable. Underline on
   hover only — most modern pattern. */
#bw-steps-panel .bw-steps__phone {
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}
#bw-steps-panel .bw-steps__phone:hover,
#bw-steps-panel .bw-steps__phone:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}
#bw-steps-panel .bw-steps__lede {
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    color: inherit;
    opacity: 0.7;
}

/* ============================================================
   Arrow between steps — palette-muted, subtle
   ============================================================ */
#bw-steps-panel .bw-steps__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.4;
    flex-shrink: 0;
}

/* ============================================================
   Responsive — stack vertically below 768px, hide arrows on
   small screens (vertical chevrons would just add noise).
   ============================================================ */
@media (max-width: 768px) {
    #bw-steps-panel .bw-steps__strip {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 18px;
    }
    #bw-steps-panel .bw-steps__arrow {
        transform: rotate(90deg);
        margin: -4px 0;
        opacity: 0.3;
    }
}
@media (max-width: 480px) {
    #bw-steps-panel .bw-steps__heading {
        font-size: 0.95rem;
    }
    #bw-steps-panel .bw-steps__lede {
        font-size: 0.82rem;
    }
}
