/* =====================================================================
   MedElite — redesign pass
   Awards, Vision & Mission, Treatment Approach cards, testimonial text,
   header name. Loaded last so these rules win.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Testimonials (home): the review text is clamped, never spills out
   --------------------------------------------------------------------- */
.me-home .me-testi-card .peoplereview{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:5!important;
  overflow:hidden!important;text-overflow:ellipsis;max-height:105px;
}
.me-home .me-testi-card .position-relative > p{
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;
}
@media (max-width:991.98px){
  .me-home .me-testi-card .peoplereview{-webkit-line-clamp:6!important;max-height:126px}
}

/* ---------------------------------------------------------------------
   Header name: no ellipsis on laptops, ellipsis only on phones/tablets
   --------------------------------------------------------------------- */
@media (min-width:992px){
  nav.top-navbar-head .navbar-brand{max-width:520px!important;flex:0 1 auto!important}
  nav.top-navbar-head .navbar-brand .me-brand-name{
    overflow:visible!important;text-overflow:clip!important;white-space:normal!important;line-height:1.15;max-width:none;
  }
  nav.top-navbar-head .navbar-collapse{min-width:0}
}

/* ---------------------------------------------------------------------
   AWARDS — trophy card: image with a year ribbon, accent title, labelled facts
   --------------------------------------------------------------------- */
