.lifestages-template{
    opacity: 0;
}

.bullet-wrapper{
    font-size:16px;
    color:#1E1E1C;
    font-weight: 200;
}

.ls-card-wrapper{
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap:10px;
    padding:0;
    list-style: none;
}

.ls-card-wrapper .ls-card{
    display: flex;
    flex-direction: column;
    gap:15px;
}

.ls-card-wrapper .ls-card .image-wrapper{
    border-radius:10px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    height:350px;

}

.image-container div{
    width:100%;
    height:100%;
    background-position: center;
    background-size: cover;
}


.ls-card-wrapper .ls-card img,
.image-container .image-right{
    width:100%;
    height:100%;
    object-fit: cover;
}

.image-container{
    max-width:577px;
    width:100%;
    height:432px !important;
}

.ls-card-wrapper .ls-card h3{
    font-size:16px;
    color:#54192D;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 20px;
    text-transform: uppercase;
}

.ls-card-wrapper .ls-card img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.ls-card-wrapper .ls-card:hover img{
    transform: scale(1.2);
}

.bullet-wrapper{
    padding-left:20px;
}

.bullet-wrapper li::marker{
    font-size:15px;
}


.swiper-container{
    overflow: hidden;
}

.testimonial{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
    gap:20px;
}

.testimonial p,
.testimonial q{
    color:#CD7E7A;
    text-transform: uppercase;
    line-height: 25px;

}

.testimonial q.feedback{
    font-weight: 600;
    font-size: 20px;
    width: 45%;
    text-align: center;
    letter-spacing: 2px;
}

.testimonial p.cleint{
    font-size:16px;
    font-weight: 200;
    text-align: center;
}

.swiper-button-next::after, .swiper-button-prev::after{
    display: none;
}


/* <a href="<?php echo esc_url( $card['card_url'] ); ?>">
<section>
    <h3>
        <?php echo esc_html( $card['card_title'] ); ?>
    </h3>
    <div class="card-image" style="background-image:url(<?php esc_url( $card['card_image']['url'] ); ?>)"></div>
</section>
</a> */

.section-7 .card-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:10px;
    border-radius: 10px;
    overflow: hidden;
    list-style: none; 
    padding:0;
}

.section-7 .card-wrapper li{
    width:100%;
    height: 560px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.section-7 .card-wrapper a,
.section-7 .card-wrapper section{
    width:100%;
    height:100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index:3;
}

.section-7 .card-wrapper section h3{
    z-index:3;
    font-size:20px;
    letter-spacing: 4px;
    line-height: 25px;
    color: #FBF8F3;
    text-transform: uppercase;
    text-align: center;
}

.section-7 .card-wrapper .card-image{
    background-size: cover;
    background-position: center center;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    transition: transform 0.5s ease-in-out;
    z-index:1;
}

.section-7 .card-wrapper li:hover .card-image{
    transform: scale(1.2);
}

.section-7 .card-wrapper li .card-image::after{
    content:'';
    position: absolute;
    opacity: 0;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: black;
    transition: opacity 0.5s ease-in-out;
    z-index:1;
}

.section-7 .card-wrapper li:hover .card-image::after{
    opacity: 0.4;
}

/* <ul class="section-6 blog-wrapper">
<?php foreach( $articles as $item ): 
    $page_item = $item['page_item'];    
?>
    
    <li>
        <a href="<?php echo esc_url( get_permalink( $page_item->ID ) ); ?>">
            <section>
                <div class="blog-image-container">
                    <img src="<?php esc_url(get_the_post_thumbnail_url( $page_item->ID ) ); ?>" alt="">
                </div>
                <h3><?php echo esc_html( $page_item->post_title ); ?></h3>
                <p class="content"><?php echo esc_html( $page_item->post_excerpt ); ?></p>
                <p>Read more →</p>
            </section>
        </a>
       
    </li>
<?php endforeach; ?>
</ul> */

.swiper-wrapper.blog-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding:0;
    gap:10px;
    row-gap: 50px;
}

.swiper-wrapper.blog-wrapper li > *{
    width:100%;
    height:100%;
}

.section-6 section{
    display: flex;
    flex-direction: column;
    gap:30px;
}


.swiper-wrapper.blog-wrapper h3{
    font-weight: 200;
    font-size:16px;
    letter-spacing: 4px;
    line-height: 25px;
    text-transform: uppercase;
    color:#54192D;
}

