/* SOURCE: assets/thulir-v12-common-finish-f5d0a7108d.css */
/* Original: ui-polish-v3.css */

/* V3 polish: smaller centered booking dialog + footer landline CTA */
.booking-dialog{
  width:min(460px,calc(100vw - 28px))!important;
  max-height:min(86dvh,760px)!important;
  border-radius:22px!important;
}
.booking-header{
  padding:22px 22px 16px!important;
}
.booking-header h2{
  font-size:clamp(24px,4vw,30px)!important;
  margin:12px 0 6px!important;
}
.booking-header p{
  font-size:12px!important;
  line-height:1.45!important;
  max-width:330px!important;
}
.booking-close{
  top:14px!important;
  right:14px!important;
  width:36px!important;
  height:36px!important;
  border-radius:14px!important;
  z-index:2!important;
}
.booking-body{
  padding:14px 22px 18px!important;
}
.booking-progress{
  font-size:10px!important;
  padding-bottom:12px!important;
  margin-bottom:12px!important;
}
.booking-field{margin-bottom:10px!important}
.booking-field label,.booking-review label{font-size:11.5px!important;margin-bottom:5px!important}
.booking-optional{font-size:9.5px!important}
.booking-field input,.booking-field select,.booking-review textarea{
  min-height:42px!important;
  padding:10px 12px!important;
  font-size:12.5px!important;
}
.booking-field small{font-size:9.5px!important;margin-top:4px!important}
.booking-preferences{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.booking-data-note{
  margin:12px 0 0!important;
  padding:12px 13px!important;
  border-radius:14px!important;
  font-size:11px!important;
  line-height:1.45!important;
}
.booking-status{font-size:11.5px!important;margin:6px 0!important}
.booking-submit{min-height:46px!important;padding:11px 15px!important;font-size:12.5px!important;margin-top:10px!important}
.booking-help{margin-top:14px!important;padding-top:11px!important;font-size:10px!important}
@media (max-width: 680px){
  .booking-dialog{
    inset:50% auto auto 50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    width:min(430px,calc(100vw - 18px))!important;
    max-height:min(82dvh,700px)!important;
    border-radius:22px!important;
  }
  .booking-header{padding:18px 16px 14px!important}
  .booking-header h2{font-size:26px!important;line-height:1.1!important}
  .booking-header p{font-size:11.5px!important;max-width:none!important;padding-right:34px!important}
  .booking-close{top:12px!important;right:12px!important;width:34px!important;height:34px!important;font-size:23px!important}
  .booking-body{padding:12px 16px 16px!important}
  .booking-progress{font-size:9.8px!important}
  .booking-field{margin-bottom:9px!important}
  .booking-field input,.booking-field select{min-height:40px!important;padding:9px 12px!important}
  .booking-preferences{grid-template-columns:1fr!important;gap:10px!important}
  .booking-submit{min-height:44px!important}
  .booking-help{flex-direction:column!important;align-items:flex-start!important}
}

/* Footer landline style to match action buttons */
footer.th-mini-footer-v29 .th-footer-contact{display:flex!important;flex-direction:column!important;gap:8px!important}
footer.th-mini-footer-v29 .th-footer-landline-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:fit-content!important;
  max-width:100%!important;
  padding:7px 10px!important;
  min-height:35px!important;
  font-size:11px!important;
  line-height:1.15!important;
  border:1px solid rgba(255,255,255,.30)!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  border-radius:10px!important;
  text-decoration:none!important;
  white-space:normal!important;
}
footer.th-mini-footer-v29 .th-footer-landline-cta:hover{background:rgba(255,255,255,.20)!important}
@media (max-width:860px){
  footer.th-mini-footer-v29 .th-footer-landline-cta{
    width:100%!important;
    min-height:40px!important;
    padding:7px 6px!important;
    font-size:10px!important;
    text-align:center!important;
  }
}

