/* Shared header for all service and portal pages. */
:root { font-size: 100%; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-size: 1rem; }
.jnj-sitebar, .jnj-sitebar * { box-sizing: border-box; }
.jnj-sitebar { inline-size: 100%; min-inline-size: 0; font-size: 1rem; font-family: system-ui, "Malgun Gothic", sans-serif; line-height: 1.5; background: #fff; border-bottom: 1px solid #d1ded4; }
.jnj-nav { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.jnj-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(4.2rem, auto); align-items: center; column-gap: 1rem; }
.jnj-nav .jnj-brand { display: inline-flex; align-items: center; gap: .34rem; width: fit-content; color: #173f36; font-size: 1.15rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.jnj-brand .jnj-brand-mark { display: grid; place-items: center; inline-size: 2.1rem; block-size: 2.1rem; border-radius: .55rem; color: #fff; background: #173f36; font-family: Georgia, serif; }
.jnj-brand .jnj-brand-name { margin-inline-start: .24rem; padding-inline-start: .58rem; border-inline-start: 1px solid #c8d9cb; color: #53665c; font-size: .89rem; font-weight: 650; }
.jnj-hub-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; padding-block: .4rem; }
.jnj-hub-links a { white-space: nowrap; padding: .34rem .55rem; border: 1px solid #c8d9cb; border-radius: .4rem; color: #173f36; background: #edf2e9; font-size: .86rem; font-weight: 650; text-decoration: none; }
.jnj-hub-links a:is(:hover, [aria-current]) { background: #e0ebde; text-decoration: underline; text-underline-offset: .25em; }
.jnj-nav .service-nav { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; justify-content: flex-end; min-width: 0; gap: 0.2rem clamp(0.4rem, 1.25vw, 1rem); padding-block: .15rem .4rem; border-top: 1px solid #d1ded4; }
.jnj-nav .service-nav a { white-space: nowrap; padding: 0.35rem 0; color: #173f36; font-size: 0.88rem; font-weight: 650; text-decoration: none; }
.jnj-sitebar :focus-visible { outline: 2px solid #39755f; outline-offset: 2px; }
.jnj-nav .service-nav a:is(:hover, [aria-current]) { text-decoration: underline; text-underline-offset: 0.25em; }
@media (max-width: 57rem) {
.jnj-nav .service-nav { justify-content: flex-start; }
}
@media (max-width: 36rem) {
.jnj-nav { width: calc(100% - 1.5rem); column-gap: .55rem; }
.jnj-hub-links { gap: .25rem; }
.jnj-hub-links a { padding-inline: .35rem; font-size: .8rem; }
.jnj-nav .service-nav a { font-size: 0.8rem; }
}
@media (max-width: 25rem) {
.jnj-nav { grid-template-rows: minmax(3.5rem, auto); }
.jnj-hub-links { grid-column: 1 / -1; justify-content: flex-start; padding-block: 0 .55rem; }
}
