/* Shared Medical layout, with a section-specific palette. */
body #navbar.nav-reference.shared-nav { --nav-ink:#153849; --nav-accent:#145e7a; --nav-surface:#fff; --nav-soft:#edf4f7; --nav-border:#cadde6; position:fixed; inset:0 0 auto; background:var(--nav-surface)!important; border-bottom:1px solid var(--nav-border)!important; box-shadow:0 3px 16px #1538490a!important; backdrop-filter:none!important; }
body.wl #navbar.nav-reference.shared-nav { --nav-ink:#2d4334; --nav-accent:#49664b; --nav-surface:#faf8f3; --nav-soft:#edf1e8; --nav-border:#d6dece; }
body #navbar.nav-reference.shared-nav::before { content:none!important; }
body #navbar.nav-reference.shared-nav .nav-utility { display:block!important; background:var(--nav-accent)!important; color:#fff; }
body #navbar.nav-reference.shared-nav .nav-utility-inner { display:flex!important; justify-content:space-between; align-items:center; width:84%; max-width:1720px; min-height:28px!important; margin:auto; gap:16px; padding:0; }
body #navbar.nav-reference.shared-nav .nav-utility :is(p,a) { font-size:11px; color:#fff; margin:0; }
body #navbar.nav-reference.shared-nav .nav-utility-contact { display:flex; align-items:center; gap:12px; }
body #navbar.nav-reference.shared-nav .nav-inner { display:flex!important; align-items:center; width:84%!important; max-width:1720px!important; margin:auto!important; padding:0!important; gap:14px!important; height:66px!important; position:static; }
body #navbar.nav-reference.shared-nav .nav-logo { display:flex!important; width:auto!important; min-width:0; flex:0 0 auto; align-items:center; gap:7px!important; padding:0!important; background:transparent!important; border:0!important; box-shadow:none!important; }
body #navbar.nav-reference.shared-nav .nav-brand-mark { display:grid; place-items:center; flex:0 0 44px!important; width:44px!important; height:46px!important; overflow:hidden; direction:ltr; }
body #navbar.nav-reference.shared-nav .nav-brand-mark img { display:block; width:126px!important; max-width:none!important; height:auto!important; margin:0 auto 0 0!important; }
body #navbar.nav-reference.shared-nav .nav-brand-name { display:inline!important; color:var(--nav-ink)!important; font-family:'DM Sans',sans-serif; font-size:21px!important; font-weight:700; white-space:nowrap; letter-spacing:-.045em; line-height:1.1; }
body #navbar.nav-reference.shared-nav .nav-brand-name em { color:var(--nav-accent)!important; font-style:normal; font-weight:500; }
body #navbar.nav-reference.shared-nav .nav-brand-mode { flex:0 0 auto; position:static!important; }
body #navbar.nav-reference.shared-nav .nav-brand-mode .rd-switch { display:inline-flex!important; position:static!important; width:auto!important; min-height:36px!important; padding:3px!important; margin:0!important; gap:0; border:1px solid var(--nav-border)!important; border-radius:22px!important; background:var(--nav-soft)!important; box-shadow:none!important; }
body #navbar.nav-reference.shared-nav .nav-brand-mode .rd-switch > span { display:flex!important; justify-content:center; align-items:center; gap:4px; padding:5px 8px!important; min-height:28px!important; color:var(--nav-ink)!important; font-size:11px!important; font-weight:600; border-radius:18px!important; }
body #navbar.nav-reference.shared-nav .nav-brand-mode .rd-switch > span.is-on { background:var(--nav-accent)!important; color:#fff!important; box-shadow:none!important; }
body #navbar.nav-reference.shared-nav .nav-brand-mode img { width:14px!important; height:14px!important; }
body #navbar.nav-reference.shared-nav .nav-links { display:flex!important; position:static!important; flex:1 1 auto; min-width:0; align-items:center; margin:0 0 0 auto!important; padding:0!important; max-height:none; background:transparent!important; border:0!important; box-shadow:none!important; overflow:visible; }
body #navbar.nav-reference.shared-nav .nav-primary { display:flex; align-items:center; list-style:none; gap:12px; margin:0; padding:0; border:0; box-shadow:none; background:transparent; backdrop-filter:none; }
body #navbar.nav-reference.shared-nav .nav-primary :is(a,summary) { display:flex; align-items:center; min-height:40px; padding:0!important; color:var(--nav-ink)!important; background:transparent; font-size:12px!important; font-weight:600; white-space:nowrap; }
body #navbar.nav-reference.shared-nav .nav-support { display:none!important; }
body #navbar.nav-reference.shared-nav .nav-actions { display:flex!important; align-items:center; gap:6px!important; margin:0!important; flex:0 0 auto; }
body #navbar.nav-reference.shared-nav .nav-actions > :is(.nav-cta,.medical-nav-whatsapp,.wellness-nav-whatsapp,.telegram-link) { min-height:40px!important; }
body #navbar.nav-reference.shared-nav .nav-search-link,body #navbar.nav-reference.shared-nav .mobile-menu-btn { display:flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px!important; height:40px; min-height:40px!important; min-width:40px!important; margin:0; padding:8px!important; border:1px solid var(--nav-border)!important; border-radius:50%; background:var(--nav-surface)!important; box-shadow:none!important; color:var(--nav-ink)!important; }
body #navbar.nav-reference.shared-nav .nav-actions .nav-cta { display:inline-flex; padding:9px 12px!important; border-radius:12px!important; background:var(--nav-accent)!important; color:#fff!important; font-size:12px!important; white-space:nowrap; box-shadow:none!important; }
body #navbar.nav-reference.shared-nav .lang-switch > summary { min-height:40px; padding:6px 2px!important; font-size:12px!important; color:var(--nav-ink)!important; }
body #navbar.nav-reference.shared-nav .mobile-menu-btn { display:none!important; }
body #navbar.nav-reference.shared-nav .nav-guide-menu,body #navbar.nav-reference.shared-nav .lang-switch-menu { background:var(--nav-surface)!important; border:1px solid var(--nav-border); }
body #navbar.nav-reference.shared-nav .nav-guide-menu a { padding:10px 12px!important; }
@media(max-width:1350px) {
 body #navbar.nav-reference.shared-nav .nav-inner { width:92%!important; gap:10px!important; }
 body #navbar.nav-reference.shared-nav .nav-brand-name { font-size:19px!important; }
 body #navbar.nav-reference.shared-nav .nav-primary { gap:9px; }
 body #navbar.nav-reference.shared-nav .nav-primary :is(a,summary) { font-size:11px!important; }
 body #navbar.nav-reference.shared-nav .nav-actions > :is(.medical-nav-whatsapp,.wellness-nav-whatsapp,.telegram-link) { display:none!important; }
}
@media(max-width:1200px) {
 body #navbar.nav-reference.shared-nav .nav-inner { width:92%!important; height:64px!important; }
 body #navbar.nav-reference.shared-nav .nav-utility { display:none!important; }
 body #navbar.nav-reference.shared-nav .mobile-menu-btn { display:flex!important; }
 body #navbar.nav-reference.shared-nav .nav-actions { margin-inline-start:auto!important; }
 body #navbar.nav-reference.shared-nav .nav-actions > .nav-cta { display:none!important; }
 body #navbar.nav-reference.shared-nav .nav-links { display:none!important; position:absolute!important; top:100%!important; inset-inline:0!important; width:auto; margin:0!important; max-height:calc(100dvh - 64px); overflow-y:auto; padding:16px 4% 32px!important; background:var(--nav-surface)!important; box-shadow:0 16px 30px #15384914!important; border-bottom:1px solid var(--nav-border)!important; border-radius:0 0 16px 16px; }
 body #navbar.nav-reference.shared-nav .nav-links.active { display:flex!important; flex-direction:column; align-items:stretch; }
 body #navbar.nav-reference.shared-nav .nav-primary { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 body #navbar.nav-reference.shared-nav .nav-primary :is(a,summary) { min-height:46px; padding:10px 0!important; font-size:15px!important; white-space:normal; }
 body #navbar.nav-reference.shared-nav .nav-guide-menu { position:static; box-shadow:none; padding:6px 14px; margin-block:4px; }
 body #navbar.nav-reference.shared-nav .nav-support { display:flex!important; flex-direction:column; align-items:stretch; gap:12px; margin:12px 0 0; padding:0; list-style:none; }
 body #navbar.nav-reference.shared-nav .nav-support > li { display:block!important; }
 body #navbar.nav-reference.shared-nav .nav-support > li > a:not(.rd-switch) { color:var(--nav-ink)!important; display:inline-flex; min-height:44px; padding:10px 0; }
 body #navbar.nav-reference.shared-nav .nav-support .nav-cta { padding:10px 16px!important; background:var(--nav-accent)!important; color:#fff!important; }
}
@media(max-width:768px) {
 body #navbar.nav-reference.shared-nav .nav-inner { width:calc(100% - 28px)!important; gap:8px!important; }
 body #navbar.nav-reference.shared-nav .nav-brand-name { font-size:19px!important; }
 body #navbar.nav-reference.shared-nav .nav-brand-mark { flex-basis:38px!important; width:38px!important; height:40px!important; }
 body #navbar.nav-reference.shared-nav .nav-brand-mark img { width:108px!important; }
 body #navbar.nav-reference.shared-nav .nav-links .nav-brand-mode .rd-switch { width:190px!important; justify-content:stretch; }
 body #navbar.nav-reference.shared-nav .nav-brand-mode .rd-switch > span { flex:1; font-size:12px!important; }
}
@media(max-width:360px) {
 body #navbar.nav-reference.shared-nav .nav-brand-name { font-size:16px!important; }
 body #navbar.nav-reference.shared-nav .lang-switch > summary { font-size:10px!important; }
 body #navbar.nav-reference.shared-nav .nav-actions { gap:2px!important; }
}
body #navbar.nav-reference.shared-nav .mobile-menu-btn .icon,
body #navbar.nav-reference.shared-nav .nav-search-link .icon,
body #navbar.nav-reference.shared-nav .lang-switch > summary .icon { color:var(--nav-ink)!important; fill:currentColor; }
body #navbar.nav-reference.shared-nav .lang-switch > summary span { color:var(--nav-ink)!important; }
body #navbar.nav-reference.shared-nav .nav-actions :is(.medical-nav-whatsapp,.wellness-nav-whatsapp,.telegram-link) { display:inline-flex; align-items:center; justify-content:center; width:40px!important; min-width:40px!important; height:40px!important; padding:0!important; border-radius:50%!important; background:#20ce63!important; color:#075c2a!important; border:1px solid #9ce4b7; }
body #navbar.nav-reference.shared-nav .nav-actions :is(.medical-nav-whatsapp,.wellness-nav-whatsapp,.telegram-link) span { display:none!important; }
body #navbar.nav-reference.shared-nav .nav-actions .telegram-link { background:#e9f6fc!important; color:#1394c4!important; border-color:#b9e1f3; }
@media(max-width:1350px) { body #navbar.nav-reference.shared-nav .nav-actions > :is(.medical-nav-whatsapp,.wellness-nav-whatsapp,.telegram-link) { display:none!important; } }
