/* Thulir Hospital / approved dual-contact header & footer. 2026-11-26. */
.header .header-in>.th-header-call{display:inline-flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important;text-decoration:none!important;color:#682664!important;background:#fff!important;border:1px solid #ead7e8!important;border-radius:14px!important;padding:6px 10px!important;min-width:0!important;min-height:43px!important;white-space:nowrap!important;box-sizing:border-box!important}
.header .header-in>.th-header-call .th-hc-icon{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:10px!important}
.header .th-header-call svg{width:19px!important;height:19px!important;display:block!important}
.header .th-header-call-mobile .th-hc-icon{background:#95328c!important;color:#fff!important}
.header .th-header-call-land .th-hc-icon{background:#f7eaf5!important;color:#95328c!important}
.header .th-hc-copy{display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.15!important}
.header .th-hc-copy small{font-size:10px!important;font-weight:500!important;color:#806d82!important}
.header .th-hc-copy strong{font-size:12px!important;font-weight:800!important;color:#692663!important;letter-spacing:0!important}
.header .th-header-call:focus-visible,footer .th-footer-phone:focus-visible{outline:3px solid #f99500!important;outline-offset:2px!important}
.header .th-header-call:hover{background:#fff7fc!important;border-color:#bf86bb!important}
footer.th-mini-footer-v29 .th-footer-phone-list{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 14px!important;margin:7px 0 0!important;min-width:0!important}
footer.th-mini-footer-v29 .th-footer-phone{display:inline-flex!important;align-items:center!important;gap:8px!important;text-decoration:none!important;color:#fff!important;min-height:36px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:9px!important;padding:5px 9px!important;background:rgba(255,255,255,.07)!important;min-width:0!important}
footer.th-mini-footer-v29 .th-footer-phone:hover{background:rgba(255,255,255,.2)!important}
footer.th-mini-footer-v29 .th-fp-icon{display:grid!important;place-items:center!important;flex:0 0 23px!important;color:#fff!important}
footer.th-mini-footer-v29 .th-fp-icon svg{width:20px!important;height:20px!important}
footer.th-mini-footer-v29 .th-fp-copy{display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.2!important}
footer.th-mini-footer-v29 .th-fp-copy small{font-size:10px!important;color:#f4cee9!important}
footer.th-mini-footer-v29 .th-fp-copy strong{font-size:12.5px!important;color:#fff!important;font-weight:800!important;white-space:nowrap!important}
/* Use a second nav row on larger screens to preserve spacing with both numbers. */
@media(min-width:1200px){
 .header .header-in{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;width:calc(100% - 36px)!important;max-width:1820px!important;min-height:0!important;height:auto!important;gap:7px 12px!important;padding:9px 0 6px!important}
 .header .header-in>.brand-stack{order:0!important;flex:0 0 auto!important;margin-right:auto!important}
 .header .header-in>.social-ig{order:2!important;margin:0!important;flex:0 0 auto!important}
 .header .header-in>.th-review-header{order:3!important;margin:0!important;flex:0 0 auto!important}
 .header .header-in>.th-header-call-mobile{order:4!important}
 .header .header-in>.th-header-call-land{order:5!important}
 .header .header-in>.mobile-toggle{display:none!important}
 .header .header-in>nav.nav-complete{order:10!important;position:static!important;display:flex!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;justify-content:center!important;gap:clamp(8px,1.55vw,24px)!important;margin:0!important;padding:7px 0!important;min-width:0!important}
 .header .header-in>nav.nav-complete>a{font-size:clamp(10.5px,.87vw,13px)!important;white-space:nowrap!important}
}
/* Tablet and phone: keep approved compact icons, with menu and nav popup working normally. */
@media(max-width:1199px){
 .header .header-in{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-height:60px!important;height:auto!important;gap:6px!important;width:calc(100% - 24px)!important;max-width:none!important;margin-inline:auto!important;padding:8px 0!important}
 .header .header-in>.brand-stack{order:0!important;flex:0 0 auto!important;min-width:0!important;margin-right:auto!important}
 .header .header-in>nav.nav-complete{display:none!important}
 .header .header-in>nav.nav-complete.open{display:flex!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;flex-direction:column!important;align-items:stretch!important;background:#fff!important;z-index:60!important}
 .header .header-in>.social-ig{order:2!important;flex:0 0 auto!important;margin:0!important}
 .header .header-in>.th-review-header{order:3!important;flex:0 0 auto!important;margin:0!important}
 .header .header-in>.th-header-call-mobile{order:4!important}
 .header .header-in>.th-header-call-land{order:5!important}
 .header .header-in>.mobile-toggle{order:6!important;display:flex!important;flex:0 0 auto!important}
 .header .header-in>.th-header-call{min-height:0!important;padding:0!important;border:0!important;background:transparent!important}
 .header .header-in>.th-header-call .th-hc-icon{width:37px!important;height:37px!important;flex:0 0 37px!important;border-radius:50%!important}
 .header .th-header-call-land .th-hc-icon{border:1px solid #dbc2d8!important}
 .header .th-hc-copy{display:none!important}
 footer.th-mini-footer-v29 .th-footer-phone-list{gap:5px 8px!important}
}
@media(max-width:650px){
 .header .header-in{gap:5px!important}
 .header .header-in>.brand-stack .official-hospital-logo{width:clamp(96px,26vw,119px)!important;max-width:100%!important}
 .header .header-in>.social-ig{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
 .header .header-in>.th-review-header{padding:6px 7px!important;font-size:10.5px!important;min-height:36px!important;gap:2px!important}
 .header .header-in>.th-header-call .th-hc-icon{width:36px!important;height:36px!important;flex:0 0 36px!important}
 .header .header-in>.mobile-toggle{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:6px!important}
 footer.th-mini-footer-v29 .th-footer-phone-list{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important}
 footer.th-mini-footer-v29 .th-footer-phone{min-width:0!important;width:100%!important;padding:5px 6px!important;min-height:37px!important}
 footer.th-mini-footer-v29 .th-fp-icon{flex-basis:18px!important}
 footer.th-mini-footer-v29 .th-fp-icon svg{width:17px!important;height:17px!important}
 footer.th-mini-footer-v29 .th-fp-copy strong{font-size:clamp(10.5px,3vw,12.5px)!important}
 footer.th-mini-footer-v29 .th-fp-copy small{font-size:9px!important}
}
@media(max-width:380px){
 .header .header-in{gap:3px!important;width:calc(100% - 16px)!important}
 .header .header-in>.brand-stack .official-hospital-logo{width:clamp(83px,25vw,97px)!important}
 .header .header-in>.social-ig{width:30px!important;height:32px!important;min-width:30px!important;min-height:32px!important}
 .header .header-in>.th-review-header{padding:5px!important;font-size:9px!important;min-height:32px!important}
 .header .header-in>.th-header-call .th-hc-icon{width:31px!important;height:32px!important;flex:0 0 31px!important}
 .header .header-in>.mobile-toggle{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
}

/* Avoid logo/contact-heading collision on very narrow phones. */
@media(max-width:370px){
 footer.th-mini-footer-v29 .th-footer-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;grid-template-areas:'brand' 'contact' 'actions' 'appointment'!important;gap:7px!important}
 footer.th-mini-footer-v29 .th-footer-brand{justify-self:start!important}
 footer.th-mini-footer-v29 .th-footer-contact{width:100%!important;min-width:0!important}
 footer.th-mini-footer-v29 .th-footer-phone-list{max-width:100%!important}
}
