body{
    font-family: "Mulish", sans-serif;
}/*--------- Common Css ----------- */
.blog-img img,.medevents .medevents-img , .casestudies .casestudies-img, .gallery .presscard,.doccard .doccard-img img, .vm .vmimg img{
    transition: transform 0.4s ease-in-out;
}
.limit-text{
  display: inline-block;
  width: 14ch;             /* ch = character units */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle; 
}
.blog-img:hover img ,.medevents:hover .medevents-img, .casestudies:hover .casestudies-img, .gallery:hover .presscard,.doccard:hover .doccard-img img, .vm .vmimg:hover img {
    transform: scale(1.03); /* Adjust scale as needed */
}
.list-none li{    list-style: none;}
.points ul{
    padding-left: 0px;
}

.text-96{color:#969696 !important;}
.obj-cover{object-fit: cover !important;}
.obj-fill{object-fit: fill !important;}
.navbar-light .navbar-nav .nav-link {color: black;font-size:16px;font-weight:500;}
a.text-hover:hover{text-decoration:underline !important;}
a.text-hover-color:hover{color:#D6534D !important;}
.text-ul{text-decoration:underline !important;}
.faq-hover:hover{background: #B8B8B8 !important;}
.ofh{overflow: hidden;}
.bg-white{background: #000;}
.bg-app {background: #D6534D;}
.text-main {color: #D6534D !important;}
.bg-lapp{background: #D6534D;}
.text-appp {color: #F48C12 !important;}
.text-app2 {color: #D6534D !important;}
.bg-darkk{background-color: #000000 !important;}
.bg-news{background: #F6F6F6;}
.bg-light1 {background: rgba(0, 0, 0, 0.04);}
.bg-greyy{background: #B8B8B8 !important;}
.text-darkk{color: #000000;}
.text-darkkk{color: #000000 !important;}
.text-grey{color: #969696;}
.text-lblue{color: #0F4DED !important;}
.text-nblue{color: #2d2d2d !important;}
.text-app {color: #F48C12;}
.text-lightt , .text-lightt p{color:#555555 !important;}
.brs-10 {border-radius: 10px;}
.brs-15{border-radius: 15px;}
.brs-top-15{border-top-left-radius: 15px;border-top-right-radius: 15px;}
.brs-bot-15{border-bottom-left-radius: 15px;border-bottom-right-radius: 15px;box-shadow: rgba(139, 150, 153, .2) 0 5px 18px;}
.brs-bot-30{border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;}
.brs-20 {border-radius: 20px;}
.brs-30 {border-radius: 30px;}
.brs-40 {border-radius: 40px;}
.brs-50{border-radius:50%;}
.pad5-7{padding: 3px 5px;}  
.lh-60{line-height: 75px;}
.fs-65{font-size: 65px;}
.sideimg {position: absolute;top: 0px;left: 0;width: 350px;}
.bg-under{background: #545454;}
.mtn-48{margin-top: -48px;}
.wid-20{width: 20px;}
.fw-100{font-weight:100;}
.fw-200{font-weight:200;}
.fw-300{font-weight:300;}
.fw-400{font-weight:400;}
.fw-500{font-weight:500;}
.fw-600{font-weight:600;}
.fw-700{font-weight:700;}
.fw-800{font-weight:800;}
.fw-900{font-weight:900;}
.btnsecondary {padding: 8px 30px;border-radius:30px !important;}
/*.btnprimary {padding: 12px 30px !important;border-radius:30px !important;}*/

/*--------- Text overflow Control Css --------- */
.overelipsis1 {display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis3 {display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
.overelipsis {display: -webkit-box;-webkit-line-clamp: 5;-webkit-box-orient: vertical;overflow: hidden;}
/* =========================================
   CAREGROVE EXACT NAVBAR DESIGN
========================================= */

.top-navbar-head{
    background:#fff !important;
    padding:0 !important;
    min-height:51px;
    transition:all .3s ease;
    z-index:9999;
}

/* Sticky */
/*.top-navbar-head.activescroll{*/
/*    background:#f5f5f5 !important;*/
/*    border-bottom:3px solid #ef6b73;*/
/*    padding:0 !important;*/
/*    min-height:76px;*/
/*    box-shadow:none !important;*/
/*}*/

/* Container */
.top-navbar-head .container,
.top-navbar-head .container-fluid{
    width:100%;
    height:46px;
    display:flex;
    align-items:center;
    /*justify-content:space-between;*/
    padding:0px 260px 0px 44px;
}

/* Align nav menu to the left, next to the logo (desktop only) */
@media (min-width:992px){
    /*.top-navbar-head .container,*/
    /*.top-navbar-head .container-fluid{*/
    /*    justify-content:flex-start;*/
    /*}*/
    .navbar-nav{
        margin-left:48px !important;
    }
}

/* =========================================
   LOGO
========================================= */

/*.navbar-brand{*/
/*    margin:0 !important;*/
/*    padding:0 !important;*/
/*    display:flex;*/
/*    align-items:center;*/
/*    line-height:1;*/
/*}*/

.navbar-brand img{
    width:240px;
    height:auto;
    object-fit:contain;
}

/* =========================================
   NAVBAR
========================================= */

.navbar-collapse{
    flex-grow:0 !important;
}

.navbar-nav{
    display:flex;
    align-items:center;
    gap:44px;
    margin:0 !important;
    padding:0 !important;
}

.navbar-nav .nav-item{
    margin:0 !important;
    padding:0 !important;
    list-style:none;
}
/* SINGLE LINE NAVBAR TEXT */

.navbar-nav .nav-link{
    font-family:'Montaga',serif !important;
    font-size:16px !important;
    font-weight:400 !important;
    color:#111111 !important;
    padding:0 !important;
    margin:0 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    transition:all .25s ease;

    /* ADD THESE */
    white-space:nowrap !important;
    word-break:keep-all !important;
}

/* REMOVE EXTRA WIDTH ISSUE */

.navbar-nav .nav-item{
    width:auto !important;
    flex:none !important;
}

/* FIX NAVBAR WRAPPING */

.navbar-nav{
    flex-wrap:nowrap !important;
}
/* Menu Text */
.navbar-nav .nav-link{
    font-size:20px;
    font-weight:500;
    color:#111111 !important;
    padding:0 !important;
    margin:0 !important;
    line-height:1;
    letter-spacing:0;
    transition:all .25s ease;
}

/* Hover */
.navbar-nav .nav-link:hover{
    color:#b68a63 !important;
}

/* Active */
.navbar-nav .nav-link.active{
    color:#111111 !important;
}

/* Dropdown */
.navbar-nav .dropdown .nav-link:hover{
    color:#b68a63 !important;
}

.navbar-nav .dropdown .nav-link.active{
    color:#111111 !important;
}

/* Remove Bootstrap Arrow */
.dropdown-toggle::after{
    display:none !important;
}

/* =========================================
   DROPDOWN
========================================= */

.dropdown-menu{
    border:none;
    border-radius:0;
    min-width:220px;
    padding:10px 0;
    margin-top:26px;
    box-shadow:0 12px 28px rgba(0,0,0,0.08);
}

.dropdown-item{
    font-size:15px;
    font-weight:400;
    color:#111;
    padding:10px 22px;
    transition:all .25s ease;
}

.dropdown-item:hover{
    background:#f5f5f5;
    color:#b68a63;
}

/* =========================================
   BREADCRUMB
========================================= */

nav.breadcrumb{
    position:relative;
    justify-content:flex-end;
}

ol.breadcrumb{
    justify-content:flex-start;
    margin:0;
    padding:0;
}

.bred_flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.bred_flex h1{
    font-size:18px;
    margin-bottom:0;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:991px){

    .top-navbar-head{
        min-height:auto;
        padding:12px 0 !important;
    }

    .top-navbar-head.activescroll{
        min-height:auto;
        padding:12px 0 !important;
    }

    .top-navbar-head .container,
    .top-navbar-head .container-fluid{
        height:auto;
        align-items:flex-start;
        padding:0 18px;
    }

    .navbar-brand img{
        width:185px;
    }

    .navbar-toggler{
        border:none !important;
        outline:none !important;
        box-shadow:none !important;
        padding:0 !important;
    }

    .navbar-collapse{
        width:100%;
        padding-top:20px;
    }

    .navbar-nav{
        gap:18px;
        align-items:flex-start;
    }

    .navbar-nav .nav-link{
        font-size:18px;
    }

    .dropdown-menu{
        margin-top:10px;
        box-shadow:none;
        padding-left:10px;
    }

}   
/*--------- Top Menu Css ---------*/
.top_menu .float-right a i{font-size: 15px;background: #D6534D;border-radius: 50%;color: #FFF;padding: initial;width: 25px;height: 25px;text-align: center;padding-top: 5px;}

/*services*/
.service .testimoimg{width: 75px;height: 75px;border-radius: 50%;}

.service-card:hover .text-hover-color{
    color:#D6534D !important
}
.wid-30 {
    width: 30px;
}
/*vision-mission*/
.vision-mission-card:hover .text-hover-color{
    color:#D6534D !important
}
/*Doctors*/
.doctor-card:hover .text-hover-color{
    color:#D6534D !important
}
.doctoricons{
    background: #000;
    margin: 0px 5px;
    color: #fff;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}
/*Banner Section STYLES*/
.carousel-indicators li{
    border-radius: 50%;
    width: 12px;
    height: 12px;
}
.banner_txt {
    position: absolute;
    top: 505;
    top: 46%;
    left: 54%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 80%;
}
.banner_txt h3{
    font-size: 40px;
    font-weight: bold;
}

.banner_txt p{
    font-size: 20px;
}

a._banner_href {
    color: #fff;
    width: 100%;
    display: block;
}
  
.banner_txt h1{font-size:50px;font-size: 60px;width: 75%;font-weight: 900;}
.banner_txt p{width:75%;}


/*About Styles*/
.docimgabout{
    width: 350px;
    object-fit: cover;
    position: absolute;
    height: 400px;
    left: 40px;
    top: 35px;
}
.docimgabouthome{
     width: 436px !important;
     height: 400px !important;
}
.about_homepage div.text-lightt p{
    font-size:14px !important;
    font-weight:500 !important;
}
.whytochoosehome .choosetickbefore li{
    font-size: 18px;
    font-weight: 600;
}
.whytochoosehome .choosetickbefore p{
font-size: 16px;
    font-weight: 300;
    line-height: 20px;
}
/*Awards Styles*/
.awards-card .card-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 320px;
}
.awards_homepage .post:hover p.awardtitle{
    color:#D6534D !important;
}
/*Press Styles*/
.presscard{
    /*border: 3px solid #A1A0A0 !important;*/
    /*padding: 1px;*/
}
.presscontent{
    overflow-y: auto;
    height: 65px;
    }
/*News Styles*/
.news .post:hover .newstitle{
    color:#D6534D ;
}
.news-information h1.font-weight-bold.mb-0 {
    font-size: 30px;
}
/*Treatments Styles*/
.treatments .treatments-card:hover h3.treattitle{
    color:#D6534D ;
}
/*FAQ STyles*/
.faq-hover.active {
    background-color: #B8B8B8 !important; 
}
.faqsection .card-body p{
    color: #4D4D4D;
    font-size: 14px;
    font-weight: 400;
}
/*#accordion .hdng a:after {font-family:Fontawesome;content:'\f078';float:right;font-size:15px;}*/
/*#accordion .hdng a.collapsed:after {font-family:Fontawesome;content:'\f077';}*/

#accordion .hdng a:after {
    content: '\f077'; /* up arrow — shown when expanded */
    float: right;
font-size: 16px;
}

#accordion .hdng a.collapsed:after {
    content: '\f078'; /* down arrow — shown when collapsed */
}

#democ .carousel-indicators .active {background: #D6534D;border: 1px solid #D6534D;margin-top: 9px;}

.whychoosevideo{position:absolute;}
.choosetickbefore *{color:#000;}
.w-250{width:250px;}
.bg-hgrey{background: #F4F4F4;}
.maskimg{position: absolute;right: 0;width: 200px;top: 0;}




/*--------- Blog Area input Css ---------*/
.blogcategory ul li.yearnum:hover p{
    color:#D6534D !important;
}
.blogcategory ul li{border:1px solid #e9e9e9;padding:4px;}
.blogcategory ul li a:hover{color: #D6534D;}
.blogarea h2, .blogarea h3, .blogarea h4, .blogarea h5, .blogarea h6{font-weight:bold;margin:20px 0px;}
.blogarea p{font-size:16px !important;}
.blogarea span{color: #000000;font-size:16px !important;}
.blogarea ul li, .blogarea ol li{font-size:18px;
/*padding: 8px 0px;line-height: 30px;*/
    
}
.blogarea img{width:100%;margin:20px 0px;border: 1px solid #dee2e6;}

/*---------Events Css --------- */
.medeventsdiv a:hover{text-decoration: none;}
.medevents{background: rgba(0, 0, 0, 0.04);cursor:pointer;height: 240px;}
.medevents:hover{background: #000000;}
.medevents p{color:#000000;}
.medevents:hover p{color:#ffffff;}
.medevents p.text-app{color:#000000;}
.medevents:hover p.text-app{color:#D6534D;}
.venuedetails{height:45px;overflow-y:scroll;}
.medevents:hover span , .medevents:hover .title{color: #D6534D !important;}

/*--------- Tesimonial Css --------- */
.testimoimg{width: 75px;height: 75px;border-radius: 50%;}
.paginationcss .page-link {position: relative;display: block;padding: 15px 20px;line-height: 1.25;color: #121212;background-color: #fff;border: 1px solid #dee2e6;border-radius: 50%;margin-right: 16px;}
.page-item:first-child .page-link {border-radius: 50%;}
.paginationcss  .page-item:last-child .page-link {border-radius: 50%;}
.paginationcss .page-item.active .page-link {color: #000000;background-color: #D6534D;border-color: #dee2e6;}


/*--------- Faq's Css --------- */
.faqsection a, .faqsection .text-link {color: #3a3a3a;}
.faqsection a:hover, .faqsection .text-link:hover {text-decoration: none;}

/*--------- video Gallery Css --------- */
.video_gallery_homepage .videogallery:hover span.vidtitle{
    color:#D6534D !important;
}
.vedioimg{position:relative;}
.videogallery{position: absolute;top: 0;bottom: 0;left: 0;right: 0;padding:15px;background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);}
.vgallery .btnandtitle{position:absolute;bottom: 20px;}
.playbtnimg{position:absolute;left: 40%;top: 36%;width:130px;}
.playbtnimgvideo1{left: 75px;}

/*--------- Owl-Carousel Css --------- */
.owl-item a:hover{text-decoration: none;}
.owl-theme .owl-controls .owl-page span {background: #D6534D;}
.owl-buttons{position: absolute;right: 74px;top: -70px;}
.owl-controls .owl-page, .owl-controls .owl-buttons div {cursor: pointer;background: #000000!important;width: 50px;}
.owl-controls .owl-page{background: transparent !important;width: 20px !important;}

/*--------- Contact Us and Write a Review Css ---------*/
.contactusform ::placeholder {color: #000000;font-size:18px;}
/*.contactusform{background: #F8FCFF;}*/
.contactusform .form-control{background: rgba(0, 0, 254, 0.04) !important;padding:25px 15px;border:1px solid #0A0CF4 !important;    border-radius: 7px;}
.writereview .form-control{background: transparent;padding: 25px 15px;}
.writereviewtestimonial .form-control{border: 1px solid #000000;}
.writereview .form-control::placeholder {color: #000000;}
.wreviewp{padding: 10px 10px !important;height: 52px;}
.wreviewpeople{background: rgba(0, 0, 0, 0.04);height: 240px;}
.wrpeopleimg{width: 50px;height: 50px;}
.peoplereview{height: 125px;overflow-y: auto;}
.mobilecon{width: 60px;position: absolute;left: 0px;top: -12px;}

/*--------- Social media icons Css ---------*/
.bg-fb{background: #3b5998;}
.bg-twit{background: #00acee;}
.bg-link{background: #0072b1;}
.bg-whats{background: #25D366;}

/*--------- Book Appointgment Css ---------*/
.bookappointment-text:hover .bookapptxt{
    color:#F48C12 !important;
}
/*.bookapmt .form-control{border-bottom: 1px solid #808080 !important;border-radius: 0;box-shadow: none;}*/
.bookapmt .form-control::placeholder{font-size:14px !important;}
/*.bookapmt .form-control{padding-left:0px !important;}*/
.appointmentimg{position: absolute;right: -100px;}
.appointmentslotscontainer label{background: #eee;border-radius: 4px;padding: 2px 8px;float: left;color: #000000;border: 1px solid #727272;}
.appointmentslotscontainer label:hover{background:#0A0CF4;color:#FFFFFF;}
.appointmentslotscontainer div{width:178px;text-align:center;position:relative;font-size: 16px;;}

/*--------- Speciality's Css ---------*/
.specialtick ul{padding-left: 0px;}
/*.specialtick{    display: flex;*/
/*    align-items: center;}*/
.specialtick {
    position: absolute;
    left: -10px;
}
.artdate{right: 0px;position: absolute;bottom: 22px;background: #D6534D;padding: 10px 15px;}

/*--------- Gallery Css ---------*/
.albumcss{height: 100%;overflow: hidden;}
.allimgnums {position: absolute;bottom: 90px;right: 0;left: 0;color: white;font-size: 18px;font-weight: 600;background: #14131394;text-align: center;}
.albumcss:hover .allimgnums{
    display:block !important;
}
/*--------- iframe Css ---------*/
.mapvenue iframe{width:100%;}

/*--------- Submit btn Searchbar Css ---------*/
.subbtnsearch{position: absolute;right: 8px;top: 8px;border:none !important;background:transparent;z-index:1;padding:0px 12px;color:transparent;}


/*--------- Custotm style ScrollBar Css ---------*/
.cusscroll ::-webkit-scrollbar {width: 2px;}
.cusscroll ::-webkit-scrollbar-track {box-shadow: inset 0 0 5px grey; }
.cusscroll ::-webkit-scrollbar-thumb {background: #D6534D;  border-radius: 10px;}
.cusscroll ::-webkit-scrollbar-thumb:hover {background: #b30000; }


/*--------- Contact Us Css ---------*/
.c_row {display: flex;align-items: center;}
.workhrs.c_row{display: flex;align-items: normal;}
.c_row .c_icon {min-width:50px;height: 50px;vertical-align: middle;text-align: center;background: #D6534D;border-radius: 50%;display: flex;justify-content: center; margin-right: 0.7em;}
.c_row .c_icon i {color: #000000;font-size: 24px;}
.contdetails .c_row .c_icon{align-items: center;}

.bookappfooter .c_row{align-items: start !important;}
.bookappfooter .c_row .c_icon {min-width:0px !important;height: 0px !important;}



.choosetickbefore ul , .specialtick ul{list-style:none !important;}
.choosetickbefore ul li{color:#000;position:relative;}
.choosetickbefore ul li::before {content: url('/assets/curegrove/img/tickmark.png');margin-right:15px;position:absolute;left: -40px;}
/*--------- Footer Css ---------*/
footer p.footba::before{content: "";position: absolute;width: 420px;left: 0;height: 1px;background: #575757;top: 31px;}
footer p.footba::after{content: "";position: absolute;width: 420px;right: 0;height: 1px;background: #575757;top: 31px;}
.breadcrumb {border-radius: 0px;}

/*--------- Video Popup Css ---------*/
.video-block button.close {position: absolute;z-index: 999;background: #023047;color: #fff;padding: 10px;opacity: 1;right: 0;top: 0px;}

.text-red {color: red;}
.h-280{height:310px;object-fit:cover;}
.h-250{height:250px;object-fit:cover;}

/*--------- Responsive Css ---------*/
@media (max-width: 1200px) {
footer p.footba::before{display:none;}
footer p.footba::after{display:none;}
}  

@media (max-width: 1024px) {
.top_menu{display:none;}
.appointmentimg {display: none;}
.navbar{padding:20px;box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;}
}  

@media (max-width: 768px) {
.appointmentslotscontainer div {width: 250px;} 
.bookappempire{-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
}

@media (max-width: 767px) {
/*COMMON CODE*/
.mob-d-flex{display:flex !important;}
.mob-flex-col{flex-direction:column !important;}
.mob-border-none{border:none !important;}
.mob-text-center{text-align:center !important;}
.height-auto{height:auto !important;}
.mobpx-0{padding-left: 0px !important;padding-right: 0px !important;}
.mobd-none{display:none !important;}
.mobp-static{position: static !important;}
.mobpl-15{padding-left: 15px !important;}
.mobpl-0{padding-left: 0px !important;}
.mobpr-15{padding-right: 15px !important;}
.mobpx-15{padding-left: 15px !important;padding-right: 15px !important;}
.mobpx-0{padding-left: 0px !important;padding-right: 0px !important;}
.mobmx-0{margin-left: 0px !important;margin-right: 0px !important;}
.mobmr-15{margin-right: 15px !important;}
.mobtext-center{text-align: center !important;}
.mobw-100{width: 100% !important;}
.mobmy-5px{margin: 5px 0px !important;}   
.mobfs-24{font-size: 24px !important;}
.moblh-3{line-height: 3;}
.mobtext-right{text-align:right !important;}
.mobjustify-right{justify-content:end !important;}
.file-upload-input {
    width: 175px !important;
}
a.navbar-brand.fs-26.fw-400{
    font-family: Montaga !important;
    font-size: 22px !important;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/*.btnprimary {*/
/*    padding: 8px 22px !important;*/
/*    font-size: 14px;*/
/*}*/
.bred_flex {flex-direction: column;}
.banner_txt h1 {
    font-size: 24px;
    width: 100%;
}
.docimgabouthome{
    position: static;
}
.medevents{height: auto;}
.whychoosevideo{position:relative !important;}
/*casestudies*/
.casestudies_homepage  .owl-buttons{
    display:none;
}


} 


@media (max-width: 450px) {
.fs-65{font-size:40px !important;}
.fs-40{font-size:35px !important;}
.w-75{width:100% !important;}
.playbtnimg {width: 80px;}
.sideimg {display:none;}
.centext{text-align:center;}
.py-5{padding-top:10px !important; padding-bottom:10px !important;}
.pt-5{padding-top:10px !important;}
.owl-buttons {right: -4px;top: -38px;}
#testimonials_slider .owl-buttons {top: 0px;position: relative;}
.pt-3{padding-top: 0.5rem!important;}
.lh-60 {line-height: 52px;}
.mr-20{margin-right:0px !important;}
.w-250{width:200px;}
.navbar-brand.fs-30{font-size:26px !important;}
}  

@media (max-width: 375px) {
.navbar-brand.fs-30{font-size:20px !important;}
.fs-50 {font-size: 35px !important;}
.fs-40 {font-size: 28px !important;}
}  

@media (max-width: 325px) {
.docimgabout {width: 285px;height: 285px;}
.navbar-brand.fs-30{font-size:16px !important;}
}  


a.navbar-brand.fs-26.fw-400{
    font-family: Montaga !important;

}
/* Banner Text Alignment Like Reference Image */
.carousel-item{
    position:relative;
}

.banner_txt{
    position:absolute;
    /*top:50%;*/
    /*right:9%;*/
    transform:translateY(-41%);
    /*z-index:9;*/
    width:41%;
    text-align:left !important;
}

.banner_txt h1{
    font-size:42px;
    line-height:1.15;
    font-weight:500;
    color:#fff !important;
    margin-bottom:22px;
    width:100%;
    letter-spacing:-1px;
    font-family:'Mulish', sans-serif !important;
}

.banner_txt p{
    font-size:16px !important;
    line-height:1.3;
    color:#fff !important;
    width:100%;
    margin-bottom:38px;
    font-family:'Mulish', sans-serif !important;
}

/* Mobile Responsive */
@media(max-width:768px){

    .banner_txt{
        width:90%;
        left:5%;
        right:auto;
        top:55%;
        transform:translateY(-50%);
        text-align:center !important;
    }

    .banner_txt h1{
        font-size:32px;
        line-height:1.25;
        margin-bottom:15px;
        letter-spacing:0;
    }

    .banner_txt p{
        font-size:16px !important;
        width:100%;
        line-height:1.5;
        margin-bottom:20px;
    }
}
/*========================================
ABOUT SECTION PIXEL PERFECT
ONLY FIXED LAYOUT/SPACING/TYPOGRAPHY
BACKGROUND IMAGE PROPERTIES NOT CHANGED
========================================*/

.about_homepage{
    position: relative;
    overflow: hidden;
    background-color: #f7f5f4;
    /*padding: 90px 0;*/
    z-index: 1;
}

/* KEEP YOUR EXISTING BG SETTINGS */
.about_homepage::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.about_homepage .container,
.about_homepage .container-fluid{
    position: relative;
    z-index: 2;
}

/*========================================
ROW ALIGNMENT
========================================*/

/*.about_homepage .row{*/
/*    align-items: center;*/
/*}*/

/*========================================
LEFT IMAGE
========================================*/

.about_left_wrap{
    padding-right: 55px;
}

.about_image_box{
    overflow: hidden;
}

.about_image_box img{
    width: 100%;
    height: 590px;
    object-fit: cover;
    display: block;
}

/*========================================
RIGHT CONTENT
========================================*/

.about_content_wrap{
    padding-left: 10px;
}

/*========================================
TAGLINE - PIXEL PERFECT
========================================*/

.about_tagline{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    width: 146px;
    height: 78px;

    padding-left: 12px;

    /*margin-bottom: 30px;*/

    /*z-index: 2;*/
}

.about_tagline::before{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;

    z-index: -1;
}

.about_tagline span{
    position: relative;
    /*z-index: 2;*/

    font-size: 18px;
    font-weight: 800;
    /*line-height: 1;*/

    color: #161616;

    -webkit-text-stroke: 1.4px #D95650;

    /*letter-spacing: -0.3px;*/

    /*transform: translateY(-1px);*/
}
/*========================================
TEXT
========================================*/

.about_content_wrap p{
    font-size: 16px;;
    line-height: 1.3;
    /*color: #3a3a3a;*/
    font-weight: 300 !important;
    /*margin-bottom: 34px;*/
}

/*========================================
BOTTOM AREA
========================================*/

.about_bottom_area{
    border-top: 1px solid rgba(0,0,0,0.22);
    margin-top: 22px;
    padding-top: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/*========================================
CLIENTS
========================================*/

.about_clients{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about_clients img{
    width: 235px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.about_clients p{
    font-size: 16px;;
    line-height: 1.3;
    margin: 0;
    color: #555;
}

.about_clients p strong{
    font-weight: 800;
    color: #222;
}

/*========================================
BUTTONS
========================================*/

/*.about_btn_group{*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 26px;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.about_btn_group a{*/
/*    min-width: 190px;*/
/*    height: 60px;*/

/*    border-radius: 60px;*/

/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/

/*    font-size: 18px;*/
/*    font-weight: 700;*/

/*    text-decoration: none !important;*/

/*    transition: all .35s ease;*/

/*    border: 1px solid #D6534D;*/
/*}*/

/* PRIMARY */
/*.about_btn_primary{*/
/*    background: #D6534D;*/
/*    color: #fff !important;*/
/*}*/

/*.about_btn_primary:hover{*/
/*    background: transparent;*/
/*    color: #D6534D !important;*/
/*}*/

/* SECONDARY */
/*.about_btn_secondary{*/
/*    background: #D6534D;*/
/*    color: #fff !important;*/
/*}*/

/*.about_btn_secondary:hover{*/
/*    background: transparent;*/
/*    color: #D6534D !important;*/
/*}*/

/*========================================
TABLET
========================================*/

@media(max-width: 991px){

    .about_homepage{
        padding: 70px 0;
    }

    .about_left_wrap{
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about_content_wrap{
        padding-left: 0;
    }

    .about_image_box img{
        height: auto;
    }

    /*.about_content_wrap p{*/
    /*    font-size: 18px;*/
    /*}*/

    .about_bottom_area{
        gap: 25px;
    }
}

/*========================================
MOBILE
========================================*/

@media(max-width: 767px){

    .about_homepage{
        padding: 55px 0;
    }

    .about_tagline{
        font-size: 16px;;
        padding: 14px 28px 16px;
        margin-bottom: 5px;
    }

    /*.about_content_wrap p{*/
    /*    font-size: 16px;;*/
    /*    line-height: 1.7;*/
    /*    margin-bottom: 24px;*/
    /*}*/

    .about_bottom_area{
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .about_btn_group{
        width: 100%;
        gap: 16px;
    }

    .about_btn_group a{
        width: 100%;
        min-width: 100%;
        height: 56px;
       font-size: 16px;
       margin: 5px;
    }

    .about_clients img{
        width: 210px;
    }
}

@media(max-width: 480px){

    .about_homepage{
        padding: 45px 0;
    }

    .about_image_box img{
        height: 320px;
    }

    /*.about_content_wrap p{*/
    /*font-size: 16px;*/
    /*}*/
}
.about-banner{
    position: relative;
    overflow: hidden;
    min-height: 76px;
    display: flex;
    align-items: center;
}

.banner-left{
    width: 100%;
    position: relative;
    z-index: 2;
}

.custom-breadcrumb{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bread-home{
    font-size: 16px;;
    font-weight: 400;
    color: #2E2E2E;
    text-decoration: none !important;
    line-height: 1;
}

.bread-home:hover{
    color: #2E2E2E;
}

.bread-current{
    font-size: 16px;;
    font-weight: 700;
    color: #2E2E2E;
    /*line-height: 1;*/
}

.bread-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.banner-right{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.banner-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

@media(max-width:991px){

    .about-banner{
        min-height: 75px;
    }

    .banner-right{
        width: 45%;
        opacity: 0.15;
    }

    .bread-home,
    .bread-current{
        font-size: 16px;;
    }
}

@media(max-width:767px){

    .about-banner{
        min-height: 120px;
        padding: 25px 0;
    }

    .banner-right{
        display: none;
    }

    .bread-home,
    .bread-current{
        font-size: 16px;;
    }

    .bread-arrow svg{
        width: 22px;
    }
}
/*.about-section-wrap{*/
/*    padding-bottom: 80px;*/
/*}*/

.about-main-row{
    align-items: center;
}

.about-image-box{
    position: relative;
}

.about-main-image{
    width: 100%;
    height: 407px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/*.about-content-box{*/
/*    padding-left: 35px;*/
/*}*/

.about-small-title{
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.about-small-title span{
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    line-height: 1;
}

.about-small-title::before{
    content: "";
    position: absolute;
    left: -18px;
    top: -8px;
    width: 200px;
    
    height: 52px;
    border-radius: 40px;
    filter: blur(1px);
    z-index: 1;
}

.about-main-title{
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

/*.about-text-content{*/
/*    font-size: 20px;*/
/*    line-height: 1.8;*/
/*    color: #444;*/
/*}*/

.about-text-content p{
    margin-bottom: 24px;
}

.about-second-text{
    margin-top: 10px;
}

.about-text-content ul{
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.about-text-content ul li{
    position: relative;
    padding-left: 34px;
    margin-bottom: 18px;
    font-size: 19px;
    line-height: 1.7;
    color: #333;
}

.about-text-content ul li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 26px;
    color: #b28a67;
    font-weight: 700;
}

.about-more-content{
    /*padding-top: 50px;*/
}

@media(max-width:991px){

    .about-main-image{
        height: auto;
    }

    .about-content-box{
        padding-left: 0;
        padding-top: 40px;
    }

    .about-main-title{
        font-size: 32px;
    }

    .about-text-content{
       font-size: 16px;;
        line-height: 1.7;
    }
}
/*=====================================
ABOUT STYLE TWO
=====================================*/

.about-style-two{
    position: relative;
    background: #f6f3f3;
    overflow: hidden;
}

.about-style-two-wrap{
    display: flex;
    align-items: center;
    gap: 55px;
}

/* LEFT SIDE */
.about-style-left{
    width: 42%;
}

.about-style-image{
    width: 100%;
    height: 407px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* RIGHT SIDE */
.about-style-right{
    width: 58%;
}

/* SMALL TITLE */
.about-style-tag{
    margin-bottom: 22px;
}

.brush-bg{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    min-height: 42px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    z-index: 1;
}

.brush-bg::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 42px;
    background: linear-gradient(90deg,#f5c7c3 0%,#f3b9b4 100%);
    border-radius: 50px;
    opacity: .9;
    z-index: -1;
}

/* TITLE */
.about-style-title{
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 25px;
}

/* CONTENT */
.about-style-short-content,
.about-style-content{
    font-size: 16px;;
    line-height: 1.3;
    color: #444;
}

.about-style-short-content{
    margin-bottom: 24px;
}

.about-style-content{
    margin-bottom: 35px;
}

.about-style-content p{
    margin-bottom: 18px;
}

/* LIST */
.about-style-list{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-list-item{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-icon{
    font-size: 30px;
    line-height: 1;
    color: #b68a6a;
    font-weight: 700;
    margin-top: -1px;
    flex-shrink: 0;
}

.about-list-item p{
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

/* MORE CONTENT */
.about-more-content{
    margin-top: 10px;
    font-size: 16px;;
    line-height: 1.3;
    color: #555 !important;
}

/*=====================================
RESPONSIVE
=====================================*/

@media(max-width:991px){

    /*.about-style-two{*/
    /*    padding: 80px 0;*/
    /*}*/

    .about-style-two-wrap{
        flex-direction: column;
        gap: 0px;
    }

    .about-style-left,
    .about-style-right{
        width: 100%;
    }

    .about-style-image{
        height: auto;
    }

    .about-style-title{
        font-size: 40px;
    }

}

@media(max-width:767px){

    /*.about-style-two{*/
    /*    padding: 70px 0;*/
    /*}*/

    .about-style-title{
        font-size: 24px;
    }

    .about-style-short-content,
    .about-style-content,
    .about-list-item p{
        font-size: 16px;;
        line-height: 1.3;
    }

    .brush-bg{
       font-size: 16px;;
    }

    .about-style-list{
        gap: 15px;
    }

}
.about_tagline{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    width: 146px;
    height: 78px;

    padding-left: 12px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}
/*=====================================
JOURNEY + WHY CHOOSE SECTION
=====================================*/

.journey_choose_section{
    position: relative;
    overflow: hidden;
    background-color: #f7f5f4;
    /*padding: 90px 0;*/
    z-index: 1;
}

/* KEEP YOUR EXISTING BG SETTINGS */
.journey_choose_section::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('<?php echo base_url(); ?>assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.journey_choose_section .container,
.journey_choose_section .container-fluid{
    position: relative;
    z-index: 2;
}

/*=====================================
LEFT SIDE
=====================================*/

.journey_box_main{
    background: #d9544f;
    padding: 32px;
}

.journey_main_title{
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.journey_grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 28px;
}

.journey_item_box{
    background: #fff;
    /*padding: 35px 28px;*/
    text-align: center;
    min-height: 148px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey_item_box h3{
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
}

.journey_item_box p{
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    color: #444;
}

/*=====================================
RIGHT SIDE
=====================================*/

.choose_right_wrap{
    padding-left: 10px;
}

.choose_image_wrap{
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.choose_main_image{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.choose_splash_shape{
    position: absolute;
    width: 100%;
    max-width: 620px;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    z-index: 1;
}

.choose_title{
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin-bottom: 25px;
}

/*.choose_content_text,*/
/*.choose_content_text p{*/
/*    font-size: 22px;*/
/*    line-height: 1.8;*/
/*    color: #444;*/
/*}*/

.choose_content_text p{
    margin-bottom: 10px;
}

/*=====================================
RESPONSIVE
=====================================*/

@media(max-width:1199px){

    .journey_main_title{
        font-size: 44px;
    }

    .journey_item_box h3{
        font-size: 34px;
    }

    .choose_title{
        font-size: 40px;
    }

    .choose_main_image{
        width: 300px;
        height: 300px;
    }

}

@media(max-width:991px){

    .journey_grid{
        grid-template-columns: 1fr;
    }

    .choose_right_wrap{
        padding-left: 0;
        margin-top: 60px;
    }

    .choose_main_image{
        width: 380px;
        height: 380px;
    }

}

@media(max-width:767px){

    /*.journey_choose_section{*/
    /*    padding: 70px 0;*/
    /*}*/

    .journey_box_main{
        padding: 25px;
    }

    .journey_main_title{
        font-size: 22px;
        margin-bottom: 28px;
    }

    .journey_item_box{
        min-height: auto;
        padding: 30px 20px;
    }

    .journey_item_box h3{
        font-size: 20px;
    }

    .journey_item_box p{
       font-size: 16px;;
        line-height: 1.7;
    }

    .choose_main_image{
        width: 290px;
        height: 290px;
    }

    .choose_title{
        font-size: 30px;
    }

    .choose_content_text,
    .choose_content_text p{
        font-size: 16px;;
        line-height: 1.3;
        margin: 20px 0px 20px 0px;
    }

}


/* =========================================================
   FOOTER
========================================================= */

.cg-footer-main{
    position: relative;
    background: #000000;
    padding: 78px 0 32px;
    overflow: hidden;
    z-index: 1;
}

/* SHAPE */

.cg-footer-shape{
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 125px;
    z-index: 0;
    pointer-events: none;
}

.cg-footer-shape img{
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
}

/* WRAPPER */

.cg-footer-wrapper{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 30px;
}

/* COLUMN */

.cg-footer-col{
    flex: 1;
}

/* =========================================================
   LEFT
========================================================= */

.cg-footer-about{
    max-width: 288px;
}

.cg-footer-logo-wrap{
    display: inline-block;
    margin-bottom: 28px;
}

.cg-footer-logo{
    max-width: 260px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cg-footer-desc{
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.3;
    /*font-weight: 100;*/
    margin-bottom: 34px;
    max-width: 320px;
}

/* SOCIAL */

.cg-footer-socials{
    display: flex;
    align-items: center;
    gap: 14px;
}

.cg-social-icon{
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all .3s ease;
}

.cg-social-icon i{
    color: #000000;
    font-size: 22px;
}

.cg-social-icon:hover{
    transform: translateY(-4px);
    background: #E45B52;
}

.cg-social-icon:hover i{
    color: #ffffff;
}

/* =========================================================
   DYNAMIC FOOTER TITLE
========================================================= */

.cg-dynamic-footer-title{
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1;
}

.cg-title-line{
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.cg-title-first-letter{
    color: #D6534D !important;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.cg-title-rest{
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

/* REMOVE GLOBAL SPAN EFFECTS */

.cg-dynamic-footer-title span{
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family : Montaga !important;
}

/* MOBILE */

@media(max-width: 575px){

    .cg-title-first-letter,
    .cg-title-rest{
        font-size: 20px;
    }

}
/* =========================================================
   CONTACT
========================================================= */

.cg-footer-contact{
    max-width: 343px;
}

.cg-contact-item{
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 10px;
}

.cg-contact-icon{
    width: 18px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: #E45B52;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cg-contact-icon i{
    color: #ffffff;
    font-size: 14px;
}

.cg-contact-content h4{
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
    margin: 0 0 0px;
}

.cg-contact-content a,
.cg-contact-content p{
    color: #E8E8E8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
}

.cg-contact-content a:hover{
    color: #E45B52;
}

/* =========================================================
   LINKS
========================================================= */

.cg-footer-links{
    max-width: 330px;
}

.cg-footer-menu-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    column-gap: 26px;
    row-gap: 14px;
}

.cg-footer-link{
    color: #ffffff;
    font-size: 16px;;
    line-height: 1.3;
    text-decoration: none !important;
    font-weight:none !important;
    transition: all .3s ease;
    width: fit-content;
}

.cg-footer-link:hover{
    color: #E45B52;
    transform: translateX(4px);
}

/* =========================================================
   COPYRIGHT
========================================================= */

.cg-footer-bottom{
    position: relative;
    z-index: 2;
    padding-top: 22px;
    text-align: center;
}

.cg-footer-bottom::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    height: 1px;
    background: rgba(255,255,255,0.7);
}
.cg-footer-bottom p{
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.cg-footer-bottom strong{
    color: #ffffff;
    font-weight: 500;
}

.cg-footer-bottom a{
    color: #ffffff;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1199px){

    .cg-footer-wrapper{
        gap: 50px;
    }

    .cg-footer-menu-grid{
        column-gap: 40px;
    }

}

@media(max-width: 991px){

    .cg-footer-main{
        padding: 70px 0 30px;
    }

    .cg-footer-wrapper{
        flex-direction: column;
        gap: 55px;
    }

    .cg-footer-about,
    .cg-footer-contact,
    .cg-footer-links{
        max-width: 100%;
    }

    .cg-footer-menu-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .cg-footer-shape{
        width: 140px;
    }

}

@media(max-width: 767px){

    .cg-footer-main{
        padding: 60px 0 28px;
    }

    .cg-footer-title{
        font-size: 22px;
        margin-bottom: 30px;
    }

    .cg-footer-desc{
        font-size: 16px;;
    }

    .cg-footer-link{
        font-size: 16px;;
    }

    .cg-contact-content a,
    .cg-contact-content p{
    font-size: 16px;
    }

    .cg-footer-bottom p{
    font-size: 16px;
        line-height: 1.7;
    }

    .cg-footer-menu-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cg-footer-shape{
        width: 110px;
        right: -10px;
        bottom: -10px;
    }

}

@media(max-width: 575px){

    .cg-footer-wrapper{
        gap: 45px;
    }

    .cg-footer-socials{
        gap: 14px;
    }

    .cg-social-icon{
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .cg-social-icon i{
        font-size: 18px;
    }

    .cg-contact-item{
        gap: 14px;
    }

}
.cg-contact-icon-empty{
    background: transparent !important;
}

.cg-footer-contact-btn{
    margin-top: 10px;
}

.cg-footer-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 52px;
    padding: 0 34px;
    background: #E45B52;
    border-radius: 60px;
    color: #ffffff !important;
   font-size: 16px;;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s ease;
}

.cg-footer-btn:hover{
    background: #ffffff;
    color: #000000 !important;
    transform: translateY(-3px);
}
.cg-dynamic-footer-title{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
    font-family: Montaga !important;
}

.cg-title-word{
    display: inline-flex;
    align-items: center;
}

.cg-title-first-letter{
    color: #D6534D;
}

/* IF LOGO EXISTS */

.cg-footer-logo-wrap{
    display: none;
}

/* RESPONSIVE */

@media(max-width: 991px){

    .cg-dynamic-footer-title{
        font-size: 48px;
    }

}

@media(max-width: 767px){

    .cg-dynamic-footer-title{
        font-size: 40px;
        line-height: 1.1;
    }

}

@media(max-width: 575px){

    .cg-dynamic-footer-title{
        font-size: 32px;
    }

}

h5.cg-footer-title {
    margin-bottom: 35px !important;
        font-weight: 600;
    font-family: 'Montaga', serif;
}
/* ─── SECTION ─── */
.bookappfooter {
    background: #F7F4F1;
    padding: 40px 0 0 0;
    overflow: visible;
}

/* ─── MAIN WRAP — no container, full width ─── */
.bookapp_wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 260px;
    overflow: visible;
    width: 100%;
}

/* ─── LAYER 1: BG IMAGE — true full width ─── */
.bookapp_bg_img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 70px;                /* cream shows above = photo overflow gap */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* ─── LAYER 2: RED OVERLAY — full width ─── */
.bookapp_overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 40px;
    /*background: rgba(160, 35, 25, 0.5);*/
    z-index: 1;
}

/* ─── DOCTOR PHOTO ─── */
.bookapp_left {
    position: relative;
    width: 400px;
    flex-shrink: 0;
    z-index: 3;
    align-self: flex-end;
    margin-left: 42px;        /* ← left gap so photo doesn't stick to edge */
}

.bookapp_left .contactdocimg {
     width: 352px;
    height: 296px;
    display: block;
    object-fit: cover;
    object-position: center top;
        border-radius: 11px;
}

/* ─── RIGHT CONTENT ─── */
.bookapp_right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    /*padding: 48px 56px;*/
    z-index: 3;
    background: transparent;
    min-height: 220px;
}

.bookapp_right::before {
    display: none;
}

/* ─── CONTENT ─── */
.bookapp_content {
    position: relative;
    z-index: 4;
    text-align: left;
}

.bookapp_content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.38;
    margin-bottom: 28px;
    /*max-width: 500px;*/
    /*letter-spacing: -0.2px;*/
    text-align: left;
        /*font-family:Marko One;*/

}

/* ─── OVERRIDE btn-primary inside bookapp ─── */
/*.bookapp_content .btn.btn-primary {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    background: transparent;*/
/*    color: #ffffff;*/
/*    border: 2px solid rgba(255, 255, 255, 0.88);*/
/*    border-radius: 50px;*/
/*    padding: 11px 28px;*/
/*    font-family: 'Source Sans 3', sans-serif;*/
/*    font-size: 14px;*/
/*    font-weight: 600;*/
/*    cursor: pointer;*/
/*    letter-spacing: 0.3px;*/
/*    text-decoration: none;*/
/*    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;*/
/*    box-shadow: none;*/
/*}*/

/*.bookapp_content .btn.btn-primary span {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    font-size: 16px;;*/
/*    transition: transform 0.22s ease;*/
/*}*/

/*.bookapp_content .btn.btn-primary:hover,*/
/*.bookapp_content .btn.btn-primary:focus,*/
/*.bookapp_content .btn.btn-primary:active {*/
/*    background: #ffffff;*/
/*    color: #b03030;*/
/*    border-color: #ffffff;*/
/*    box-shadow: none;*/
/*    outline: none;*/
/*}*/

/*.bookapp_content .btn.btn-primary:hover span,*/
/*.bookapp_content .btn.btn-primary:focus span {*/
/*    color: #b03030;*/
/*    transform: translateX(4px);*/
/*}*/
/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .bookapp_wrap {
        flex-direction: column;
        align-items: stretch;
        overflow: hidden;
    }
    .bookapp_bg_img,
    .bookapp_overlay {
        top: 0;
    }
    .bookapp_left {
        width: 100%;
        margin-left: 0;       /* no gap on mobile */
        align-self: auto;
    }
    .bookapp_left .contactdocimg {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }
    .bookapp_right {
        padding: 36px 28px;
        min-height: 180px;
    }
    .bookapp_content h2 {
        font-size: 22px;
        max-width: 100%;
    }
}


.cg-services-section{
    background: #d8574f;
    overflow: hidden;
}

/*.cg-service-tag{*/
/*    background: url('../images/brush-bg.png') no-repeat center;*/
/*    background-size: contain;*/
/*    color: #222;*/
/*    font-size: 22px;*/
/*    font-weight: 500;*/
/*    padding: 14px 55px;*/
/*    display: inline-block;*/
/*}*/

.cg-service-heading{
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto 28px;
}

.cg-service-banner{
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.cg-service-banner img{
    width: 100%;
    height: 229px;
    object-fit: cover;
}

.cg-service-slider .owl-stage{
    display: flex;
}

.cg-service-card {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 25px;
    position: relative;
    transition: 0.4s;
    margin: 10px;

    /* SAME HEIGHT */
    height: 100%;
    min-height: 220px;

    /* FLEX */
    display: flex;
    flex-direction: column;
}

.cg-service-card:hover{
    transform: translateY(-5px);
}

.cg-service-icon{
    width: 50px;
    height: 50px;
    /*background: #fff;*/
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cg-service-icon img{
    width: 144%;
    height: 144%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.cg-service-title{
    font-size: 18px !important;
    line-height: 1.3;
    /*font-weight: 500;*/
    color: #fff !important;
    /*margin-bottom: 18px !important;*/
}

.cg-service-title span{
    color: #FFF;
}

.cg-service-desc{
    font-size: 16px;;
    line-height: 1.3;
    color: #fff !important;
    /*font-weight: 300;*/
    margin-bottom: 0;
    padding-right: 20px;
    height:46px;
}

.cg-service-card{
    position: relative;
    /*padding-bottom: 35px; */
    overflow: visible;
}
.cg-services-section,
.cg-services-section .row,
.cg-service-card{
    overflow: visible !important;
}

.cg-service-card{
    position: relative;
    /*padding-bottom: 40px;*/
    margin-bottom: 26px;
}

/*.cg-service-arrow{*/
/*    width: 42px;*/
/*    height: 42px;*/
/*    background: #f1f1f1;*/
/*    border-radius: 50%;*/
/*    position: absolute;*/
/*    right: 25px;*/
/*    bottom: -21px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    transition: all 0.35s ease;*/
/*    cursor: pointer;*/
/*    z-index: 99;*/
/*}*/

/*.cg-service-arrow i{*/
/*    color: #222;*/
/*    font-size: 18px;*/
/*    transform: rotate(-45deg);*/
/*    transition: all 0.35s ease;*/
/*}*/

/* HOVER */
/*.cg-service-card:hover .cg-service-arrow{*/
/*    background: rgba(255,255,255,0.25);*/
/*    backdrop-filter: blur(5px);*/
/*}*/

/*.cg-service-card:hover .cg-service-arrow i{*/
/*    color: #fff;*/
/*    transform: rotate(-45deg) scale(1.1);*/
/*}*/
.cg-all-services-btn{
    background: #fff;
    color: #d8574f;
    font-size: 32px;
    font-weight: 600;
    padding: 20px 55px;
    border-radius: 60px;
    display: inline-block;
    transition: 0.4s;
}

.cg-all-services-btn:hover{
    background: #222;
    color: #fff;
    text-decoration: none;
}

@media(max-width:991px){

    .cg-service-heading{
        font-size: 22px;
    }

    .cg-service-banner img{
        height: auto;
    }

    .cg-service-card{
        min-height: auto;
    }
}

@media(max-width:767px){

    .cg-services-section{
        padding: 60px 0;
    }

    .cg-service-heading{
        font-size: 22px;
    }

    .cg-service-title{
        font-size: 22px;
    }

    .cg-service-desc{
        font-size: 16px;;
    }

    .cg-all-services-btn{
        font-size: 22px;
        padding: 16px 40px;
    }
}

.service_title_tagline{
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service_title_tagline .cg-service-title{
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}
.about_tagline1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 45px;
    z-index: 1;
    white-space: nowrap; /* prevent text wrapping that breaks the shape */
}

.about_tagline1::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 92% 78%; /* stretches to fill whatever size the text dictates */
    filter: brightness(0) invert(1);
    z-index: -1;
}
.cg-service-tag{
    position: relative;
    z-index: 2;

    white-space: nowrap;
}

.cg-service-tag{
    font-size: 18px;
    font-weight: 500;
    color: #000 !important;
    line-height: 1;
    display: inline-block;
}
.cg-service-arrow{
    width: 30px;
    height: 30px;
    background: #f1f1f1;
    border-radius: 50%;
    position: absolute;
    right: 25px;
    bottom: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    cursor: pointer;
    z-index: 99;
}

.cg-service-arrow i{
    color: #000 !important;
    font-size: 16px;;
    transform: rotate(-0deg);
    transition: all 0.35s ease;
}

/* IMPORTANT */
.cg-service-card:hover .cg-service-arrow i,
.cg-service-arrow:hover i{
    color: #fff !important;
        transform: rotate(-45deg);

}

/* BACKGROUND HOVER */
/*.cg-service-card:hover .cg-service-arrow{*/
/*    background: rgba(255,255,255,0.25);*/
/*    backdrop-filter: blur(5px);*/
/*}*/

.breadcrumb{
    position: relative;
    background: #F7F4F1;
    /*padding: 45px 0 120px;*/
    overflow: hidden;
    margin:10px;
}

.bred_flex{
    position: relative;
    min-height: 20px;
}

/* =========================
   BREADCRUMB
========================= */

.cg-breadcrumb-list{
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.cg-breadcrumb-list .breadcrumb-item{
    display: flex;
    align-items: center;
    font-size: 16px;;
    font-weight: 500;
    color: #222;
}

.cg-breadcrumb-list .breadcrumb-item a{
    color: #2D2D2D;
    text-decoration: none;
}

.cg-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before{
    content: "";
    width: 25px;
    height: 12px;
    margin: 0 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12' viewBox='0 0 30 12' fill='none'%3E%3Cpath d='M1 6H26' stroke='%23e2534a' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M21 1L28 6L21 11' stroke='%23e2534a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.cg-breadcrumb-list .breadcrumb-item.active a{
    font-weight: 700;
}

/* =========================
   TITLE POSITION ONLY
========================= */

.about_tagline2{
    position: absolute;
    left: 48%;
    top: 61%;
    transform: translate(-50%, -50%);
    margin-bottom: 0 !important;
}
.about_tagline2{
    /*position: relative;*/
    display: inline-block;
    padding: 18px 70px;
    z-index: 1;
}

.about_tagline2::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 167px;
    height: 80px;

    transform: translate(-32%, -50%);

    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    /*filter: brightness(0) invert(1);*/

    z-index: -1;
}

/* =========================
   SERVICE DETAIL PAGE
========================= */

.cg-service-detail-section{
    background: #f5f2f1;
}

.cg-service-detail-row{
    gap: 20px 0;
}

.cg-service-title{
    font-size: 52px;
    line-height: 1.3;
    font-weight: 300 !important;
    color: #2c2c2c;
    margin-bottom: 22px;
}

.cg-service-subtitle{
    font-size: 16px;
    line-height: 1.5;
    color: #d85b52;
    font-weight: 400;
    /*margin-bottom: 35px;*/
}

.cg-service-description{
    color: #3b3b3b;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
}

/*.cg-service-description p{*/
/*    color: #3b3b3b;*/
/*    font-size: 16px;;*/
/*    line-height: 1.8;*/
/*    margin-bottom: 20px;*/
/*}*/

.cg-service-description ul{
    padding-left: 22px;
    margin-top: 30px;
}

.cg-service-description li{
    font-size: 16px;;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #3b3b3b;
}

.cg-service-description h2,
.cg-service-description h3,
.cg-service-description h4{
    font-size: 42px;
    color: #2c2c2c;
    margin-top: 50px;
    margin-bottom: 24px;
    font-weight: 600;
}


.cg-service-image-wrap{
    width: 100%;
    height: 100%;
}

.cg-service-image{
    width: 100%;
    height: 407px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 25px;
}

.cg-service-extra-content{
    margin-bottom: 30px;
}

.cg-service-extra-content p{
    font-size: 16px;;
    line-height: 1.3;
    /*color: #3b3b3b;*/
}

.cg-service-extra-content ul{
    padding-left: 22px;
}

.cg-service-extra-content li{
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.cg-more-service-card{
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    height: 100%;
    transition: 0.3s ease;
}

.cg-more-service-card:hover{
    transform: translateY(-5px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 1600px){

    /*.cg-service-title{*/
    /*    font-size: 44px;*/
    /*}*/

    /*.cg-service-subtitle{*/
    /*    font-size: 24px;*/
    /*}*/

    /*.cg-service-description p,*/
    /*.cg-service-description li,*/
    /*.cg-service-extra-content p,*/
    /*.cg-service-extra-content li{*/
    /*    font-size: 20px;*/
    /*}*/

}

@media(max-width: 991px){

    .cg-service-title{
        font-size: 36px;
    }

    .cg-service-subtitle{
        font-size: 22px;
    }

    .cg-service-description p,
    .cg-service-description li,
    .cg-service-extra-content p,
    .cg-service-extra-content li{
        font-size: 18px;
    }

    .cg-service-image{
        height: 420px;
        margin-top: 20px;
    }

}

@media(max-width: 767px){

    .cg-service-title{
        font-size: 30px;
    }

    .cg-service-subtitle{
        font-size: 18px;
    }

    .cg-service-description p,
    .cg-service-description li,
    .cg-service-extra-content p,
    .cg-service-extra-content li{
        font-size: 16px;;
        line-height: 1.7;
    }

    .cg-service-description h2,
    .cg-service-description h3,
    .cg-service-description h4{
        font-size: 28px;
    }

    .cg-service-image{
        height: 320px;
        border-radius: 18px;
    }

}
/* =========================
   BREADCRUMB DESIGN
========================= */

.cg-breadcrumb-wrapper{
    background: #f5f2f1;
    padding: 20px 0px 0px 0px;
    /*border-bottom: 1px solid #ece7e5;*/
}

.cg-breadcrumb{
    background: transparent !important;
    padding: 0;
    margin: 0;
    align-items: center;
    flex-wrap: wrap;
}

.cg-breadcrumb .breadcrumb-item{
    font-size: 16px;;
    font-weight: 400;
    color: #2d2d2d;
    display: flex;
    align-items: center;
}

.cg-breadcrumb .breadcrumb-item a{
    color: #2d2d2d;
    text-decoration: none;
    transition: 0.3s ease;
}

.cg-breadcrumb .breadcrumb-item a:hover{
    color: #d8574f;
}

.cg-breadcrumb .breadcrumb-item.active{
    font-weight: 700;
    color: #2d2d2d;
}

.cg-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
    content: "→";
    color: #d8574f;
    font-size: 28px;
    font-weight: 400;
    /*padding: 0 18px;*/
    line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:767px){

    .cg-breadcrumb-wrapper{
        padding: 24px 0;
    }

    .cg-breadcrumb .breadcrumb-item{
        font-size: 13px;;
    }

    .cg-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
        font-size: 20px;
        padding: 0 10px;
    }

}

.cg-service-detail-section .cg-service-title{
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: #2d2d2d !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px;
}
@media(max-width: 991px){
    /* Disable sticky only on mobile/tablet to prevent overlap */
    [style*="position: sticky"] {
        position: relative !important;
        top: auto !important;
    }

    .cg-service-detail-row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Reorder: Title+Subtitle → Image → Description */
    .col-lg-7 { order: 1; }
    .col-lg-5 { order: 2; }
}
/*=====================================
MORE SERVICES
=====================================*/

.cg-more-services-section{
    background: #d6544d;
    padding: 30px 0;
    overflow: hidden;
}

.cg-more-services-head{
    margin-bottom: 10px;
}

.cg-more-services-title{
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    /*margin-bottom: 18px;*/
}

.cg-more-services-desc{
    max-width: 980px;
    /*margin: 0 auto;*/
    font-size: 16px;;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
}

/* ROW */

/*.cg-more-services-row{*/
/*    align-items: center;*/
/*}*/

/* IMAGE */

.cg-more-services-image-wrap{
    overflow: hidden;
    /*border-radius: 18px;*/
}

.cg-more-services-image{
    width: 569px;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* LIST */

.cg-more-services-list{
    display: flex;
    flex-direction: column;
    gap: 6px;
    /*padding-left: 35px;*/
}

.cg-more-service-item{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cg-more-service-item:hover{
    transform: translateX(8px);
}

/* ICON */

.cg-more-service-icon{
    width: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-more-service-icon i{
    color: #ffffff;
    font-size: 26px;
    font-weight: 400;
}

/* BOX */

.cg-more-service-name{
    width: 100%;
    min-height: 35px;
    background: #f3f3f3;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #111111;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.cg-more-service-item:hover .cg-more-service-name{
    background: #ffffff;
}

/* RESPONSIVE */

@media(max-width:991px){

    .cg-more-services-section{
        padding: 70px 0;
    }

    .cg-more-services-list{
        padding-left: 0;
        margin-top: 35px;
    }

    .cg-more-services-image{
        height: 420px;
    }

}

@media(max-width:767px){

    .cg-more-services-title{
        font-size: 32px;
    }

    .cg-more-services-desc{
        font-size: 16px;;
        line-height: 1.7;
    }

    .cg-more-services-image{
        height: 300px;
    }

    .cg-more-service-name{
        font-size: 16px;;
        padding: 15px 18px;
    }

}
.cg-more-service-icon i{
    color: #ffffff;
    font-size: 28px;
    transform: rotate(45deg);
}


    .doctors{
        background: #f5f2f2;
        overflow: hidden;
    }

  .doctors-heading {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1;
    -webkit-text-stroke: 1.4px #D95650;
    z-index: 1;
    padding: 8px 24px;
}

.doctors-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 42px;
    background-image: url('/assets/curegrove/img/bgtitle.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 85%;
    z-index: -1;
}
.doccard{
    text-align: center;
    padding: 0 12px;
    height: 100%;
    margin-bottom: 30px;
}

.doccard-img{
    border-radius: 24px;
    overflow: hidden;
    /*height: 360px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.doccard-img img{
    width: 295px;
    height: 266px;
    object-fit: cover;
    border: 0 !important;
    border-radius: 16px;
    display: block;
}

.doctor-content-box{
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-content-box .doctitle{
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    /*color: #171717;*/
    /*margin-bottom: 8px;*/
    /*min-height: 48px;*/
}

.doctor-content-box .doctor-speciality{
    font-size: 18px;
    font-weight:100px !important;
    /*color: #2f2f2f;*/
    line-height: 1.3;
    margin-bottom: 6px;
    /*min-height: 44px !important;*/
}

.doctor-content-box .doctor-description{
    font-size: 16px;;
    /*color: #2f2f2f;*/
    line-height: 1.3;
    font-weight:100px !important;
    margin-bottom: 20px;
    /*max-width: 290px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*font-weight:300px !important;*/
    text-align: center;
    min-height: 45px;
}

.doctor-content-box .doctor-description ul{
    padding-left: 20px;
    margin-bottom: 0;
}

.doctor-content-box .doctor-description li{
    margin-bottom: 6px;
}

.doctor-content-box{
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 266px);
}

.doctor-profile-btn{
    margin-top: auto;
    display: inline-block;
}

.doctor-content-box .doctor-description::marker{
    color: #b48e83;
}

.doctor-profile-btn{
    margin-top: auto;
}
    .doctor-profile-btn{
        font-size: 16px;;
        font-weight: 500;
        color: #e25d52 !important;
        text-decoration: none;
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .doctor-profile-btn:hover{
        color: #cf4f45 !important;
    }

    .all-doctors-btn{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 185px;
        height: 56px;
        border-radius: 50px;
        background: #d9534f;
        color: #fff !important;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition: .3s ease;
    }

    .all-doctors-btn:hover{
        background: #c94943;
        color: #fff !important;
    }

    .doctors .owl-stage{
        display: flex;
    }

    .doctors .owl-item{
        height: auto;
    }

    @media(max-width:991px){

        .doccard-img{
            height: 320px;
        }

        .doctor-content-box .doctitle{
            font-size: 24px;
        }

        .doctor-content-box .doctor-speciality{
            font-size: 18px;
        }

        .doctor-content-box .doctor-description{
            font-size: 16px;;
        }
    }

    @media(max-width:767px){

        .doctors{
            padding-top: 60px !important;
            padding-bottom: 60px !important;
        }

        .doccard{
            padding: 0;
        }

        .doccard-img{
            height: 280px;
            border-radius: 20px;
        }

        .doctor-content-box .doctitle{
            font-size: 22px;
        }

        .doctor-content-box .doctor-speciality{
           font-size: 16px;;
        }

        .doctor-content-box .doctor-description{
        font-size: 16px;
            max-width: 100%;
        }

        .all-doctors-btn{
            min-width: 165px;
            height: 52px;
            font-size: 18px;
        }
    }
    
    .doctor-profile-wrapper{
    background: #f6f3f3;
}

/*.doctor-profile-card{*/
/*    padding: 70px 0 40px;*/
/*}*/

/*.doctor-image-box{*/
    /*background: #dc564d;*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
    /*height: 380px;*/
/*    display: flex;*/
/*    align-items: start;*/
/*    justify-content: center;*/
/*}*/

.doctor-image-box .docimg{
    width: 325px;
    height: 282px;
    object-fit: cover !important;
    border-radius: 12px;

}

.doctor-content-wrap{
    padding-left: 35px;
}

.doctor-name{
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 10px;
}

.doctor-designation{
    font-size: 16px;;
    line-height: 1.3;
    margin-bottom: 10px;
}

.doctor-description{
    font-size: 18px;
    line-height: 1.3;
}

.doctor-points{
    padding-left: 20px;
    margin-bottom: 0;
}

.doctor-points li{
    font-size: 18px;
    line-height: 1.3;
}

.doctor-contact-card{
    background: #fff;
    border-radius: 10px;
    padding: 20px 0px 20px 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.04);
}

.doctor-contact-card h5{
    font-size: 16px;;
    font-weight: 500;
    /*margin-bottom: 10px;*/
    /*color: #222;*/
}

.contact-item{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 14px;
    /*color: #333;*/
}

.contact-item i{
    font-size: 14px;
    color: #222;
}

.custom-appointment-btn{
    background: #dc564d;
    border-radius: 60px;
    color: #fff !important;
    padding: 16px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    min-width: 100%;
    margin-top: 15px;
    transition: 0.3s ease;
}

.custom-appointment-btn:hover{
    background: #c84a41;
    color: #fff;
}

.custom-tabs-wrapper{
    margin-top: 50px;
    margin-bottom: 40px;
}

.custom-tabs-wrapper .nav-pills{
    gap: 20px;
}

.custom-tabs-wrapper .nav-link{
    border-radius: 50px;
    background: #e5e0e0;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    min-width: 150px;
    text-align: center;
}

.custom-tabs-wrapper .nav-link.active{
    background: #dc564d;
    color: #fff;
}

.about-doctor-content h2{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    /*color: #111;*/
}

.about-doctor-content p,
.about-doctor-content div{
    font-size: 16px;;
    line-height: 1.3;
    /*color: #444;*/
}

@media(max-width:991px){

    .doctor-profile-card{
        padding: 40px 0 20px;
    }

    .doctor-content-wrap{
        padding-left: 0;
        padding-top: 30px;
    }

    .doctor-name{
        font-size: 34px;
    }

    .doctor-designation{
        font-size: 22px;
    }

    .doctor-contact-card{
        margin-top: 30px;
    }

    .custom-tabs-wrapper .nav-link{
        min-width: auto;
        width: 100%;
    }
}

@media(max-width:767px){

    .doctor-image-box{
        height: 320px;
    }

    .doctor-name{
        font-size: 28px;
    }

    .doctor-designation{
        font-size: 18px;
    }

    .doctor-points li,
    .about-doctor-content p,
    .about-doctor-content div{
        font-size: 16px;;
    }

    .doctor-contact-card{
        padding: 25px;
    }

    .doctor-contact-card h5{
        font-size: 26px;
    }

    .custom-appointment-btn{
        font-size: 18px;
        padding: 14px 22px;
    }

    .custom-tabs-wrapper .nav-pills{
        flex-direction: column;
    }

    .custom-tabs-wrapper .nav-link{
        font-size: 16px;;
        padding: 14px 20px;
    }

    .about-doctor-content h2{
        font-size: 28px;
    }
}
   .doctor-about-wrapper{
        padding-top: 10px;
    }

    .doctor-content-block{
        margin-bottom: 42px;
    }

    .doctor-content-block h4{
        font-size: 42px;
        line-height: 1.3;
        font-weight: 600;
        color: #111111;
        margin-bottom: 24px !important;
    }

    .doctor-content-block p{
        font-size: 20px;
        line-height: 1.7;
        font-weight: 400;
        color: #3f3f3f;
        margin-bottom: 0;
    }

    .doctor-content-block ul{
        padding-left: 22px;
        margin-bottom: 0;
    }

    .doctor-content-block ul li{
        font-size: 20px;
        line-height: 1.7;
        color: #3f3f3f;
        margin-bottom: 10px;
    }

    @media (max-width: 991px){

        .doctor-content-block{
            margin-bottom: 32px;
        }

        .doctor-content-block h4{
            font-size: 32px;
            margin-bottom: 18px !important;
        }

        .doctor-content-block p,
        .doctor-content-block ul li{
           font-size: 16px;;
            line-height: 1.3;
        }
    }

    @media (max-width: 767px){

        .doctor-about-wrapper{
            padding-top: 0;
        }

        .doctor-content-block h4{
            font-size: 26px;
        }

        .doctor-content-block p,
        .doctor-content-block ul li{
            font-size: 16px;;
            line-height: 1.7;
        }
    }
/* ── Doctor Profile ── */
.doctor-profile-wrapper {
    background: #f2ede9;
    padding: 50px 0 60px;
}
.doctor-profile-card,
.doctor-profile-card .row,
.doctor-image-box {
    overflow: visible !important;
}
 
/* ── Image box ── */
.doctor-image-box {
    position: relative;
    border-radius: 30px;
    line-height: 0;
    background: #d9534f;
}
.doctor-image-box img.docimg {
    width: 100%;
    border-radius: 30px;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
 
/* ── Info area (name, specialty, bullets) ── */
.doctor-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    /*margin-bottom: 6px;*/
    /*line-height: 1.3;*/
}
.doctor-specialty-subtitle {
    font-size: 18px;
    /*color: #555;*/
    font-weight: 400;
    /*margin-bottom: 25px;*/
}
.doctor-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height:1.2;
}
.doctor-stats-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
}
.doctor-stats-list li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #d9534f;
    margin-top: 10px;
}
 
/* ── Contact card (right column) ── */
.doctor-contact-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.doctor-contact-card h5 {
    font-size: 18px;
    font-weight: 500;
    /*color: #1a1a1a;*/
    /*margin-bottom: 25px;*/
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 16px;;
    color: #444 !important;
}
.contact-item .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2ede9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #555;
    font-size: 16px;;
}
/*.btnprimary {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 12px;*/
/*    background: #d9534f;*/
/*    color: #fff !important;*/
/*    border-radius: 50px;*/
/*    padding: 16px 32px;*/
/*    font-size: 20px;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    margin-top: 25px;*/
/*    transition: background 0.3s;*/
/*    width: 100%;*/
/*}*/
/*.btnprimary:hover {*/
/*    background: #D6534D;*/
/*    color: #fff !important;*/
/*}*/
 
/* ── Sticky contact card only ── */
.doctor-sticky-card {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    z-index: 9;
}
@media (max-width: 991px) {
    .doctor-sticky-card {
        position: relative;
        top: 0;
    }
}
.col-lg-4 {
    align-self: flex-start;
}
 
/* ── Tabs ── */
.custom-tabs-wrapper {
    margin-top: 60px;
}
.doctor-tabs {
    gap: 20px;
    border: none;
    flex-wrap: wrap;
}
/*.doctor-tabs .nav-link {*/
/*    border: none !important;*/
/*    background: #d8d3d1;*/
/*    color: #222;*/
/*    border-radius: 50px;*/
/*    padding: 14px 40px;*/
/*    font-size: 22px;*/
/*    font-weight: 500;*/
/*    transition: 0.3s;*/
/*}*/
.doctor-tabs .nav-link.active,
.doctor-tabs .nav-link:hover {
    background: #d9534f;
    color: #fff;
}
 
/* ── Tab content ── */
/*.doctor-tab-content {*/
/*    margin-top: 50px;*/
/*}*/
/*.about-doctor-content h2 {*/
/*    font-size: 42px;*/
/*    font-weight: 600;*/
/*    margin-bottom: 25px;*/
/*    color: #1a1a1a;*/
/*}*/
/*.about-doctor-content p,*/
/*.about-doctor-content div {*/
/*    font-size: 24px;*/
/*    line-height: 1.8;*/
/*    color: #333;*/
/*}*/

.custom-breadcrumb-section {
    background-color: #f9f6f1;
    padding: 18px 0;
}
.custom-breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    flex-wrap: nowrap;
    align-items: center;
}
.custom-breadcrumb-section .breadcrumb-item {
font-size: 16px;
    color: #6b6b6b;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.custom-breadcrumb-section .breadcrumb-item a {
    color: #6b6b6b;
    text-decoration: none;
}
.custom-breadcrumb-section .breadcrumb-item a:hover {
    color: #333;
}
.custom-breadcrumb-section .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}
.custom-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    display: none;
}
.custom-breadcrumb-arrow {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    color: #D6534D;
    font-size: 18px;
    line-height: 1;
}
.custom-breadcrumb-section .breadcrumb-item.active-crumb {
    font-weight: 700;
    color: #1a1a1a;
}
.custom-breadcrumb-section {
    background-color: #f9f6f1;
    padding: 18px 0;
}
.custom-breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    flex-wrap: nowrap;
    align-items: center;
}
.custom-breadcrumb-section .breadcrumb-item {
font-size: 16px;
    color: #6b6b6b;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.custom-breadcrumb-section .breadcrumb-item a {
    color: #6b6b6b;
    text-decoration: none;
}
.custom-breadcrumb-section .breadcrumb-item a:hover {
    color: #333;
}
.custom-breadcrumb-section .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}
.custom-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    display: none;
}
.custom-breadcrumb-arrow {
    display: inline-flex;
    align-items: center;
    margin: 0 17px;
    color: #D6534D;
    font-size: 20px;
    line-height: 1;
}
.custom-breadcrumb-section .breadcrumb-item.active-crumb {
    font-weight: 700;
    color: #1a1a1a;
}
.primary_section.treatments {
    position: relative;
    overflow: hidden;
    background-color: #f7f5f4;
    z-index: 1;
}
.primary_section.treatments::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}
.primary_section.treatments .container,
.primary_section.treatments .container-fluid {
    position: relative;
    z-index: 2;
}

/* Paintbrush heading badge */
.specialties-heading-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}
.specialties-heading-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/brush-stroke.png'); /* replace with your brush SVG/PNG */
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 0;
    pointer-events: none;
}
.specialties-heading-wrap h3 {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #2c1a0e;
    background-color: #c94040;
    display: inline-block;
    padding: 4px 20px;
    border-radius: 2px;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Treatment card */
.treatments-specialty-card {
    background: transparent;
    text-align: center;
    padding: 1.5rem 1rem;
}
.treatments-specialty-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.treatments-specialty-card .card-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(20%) sepia(5%) saturate(400%) hue-rotate(10deg);
}
.treatments-specialty-card h3.treattitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #2D2D2D;
    margin-bottom: 0.5rem;
}
.treatments-specialty-card p {
    font-size: 0.875rem;
    color: #2D2D2D;
    line-height: 1.3;
    max-width: 260px;
    margin: 0 auto;
}
.specialties-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f5f4;
    padding: 70px 0;
    z-index: 1;
}
.specialties-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}
.specialties-section .container,
.specialties-section .container-fluid {
    position: relative;
    z-index: 2;
}

/* Brush stroke heading */
.spec-heading-wrap {
    display: inline-block;
    position: relative;
    padding: 6px 28px;
}
.spec-heading-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/bgtitle.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 0;
}
.spec-heading-wrap span {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    -webkit-text-stroke: 0.9px #D95650;
    color: #000;
    letter-spacing: 0.03em;
}

/* Specialty card */
.spec-card {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: transparent;
}
.spec-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spec-card-icon img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    /* tints the icon to match the dark warm grey in Figma */
    /*filter: brightness(0) saturate(100%) invert(25%) sepia(8%) saturate(500%) hue-rotate(340deg) opacity(0.75);*/
}
.spec-card .spec-title {
    font-size: 1.35rem;
    font-weight: 400;
    color: #2c1a0e;
    margin-bottom: 0.6rem;
    text-decoration: none;
    display: block;
}
.spec-card .spec-title:hover {
    color: #c94040;
}
.spec-card .spec-desc {
    font-size: 16px;;
    color: #2d2d2d;
    line-height: 1.3;
    max-width: 280px;
    margin: 0 auto;
}

.treatments-page-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f5f4;
    padding: 70px 0;
    z-index: 1;
}
.treatments-page-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}
.treatments-page-section .container,
.treatments-page-section .container-fluid {
    position: relative;
    z-index: 2;
}

.figma-faq-section {
    background: #f4f1f1;
    overflow: hidden;
}

.faq-mini-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 146px;
    height: 28px;
    padding-left: 28px;
    padding-right: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    z-index: 1;
    white-space: nowrap;
}

.faq-mini-title:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/bgtitle.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: left center;
    z-index: -1;
}

.faq-mini-title span {
    position: relative;
    font-size: 18px;
    font-weight: 800;
    color: #161616;
    -webkit-text-stroke: 1.4px #D95650;
}

.faq-main-heading {
    font-size: 16px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1.7;
}

.faq-view-all {
    font-size: 15px;
    font-weight: 600;
}

.faq-left-image {
    padding-right: 20px;
}

.custom-faq-img {
    max-width: 100%;
    height: auto;
}

.faq-accordion-wrapper {
    padding-left: 211px;
}

.custom-faq-card {
    margin-bottom: 28px;
    background: transparent;
    overflow: visible;
}

/* ── KEY FIX: padding-left so icon never escapes container ── */
#accordion {
    padding-left: 40px;
}

.faq-toggle-btn {
    position: relative;
    display: flex;
    align-items: center;
    background: #d9534f;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none !important;
    transition: all .3s ease;
    min-height: 34px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.faq-toggle-btn:hover {
    color: #fff !important;
}

.faq-arrow-icon {
    position: absolute;
    left: -36px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #d9534f !important;
    line-height: 1;
    transition: all .3s ease;
}

.faq-toggle-btn[aria-expanded="true"] .faq-arrow-icon {
    transform: translateY(-50%) rotate(90deg);
}

.faq-question-text {
    flex: 1;
    line-height: 1.3;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff !important;
}

.faq-answer-content {
    background: #ffffff;
    padding: 10px 25px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    color: #555;
    line-height: 1.8;
}

.view-all-wrapper {
    margin-top: 45px;
}

.faq-view-all {
    min-width: 170px;
}

/* ── Tablet ── */
@media (max-width: 1199px) {
    .faq-question-text {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .faq-left-image {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .faq-accordion-wrapper {
        padding-left: 30px;
    }
    .faq-main-heading {
        font-size: 18px;
    }
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .figma-faq-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .faq-mini-title {
        font-size: 16px;
    }
    .faq-main-heading {
        font-size: 16px;
        line-height: 1.3;
    }
    .faq-accordion-wrapper {
        padding-left: 22px;
    }

    /* ── MOBILE FIX ── */
    #accordion {
        padding-left: 36px; /* must be >= |left| of .faq-arrow-icon */
    }

    .faq-toggle-btn {
        padding: 14px 16px 14px 10px;
        min-height: auto;
    }

    .faq-arrow-icon {
        left: -30px;
        font-size: 24px;
    }

    .faq-question-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .faq-answer-content {
        padding: 16px;
    }
}

/* ── Extra small phones ── */
@media (max-width: 480px) {
    #accordion {
        padding-left: 18px;
    }

    .faq-arrow-icon {
        left: -26px;
        font-size: 20px;
    }

    .faq-question-text {
        font-size: 14px;
    }
}
.figma-testimonial-section{
    position: relative;
    overflow: hidden;
    background-image: url('/assets/curegrove/img/abtbg.png');
    background-repeat: repeat;
    background-size: cover;
    z-index: 1;
}

/* WHITE OVERLAY */
.figma-testimonial-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.97);
    z-index: 1;
}

/* LEFT IMAGE */
.figma-testimonial-section::after{
    content: "";
    position: absolute;
    left: -20px;
    bottom: -23px;
    width: 132px;
    height: 220px;
    background-image: url('/assets/curegrove/img/fi_9343610 (1).png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
}

/* RIGHT IMAGE */
.figma-testimonial-section .right-shape{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 132px;
    height: 220px;
    background-image: url('/assets/curegrove/img/fi_9343610.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
}

/* CONTENT */
.figma-testimonial-section .container,
.figma-testimonial-section .container-fluid{
    position: relative;
    z-index: 3;
}

.figma-testimonial-heading{
    font-size: 46px;
    font-weight: 600;
    line-height: 1.3;
    color: #2b2b2b;
}

.figma-testimonial-description{
    font-size: 16px;
    line-height: 1.3;
    color: #2b2b2b;
    max-width: 1200px;
    margin: 0 auto;
}

.figma-title-badge{
    display: inline-block;
    position: relative;
    padding: 6px 28px;
    margin-bottom: 15px;
    z-index: 1;
}

.figma-title-badge::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/bgtitle.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
}

.figma-title-badge{
    font-size: 18px;
    font-weight: 700;
    -webkit-text-stroke: 0.9px #D95650;
    color: #000;
    letter-spacing: 0.03em;
}

.custom-success-card{
    background: #df8d89;
    border-radius: 18px;
    padding: 20px;
    height: 620px; /* FIXED HEIGHT */
    min-height: 495px;
    max-height: 620px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* HIDE EXTRA CONTENT */
}

/* USER BOX */
.custom-user-box{
    background: #f5f5f5;
    border-radius: 14px;
    padding: 40px 20px;
    min-height: 250px;
    max-height: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 18px;
}

/* REVIEW BOX */
.custom-review-box{
    background: #e5df57;
    border-radius: 14px;
    padding: 28px 24px;
    height: calc(100% - 268px);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* TEXT LIMIT */
.custom-review-box p{
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #222;
    font-weight: 400;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* NUMBER OF LINES */
    -webkit-box-orient: vertical;
}

/* MOBILE */
@media(max-width:767px){

    .custom-success-card{
        height: 560px;
        min-height: 560px;
        max-height: 560px;
    }

    .custom-user-box{
        min-height: 220px;
        max-height: 220px;
        padding: 30px 15px;
    }

    .custom-review-box{
        padding: 22px 18px;
    }

    .custom-review-box p{
       font-size: 16px;;
        -webkit-line-clamp: 8;
    }
}
/* TOP USER CARD */
.custom-user-box{
    background: #f5f5f5;
    border-radius: 14px;
    padding: 40px 20px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 18px;
}

/* IMAGE */
.custom-user-box img{
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 22px;
}

/* NAME */
.custom-user-box h4{
    font-size: 18px;
    font-weight: 500;
    color: #111;
    margin-bottom: 0;
}

/* REVIEW CARD */
.custom-review-box{
    background: #e5df57;
    border-radius: 14px;
    padding: 28px 24px;
    min-height: 189px;
    display: flex;
    align-items: center;
}

/* REVIEW TEXT */
.custom-review-box p{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #222;
    font-weight: 400;
}

/* MOBILE */
@media(max-width:767px){

    .custom-user-box{
        min-height: 220px;
        padding: 30px 15px;
    }

    .custom-review-box{
        min-height: 220px;
        padding: 22px 18px;
    }

    .custom-review-box p{
       font-size: 16px;;
    }
}


.blog_homepage.cg-services-section {
    background: #d8564d;
    overflow: hidden;
}

.blog_homepage .cg-service-banner {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog_homepage .cg-service-banner img {
    width: 100%;
    height: 229px;
    object-fit: cover;
}

.blog_homepage .cg-service-card {
    height: 100%;
    /*min-height: 320px;*/
}

.blog_homepage .cg-blog-image-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.blog_homepage .cg-blog-image-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.blog_homepage .cg-blog-image {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
}

.blog_homepage .cg-blog-content {
    padding-top: 15px;
}

.blog_homepage .cg-service-desc {
    min-height: 78px;
}

.blog_homepage .cg-service-arrow {
    margin-left: auto;
}

@media(max-width: 991px) {
    .blog_homepage .cg-service-banner img {
        height: 320px;
    }
}

@media(max-width: 767px) {
    .blog_homepage .cg-service-banner {
        margin-bottom: 25px;
    }

    .blog_homepage .cg-service-banner img {
        height: 220px;
    }

    .blog_homepage .cg-blog-image {
        width: 56px !important;
        height: 56px !important;
    }

    .blog_homepage .cg-service-card {
        min-height: auto;
    }

    .blog_homepage .cg-service-title,
    .blog_homepage .cg-service-desc {
        min-height: auto;
    }
}/*.cg-more-service-item{*/
/*    background: #fff;*/
/*    border-radius: 20px;*/
/*    overflow: hidden;*/
/*    padding: 15px;*/
/*    transition: 0.3s ease;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    height: 100%;*/
/*    border: 1px solid #eee;*/
/*}*/

/*.cg-more-service-item:hover{*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 30px rgba(0,0,0,0.08);*/
/*}*/

/*.cg-more-services-image-wrap{*/
/*    overflow: hidden;*/
/*    border-radius: 16px;*/
/*}*/

/*.cg-more-services-image{*/
/*    width: 100%;*/
/*    height: 250px;*/
/*    object-fit: cover;*/
/*    transition: 0.4s ease;*/
/*}*/

/*.cg-more-service-item:hover .cg-more-services-image{*/
/*    transform: scale(1.05);*/
/*}*/

/*.cg-more-service-content{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    flex-grow: 1;*/
/*}*/

/*.cg-more-service-name{*/
/*    font-size: 22px;*/
/*    font-weight: 700;*/
/*    color: #1e1e1e;*/
/*    line-height: 1.3;*/
/*}*/

/*.cg-more-services-desc{*/
/*font-size: 16px;*/
/*    color: #666;*/
/*    line-height: 1.7;*/
/*}*/

/*.cg-blog-date{*/
/*    font-size: 13px;*/
/*    color: #999;*/
/*}*/

/*.overelipsis1{*/
/*    overflow: hidden;*/
/*    display: -webkit-box;*/
/*    -webkit-line-clamp: 1;*/
/*    -webkit-box-orient: vertical;*/
/*}*/

/*.overelipsis2{*/
/*    overflow: hidden;*/
/*    display: -webkit-box;*/
/*    -webkit-line-clamp: 2;*/
/*    -webkit-box-orient: vertical;*/
/*}*/
i.fa.fa-location-arrow {
    transform: rotate(45deg);
}
.blog-section-badge {
    display: inline-block;
    background-color: #D6534D;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 18px;
    border-radius: 20px;
    margin-bottom: 10px;
}
 
/* Sidebar section title — matches Figma sidebar heading style */
.nav-link.font-weight-bold.fs-20 {
    color: #222;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
}
 
/* Blog card polish — wraps existing .blog div, no rename */
.blog {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    background: #fff;
}
.blog:hover {
    box-shadow: 0 6px 24px rgba(192,57,43,0.13);
    transform: translateY(-3px);
}
 
/* Blog image wrapper — ensures consistent height */
.blog-img {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.blog-img img.h-250 {
    height: 210px !important;
    object-fit: cover;
    transition: transform 0.35s ease;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
}
.blog:hover .blog-img img.h-250 {
    transform: scale(1.04);
}
 
/* Blog card body padding */
.blog .py-1.bg-white {
    padding: 14px 16px 18px !important;
}
 
/* Blog title */
.blog .font-weight-bold.fs-18 {
    color: #1a1a2e;
    line-height: 1.3;
    font-size: 15px !important;
}
 
/* Blog short description */
.blog .overelipsis2 {
    color: #666;
    line-height: 1.3;
    font-size: 13px !important;
}
 
/* Read More button — matches existing btnthird but adds Figma polish */
.blog .btn.btnthird {
    font-size: 12px !important;
    padding: 5px 16px !important;
    border-radius: 20px !important;
    border-color: #D6534D !important;
    color: #D6534D !important;
    font-weight: 600 !important;
    transition: background 0.2s, color 0.2s;
}
.blog .btn.btnthird:hover {
    background: #D6534D !important;
    color: #fff !important;
}
 
/* Sidebar search input polish */
#searchBlog.form-control.brs-20 {
    border-radius: 25px !important;
    border: 1.5px solid #e0e0e0;
    padding-right: 40px;
    font-size: 14px;
    height: 42px;
}
#searchBlog.form-control.brs-20:focus {
    border-color: #D6534D;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
 
/* Blog sidebar nav container */
.blogcategory.border {
    border-radius: 10px !important;
    overflow: hidden;
    border-color: #e8e8e8 !important;
}
 
/* Sidebar year item */
.yearnum > p {
    border-radius: 6px;
    transition: background 0.18s;
}
.yearnum > p:hover {
    background: #fdf0ee;
    color: #D6534D;
}
.yearnum > p i {
    color: #D6534D;
    font-size: 12px;
}
 
/* Blog grid spacing tweak — col spacing */
.col-md-9 .row .col-md-6 {
    margin-bottom: 0;
}
 
/* No results message */
.col-md-9 h3 {
    color: #D6534D;
    font-weight: 700;
}
 
/* View More button — matches Figma primary CTA */
#load_more .btn_submit.btnprimary {
    border-radius: 25px !important;
    padding: 10px 36px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}
 
/* Blog section title (h1 inside grid) */
.col-md-12 h1.text-nblue {
    font-size: 22px !important;
    font-weight: 700 !important;
    position: relative;
    display: inline-block;
}
.col-md-12 h1.text-nblue::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #D6534D;
    border-radius: 2px;
    margin: 8px auto 0;
}
 
/* ---------------------------------------------------------------
   NEW: Blog section top badge wrapper
   Added above the existing blog grid h1 col — wraps only
--------------------------------------------------------------- */
.blog-top-badge-row {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}
 
/* ---------------------------------------------------------------
   NEW: Sidebar "Blogs by Year" heading badge — matches Figma
   small section-label pill pattern seen in every section
--------------------------------------------------------------- */
.sidebar-section-pill {
    display: inline-block;
    background: #D6534D;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 6px;
}
 
/* Responsive: stack sidebar below on mobile */
@media (max-width: 767px) {
    .col-md-3 .sticky-top {
        position: relative !important;
        top: auto !important;
    }
    .blog-img img.h-250 {
        height: 170px !important;
    }
}
/* -------------------------------------------------------
   ROOT DESIGN TOKENS — matches Figma red/white system
------------------------------------------------------- */
/* -------------------------------------------------------
   BLOG DETAIL — HERO AREA
------------------------------------------------------- */
/*.blogarea {*/
/*    max-width: 900px;*/
/*}*/
 
/* Title */
.blog-detail-title {
    font-size: clamp(22px, 3vw, 22px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}
 
/* Short description */
.blog-detail-desc {
   font-size: 16px;;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
    border-left: 3px solid var(--red);
    padding-left: 16px;
    margin-bottom: 28px;
}
 
/* Hero image */
.blog-hero-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.blog-hero-img-wrap img {
width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}
.blog-hero-img-wrap:hover img {
    transform: scale(1.02);
}
 
/* Meta bar (read time + author + date) */
.blog-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--red-light);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #f0d0cc;
}
.blog-meta-bar .meta-read {
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-meta-bar .meta-read i {
    font-size: 14px;
}
.blog-meta-bar .meta-author {
    font-size: 13px;
    color: var(--navy);
    text-align: right;
    line-height: 1.5;
}
.blog-meta-bar .meta-author strong {
    color: var(--red);
    font-weight: 700;
}
 
/* Long description content */
/*.blog-content-block {*/
/*font-size: 16px;*/
/*    line-height: 1.3;*/
/*    color: #333;*/
/*    margin-bottom: 28px;*/
/*}*/
.blog-content-block h2,
.blog-content-block h3 {
    color: var(--navy);
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
}
.blog-content-block img {
    border-radius: 10px;
    max-width: 100%;
}
.blog-content-block p {
    margin-bottom: 14px;
}
 
/* Section 2 — image + text layout */
/*.blog-section2 {*/
/*    margin: 32px 0;*/
/*    gap: 24px;*/
/*}*/
.blog-section2 img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    max-height: 340px;
}
.MoreBlog {
font-size: 16px;
line-height: 1.3;
    color: #333;
}
.MoreBlog h2, .MoreBlog h3 {
    color: var(--navy);
    font-weight: 700;
}
 
/* CTA image */
/*.blog-cta-img {*/
/*    margin: 28px 0;*/
/*    text-align: center;*/
/*}*/
.blog-cta-img img {
    border-radius: var(--radius);
    max-width: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.blog-cta-img img:hover {
    transform: scale(1.01);
}
 
/* Share bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: var(--grey-bg);
    border-radius: 10px;
    /*margin-top: 36px;*/
    border: 1px solid var(--border);
}
.blog-share-bar strong {
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}
.blog-share-bar .share-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-share-bar .share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}
.blog-share-bar .share-links a:hover {
    transform: translateY(-3px);
    opacity: 0.88;
}
.bg-fb   { background: #1877f2 !important; }
.bg-twit { background: #1da1f2 !important; }
.bg-link { background: #0077b5 !important; }
.bg-whats{ background: #25d366 !important; }
 
/* Remove old inline padding from share links */
.blog-share-bar .share-links a.py-2.px-3 {
    padding: 0 !important;
}
 
/* -------------------------------------------------------
   MORE FROM BLOG SECTION
------------------------------------------------------- */
.more-blog-section {
    background: var(--grey-bg);
    padding: 50px 0;
}
.more-blog-section .section-heading-wrap {
    text-align: center;
    margin-bottom: 30px;
}
.more-blog-section .section-heading-wrap .spec-heading-wrap span,
.more-blog-section h2 {
   font-size: 16px;;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    display: inline-block;
}
.more-blog-section h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 8px auto 0;
}
 
/* Blog card (reuse + enhance existing .blog) */
.blog {
    border-radius: var(--radius) !important;
    overflow: hidden;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: box-shadow 0.25s, transform 0.25s;
}
.blog:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.blog-img {
    overflow: hidden;
}
.blog-img img.h-250 {
    height: 210px !important;
    object-fit: cover !important;
    transition: transform 0.35s ease;
    border: none !important;
    border-radius: 0 !important;
    display: block;
}
.blog:hover .blog-img img.h-250 {
    transform: scale(1.05);
}
.blog .py-1 {
    padding: 14px 16px 18px !important;
}
.blog .font-weight-bold.fs-18 {
    font-size: 15px !important;
    line-height: 1.3;
    color: var(--navy);
}
.blog .overelipsis2 {
    font-size: 13px !important;
    color: var(--text-muted);
    line-height: 1.3;
}
.blog .btn.btnthird {
    font-size: 12px !important;
    padding: 5px 18px !important;
    border-radius: 20px !important;
    border-color: var(--red) !important;
    color: var(--red) !important;
    font-weight: 600 !important;
    transition: background 0.2s, color 0.2s;
}
.blog .btn.btnthird:hover {
    background: var(--red) !important;
    color: #fff !important;
}
 
/* -------------------------------------------------------
   WRITE COMMENT SECTION
------------------------------------------------------- */
.writereview {
    background: var(--white);
}
.comment-section-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.comment-section-wrap h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    margin-bottom: 4px !important;
}
.comment-section-wrap h3::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 8px auto 0;
}
.comment-section-wrap .sub-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}
.comment-section-wrap .form-control {
    border-radius: 8px !important;
    border: 1.5px solid var(--border);
    font-size: 14px;
    padding: 10px 14px;
    height: auto !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-section-wrap .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
    outline: none;
}
.comment-section-wrap textarea.form-control {
    resize: vertical;
    min-height: 110px;
}
/*.comment-section-wrap .btn_submit.btnprimary {*/
/*    background: var(--red) !important;*/
/*    border-color: var(--red) !important;*/
/*    color: #fff !important;*/
/*    border-radius: 25px !important;*/
/*    padding: 11px 44px !important;*/
/*    font-size: 14px !important;*/
/*    font-weight: 700 !important;*/
/*    letter-spacing: 0.4px;*/
/*    transition: background 0.2s, transform 0.15s;*/
/*}*/
/*.comment-section-wrap .btn_submit.btnprimary:hover {*/
/*    background: var(--red-dark) !important;*/
/*    transform: translateY(-2px);*/
/*}*/
 
/* -------------------------------------------------------
   COMMENTS DISPLAY SECTION
------------------------------------------------------- */
/*.cusscroll {*/
/*    background: var(--grey-bg) !important;*/
/*    padding-bottom: 50px;*/
/*}*/
.comments-header {
    text-align: center;
    margin-bottom: 28px;
}
.comments-header h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--navy) !important;
    margin-bottom: 4px !important;
}
.comments-header h3::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 8px auto 0;
}
.comments-header .comment-count {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
 
/* Comment card */
.wreviewpeople {
    background: var(--white) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.wreviewpeople::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 14px;
    font-size: 72px;
    color: var(--red);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}
.wreviewpeople:hover {
    box-shadow: var(--shadow-md);
}
/*.peoplereview {*/
/*    font-size: 14px;*/
/*    color: #444;*/
/*    margin-bottom: 14px;*/
/*    padding-top: 4px;*/
/*}*/
.wreviewpeople .fw-500 {
    font-size: 13px;
    color: var(--text-muted);
}
.wreviewpeople .text-darkk {
    color: var(--navy) !important;
    font-size: 14px;
}
 
/* Comment avatar initial */
.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 16px;;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}
.comment-meta-row {
    display: flex;
    align-items: center;
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
 
/* View More button */
.cusscroll .btn_submit {
    border-radius: 25px !important;
    padding: 10px 36px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: block;
    margin: 30px auto 0;
}
 
/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 767px) {
    .blog-hero-img-wrap img {
        height: 220px;
    }
    .blog-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    h2.treatments-subtitle.mt-3 {
    font-size: 18px;
}
    .blog-meta-bar .meta-author {
        text-align: left;
    }
    .blog-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================
   DEPARTMENTS SECTION
========================= */

.cg-departments-section .cg-service-card{
    position: relative;
    overflow: hidden;

    height: 100%;
    min-height: 420px;

    display: flex;
    flex-direction: column;
}

/* SECTION BANNER */
.cg-department-banner{
    margin-bottom: 40px;
}

.cg-department-banner img{
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* CARD IMAGE */
.cg-department-card-image{
    width: 79px;
    height: 79px;
    margin-bottom: 24px;
    border-radius: 93px;
    overflow: hidden;
}

.cg-department-card-image img{
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: 0.4s ease;
}

.cg-service-card:hover .cg-department-card-image img{
    transform: scale(1.05);
}

/* CONTENT */
.cg-service-card-content{
    flex: 1;

    display: flex;
    flex-direction: column;
}

/* TITLE */
.cg-service-title{
    margin-bottom: 10px !important;
}

/* DESCRIPTION */
/*.cg-service-desc{*/
/*    flex-grow: 1;*/
/*    min-height: 72px;*/
/*}*/

/* ARROW */
.cg-service-arrow{
    margin-top: auto;
}

/* EQUAL HEIGHT FOR OWL */
/*#departments_slider .owl-stage{*/
/*    display: flex;*/
/*}*/

/*#departments_slider .owl-item{*/
/*    height: auto;*/
/*    display: flex;*/
/*}*/

/* RESPONSIVE */
@media(max-width:991px){

    .cg-department-card-image{
        /*height: 220px;*/
    }

}

@media(max-width:767px){

    /*.cg-departments-section{*/
    /*    padding-top: 40px;*/
    /*    padding-bottom: 40px;*/
    /*}*/

    .cg-department-card-image{
        /*height: 200px;*/
    }

}
 
  .dept-section {
    background: var(--bg);
    color: var(--dark);
    padding: 60px 0 80px;
  }
 
  /* ── Department Header ── */
  .dept-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
  }
  .dept-hero img.docimg {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
  }
  .dept-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(45,45,45,0.85) 0%, transparent 100%);
    padding: 40px 36px 32px;
    border-radius: 0 0 20px 20px;
  }
  .dept-hero-overlay h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
    line-height: 1.3;
  }
  .dept-hero-overlay .dept-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 20px;
  }
 
  /* Fallback heading (when no hero image) */
  .dept-title-plain {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
  }
  .dept-title-plain::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
  }
 
  /* ── Description ── */
  .dept-description {
font-size: 16px;
    line-height: 1.3;
    color: var(--dark-muted);
    margin-bottom: 28px;
  }
 
  /* ── CTA Banner ── */
  .dept-cta-banner {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
  }
  .dept-cta-banner img { width: 100%; display: block; }
 
  /* ── Section Title ── */
  .dept-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .dept-section-title .accent-word { color: var(--primary); }
  .dept-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }
 
  /* ── Doctor Cards ── */
  .doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
 
  .doccard1 {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .doccard:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover);
  }
 
  .doccard-img { position: relative; overflow: hidden; }
  .doccard-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .doccard:hover .doccard-img img { transform: scale(1.04); }
  .doccard-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(0deg, rgba(255,255,255,0.6), transparent);
  }
 
  .doccard-body {
    padding: 20px 20px 22px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
  }
  .doccard-specialization {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 6px;
    min-height: 18px;
  }
  .doccard-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .doccard-name a { color: inherit; text-decoration: none; }
  .doccard-name a:hover { color: var(--primary); }
  .doccard-desc {
    font-size: 13px;
    color: var(--dark-muted);
    line-height: 1.3;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    min-height: 40px;
  }
  .doccard-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
    align-self: flex-start;
  }
  .doccard-btn:hover {
    background: var(--primary);
    color: var(--white);
  }
 
  /* ── Book Appointment Bar ── */
  .dept-appt-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(214,83,77,0.30);
  }
  .dept-appt-bar h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
  }
  .dept-appt-bar h5 strong { font-weight: 700; }
  .dept-appt-link {
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
  }
  .dept-appt-link:hover {
    background: var(--dark);
    color: var(--white);
  }
 
  /* ── Treatments Sidebar ── */
  .treatments-sidebar {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
    z-index: 9;
  }
  .treatments-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    line-height: 1.3;
  }
  .treatments-sidebar-title .accent-word { color: var(--primary); }
 
  .treatments-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    margin-bottom: 18px;
    transition: box-shadow 0.25s ease;
    /*border: 1px solid var(--border);*/
  }
  .treatments-card:last-child { margin-bottom: 0; }
  .treatments-card:hover { box-shadow: 0 4px 20px rgba(214,83,77,0.12); }
  .treatments-card .card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }
  .treatments-card:hover .card-img img { transform: scale(1.03); }
  .treatments-card-body { padding: 12px 14px 14px; }
  .treattitle {
font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .treattitle a { color: inherit; text-decoration: none; }
  .treattitle a:hover { color: var(--primary); }
  .treat-desc {
    font-size: 12.5px;
    color: var(--dark-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
 
  /* ── More Departments ── */
  .more-departments {
    background: var(--white);
    padding: 60px 0 70px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
  }
  .more-departments-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }
  .more-departments-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 12px auto 0;
  }
 
  .dept-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  .dept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(214,83,77,0.14);
  }
  .dept-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
  }
  .dept-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .dept-card:hover .dept-card-img-wrap img { transform: scale(1.05); }
  .dept-card-img-wrap .dept-card-badge {
    position: absolute;
    bottom: 14px; left: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
  }
  .dept-card-body { padding: 18px 20px 22px; }
  .dept-card-name {
   font-size: 16px;;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
  }
  .dept-card-name a { color: inherit; text-decoration: none; }
  .dept-card-name a:hover { color: var(--primary); }
  .dept-card-desc {
    font-size: 13px;
    color: var(--dark-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
 
  /* ── Responsive ── */
  @media (max-width: 991px) {
    .dept-hero img.docimg { height: 300px; }
    .dept-hero-overlay h1 { font-size: 28px; }
    .doctors-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .dept-appt-bar { flex-direction: column; text-align: center; padding: 24px 20px; }
  }
  @media (max-width: 767px) {
    .doctors-grid { grid-template-columns: 1fr; }
    .dept-hero img.docimg { height: 240px; }
    .dept-hero-overlay h1 { font-size: 22px; }
    .dept-hero-overlay { padding: 20px 18px 18px; }
    .dept-appt-bar h5 { font-size: 16px;; }
    .treatments-sidebar { position: static; margin-top: 32px; }
  }
  
  img.w-100.obj-cover.rounded-20 {
    border-radius: 10px;
}
  
 
  .news-information {
    background: var(--bg);
    color: var(--dark);
    padding: 60px 0 80px;
  }
 
  /* ── Meta Bar ── */
  .news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .news-meta-venue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-muted);
  }
  .news-meta-venue svg { color: var(--primary); flex-shrink: 0; }
  .news-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
  }
  .news-meta-date svg { flex-shrink: 0; }
 
  /* ── Title ── */
  .news-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 28px;
    position: relative;
    padding-left: 20px;
  }
  .news-title::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
  }
 
  /* ── Hero Image ── */
  .news-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--card-shadow);
  }
  .news-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
  }
 
  /* ── Body Text ── */
  .news-body-text {
    font-size: 16px;;
    line-height: 1.3;
    color: var(--dark-muted);
    margin-bottom: 22px;
  }
  /*.news-body-text p { margin-bottom: 18px; }*/
 
  /* ── Gallery ── */
  .news-gallery-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .news-gallery-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }
 
  .news-gallery { margin-bottom: 36px; }
  .news-gallery .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .news-gallery .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover);
  }
  .news-gallery .gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .news-gallery .gallery-item:hover img { transform: scale(1.05); }
 
  /* ── CTA Banner ── */
  .news-cta-banner {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--card-shadow);
  }
  .news-cta-banner img { width: 100%; display: block; }
 
  /* ── Share Bar ── */
  .news-share {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--card-shadow);
    margin-top: 8px;
  }
  .news-share-label {
   font-size: 16px;;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
  }
  .share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
    color: var(--white);
  }
  .share-btn.fb   { background: #1877f2; }
  .share-btn.tw   { background: #1da1f2; }
  .share-btn.li   { background: #0a66c2; }
  .share-btn.wa   { background: #25d366; }
  .share-btn:hover { opacity: 0.85; transform: translateY(-2px); color: var(--white); }
 
  /* ── Sidebar — More News ── */
  .news-sidebar {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
    z-index: 9;
  }
  .news-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
  }
 
  .news-recent-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
  }
  .news-recent-card:last-child { border-bottom: none; padding-bottom: 0; }
  .news-recent-card:first-child { padding-top: 0; }
 
  .news-recent-img {
    flex-shrink: 0;
    width: 90px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
  }
  .news-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }
  .news-recent-card:hover .news-recent-img img { transform: scale(1.06); }
 
  .news-recent-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .news-recent-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
  }
  .news-recent-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    text-decoration: none;
  }
  .news-recent-title:hover { color: var(--primary); }
  .news-recent-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .news-recent-link:hover { color: var(--primary-dark); }
 
  /* ── Responsive ── */
  @media (max-width: 991px) {
    .news-hero img { height: 300px; }
    .news-title { font-size: 26px; }
    .news-sidebar { position: static; margin-top: 40px; }
  }
  @media (max-width: 767px) {
    .news-hero img { height: 220px; }
    .news-title { font-size: 22px; }
    .news-share { flex-direction: column; align-items: flex-start; }
  }
    
  .event-detail-section {
    background: var(--bg);
    color: var(--dark);
    padding: 60px 0 80px;
  }
 
  /* ── Hero Image ── */
  .event-hero {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--card-shadow);
    position: relative;
  }
  .event-hero img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
  }
 
  /* ── Section Label ── */
  .event-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
  }
 
  /* ── Description ── */
  .event-desc-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 18px;
  }
  .event-desc-title::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
  }
 
  .event-long-desc {
font-size: 16px;
line-height: 1.3;
    color: var(--dark-muted);
    margin-bottom: 28px;
  }
 
  /* ── Chief Guest ── */
  .event-chief-guest {
    background: var(--white);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--card-shadow);
  }
  .event-chief-guest h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
  }
  .event-chief-guest p {
font-size: 16px;
    color: var(--dark-muted);
    margin: 0;
  }
 
  /* ── External Link ── */
  .event-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border: 1.5px solid var(--primary);
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.25s ease;
    margin-top: 8px;
  }
  .event-ext-link:hover {
    background: var(--primary);
    color: var(--white);
  }
  .event-link-label {
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 6px;
    display: block;
  }
 
  /* ── Info Sidebar ── */
  .event-info-sidebar {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 120px;
    z-index: 9;
  }
 
  .event-info-block {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
  .event-info-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
 
  .event-info-block-title {
   font-size: 16px;;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .event-info-block-title svg {
    color: var(--primary);
    flex-shrink: 0;
  }
 
  .event-date-display {
    background: var(--bg);
    border-radius: 12px;
    padding: 14px 18px;
font-size: 16px;
    font-weight: 500;
    color: var(--dark);
  }
  .event-time-display {
    font-size: 13px;
    color: var(--dark-muted);
    margin-top: 6px;
    font-weight: 500;
  }
 
  .event-venue-map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--border);
  }
  .event-venue-map iframe,
  .event-venue-map > * {
    width: 100% !important;
    border-radius: 12px;
    display: block;
  }
  .event-venue-text {
    font-size: 14px;
    color: var(--dark-muted);
    line-height: 1.3;
    margin: 0;
  }
 
  /* ── Secondary Images & Descriptions ── */
  .event-secondary-img {
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0 20px;
    box-shadow: var(--card-shadow);
  }
  .event-secondary-img img {
    width: 100%;
    object-fit: cover;
    display: block;
  }
  .event-secondary-desc {
font-size: 16px;
    line-height: 1.3;
    color: var(--dark-muted);
    margin-bottom: 20px;
  }
 
  /* ── More Events Section ── */
  .more-events-section {
    background: var(--white);
    padding: 40px 0 40px;
    border-top: 1px solid var(--border);
  }
  .more-events-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 36px;
    position: relative;
  }
  .more-events-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 10px;
  }
 
  /* ── Event Cards ── */
  .event-card {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
    height: 100%;
  }
  .event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover);
    text-decoration: none;
    color: inherit;
  }
 
  .event-card-date-strip {
    background: var(--primary);
    padding: 16px 20px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .event-card-date-block { text-align: center; }
  .event-card-day {
    font-size: 40px;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    display: block;
  }
  .event-card-month {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
  }
  .event-card-dash {
    font-size: 22px;
    color: rgba(255,255,255,0.5);
    padding-bottom: 8px;
  }
 
  .event-card-body {
    padding: 18px 20px 22px;
  }
  .event-card-title {
   font-size: 16px;;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .event-card-time {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .event-card-venue-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    margin-bottom: 3px;
  }
  .event-card-venue {
    font-size: 13px;
    color: var(--dark-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
 
  /* ── Responsive ── */
  @media (max-width: 991px) {
    .event-hero img { height: 320px; }
  }
  @media (max-width: 767px) {
    .event-hero img { height: 220px; }
    .event-desc-title { font-size: 22px; }
    .event-info-sidebar { position: static; margin-top: 10px; }
  }
.ev-section {
  background: #f9f7f5;
  position: relative;
  overflow: hidden;
}
.ev-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: #D6534D;
  border-radius: 0 4px 4px 0;
}
 
/* ── Header ── */
.ev-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.ev-header__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-header__tag {
  display: inline-block;
  /*background: #D6534D;*/
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  /*letter-spacing: 1.5px;*/
  padding: 4px 14px;
  border-radius: 30px;
  width: fit-content;
}
.ev-header__title {
  color: #2D2D2D;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.ev-header__viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D6534D;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #D6534D;
  padding: 8px 20px;
  border-radius: 30px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ev-header__viewall:hover {
  background: #D6534D;
  color: #fff;
  text-decoration: none;
}
 
/* ── Grid (non-slider) ── */
.ev-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.ev-grid .col-sm-3 {
  flex: 1 1 220px;
  padding: 0;
}
 
/* ── Card Wrap ── */
.ev-card-wrap {
  height: 100%;
}
.ev-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}
.ev-card-link:hover .ev-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(214, 83, 77, 0.13);
}
.ev-card-link:hover .ev-card__date-strip {
  background: #c94540;
}
.ev-card-link:hover .ev-card__cta {
  color: #D6534D;
  gap: 8px;
}
 
/* ── Card ── */
.ev-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ede8e4;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
/* ── Date Strip ── */
.ev-card__date-strip {
  background: #D6534D;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.25s ease;
}
.ev-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.ev-date-block__day {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.ev-date-block__month {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
.ev-date-arrow {
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
}
 
/* ── Card Body ── */
.ev-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.ev-card__title {
  color: #2D2D2D;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.ev-card__meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ev-card__time,
.ev-card__venue {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #6b6b6b;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.3;
}
.ev-card__meta-icon {
  color: #D6534D;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
}
.ev-card__venue {
  font-size: 12px;
}
 
/* ── Card Footer ── */
.ev-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #ede8e4;
}
.ev-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s, gap 0.2s;
}
 
/* ── Slider mode (owl-carousel) ── */
.ev-slider .ev-card-wrap {
  padding: 4px 4px 8px;
  height: 255px;
}
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .ev-header__title { font-size: 22px; }
  .ev-section::before { width: 4px; }
}
@media (max-width: 480px) {
  .ev-header {
    flex-direction: column;
    align-items: flex-start;
  }
}    

/* ── Section ── */
.evp-section {
  background: #f9f7f5;
  min-height: 60vh;
}
 
/* ── Header ── */
.evp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.evp-header__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.evp-header__tag {
  display: inline-block;
  /*background: #D6534D;*/
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  width: fit-content;
}
.evp-header__title {
  color: #2D2D2D;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
 
/* ── Grid ── */
.evp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
 
/* ── Card Link (when slug exists) ── */
.evp-card-link {
  text-decoration: none;
  display: block;
}
.evp-card-link:hover .evp-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(214, 83, 77, 0.13);
}
.evp-card-link:hover .evp-card__date-strip {
  background: #c94540;
}
.evp-card-link:hover .evp-card__cta {
  color: #D6534D;
  gap: 8px;
}
 
/* ── Card ── */
.evp-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ede8e4;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
/* ── Date Strip ── */
.evp-card__date-strip {
  background: #D6534D;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.25s ease;
}
.evp-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.evp-date-block__day {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.evp-date-block__month {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
.evp-date-arrow {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
}
 
/* ── Card Body ── */
.evp-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.evp-card__title {
  color: #2D2D2D;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
 
/* ── Meta ── */
.evp-card__meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.evp-card__time,
.evp-card__venue {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #6b6b6b;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.3;
}
.evp-card__venue-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}
.evp-card__meta-icon {
  color: #D6534D;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
}
.evp-card__venue {
  font-size: 12px;
}
 
/* ── Card Footer ── */
.evp-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #ede8e4;
}
.evp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s, gap 0.2s;
}
 
/* ── Load More ── */
.evp-load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.evp-load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #D6534D;
  border: 1.5px solid #D6534D;
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
.evp-load-more__btn:hover {
  background: #D6534D;
  color: #fff;
}
 
/* ── Responsive ── */
@media (max-width: 1024px) {
  .evp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .evp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .evp-header__title {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .evp-grid {
    grid-template-columns: 1fr;
  }
  .evp-header__title {
    font-size: 22px;
  }
}
    
.news-section-badge{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 146px;
    height: 78px;

    padding: 0 18px;
    margin-bottom: 6px;

    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;

    color: #161616;
    -webkit-text-stroke: 1.4px #D95650;

    /*text-transform: uppercase;*/
    letter-spacing: 0.06em;

    isolation: isolate;
}

.news-section-badge::before{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    /*background-size: 100% 100%;*/
    background-position: center;

    z-index: -1;
}
.nf-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0ebe9;
    box-shadow: 0 2px 12px rgba(180,80,60,0.07);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    /* NO margin here — spacing handled by column padding only */
}
.nf-card:hover {
    box-shadow: 0 8px 32px rgba(180,80,60,0.14);
    transform: translateY(-4px);
}

.nf-card__thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f7f0ee;
    border-radius: 16px 16px 0 0;
}
.nf-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}
.nf-card:hover .nf-card__img {
    transform: scale(1.05);
}

.nf-card__body {
    padding: 22px 24px 24px;
}
.nf-card__date {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.nf-card__title {
   font-size: 16px;;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 20px;
    /*min-height: 50px;*/
}
.nf-card__desc {
    font-size: 14px;
    color: #777;
    line-height: 1.3;
    margin-bottom: 14px;
}
.nf-card__btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #d9503f;
    border: 1px solid #d9503f;
    border-radius: 30px;
    padding: 9px 26px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
    letter-spacing: 0.02em;
}
.nf-card__btn:hover {
    background: #d9503f;
    color: #fff;
    text-decoration: none;
}

.nf-viewall-btn {
    display: inline-block;
    background: #d9503f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.18s ease, transform 0.18s ease;
}
.nf-viewall-btn:hover {
    background: #be3e2e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Key fix: column spacing via padding, row compensates with negative margin */
#news .nf-card-row {
    margin-left: -12px;
    margin-right: -12px;
}
#news .nf-card-col {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

/* Owl carousel item spacing */
#news_slider .owl-item {
    padding: 8px 12px;
}

@media (max-width: 767px) {
    .nf-card__thumb { height: 190px; }
    .nf-card__body { padding: 16px 18px 20px; }
    #news .nf-card-row {
        margin-left: -8px;
        margin-right: -8px;
    }
    #news .nf-card-col {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 16px;
    }
}
@media (max-width: 575px) {
    .nf-card__thumb { height: 200px; }
}



.news-information {
    background: #F7F4F1;
    padding: 60px 0;
}

/* Meta bar */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}
.news-meta-venue,
.news-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #D6534D;
    background: #fff;
    border: 1.5px solid #D95650;
    border-radius: 20px;
    padding: 5px 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.news-meta-venue svg,
.news-meta-date svg {
    flex-shrink: 0;
    color: #D6534D;
}

/* Title */
.news-title {
    font-size: 30px;
    font-weight: 800;
    color: #161616;
    line-height: 1.35;
    margin-bottom: 10px;
    padding-bottom: 14px;
    border-bottom: 2.5px solid #D95650;
}

/* Hero image */
.news-hero {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(214,83,77,0.10);
}
.news-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Body text */
.news-body-text {
font-size: 16px;
    color: #2D2D2D;
    line-height: 1.3;
    margin-bottom: 36px;
}
.news-body-text p {
    margin-bottom: 16px;
}

/* Gallery */
.news-gallery-title {
   font-size: 16px;;
    font-weight: 800;
    color: #161616;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2.5px solid #D95650;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-gallery {
    margin-bottom: 32px;
}
.news-gallery .col-sm-4 {
    margin-bottom: 16px;
}
.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(214,83,77,0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(214,83,77,0.16);
}
.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* CTA Banner */
.news-cta-banner {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(214,83,77,0.09);
}
.news-cta-banner img {
    width: 100%;
    display: block;
}

/* Share bar */
/*.news-share {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    flex-wrap: wrap;*/
/*    gap: 10px;*/
/*    padding: 22px 0 0;*/
/*    border-top: 1.5px solid #e8e0db;*/
/*    margin-top: 10px;*/
/*}*/
.news-share-label {
    font-size: 12px;
    font-weight: 800;
    color: #161616;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.share-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 24px;
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    letter-spacing: 0.02em;
    border: none;
}
.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    text-decoration: none;
}
.share-btn.fb { background: #1877f2; color: #fff; }
.share-btn.tw { background: #1da1f2; color: #fff; }
.share-btn.li { background: #0a66c2; color: #fff; }
.share-btn.wa { background: #25d366; color: #fff; }

/* ── MAIN CONTENT CARD ── */
.news-main-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ede7e3;
    padding: 32px 32px 28px;
    box-shadow: 0 2px 16px rgba(214,83,77,0.06);
}

/* ── SIDEBAR ── */
.news-sidebar {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ede7e3;
    padding: 24px 20px;
    box-shadow: 0 2px 16px rgba(214,83,77,0.06);
    position: sticky;
    top: 20px;
}
.news-sidebar-title {
    font-size: 14px;
    font-weight: 800;
    color: #161616;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2.5px solid #D95650;
}

/* Recent cards */
.news-recent-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0eae7;
    transition: background 0.16s ease;
}
.news-recent-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.news-recent-img {
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(214,83,77,0.08);
}
.news-recent-img a {
    display: block;
    width: 100%;
    height: 100%;
}
.news-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}
.news-recent-card:hover .news-recent-img img {
    transform: scale(1.07);
}
.news-recent-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.news-recent-date {
    font-size: 10px;
    font-weight: 400;
    color: #D6534D;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.news-recent-title {
    font-size: 13px;
    font-weight: 700;
    color: #161616;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s ease;
}
.news-recent-title:hover {
    color: #D6534D;
    text-decoration: none;
}
.news-recent-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #D6534D;
    text-decoration: none;
    letter-spacing: 0.03em;
    margin-top: 2px;
    transition: gap 0.16s ease;
}
.news-recent-link:hover {
    gap: 8px;
    text-decoration: none;
    color: #b83e39;
}

/* Responsive */
@media (max-width: 991px) {
    .news-hero img { height: 280px; }
    .news-sidebar { margin-top: 28px; position: static; }
    .news-main-card { padding: 24px 20px; }
}
@media (max-width: 767px) {
    .news-title { font-size: 22px; }
    .news-hero img { height: 220px; }
    .gallery-item img { height: 130px; }
    .news-main-card { padding: 20px 16px; }
}
@media (max-width: 575px) {
    .news-share { flex-direction: column; align-items: flex-start; }
    .news-hero img { height: 190px; }
}


/* ── News Listing Page ── */
.news-listing-section {
    background: #F7F4F1;
    padding: 60px 0 70px;
}

/* Section heading */
.news-listing-heading {
    font-size: 13px;
    font-weight: 800;
    color: #D6534D;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    background: #fff;
    border: 1.5px solid #D95650;
    border-radius: 22px;
    padding: 6px 24px;
    margin-bottom: 40px;
}

/* Card */
.nl-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ede7e3;
    box-shadow: 0 2px 14px rgba(214,83,77,0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.nl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(214,83,77,0.13);
}

/* Card image */
.nl-card__thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f0eae7;
    flex-shrink: 0;
}
.nl-card__thumb a {
    display: block;
    height: 100%;
}
.nl-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}
.nl-card:hover .nl-card__img {
    transform: scale(1.05);
}

/* Card body */
.nl-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.nl-card__date {
    font-size: 10px;
    font-weight: 300;
    color: #D6534D;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.nl-card__title {
    font-size: 16px;;
    font-weight: 700;
    color: #161616;
    line-height: 1.5;
    margin-bottom: 18px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nl-card__desc {
    font-size: 14px;
    color: #2D2D2D;
    line-height: 1.3;
    margin-bottom: 16px;
}
.nl-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #D6534D;
    border: 1px solid #D6534D;
    border-radius: 28px;
    padding: 8px 22px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.18s ease, color 0.18s ease;
    margin-top: auto;
    width: fit-content;
}
.nl-card__btn::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.18s ease;
}
.nl-card__btn:hover {
    background: #D6534D;
    color: #fff;
    text-decoration: none;
}
.nl-card__btn:hover::after {
    transform: translateX(3px);
}

/* Divider accent on card top */
.nl-card::before {
    content: '';
    display: block;
    height: 3px;
    background: #D6534D;
    width: 0;
    transition: width 0.3s ease;
}
.nl-card:hover::before {
    width: 100%;
}

/* Load More button */
.nl-load-more-wrap {
    text-align: center;
    margin-top: 48px;
}
.btn_submit.nl-load-more-btn {
    display: inline-block;
    background: #D6534D;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 42px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.18s ease, transform 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.btn_submit.nl-load-more-btn:hover {
    background: #b83e39;
    transform: translateY(-2px);
    color: #fff;
}

/* Pagination */
.paginationcss .page-link {
    color: #D6534D;
    border: 1.5px solid #ede7e3;
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 14px;
    transition: background 0.16s ease, color 0.16s ease;
}
.paginationcss .page-item.active .page-link {
    background: #D6534D;
    border-color: #D6534D;
    color: #fff;
}
.paginationcss .page-link:hover {
    background: #D6534D;
    color: #fff;
    border-color: #D6534D;
}

/* Responsive */
@media (max-width: 991px) {
    .nl-card__thumb { height: 200px; }
}
@media (max-width: 767px) {
    .nl-card__thumb { height: 210px; }
    .nl-card__body { padding: 18px 18px 20px; }
    .news-listing-section { padding: 40px 0 50px; }
}
@media (max-width: 575px) {
    .nl-card__thumb { height: 220px; }
}


.ev-header{
    display: flex;
    justify-content: center;
    align-items: center;
}

.ev-header__left{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ev-header__title{
    margin: 0;
    width: 100%;
    text-align: center;
}

.ev-header__tag{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    -webkit-text-stroke: 1.1px #D95650;
    height: 52px;
    margin: 0 auto;
    padding: 0 26px;
    z-index: 1;
}

.ev-header__tag::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    background-size: 100% 68%;
    background-position: center;
    z-index: -1;
}

.ev-header__tag span{
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: #161616;
    white-space: nowrap;
}

.evp-header{
    display: flex;
    justify-content: center;
    align-items: center;
}

.evp-header__left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.evp-header__title{
    margin: 0;
    text-align: center;
}

.evp-header__tag{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 146px;
    height: 78px;

    padding-left: 12px;

    z-index: 1;
}

.evp-header__tag::before{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('/assets/curegrove/img/tagline.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;

    z-index: -1;
}

.evp-header__tag{
    font-size: 18px;
    font-weight: 800;
    color: #161616;
    -webkit-text-stroke: 1.4px #D95650;
}
/* ===== AWARDS SECTION ===== */
.primary_section.service {
    background: #fdf8f6;
    position: relative;
    overflow: hidden;
}
 
.primary_section.service::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(214, 90, 70, 0.06);
    pointer-events: none;
}
 
.primary_section.service::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(214, 90, 70, 0.05);
    pointer-events: none;
}
 
/* Section heading pill */
.awards-section-label {
    display: inline-block;
    background: #D65A46;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
 
.primary_section.service h1.text-nblue {
    color: #D65A46 !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
 
.primary_section.service h2 {
    color: #1a2340;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.35;
}
 
/* ===== AWARD CARD ===== */
.awards-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(214, 90, 70, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 10px;
}
 
.awards-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(214, 90, 70, 0.14);
}
 
/* Decorative top accent bar */
.awards-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D65A46, #e8826f);
    border-radius: 16px 16px 0 0;
}
 
/* Image container */
.awards-card .post-img {
    position: relative;
    overflow: hidden;
    background: #f7ede9;
}
 
.awards-card .post-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
 
.awards-card:hover .post-img img {
    transform: scale(1.04);
}
 
/* Award badge overlay */
.awards-card .post-img::after {
    content: '🏆';
    position: absolute;
    top: 14px;
    right: 14px;
    background: #D65A46;
    color: #fff;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(214, 90, 70, 0.35);
}
 
/* Card text body */
.awards-card .card-text {
    padding: 20px 22px 24px !important;
    border: none !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
 
.awards-card .card-text h3 {
   font-size: 16px;;
    font-weight: 700;
    color: #1a2340;
    margin: 0 0 6px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
 
/* Meta rows (Year, Awarded By, Location) */
.awards-card .card-text p.fs-14 {
    font-size: 14px;
    color: #555;
    /*margin: 0;*/
    /*padding: 5px 0;*/
    border-bottom: 1px dashed rgba(214, 90, 70, 0.12);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
 
.awards-card .card-text p.fs-14:last-of-type {
    border-bottom: none;
}
 
.awards-card .card-text .fw-600.text-darkkk {
    color: #D65A46;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}
 
/* Description / long text area */
/*.awards-card .card-text .peoplereview {*/
/*    font-size: 13.5px;*/
/*    color: #666;*/
/*    line-height: 1.3;*/
/*    margin-top: 8px;*/
/*    padding-top: 10px;*/
/*    border-top: 1px solid rgba(214, 90, 70, 0.1);*/
/*    flex: 1;*/
/*}*/
 
/* Overelipsis helper */
.awards-card .overelipsis1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

 
/* Section divider dot row */
.section-dot-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 36px;
}
.section-dot-divider span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D65A46;
    opacity: 0.3;
}
.section-dot-divider span.active {
    opacity: 1;
    width: 24px;
    border-radius: 3px;
}
 
/* Responsive tweaks */
@media (max-width: 767px) {
    .awards-card .post-img img {
        height: 220px;
    }
    .primary_section.service h2 {
        font-size: 22px;
    }
}




        /* ===== PRESS RELEASE SECTION STYLES ===== */
        .pressrelease_homepage {
            background: #fdf7f5;
            padding: 60px 0;
        }
 
        .pressrelease_homepage .section-label {
            display: inline-block;
            background: #fff;
            color: #d9534f;
            border: 1.5px solid #d9534f;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            padding: 3px 18px;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }
 
        .pressrelease_homepage h3.section-title {
            font-size: 26px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 0;
            line-height: 1.3;
        }
 
        .pressrelease_homepage .view-all-link {
            font-size: 14px;
            font-weight: 500;
            color: #d9534f;
            text-decoration: none;
            transition: color 0.2s ease;
        }
 
        .pressrelease_homepage .view-all-link:hover {
            color: #b03a37;
            text-decoration: underline;
        }
 
        /* Card Styles */
        .pressrelease_homepage .gallery {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 2px 16px rgba(0,0,0,0.07);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            margin-right: 0 !important;
            height: 100%;
            display: flex;
            flex-direction: column;
            margin:15px;
        }
 
        .pressrelease_homepage .gallery:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 32px rgba(217,83,79,0.13);
        }
 
        /* Image wrapper */
        .pressrelease_homepage .gallery .press-img-wrap {
            position: relative;
            overflow: hidden;
            border-radius: 14px 14px 0 0;
        }
 
        .pressrelease_homepage .gallery .presscard {
            width: 100%;
            height: 210px;
            object-fit: cover;
            display: block;
            transition: transform 0.35s ease;
        }
 
        .pressrelease_homepage .gallery:hover .presscard {
            transform: scale(1.04);
        }
 
        /* Card body */
        .pressrelease_homepage .gallery .press-card-body {
            padding: 16px 18px 18px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
 
        .pressrelease_homepage .gallery .press-source {
            font-size: 12px;
            font-weight: 700;
            color: #d9534f;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 6px;
        }
 
        .pressrelease_homepage .gallery .press-title {
        font-size: 16px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 6px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
 
        .pressrelease_homepage .gallery .press-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.3;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
            /*min-height: 42px;*/
        }
 
        .pressrelease_homepage .gallery .press-date {
            font-size: 12px;
            color: #999;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: auto;
        }
 
        .pressrelease_homepage .gallery .press-date::before {
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            flex-shrink: 0;
        }
 
        /* Header section */
        .pressrelease_homepage .press-section-header {
            text-align: center;
            margin-bottom: 36px;
        }
 
        /* Owl carousel overrides */
        .pressrelease_homepage .owl-carousel .owl-stage {
            display: flex;
        }
 
        .pressrelease_homepage .owl-carousel .owl-item {
            display: flex;
        }
 
        .pressrelease_homepage .owl-carousel .owl-item > div {
            width: 100%;
                height: 420px;
        }
 
        .pressrelease_homepage .owl-nav button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #fff !important;
            border: 1.5px solid #e8e8e8 !important;
            border-radius: 50% !important;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.2s ease;
        }
 
        .pressrelease_homepage .owl-nav button:hover {
            background: #d9534f !important;
            border-color: #d9534f !important;
            color: #fff !important;
        }
 
        .pressrelease_homepage .owl-nav .owl-prev { left: -20px; }
        .pressrelease_homepage .owl-nav .owl-next { right: -20px; }
 
        .pressrelease_homepage .owl-dots .owl-dot span {
            background: #ddd;
            width: 8px;
            height: 8px;
            transition: all 0.2s ease;
        }
 
        .pressrelease_homepage .owl-dots .owl-dot.active span {
            background: #d9534f;
            width: 22px;
            border-radius: 4px;
        }
 
        /* Grid mode (non-slider) */
        .pressrelease_homepage .row .col-sm-4 {
            margin-bottom: 24px;
        }
 
        /* Responsive */
        @media (max-width: 768px) {
            .pressrelease_homepage h3.section-title {
                font-size: 20px;
            }
            .pressrelease_homepage .gallery .presscard {
                height: 180px;
            }
        }
        
        
        .vm3-section {
  background: #F7F4F1;
  padding: 60px 0 70px;
  position: relative;
}
 
/* Header */
.vm3-header {
  text-align: center;
  margin-bottom: 44px;
}
.vm3-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D6534D;
  border: 1.5px solid #D95650;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.vm3-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #2D2D2D;
  letter-spacing: -0.5px;
  margin: 0;
}
.vm3-section-title span { color: #D6534D; }
.vm3-rule {
  width: 48px;
  height: 3px;
  background: #D6534D;
  margin: 12px auto 0;
  border-radius: 2px;
}
 
/* Carousel wrapper — forces OWL to be the only display mode */
.vm3-carousel-outer { position: relative; }
 
/* Card */
.vm3-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(214, 83, 77, 0.12);
  overflow: hidden;
  margin: 6px 10px 16px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.vm3-card:hover {
  box-shadow: 0 8px 36px rgba(214, 83, 77, 0.13);
  transform: translateY(-3px);
}
 
/* Image zone */
.vm3-img-zone {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #fdf1f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vm3-img-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.vm3-card:hover .vm3-img-zone img { transform: scale(1.04); }
 
/* Card body */
.vm3-card-body { padding: 22px 24px 10px; height:212px;}
.vm3-step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.vm3-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D6534D;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vm3-step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #D6534D;
}
.vm3-card-title {
 font-size: 16px;;
  font-weight: 700;
  color: #161616;
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vm3-short-desc {
  font-size: 14px;
  color: #999;
  margin: 0 0 10px;
  line-height: 1.3;
}
.vm3-long-desc {
  font-size: 16px;;
  color: #555;
  line-height: 1.3;
  margin: 0 0 14px;
}
.vm3-long-desc p { margin: 0 0 8px; }
 
/* Card footer */
.vm3-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 18px;
  border-top: 1px solid #f5eeee;
  margin-top: 4px;
}
.vm3-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #D6534D;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s, opacity 0.2s;
}
.vm3-readmore:hover { gap: 9px; opacity: 0.75; color: #D6534D; text-decoration: none; }
.vm3-readmore svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.vm3-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #D6534D;
  background: #fdf1f0;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
 
/* OWL custom dots & nav */
#visionmission_slider.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}
#visionmission_slider.owl-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  background: #D6534D;
  opacity: 0.25;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  transition: opacity 0.3s, transform 0.3s;
}
#visionmission_slider.owl-carousel .owl-dot.active span {
  opacity: 1;
  transform: scale(1.35);
}
#visionmission_slider.owl-carousel .owl-nav button {
  background: #D6534D !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  box-shadow: 0 4px 14px rgba(214, 83, 77, 0.3) !important;
  transition: background 0.2s, transform 0.15s !important;
  border: none !important;
}
#visionmission_slider.owl-carousel .owl-nav button:hover {
  background: #b8403a !important;
  transform: scale(1.08) !important;
}
#visionmission_slider.owl-carousel .owl-nav button.disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}
 
