/* Only the text and CTA rotate. The existing purple hero and dashboard stay in place. */
#hero-14 .mb-hero-slider { position: relative; }
#hero-14 .mb-hero-slide[hidden],
#hero-14 .mb-hero-controls[hidden] { display: none; }
#hero-14 .mb-hero-slider.is-ready .mb-hero-stage { display: grid; }
#hero-14 .mb-hero-slider.is-ready .mb-hero-slide {
    grid-area: 1 / 1;
    align-self: center;
    min-width: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 450ms ease, transform 450ms ease;
}
#hero-14 .mb-hero-slider.is-ready .mb-hero-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
/* Match the original h1 spacing on every slide, including h2 headings. */
#hero-14 .mb-hero-slide-title { margin: 0; padding: 0; overflow-wrap: anywhere; }
#hero-14 .mb-hero-description { white-space: pre-line; overflow-wrap: anywhere; }
#hero-14 .mb-hero-slide .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#hero-14 .mb-hero-slider a:focus-visible,
#hero-14 .mb-hero-controls button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* Keep the requested heading/description/button layout; reveal extra controls on keyboard focus. */
#hero-14 .mb-hero-controls {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 4px;
    padding: 4px;
    width: max-content;
    max-width: 100%;
    background: #292052;
    border-radius: 8px;
}
#hero-14 .mb-hero-controls:not(:focus-within),
#hero-14 .mb-hero-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#hero-14 .mb-hero-controls button {
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
#hero-14 .mb-hero-controls button:hover { background: rgba(255, 255, 255, .15); }
@media (prefers-reduced-motion: reduce) {
    #hero-14 .mb-hero-slider.is-ready .mb-hero-slide { transition: none; transform: none; }
}
