/*
Theme Name: Studio2 / Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: Studio2 Design + Digital
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 


@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Special+Elite&display=swap');

.hero-bg-iframe video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-slide {
    position: relative;
    touch-action: pan-x;
}

.hero-video-slide .hero-bg-iframe,
.hero-video-slide video,
.hero-video-slide iframe {
    pointer-events: none;
}

.hero-video-audio-toggle {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
    backdrop-filter: blur(8px);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.horizontal-hero-gallery.is-audio-toggling {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
}

.hero-video-audio-toggle,
.hero-video-audio-toggle * {
    -webkit-tap-highlight-color: transparent;
}

.hero-video-audio-toggle:hover,
.hero-video-audio-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.68);
    border-color: rgba(255, 255, 255, 0.85);
    transform: scale(1.04);
    outline: none;
}

.hero-video-audio-toggle svg {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

.hero-video-audio-toggle__sound {
    display: none;
}

.hero-video-audio-toggle.is-unmuted .hero-video-audio-toggle__muted {
    display: none;
}

.hero-video-audio-toggle.is-unmuted .hero-video-audio-toggle__sound {
    display: block;
}

@media (max-width: 768px) {
    .horizontal-hero-gallery .hero-video-slide {
        width: calc(100vw - 44px) !important;
        flex: 0 0 calc(100vw - 44px) !important;
        height: clamp(280px, 64vh, 560px) !important;
        aspect-ratio: auto !important;
        background: #000;
        overflow: hidden;
        scroll-snap-align: start !important;
    }

    .horizontal-hero-gallery .hero-video-slide .hero-bg-iframe,
    .horizontal-hero-gallery .hero-video-slide video,
    .horizontal-hero-gallery .hero-video-slide iframe {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
    }

    .horizontal-hero-gallery .hero-video-slide video,
    .horizontal-hero-gallery .hero-video-slide iframe {
        object-fit: contain !important;
        background: #000;
    }

    .horizontal-hero-gallery .hero-video-audio-toggle {
        right: 14px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }
}