@media (max-width: 767px) {
  .vm3-section { padding: 40px 0 52px; }
  .vm3-img-zone { height: 180px; }
  .vm3-card-body { padding: 18px 18px 8px; }
  .vm3-card-footer { padding: 10px 18px 14px; }
}

.vm-detail-section {
  background: #F7F4F1;
  padding: 64px 0 80px;
}
 
/* Entry block — each foreach item */
.vm-detail-entry {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(214,83,77,0.10);
  margin-bottom: 40px;
  transition: box-shadow 0.3s;
}
.vm-detail-entry:hover {
  box-shadow: 0 10px 48px rgba(214,83,77,0.10);
}
.vm-detail-entry:last-child {
  margin-bottom: 0;
}
 
/* Red top stripe */
.vm-detail-entry::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #D6534D 0%, #e8837f 100%);
}
 
/* Inner grid: text left, image right */
.vm-detail-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  align-items: stretch;
}
 
/* Text column */
.vm-detail-text {
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
/* Index badge + title row */
.vm-detail-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.vm-detail-index {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D6534D;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 14px rgba(214,83,77,0.30);
}
.vm-detail-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #161616;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.vm-detail-title-underline {
  display: block;
  width: 36px;
  height: 3px;
  background: #D6534D;
  border-radius: 2px;
  margin-top: 8px;
}
 
