/* Shared atlas navigation and page exterior, including the fellowship explorer. */
body { background: #eeede2; padding-top: 90px; isolation: isolate; }
body::before { content: ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 1; background: url("Lab Website Background.webp") center top / 100% auto no-repeat; opacity: 1; z-index: -1; pointer-events: none; }
body::after { display: none; }
nav { background: #eeede2f5; border-bottom: 0; box-shadow: none; height: 80px; padding-inline: clamp(20px, 4vw, 70px); }
nav * { color: #000 !important; }
nav .logo { display: flex; align-items: center; flex-shrink: 0; }
nav .logo img { display: block; width: 150px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
nav ul { gap: 1rem; }
nav ul li a { font-size: .83rem; }
nav ul li a:hover, nav ul li a[aria-current='page'] { color: #a0062c !important; }
nav :focus-visible { outline: 2px solid #000; outline-offset: 5px; }
.menu-toggle { color: #000 !important; min-width: 44px; min-height: 44px; }
footer { background: #eeede2; border-top: 4px solid #b30838; color: #000; backdrop-filter: none; }
.fellowship-page .catalog-status, .fellowship-page .questionnaire-panel, .fellowship-page .eligibility-results { background: #f2f1e8; border-radius: 2px; box-shadow: none; backdrop-filter: none; }
@media (max-width: 1200px) {
  .menu-toggle { display: block; margin-left: auto; }
  nav ul { display: none; position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; padding: 20px; background: #eeede2; border-bottom: 4px solid #b30838; white-space: normal; max-height: calc(100dvh - 80px); overflow-y: auto; }
  nav ul.show { display: flex; }
  nav ul li { padding: 10px; margin: 0; }
}
@media (max-width: 768px) {
  nav { height: 80px; padding: 16px 20px; }
  body::before { opacity: 1; }
}

/* Let the light exterior carry through the fellowship banner. */
.fellowship-page .questionnaire-hero { background: transparent; color: #000; border-bottom: 4px solid #b30838; }
.fellowship-page .questionnaire-hero h1,
.fellowship-page .questionnaire-hero .fellowship-eyebrow,
.fellowship-page .questionnaire-hero > p:last-child { color: #000; }
.fellowship-page .questionnaire-hero::after { display: none; }

/* Bold header copy on the light exterior. */
nav ul li a, .fellowship-page .questionnaire-hero h1 { font-weight: 700; }
