/* ── Themed banner strip ─────────────────────────────────────── */
    .rd-banner {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 6px;
        border: 1px solid rgba(120, 67, 86, 0.18);
        background: #faf6ef;
        margin: 18px 0;
        min-height: 86px;
        font-family: 'Jost', 'Jost Fallback', Arial, ui-sans-serif, system-ui, sans-serif;
        color: #1e1e1c;
        isolation: isolate;
    }
    .rd-banner--topbar { margin: 0 0 12px; min-height: 50px; border-radius: 0; }

    /* Backdrop art layer — set back behind content. */
    .rd-banner__art {
        position: absolute; inset: 0;
        pointer-events: none;
        z-index: 1;
    }
    .rd-banner__art svg {
        width: 100%; height: 100%;
        display: block;
    }
    /* Soft fade-to-paper overlay so text stays legible no matter the art. */
    .rd-banner::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(250, 246, 239, 0.88) 0%, rgba(250, 246, 239, 0.55) 35%, rgba(250, 246, 239, 0.55) 65%, rgba(250, 246, 239, 0.88) 100%);
        z-index: 2;
        pointer-events: none;
    }

    /* Inner content sits above both art + fade overlay. */
    .rd-banner__inner {
        position: relative; z-index: 3;
        display: flex; align-items: center; justify-content: space-between;
        gap: 22px; padding: 18px 28px;
    }
    .rd-banner--topbar .rd-banner__inner { padding: 10px 22px; justify-content: center; }

    .rd-banner__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .rd-banner__heading {
        font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
        font-size: 22px; line-height: 1.18; font-weight: 500;
        color: #1e1e1c; letter-spacing: 0.01em;
    }
    .rd-banner__sub {
        font-size: 13.5px; color: #5a5853; line-height: 1.4;
    }
    .rd-banner--topbar .rd-banner__text {
        font-size: 13.5px; flex-direction: row; gap: 8px;
        font-family: 'Jost', 'Jost Fallback', Arial, sans-serif;
    }

    .rd-banner__cta {
        flex-shrink: 0;
        display: inline-block;
        padding: 9px 18px;
        background: #784356;
        color: #fff;
        text-decoration: none;
        font-size: 13px; font-weight: 600;
        letter-spacing: 0.04em;
        border-radius: 4px;
        white-space: nowrap;
        transition: background 0.18s ease;
    }
    .rd-banner__cta:hover { background: #5a2e3e; }

    /* Per-style frame accents — keep the brand voice consistent across themes. */
    .rd-banner--style-spring     { border-color: #b6cf94; }
    .rd-banner--style-summer     { border-color: #e6c97a; }
    .rd-banner--style-autumn     { border-color: #c97a3a; }
    .rd-banner--style-winter     { border-color: #a3b8c9; }
    .rd-banner--style-christmas  { border-color: #8a3a3a; }
    .rd-banner--style-easter     { border-color: #c4a052; }
    .rd-banner--style-valentines { border-color: #c47a8a; }
    .rd-banner--style-funfair    { border-color: #784356; }

    @media (max-width: 700px) {
        .rd-banner { min-height: 76px; }
        .rd-banner__inner { padding: 14px 18px; gap: 14px; flex-direction: column; align-items: stretch; text-align: center; }
        .rd-banner__heading { font-size: 18px; }
        .rd-banner__sub { font-size: 12.5px; }
        .rd-banner__cta { align-self: center; }
        .rd-banner--topbar .rd-banner__inner { flex-direction: row; }
    }

    /* ── Flush-fit when inside a widget-slot section anchor ───── */
    /* The host <section> reserves vertical padding equal to the
       banner height; the slot itself is absolutely positioned at
       the very top or bottom edge, so the banner reads as a label
       attached to that edge rather than floating in the middle. */
    section:has(> .widget-slot--section_below),
    section:has(> .widget-slot--section_above) { position: relative; }
    section:has(> .widget-slot--section_below) { padding-bottom: 120px !important; }
    section:has(> .widget-slot--section_above) { padding-top:    120px !important; }

    .widget-slot--section_below,
    .widget-slot--section_above {
        position: absolute;
        left: 0; right: 0;
        z-index: 5;
        margin: 0;
    }
    .widget-slot--section_below { bottom: 0; }
    .widget-slot--section_above { top: 0; }

    .widget-slot--section_below .rd-banner,
    .widget-slot--section_above .rd-banner { margin: 0; }

    /* Bottom-of-section: rounded TOP corners only, no bottom border. */
    .widget-slot--section_below .rd-banner {
        border-radius: 12px 12px 0 0;
        border-bottom: 0;
        box-shadow: 0 -10px 28px rgba(120, 67, 86, 0.10);
    }
    /* Top-of-section: rounded BOTTOM corners only, no top border. */
    .widget-slot--section_above .rd-banner {
        border-radius: 0 0 12px 12px;
        border-top: 0;
        box-shadow: 0  10px 28px rgba(120, 67, 86, 0.10);
    }
    /* Phones — reduce the reserved padding to match the slightly
       taller stacked layout on small screens. */
    @media (max-width: 700px) {
        section:has(> .widget-slot--section_below) { padding-bottom: 150px !important; }
        section:has(> .widget-slot--section_above) { padding-top:    150px !important; }
    }