.swiper-wrapper.blog-wrapper .content{
    font-weight: 200;
    font-size:16px;
    letter-spacing: 2px;
    line-height: 25px;
    color:#54192D;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.swiper-wrapper.blog-wrapper .read-more{
    font-family: 'IvyPresto Display';
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
}

.section-5 .swiper-pagination{
    display: none;
}

.section-6 .blog-image-container{
    width:100%;
    height:237px;
    border-radius: 10px;
    background-color: #D9D9D9;
    position: relative;
    overflow: hidden;
}

.section-6 .blog-image-container img{
    width:100%;
    height:100%;
    top:0;
    left:0;
    position: absolute;
    object-fit: cover;
}

.section-6.swiper-button-container{
    display: none;
}

.section-7 .swiper-pagination{
    display: none;
}



@media( max-width:1024px ){
    .ls-card-wrapper{
        grid-template-columns: repeat(3, 1fr);
        gap:10px;
    }

    .ls-card-wrapper .ls-card .image-wrapper{

        height:300px;
    
    }

    .image-container{
        max-width:100%;

    }

    .testimonial q.feedback{
        width: 60%;
    }
}


@media( max-width:768px ){

    .section_2_bullet.bullet-wrapper{
        font-size:12px;
    }

    .swiper-wrapper.blog-wrapper{
       margin-bottom:40px;
    }

    .section-5 .swiper-pagination{
        position: initial;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top:20px;
    }

    .section-6.swiper-button-container{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap:50px;
    }

    .section-5.swiper-button-next,
    .section-5.swiper-button-prev{
        display: none;
    }

    .section-5 .swiper-pagination-bullet{
        width:8px;
        height:8px;
        opacity: 1;
        border:1px solid #E9B8BE;
    }

    .section-5 .swiper-pagination-bullet{
        width:8px;
        height:8px;
        opacity: 1;
        border:1px solid #E9B8BE;
        background-color: transparent;
    }

    .section-5 .swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color: #CD7E7A;
    }
    
    .section-6 .swiper-button-next,
    .section-6 .swiper-button-prev{
        position: initial;
    }

    .swiper-wrapper.blog-wrapper{
        gap:initial;
    }

    .ls-card-wrapper{
        grid-template-columns: repeat(2, 1fr);
        gap:10px;
    }

    .ls-card-wrapper .ls-card{
        gap:10px;
    }


    .ls-card-wrapper .ls-card .image-wrapper{
        height:170px;
    }

    .image-container .image-right,
    .image-container{
        max-height:225px;
        height:225px;
    }

    .ls-card-wrapper .ls-card h3{
        font-size:12px;
        text-align: center;
    }

    .section_4_bullet.bullet-wrapper{
        font-size:12px;
    }

    .testimonial q.feedback{
        width: 80%;
        font-size:12px;
    }

    .testimonial p{
        font-size:12px;
    }

    .swiper-wrapper.blog-wrapper h3{
        font-size:12px;
        margin:0;
    }

    .swiper-wrapper.blog-wrapper .content{
        font-size:12px;
    }

    .swiper-wrapper.blog-wrapper .read-more{
        font-size:12px;
    }

    .section-6 section{
        text-align: center;
    }

    .section-7 .card-wrapper li{
        border-radius: 0px;
        height:500px;
    }


    .section-7 .card-wrapper section h3{
        font-size:16px;
    }

    .section-7 .card-wrapper{
        display: flex;
        overflow: initial;
    }

    .section-7 .swiper-pagination{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom:30px;
    }

    .section-7 .swiper-pagination-bullet {
        margin: 0 7.5px !important; 
        border:1px solid #FBF8F3;
        background-color: transparent;
        opacity: 1;
        width:8px;
        height:8px;
    }

    .section-7 .swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color:#54192D;
        border-color:#E9B8BE;
    }

    
    
    .section-7 .card-wrapper li{
        height: 400px;
        margin-right: 0 !important;
    }
}

@media( max-width:480px ){

    .ls-card-wrapper{
        grid-template-columns: repeat(2, 1fr);
        gap:10px;
    }


    /* .swiper-wrapper.blog-wrapper{
        grid-template-columns: repeat(1, 1fr);
    } */

    .section-6 section{
        gap:10px;
    }
}
  



