/* Final responsive correction layer. Original palette, content and components retained. */
*,*::before,*::after {box-sizing:border-box}
img,video {max-width:100%}
input,select,textarea {max-width:100%;min-width:0}
button,a,input,select,textarea {touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #1d6fa8;outline-offset:4px}
section[id] {scroll-margin-top:110px}
.site-container {width:100%;min-width:0}
.section-space {position:relative;clear:both}
.program-grid,.about-grid,.form-grid {min-width:0}
.program-box,.doctor-card,.managed-content-card,.managed-testimonial-card {height:100%;min-width:0;overflow-wrap:anywhere}
.program-grid {align-items:stretch!important;grid-auto-rows:1fr}
.program-box {display:flex!important;flex-direction:column}
.program-box img {width:100%;aspect-ratio:16/10;object-fit:cover}
.managed-content-card img {width:100%;height:220px;object-fit:cover}
.managed-content-body {flex:1;padding:20px}
#news .news-viewport {min-height:0!important;height:auto!important;padding-bottom:16px!important}
#news .news-track {align-items:stretch!important;gap:22px!important}
#news .news-card-item {display:flex!important;flex:0 0 calc((100% - 44px)/3)!important;min-width:0!important;height:550px!important}
#news .social-news-card {display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important}
#news .social-card-header {flex:0 0 64px;min-height:64px}
#news .social-post-slider {flex:1!important;width:100%!important;min-height:0!important;height:auto!important}
#news .social-post-slide {height:100%!important;min-height:0!important}
#news .social-post-slide .card-media-wrapper {width:100%!important;height:250px!important;flex:0 0 250px!important;overflow:hidden}
#news .social-post-slide .card-media-wrapper img,#news .social-post-slide .card-media-wrapper video {width:100%!important;height:100%!important;object-fit:cover!important}
#news .social-slide-copy {flex:1;min-height:0;overflow:auto;padding:16px!important;overflow-wrap:anywhere}
#news .social-slide-copy strong {display:block;font-size:1rem;line-height:1.4}
#news .social-slide-copy p {font-size:.9375rem;line-height:1.5;margin:8px 0}
#news .platform-action-bar {flex:0 0 40px;min-height:40px}
#news .social-post-empty {height:100%;display:flex;align-items:center;justify-content:center}
#news [hidden] {display:none!important}
.gallery-slide-static img,.gallery-slide-mobile img {width:100%;height:100%;object-fit:cover}
.table-wrap,.table-responsive {max-width:100%;overflow-x:auto}
.admin-main,.admin-content,.admin-panel {min-width:0}
@media(max-width:1199.98px) {
 body.homepage {padding-top:0!important}
 body.homepage .main-nav {position:fixed!important;top:0!important;width:calc(100% - 24px)!important;left:12px!important;right:12px!important;margin:12px 0 0!important;background:transparent!important;backdrop-filter:none!important;box-shadow:none!important;z-index:1050!important}
 body.homepage .main-nav.nav-scrolled {background:#fff!important;border-color:#e2e8f0!important;box-shadow:0 4px 18px #0d2a4e16!important}
 .main-nav .navbar-brand {min-width:0!important;max-width:calc(100% - 58px)!important;margin-right:0!important}
 body.homepage .main-nav .dynamic-logo-img,.main-nav .dynamic-logo-img {width:auto!important;height:44px!important;max-width:100%!important;margin-left:0!important;transform:none!important;object-fit:contain!important}
 .main-nav .mobile-menu-panel {background:#fff!important;max-height:calc(100dvh - 110px);overflow-y:auto;border-radius:18px}
 .main-nav .mobile-menu-panel .nav-link {color:#0d2a4e!important}
 .main-nav.nav-scrolled .mobile-menu-toggle-line {background:#0d2a4e!important}
 #home.hero-v2 {display:none!important}
 #responsiveHero {display:block!important;position:relative;isolation:isolate;overflow:hidden;margin:0!important;padding:0 0 32px!important;background:#0d2a4e!important}
 #responsiveHero .carousel-inner {height:auto!important}
 #responsiveHero .carousel-item img {width:100%!important;height:auto!important;display:block;object-fit:contain}
 #responsiveHero > div:last-child {position:relative!important;margin:-22% auto 0!important;padding:0 20px!important;max-width:700px}
 #responsiveHero h1,#responsiveHero h2 {font-size:clamp(1.2rem,3.1vw,1.8rem)!important;line-height:1.3!important;margin:0!important}
 #responsiveHero h3 {font-size:clamp(1.15rem,2.7vw,1.6rem)!important;line-height:1.35!important}
 #responsiveHero p {font-size:clamp(.875rem,1.8vw,1rem)!important;line-height:1.5!important}
 #responsiveHero a {width:100%!important;min-height:48px!important;font-size:.9375rem!important;white-space:normal!important}
 #responsiveHero > div:last-child > div:last-child {max-width:360px!important;align-items:stretch!important}
 .site-container {padding-left:24px!important;padding-right:24px!important}
 .section-heading .section-title,#mobile-about-title {white-space:normal!important;font-size:clamp(1.55rem,3.3vw,2.2rem)!important;line-height:1.3!important}
 .section-heading p {font-size:1rem!important;line-height:1.6!important}
 .section-space {padding-top:36px!important;padding-bottom:36px!important}
 .hero-doctor-quals {white-space:normal!important}
 .form-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* About grid collapses to single column only on mobile (< 768px) */
@media(max-width:767.98px) {
 .about-grid {grid-template-columns:1fr!important}
}
@media(min-width:576px) and (max-width:1199.98px) {
 /* Recompose the existing portrait for tablets without stretching the artwork. */
 #responsiveHero {padding-top:0!important}

 #responsiveHero > div:last-child {margin:-410px auto 0!important;padding-bottom:12px!important}
 #responsiveHero::after {content:'';position:absolute;inset:40% 0 0;z-index:0;pointer-events:none;background:linear-gradient(transparent,#0d2a4e 72%)}
 #responsiveHero > div:last-child {z-index:2!important}
 .program-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .footer-bottom-bar {display:none!important}
}
@media(min-width:576px) and (max-width:991.98px) {
 #news .news-card-item {flex-basis:calc((100% - 22px)/2)!important;height:540px!important}
 #news .social-post-slide .card-media-wrapper {height:240px!important;flex-basis:240px!important}
}
@media(max-width:575.98px) {
 .site-container {padding-left:16px!important;padding-right:16px!important}
 .section-space {padding-top:28px!important;padding-bottom:28px!important}
 #responsiveHero > div:last-child {margin:-23% auto 0!important}
 #news .news-track {gap:14px!important}
 #news .news-card-item {flex-basis:100%!important;height:540px!important}
 #news .social-post-slide .card-media-wrapper {height:240px!important;flex-basis:240px!important}
 #news .news-controls {display:flex!important;justify-content:center;gap:12px}
 .program-grid {grid-template-columns:1fr!important;grid-auto-rows:1fr}
 .activity-mobile-card {flex:0 0 100%!important;min-width:0;align-self:stretch;height:auto!important}
 .form-grid {grid-template-columns:1fr!important}
 .form-group.full {grid-column:1/-1}
 input,select,textarea,.login-field {font-size:16px!important}
 .admin-login {padding:20px 12px!important}
 .login-card {width:100%!important;max-width:440px!important;padding:24px 20px!important}
 .form-actions {flex-wrap:wrap;gap:12px}
 .admin-header {flex-wrap:wrap;gap:12px}
 .testimonial-slide {overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto!important} *,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important}}

[hidden] {display:none!important}
#news .social-news-card > header {height:64px!important;min-height:64px!important;flex:0 0 64px!important}
.doctor-grid {align-items:stretch!important}
.doctor-profile {display:flex!important;flex-direction:column!important;min-height:530px!important}
.doctor-profile .doctor-image {height:280px!important;min-height:280px!important;flex:0 0 280px!important;overflow:hidden}
.doctor-profile .doctor-image img {width:100%!important;height:100%!important;object-fit:cover!important}
.doctor-info {flex:1;display:flex;flex-direction:column;min-height:250px!important}
.doctor-info p {margin-top:auto!important}
@media (max-width:1199.98px) {
 .main-nav .mobile-menu-panel {position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;width:100%!important}
 .main-nav .mobile-menu-panel.is-open {display:block!important}
 .main-nav .mobile-menu-panel .navbar-nav {display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:4px!important}
 .main-nav .mobile-menu-panel .nav-link {padding:12px 18px!important;min-height:44px}
}
@media(max-width:575.98px) {
 #responsiveHero .carousel-item img {height:145vw!important;object-fit:cover!important;object-position:center top!important}
 #responsiveHero > div:last-child {margin:-25px auto 0!important}
}
