/* ==========================================================================
   agentic-a11y.css
   Additive, isolated enhancements for Agentic Browsing / accessibility.
   Loaded AFTER style.css so these rules layer on top without editing the
   production stylesheet. Safe to remove to fully revert.
   ========================================================================== */

/* --- CLS: stop the hero carousel "stacked items" flash before Owl inits ---
   Before Owl Carousel adds `.owl-loaded`, every `.item` is a full-height
   block, so the page reflows dramatically once the script collapses them to
   a single slide. Reserving the first slide only keeps layout stable for
   machine-driven interactions that act before JS settles. */
.slideBanner:not(.owl-loaded) {
    overflow: hidden;
}
.slideBanner:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}
.slideBanner:not(.owl-loaded) .item:first-child .banner-slider-image-dektop {
    width: 100%;
    height: auto;
}

/* --- Visible focus for custom (non-native) controls promoted to buttons ---
   The hamburger and chat-close are <div>/<span role="button" tabindex="0">.
   Keyboard + agent focus needs a perceivable focus ring. */
.navdropdown[role="button"]:focus-visible,
.close-btn[role="button"]:focus-visible,
[data-action]:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
    border-radius: 2px;
}

.navdropdown[role="button"],
.close-btn[role="button"] {
    cursor: pointer;
}

/* --- Reserve space for the fixed lead-status region so async messages
   injected after submit don't shift surrounding content. --- */
#leadMailStatus:empty,
#mailStatus:empty {
    min-height: 0;
}
