/* :: Mobile-friendly overrides (loaded after the main stylesheet) */

/* Stop decorative shapes from causing sideways scrolling */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

img,
video,
iframe,
embed,
object {
    max-width: 100%;
}

/* Contact Form 7 fields never wider than the screen */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    max-width: 100%;
}

/* :: Navbar - mobile / tablet menu */
@media (max-width: 1279px) {
    .nav-bar .nav-bar-menu {
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        padding: 8px 0 16px;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    .nav-bar .nav-bar-menu > ul > li {
        margin-left: 20px;
    }
    .nav-bar .nav-bar-menu > ul > li > a {
        display: block;
    }
    .nav-bar .level-2 {
        padding: 12px 0;
        margin-right: 20px;
    }
    .nav-bar .level-2::after {
        display: none;
    }
}

/* :: Small phones */
@media (max-width: 639px) {
    .testimonial-card {
        padding: 24px !important;
    }
    .testimonials-swiper .custom-prev,
    .testimonials-swiper .custom-next {
        display: none;
    }
}
