/* Mobile navigation */
.top{position:relative;justify-content:flex-start!important;padding-right:3.75rem!important}
.menu-toggle{position:absolute;right:.75rem;top:50%;width:2.55rem;height:2.55rem;padding:0;transform:translateY(-50%);border:1px solid #d8e2ec;border-radius:.75rem;background:#fff;color:var(--brand);font-size:0}
.menu-toggle:before,.menu-toggle:after,.menu-toggle span{content:"";position:absolute;left:.65rem;right:.65rem;height:2px;border-radius:2px;background:currentColor;transition:.2s}
.menu-toggle:before{top:.72rem}.menu-toggle span{top:1.19rem}.menu-toggle:after{top:1.66rem}
.menu-toggle[aria-expanded="true"]:before{top:1.18rem;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] span{opacity:0}
.menu-toggle[aria-expanded="true"]:after{top:1.18rem;transform:rotate(-45deg)}
.nav{display:none;height:auto!important;margin:0 .5rem .5rem;border:1px solid var(--line);border-radius:.8rem;overflow:hidden!important;background:#fff!important}
.nav.is-open{display:block}
.nav>div{display:grid!important;grid-template-columns:repeat(2,1fr);width:100%!important;height:auto!important}
.nav a{min-width:0!important;height:2.75rem;border-right:1px solid #edf2f1!important;border-bottom:1px solid #edf2f1!important;color:#587078!important}
.nav a:nth-child(2n){border-right:0!important}.nav a:nth-last-child(-n+2){border-bottom:0!important}

/* Clean line icons for quick services */
.quick i{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;background:#edf3f8!important;color:var(--brand)!important;border:1px solid #d8e2ec;box-shadow:none!important}
.quick i:before{content:"";display:block!important;width:1.18rem;height:1.18rem;margin:0!important;flex:0 0 1.18rem;background-position:50% 50%;background-repeat:no-repeat;background-size:1.18rem 1.18rem}
.quick a:nth-child(1) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245a8d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M8 3v4m8-4v4M4 10h16m-8 3v4m-2-2h4'/%3E%3C/svg%3E")}
.quick a:nth-child(2) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245a8d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-4 7-10V5l-7-3-7 3v6c0 6 7 10 7 10Z'/%3E%3Cpath d='M9 12h6m-3-3v6'/%3E%3C/svg%3E")}
.quick a:nth-child(3) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245a8d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='m8.5 12 2.3 2.3 4.8-5'/%3E%3C/svg%3E")}
.quick a:nth-child(4) i:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245a8d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20v-2a4 4 0 0 1 4-4h1a4 4 0 0 1 4 4v2'/%3E%3Ccircle cx='12.5' cy='7' r='4'/%3E%3Cpath d='M5 11H2m1.5-1.5v3'/%3E%3C/svg%3E")}

/* Doctor card actions */
.doctor-card>div.doctor-actions{min-height:0!important;height:auto!important}
.doctor-card>div:not(.doctor-actions){min-width:0}
.doctor-card .tags{clear:none!important;margin:.3rem 0 .2rem!important;padding-top:0!important;flex-wrap:nowrap!important;overflow:hidden}
.doctor-card .tags i{flex:0 0 auto}
.doctor-card .specialty{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;max-height:2.25rem!important;overflow:hidden!important;line-height:1.55!important}
.doctor-actions{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:stretch!important;gap:.55rem!important}
.doctor-actions a{display:flex!important;height:2.45rem!important;min-height:0!important;padding:0 .5rem!important;align-items:center!important;justify-content:center!important;border-radius:1.25rem!important;line-height:1!important}
.doctor-actions a:last-child{border-color:var(--brand)!important;background:var(--brand)!important;color:#fff!important}

/* Unified footer palette */
.mobile-cta{border-color:#d8e2ec!important;background:#edf3f8!important;color:#17304a!important}
.mobile-cta a{background:var(--brand)!important;color:#fff!important}
.footer{border-top:1px solid #d8e2ec!important;background:#edf3f8!important;color:#587078!important}
.footer>b{color:#17304a!important}.footer small{color:#65777d!important;opacity:1!important}
.bottom{background:#fff!important}.bottom a{color:#587078!important}.bottom a:last-child{background:var(--brand)!important;color:#fff!important}

/* Homepage composition */
.hero{background-color:#edf3f8!important;background-size:cover!important;background-position:center!important}
.home-doctors{margin-top:.55rem!important}
.home-doctors .section-title{margin-bottom:.65rem!important}
.quick a{min-height:5.9rem;justify-content:center;background:#fff!important}
.quick i{width:2.55rem!important;height:2.55rem!important;background:linear-gradient(145deg,#3b82b4,#245a8d)!important;border:0!important}
.quick i:before{filter:brightness(0) invert(1)}
.quick b{margin-top:.12rem;font-size:.76rem!important}.quick span{font-size:.56rem!important}
.wide-btn{min-height:2.75rem!important;margin-top:.8rem!important;border:1px solid var(--brand)!important;background:#fff!important;color:var(--brand)!important;box-shadow:none!important}

/* Exact post-doctor modules from the supplied mobile reference */
.home-flow-card{margin:.65rem .55rem;padding:.9rem 1rem .35rem;border:1px solid #d8e2ec;border-radius:.8rem;background:#fff}
.home-flow-card h2{margin:0 0 .35rem;font-size:.94rem;color:#17304a}
.home-flow-row{display:flex;align-items:center;gap:.65rem;padding:.55rem 0;border-bottom:1px solid #e6eeec}
.home-flow-row:last-child{border-bottom:0}
.home-flow-row i{display:grid;flex:0 0 2rem;width:2rem;height:2rem;place-items:center;border-radius:.55rem;background:#edf3f8;color:#245a8d;font-size:.65rem;font-style:normal}
.home-flow-row p{margin:0;line-height:1.35}.home-flow-row b{display:block;font-size:.78rem}.home-flow-row span{display:block;margin-top:.12rem;color:#617387;font-size:.6rem}
.home-hospital-link{display:flex;align-items:center;gap:.7rem;margin:.65rem .55rem;padding:.7rem .85rem;border:1px solid #d8e2ec;border-radius:.8rem;background:#fff}
.home-hospital-link>i{display:grid;width:2.65rem;height:2.65rem;place-items:center;border-radius:.6rem;background:#edf3f8;color:#245a8d;font-size:1.15rem;font-style:normal}
.home-hospital-link span{flex:1;min-width:0;line-height:1.4}.home-hospital-link b{display:block;font-size:.75rem}.home-hospital-link small{display:block;color:#617387;font-size:.57rem}.home-hospital-link em{color:#3b82b4;font-size:1.2rem;font-style:normal}
.mobile-cta{display:block!important;margin:.8rem .55rem 1rem!important;padding:1rem!important;border:1px solid #d8e2ec!important;border-radius:1rem!important;background:linear-gradient(135deg,#f4f7fb,#edf3f8)!important;color:#17304a!important}
.mobile-cta small{font-size:.58rem!important;color:#617387!important}.mobile-cta b{margin:.12rem 0 .75rem;font-size:1rem!important}
.mobile-cta p{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:0}
.mobile-cta p a{display:flex!important;height:2.5rem!important;padding:0!important;align-items:center;justify-content:center;border:1px solid #245a8d;border-radius:1.3rem;background:#fff!important;color:#245a8d!important;font-size:.76rem;font-weight:700}
.mobile-cta p a:last-child{border-color:#245a8d;background:linear-gradient(90deg,#245a8d,#3b82b4)!important;color:#fff!important}
.bottom{height:3.7rem!important;border-top:1px solid #e3ecea!important;box-shadow:none!important}
.bottom a,.bottom a:last-child{background:#fff!important;color:#617387!important;font-size:.78rem;font-weight:400!important}
.bottom a:first-child{color:#245a8d!important}