/* Short desc */
.vm-detail-short {
  font-size: 14.5px;
  color: #888;
  line-height: 1.3;
  margin: 0 0 16px;
  /*font-style: italic;*/
  padding-left: 60px; /* align under title, past the badge */
}
 
/* Long desc */
.vm-detail-long {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.3;
  padding-left: 60px;
}
.vm-detail-long p {
  margin: 0 0 12px;
}
.vm-detail-long p:last-child {
  margin-bottom: 0;
}
 
/* Image column */
.vm-detail-img-col {
  position: relative;
  overflow: hidden;
  background: #f5ebe9;
  border-left: 1px solid rgba(214,83,77,0.08);
}
.vm-detail-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  min-height: 280px;
}
.vm-detail-entry:hover .vm-detail-img-col img {
  transform: scale(1.04);
}
 
/* Image overlay tag */
.vm-detail-img-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #D6534D;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
 
/* Separator between entries — decorative dots */
.vm-detail-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 40px;
}
.vm-detail-sep span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D6534D;
  opacity: 0.25;
  display: inline-block;
}
.vm-detail-sep span:nth-child(2) { opacity: 0.5; transform: scale(1.2); }
 
/* Alternate layout: even entries flip image to left */
.vm-detail-entry:nth-child(even) .vm-detail-inner {
  grid-template-columns: 340px 1fr;
}
.vm-detail-entry:nth-child(even) .vm-detail-img-col {
  order: -1;
  border-left: none;
  border-right: 1px solid rgba(214,83,77,0.08);
}
.vm-detail-entry:nth-child(even) .vm-detail-text {
  padding: 40px 40px 36px 44px;
}
 
