/* Desktop: base styles, 1025px and wider */
@media (max-width: 1200px) {
    .gd-home-slick-slider .gd-slider-meta{
        grid-template-columns: 1fr;
        
    }
}

/* Tablet and below: 1024px and narrower */
@media (max-width: 1024px) {
    footer nav.elementor-nav-menu--main .elementor-nav-menu li.menu-item  a.elementor-item{
        justify-content: center;
    }

    /* *
    *   Map Style
    * */
    .map_background .top_banner_section_in #wp_widget_gd_map_wrapper #wp_widget_gd_map,
    .map_background .top_banner_section_in #wp_widget_gd_map_wrapper{
        height: 500px !important;
    }

    .geodir-map-wrap.geodir-directory-map-wrap .geodir_map_container.wp_widget_gd_map{
        min-height: 500px !important;
    }

    .gd-home-slick-slider.slick-slider{
        left: 0;
        margin-right: 40px;
    }

    .gd-logo-slider button.slick-next.slick-arrow{
        right: -50px;
    }

    .bbp-user-page.single .site-main, .bbp-user-edit.single .site-main{
        margin: 0;
        max-width: 100%;
        padding: 40px 15px;
    }

    .HOA-city-state-main .container .row{
        max-width: 100%;     /* Prevents the wrapper from breaking page layouts */
        overflow-x: auto;    /* Adds the scrollbar only when content overflows */
        -webkit-overflow-scrolling: touch; /* Ensures smooth kinetic scrolling on iOS */
    }

    table.table-email{
        width: 100%;         /* Ensures the table spans the wrapper width */
        min-width: 600px;    /* Force scroll bar by keeping columns wide enough */
        border-collapse: collapse;
    }
}

/* Mobile and below: 767px and narrower */
@media (max-width: 767px) {
    body .elementor-swiper-button {
        display: none !important;
    }

    body.post-type-archive .geodir-map-wrap.geodir-directory-map-wrap .geodir_map_container.wp_widget_gd_map{
        min-height: 500px !important;
    }

    body.post-type-archive .map_background .top_banner_section_in #wp_widget_gd_map_wrapper #wp_widget_gd_map,
    body.post-type-archive .map_background .top_banner_section_in #wp_widget_gd_map_wrapper{
        height: 500px !important;
    }

    .gd-home-slick-slider .flex-item-row{
        flex-direction: column;
    }

    .gd-home-slick-slider .flex-item-row .gd-slider-image{
        max-width: 100%;
    }

    .gd-home-slick-slider.slick-slider{
        margin-right: 0;
    }

    .gd-home-slick-slider .gd-slider-item.slick-slide{
        padding: 60px 60px 60px 60px;
    }

    .gd-home-slick-slider button.slick-next.slick-arrow{
        right: -18px;
    }

    .gd-home-slick-slider button.slick-prev.slick-arrow{
        left: -18px;
    }

    #find-right-resource .elementor-element.elementor-element-762a184{
        position: static;
    }

    #bbp-user-wrapper #bbp-user-body{
        float: unset;
        width: 100%;
        margin: 0;
    }

    #bbp-user-wrapper #bbp-single-user-details{
        float: unset;
        width: 100%;
        margin-bottom: 40px;
    }
}

/* Mobile and below: 767px and narrower */
@media (max-width: 600px) {
    #bbpress-forums div.bbp-search-form{
        float: unset;
        margin-left: 0;
    }

    #bbpress-forums .bbp-pagination{
        flex-direction: column;
        gap: 10px;
    }

    #bbpress-forums .bbpressloginlinks{
        text-align: center;
        float: unset;
    }

    #bbpress-forums #bbp-user-wrapper h2.entry-title{
        text-align: center;
    }

    span.bbp-header{
        margin-left: 10px;
    }
}

/* Disable selected Elementor hover transforms on touch devices */
@media (hover: none), (pointer: coarse) {
    /* Buttons and icons */
    .elementor-button:hover,
    .elementor-icon:hover {
        animation: none !important;
        transform: none !important;
    }

    /* Containers and widgets */
    .e-con:hover,
    .elementor-section:hover,
    .elementor-column:hover,
    .elementor-widget:hover {
        animation: none !important;
        transform: none !important;
    }

    /* Disable decorative hover transitions */
    [class*="elementor-animation-"] {
        transition: none !important;
    }

    /* .elementor-146 .elementor-element.elementor-element-01c7127 .elementor-button:hover, .elementor-146 .elementor-element.elementor-element-01c7127 .elementor-button:focus{
        background-color: var(--button-normal-bg) !important;
    } */
}