/* Single-pass targeted UX fixes: doctor portraits, Check-Up geometry, physician contact CTAs */
/* Portraits: show the entire head, without enlarging or cropping the face. */
.page-doctors .doctor-portrait-standin {height:265px!important;min-height:265px!important;overflow:hidden!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;background:#eff1ed!important}
.page-doctors .doctor-portrait-standin img {display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important;transform:none!important;margin:0!important}
.doctor-profile-photo{width:230px!important;max-width:100%;height:300px!important;object-fit:contain!important;object-position:center top!important;background:#f0f0ec!important}
/* Profile links should be editorial, not heavy navigation labels. */
.page-doctors .doctor-link,.page-doctors a[href*="/doctors/"] {font-family:inherit!important;font-size:14px!important;font-weight:450!important;letter-spacing:.01em!important;line-height:1.5!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important}
.page-doctors .doctor-link:hover{color:#a4875e!important}
/* All home page Check-Up entries share the same card size and unselected appearance. */
.page-home .cards:has(.hpt-checkup-uniform) {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:22px!important}
.page-home .cards:has(.hpt-checkup-uniform)>.hpt-checkup-uniform {grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important;min-height:290px!important;background:#fff!important;border:1px solid #e4ded5!important;border-radius:4px!important;color:#102b3b!important;padding:28px!important;box-shadow:none!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;transition:background .22s ease,color .22s ease,box-shadow .22s ease,border-color .22s ease!important}
.page-home .cards .hpt-checkup-uniform h3,.page-home .cards .hpt-checkup-uniform p{color:#102b3b!important}
.page-home .cards .hpt-checkup-uniform a{margin-top:auto!important;color:#9a774a!important}
.page-home .cards .hpt-checkup-uniform:hover,.page-home .cards .hpt-checkup-uniform:focus-within {background:#103142!important;border-color:#bfa477!important;box-shadow:0 16px 34px rgba(8,35,51,.14)!important}
.page-home .cards .hpt-checkup-uniform:hover h3,.page-home .cards .hpt-checkup-uniform:hover p,.page-home .cards .hpt-checkup-uniform:hover a,.page-home .cards .hpt-checkup-uniform:focus-within h3,.page-home .cards .hpt-checkup-uniform:focus-within p,.page-home .cards .hpt-checkup-uniform:focus-within a{color:#fff!important;opacity:1!important}
.doctor-contact-email,.doctor-contact-wa{font-weight:500!important;letter-spacing:0!important;line-height:1.4!important;white-space:normal!important}
@media(max-width:850px){.page-home .cards:has(.hpt-checkup-uniform){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.page-home .cards:has(.hpt-checkup-uniform){grid-template-columns:1fr!important}.page-home .cards .hpt-checkup-uniform{min-height:245px!important}}
@media(prefers-reduced-motion:reduce){.hpt-checkup-uniform{transition:none!important}}