/* Responsive */
@media (max-width: 991px) {
  .vm-detail-inner,
  .vm-detail-entry:nth-child(even) .vm-detail-inner {
    grid-template-columns: 1fr;
  }
  .vm-detail-entry:nth-child(even) .vm-detail-img-col {
    order: 0;
    border-right: none;
    border-top: 1px solid rgba(214,83,77,0.08);
  }
  .vm-detail-img-col {
    border-left: none;
    border-top: 1px solid rgba(214,83,77,0.08);
    min-height: 220px;
  }
  .vm-detail-img-col img { min-height: 220px; }
  .vm-detail-text,
  .vm-detail-entry:nth-child(even) .vm-detail-text {
    padding: 28px 24px 24px;
  }
  .vm-detail-short,
  .vm-detail-long {
    padding-left: 0;
  }
}
 
@media (max-width: 576px) {
  .vm-detail-section { padding: 40px 0 56px; }
  .vm-detail-entry { border-radius: 14px; margin-bottom: 28px; }
  .vm-detail-title {font-size: 16px;; }
  .vm-detail-index { width: 36px; height: 36px; font-size: 11px; }
}


<!-- ======================================================
     CareGrove — Photo Gallery Section
     Colors:
       Primary:     #D6534D
       Background:  #F7F4F1
       Dark Text:   #2D2D2D / #161616
       Light Text:  #FFFFFF
       Title Border:#D95650
