/* =====================================================================
   MedElite — design layer
   Loaded AFTER custom_style.css (the inherited base) so every rule here wins.
   Measured from the Figma home page (696px-wide export of a 1440px frame,
   so 1 Figma px = 2.07 CSS px).
   ===================================================================== */

:root{
  --me-maroon:#4E0110;
  --me-maroon-2:#5f0a1b;
  --me-beige:#e6e2df;
  --me-pink:#fff6f9;
  --me-pink-bd:#f3e2e8;
  --me-ink:#111111;
  --me-text:#2b2b2b;
  --me-gray:#f5f5f5;
  --me-wrap:1350px;
  --me-sans:'Noto Sans',sans-serif;
  --me-serif:'Playfair Display',Georgia,serif;
}

body,
body.me-home{font-family:var(--me-sans);color:var(--me-text);background:#fff}
body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--me-sans)}

/* ---------- shared button ---------- */
.me-btn,
.me-home .banner_txt .btn{
  display:inline-block;background:#4E0110!important;color:#fff!important;
  border:0!important;border-radius:999px!important;
  height:38px;line-height:38px;padding:0 30px!important;
  font-size:13px!important;font-weight:500!important;letter-spacing:0;text-transform:none;
  text-decoration:none!important;box-shadow:none!important;transition:background .25s;
}
.me-btn:hover,.me-home .banner_txt .btn:hover{background:var(--me-maroon-2)!important;color:#fff!important}
.me-btn-sm{height:42px;line-height:42px;padding:0 28px!important;font-size:14px!important}
.me-btn-light{background:#fff!important;color:#4E0110!important}
.me-btn-light:hover{background:#f1e9ea!important;color:#4E0110!important}

/* =====================================================================
   HEADER — floating white pill
   ===================================================================== */
.top_menu{display:none!important}
nav.top-navbar-head{
  background:transparent!important;box-shadow:none!important;border:0!important;
  padding:16px 0 0!important;position:sticky;top:0;z-index:1030;
}
nav.top-navbar-head > .container,
nav.top-navbar-head > .container-fluid{
  background:#fff;border-radius:999px;max-width:1236px;width:calc(100% - 40px);
  min-height:78px;padding:0 20px 0 30px;
  box-shadow:0 6px 24px rgba(40,10,15,.08);
  display:flex;align-items:center;flex-wrap:nowrap;
}
nav.top-navbar-head .navbar-brand{
  display:flex;align-items:center;margin:0;padding:0;
  font-family:var(--me-serif);font-size:25px!important;font-weight:700!important;color:var(--me-ink)!important;
  white-space:nowrap;max-width:300px;overflow:hidden;text-overflow:ellipsis;
}
/* default brand mark: only rendered by the templates when no logo is uploaded in the dashboard */
.me-brand-icon{height:34px;width:auto;margin-right:10px;vertical-align:middle;display:inline-block}
.me-brand-name{vertical-align:middle}
.me-footer-logo .me-brand-icon{height:38px;filter:invert(1) hue-rotate(180deg)}
nav.top-navbar-head .navbar-brand img{max-height:46px;width:auto}
nav.top-navbar-head .navbar-collapse{justify-content:flex-end}
nav.top-navbar-head .navbar-nav{align-items:center;font-weight:500}
nav.top-navbar-head .nav-item{padding:0 13px!important}
nav.top-navbar-head .nav-link{
  font-size:15px;font-weight:500;color:var(--me-ink)!important;padding:8px 0!important;
  background:transparent!important;border:0!important;
}
nav.top-navbar-head .nav-link.active,
nav.top-navbar-head .nav-link:hover{font-weight:700;color:var(--me-ink)!important}
nav.top-navbar-head .nav-link::after{display:none!important}
nav.top-navbar-head .dropdown-toggle::after{display:inline-block!important;border-top-color:var(--me-ink);margin-left:6px;vertical-align:.2em}
nav.top-navbar-head .nav-cta-item{padding:0 0 0 22px!important}
nav.top-navbar-head .nav-cta-item .btn{color:#fff!important}
nav.top-navbar-head .dropdown-menu{
  border:0;border-radius:6px;padding:8px 0;margin-top:14px;min-width:190px;
  box-shadow:0 10px 30px rgba(40,10,15,.14);
}
nav.top-navbar-head .dropdown-item{font-size:13px;font-weight:600;padding:9px 20px;color:var(--me-ink)}
nav.top-navbar-head .dropdown-item:hover,
nav.top-navbar-head .dropdown-item.active{background:var(--me-pink);color:#4E0110}
nav.top-navbar-head .navbar-toggler{border:0;outline:0;padding:6px}

/* =====================================================================
   HERO — beige panel + maroon band
   ===================================================================== */
.me-home #demo{
  background:var(--me-beige);margin-top:-94px;padding-top:0;position:relative;overflow:hidden;
}
.me-home #demo .carousel-inner{overflow:hidden}
.me-home #demo .carousel-item{
  position:relative;isolation:isolate;height:683px;background:var(--me-beige);
}
.me-home #demo .carousel-item::before{pointer-events:none;z-index:-2}
/* maroon band with the team photo on its left */
.me-home #demo .carousel-item::after{
  content:"";position:absolute;left:0;right:0;top:410px;bottom:0;z-index:-1;
  background:url("../img/index_aboutimg.png") left center/min(459px,calc(50% - 250px)) 100% no-repeat,#4E0110;
}
.me-home #demo .banner_txt{position:static!important;transform:none!important;left:auto!important;top:auto!important;padding:0;margin:0;background:none;width:auto;max-width:none}
.me-home #demo .banner_txt h1{
  position:absolute;z-index:3;left:calc(50% - 617px);top:124px;width:620px;margin:0;
  font-family:var(--me-sans);font-size:52px;line-height:68px;font-weight:700;color:var(--me-ink);
  letter-spacing:0;text-align:left;
}
.me-home #demo .banner_txt p{
  position:absolute;z-index:3;left:calc(50% - 230px);top:492px;width:780px;margin:0;
  font-size:17px!important;line-height:24px;font-weight:400;color:#f1dfe3!important;text-align:left;
}
.me-home #demo .banner_txt .buttons{
  position:absolute;z-index:3;left:calc(50% - 617px);top:350px;margin:0;
}
.me-home #demo .banner_slider{
  position:absolute;z-index:2;right:calc(50% - 672px);top:112px;width:440px;height:390px;margin:0;
}
.me-home #demo .banner_slider img{
  width:100%;height:100%;object-fit:contain;object-position:right bottom;
}
.me-home #demo .carousel-indicators{z-index:5;bottom:14px}

