/* =========================================
   GLOBAL FOCUS STYLE FIX
   ========================================= */
*:focus,
.elementor a:focus {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px #000,
        0 0 4px 8px #b37651;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

*:focus:not(:focus-visible),
.elementor a:focus:not(:focus-visible) {
    box-shadow: none;
}

/* =========================================
   HOMEPAGE HERO FIXES
   ========================================= */

.elementor-widget.video-toggle-btn {
    position: absolute;
    top: 170px;
    left: 20px;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.elementor-widget.video-toggle-btn a {
    pointer-events: none;
}

#hero-video-container:hover .elementor-widget.video-toggle-btn,
#hero-video-container .elementor-widget.video-toggle-btn:focus-within {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#hero-video-container:hover .elementor-widget.video-toggle-btn a,
#hero-video-container .elementor-widget.video-toggle-btn:focus-within a {
    pointer-events: auto !important;
}

.ma-video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s ease-out,
        visibility 0.4s ease-out;
}

#hero-video-container.is-paused .ma-video-cover {
    opacity: 1 !important;
    visibility: visible !important;
}

#hero-video-container.is-paused .elementor-background-video-container,
#hero-video-container.is-paused .elementor-background-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    transition:
        opacity 0.4s ease-out,
        visibility 0.4s ease-out;
}

.video-toggle-btn a.is-paused {
    color: #000000 !important;
}

.hero-video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hero-video-container:has(.is-paused)::after {
    opacity: 1;
}

@media (max-width: 767px) {
    .elementor-widget.video-toggle-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
        top: auto !important;
        bottom: 30px !important;
        left: 20px !important;
    }
    .elementor-widget.video-toggle-btn a {
        pointer-events: auto !important;
    }
    .hero-video-container::after {
        opacity: 1 !important;
    }
    #hero-video-container.is-paused .ma-video-cover {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero-video-container .elementor-background-video-container {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .ma-video-cover {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .hero-video-container::after {
        opacity: 1 !important;
    }
}

/* =========================================
   RIDE WTH USMENU FIXES
   ========================================= */

.page-id-2172 header.elementor-210 {
    z-index: 200;
}

ul#menu-1-e21c708 .elementor-item:focus {
    background: #c70119;
}