====================================================== -->
 
<style>
  /* ── Root Tokens ───────────────────────────────────── */

  /* ── Section Wrapper ──────────────────────────────── */
  .cg-gallery-section {
    background: var(--bg-cream);
    padding: 72px 0 80px;
  }
 
  /* ── Section Header ───────────────────────────────── */
  .cg-section-header {
    text-align: center;
    margin-bottom: 48px;
  }
 
  .cg-section-label {
    display: inline-block;
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 4px 20px;
    margin-bottom: 14px;
  }
 
  .cg-section-label::before,
  .cg-section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background: var(--border-title);
    border-radius: 2px;
  }
 
  .cg-section-label::before { right: 100%; margin-right: 6px; }
  .cg-section-label::after  { left:  100%; margin-left:  6px; }
 
  .cg-section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.25;
  }
 
  .cg-section-subtitle {
font-size: 16px;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
  }
 
  /* ── Grid Layout ──────────────────────────────────── */
  .cg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
 
  /* ── Album Card ───────────────────────────────────── */
  .cg-album-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    display: block;
    border: 1px solid rgba(214,83,77,0.08);
  }
 
  .cg-album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
  }
 
  /* ── Image Wrapper ────────────────────────────────── */
  .cg-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
  }
 
  .cg-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  }
 
  .cg-album-card:hover .cg-img-wrap img {
    transform: scale(1.07);
  }
 
  /* Overlay on hover */
  .cg-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(214,83,77,0.72) 100%
    );
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 18px 16px;
  }
 
  .cg-album-card:hover .cg-img-overlay {
    opacity: 1;
  }
 
  .cg-overlay-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
  }
 
  .cg-overlay-text svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
 
  /* ── Corner Badge ─────────────────────────────────── */
  .cg-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
 
  /* ── Card Body ────────────────────────────────────── */
  .cg-card-body {
    padding: 16px 18px 18px;
    border-top: 2px solid var(--bg-cream);
  }
 
  .cg-album-name {
    font-size: 16px;;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
 
  .cg-album-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
  }
 
  .cg-album-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
 
  /* ── "View All" Button ────────────────────────────── */
  .cg-gallery-footer {
    text-align: center;
    margin-top: 44px;
  }
 
  .cg-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background var(--transition), color var(--transition), transform var(--transition);
  }
 
  .cg-btn-viewall:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
  }
 
  .cg-btn-viewall svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition);
  }
 
  .cg-btn-viewall:hover svg {
    transform: translateX(4px);
  }
 
  /* ── Owl Slider Overrides ─────────────────────────── */
  #photo_slider.owl-carousel .owl-item {
    padding: 6px 10px;
  }
 
  #photo_slider.owl-carousel .owl-nav button {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    line-height: 40px !important;
  }
 
  #photo_slider.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--primary) !important;
  }
 
  #photo_slider.owl-carousel .owl-dots .owl-dot span {
    background: rgba(214,83,77,0.3) !important;
  }
 
  /* ── Responsive ────────────────────────────────────── */
  @media (max-width: 767px) {
    .cg-gallery-grid {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .cg-img-wrap { height: 170px; }
    .cg-section-label::before,
    .cg-section-label::after { width: 20px; }
  }
 
  @media (max-width: 479px) {
    .cg-gallery-grid {
      grid-template-columns: 1fr;
    }
  }
  .video_gallery_homepage .cg-album-card.cg-video-card {
    display: block;
    text-decoration: none;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(214,83,77,0.08);
    border: 1px solid rgba(214,83,77,0.08);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s cubic-bezier(0.4,0,0.2,1);
    margin: 6px 10px;
}
 
.video_gallery_homepage .cg-album-card.cg-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(214,83,77,0.18);
    text-decoration: none;
}
 