/* Original: ui-polish-v4.css */
/* V4 | Thulir Hospital final responsive interaction polish.
   Loaded after V2 and V3 to keep approved brand and content intact. */

/* Exact, vector-drawn telephone icon: prevents emoji glyph escaping its round background. */
.header .header-in > a.header-helpline{
  gap:7px!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
}
.header .header-in > a.header-helpline::before{content:none!important;display:none!important}
.header .header-in > a.header-helpline .th-v4-phone-icon{
  display:block!important;width:16px!important;height:16px!important;
  flex:0 0 16px!important;stroke:currentColor!important;
}
.header .header-in > a.header-helpline .th-v4-helpline-label{display:inline!important}

/* Desktop and laptop: restrained navigation rhythm. */
@media (min-width:1180px){
  .header .header-in{gap:clamp(9px,.9vw,16px)!important}
  .header .nav-complete>a{transition:color .17s ease!important}
  .header .nav-complete>a:hover{color:#8d378a!important}
  .header .header-helpline{border-radius:999px!important;white-space:nowrap!important}
  .th-p12-home-card,.service-card,.resource-card,.doctor-card{transition:box-shadow .18s ease,transform .18s ease!important}
}
@media (min-width:861px) and (max-width:1179px){
  .header .header-in{gap:10px!important}
  .header .header-helpline{border-radius:999px!important}
}

/* Compact and symmetrical mobile header. */
@media (max-width:860px){
  .header .header-in>a.header-helpline{
    display:inline-flex!important;
    flex:0 0 38px!important;
    width:38px!important;min-width:38px!important;
    height:38px!important;min-height:38px!important;
    padding:0!important;margin:0!important;
    border-radius:50%!important;
    position:relative!important;
    overflow:hidden!important;
    box-shadow:0 4px 11px rgba(104,35,98,.16)!important;
    color:white!important;
    font-size:0!important;
  }
  .header .header-in>a.header-helpline .th-v4-helpline-label{display:none!important}
  .header .header-in>a.header-helpline .th-v4-phone-icon{
    width:18px!important;height:18px!important;flex:0 0 18px!important;
  }
  .header .header-in>.social-ig,.header .header-in>.mobile-toggle,
  .header .header-in>a.th-review-header{box-shadow:none!important}
  .header .header-in>.social-ig,.header .header-in>.mobile-toggle,
  .header .header-in>a.header-helpline{touch-action:manipulation}
}
@media(max-width:650px){
  .header .header-in{min-height:66px!important;height:66px!important;gap:7px!important}
  .header .official-hospital-logo{width:106px!important;height:auto!important}
  .header .header-in>.social-ig,
  .header .header-in>.mobile-toggle,
  .header .header-in>a.header-helpline{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;flex-basis:36px!important}
  .header .header-in>a.th-review-header{min-height:36px!important;max-height:36px!important;font-size:10px!important;padding:6px 9px!important}
}
@media(max-width:375px){
  .header .header-in{gap:6px!important;width:calc(100% - 20px)!important}
  .header .official-hospital-logo{width:97px!important}
  .header .header-in>a.th-review-header{min-width:34px!important;width:34px!important;min-height:34px!important;padding:5px!important;gap:0!important}
  .header .header-in>a.th-review-header .th-review-header-label,
  .header .header-in>a.th-review-header .th-review-header-out{display:none!important}
  .header .header-in>a.th-review-header .th-review-header-star{font-size:17px!important}
  .header .header-in>.social-ig,.header .header-in>.mobile-toggle,
  .header .header-in>a.header-helpline{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important}
}

/* True centered dialog: top actions stay visible, only form body scrolls. */
.booking-dialog{
  inset:0!important;
  top:0!important;right:0!important;bottom:0!important;left:0!important;
  margin:auto!important;
  transform:none!important;
  width:min(444px,calc(100vw - 30px))!important;
  max-height:min(80dvh,660px)!important;
  max-height:min(80vh,660px)!important; /* older iOS fallback */
  max-height:min(80dvh,660px)!important;
  padding:0!important;
  overflow:hidden!important;
  overscroll-behavior:contain!important;
  border-radius:20px!important;
  box-shadow:0 22px 66px rgba(47,25,49,.28)!important;
}
.booking-shell{
  display:flex!important;
  flex-direction:column!important;
  max-height:inherit!important;
  min-height:0!important;
  width:100%!important;
}
.booking-header{
  flex:0 0 auto!important;
  padding:18px 20px 14px!important;
  position:relative!important;
  background:linear-gradient(115deg,#fff9f2 0%,#fbf0fa 100%)!important;
  border-bottom:1px solid #ebddeb!important;
}
.booking-kicker{font-size:10px!important;letter-spacing:.11em!important;padding-right:46px!important}
.booking-header h2{
  font-size:clamp(24px,3.2vw,29px)!important;
  letter-spacing:-.035em!important;
  margin:10px 0 6px!important;
  line-height:1.12!important;
  padding-right:10px!important;
}
.booking-header p{
  font-size:11.5px!important;line-height:1.45!important;
  margin:0!important;max-width:360px!important;padding-right:4px!important;
}
.booking-close{
  position:absolute!important;top:12px!important;right:12px!important;
  display:grid!important;place-items:center!important;
  width:36px!important;height:36px!important;
  padding:0!important;border-radius:11px!important;
  background:#fff!important;color:#633260!important;
  border:1px solid #e5d5e2!important;
  font-size:24px!important;z-index:5!important;
  touch-action:manipulation!important;
}
.booking-close:focus-visible{outline:3px solid #ac62a0!important;outline-offset:2px!important}
.booking-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding:14px 20px 18px!important;
  scrollbar-gutter:stable;
}
.booking-progress{margin-bottom:11px!important;padding-bottom:10px!important}
.booking-field{margin-bottom:9px!important}
.booking-field label,.booking-review label{font-size:12px!important}
.booking-field input,.booking-field select{font-size:16px!important;min-height:42px!important;line-height:1.2!important}
.booking-field small{font-size:10px!important;line-height:1.35!important}
.booking-preferences{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.booking-submit{margin-top:11px!important;min-height:46px!important}
.booking-help{margin-top:13px!important;padding-top:10px!important}
@media(max-width:680px){
  .booking-dialog{
    inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
    transform:none!important;margin:auto!important;
    width:min(410px,calc(100vw - 22px))!important;
    max-height:min(82dvh,670px)!important;
    border-radius:20px!important;
  }
  .booking-header{padding:16px 15px 12px!important}
  .booking-kicker{font-size:9px!important;letter-spacing:.08em!important}
  .booking-header h2{font-size:clamp(22px,6vw,26px)!important;margin-top:10px!important}
  .booking-header p{font-size:11px!important;line-height:1.4!important;padding-right:16px!important}
  .booking-close{top:10px!important;right:10px!important;width:35px!important;height:35px!important}
  .booking-body{padding:12px 15px max(14px,env(safe-area-inset-bottom))!important}
  .booking-field input,.booking-field select{min-height:42px!important;font-size:16px!important}
  .booking-preferences{grid-template-columns:1fr!important;gap:7px!important}
  .booking-help{align-items:flex-start!important;gap:4px!important}
}
@media(max-width:360px){
  .booking-dialog{width:calc(100vw - 16px)!important;max-height:84dvh!important}
  .booking-kicker{font-size:8.5px!important}
  .booking-header h2{font-size:22px!important}
}

/* Consistent 4-button footer contacts: landline is same size/style as Call hospital. */
footer.th-mini-footer-v29 .th-footer-contact-links a.th-footer-landline-cta{
  min-width:0!important;min-height:35px!important;
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  padding:7px 10px!important;border:1px solid rgba(255,255,255,.3)!important;
  background:rgba(255,255,255,.10)!important;color:white!important;
  border-radius:10px!important;font-size:11px!important;line-height:1.2!important;
  text-decoration:none!important;text-align:center!important;
  white-space:normal!important;
}
footer.th-mini-footer-v29 .th-footer-contact-links a:hover{background:rgba(255,255,255,.18)!important}
@media(min-width:1000px){
  footer.th-mini-footer-v29 .th-footer-layout{
    grid-template-columns:minmax(125px,155px) minmax(245px,1.25fr) minmax(340px,1.25fr) minmax(160px,185px)!important;
    grid-template-areas:'brand contact actions appointment'!important;
    grid-template-rows:auto!important;
    gap:clamp(14px,2vw,26px)!important;
    max-width:1210px!important;
    align-items:center!important;
  }
  footer.th-mini-footer-v29 .th-footer-contact-links{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-self:center!important;gap:7px!important;
  }
  footer.th-mini-footer-v29 .th-footer-contact-links a{min-height:36px!important}
  footer.th-mini-footer-v29 .th-footer-contact h2{margin:0 0 7px!important}
  footer.th-mini-footer-v29 .th-footer-contact p.th-footer-address{margin:0!important;line-height:1.48!important}
}
@media(min-width:641px) and (max-width:999px){
  footer.th-mini-footer-v29 .th-footer-layout{
    grid-template-columns:minmax(118px,148px) minmax(0,1fr)!important;
    grid-template-areas:'brand contact' 'actions appointment'!important;
    align-items:center!important;gap:10px 18px!important;
  }
  footer.th-mini-footer-v29 .th-footer-contact-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  footer.th-mini-footer-v29 .v26-footer-enquire{justify-self:end!important}
}
@media(max-width:640px){
  footer.footer.th-mini-footer-v29{padding:11px 0 8px!important}
  footer.th-mini-footer-v29 .th-footer-layout{
    grid-template-columns:minmax(90px,108px) minmax(0,1fr)!important;
    grid-template-areas:'brand contact' 'actions actions' 'appointment appointment'!important;
    gap:8px 10px!important;align-items:start!important;
  }
  footer.th-mini-footer-v29 .th-footer-brand .official-hospital-brand{max-width:100px!important;padding:3px 5px!important}
  footer.th-mini-footer-v29 .th-footer-brand .official-hospital-logo{width:90px!important}
  footer.th-mini-footer-v29 .th-footer-contact h2{font-size:17px!important;line-height:1.12!important;margin:2px 0 4px!important}
  footer.th-mini-footer-v29 .th-footer-contact p.th-footer-address{font-size:10px!important;line-height:1.45!important;margin:0!important}
  footer.th-mini-footer-v29 .th-footer-contact-links{
    grid-area:actions!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;gap:6px!important;
  }
  footer.th-mini-footer-v29 .th-footer-contact-links a,
  footer.th-mini-footer-v29 .th-footer-contact-links a.th-footer-landline-cta{
    min-height:36px!important;padding:7px 5px!important;
    font-size:10.5px!important;line-height:1.2!important;
  }
  footer.th-mini-footer-v29 .v26-footer-enquire{min-height:38px!important;max-width:none!important;padding:8px!important}
  footer.th-mini-footer-v29 .th-footer-bottom{margin-top:8px!important;gap:4px 10px!important}
  footer.th-mini-footer-v29 .th-footer-emergency-inline{font-size:9.5px!important}
}
@media(max-width:355px){
  footer.th-mini-footer-v29 .th-footer-layout{grid-template-columns:84px minmax(0,1fr)!important}
  footer.th-mini-footer-v29 .th-footer-contact-links a,
  footer.th-mini-footer-v29 .th-footer-contact-links a.th-footer-landline-cta{font-size:9.8px!important}
  footer.th-mini-footer-v29 .th-footer-contact h2{font-size:16px!important}
}

/* Smaller floating enquiry control on phones and unobstructed footer. */
@media(max-width:650px){
  .float-whatsapp{
    min-width:46px!important;width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;
    padding:0!important;border-radius:50%!important;
    right:13px!important;bottom:calc(13px + env(safe-area-inset-bottom,0px))!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    box-shadow:0 7px 20px rgba(13,106,57,.25)!important;
  }
  .float-whatsapp svg{width:23px!important;height:23px!important;margin:0!important;flex:0 0 auto!important}
  .float-whatsapp .wa-label{display:none!important}
}
@media(max-width:400px){
  .float-whatsapp{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
}
body.th-v4-footer-visible .float-whatsapp,
body.th-v4-footer-visible .growth-rail{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
@media(prefers-reduced-motion:reduce){
 .header .header-helpline,.booking-dialog,.float-whatsapp{transition:none!important}
}

/* Some earlier journey themes force visibility with ID selectors. The footer
   contact actions take precedence when the footer is actually visible. */
body.th-v4-footer-visible #growthRail,
body.th-v4-footer-visible #growthPill,
body.th-v4-footer-visible #floatWhatsapp {
  display:none!important;
}
/* Override older #growthRail[data-open] / .th25-core:not(...) force-show rules. */
html body.th25-core.th-v4-footer-visible #growthRail,
html body.th25-journey.th-v4-footer-visible #growthRail,
html body.th-v4-footer-visible #growthRail[data-open],
html body.th-v4-footer-visible #growthRail[data-scroll-engine],
html body.th-v4-footer-visible #floatWhatsapp{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
}

/* Original: doctor-priya-lakshmi-v5.css */
/* Verified Dr. N. Priyalakshmi portrait cropping; all doctor profiles share the standard card layout. */
.th-v17 .th-v5-priya-card figure{background:#eee8e5!important;overflow:hidden!important}
.th-v17 .th-v5-priya-card figure img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center 40%!important;display:block!important;
}
.th-v17 .th-home-doctor-section .th-v5-priya-card figure img{object-position:center 39%!important}
.th-v17 .doctors-hero .th-v5-priya-card figure img{object-position:center 38%!important}
.th-v17 .th-v5-priya-card .team-cred{line-height:1.4!important}
.th-v5-legacy-anchor{position:absolute;top:-85px;height:0}
.th-v17 #doctor-priya-lakshmi{scroll-margin-top:100px}
@media(max-width:560px){
 .th-v17 .th-home-doctor-section .th-v5-priya-card figure img{object-position:center 40%!important}
 .th-v17 .doctors-hero .th-v5-priya-card figure img{object-position:center 40%!important}
}


/* Original: booking-whatsapp-direct-v8.css */
/* V8 — one-step WhatsApp appointment flow (no review screen) */
.booking-dialog .booking-whatsapp-note {
  margin:10px 0 0;
  padding:10px 12px;
  background:#f2faf5;
  border:1px solid #d7eee0;
  color:#456450;
  border-radius:11px;
  font-size:11px;
  line-height:1.5;
}
.booking-dialog .booking-submit {
  background:#148249!important;
  color:white!important;
  gap:14px;
}
.booking-dialog .booking-submit:hover {background:#0c6b3a!important;}
.booking-dialog .booking-status:not(:empty){padding:9px 11px;border-radius:9px;background:#fff0f4;}
.booking-dialog .booking-header h2{padding-right:22px;}
@media(max-width:680px){
 .booking-dialog .booking-header{position:sticky!important;top:0!important;z-index:8!important;}
 .booking-dialog .booking-close{z-index:10!important;}
 .booking-dialog .booking-body{padding-bottom:max(18px,env(safe-area-inset-bottom))!important;}
}

/* Keep the single WhatsApp action visible on iPhone while details scroll */
.booking-dialog{overflow:hidden!important;}
.booking-dialog .booking-shell{
  display:flex!important;flex-direction:column!important;
  height:min(86dvh,760px)!important;max-height:min(86dvh,760px)!important;
  overflow:hidden!important;
}
.booking-dialog .booking-header{position:relative!important;flex:0 0 auto!important;}
.booking-dialog .booking-body{
  flex:1 1 auto!important;min-height:0!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.booking-dialog .booking-action-footer{
  flex:0 0 auto!important;display:grid!important;gap:5px!important;
  background:#fff!important;border-top:1px solid #f0e5ee!important;
  padding:10px 18px max(12px,env(safe-area-inset-bottom))!important;
  box-shadow:0 -6px 16px rgba(67,32,61,.035);
}
.booking-dialog .booking-action-footer .booking-submit{margin:0!important;min-height:46px!important;}
.booking-dialog .booking-whatsapp-note{margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:10px!important;line-height:1.35!important;text-align:center!important;}
@media(max-width:680px){
 .booking-dialog .booking-shell{
   height:min(82dvh,700px)!important;max-height:min(82dvh,700px)!important;
 }
 .booking-dialog .booking-action-footer{padding:9px 16px max(10px,env(safe-area-inset-bottom))!important;}
 .booking-dialog .booking-action-footer .booking-submit{min-height:44px!important;}
 .booking-dialog .booking-body{padding-bottom:16px!important;}
}


/* V18 fix — center Dr. N. Priyalakshmi portrait consistently on home and doctors pages */
.th-v17 .th-home-doctor-section .th-v5-priya-card figure,
.th-v17 .doctors-hero .th-v5-priya-card figure{
  background:#f7edf2!important;
}
.th-v17 .th-home-doctor-section .th-v5-priya-card figure img,
.th-v17 .doctors-hero .th-v5-priya-card figure img{
  object-fit:cover!important;
  object-position:center 22%!important;
}
@media(max-width:560px){
  .th-v17 .th-home-doctor-section .th-v5-priya-card figure img,
  .th-v17 .doctors-hero .th-v5-priya-card figure img{
    object-position:center 18%!important;
  }
}

/* V19 — doctor image alignment improvements */

/* Home page: align all doctor cards to face crop more consistently */
.th-v17 .th-home-doctor-section .th-p12-home-card figure{
  background:#f8eef3!important;
}
.th-v17 .th-home-doctor-section .th-p12-home-card figure img{
  object-fit:cover!important;
}
.th-v17 #home-doctor-mohanapriya figure img{object-position:50% 14%!important;}
.th-v17 #home-doctor-srinithi figure img{object-position:50% 13%!important;}
.th-v17 #home-doctor-lakshmanan figure img{object-position:50% 14%!important;}
.th-v17 #home-doctor-priya-lakshmi figure img{object-position:50% 14%!important;}
@media(max-width:560px){
  .th-v17 #home-doctor-mohanapriya figure img{object-position:50% 12%!important;}
  .th-v17 #home-doctor-srinithi figure img{object-position:50% 12%!important;}
  .th-v17 #home-doctor-lakshmanan figure img{object-position:50% 12%!important;}
  .th-v17 #home-doctor-priya-lakshmi figure img{object-position:50% 12%!important;}
}

/* Doctors page: make photos larger and show more of each portrait */
.th-v17 .doctors-hero .th-p12-full-card figure{
  height:450px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  background:#f8eef3!important;
  padding:14px 14px 0!important;
}
.th-v17 .doctors-hero .th-p12-full-card figure img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center top!important;
}
@media(max-width:1100px){
  .th-v17 .doctors-hero .th-p12-full-card figure{height:420px!important;}
}
@media(max-width:680px){
  .th-v17 .doctors-hero .th-p12-full-card figure{height:390px!important;padding:12px 12px 0!important;}
}

/* SOURCE: assets/v13-cross-device-polish.css */
/* V13: cross-device polish; intentionally additive and reversible. */
html{scroll-padding-top:clamp(72px,8vw,112px)}
html,body{max-width:100%;overflow-x:clip}
img,video,svg{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #a54595!important;outline-offset:3px!important}
.booking-dialog{max-width:calc(100vw - 20px)!important}
.booking-close{min-width:44px!important;min-height:44px!important;top:8px!important;right:8px!important}
.booking-body{scrollbar-gutter:auto!important}
.booking-field input,.booking-field select,.booking-field textarea{max-width:100%;box-sizing:border-box}
@media(max-width:680px){
 .booking-dialog{max-height:min(80dvh,680px)!important}
 .booking-header{padding-right:54px!important}
 .booking-close{top:9px!important;right:9px!important}
 .booking-body{padding-bottom:max(20px,env(safe-area-inset-bottom,0px))!important}
 .booking-submit{min-height:48px!important}
 .header .header-in>a.header-helpline,.header .header-in>.mobile-toggle,.header .header-in>.social-ig{touch-action:manipulation}
 footer.th-mini-footer-v29 .th-footer-contact-links a{overflow-wrap:anywhere}
}
@media(max-width:380px){.booking-header h2{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* V21 hotfix: remove extra mobile gap above homepage hero and keep hero snug under header */
@media (max-width: 600px){
  body.th-v17.th25-core main{margin-top:0!important;padding-top:0!important}
  body.th-v17.th25-core #home.th-immersive-hero{margin-top:0!important;padding-top:0!important}
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-media{margin-top:0!important;min-height:470px!important;height:clamp(470px,74dvh,620px)!important;display:block!important}
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-main-photo{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:53% center!important;vertical-align:top!important}
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-content{padding-top:0!important;padding-bottom:24px!important;width:calc(100% - 28px)!important}
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-copy{margin-top:0!important}
}


/* V22 definitive full-bleed doctor portraits and mobile hero spacing */
@media (max-width:860px){
  body.th-v17.th25-core main#mainContent,
  body.th-v17.th25-core #home.th-immersive-hero{
    margin-top:0!important;
    padding-top:0!important;
  }
}
@media(max-width:600px){
  body.th-v17.th25-core #home.th-immersive-hero{
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  body.th-v17.th25-core #home.th-immersive-hero>.th-hero-media{
    height:clamp(620px,85dvh,740px)!important;
    min-height:620px!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
  }
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-main-photo{
    height:100%!important;
    width:100%!important;
    display:block!important;
    object-fit:cover!important;
    object-position:53% center!important;
  }
  body.th-v17.th25-core #home.th-immersive-hero .th-hero-content{
    inset:0!important;
    margin:0 auto!important;
    padding-top:0!important;
    padding-bottom:28px!important;
    align-items:flex-end!important;
    box-sizing:border-box!important;
  }
}
/* All doctors on their dedicated page: show larger natural portraits, edge to edge. */
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid .th-p12-full-card figure{
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  height:490px!important;
  min-height:0!important;
  display:block!important;
  overflow:hidden!important;
  border:0!important;
  line-height:0!important;
  background:#edc4d0!important;
}
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid .th-p12-full-card figure>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center 17%!important;
  transform:none!important;
  scale:none!important;
}
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid #doctor-mohanapriya figure>img{object-position:center 23%!important}
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid #doctor-srinithi figure>img{object-position:center 18%!important}
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid #doctor-lakshmanan figure>img{object-position:center 17%!important}
body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid #doctor-priya-lakshmi figure>img{object-position:center 16%!important}
@media(max-width:900px){
  body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid .th-p12-full-card figure{height:460px!important}
}
@media(max-width:680px){
  body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid .th-p12-full-card figure{height:420px!important}
}
@media(max-width:380px){
  body.th-v17.th25-core .doctors-hero .team-grid.th-p12-profile-grid .th-p12-full-card figure{height:390px!important}
}

