/* Original: helpline-landline.css */
/* Helpline landline: keep click-to-call accessible in the compact mobile header. */
@media (max-width: 860px) {
  .header .header-in > a.header-helpline {
    display: flex !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
  }
  .header .header-in > a.header-helpline::before {
    content: "☎";
    font-size: 17px !important;
    line-height: 1;
  }
}
@media (max-width: 650px) {
  .header .header-in > .social-ig {
    width: 33px !important;
    min-width: 33px !important;
    height: 33px !important;
    min-height: 33px !important;
  }
  .header .header-in > .mobile-toggle {
    width: 35px !important;
    min-width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
  }
}
@media (max-width: 355px) {
  .header .header-in { gap: 6px !important; }
  .header .header-in > a.th-review-header {
    padding: 5px 6px !important;
    font-size: 10px !important;
    min-width: 0 !important;
  }
}

/* Official landline contact in the hospital footer. */
.th-compact-footer .th-footer-landline {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 9px; row-gap: 2px;
  margin: 0 0 15px !important; color: #f8eaf8; font-size: 14px; line-height: 1.5;
}
.th-compact-footer .th-footer-landline-label { color: #ffe0b4; font-weight: 750; }
.th-compact-footer .th-footer-landline a {
  color: #fff !important; font-weight: 750; text-decoration: underline;
  text-underline-offset: 3px; overflow-wrap: anywhere;
}
.th-compact-footer .th-footer-landline a:hover { color: #ffe0b4 !important; }
.th-compact-footer .th-footer-landline a:focus-visible {
  outline: 2px solid #ffe0b4; outline-offset: 3px; border-radius: 2px;
}

/* Original: footer-mini-v29.css */
/* Thulir Hospital: ultra-compact contact footer, 18 October 2026.
   Restrained one-screen finish; no extra Explore links or repeated marketing copy. */
footer.footer.th-mini-footer-v29 { background:#6f276b!important; color:#fff!important; border-top:4px solid #f99500!important; padding:16px 0 10px!important; min-height:0!important; height:auto!important; }
footer.th-mini-footer-v29 .th-footer-layout { display:grid!important; grid-template-columns: minmax(135px,165px) minmax(0,1fr) minmax(165px,210px)!important; grid-template-rows:auto auto!important; grid-template-areas:'brand contact appointment' 'brand actions appointment'!important; gap:8px clamp(14px,2.4vw,34px)!important; align-items:center!important; justify-items:stretch!important; max-width:1160px!important; min-height:0!important; }
footer.th-mini-footer-v29 .th-footer-brand { grid-area:brand!important; align-self:center!important; min-width:0!important; display:block!important; }
footer.th-mini-footer-v29 .th-footer-brand .official-hospital-brand { padding:5px 7px!important; max-width:152px!important; border-radius:12px!important; display:inline-flex!important; background:#fff!important; }
footer.th-mini-footer-v29 .th-footer-brand .official-hospital-logo { width:137px!important; height:auto!important; max-height:none!important; }
footer.th-mini-footer-v29 .th-footer-contact { grid-area:contact!important; min-width:0!important; align-self:end!important; }
footer.th-mini-footer-v29 .th-footer-contact h2 { color:#fff!important; font-family:Georgia,serif!important; font-size:clamp(20px,1.8vw,25px)!important; letter-spacing:-.025em!important; line-height:1.12!important; margin:0 0 4px!important; }
footer.th-mini-footer-v29 .th-footer-contact p.th-footer-address { max-width:none!important; margin:0 0 5px!important; font-size:11.5px!important; line-height:1.42!important; color:#f9edf8!important; }
footer.th-mini-footer-v29 .th-footer-contact p.th-footer-landline { max-width:none!important; margin:0!important; padding:0!important; font-size:12.5px!important; line-height:1.4!important; display:flex!important; flex-wrap:wrap!important; gap:6px!important; color:#fff!important; }
footer.th-mini-footer-v29 .th-footer-landline-label { color:#ffe0b4!important; font-weight:750!important; }
footer.th-mini-footer-v29 .th-footer-landline a { color:#fff!important; font-weight:750!important; text-underline-offset:3px!important; }
footer.th-mini-footer-v29 .th-footer-contact-links { grid-area:actions!important; display:flex!important; flex-wrap:wrap!important; gap:6px!important; margin:0!important; align-self:start!important; min-width:0!important; }
footer.th-mini-footer-v29 .th-footer-contact-links a { min-width:0!important; display:inline-flex!important; justify-content:center!important; align-items:center!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; white-space:normal!important; text-decoration:none!important; text-align:center!important; }
footer.th-mini-footer-v29 .th-footer-contact-links a:hover { background:rgba(255,255,255,.20)!important; }
footer.th-mini-footer-v29 .v26-footer-enquire { grid-area:appointment!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; width:100%!important; max-width:210px!important; margin:0!important; padding:11px 9px!important; min-height:43px!important; align-self:center!important; justify-self:end!important; border-radius:12px!important; font-size:11.5px!important; font-weight:800!important; white-space:normal!important; }
footer.th-mini-footer-v29 .th-footer-bottom { display:flex!important; flex-wrap:wrap!important; justify-content:flex-start!important; align-items:center!important; gap:5px 17px!important; margin-top:12px!important; padding-top:7px!important; border-top:1px solid rgba(255,255,255,.17)!important; font-size:10.5px!important; line-height:1.35!important; min-height:0!important; color:#f6e8f4!important; }
footer.th-mini-footer-v29 .th-footer-bottom a { color:#fff!important; font-size:10.5px!important; text-decoration:underline!important; text-underline-offset:3px!important; }
footer.th-mini-footer-v29 .th-footer-emergency-inline { color:#ebd4e9!important; font-size:10.5px!important; }
@media (max-width:850px) and (min-width:641px) {
 footer.th-mini-footer-v29 .th-footer-layout { grid-template-columns:minmax(110px,140px) minmax(0,1fr)!important; grid-template-areas:'brand contact' 'appointment actions'!important; align-items:center!important; gap:9px 18px!important; }
 footer.th-mini-footer-v29 .v26-footer-enquire { justify-self:start!important; }
}
@media (max-width:640px) {
 footer.footer.th-mini-footer-v29 { padding:12px 0 8px!important; }
 footer.th-mini-footer-v29 .th-footer-layout { grid-template-columns:minmax(98px,118px) minmax(0,1fr)!important; grid-template-rows:auto auto auto!important; grid-template-areas:'brand contact' 'actions actions' 'appointment appointment'!important; gap:9px 12px!important; align-items:center!important; }
 footer.th-mini-footer-v29 .th-footer-brand { align-self:start!important; display:block!important; }
 footer.th-mini-footer-v29 .th-footer-brand .official-hospital-brand { max-width:112px!important; padding:3px 5px!important; border-radius:9px!important; }
 footer.th-mini-footer-v29 .th-footer-brand .official-hospital-logo { width:101px!important; }
 footer.th-mini-footer-v29 .th-footer-contact { align-self:start!important; }
 footer.th-mini-footer-v29 .th-footer-contact h2 { font-size:19px!important; margin:0 0 3px!important; }
 footer.th-mini-footer-v29 .th-footer-contact p.th-footer-address { font-size:10.5px!important; line-height:1.4!important; margin:0 0 4px!important; padding:0!important; }
 footer.th-mini-footer-v29 .th-footer-contact p.th-footer-landline { font-size:11px!important; margin:0!important; padding:0!important; }
 footer.th-mini-footer-v29 .th-footer-contact-links { width:100%!important; display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:6px!important; }
 footer.th-mini-footer-v29 .th-footer-contact-links a { min-height:40px!important; padding:7px 4px!important; font-size:10px!important; white-space:normal!important; grid-column:auto!important; }
 footer.th-mini-footer-v29 .v26-footer-enquire { max-width:none!important; width:100%!important; justify-self:stretch!important; min-height:40px!important; }
 footer.th-mini-footer-v29 .th-footer-bottom { margin-top:8px!important; padding-top:7px!important; gap:4px 13px!important; font-size:10px!important; }
 footer.th-mini-footer-v29 .th-footer-emergency-inline { width:100%!important; font-size:9.7px!important; }
}
@media (max-width:355px) {
 footer.th-mini-footer-v29 .th-footer-layout { grid-template-columns:minmax(88px,98px) minmax(0,1fr)!important; gap:8px 10px!important; }
 footer.th-mini-footer-v29 .th-footer-brand .official-hospital-brand { max-width:96px!important; }
 footer.th-mini-footer-v29 .th-footer-brand .official-hospital-logo { width:88px!important; }
 footer.th-mini-footer-v29 .th-footer-contact-links { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
 footer.th-mini-footer-v29 .th-footer-contact-links a { font-size:9.3px!important; }
}

/* Original: ui-polish-v2.css */

/* Thulir Hospital V2 polish: mobile helpline alignment + refined desktop/mobile UI */
:root{
  --th-v2-plum:#8d378a;
  --th-v2-plum-dark:#772d74;
  --th-v2-soft:#f7eef7;
  --th-v2-border:#ead9e7;
  --th-v2-shadow:0 14px 34px rgba(88,36,85,.08);
}
html{overflow-x:hidden}
body{overflow-x:hidden;text-rendering:optimizeLegibility}
img{height:auto}

/* Desktop / laptop header polish */
@media (min-width: 1180px){
  .header{backdrop-filter:saturate(1.08) blur(7px)}
  .header .header-in{
    width:min(calc(100% - 56px), 1460px)!important;
    min-height:72px!important;
    gap:14px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
  .header .official-hospital-logo{width:124px!important}
  .header .nav-complete{gap:14px!important}
  .header .nav-complete>a{
    font-size:12px!important;
    padding:6px 0!important;
    letter-spacing:.01em;
  }
  .header .social-ig{width:36px!important;height:36px!important;min-width:36px!important;border-radius:12px!important}
  .header .th-review-header{min-height:36px!important;padding:7px 12px!important}
  .header .header-helpline{min-height:36px!important;padding:9px 13px!important}
}

@media (min-width: 1081px) and (max-width: 1179px){
  .header .header-in{
    width:min(calc(100% - 44px), 1220px)!important;
    gap:10px!important;
    min-height:68px!important;
  }
  .header .official-hospital-logo{width:118px!important}
  .header .nav-complete{gap:10px!important}
  .header .nav-complete>a{font-size:10.9px!important}
  .header .th-review-header{padding:7px 11px!important}
}

/* General layout polish */
.hero,.p24-home-preview,.section{scroll-margin-top:92px}
@media (min-width: 992px){
  .hero-grid{gap:56px!important}
  .service-card,.team-card,.doctor-card,.tool-card,.resource-card,
  .pregnancy-card,.diet-card,.gallery-card,.trim-card{
    box-shadow:0 10px 28px rgba(79,38,72,.04);
  }
  .service-card:hover,.team-card:hover,.doctor-card:hover,.resource-card:hover,.gallery-card:hover{
    box-shadow:var(--th-v2-shadow);
  }
  .th25-home-feature .container,
  .section>.container,
  main>.container{width:min(calc(100% - 56px), 1260px)!important}
}

/* Helpline icon fix */
.header .header-in > a.header-helpline{position:relative;overflow:hidden}
.header .header-in > a.header-helpline > span[aria-hidden="true"]{display:none!important}
@media (max-width: 860px){
  .header .header-in > a.header-helpline{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:999px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid rgba(141,55,138,.14)!important;
    background:linear-gradient(180deg,#a843a4,#8d378a)!important;
    box-shadow:0 10px 20px rgba(141,55,138,.22)!important;
    font-size:0!important;
    color:#fff!important;
    line-height:1!important;
    vertical-align:middle!important;
  }
  .header .header-in > a.header-helpline::before{
    content:""!important;
    display:block!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:18px 18px!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.09 5.18 2 2 0 0 1 5.06 3h3a2 2 0 0 1 2 1.72c.12.9.35 1.78.68 2.62a2 2 0 0 1-.45 2.11L9.1 10.63a16 16 0 0 0 4.27 4.27l1.18-1.19a2 2 0 0 1 2.11-.45c.84.33 1.72.56 2.62.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")!important;
  }
}
@media (max-width: 650px){
  .header .header-in{
    width:calc(100% - 24px)!important;
    min-height:72px!important;
    gap:8px!important;
  }
  .header .brand-stack{margin-right:auto!important}
  .header .official-hospital-logo{width:110px!important}
  .header .header-in>.social-ig{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    border-radius:14px!important;
  }
  .header .header-in>a.th-review-header{
    min-height:38px!important;
    padding:7px 12px!important;
    gap:4px!important;
    border-radius:999px!important;
    font-size:11px!important;
    box-shadow:none!important;
  }
  .header .mobile-toggle{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    border-radius:14px!important;
  }
  .header .nav-complete.open{
    top:100%!important;
    border-top:1px solid #f1e6ef!important;
    border-radius:0 0 18px 18px!important;
    padding:12px 14px 18px!important;
  }
  .header .nav-complete.open>a{
    border-radius:12px!important;
    padding:12px 12px!important;
    margin-bottom:3px!important;
  }
  .float-whatsapp{
    right:14px!important;
    bottom:16px!important;
    border-radius:18px!important;
    box-shadow:0 16px 34px rgba(18,83,48,.22)!important;
  }
  .wa-label{font-size:14px!important}
  .growth-rail{right:8px!important}
}
@media (max-width: 420px){
  .header .header-in > a.th-review-header{padding:7px 10px!important;font-size:10.5px!important}
}
@media (max-width: 370px){
  .header .official-hospital-logo{width:98px!important}
  .header .header-in > a.th-review-header{padding:6px 8px!important;font-size:9.8px!important}
  .header .header-in>.social-ig,.header .header-in>.header-helpline,.header .mobile-toggle{
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  }
}

/* Page rhythm and footer polish on mobile */
@media (max-width: 860px){
  .hero{padding-top:42px!important;padding-bottom:44px!important}
  .p24-home-preview,.section{padding-top:30px!important;padding-bottom:32px!important}
  .button-row,.hero .button-row{gap:10px!important}
  .service-card,.team-card,.doctor-card,.resource-card,.trim-card{border-radius:20px!important}
  .footer .th-footer-layout{gap:16px!important}
  .th-footer-bottom{gap:8px!important;row-gap:8px!important}
}

/* Footer compactness on larger screens */
@media (min-width: 900px){
  .th-footer-layout{
    grid-template-columns:minmax(180px,.72fr) minmax(280px,1fr) minmax(280px,.95fr) auto!important;
    align-items:center!important;
    column-gap:22px!important;
  }
  .th-footer-contact h2{margin-bottom:10px!important}
  .th-footer-contact-links{gap:10px!important}
}