/* Image wrap */
.video_gallery_homepage .cg-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}
 
.video_gallery_homepage .cg-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
 
.video_gallery_homepage .cg-album-card:hover .cg-img-wrap img {
    transform: scale(1.07);
}
 
/* Dark overlay always present for video */
.video_gallery_homepage .cg-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22,22,22,0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.28s ease;
}
 
.video_gallery_homepage .cg-album-card:hover .cg-video-overlay {
    background: rgba(214,83,77,0.45);
}
 
/* Play button */
.video_gallery_homepage .cg-play-btn {
    width: 56px;
    height: 56px;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
 
.video_gallery_homepage .cg-play-btn svg {
    width: 56px;
    height: 56px;
}
 
.video_gallery_homepage .cg-album-card:hover .cg-play-btn {
    transform: scale(1.15);
}
 
/* Badge */
.video_gallery_homepage .cg-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #D6534D;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
 
/* Card body */
.video_gallery_homepage .cg-card-body {
    padding: 16px 18px 18px;
    border-top: 2px solid #F7F4F1;
}
 
.video_gallery_homepage .cg-album-name {
font-size: 16px;
    font-weight: 600;
    color: #161616;
    margin: 0 0 4px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.video_gallery_homepage .cg-album-meta {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
 
.video_gallery_homepage .cg-album-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
 
/* Owl nav/dots overrides */
.video_gallery_homepage .owl-nav button {
    background: #D6534D !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}
 
.video_gallery_homepage .owl-dots .owl-dot.active span {
    background: #D6534D !important;
}
 
.video_gallery_homepage .owl-dots .owl-dot span {
    background: rgba(214,83,77,0.3) !important;
}
/* ── Tokens ────────────────────────────────────────────────── */
.vgallery-detail-section {
    --primary:      #D6534D;
    --primary-dk:   #B8433D;
    --primary-lt:   #F5E8E7;
    --bg:           #F7F4F1;
    --white:        #FFFFFF;
    --dark:         #161616;
    --body:         #2D2D2D;
    --muted:        #6B6B6B;
    --border:       rgba(214,83,77,0.12);
    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 4px 20px rgba(214,83,77,0.08);
    --shadow-hv:    0 8px 32px rgba(214,83,77,0.16);
    --ease:         0.26s cubic-bezier(0.4,0,0.2,1);
    background:     #F7F4F1;
}
 
/* ── Player ────────────────────────────────────────────────── */
.vgd-player-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}
.vgd-player {
    width: 100%;
    height: 420px;
    display: block;
    border: none;
}
@media(max-width:767px){ .vgd-player{ height:240px; } }
 
/* ── Meta Box ──────────────────────────────────────────────── */
.vgd-meta-box {
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 20px 24px 22px;
    border: 1px solid var(--border);
    border-top: none;
    margin-bottom: 28px;
}
.vgd-video-title {
    font-size: clamp(18px,2.2vw,24px);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.3;
}
.vgd-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.vgd-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--muted);
}
.vgd-meta-item svg {
    width: 14px; height: 14px;
    stroke: var(--primary);
    fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}
.vgd-meta-divider {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--muted);
    opacity: 0.5;
}
.vgd-writeup {
    font-size: 14px;
    color: var(--body);
    margin: 0;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
 
/* ── Comments Header ───────────────────────────────────────── */
.vgd-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.vgd-comments-title {
    display: flex;
    align-items: center;
    gap: 8px;
   font-size: 16px;;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.vgd-comments-title svg {
    width: 18px; height: 18px;
    stroke: var(--primary); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
 
/* ── Comment Cards ─────────────────────────────────────────── */
.vgd-comments-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
 
.vgd-comment-card {
    display: flex;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.vgd-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary-lt);
    color: var(--primary);
    font-size: 16px;;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vgd-comment-body { flex: 1; min-width: 0; }
.vgd-comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.vgd-commenter-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.vgd-comment-time   { font-size: 12px; color: var(--muted); }
.vgd-comment-text   { font-size: 14px; color: var(--body); margin: 0; line-height: 1.3; }
 
/* ── Buttons ───────────────────────────────────────────────── */
.vgd-btn-comment {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: background var(--ease), color var(--ease), transform var(--ease);
}
.vgd-btn-comment:hover {
    background: var(--primary); color: var(--white);
    transform: translateY(-2px); text-decoration: none;
}
 
.vgd-btn-loadmore {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 9px 26px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: background var(--ease), color var(--ease);
}
.vgd-btn-loadmore svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
}
.vgd-btn-loadmore:hover { background: var(--primary); color: var(--white); }
 
/* ── Comment Form ──────────────────────────────────────────── */
.vgd-comment-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-top: 8px;
}
.vgd-form-header {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
}
.vgd-form-accent {
    width: 4px; height: 44px; border-radius: 4px;
    background: var(--primary); flex-shrink: 0; margin-top: 2px;
}
.vgd-form-title {
   font-size: 16px;; font-weight: 700; color: var(--dark); margin: 0 0 4px;
}
.vgd-form-sub { font-size: 13px; color: var(--muted); margin: 0; }
 
.vgd-input {
    width: 100%;
    border: 1.5px solid rgba(214,83,77,0.18);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    color: var(--body);
    background: #FDFCFB;
    font-family: inherit;
    transition: border-color var(--ease), box-shadow var(--ease);
    outline: none;
    display: block;
}
.vgd-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(214,83,77,0.10);
    background: var(--white);
}
.vgd-input::placeholder { color: #ABABAB; }
.vgd-textarea { resize: vertical; min-height: 110px; }
 
.vgd-btn-submit {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
    box-shadow: 0 4px 14px rgba(214,83,77,0.28);
}
.vgd-btn-submit svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}
.vgd-btn-submit:hover {
    background: var(--primary-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214,83,77,0.36);
}
 
