/*
Theme Name:   OSP
Description:  OSP theme
Author:       OSP
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

.block-title .elementor-heading-title {
    position: relative;
    width: fit-content;
    line-height: clamp(1.5rem, 2vw, 3.5rem) !important;
}

.block-title .elementor-heading-title::after {
    content: "";
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #163072;
    transition-duration: 0.6s;
}

.block-text .elementor-widget-container {
    container-type: inline-size;
    container-name: test;
    padding: 1rem;
}

.elementor-column-gap-wide {
    gap: 1.5rem;
}

.elementor-slide-heading {
    font-size: clamp(2.25rem, 6vw, 4rem) !important
}

.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a, .widget-title h2 {
    font-size: clamp(1.6rem, 2vw, 1.7rem) !important;
    line-height: clamp(1.2em, 5vw, 1.4em) !important;
}

.logo-grid .ha-logo-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.logo-grid .ha-logo-grid-wrapper .ha-logo-grid-item {
    width: unset !important;
    height: unset !important;
}

.logo-grid .ha-logo-grid-wrapper .ha-logo-grid-item > .ha-logo-grid-figure {
    padding: clamp(0rem, 3vw, 2rem);
}

.tile-hidden-content {
    aspect-ratio: 1 / 1;
}

.tile-hidden-content > div:hover, .tile-hidden-content > div:active {
    background: linear-gradient(180deg, #1794D4, #1794D4) !important;
}

.tile-hidden-content .tile-content {
    opacity: 0;
    transition-duration: 0.5s;
}

.tile-hidden-content > div {
    align-content: center;
}

.tile-hidden-content:hover .tile-content, .tile-hidden-content:active .tile-content {
    opacity: 1;
}

#partners-wrapper > div {
    gap: 1rem;
}

#main-menu .elementor-nav-menu__container {
    top: 100px !important;
}

#main-menu .menu-item > a {
    font-size: 17px;
}

@media screen and (max-width: 576px) {
    .elementor-nav-menu {
        justify-content: unset !important;
    }

    .testimonial-carousel .elementor-testimonial {
        flex-direction: column-reverse !important;
    }

    .team-member-wrapper img {
        mask-size: 85% !important;
    }

    .team-member-wrapper div.showhover {
        opacity: 1 !important;
        margin-bottom: 20px;
        font-size: 1.5em !important;
    }

    .swiper-slide {
        margin: 0 !important;
    }

    .swiper-slide > .swiper-slide-inner {
        padding: 0 !important;
    }

    .footer .elementor-container {
        display: grid;
    }

    .footer .elementor-column {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .block-title .elementor-heading-title {
        margin-bottom: 1.5em;
    }

    .elementor-image-carousel {
        --e-image-carousel-slides-to-show: 2;
    }

    .swiper-slide-contents {
        max-width: unset !important;
    }

    .swiper-slide-inner {
        padding: 0 2rem !important;
    }
}

@media screen and (max-width: 992px) {
    .testimonial-carousel .swiper-slide {
        border: none !important;
    }
}

@media screen and (min-width: 992px) {
    .block-text .elementor-widget-container {
        padding: clamp(1rem, 1vw, 2rem) clamp(1rem, 15vw, 20rem);
    }
}

@media screen and (min-width: 1200px) {
    #talk-of-the-town {
        padding: 0 clamp(2rem, 3vw, 4rem);
    }
}
