/* PMH V9.6 — product QA fixes: readable infographic mobile views and fixed CTA spacing */
[hidden] { display:none !important; }
@media(max-width:1024px){
  /* A single compact contact action plus an independent WhatsApp button; no three-button obstruction */
  body.pmh-program-page .sticky-mobile{left:12px!important;right:auto!important;bottom:max(12px, env(safe-area-inset-bottom))!important;width:auto!important;grid-template-columns:1fr!important;padding:0!important;z-index:2400!important}
  body.pmh-program-page .sticky-mobile .js-phone, body.pmh-program-page .sticky-mobile .js-wa{display:none!important}
  body.pmh-program-page .sticky-mobile .js-consult{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px!important;padding:0 16px!important;border-radius:999px!important;background:linear-gradient(115deg,#1e5aa8,#2cbec9)!important;color:white!important;font-size:14px!important}
  body.pmh-program-page .pmh-whatsapp-float{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;left:auto!important;min-width:48px!important;width:50px!important;height:50px!important;border-radius:50%!important;padding:4px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body.pmh-program-page .pmh-whatsapp-float strong{display:none!important}
  body.pmh-program-page .pmh-whatsapp-float>span{width:40px!important;height:40px!important;margin:0!important}
  body.pmh-program-page {padding-bottom:80px!important}
  body.pmh-procedure-route-open .sticky-mobile{display:none!important}
  .hero h1{font-size:clamp(2.04rem,8.1vw,2.42rem)!important;line-height:1.08!important;overflow-wrap:normal!important}

  /* Replace tiny absolutely positioned labels with readable source-text cards on phones. */
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-canvas{aspect-ratio:auto!important;height:auto!important;min-height:0!important;width:100%!important;background:linear-gradient(150deg,#fffef9,#f8f1e6)!important;border:1px solid #e2cfaa!important;isolation:auto!important;padding:22px 14px!important;overflow:visible!important;box-shadow:0 12px 32px rgba(15,43,70,.09)!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-bg, .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-logo{display:none!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-overlay{position:static!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:11px!important;pointer-events:auto!important;transform:none!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-heading{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;text-align:center!important;display:flex!important;align-items:center!important;gap:6px!important;margin-bottom:8px!important;padding:0 4px!important;overflow:visible!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-heading span{font-size:11px!important;padding:7px 12px!important;color:#8a6429!important;background:#fff!important;letter-spacing:.06em!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-heading h3{font-size:clamp(21px,5.5vw,26px)!important;line-height:1.18!important;color:#102d4a!important;text-shadow:none!important;background:none!important;box-shadow:none!important;border:0!important;white-space:normal!important;overflow:visible!important;padding:0!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-item,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-role,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;background:#fff!important;border:1px solid #e8dac2!important;border-radius:14px!important;padding:14px 15px!important;align-items:flex-start!important;text-align:left!important;overflow:visible!important;box-sizing:border-box!important;justify-content:flex-start!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-item strong,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-role strong,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth strong{font-size:16px!important;line-height:1.3!important;color:#102d4a!important;text-shadow:none!important;letter-spacing:normal!important;white-space:normal!important;overflow:visible!important;padding:0!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-item p,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-role p{font-size:14px!important;line-height:1.5!important;color:#53687b!important;text-shadow:none!important;padding:0!important;white-space:normal!important;overflow:visible!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth-left,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth-right,
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-role-title{position:static!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;padding:0!important;text-align:left!important;overflow:visible!important;align-items:initial!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth-right{border-top:1px solid #ecdfcb!important;margin-top:6px!important;padding-top:9px!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth-right strong{color:#13787d!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-footer{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;padding:10px 8px!important;margin:4px 0 0!important;font-size:13px!important;line-height:1.48!important;text-align:center!important;color:#725524!important;overflow:visible!important}
  .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded)>.pmh-ig-zoom{display:none!important}
}
@media(max-width:1024px){
 .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth .pmh-ig-myth-left{background:#fff8ec!important;color:#173656!important;border-radius:10px!important;padding:9px 11px!important}
 .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth .pmh-ig-myth-right{background:#edf8f7!important;color:#13585b!important;border-radius:10px!important;border-top:0!important;margin-top:4px!important;padding:10px 11px!important}
 .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth .pmh-ig-myth-right strong{color:#13585b!important;opacity:1!important;background:transparent!important;text-shadow:none!important;filter:none!important}
 .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-myth .pmh-ig-myth-left strong{color:#173656!important;opacity:1!important;background:transparent!important;text-shadow:none!important;filter:none!important}
 .pmh-ig-section .pmh-ig-shell:not(.pmh-ig-expanded) .pmh-ig-footer{background:transparent!important;border:none!important;box-shadow:none!important;color:#725524!important;text-shadow:none!important;opacity:1!important}
}

/* Never upscale clinical/educational source images in zoom dialogs. */
.image-modal .modal-box{max-width:min(1120px,96vw)!important;max-height:94dvh!important;overflow:auto!important}
.image-modal img{width:auto!important;max-width:100%!important;height:auto!important;max-height:80dvh!important;margin:10px auto!important;object-fit:contain!important;image-rendering:auto!important}
.pmh-lightbox-dialog img{width:auto!important;max-width:100%!important;height:auto!important;max-height:78dvh!important;object-fit:contain!important}
@media(max-width:680px){.image-modal .modal-box{width:calc(100vw - 20px)!important;padding:14px!important}.image-modal img{max-height:70dvh!important;margin:64px auto 14px!important}}