/* ── Sidebar ───────────────────────────────────────────────── */
.vgd-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 22px 18px;
    position: sticky;
    top: 20px;
}
.vgd-sidebar-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.vgd-sidebar-accent {
    width: 4px; height: 26px; border-radius: 4px; background: var(--primary); flex-shrink: 0;
}
.vgd-sidebar-title { font-size: 16px;; font-weight: 700; color: var(--dark); margin: 0; }
 
.vgd-related-list { display: flex; flex-direction: column; gap: 16px; }
 
.vgd-related-card {
    display: flex; gap: 12px; align-items: flex-start;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 10px;
    border: 1px solid transparent;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.vgd-related-card:hover {
    background: var(--primary-lt);
    border-color: var(--border);
    transform: translateX(4px);
    text-decoration: none;
}
 
.vgd-related-thumb {
    position: relative; flex-shrink: 0;
    width: 100px; height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.vgd-related-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.45s ease;
}
.vgd-related-card:hover .vgd-related-thumb img { transform: scale(1.06); }
 
.vgd-related-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.28);
}
.vgd-related-play svg { width: 32px; height: 32px; }
 
.vgd-related-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vgd-related-title {
    font-size: 13px; font-weight: 600; color: var(--dark);
    margin: 0; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.vgd-related-cta {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; color: var(--primary);
}
.vgd-related-cta svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform var(--ease);
}
.vgd-related-card:hover .vgd-related-cta svg { transform: translateX(3px); }
 
@media(max-width:767px){
    .vgd-sidebar { position: static; margin-top: 28px; }
    .vgd-related-thumb { width: 80px; height: 58px; }
}
/* ── Tokens ────────────────────────────────────────────────── */
.vgallery-page {
    --primary:     #D6534D;
    --primary-dk:  #B8433D;
    --primary-lt:  #F5E8E7;
    --bg:          #F7F4F1;
    --white:       #FFFFFF;
    --dark:        #161616;
    --body:        #2D2D2D;
    --muted:       #6B6B6B;
    --border:      rgba(214,83,77,0.10);
    --border-title:#D95650;
    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 4px 20px rgba(214,83,77,0.08);
    --shadow-hv:   0 10px 36px rgba(214,83,77,0.18);
    --ease:        0.28s cubic-bezier(0.4,0,0.2,1);
    background:    #F7F4F1;
}
 
/* ── Section Header ────────────────────────────────────────── */
.vgp-header {
    text-align: center;
    margin-bottom: 48px;
}
.vgp-label {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 4px 20px;
    margin-bottom: 12px;
}
.vgp-label::before,
.vgp-label::after {
    content: '';
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 30px; height: 2px;
    background: var(--border-title);
    border-radius: 2px;
}
.vgp-label::before { right: 100%; margin-right: 6px; }
.vgp-label::after  { left:  100%; margin-left:  6px; }
 
.vgp-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.25;
}
.vgp-subtitle {
font-size: 16px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.3;
}
 
/* ── Grid ──────────────────────────────────────────────────── */
.vgp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
 
/* ── Card ──────────────────────────────────────────────────── */
.vgp-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease);
}
.vgp-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hv);
    text-decoration: none;
}
 
/* ── Thumbnail ─────────────────────────────────────────────── */
.vgp-thumb {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.vgp-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.vgp-card:hover .vgp-thumb img {
    transform: scale(1.07);
}
 
/* Overlay — always present so play button is visible */
.vgp-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(22,22,22,0.10) 0%,
        rgba(22,22,22,0.55) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease);
}
.vgp-card:hover .vgp-overlay {
    background: linear-gradient(
        to bottom,
        rgba(214,83,77,0.15) 0%,
        rgba(214,83,77,0.60) 100%
    );
}
 
/* Play Button */
.vgp-play-btn {
    width: 60px; height: 60px;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.3));
    transition: transform var(--ease);
}
.vgp-play-btn svg { width: 60px; height: 60px; }
.vgp-card:hover .vgp-play-btn { transform: scale(1.14); }
 
/* Date Badge */
.vgp-date-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(22,22,22,0.68);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.vgp-date-badge svg {
    width: 12px; height: 12px;
    stroke: #fff; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
 
/* ── Card Body ─────────────────────────────────────────────── */
.vgp-card-body {
    padding: 16px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 2px solid #F7F4F1;
}
.vgp-card-title {
font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vgp-watch-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap var(--ease);
}
.vgp-watch-cta svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    transition: transform var(--ease);
}
.vgp-card:hover .vgp-watch-cta svg { transform: translateX(4px); }
 
/* ── Empty State ───────────────────────────────────────────── */
.vgp-empty {
    text-align: center;
    padding: 80px 20px;
}
.vgp-empty-icon {
    width: 72px; height: 72px;
    background: var(--primary-lt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.vgp-empty-icon svg {
    width: 32px; height: 32px;
    stroke: var(--primary); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.vgp-empty-title {
    font-size: 20px; font-weight: 700;
    color: var(--dark); margin: 0 0 8px;
}
.vgp-empty-sub {
    font-size: 14px; color: var(--muted); margin: 0;
}
 
/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .vgp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .vgp-thumb { height: 180px; }
    .vgp-play-btn, .vgp-play-btn svg { width: 46px; height: 46px; }
    .vgp-label::before,
    .vgp-label::after { width: 20px; }
}
@media (max-width: 479px) {
    .vgp-grid { grid-template-columns: 1fr; }
    .vgp-thumb { height: 220px; }
}
.pgallery-page {
    --primary:    #D6534D;
    --primary-dk: #B8433D;
    --primary-lt: #F5E8E7;
    --bg:         #F7F4F1;
    --white:      #FFFFFF;
    --dark:       #161616;
    --body:       #2D2D2D;
    --muted:      #6B6B6B;
    --border:     rgba(214,83,77,0.10);
    --radius:     12px;
    --radius-sm:  8px;
    --shadow:     0 4px 20px rgba(214,83,77,0.08);
    --shadow-hv:  0 10px 36px rgba(214,83,77,0.18);
    --ease:       0.28s cubic-bezier(0.4,0,0.2,1);
    background:   #F7F4F1;
    font-family:  'Poppins','Segoe UI',sans-serif;
}
 
/* ── Grid ──────────────────────────────────────────────────── */
.pgp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
 
/* ── Card ──────────────────────────────────────────────────── */
.pgp-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease);
}
.pgp-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hv);
    text-decoration: none;
}
 
/* ── Thumbnail ─────────────────────────────────────────────── */
.pgp-thumb {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.pgp-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.pgp-card:hover .pgp-thumb img {
    transform: scale(1.07);
}
 
/* Overlay */
.pgp-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(214,83,77,0.72) 100%
    );
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 18px 16px;
    transition: opacity var(--ease);
}
.pgp-card:hover .pgp-overlay { opacity: 1; }
 
.pgp-overlay-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pgp-overlay-text svg {
    width: 15px; height: 15px;
    stroke: #fff; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
 
/* Badge */
.pgp-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
 
/* ── Card Body ─────────────────────────────────────────────── */
.pgp-card-body {
    padding: 16px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 2px solid #F7F4F1;
}
.pgp-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pgp-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.pgp-card-cta svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    transition: transform var(--ease);
}
.pgp-card:hover .pgp-card-cta svg { transform: translateX(4px); }
 
/* ── Empty State ───────────────────────────────────────────── */
.pgp-empty {
    text-align: center;
    padding: 80px 20px;
}
.pgp-empty-icon {
    width: 72px; height: 72px;
    background: var(--primary-lt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.pgp-empty-icon svg {
    width: 32px; height: 32px;
    stroke: var(--primary); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pgp-empty-title {
    font-size: 20px; font-weight: 700;
    color: var(--dark); margin: 0 0 8px;
}
.pgp-empty-sub { font-size: 14px; color: var(--muted); margin: 0; }
 
/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .pgp-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .pgp-thumb { height: 180px; }
}
@media (max-width: 479px) {
    .pgp-grid { grid-template-columns: 1fr; }
    .pgp-thumb { height: 220px; }
}
.pgallery-info-page {
    --primary:    #D6534D;
    --primary-dk: #B8433D;
    --primary-lt: #F5E8E7;
    --bg:         #F7F4F1;
    --white:      #FFFFFF;
    --dark:       #161616;
    --body:       #2D2D2D;
    --muted:      #6B6B6B;
    --border:     rgba(214,83,77,0.10);
    --radius:     12px;
    --shadow:     0 4px 20px rgba(214,83,77,0.08);
    --shadow-hv:  0 10px 36px rgba(214,83,77,0.18);
    --ease:       0.28s cubic-bezier(0.4,0,0.2,1);
    background:   #F7F4F1;
    font-family:  'Poppins','Segoe UI',sans-serif;
}
 
.pgi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
 

.pgi-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform var(--ease), box-shadow var(--ease);
}
.pgi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hv);
    text-decoration: none;
}
 