.me-awards .card-grid > .col-md-4{display:flex}
.me-awards .awards-card,
.awards_homepage .post{
  position:relative;display:flex;flex-direction:column;width:100%;height:100%;
  background:#fff!important;border:1px solid #eadde1!important;border-radius:16px!important;overflow:hidden;
  box-shadow:0 6px 22px rgba(78,1,16,.07)!important;padding:0!important;transition:box-shadow .25s ease,transform .25s ease;
}
.me-awards .awards-card:hover,
.awards_homepage .post:hover{box-shadow:0 14px 34px rgba(78,1,16,.16)!important;transform:translateY(-4px)}
.me-awards .awards-card .post-img,
.awards_homepage .post .post-img{position:relative;margin:0;overflow:hidden}
.me-awards .awards-card .post-img img,
.awards_homepage .post .post-img img{width:100%!important;height:230px!important;object-fit:cover;display:block;border:0!important;border-radius:0!important}
.me-awards .awards-card .post-img::after,
.awards_homepage .post .post-img::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:80px;
  background:linear-gradient(to top,rgba(78,1,16,.55),rgba(78,1,16,0));pointer-events:none;
}
/* year ribbon */
.me-awards .awards-card .card-text > p.overelipsis1,
.awards_homepage .post > .p-3 > p.fw-600:first-child{
  position:absolute;top:14px;left:14px;z-index:3;margin:0!important;min-height:0!important;
  background:#4E0110;color:#fff!important;border-radius:999px;padding:6px 14px!important;
  font-size:13px!important;font-weight:600!important;line-height:1.2;letter-spacing:.02em;
}
.me-awards .awards-card .card-text > p.overelipsis1 span,
.awards_homepage .post > .p-3 > p.fw-600:first-child span{color:#fff!important}
.me-awards .awards-card .card-text > p.overelipsis1 span:first-child{display:none}
.me-awards .awards-card .card-text > p.overelipsis1::before,
.awards_homepage .post > .p-3 > p.fw-600:first-child::before{content:"\f091";font-family:FontAwesome;margin-right:7px;font-weight:400}
/* body */
.me-awards .awards-card .card-text,
.awards_homepage .post > .p-3{
  flex:1;display:flex;flex-direction:column;border:0!important;background:transparent!important;min-height:0!important;
  padding:20px 22px 22px!important;
}
.me-awards .awards-card .card-text h3,
.awards_homepage .post .awardtitle{
  position:relative;font-size:18px!important;line-height:26px!important;font-weight:700!important;color:var(--me-ink)!important;
  margin:0 0 14px!important;padding:0 0 12px!important;min-height:0!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
.me-awards .awards-card .card-text h3::after,
.awards_homepage .post .awardtitle::after{content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;border-radius:3px;background:#4E0110}
.me-awards .awards-card .card-text > p:not(.overelipsis1){
  margin:0 0 10px!important;font-size:14px!important;line-height:20px;color:var(--me-ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
.me-awards .awards-card .card-text > p:not(.overelipsis1) > span:first-child{
  display:block;font-size:11px;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;color:#4E0110!important;margin-bottom:2px;
}
.me-awards .awards-card .peoplereview{
  margin-top:auto;font-size:14px!important;line-height:21px;color:var(--me-text)!important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
.me-awards .awards-card .peoplereview *{font-size:inherit!important;line-height:inherit!important;color:inherit!important;margin:0}
.awards_homepage .post .btn.btnthird{
  align-self:flex-start;margin-top:auto;background:transparent!important;color:#4E0110!important;border:1.5px solid #4E0110!important;
  border-radius:999px!important;height:38px;line-height:35px;padding:0 22px!important;font-size:13px;font-weight:600!important;box-shadow:none!important;
}
.awards_homepage .post .btn.btnthird:hover{background:#4E0110!important;color:#fff!important}

/* ---------------------------------------------------------------------
   VISION & MISSION — maroon feature cards, image and text alternate sides
   --------------------------------------------------------------------- */
.me-vm-page section.primary_section > div:first-child > .col-md-12,
.me-home section.vm .owl-item .col-md-12{
  position:relative;background:#4E0110!important;border:0!important;border-radius:20px;overflow:hidden;
  padding:44px 48px!important;margin:0 0 30px!important;max-width:none;flex:none;width:100%;
  box-shadow:0 14px 34px rgba(78,1,16,.18);
}
.me-vm-page section.primary_section > div:first-child > .col-md-12::before,
.me-home section.vm .owl-item .col-md-12::before{
  content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;
  background:rgba(255,255,255,.06);pointer-events:none;
}
.me-vm-page section.primary_section .row{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,400px);column-gap:48px;row-gap:6px;align-items:center;margin:0!important;
}
.me-vm-page section.primary_section > div:first-child > .col-md-12:nth-of-type(even) .row{grid-template-columns:minmax(0,400px) minmax(0,1fr)}
.me-vm-page section.primary_section > div:first-child > .col-md-12:nth-of-type(even) .row > .col-md-4{order:-1}
.me-vm-page section.primary_section .row > .col-md-12{grid-column:1/-1;text-align:left!important;padding:0!important;margin:0 0 14px!important;order:-2}
.me-vm-page section.primary_section .row > [class*="col-"]{max-width:none;flex:none;width:auto;padding:0!important}
.me-vm-page section.primary_section h3{
  position:relative;font-size:30px!important;line-height:1.2;font-weight:700!important;color:#fff!important;margin:0!important;padding:0 0 16px!important;
}
.me-vm-page section.primary_section h3::after{content:"";position:absolute;left:0;bottom:0;width:56px;height:3px;border-radius:3px;background:#e6c9d1}
.me-vm-page section.primary_section p,
.me-vm-page section.primary_section li,
.me-vm-page section.primary_section .col-md-8 div{font-size:15.5px!important;line-height:25px;color:#f3e2e8!important}
.me-vm-page section.primary_section .col-md-8 ul{padding-left:20px}
.me-vm-page section.primary_section img{
  width:100%!important;height:300px!important;object-fit:cover;border-radius:14px;margin:0!important;border:0!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
/* home slider version */
.me-home section.vm .owl-item .col-md-12{margin:0!important}
.me-home section.vm .owl-item .row{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,340px);column-gap:44px;align-items:center;margin:0!important;
}
.me-home section.vm .owl-item .row > [class*="col-"]{max-width:none;flex:none;width:auto;padding:0!important}
.me-home section.vm .owl-item h3,
.me-home section.vm .owl-item h3.font-weight-bold{
  position:relative;color:#fff!important;font-size:26px!important;line-height:1.25!important;margin:0 0 18px!important;padding:0 0 14px!important;
  display:block;text-align:left;
}
.me-home section.vm .owl-item h3::after{content:"";position:absolute;left:0;bottom:0;width:52px;height:3px;border-radius:3px;background:#e6c9d1}
.me-home section.vm .owl-item p{
  color:#f3e2e8!important;font-size:15.5px;line-height:25px;margin:0;
  display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
.me-home section.vm .owl-item img{
  width:100%!important;height:260px!important;object-fit:cover;border-radius:14px;margin:0!important;position:static!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
@media (max-width:991.98px){
  .me-vm-page section.primary_section > div:first-child > .col-md-12,.me-home section.vm .owl-item .col-md-12{padding:28px 22px!important;border-radius:16px}
  .me-vm-page section.primary_section .row,.me-vm-page section.primary_section > div:first-child > .col-md-12:nth-of-type(even) .row,
  .me-home section.vm .owl-item .row{grid-template-columns:1fr!important;row-gap:20px}
  .me-vm-page section.primary_section > div:first-child > .col-md-12:nth-of-type(even) .row > .col-md-4{order:0}
  .me-vm-page section.primary_section img,.me-home section.vm .owl-item img{height:220px!important}
}

/* ---------------------------------------------------------------------
   TREATMENT APPROACH (home + services): each service is its own card
   with an icon, a title and a short description
   --------------------------------------------------------------------- */
.me-treat-box{background:#f3f1ef;border-radius:16px;padding:24px 26px 26px}
.me-treat-grid{gap:18px 20px}
.me-treat-item{
  align-items:flex-start;gap:16px;min-height:0;padding:18px 20px;background:#fff;border:1px solid #eadde1;border-radius:12px;
  box-shadow:0 3px 12px rgba(78,1,16,.06);transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;
}
a.me-treat-item:hover{box-shadow:0 10px 26px rgba(78,1,16,.14);transform:translateY(-3px);border-color:#d9bcc5}
.me-treat-ico{flex:0 0 56px;width:56px!important;height:56px!important;border-radius:12px}
.me-treat-text{display:flex!important;flex-direction:column;gap:4px;min-width:0;-webkit-line-clamp:unset;overflow:visible}
.me-treat-name{
  font-size:16px;line-height:22px;font-weight:700;color:var(--me-ink);
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
.me-treat-desc{
  font-size:13.5px;line-height:20px;font-weight:400;color:var(--me-text);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;
}
@media (max-width:991.98px){.me-treat-box{padding:18px 16px 20px}.me-treat-item{padding:14px 16px}}

/* page labels on the content pages: dark, small, left (the old blue-heading class is now maroon) */
.me-sx h1.text-nblue{font-size:14px!important;line-height:20px;font-weight:700!important;color:var(--me-ink)!important;text-align:left!important;margin:0 0 8px!important}
.me-sx section .col-md-12.text-center{text-align:left!important}

/* brand name colours: maroon in the header, white in the maroon footer bar; footer never dotted on desktop */
nav.top-navbar-head .navbar-brand .me-brand-name{color:#4E0110!important}
.me-footer-bar .me-brand-name{color:#fff!important}
@media (min-width:992px){
  .me-footer-logo{max-width:520px}
  .me-footer-logo .me-brand-name{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
}

/* event detail: tighten the vertical rhythm between the blocks */
.me-event-detail > section.pt-50{padding-top:8px!important;padding-bottom:0!important}
.me-event-detail .post-img{margin:0 0 24px!important}
.me-event-detail .post-img br{display:none}
.me-event-detail .post-img:empty{display:none}
.me-event-detail section > div > .row:last-child:not(:first-of-type) > .col-md-12:empty,
.me-event-detail section > div > .row:last-child:not(:first-of-type){margin:0!important}
.me-event-detail section > div > .row:last-child:not(:first-of-type) > .col-md-12{padding:0!important}
.me-event-detail > div.container.py-4,.me-event-detail > div.container-fluid.py-4{padding-top:24px!important;padding-bottom:24px!important}
.me-event-detail > div.py-4 h3{margin:0 0 16px!important;font-size:24px;font-weight:700}
/*.me-event-detail > div.py-4 .row{row-gap:0}*/
.me-event-detail > div.py-4 .col-md-3{margin-bottom:20px!important}
.me-event-detail .bookappfooter{padding-top:40px!important;padding-bottom:40px!important}
@media (min-width:992px){
  .me-footer-bar-in{grid-template-columns:auto 1fr auto!important;column-gap:40px}
  .me-footer-logo{max-width:none!important}
  .me-footer-bar .me-copy{text-align:center}
}

/* ---------- Photo & Video galleries: white cards, maroon accents ---------- */
.me-photo .card-grid,.me-video .card-grid{column-gap:28px;row-gap:28px}
.me-photo .card-grid > .col-md-4,.me-video .card-grid > .col-md-6{margin:0!important;padding:0!important;max-width:none}
.me-photo .card-grid > .col-md-4 > a,.me-video .card-grid > .col-md-6 > a{
  display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #f3e2e8;border-radius:14px;overflow:hidden;
  box-shadow:0 6px 20px rgba(78,1,16,.06);text-decoration:none!important;transition:transform .25s,box-shadow .25s}
.me-photo .card-grid > .col-md-4 > a:hover,.me-video .card-grid > .col-md-6 > a:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(78,1,16,.14)}
.me-photo .albumcss,.me-video .vedioimg{border-radius:0;overflow:hidden}
.me-photo .albumcss img,.me-video .vedioimg > img{border-radius:0!important;height:260px!important;margin:0!important;transition:transform .5s}
.me-photo a:hover .albumcss img,.me-video a:hover .vedioimg > img{transform:scale(1.06)}
.me-al-badge{position:absolute;left:14px;top:14px;background:#4E0110;color:#fff;font-size:12px;font-weight:600;letter-spacing:.04em;
  padding:6px 14px;border-radius:999px;line-height:1}
.me-al-badge i{margin-right:5px}
.me-al-body,.me-vd-body{padding:18px 22px 20px;display:flex;flex-direction:column;gap:10px;flex:1;text-align:left}
.me-photo .me-al-body h3{font-size:18px!important;line-height:26px;margin:0!important;color:#111!important;text-align:left!important;display:block}
.me-al-more,.me-vd-meta em{font-style:normal;font-size:13px;font-weight:600;color:#4E0110;margin-top:auto}
.me-al-more i,.me-vd-meta em i{margin-left:4px;transition:transform .2s}
a:hover .me-al-more i{transform:translateX(4px)}
.me-vd-title{font-size:18px;line-height:26px;font-weight:700;color:#111;display:block}
.me-vd-meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#6b6b6b;margin-top:auto}
.me-vd-meta em i{font-size:15px}
/* video: centred round play button over a soft veil, no overlaid title */
.me-video .vedioimg .videogallery{position:absolute!important;inset:0;background:linear-gradient(0deg,rgba(78,1,16,.35),rgba(0,0,0,0) 60%)!important;
  border-radius:0!important;display:flex!important;align-items:center;justify-content:center;padding:0!important}
.me-video .vedioimg .btnandtitle{display:flex;align-items:center;justify-content:center;position:static!important;padding:0!important;margin:0!important}
.me-video .vedioimg .playbtnimgvideo{width:64px!important;height:64px!important;padding:16px;border-radius:50%;background:#4E0110;
  box-shadow:0 0 0 8px rgba(255,255,255,.35);transition:transform .25s}
.me-video a:hover .playbtnimgvideo{transform:scale(1.12)}
/* album detail: rounded photos that lift on hover */
.me-gallery-detail .gallery .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.me-gallery-detail .gallery .row > .col-md-4{max-width:none;padding:0;width:auto}
.me-gallery-detail .gallery a.item{display:block;border-radius:14px;overflow:hidden;border:1px solid #f3e2e8;box-shadow:0 6px 20px rgba(78,1,16,.06)}
.me-gallery-detail .gallery a.item img{height:300px!important;margin:0!important;border-radius:0;transition:transform .5s;display:block}
.me-gallery-detail .gallery a.item:hover img{transform:scale(1.06)}
@media (max-width:991px){.me-gallery-detail .gallery .row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575px){.me-gallery-detail .gallery .row{grid-template-columns:1fr}.me-photo .albumcss img,.me-video .vedioimg > img{height:220px!important}}

/* ---------- Testimonials page ---------- */
.me-testi-page .breadcrumb{display:none}
.me-testi-page section.testipg{padding:56px 0 64px!important;background:#fff!important}
.me-testi-page section.testipg .col-md-12.text-center{text-align:center!important;margin-bottom:8px}
.me-testi-page section.testipg h1.text-nblue{font-family:var(--me-serif);font-size:30px!important;line-height:1.2;font-weight:700!important;color:#111!important;text-align:center!important;margin:0 0 6px!important}
.me-testi-page section.testipg h1.text-nblue::after{content:"";display:block;width:44px;height:3px;background:#4E0110;border-radius:2px;margin:12px auto 0}
.me-testi-page .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}
.me-testi-page .card-grid > .col-md-6{margin:0!important}
.me-testi-page .wreviewpeople:not(.localvid):not(.utubevid){
  height:auto!important;min-height:230px;background:#fff6f9!important;border:1px solid #f3e2e8;border-radius:16px!important;
  padding:34px 32px 26px!important;display:flex;flex-direction:column;position:relative;overflow:hidden;
  transition:transform .25s,box-shadow .25s}
.me-testi-page .wreviewpeople:not(.localvid):not(.utubevid):hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(78,1,16,.12)}
.me-testi-page .wreviewpeople:not(.localvid):not(.utubevid)::before{content:"\201C";position:absolute;right:26px;top:6px;font-family:var(--me-serif);font-size:96px;line-height:1;color:#4E0110;opacity:.12}
.me-testi-page .peoplereview{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;font-size:15px!important;line-height:24px!important;color:#444!important;margin:0 0 22px!important;flex:1}
.me-testi-page .wreviewpeople > p.font-weight-bold{display:flex;align-items:center;margin-top:auto;padding-top:18px;border-top:1px solid #f0d9e0}
.me-testi-page .wrpeopleimg{width:48px!important;height:48px!important;object-fit:cover;border:2px solid #fff!important;box-shadow:0 0 0 2px #4E0110}
.me-testi-page .wreviewpeople > p.font-weight-bold span{font-size:15px!important;font-weight:700!important;color:#4E0110!important;padding-left:14px!important}
.me-testi-page .wreviewpeople.localvid,.me-testi-page .wreviewpeople.utubevid{border-radius:16px!important;overflow:hidden;height:300px!important;box-shadow:0 6px 20px rgba(78,1,16,.1)}
.me-testi-page .wreviewpeople .playButton,.me-testi-page .wreviewpeople .youplaybtnimgvideo{width:60px!important;height:60px!important;padding:15px;border-radius:50%;background:#4E0110;box-shadow:0 0 0 7px rgba(255,255,255,.35)}
.me-testi-page .testimonial-stars{font-size:18px!important;gap:3px!important;margin-top:12px}
.me-testi-page .testimonial-stars .star.full{color:#4E0110}
.me-testi-page .testimonial-stars .rating-number{font-size:13px;color:#6b6b6b;margin-left:6px}
/* write-a-review panel */
.me-testi-page section.writereview{background:#e6e2df!important;padding:56px 0!important}
.me-testi-page section.writereview > div{max-width:980px;background:#fff;border-radius:18px;padding:36px 40px 40px;box-shadow:0 10px 30px rgba(78,1,16,.08)}
.me-testi-page section.writereview h3{font-family:var(--me-serif);font-size:26px!important;color:#111;margin:0 0 20px;padding:0!important}
.me-testi-page .writereview label{font-size:13px;font-weight:600;color:#111;margin-bottom:6px}
.me-testi-page .writereviewtestimonial .form-control{border:1px solid #d9cfd2!important;border-radius:10px;background:#fff!important;padding:12px 16px!important;height:auto;font-size:14px}
.me-testi-page .writereviewtestimonial .form-control:focus{border-color:#4E0110!important;box-shadow:0 0 0 3px rgba(78,1,16,.12)}
.me-testi-page .writereview .btn_submit{background:#4E0110!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:0 44px!important;height:46px;font-size:14px}
.me-testi-page .writereview .btn_submit:hover{background:#5f0a1b!important}
@media (max-width:767px){
  .me-testi-page .card-grid{grid-template-columns:1fr!important}
  .me-testi-page section.writereview > div{padding:24px 18px 28px}
}

/* ---------- Service detail ---------- */
.me-svc-detail .breadcrumb{display:none}
.me-svc-detail section.services{padding:40px 0 0!important}
.me-svc-detail section.services > .container,.me-svc-detail section.services > .container-fluid{max-width:1100px}
.me-svc-detail section.services h1{font-family:var(--me-serif);font-size:34px!important;line-height:1.25;font-weight:700!important;color:#111!important;margin:0 0 6px!important}
.me-svc-detail section.services h1::after{content:"";display:block;width:52px;height:3px;background:#4E0110;border-radius:2px;margin-top:14px}
.me-svc-detail section.services img.docimg{height:auto!important;max-height:460px;object-fit:cover;border-radius:16px;border:0!important;box-shadow:0 10px 30px rgba(78,1,16,.12);margin:24px 0!important}
.me-svc-detail section.services > div > .row p,.me-svc-detail section.services > div > .row li{font-size:15.5px!important;line-height:26px!important;color:#444!important}
.me-svc-detail section.services > div > .row > .col-md-12 > p.fs-13:first-of-type{background:#fff6f9;border-left:4px solid #4E0110;border-radius:0 12px 12px 0;padding:18px 22px;font-size:16px!important;color:#222!important}
.me-svc-detail section.services h2,.me-svc-detail section.services h3{font-size:22px;font-weight:700;color:#111;margin:26px 0 10px}
/* more services */
.me-svc-detail section.cusscroll{margin-top:56px!important;padding:50px 0 60px;background:#f3f1ef}
.me-svc-detail section.cusscroll h2{font-family:var(--me-serif);font-size:28px!important;font-weight:700!important;color:#111;text-align:center}
.me-svc-detail section.cusscroll h2::after{content:"";display:block;width:44px;height:3px;background:#4E0110;border-radius:2px;margin:12px auto 0}
.me-svc-detail section.cusscroll .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0}
.me-svc-detail .service-card{max-width:none;width:auto;padding:0!important;margin:0!important}
.me-svc-detail .service-card > a{display:block;height:100%;background:#fff;border:1px solid #eadde1;border-radius:14px;padding:22px 22px 20px;box-shadow:0 4px 14px rgba(78,1,16,.05);transition:transform .25s,box-shadow .25s}
.me-svc-detail .service-card > a:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(78,1,16,.13)}
.me-svc-detail .service-card .testimoimg{position:static!important;width:56px;height:56px;border-radius:50%!important;padding:10px;background:#fff6f9;border:1px solid #f3e2e8!important;float:left;margin-right:14px}
.me-svc-detail .service-card .position-relative{display:flex;align-items:center;min-height:56px;margin-bottom:12px}
.me-svc-detail .service-card .position-relative br{display:none}
.me-svc-detail .service-card .position-relative p{padding:0!important;margin:0!important;color:#111!important;font-size:17px!important;font-weight:700!important}
.me-svc-detail .service-card > a > p{font-size:14px!important;line-height:22px!important;color:#555!important;margin:0!important;padding:0!important}
@media (max-width:991px){.me-svc-detail section.cusscroll .row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575px){.me-svc-detail section.cusscroll .row{grid-template-columns:1fr}.me-svc-detail section.services h1{font-size:26px!important}}

.me-testi-page .custom-file-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.me-testi-page .custom-file-upload input[type=file]{border:1px solid #d9cfd2!important;border-radius:10px!important;padding:8px 12px!important;background:#fff;font-size:13px;max-width:100%}
.me-testi-page .custom-file-upload input[type=file]::file-selector-button{background:#4E0110;color:#fff;border:0;border-radius:999px;padding:7px 18px;margin-right:12px;font-weight:600;cursor:pointer}
.me-testi-page .custom-file-upload button,.me-testi-page .custom-file-upload .btn,.me-testi-page .custom-file-upload label{background:#4E0110!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:8px 22px!important;font-size:12px!important;margin:0!important}

/* testimonial photo upload: gap between the file box and the Upload button */
.me-testi-page .file-upload-wrapper{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.me-testi-page .file-upload-wrapper .file-upload-input{flex:1 1 220px;width:auto!important;height:46px!important;margin:0!important;border:1px solid #d9cfd2!important;border-radius:10px!important;background:#fff!important;padding:0 16px!important}
.me-testi-page .file-upload-wrapper .file-upload-button{flex:0 0 auto;height:46px!important;margin:0!important;padding:0 8px!important;border-radius:999px!important;background:#4E0110!important;color:#fff!important;border:0!important;font-size:13px!important;font-weight:600}

/* home photo gallery: same album cards as the Photo Gallery page */
.me-home .photo_gallery_homepage .owl-item a,.me-home .photo_gallery_homepage .col-sm-6 > a{
  display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #f3e2e8;border-radius:14px;overflow:hidden;
  box-shadow:0 6px 20px rgba(78,1,16,.06);text-decoration:none!important;margin:6px 8px 14px;transition:transform .25s,box-shadow .25s}
.me-home .photo_gallery_homepage .owl-item a:hover,.me-home .photo_gallery_homepage .col-sm-6 > a:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(78,1,16,.14)}
.me-home .photo_gallery_homepage .albumcss{margin:0!important;border-radius:0;overflow:hidden}
.me-home .photo_gallery_homepage .albumcss img{height:240px!important;border-radius:0!important;margin:0!important;border:0!important}
.me-home .photo_gallery_homepage a:hover .albumcss img{transform:scale(1.06)}
.me-home .photo_gallery_homepage .me-al-body{padding:16px 20px 18px}
.me-home .photo_gallery_homepage .me-al-body h3.font-weight-bold{font-size:17px!important;line-height:25px!important;font-weight:700!important;color:#111!important;text-align:left!important;margin:0!important;padding:0!important;display:block!important}

.me-al-badge,.me-al-badge i{color:#fff!important}

.me-testi-page .file-upload-wrapper{flex-wrap:nowrap!important}
.me-testi-page .file-upload-wrapper .file-upload-input{flex:1 1 0!important;min-width:0}

/* requested tweaks */
nav.top-navbar-head .navbar-brand .me-brand-name{color:#000!important}
.me-home .me-stat-value{font-size:50px}
.me-home .me-dept-img img,.me-home .albumcss img,.me-home .casestudies .casestudies-img img,.me-home .awards_homepage .card-img img,.me-home .me-dr .me-dr-img img,.me-home .vedioimg img,.me-home .vedioimg .videogallery,.me-home .medevents{border-radius:12px!important}
@media (max-width:991px){.me-home .me-stat-value{font-size:36px}}
.me-home .me-dr .doccard-img img,.me-home .blog_homepage img.card-img-top,.me-home .treatments img.card-img-top{border-radius:12px!important}

/* ---------- round of fixes ---------- */
/* about / why-choose: the vision-mission box flows below the bullets instead of sitting on top of them */
.me-why-body{display:flex;flex-direction:column}
.me-why-text{max-width:none}
.me-vm{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:auto;min-height:228px;row-gap:28px;align-items:start}
.me-why-text + .me-vm,.me-why-body > .me-vm{margin-top:32px}
.me-vm-item{min-width:0}

/* service cards: uploaded image fills the tile, otherwise a stethoscope icon */
.me-treat-ico.me-ico-none{display:flex;align-items:center;justify-content:center;background:#4E0110;border-radius:12px;color:#fff;font-size:26px}
.me-treat-ico.me-ico-img img{width:100%;height:100%;object-fit:cover;border-radius:12px}

/* equal-height cards in the home sliders */
.me-home .owl-carousel .owl-wrapper{display:flex!important}
.me-home .owl-carousel .owl-item{float:none!important;display:flex!important;height:auto}
.me-home #event_slider .owl-item > a,.me-home #press_release_slider .owl-item > a,.me-home #awards_slider .owl-item > a{display:block;width:100%;height:100%}
.me-home #event_slider .owl-item .medevents{height:100%;min-height:0}
.me-home #casestudies_slider .owl-item > .casestudies{display:flex;flex-direction:column;width:100%;height:auto}
.me-home .casestudies .dat_desc{display:flex;flex-direction:column;flex:1}
.me-home .casestudies .dat_desc .btn{margin-top:auto;align-self:flex-start}
.me-home .casestudies .dat_desc p.overelipsis2{margin-bottom:16px!important}
.casestudies{display:flex;flex-direction:column}
.casestudies .dat_desc{flex:1;display:flex;flex-direction:column}
.casestudies .dat_desc .btn{margin-top:auto;align-self:flex-start}
.me-case .card-grid > [class*="col-"] > a,.me-case .card-grid > [class*="col-"] > .casestudies{height:100%}

/* departments page: space above View More */
.me-dept-page form#load_more{margin-top:40px!important}

/* department / treatment detail: Book Appointment button */
.me-detail-page .bookapptxt,.bookapptxt{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;
  background:#4E0110;color:#fff!important;text-decoration:none!important;border-radius:999px;height:44px;padding:0 28px!important;font-size:14px;font-weight:600;line-height:1;margin-left:10px;vertical-align:middle}
.bookapptxt:hover{background:#5f0a1b}
.me-tdetail-hero .me-btn,.me-tdetail .me-btn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;height:46px;padding:0 30px!important;line-height:1;margin-top:20px}

/* event detail: keep every image inside the layout, and breathe around "More Events" */
.me-event-detail section img{max-width:100%!important;height:auto;border-radius:12px;display:block;margin:24px 0}
.me-event-detail section .row{margin-left:0!important;margin-right:0!important}
.me-event-detail section .row > [class*="col-"]{padding-left:0!important;padding-right:0!important}
.me-event-detail section .row > .col-md-12 > img{width:100%;object-fit:cover}
.me-event-detail .post-img img{margin:0}
.me-event-detail > div.py-4{padding-top:64px!important;padding-bottom:56px!important}
.me-event-detail > div.py-4 h3{margin-bottom:28px!important}
.me-event-detail .me-viewall{text-align:center!important;margin-top:36px!important}

/* awards: clamp the rich-text description without stacking its paragraphs on top of each other */
.me-awards .awards-card .peoplereview{display:block!important;max-height:63px;overflow:hidden;-webkit-line-clamp:unset}
.me-awards .awards-card .peoplereview *{display:inline!important;margin:0!important;padding:0!important;white-space:normal}
.me-awards .awards-card .peoplereview br{display:none}
.me-awards .awards-card .peoplereview p::after{content:" "}

/* ---------- carousels: one gutter model for every home slider ----------
   Owl v1 sizes each slide as (its own width / items). So the gutter is made by
   widening the carousel itself by 2p and pulling it back with a -p margin, with p of
   padding inside each slide: cards line up flush with the section on both edges,
   and no neighbouring card peeks in on any screen size. */
.me-home .owl-carousel .owl-item{flex:none!important;box-sizing:border-box}
.me-home #press_release_slider,.me-home #event_slider,.me-home #awards_slider,.me-home #photo_slider,.me-home #video_slider,
.me-home #casestudies_slider,.me-home #visionmission_slider,.me-home #blog_slider{width:calc(100% + 28px)!important;margin-left:-14px!important;margin-right:-14px!important}
.me-home #news_slider{width:calc(100% + 30px)!important;margin-left:-15px!important;margin-right:-15px!important}
.me-home #doctors_slider{width:calc(100% + 24px)!important;margin-left:-12px!important;margin-right:-12px!important}
.me-home #treatments_slider{width:calc(100% + 55px)!important;margin-left:-27.5px!important;margin-right:-27.5px!important}
.me-home #press_release_slider .owl-wrapper-outer,.me-home #event_slider .owl-wrapper-outer,.me-home #awards_slider .owl-wrapper-outer,
.me-home #photo_slider .owl-wrapper-outer,.me-home #video_slider .owl-wrapper-outer,.me-home #casestudies_slider .owl-wrapper-outer,
.me-home #visionmission_slider .owl-wrapper-outer,.me-home #blog_slider .owl-wrapper-outer,.me-home #news_slider .owl-wrapper-outer,
.me-home #doctors_slider .owl-wrapper-outer,.me-home #treatments_slider .owl-wrapper-outer{width:100%!important;margin:0!important}
.me-home #blog_slider .owl-item{padding:0 14px!important}
.me-home #news_slider .owl-item{padding:0 15px!important}
.me-home #news_slider .owl-item > div{padding:0!important}
@media (max-width:991px){
  .me-home #treatments_slider{width:calc(100% + 12px)!important;margin-left:-6px!important;margin-right:-6px!important}
  .me-home #treatments_slider .owl-item{padding:0 6px!important}
}

.me-home .photo_gallery_homepage .owl-item a{margin:6px 0 14px!important}

/* slide content always fills its slide (flex item) */
.me-home .owl-carousel .owl-item > *{flex:1 1 100%;width:100%;min-width:0}
.me-home .photo_gallery_homepage .owl-item a{height:auto!important;align-self:stretch;margin:0!important}

/* ---------- review round: spacing, sticky doctor photo, event image, play buttons, department cards ---------- */
/* one vertical rhythm for every home section */
.me-home .me-why-home,.me-home .me-departments,.me-home .me-treat,.me-home .blog_homepage,.me-home .news_homepage,
.me-home .testimonials_homepage,.me-home section.treatments,.me-home .me-dr{padding-top:64px!important;padding-bottom:64px!important}
.me-home .pressrelease_homepage,.me-home .events_homepage,.me-home .awards_homepage,.me-home .casestudies_homepage,
.me-home .photo_gallery_homepage,.me-home .video_gallery_homepage,.me-home section.faqsection,.me-home section.vm{padding-top:64px!important}
.me-home .me-treat-in{padding-top:0}
/* testimonials: even breathing room above and below the panel */
.me-home .testimonials_homepage > div{padding-top:48px!important;padding-bottom:56px!important}
@media (max-width:991.98px){
  .me-home .me-why-home,.me-home .me-departments,.me-home .me-treat,.me-home .blog_homepage,.me-home .news_homepage,
  .me-home .testimonials_homepage,.me-home section.treatments,.me-home .me-dr,.me-home .pressrelease_homepage,.me-home .events_homepage,
  .me-home .awards_homepage,.me-home .casestudies_homepage,.me-home .photo_gallery_homepage,.me-home .video_gallery_homepage,
  .me-home section.faqsection,.me-home section.vm{padding-top:44px!important}
  .me-home .me-why-home,.me-home .me-departments,.me-home .me-treat,.me-home .blog_homepage,.me-home .news_homepage,
  .me-home .testimonials_homepage,.me-home section.treatments,.me-home .me-dr{padding-bottom:44px!important}
}

/* doctor detail: portrait stays pinned while the page scrolls */
@media (min-width:992px){
  .me-docbanner-photo{position:sticky!important;top:130px;float:left;left:auto!important;margin:35px 0 0 90px;z-index:3}
  .me-docbanner{margin-top:0!important;padding-top:63px}
  .me-docbanner-bar{margin-top:0}
  .me-doc-main::after{content:"";display:block;clear:both}
}
@media (max-width:991.98px){.me-docbanner-photo{float:none!important;position:static!important;margin:0 auto -40px!important}}

/* event detail: second image keeps its full width and natural height */
.me-event-detail section > div:first-child > .row:not(:first-of-type){display:block!important}
.me-event-detail section > div:first-child > .row:not(:first-of-type) > [class*="col-md-"]{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
.me-event-detail section > div:first-child > .row:not(:first-of-type) img{width:100%!important;height:auto!important;min-height:200px;object-fit:cover;aspect-ratio:16/7;border-radius:12px;display:block}

/* play buttons on the video detail pages: white glyph on the brand maroon */
.me-video-detail .playbtnimgvideo,.me-tvideo-detail .playbtnimgvideo{
  width:30px!important;height:30px!important;padding:7px;border-radius:50%;background:#4E0110;margin-right:8px;vertical-align:middle;flex:none}

/* department detail: "More Departments" reuses the main-page cards */
.me-dept-more{margin-top:28px}
section.cusscroll .me-dept-more .me-dcard{margin:0}

/* doctor portrait: a full-height rail holds the sticky image (replaces the float attempt above) */
@media (min-width:992px){
  .me-doc-main{position:relative}
  .me-docbanner-photo{position:absolute!important;float:none!important;left:90px!important;top:35px;bottom:0;width:308px;height:auto!important;margin:0!important;z-index:3;pointer-events:none}
  .me-docbanner-photo img{position:sticky;top:130px;width:308px!important;height:385px!important;pointer-events:auto}
  .me-docbanner{margin-top:98px!important;padding-top:0!important}
  .me-doc-main::after{display:none}
}

/* event detail: the event layout rules must not shrink the shared Book Appointment strip */
.me-event-detail section.bookappfooter > div > .row{display:flex!important;width:100%}
.me-event-detail section.bookappfooter > div > .row > .col-md-8{flex:0 0 100%!important;max-width:100%!important;width:100%!important;text-align:center}
.me-event-detail section.bookappfooter > div > .row > .col-md-4{display:none!important}
.me-event-detail section.bookappfooter > div:first-child > .row:first-of-type{display:grid!important;grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;margin:0!important}
.me-event-detail section.bookappfooter > div:first-child > .row > [class*="col-md-"]{padding:0!important}

/* Book Appointment strip: identical spacing on every page (the content-page and event-page section rules were also hitting it) */
body section.bookappfooter,.me-sx section.bookappfooter,.me-event-detail > section.bookappfooter,.me-event-detail > section.pt-50.bookappfooter{
  padding:0 0 94px!important;margin:0!important;background:#fff!important}
body section.bookappfooter > div{width:calc(100% - 90px)!important;max-width:var(--me-wrap)!important}
body section.bookappfooter .col-md-8{padding:0!important}
@media (max-width:991px){
  body section.bookappfooter,.me-sx section.bookappfooter{padding-bottom:50px!important}
  body section.bookappfooter > div{width:calc(100% - 40px)!important}
}

/* mobile / tablet: the strip is the same card as on the home page on every page */
@media (max-width:991px){
  body section.bookappfooter,.me-sx section.bookappfooter,.me-event-detail > section.bookappfooter,.me-event-detail > section.pt-50.bookappfooter{padding:0 0 50px!important}
  body section.bookappfooter > div,body.me-sx section.bookappfooter > div:first-child{padding:36px 20px!important;min-height:0!important;width:calc(100% - 40px)!important;border-radius:14px!important}
  body section.bookappfooter p.fs-65{font-size:22px!important;line-height:1.35!important;margin:0 auto 22px!important}
}