/* =====================================================================
   shared section scaffolding (home)
   ===================================================================== */
.me-home .me-sec-title{
  text-align:center;font-size:31px;line-height:1.25;font-weight:700;color:var(--me-ink)!important;
  padding:0!important;margin:0 0 34px!important;
}
.me-home .me-viewall{text-align:center;margin-top:30px}
.me-home .me-viewall a{font-size:13px;font-weight:500;color:var(--me-ink);text-decoration:underline}


/* =====================================================================
   ABOUT
   ===================================================================== */
.me-home .about_homepage{padding:0!important;background:#fff!important;overflow:hidden}
.me-home .about_homepage .sideimg{display:none}
.me-home .me-about-wrap{max-width:none!important;width:100%;padding:0!important}
.me-home .me-about-grid{
  display:grid;grid-template-columns:240px minmax(0,1fr) 515px;column-gap:24px;
  margin:0!important;padding-right:41px;min-height:416px;align-items:stretch;
}
.me-home .me-stats{
  background:#4E0110;color:#fff;padding:46px 20px 40px 46px;
  display:flex;flex-direction:column;justify-content:flex-start;
}
.me-home .me-stats-title,
.me-home .me-stats > p{display:none}
.me-home .me-stats-list{display:flex;flex-direction:column}
.me-home .me-stat{margin-bottom:30px}
.me-home .me-stat:last-child{margin-bottom:0}
.me-home .me-stat-value{
  font-family:var(--me-serif);font-size:44px;line-height:1.1;font-weight:400;color:#fff!important;margin:0 0 4px;
}
.me-home .me-stat-label{font-size:16px;line-height:1.3;font-weight:400;color:#fff;margin:0}
.me-home .me-about-text{display:flex;align-items:center;padding:36px 0}
.me-home .me-about-text > div{width:100%}
.me-home .me-about-text h3{
  font-size:29px;line-height:1.2;font-weight:700;color:var(--me-ink)!important;margin:0 0 22px;
}
.me-home .me-about-text h2,
.me-home .me-about-text .text-lightt{display:none}
.me-home .me-about-text .mb-30{
  font-size:14.5px!important;line-height:1.55;color:var(--me-ink);margin-bottom:22px!important;
}
.me-home .me-about-text .mb-30 p{margin:0 0 12px;font-size:14.5px;line-height:1.55}
.me-home .me-about-text .mb-30 ul{list-style:none;padding:0;margin:0 0 4px;columns:2;column-gap:28px}
.me-home .me-about-text .mb-30 li{display:flex;align-items:center;font-size:12.5px;line-height:1.4;margin:0 0 8px;break-inside:avoid}
.me-home .me-about-text .mb-30 li img{width:15px!important;height:15px;margin:0 8px 0 0!important}
.me-home .me-about-img{display:flex;align-items:center;justify-content:center}
.me-home .me-about-img > div{width:100%}
.me-home .me-about-img img{
  width:100%;height:371px;object-fit:cover;border:0!important;border-radius:14px!important;display:block;
}

/* =====================================================================
   DEPARTMENTS
   ===================================================================== */
.me-home .me-departments{background:var(--me-beige)!important;padding:56px 0 68px!important;display:block!important}
.me-home .me-departments > div{max-width:var(--me-wrap);width:100%;padding:0 45px!important;margin:0 auto}
.me-home .me-departments .col-md-12{padding:0}
.me-home .me-departments h3{
  font-size:31px;line-height:1.25;font-weight:700;color:var(--me-ink)!important;margin:0 0 22px!important;padding:0!important;text-align:left;
}
.me-home .me-departments h3 span.float-right{float:right;font-size:14px;font-weight:500;padding:0!important}.me-home .me-departments h3 span.float-right a{color:var(--me-ink)!important;text-decoration:underline}
.me-home .me-dept-grid{display:grid;grid-template-columns:432px minmax(0,1fr);column-gap:13px;align-items:stretch}
.me-home .me-dept-visual img{width:100%;height:492px;object-fit:cover;display:block;border-radius:3px}
.me-home .me-dept-list{min-width:0}
.me-home .me-dept-list .owl-wrapper-outer{overflow:hidden}
.me-home .me-dept-card{
  display:flex;flex-direction:column;align-items:flex-start;height:492px;padding:34px 12px 0;
}
.me-home .me-dept-title{margin:0 0 14px;font-size:23px;line-height:1.2;font-weight:700}
.me-home .me-dept-title a{color:var(--me-ink)!important;text-decoration:none}
.me-home .me-dept-text{
  font-size:14.5px;line-height:1.5;color:var(--me-ink)!important;margin:0 0 22px;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.me-home .me-dept-img{margin-top:auto;width:100%}
.me-home .me-dept-img img{width:100%;height:230px;object-fit:cover;display:block;border:0!important;border-radius:3px}

/* =====================================================================
   BLOGS
   ===================================================================== */
.me-home .blog_homepage{background:#fff!important;padding:72px 0 28px!important}
.me-home .blog_homepage > div{max-width:var(--me-wrap);padding:0 45px!important;margin:0 auto}
.me-home .blog_homepage .owl-wrapper-outer{margin:0 -14px}
.me-home .blog_homepage .blog{padding:0 14px!important}
.me-home .blog .blog-img{overflow:hidden}
.me-home .blog .blog-img img{height:232px!important;width:100%;object-fit:cover;border:0!important;border-radius:0!important;display:block}
.me-home .blog .bg-white{min-height:0!important;background:#fff;padding:0!important}
.me-home .blog .bg-white > p.font-weight-bold{
  font-size:13.5px!important;line-height:1.35;font-weight:700;color:var(--me-ink);
  margin:12px 0 10px!important;padding:0!important;min-height:38px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.me-home .blog .bg-white > p.overelipsis2{display:none}
.me-card-bar{
  background:#4E0110;color:#fff;height:40px;padding:0 12px;
  display:flex;align-items:center;justify-content:space-between;font-size:11.5px;
}
.me-card-bar .me-date{text-transform:lowercase;color:#fff}
.me-card-bar .me-date i{margin-right:5px}
.me-card-bar a{color:#fff!important;text-decoration:none;font-size:11.5px;font-weight:500}
.me-card-bar a i{margin-left:4px}

/* =====================================================================
   NEWS
   ===================================================================== */
.me-home .news_homepage{background:#fff!important;padding:28px 0 40px!important}
.me-home .news_homepage > div{max-width:var(--me-wrap);padding:0 45px!important;margin:0 auto}
.me-home .news_homepage .owl-wrapper-outer{margin:0 -15px}
.me-home .news_homepage .owl-item > div{padding:0 15px}
.me-home .news_homepage .post{
  display:flex;align-items:stretch;background:var(--me-pink);border:1px solid var(--me-pink-bd);
  border-radius:4px;padding:6px!important;height:186px;box-shadow:0 2px 10px rgba(78,1,16,.04);
}
.me-home .news_homepage .post-img{flex:0 0 170px;width:170px}
.me-home .news_homepage .post-img img{
  width:170px!important;height:172px!important;object-fit:cover;border:0!important;border-radius:3px;display:block;
}
.me-home .news_homepage .post > .p-3{
  flex:1;min-height:0!important;background:transparent!important;border:0!important;
  padding:2px 6px 0 14px!important;display:flex;flex-direction:column;position:relative;
}
.me-home .news_homepage .me-date{font-size:11.5px;font-weight:500;color:var(--me-ink);margin:0 0 8px;text-transform:lowercase}
.me-home .news_homepage .me-date i{margin-right:5px}
.me-home .news_homepage .newstitle{
  font-size:15.5px!important;line-height:1.3;font-weight:700;color:var(--me-ink);min-height:0!important;margin:0 0 6px;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.me-home .news_homepage .me-readmore{
  margin-top:auto;align-self:flex-end;font-size:11.5px;font-weight:500;color:var(--me-ink)!important;
  text-decoration:none;padding:0 0 6px;
}
.me-home .news_homepage .me-readmore i{margin-left:4px}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.me-home .testimonials_homepage{background:#fff!important;padding:20px 0 40px!important}
.me-home .testimonials_homepage > div{
  max-width:var(--me-wrap);margin:0 auto;padding:30px 19px 36px!important;
  background:var(--me-beige);border-radius:6px;position:relative;
}
.me-home .me-quote{
  position:absolute;left:33px;top:2px;font-family:var(--me-serif);font-size:130px;line-height:1;
  font-weight:700;color:#4E0110;pointer-events:none;
}
.me-home .testimonials_homepage .me-sec-title{margin-bottom:26px!important}
.me-home #testimonials_slider{margin:0 -14.5px}
.me-home #testimonials_slider .owl-item{padding:0 14.5px}
.me-home .me-testi-card,
.me-home #testimonials_slider .container{
  max-width:none!important;width:auto!important;padding:0!important;margin:0!important;
}
.me-home .me-testi-card{background:#fff;height:244px;padding:22px 20px 0!important;text-align:center;overflow:hidden}
.me-home .me-testi-card .row{margin:0}
.me-home .me-testi-card .col-md-12{padding:0}
.me-home .me-testi-card .position-relative{position:static!important}
.me-home .me-testi-card .testimoimg{
  position:static!important;display:block;width:62px!important;height:62px!important;
  border-radius:50%!important;object-fit:cover;margin:0 auto 14px!important;border:2px solid #fff!important;
  box-shadow:0 0 0 1px #e3e3e3;
}
.me-home .me-testi-card .position-relative > p{display:block;font-size:13px;line-height:1.3;font-weight:600;color:var(--me-ink)!important;margin:0 0 8px!important;padding:0!important}
.me-home .me-testi-card .peoplereview{
  color:#555!important;font-size:13.5px;line-height:1.5;font-weight:400;padding:0!important;margin:0;
  display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;
}
.me-home #testimonials_slider .owl-controls,
.me-home #testimonials_slider .owl-pagination{display:none!important}
.me-home .me-testi-nav{display:flex;justify-content:center;gap:16px;margin-top:22px}
.me-home .me-testi-nav button{
  width:38px;height:38px;border-radius:50%;background:transparent;padding:0;line-height:34px;
  font-size:22px;cursor:pointer;border:2px solid var(--me-ink);color:var(--me-ink);outline:0;
}
.me-home .me-testi-nav .me-testi-prev{border-color:#9a9a9a;color:#9a9a9a}

/* =====================================================================
   BOOK-APPOINTMENT STRIP (footer.php) — maroon call-to-action card
   ===================================================================== */
section.bookappfooter{background:#fff!important;padding:60px 0 66px!important}
section.bookappfooter > div{
  max-width:var(--me-wrap);width:calc(100% - 40px);margin:0 auto;padding:0 20px!important;
  background:#4E0110;border-radius:14px;min-height:234px;
  display:flex;align-items:center;justify-content:center;
}
section.bookappfooter .row{width:100%;margin:0;justify-content:center}
section.bookappfooter .col-md-4{display:none}
section.bookappfooter .col-md-8{flex:0 0 100%;max-width:100%;text-align:center;padding:0}
section.bookappfooter p.fs-65{
  font-size:26px!important;line-height:1.35!important;font-weight:700;color:#fff!important;
  max-width:610px;margin:0 auto 22px!important;
}
section.bookappfooter .me-btn{box-shadow:none}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer.me-footer{background:var(--me-gray)!important;color:var(--me-ink);padding:0!important;position:relative;overflow:hidden}
footer.me-footer .ft-shoot{display:none!important}
footer.me-footer .me-footer-main{max-width:1236px;padding:34px 0 38px!important}
.me-footer-grid{display:grid;grid-template-columns:243px 327px 353px 312px;align-items:start}
.me-footer-title{font-size:15.5px;line-height:1.3;font-weight:700;color:var(--me-ink)!important;margin:0 0 14px}
.me-footer-list{list-style:none;margin:0;padding:0}
.me-footer-list li{margin:0 0 9px;line-height:1.3}
.me-footer-list a{font-size:13.5px;font-weight:400;color:var(--me-ink)!important;text-decoration:none}
.me-footer-list a:hover{text-decoration:underline}
.me-footer-contact{background:#e9e9e9;border-radius:8px;padding:20px 24px;margin-top:2px}
.me-ci-row{display:flex;align-items:flex-start;font-size:13.5px;line-height:1.45;margin:0 0 16px;color:var(--me-ink)}
.me-ci-row:last-child{margin-bottom:0}
.me-ci-row i{flex:0 0 22px;font-size:17px;margin:2px 14px 0 0;color:var(--me-ink)}
.me-ci-row a,.me-ci-row span{color:var(--me-ink)!important;text-decoration:none;word-break:break-word}
.me-footer-bar{background:#4E0110}
.me-footer-bar-in{
  max-width:1236px;min-height:110px;padding:0!important;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:24px;
}
.me-footer-logo{
  display:flex;align-items:center;font-family:var(--me-serif);font-size:28px;font-weight:700;
  color:#fff!important;text-decoration:none;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.me-footer-logo img{max-height:50px;width:auto}
.me-copy{font-size:11.5px;color:#fff;text-align:center}
.me-copy a,.me-copy strong{color:#fff!important;font-weight:400}
.me-footer-social{list-style:none;margin:0;padding:0;display:flex;justify-content:flex-end;gap:14px}
.me-footer-social a{
  width:40px;height:40px;border-radius:50%;background:#fff;color:#4E0110!important;
  display:flex;align-items:center;justify-content:center;font-size:15px;text-decoration:none;
}
#myBtn{z-index:1040}

/* =====================================================================
   Neutralise the inherited scroll-reveal pre-hide states on the home
   sections the new layout re-arranges (content must always be visible)
   ===================================================================== */
.me-home [class*="-js"] .me-stat,
.me-home [class*="-js"] .me-dept-card,
.me-home [class*="-js"] .blog,
.me-home [class*="-js"] .post,
.me-home [class*="-js"] .me-testi-card,
.me-home [class*="-js"] .me-about-text > div,
.me-home [class*="-js"] .me-about-img img{
  opacity:1!important;transform:none!important;animation:none!important;filter:none!important;clip-path:none!important;visibility:visible!important;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1199.98px){
  .me-home .me-about-grid{grid-template-columns:220px minmax(0,1fr) 380px}
  .me-footer-grid{grid-template-columns:1fr 1fr 1fr 1.2fr;column-gap:24px}
  .me-home #demo .banner_txt h1{font-size:44px;line-height:58px}
}
@media (max-width:991.98px){
  nav.top-navbar-head > .container,
  nav.top-navbar-head > .container-fluid{border-radius:28px;flex-wrap:wrap;padding:10px 18px;min-height:64px}
  nav.top-navbar-head .navbar-collapse{padding:10px 0 14px}
  nav.top-navbar-head .navbar-nav{align-items:flex-start}
  nav.top-navbar-head .nav-item{padding:4px 0!important}
  nav.top-navbar-head .nav-cta-item{padding:10px 0 0!important}

  .me-home #demo{margin-top:-80px}
  .me-home #demo .carousel-item{height:auto;padding:110px 20px 0}
  .me-home #demo .carousel-item::after{display:none}
  .me-home #demo .banner_txt h1,
  .me-home #demo .banner_txt p,
  .me-home #demo .banner_txt .buttons{position:static;width:auto}
  .me-home #demo .banner_txt h1{font-size:34px;line-height:1.25;margin-bottom:18px}
  .me-home #demo .banner_txt .buttons{margin-bottom:26px}
  .me-home #demo .banner_txt p{
    background:#4E0110;color:#f1dfe3!important;padding:22px 20px;margin:0 -20px;font-size:15px!important;
  }
  .me-home #demo .banner_slider{position:static;width:auto;height:auto;margin:0 -20px}
  .me-home #demo .banner_slider img{height:auto;object-fit:cover}

  .me-home .me-about-grid{grid-template-columns:1fr;padding:0 0 30px}
  .me-home .me-stats{padding:30px 24px}
  .me-home .me-stats-list{flex-direction:row;flex-wrap:wrap;gap:24px 40px}
  .me-home .me-stat{margin:0}
  .me-home .me-about-text{padding:28px 20px 10px}
  .me-home .me-about-img{padding:0 20px}
  .me-home .me-about-img img{height:auto;max-height:340px}

  .me-home .me-dept-grid{grid-template-columns:1fr;row-gap:20px}
  .me-home .me-dept-visual img{height:260px}
  .me-home .me-dept-card{height:auto;padding-top:14px}
  .me-home .me-dept-img{margin-top:18px}
  .me-home .me-departments > div,
  .me-home .blog_homepage > div,
  .me-home .news_homepage > div{padding:0 20px!important}
  .me-home .news_homepage .post{height:auto}
  .me-home .testimonials_homepage > div{padding:26px 14px 30px!important;margin:0 20px}
  .me-footer-grid{grid-template-columns:1fr 1fr;row-gap:28px}
  .me-footer-bar-in{grid-template-columns:1fr;row-gap:14px;padding:22px 0!important;justify-items:center}
  .me-footer-social{justify-content:center}
  footer.me-footer .me-footer-main{padding:30px 20px!important}
}
@media (max-width:575.98px){
  .me-footer-grid{grid-template-columns:1fr}
  .me-home .me-sec-title,.me-home .me-departments h3{font-size:26px}
  section.bookappfooter p.fs-65{font-size:21px!important}
}

/* the design shows three headline figures */

/* =====================================================================
   FIDELITY PASS — spacing & type sizes measured against the Figma frame
   ===================================================================== */
nav.top-navbar-head .nav-link{font-size:16px}
nav.top-navbar-head .nav-cta-item .btn{font-size:15px!important}
.me-btn,.me-home .banner_txt .btn{font-size:14.5px!important;padding:0 20px!important;min-width:172px;text-align:center}
.me-btn-sm{min-width:172px}

/* About */
.me-home .me-stat-label{font-size:18px}
.me-home .me-about-text .mb-30,
.me-home .me-about-text .mb-30 p{font-size:15px!important;line-height:22px}
.me-home .me-about-text .mb-30 li{font-size:15px}
.me-home .me-about-text .me-btn{min-width:118px;padding:0 24px!important;height:41px;line-height:41px}

/* Departments */
.me-home .me-departments{padding:41px 0 37px!important}
.me-home .me-departments > div{padding:0!important}
.me-home .me-dept-card{padding-top:42px}
.me-home .me-dept-title{font-size:23px}
.me-home .me-dept-text{font-size:14.5px;line-height:22.5px;-webkit-line-clamp:3}
.me-home .me-dept-card .me-btn{min-width:159px;height:35px;line-height:35px;font-size:14px!important}

/* Blogs */
.me-home .blog_homepage{padding:91px 0 40px!important}
.me-home .blog_homepage > div,
.me-home .news_homepage > div{padding:0!important}
.me-home .me-sec-title{margin-bottom:26px!important}
.me-home .blog .bg-white > p.font-weight-bold{
  font-size:17px!important;line-height:25px;min-height:50px;margin:14px 0 11px!important;
}
.me-card-bar{font-size:13px}
.me-card-bar a{font-size:13px}
.me-home .me-viewall{margin-top:30px}
.me-home .me-viewall a{font-size:14px}

/* News */
.me-home .news_homepage{padding:47px 0 40px!important}
.me-home .news_homepage .newstitle{font-size:17px!important;line-height:25px}
.me-home .news_homepage .me-date{font-size:13px}
.me-home .news_homepage .me-readmore{font-size:13px}

/* Testimonials */
.me-home .testimonials_homepage{padding:48px 0 31px!important}
.me-home .testimonials_homepage > div{padding:45px 19px 104px!important}
.me-home .testimonials_homepage .me-sec-title{margin-bottom:28px!important}
.me-home .me-testi-nav{margin-top:31px}
.me-home .me-testi-card .peoplereview{font-size:14px;line-height:21px}

/* CTA strip */
section.bookappfooter{padding:0 0 94px!important}

/* Footer */
footer.me-footer .me-footer-main{padding:17px 0 19px!important}
.me-footer-title{font-size:17px;margin:0 0 16px}
.me-footer-list li{margin:0 0 8px}
.me-footer-list a{font-size:16px;line-height:21px}
.me-footer-contact{margin-top:0;padding:26px 24px 24px}
.me-ci-row{font-size:16px;margin-bottom:21px}
.me-copy{font-size:14px}
.me-footer-logo{font-size:30px}

/* owl wrappers are width:100%, so the gutter compensation needs explicit widths */
.me-home .blog_homepage .owl-wrapper-outer{width:calc(100% + 28px);margin:0 -14px}
.me-home .news_homepage .owl-wrapper-outer{width:calc(100% + 30px);margin:0 -15px}
.me-home #testimonials_slider{width:calc(100% + 29px);margin:0 -14.5px}
.me-home .news_homepage .owl-item > div{padding:0}
.me-home .news_homepage .post{margin:0 15px}
.me-home .blog_homepage .blog{padding:0 14px!important}
.me-ci-row p{color:inherit!important;margin:0!important;font-size:inherit!important;line-height:inherit}

@media (max-width:991.98px){
  nav.top-navbar-head .navbar-toggler{margin-left:auto}
  nav.top-navbar-head .navbar-brand{font-size:21px!important;max-width:calc(100% - 60px)}
  nav.top-navbar-head .navbar-collapse{flex-basis:100%}
  .me-home #demo .banner_txt{display:flex!important;flex-direction:column}
  .me-home #demo .banner_txt h1{order:1}
  .me-home #demo .banner_txt .buttons{order:2}
  .me-home #demo .banner_txt p{order:3}
  .me-footer-bar-in{padding:22px 20px!important}
  .me-footer-logo{max-width:100%}
}

/* =====================================================================
   FLUID RANGE (992–1440px): the design is 1440 wide; keep it centred and
   never let anything push the page wider than the viewport
   ===================================================================== */
html,body.me-home{overflow-x:clip}
.me-home .blog_homepage,
.me-home .news_homepage,
.me-home .testimonials_homepage,
.me-home .me-departments,
.me-home .about_homepage{overflow:hidden}

.me-home .me-departments > div,
.me-home .blog_homepage > div,
.me-home .news_homepage > div,
.me-home .testimonials_homepage > div{
  width:calc(100% - 90px)!important;max-width:var(--me-wrap);margin-left:auto!important;margin-right:auto!important;
}
.me-home .testimonials_homepage > div{padding-left:19px!important;padding-right:19px!important}
section.bookappfooter > div{width:calc(100% - 90px);max-width:var(--me-wrap)}

.me-home #demo .banner_txt h1,
.me-home #demo .banner_txt .buttons{left:max(24px,calc(50% - 617px))}
.me-home #demo .banner_txt p{left:max(24px,calc(50% - 230px));width:min(780px,calc(100% - max(24px,calc(50% - 230px)) - 40px))}
.me-home #demo .banner_slider{right:max(0px,calc(50% - 672px));height:375px}
.me-home .me-about-grid{grid-template-columns:240px minmax(0,1fr) minmax(320px,515px)}
nav.top-navbar-head .navbar-brand{display:inline-block;max-width:360px}
.me-footer-logo{display:inline-block;max-width:360px}

@media (max-width:1199.98px) and (min-width:992px){
  .me-home #demo .banner_txt h1{width:500px;font-size:44px;line-height:58px}
  .me-home #demo .banner_slider{width:380px}
  .me-home .me-about-grid{grid-template-columns:220px minmax(0,1fr) 340px}
  .me-footer-grid{grid-template-columns:1fr 1fr 1fr 1.1fr;column-gap:24px}
  .me-footer-main{padding-left:24px!important;padding-right:24px!important}
}
@media (max-width:991.98px){
  .me-home .me-departments > div,
  .me-home .blog_homepage > div,
  .me-home .news_homepage > div,
  .me-home .testimonials_homepage > div,
  section.bookappfooter > div{width:calc(100% - 40px)!important}
  .me-home #demo .banner_txt h1,.me-home #demo .banner_txt .buttons,.me-home #demo .banner_txt p{left:auto;width:auto}
}

/* nav never wraps its labels; tighten spacing just above the mobile breakpoint */
nav.top-navbar-head .nav-link,
nav.top-navbar-head .nav-cta-item .btn{white-space:nowrap}
@media (min-width:992px) and (max-width:1199.98px){
  nav.top-navbar-head .nav-item{padding:0 8px!important}
  nav.top-navbar-head .nav-link{font-size:15px}
  nav.top-navbar-head .nav-cta-item{padding-left:12px!important}
  nav.top-navbar-head .navbar-brand{max-width:230px}
}

/* long footer menus flow into two columns instead of one tall list */
.me-footer-list-2col{columns:2;column-gap:24px}
.me-footer-list-2col li{break-inside:avoid}
.me-home #demo .banner_txt .buttons .btn{margin-right:12px}
.me-home .me-treat-viewall{margin:-6px 0 0;padding-bottom:10px}