.pgi-thumb {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.pgi-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.pgi-card:hover .pgi-thumb img {
    transform: scale(1.07);
}
 

.pgi-overlay {
    position: absolute; inset: 0;
    background: rgba(214,83,77,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease);
}
.pgi-card:hover .pgi-overlay { opacity: 1; }
 
.pgi-overlay-icon {
    width: 52px; height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform var(--ease);
}
.pgi-card:hover .pgi-overlay-icon { transform: scale(1); }
 
.pgi-overlay-icon svg {
    width: 24px; height: 24px;
    stroke: var(--primary); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
 

.pgi-empty {
    text-align: center;
    padding: 80px 20px;
}
.pgi-empty-icon {
    width: 72px; height: 72px;
    background: var(--primary-lt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.pgi-empty-icon svg {
    width: 32px; height: 32px;
    stroke: var(--primary); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pgi-empty-title {
    font-size: 20px; font-weight: 700;
    color: var(--dark); margin: 0 0 8px;
}
.pgi-empty-sub { font-size: 14px; color: var(--muted); margin: 0; }
 

@media (max-width: 767px) {
    .pgi-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pgi-thumb { height: 180px; }
}
@media (max-width: 479px) {
    .pgi-grid { grid-template-columns: 1fr; }
    .pgi-thumb { height: 220px; }
}

:root {

    /* Primary Colors */
    --primary: #D6534D;
    --primary-dark: #B8433D;
    --primary-light: #F5E8E7;

    /* Supporting Red Shades */
    --red-light: #F7F4F1;
    --red-dark: #997C70;

    /* Background Colors */
    --bg: #F7F4F1;
    --bg-white: #FFFFFF;
    --grey-bg: #F7F4F1;

    /* Text Colors */
    --navy: #161616;
    --dark: #2D2D2D;
    --dark-muted: #5A5A5A;
    --text-muted: #6B6B6B;

    /* Borders */
    --border: #E8E2DA;
    --border-title: #D95650;

    /* Accent */
    --accent: #F7B32B;

    /* Border Radius */
    --radius: 12px;
    --radius-sm: 6px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(22, 22, 22, 0.06);
    --shadow-md: 0 6px 24px rgba(214, 83, 77, 0.10);
    --card-shadow: 0 4px 24px rgba(45, 45, 45, 0.08);
    --card-hover: 0 12px 40px rgba(214, 83, 77, 0.15);

    /* Transition */
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

}

/* ══════════════════════════════════════
   CONTACT PAGE WRAPPER
══════════════════════════════════════ */
.contact-page-wrapper {
    background: #F7F4F1;
    padding: 30px ;
     overflow-x: hidden;
}

/* Force container to stay contained with side gaps */
.contact-page-wrapper .contact-inner-container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-page-wrapper .contact-inner-container > .row {
    margin-left: -12px;
    margin-right: -12px;
}

.contact-page-wrapper .contact-inner-container > .row > [class*="col-"] {
    padding-left: 0px;
    padding-right: 0px;
}

.contact-page-wrapper .contact-row {
    display: flex;
    align-items: stretch;
}

/* ══════════════════════════════════════
   LEFT CARD
══════════════════════════════════════ */
.contact-info-card {
    background: #D6534D;
    border-radius: 16px;
    padding: 36px 30px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.contact-info-card h2 {
    font-size: 26px !important;
    font-weight: 500 !important;
    color: #fff;
    margin-bottom: 6px;
    font-family: Montaga;
}

.contact-info-card .ci-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Info Items */
.contact-info-card .ci-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-info-card .ci-item .ci-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.contact-info-card .ci-item .ci-body {
    display: block;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    /*text-decoration: underline;*/
    /*text-underline-offset: 7px;*/
    margin-bottom: 5px;
}

.contact-info-card .ci-item .ci-body span,
.contact-info-card .ci-item .ci-body a {
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    display: block;
    line-height: 1.55;
}

.contact-info-card .ci-item .ci-body a:hover {
    color: #fff;
}

.contact-info-card .ci-fee {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.contact-info-card .ci-fee strong {
    color: #fff;
    font-weight: 700;
}

/* Map inside left card */
.ci-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ci-map-wrap iframe,
.ci-map-wrap .mapouter,
.ci-map-wrap .gmap_canvas {
    width: 100% !important;
    height: 180px !important;
    display: block;
    border: none;
}

/* Social Icons */
.contact-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.contact-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

.contact-social a:hover {
    background: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════
   RIGHT FORM CARD
══════════════════════════════════════ */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 80px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Keep the form sticky on the right while scrolling (desktop only) */
@media (min-width: 992px) {
    /* overflow-x:hidden on this ancestor forces overflow-y:auto per spec,
       which makes it the sticky containing block instead of the viewport
       and stops position:sticky below from ever visibly engaging */
    .contact-page-wrapper {
        overflow-x: visible;
    }
    .contact-form-card {
        height: auto;
        position: sticky;
        top: 70px;
    }
}

.contact-form-card .form-section-title {
    display: none;
}

/* Scoped form styles - override globals with high specificity */
.contact-form-card .contactusform .form-group {
    margin-bottom: 16px !important;
}

.contact-form-card .contactusform label {
    font-size: 16px !important;
    font-weight: 300 !important;
    color: #2D2D2D !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.contact-form-card .contactusform input.form-control,
.contact-form-card .contactusform textarea.form-control,
.contact-form-card .contactusform select.form-control {
    background-color: #fff !important;
    border: 1px solid #2D2D2D80 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    padding: 9px 14px !important;
    color: #2D2D2D !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    transition: border-color 0.2s, background-color 0.2s !important;
    height: auto !important;
    width: 100% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.contact-form-card .contactusform input.form-control::placeholder,
.contact-form-card .contactusform textarea.form-control::placeholder {
    color: #b5afa9 !important;
    font-size: 13px !important;
}

.contact-form-card .contactusform input.form-control:focus,
.contact-form-card .contactusform textarea.form-control:focus {
    border-color: #D6534D !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(214,83,77,0.08) !important;
    -webkit-box-shadow: 0 0 0 3px rgba(214,83,77,0.08) !important;
    outline: none !important;
}

.contact-form-card .contactusform textarea.form-control {
    resize: none !important;
    min-height: 130px !important;
}

/* Submit button */
.contact-form-card .btn_submit,
.contact-form-card .contactusform input[type="submit"].btn_submit {
    background: #D6534D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.contact-form-card .btn_submit:hover,
.contact-form-card .contactusform input[type="submit"].btn_submit:hover {
    background: #b8403b !important;
}

/* Equal height columns */
.contact-equal-col {
    display: flex;
    flex-direction: column;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 28px 22px;
        margin-top: 0;
    }

    .contact-info-card {
        height: auto;
    }

    .contact-equal-col {
        height: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .contact-page-wrapper {
        padding: 30px 0;
    }

    .contact-info-card {
        padding: 24px 18px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-page-wrapper .contact-inner-container {
        padding: 0 15px;
    }
}

/* OUTSIDE CONTACT TITLE */
.contact-top-title {
    text-align: center;
    margin-bottom: 40px;
}

.contact-top-title span {
    position: relative;
    display: inline-block;
    font-size: 34px;
    font-weight: 600;
    color: #000;
    z-index: 1;
}

/* LEFT SIDE TITLE + DESCRIPTION */
.contact-left-content {
    margin-bottom: 60px;
}

.contact-left-desc {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 0;
}

.bookapp-main-wrapper {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 40px rgba(0,0,0,0.07);
}
.bookapp-content-wrap {
    padding-left: 10px;
    padding-right: 10px;
}
.bookapmt .form-group {
    margin-bottom: 20px;
}
.ba-field-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
}
.bookapmt .form-control {
    height: 44px;
    border-radius: 7px;
    border: 1px solid #d9d9d9;
    padding: 12px 18px;
    box-shadow: none !important;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}
.bookapmt .form-control::placeholder {
    color: #aaa;
    font-size: 15px;
}
.bookapmt .form-control:focus {
    border-color: #bdbdbd;
    outline: none;
    box-shadow: none !important;
}
.bookapmt select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 48px;
}
.bookapmt textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: none;
    padding-top: 14px;
}
.bookapp-image-wrapper {
    min-height: 100%;
}
.bookapp-image-wrapper img {
    object-fit: cover;
    min-height: 100%;
    display: block;
}
.bookapmt .btn_submit {
    height: 52px;
    border-radius: 100px !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none !important;
}
.bookapmt .doctors-heading {
    position: relative;
    display: inline-block;
    font-size: 18px !important;
    font-weight: 100 !important;
    color: #1e1e1e;
    line-height: 1;
    -webkit-text-stroke: 0px #D95650 !important;
    z-index: 1;
    padding: 8px 24px;
}
/* Radio button slots */
.rd_button {
    float: left;
    margin: 0 5px 0 0;
    height: 40px;
    position: relative;
    z-index: 1;
}
.rd_button label,
.rd_button input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.rd_button input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
}
.rd_button input[type="radio"]:checked + label {
    background: #f48c12;
    border-radius: 4px;
    color: #fff;
}
.rd_button label {
    cursor: pointer;
    z-index: 90;
    line-height: 1.8em;
}
@media (max-width: 991px) {
    .bookapp-main-wrapper {
        border-radius: 18px;
    }
    .bookapp-image-wrapper {
        height: 350px;
    }
    .bookapp-content-wrap {
        padding-top: 40px;
        padding-bottom: 30px;
    }
}
@media (max-width: 767px) {
    .bookapmt {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .bookapp-content-wrap {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .bookapp-image-wrapper {
        height: 280px;
    }
    .bookapmt .form-control {
        height: 52px;
        font-size: 14px;
    }
    .bookapmt textarea.form-control {
        min-height: 100px;
    }
    .bookapmt .btn_submit {
        width: 100%;
    }
}
.about_statistics_section {
    background: #D6534D;
    padding: 48px 40px;
}

.about_stats {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    gap: 0;
}

.about_stats_box {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 20px 24px;
    position: relative;
}

.about_stats_box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.about_stats_box h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0 0 6px 0;
}

.about_stats_box p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}


  /* CareGrove brand tokens */
  :root {
    --cg-primary: #D6534D;
    --cg-primary-dark: #C04540;
    --cg-bg: #F7F4F1;
    --cg-dark: #2D2D2D;
    --cg-dark-deep: #161616;
    --cg-border-accent: #D95650;
    --font-heading: 'Segoe UI', 'Helvetica Neue', sans-serif;
  }

  /* Page background */
  .cg-video-page {
    background: var(--cg-bg);
    min-height: 100vh;
  }

  /* ── Main video container ── */
  .cg-video-main-wrap {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  }
  .cg-video-main-wrap video,
  .cg-video-main-wrap iframe {
    display: block;
    width: 100%;
    border-radius: 0;
  }

  /* meta row under video */
  .cg-video-meta {
    padding: 14px 20px 0;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #eee;
  }
  .cg-video-meta .cg-views {
    font-weight: 600;
    color: var(--cg-primary);
  }

  /* title + description */
  .cg-video-info {
    padding: 16px 20px 20px;
  }
  .cg-video-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cg-dark-deep);
    margin-bottom: 8px;
    line-height: 1.35;
  }
  .cg-video-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.7;
  }

  /* ── Sidebar: related videos ── */
  .cg-sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
  }

  .cg-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cg-dark-deep);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cg-border-accent);
    display: inline-block;
    position: relative;
  }
  .cg-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--cg-primary);
  }

  /* related video item */
  .cg-related-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ede9;
    text-decoration: none !important;
    align-items: flex-start;
    transition: transform 0.2s;
  }
  .cg-related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .cg-related-item:hover {
    transform: translateX(3px);
  }

  .cg-related-thumb {
    position: relative;
    flex-shrink: 0;
    width: 90px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
  }
  .cg-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .cg-related-thumb .cg-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(214,83,77,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 10px;
  }
  .cg-related-item:hover .cg-play-overlay {
    opacity: 1;
  }
  .cg-play-overlay svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  }

  .cg-related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 68px;
  }
  .cg-related-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cg-dark-deep);
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cg-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cg-primary);
    text-decoration: none;
    background: rgba(214,83,77,0.07);
    border-radius: 20px;
    padding: 3px 10px 3px 6px;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
  }
  .cg-watch-btn:hover {
    background: var(--cg-primary);
    color: #fff;
  }
  .cg-watch-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }

  /* section label pill (matches Figma "Success Stories" badge style) */
  .cg-section-pill {
    display: inline-block;
    background: #fff;
    color: var(--cg-primary);
    border: 1.5px solid var(--cg-border-accent);
    border-radius: 20px;
    padding: 3px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  @media (max-width: 767.98px) {
    .cg-related-thumb {
      width: 76px;
      height: 58px;
    }
    .cg-video-info h4 {
      font-size: 1.05rem;
    }
  }
    .cg-success-section {
    background: #F7F4F1;
    min-height: 70vh;
    display: flex;
    align-items: center;
  }

  .cg-success-card {
    background: #fff;
    border-radius: 24px;
    padding: 56px 48px;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(214,83,77,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cg-success-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: #D6534D;
    border-radius: 24px 24px 0 0;
  }

  /* GIF only — no duplicate icon */
  .cg-success-card img.cg-success-gif {
    width: 130px;
    display: block;
    margin: 0 auto 24px;
  }

  .cg-success-card h1 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .cg-success-card p {
    font-size: 0.97rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .cg-success-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
  }
  .cg-success-divider span {
    display: block;
    border-radius: 50%;
    background: #D6534D;
  }
  .cg-success-divider span:nth-child(1) { width: 6px;  height: 6px;  opacity: 0.3; }
  .cg-success-divider span:nth-child(2) { width: 8px;  height: 8px;  opacity: 0.6; }
  .cg-success-divider span:nth-child(3) { width: 10px; height: 10px; opacity: 1;   }
  .cg-success-divider span:nth-child(4) { width: 8px;  height: 8px;  opacity: 0.6; }
  .cg-success-divider span:nth-child(5) { width: 6px;  height: 6px;  opacity: 0.3; }

  .cg-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D6534D;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(214,83,77,0.28);
  }
  .cg-home-btn:hover {
    background: #C04540;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214,83,77,0.35);
  }
  .cg-home-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    transition: transform 0.2s;
  }
  .cg-home-btn:hover svg {
    transform: translateX(3px);
  }

  @media (max-width: 575.98px) {
    .cg-success-card {
      padding: 40px 24px;
      border-radius: 18px;
    }
    .cg-success-card h1 {
      font-size: 1.35rem;
    }
  }
  .cg-casestudies-section {
    background: #F7F4F1;
  }

  /* Section heading */
  .cg-cs-pill {
    display: inline-block;
    background: #fff;
    color: #D6534D;
    border: 1.5px solid #D95650;
    border-radius: 20px;
    padding: 3px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .cg-cs-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #161616;
    line-height: 1.3;
    margin-bottom: 0;
  }

  /* Card */
  .cg-cs-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .cg-cs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(214,83,77,0.13);
  }

  /* Image wrapper */
  .cg-cs-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
    flex-shrink: 0;
  }
  .cg-cs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .cg-cs-card:hover .cg-cs-img-wrap img {
    transform: scale(1.04);
  }

  /* Red overlay on hover */
  .cg-cs-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(214,83,77,0.12);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .cg-cs-card:hover .cg-cs-img-wrap::after {
    opacity: 1;
  }

  /* Card body */
  .cg-cs-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 3px solid #F7F4F1;
  }

  .cg-cs-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cg-cs-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 47px;
  }

  /* Read more link */
  .cg-cs-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #D6534D;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    background: none;
    border: none;
    width: fit-content;
    transition: gap 0.2s, color 0.2s;
  }
  .cg-cs-readmore svg {
    width: 16px;
    height: 16px;
    stroke: #D6534D;
    transition: transform 0.2s;
  }
  .cg-cs-readmore:hover {
    color: #C04540;
    gap: 10px;
  }
  .cg-cs-readmore:hover svg {
    transform: translateX(3px);
    stroke: #C04540;
  }

  /* Empty state */
  .cg-cs-empty {
    background: #fff;
    border-radius: 18px;
    padding: 56px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  }
  .cg-cs-empty h3 {
    color: #161616;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .cg-cs-empty a {
    color: #D6534D;
    font-weight: 600;
    text-decoration: none;
  }
  .cg-cs-empty a:hover {
    text-decoration: underline;
  }

  /* Load more button */
  .cg-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #D6534D;
    border: 1px solid #D6534D;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
  }
  .cg-load-more-btn:hover {
    background: #D6534D;
    color: #fff;
    transform: translateY(-2px);
  }

  /* Pagination */
  .cg-pagination .page-link {
    border: 1.5px solid #e5e0da;
    color: #2D2D2D;
    border-radius: 8px !important;
    margin: 0 3px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .cg-pagination .page-item.active .page-link,
  .cg-pagination .page-link:hover {
    background: #D6534D;
    border-color: #D6534D;
    color: #fff;
  }

  @media (max-width: 767.98px) {
    .cg-cs-img-wrap {
      height: 200px;
    }
    .cg-cs-section-title {
      font-size: 1.5rem;
    }
  }
  
    .cg-cs-detail-section {
    background: #F7F4F1;
  }

  /* ── Hero image ── */
  .cg-cs-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
  }

  /* ── Page title ── */
  .cg-cs-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #161616;
    line-height: 1.35;
    margin-bottom: 0;
  }

  /* ── Accent divider ── */
  .cg-cs-accent-line {
    width: 52px;
    height: 4px;
    background: #D6534D;
    border-radius: 4px;
    margin: 14px 0 0;
  }

  /* ── Long description blocks ── */
  .cg-cs-desc-block {
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    font-size: 1rem;
    color: #444;
    line-height: 1.3;
  }
  .cg-cs-desc-block p:last-child {
    margin-bottom: 0;
  }

  /* Secondary / tertiary images */
  .cg-cs-secondary-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }

  /* ── "More from" section ── */
  .cg-cs-more-section {
    background: #fff;
  }

  .cg-cs-more-pill {
    display: inline-block;
    background: #F7F4F1;
    color: #D6534D;
    border: 1.5px solid #D95650;
    border-radius: 20px;
    padding: 3px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .cg-cs-more-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 0;
  }

  /* Related card — 3-col */
  .cg-cs-rel-card {
    background: #F7F4F1;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none !important;
  }
  .cg-cs-rel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(214,83,77,0.12);
  }

  .cg-cs-rel-img-wrap {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
  }
  .cg-cs-rel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
  }
  .cg-cs-rel-card:hover .cg-cs-rel-img-wrap img {
    transform: scale(1.05);
  }
  .cg-cs-rel-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(214,83,77,0.10);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .cg-cs-rel-card:hover .cg-cs-rel-img-wrap::after {
    opacity: 1;
  }

  .cg-cs-rel-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
  }

  .cg-cs-rel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cg-cs-rel-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
  }

  .cg-cs-rel-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #D6534D;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
    width: fit-content;
  }
  .cg-cs-rel-readmore svg {
    width: 15px;
    height: 15px;
    stroke: #D6534D;
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .cg-cs-rel-readmore:hover {
    gap: 10px;
    color: #C04540;
  }
  .cg-cs-rel-readmore:hover svg {
    transform: translateX(3px);
    stroke: #C04540;
  }

  @media (max-width: 767.98px) {
    .cg-cs-hero-img,
    .cg-cs-secondary-img {
      height: 240px;
      border-radius: 14px;
    }
    .cg-cs-page-title {
      font-size: 1.45rem;
    }
    .cg-cs-desc-block {
      padding: 22px 20px;
    }
  }
  
  
  .doctor-profile-card .col-md-5 > div {
    position: sticky;
    top: 20px;
}
/* ================= SERVICES SECTION ONLY ================= */

/* SECTION SHELL: red removed, padding moved to the inner bands */
section.primary_section.cg-services-section{
    /*background:transparent !important;*/
    padding-top:0 !important;
    padding-bottom:0 !important;
    overflow:visible !important;
}

/* TITLE BAND (beige) */
.cg-services-section .cg-services-titleband{
    background:#f8f3ee;              /* match .cg-breadcrumb-wrapper exactly */
    padding:30px 0 40px;
    text-align:center;
}

.cg-services-section .cg-services-titleband .doctors-heading{
    display:inline-block;
    margin:0;
    color:#1c1c1c;                   /* dark text as per Figma */
}

/* CARDS BAND (red) */
.cg-services-section .cg-services-body{
    background:#d8574f;
    padding:60px 0 70px;
}

/* RESPONSIVE */
@media (max-width:991px){
    .cg-services-section .cg-services-titleband{
        padding:25px 0 50px;
    }
    .cg-services-section .cg-services-body{
        padding:45px 0 55px;
    }
}

@media (max-width:575px){
    .cg-services-section .cg-services-titleband{
        padding:20px 0 35px;
    }
    .cg-services-section .cg-services-body{
        padding:35px 0 40px;
    }
}
  /*!
=========================================================================
 UNIVERSAL PREMIUM ANIMATION ENGINE  v6.1   (CSS part)
-------------------------------------------------------------------------
 REPLACES the whole old "v6.0 (CSS part)" block at the bottom of
 custom_style.css (from the "UNIVERSAL PREMIUM ANIMATION ENGINE" comment
 down to the end of the file).

 6.1 FIX: images no longer use clip-path. They fade + rise with a soft
 settle, so an image can never be left fully clipped / invisible.
=========================================================================
*/
:root{
  --pa-duration:1200ms;                        /* JS overwrites from config */
  --pa-distance:40px;                          /* JS overwrites from config */
  --pa-ease:cubic-bezier(.22,1,.36,1);
  --pa-ease-soft:cubic-bezier(.33,1,.68,1);
  --pa-ease-hover:cubic-bezier(.25,.8,.25,1);
  --pa-blur:6px;
  --pa-word-step:55ms;
  --pa-shadow-hover:
    0 24px 48px -24px rgba(16,42,67,.30),
    0 10px 20px -12px rgba(16,42,67,.16);
}

/* ---------------------------------------------------------
   0. Anti-flicker guard (optional)
--------------------------------------------------------- */
html.pa-guard body{ transition:opacity 600ms var(--pa-ease-soft); }
html.pa-guard:not(.pa-ready) body{
  opacity:0;
  animation:pa-guard-failsafe 0s linear 3s forwards;
}
@keyframes pa-guard-failsafe{ to{ opacity:1; } }

/* ---------------------------------------------------------
   1. Core reveal transition (dropped once "settled")
--------------------------------------------------------- */
html .pa-reveal:not(.pa-settled){
  transition:
    opacity    calc(var(--pa-duration) * .85) var(--pa-ease-soft) var(--pa-delay,0ms),
    translate  var(--pa-duration)             var(--pa-ease)      var(--pa-delay,0ms),
    scale      calc(var(--pa-duration) * 1.2) var(--pa-ease)      var(--pa-delay,0ms),
    rotate     calc(var(--pa-duration) * 1.1) var(--pa-ease)      var(--pa-delay,0ms),
    filter     calc(var(--pa-duration) * .9)  var(--pa-ease)      var(--pa-delay,0ms),
    transform        500ms var(--pa-ease-hover),
    box-shadow       500ms var(--pa-ease-hover),
    background-color 350ms ease,
    border-color     350ms ease,
    color            350ms ease !important;
}

html .pa-reveal.pa-instant,
html .pa-reveal.pa-instant pa-w{ transition:none !important; }

/* ---------------------------------------------------------
   2. Hidden states (visible state = the element's own styles)
--------------------------------------------------------- */
html .pa-reveal:not(.pa-visible):not(.pa-words){
  opacity:0;
  translate:0 var(--pa-distance);
}
html .pa-reveal.pa-sm:not(.pa-visible){ translate:0 calc(var(--pa-distance) * .6); }
html .pa-reveal.pa-down:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -.8); }
html .pa-reveal.pa-left:not(.pa-visible){ translate:calc(var(--pa-distance) * -1.5) 0; }
html .pa-reveal.pa-right:not(.pa-visible){ translate:calc(var(--pa-distance) * 1.5) 0; }
html .pa-reveal.pa-fade:not(.pa-visible){ translate:none; }
html .pa-reveal.pa-zoom:not(.pa-visible){ translate:none; scale:.9; }
html .pa-reveal.pa-pop:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .4);
  scale:.88;
}

/* Cards: stand up from a gentle 3D lean */
.pa-persp{ perspective:1400px; }
html .pa-reveal.pa-tilt{ transform-origin:50% 100%; }
html .pa-reveal.pa-tilt:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * 1.4);
  rotate:x 14deg;
  scale:.96;
}

/* Images ("curtain"): safe fade + rise, NO clip-path */
html .pa-reveal.pa-curtain:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .8);
  scale:.97;
}

/* Headings: focus-pull */
html .pa-reveal.pa-blur:not(.pa-visible){ filter:blur(var(--pa-blur)); }

/* Images inside cards / banners zoom out gently as they rise */
html .pa-reveal:not(.pa-visible) .pa-zoom-img,
html .pa-reveal.pa-zoom-img:not(.pa-visible){ scale:1.12; }

/* Scrolling back up: content comes DOWN into view instead */
html .pa-reveal.pa-from-top:not(.pa-visible):not(.pa-left):not(.pa-right):not(.pa-fade):not(.pa-zoom):not(.pa-words){
  translate:0 calc(var(--pa-distance) * -1);
}
html .pa-reveal.pa-tilt.pa-from-top{ transform-origin:50% 0; }
html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -1.4);
  rotate:x -14deg;
}
html .pa-reveal.pa-curtain.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -.8);
}

/* ---------------------------------------------------------
   3. Word-by-word headings
--------------------------------------------------------- */
html .pa-words pa-w{
  display:inline-block;
  transition:
    opacity   calc(var(--pa-duration) * .8) var(--pa-ease-soft),
    translate var(--pa-duration)            var(--pa-ease),
    filter    calc(var(--pa-duration) * .9) var(--pa-ease);
  transition-delay:calc(var(--pa-delay,0ms) + var(--i,0) * var(--pa-word-step));
}
html .pa-words:not(.pa-visible) pa-w{
  opacity:0;
  translate:0 .6em;
  filter:blur(var(--pa-blur));
}
html .pa-words.pa-from-top:not(.pa-visible) pa-w{ translate:0 -.6em; }

/* ---------------------------------------------------------
   4. Adopted template hints
--------------------------------------------------------- */
.pa-adopt [data-animate],
.pa-adopt .revealOnScroll,
.pa-adopt [data-aos],
.pa-adopt .wow{
  animation:none !important;
  visibility:visible !important;
}
.pa-adopt [data-animate]:not(.pa-reveal),
.pa-adopt .revealOnScroll:not(.pa-reveal),
.pa-adopt [data-aos]:not(.pa-reveal),
.pa-adopt .wow:not(.pa-reveal),
.pa-adopt [data-animate].pa-visible,
.pa-adopt .revealOnScroll.pa-visible,
.pa-adopt [data-aos].pa-visible,
.pa-adopt .wow.pa-visible{
  opacity:1 !important;
  filter:none !important;
}
.pa-adopt [data-animate]:not(.pa-lift):not(.pa-btn),
.pa-adopt .revealOnScroll:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-aos]:not(.pa-lift):not(.pa-btn),
.pa-adopt .wow:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-animate].pa-lift:not(:hover),
.pa-adopt .revealOnScroll.pa-lift:not(:hover),
.pa-adopt [data-aos].pa-lift:not(:hover),
.pa-adopt .wow.pa-lift:not(:hover),
.pa-adopt [data-animate].pa-btn:not(:hover),
.pa-adopt .revealOnScroll.pa-btn:not(:hover),
.pa-adopt [data-aos].pa-btn:not(:hover),
.pa-adopt .wow.pa-btn:not(:hover){
  transform:none !important;
}

/* ---------------------------------------------------------
   5. Header + hero slider captions
--------------------------------------------------------- */
.pa-header{ animation:pa-header-in 1100ms var(--pa-ease) both; }
@keyframes pa-header-in{
  from{ opacity:0; translate:0 -20px; }
  to  { opacity:1; translate:none; }
}

.pa-cap{ animation:pa-cap-in 1400ms var(--pa-ease) var(--pa-cap-delay,0ms) both; }
@keyframes pa-cap-in{
  from{ opacity:0; translate:0 34px; filter:blur(6px); }
  to  { opacity:1; translate:none; filter:blur(0); }
}
@keyframes pa-cap-in-m{
  from{ opacity:0; translate:0 18px; }
  to  { opacity:1; translate:none; }
}

/* ---------------------------------------------------------
   6. Statistics counters
--------------------------------------------------------- */
.pa-count{ font-variant-numeric:tabular-nums; }

/* ---------------------------------------------------------
   7. Hover polish (mouse / trackpad only)
--------------------------------------------------------- */
.pa-zoom-wrap{ overflow:hidden; isolation:isolate; }
.pa-zoom-img{
  transition:transform 1200ms var(--pa-ease), scale 1800ms var(--pa-ease);
}
.pa-arrow{
  display:inline-block;
  transition:transform 350ms var(--pa-ease-hover);
}

@media (hover:hover) and (pointer:fine){
  html .pa-lift:hover{ transform:translate3d(0,-8px,0); }
  html .pa-lift-shadow:hover{ box-shadow:var(--pa-shadow-hover); }

  .pa-zoom-wrap:hover .pa-zoom-img{ transform:scale(1.06); }

  html .pa-btn:hover{ transform:translate3d(0,-3px,0); }
  html .pa-btn:active{ transform:translate3d(0,0,0) scale(.97); }

  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:translate3d(5px,0,0); }
}

/* ---------------------------------------------------------
   8. Horizontal overflow protection
--------------------------------------------------------- */
@supports (overflow:clip){
  html.pa-clip-x body{ overflow-x:clip; }
}

/* ---------------------------------------------------------
   9. QA helper (?pa-debug)
--------------------------------------------------------- */
[data-pa-debug]{
  outline:1px dashed rgba(255,0,170,.7) !important;
  outline-offset:-1px;
}

/* ---------------------------------------------------------
   10. Mobile: shorter travel, no sideways motion, no blur
--------------------------------------------------------- */
@media (max-width:767px){
  :root{ --pa-distance:24px; --pa-word-step:40ms; }

  html .pa-reveal.pa-left:not(.pa-visible),
  html .pa-reveal.pa-right:not(.pa-visible){ translate:0 var(--pa-distance); }
  html .pa-reveal.pa-from-top.pa-left:not(.pa-visible),
  html .pa-reveal.pa-from-top.pa-right:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -1); }

  html .pa-reveal.pa-blur:not(.pa-visible){ filter:none; }
  html .pa-words:not(.pa-visible) pa-w{ filter:none; }

  html .pa-reveal.pa-tilt:not(.pa-visible){ rotate:x 8deg; }
  html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){ rotate:x -8deg; }

  .pa-cap{ animation-name:pa-cap-in-m; }
}

/* ---------------------------------------------------------
   11. Reduced motion: everything visible, nothing moves
--------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html .pa-reveal,
  html .pa-words pa-w,
  html .pa-reveal .pa-zoom-img{
    opacity:1 !important;
    translate:none !important;
    scale:none !important;
    rotate:none !important;
    filter:none !important;
    transition:none !important;
  }
  .pa-header,
  .pa-cap{ animation:none !important; }
  .pa-lift:hover,
  .pa-btn:hover,
  .pa-zoom-wrap:hover .pa-zoom-img,
  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:none !important; }
  html.pa-guard body{ opacity:1 !important; animation:none !important; }
}
  