/*
 Theme Name:   WPResidence Child Theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WPResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.4.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
.page-template-blog_list .col-12.breadcrumb_container {
    display: none;
}
.page-template-blog_list .property_listing_blog:hover {
    box-shadow: var(--wp-estate-cssbox-shadow-option, 1px 3px 20px 9px rgb(255 250 240));
}
.page-template-blog_list .listing_wrapper h4 a::after, .page-template-blog_list .listing_wrapper h4::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    cursor: pointer;
}
.single-post .single-content img{
    width: 100%;
    margin-bottom: 20px;

    display: block;
}
.contact-form-side .shortcode_contact_form{
    padding:0;
}
.page-id-32707 .col-12.breadcrumb_container,
.page-id-29060 .col-12.breadcrumb_container {
    display: none;
}


.type_class_5 .testimonial-container.type_class_4{background: transparent;    box-shadow: none;}
.type_class_5 .testimonial-text{background: transparent;}
.type_class_5 .testimonial-text:after{ display: none; }



.custom-slick-slider .slider-thumb {
    margin-left:-5px;
    margin-right: -5px; /* adjust based on spacing */
}
.custom-slick-slider .slick-slide{cursor: pointer;}

.custom-slick-slider .slider-thumb .slick-slide {
    padding: 0 5px;
}
.custom-slick-slider .slider-thumb .slick-slide img{opacity: .6;}
.custom-slick-slider .slider-thumb .slick-slide.slick-active.slick-current img{border:5px solid #D2BFA3;opacity: 1;}


.slider-main .e-con-inner,
.slider-thumb .e-con-inner {
    display: block !important;
}

.slider-thumb .slick-slide {
    opacity: 0.6;
    cursor: pointer;
}

.slider-thumb .slick-current {
    opacity: 1;
}


 .wpresidence-team-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 0 0 30px;
        }
.wpresidence-team-buttons{    background: #F8F3ED;
    border-radius: 50px;
    padding: 7px;
    border: 1px solid rgb(0 0 0 / 20%);
    display: flex;
    gap: 10px;}
      .wpresidence-team-buttons button.wpresidence-team-tab {
    border: 1px solid #2d5c72;
    border-radius: 999px;
    background: transparent;
    color: #2d5c72;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    min-width: 200px;
}
.wpresidence-team-buttons button.wpresidence-team-tab.is-active{    border: 1px solid #2d5c72;
    background: #2d5c72;
    color: #ffffff;}
        .wpresidence-team-tab.is-active {
            background: linear-gradient(90deg, #d8b200, #f4d83a);
            color: #111;
        }

        .wpresidence-team-list {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 24px;
        }

        .wpresidence-team-item {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 10px 31px 0 rgba(7, 152, 255, 0.09);
        }

        .wpresidence-team-photo img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
        }

        .wpresidence-team-name,
        .wpresidence-team-excerpt {
            padding-left: 24px;
            padding-right:24px;
                text-align: center;
        }

        .wpresidence-team-name {
            margin-top: 24px;
            margin-bottom: 8px;
        }

        .wpresidence-team-excerpt {
            padding-bottom: 16px;
        }

        .wpresidence-team-contact {
            padding: 0 24px 24px;
            display: flex;
            gap:30px;
                justify-content: center;
        }
        .wpresidence-team-contact svg{    width: 24px;
    height: 24px;}
     .wpresidence-team-contact  a{transition: all 0.5s ease;display: inline-block;}
     .wpresidence-team-contact  a:hover{transform: scale(1.2);}
.wpresidence-team-contact svg path{fill: #2D5C72;}
.wpresidence-team-excerpt p{margin-bottom: 0;overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;}
        .wpresidence-team-contact p {
            margin: 0 !important;
        }

        .wpresidence-team-contact a {
            color: #f4d83a;
        }
        .wpresidence-team-languages{
                padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    margin-bottom: 1rem;
        }
        .wpresidence-team-languages strong {
    display: block;
}
p.wpresidence-team-position {
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
}


header.elementor-location-header .elementor-element.social-media-dropdown{
    display:  none;
    background-color: #fff;
    position: absolute;
    top: 40px;
    border: 1px solid rgba(0, 0, 0, .175);
    border-radius: 4px;
    padding: 15px 0;
}

header.elementor-location-header .elementor-element.social-media-dropdown.show{
    display: block;
}
/* .single .content_wrapper,.single.single-estate_property .wpresidence-content-container-wrapper{
    padding-top: 90px;
}
.single header .elementor-element{
    background-color: #222222;
} */




@media (max-width: 1024px) {
            .wpresidence-team-list {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        .grid-column-wrapper.custom-prop-grid.columns-4{
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

@media(min-width:768px){
.page-template-blog_list ul.pagination.pagination_nojax {
    justify-content: center;
    padding-bottom: 70px;
}
}

@media(min-width: 1199px){
    .mobilemenu-close-btn,.mobilemenu-trigger-btn{
        display: none;
    }
    
}
@media(max-width: 1199px){

    .nav-container .main-navigation.elementor-element,
    .follow-us-container{
        display: none !important;
    }

    .nav-container .main-navigation.elementor-element{
        position: fixed;
        top: 0;
        left: 0; /* keep 0 */
        width: 280px;
        height: 100%;
        z-index: 9999;
        padding: 65px 20px;
        background-color: var(--wp-estate-mobile-menu-background-color-option, var(--wp-estate-mobile-menu-background-color));
        box-shadow: 2px 0 15px rgba(0,0,0,0.15);

        /* 🔥 Drawer Animation */
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

        -webkit-overflow-scrolling: touch;
        will-change: transform;
    }

    /* Active state */
    .nav-container .main-navigation.elementor-element.active {
        transform: translateX(0);
        display: block !important;
    }

    /* Menu styles (keep yours) */
    .nav-container .main-navigation.elementor-element .elementor-nav-menu{
        justify-content: flex-start;
        flex-direction: column;
        margin-left: 0;
    }

    .nav-container .main-navigation.elementor-element .elementor-nav-menu--layout-horizontal{
        display: block;
    }

    .nav-container .main-navigation.elementor-element .elementor-nav-menu--main .elementor-item{
        display: flex;
        align-items: center;
        width: 100%;
        padding: 17px 0 !important;
        border-bottom: 1px solid var(--wp-estate-mobile-menu-border-color-option, var(--wp-estate-mobile-menu-border-color));
        transition: all .3s ease;
    }
    .single header .nav-container .main-navigation.elementor-element  .elementor-element{
        background-color: var(--wp-estate-mobile-menu-background-color-option, var(--wp-estate-mobile-menu-background-color));
    }
    .nav-container .main-navigation.elementor-element .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li>a {
        color: #fff;
        fill: #fff;
    }
}

@media(max-width:767px){
    .page-template-blog_list .heading_over_video, .page-template-blog_list .heading_over_image {

    font-size: 41px;
    line-height: 1.1em;
}
.page-template-blog_list .subheading_over_video, .page-template-blog_list .subheading_over_image {

    font-size: 15px;
}
.page-template-blog_list .wpestate_header_image{
        height: 290px !important;
}
#custom-prop-filter-bbd4a57 .custom-prop-grid.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

}


    @media (max-width: 600px) {
            .wpresidence-team-list{
                grid-template-columns: 1fr;
            }
            .home-blogs-wrapper .wpresidence_shortcode_listings_wrapper{
                padding-bottom: 40px;
            }
.wpresidence-team-buttons button.wpresidence-team-tab { min-width:160px;}
#custom-prop-filter-bbd4a57 .custom-prop-grid.columns-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
        }