/* The home hero keeps its original rail; following sections use a top bar. */
.novalis-top-links { display:none; }
.novalis-home.has-top-navigation .nav-right {
  width:100%; height:92px; inset:0 0 auto; transform:none !important;
  padding:8px clamp(24px,4vw,76px);
  background:#fff; border-bottom:1px solid #ba8d4040;
  box-shadow:0 4px 24px #2634500b;
}
.novalis-home.has-top-navigation .nav-right_top {
  width:100%; flex-direction:row; align-items:center; gap:40px;
}
.novalis-home.has-top-navigation .novalis-top-logo { width:130px; height:58px; }
.novalis-home.has-top-navigation .nav-right_top-logo { margin-right:auto; flex-shrink:0; }
.novalis-home.has-top-navigation .novalis-top-links { display:flex; gap:32px; align-items:center; }
.novalis-top-links a { color:#263450; text-decoration:none; font-size:13px; letter-spacing:.08em; text-transform:uppercase; padding:12px 0; }
.novalis-top-links a:hover { color:#ba8d40; }
.novalis-top-links a:focus-visible { outline:2px solid #ba8d40; outline-offset:5px; }
.novalis-home.has-top-navigation .nav-right_menu-height { height:auto; margin:0; flex-shrink:0; }
.novalis-home.has-top-navigation .nav-menu_text { color:#ba8d40; }
/* Content no longer reserves a column for the hero rail. */
.novalis-home .novalis-story { padding-right:clamp(24px,3vw,64px); }
@media(max-width:991px) {
  .novalis-home.has-top-navigation .nav-right { height:82px; padding:6px 20px; }
  .novalis-home.has-top-navigation .nav-right_top { gap:20px; }
  .novalis-home.has-top-navigation .novalis-top-links { display:none; }
  .novalis-home .novalis-story { padding-right:24px; }
}
/* Reveal the top bar only when scrolling back toward earlier content. */
.novalis-home.has-top-navigation .nav-right {
  transform:translateY(-110%) !important;
  transition:transform .25s ease;
  pointer-events:none;
}
.novalis-home.has-top-navigation.show-top-navigation .nav-right,
.novalis-home.has-top-navigation.novalis-menu-open .nav-right,
.novalis-home.has-top-navigation .nav-right:focus-within {
  transform:translateY(0) !important;
  pointer-events:auto;
}
@media(prefers-reduced-motion:reduce) {
  .novalis-home.has-top-navigation .nav-right { transition:none; }
}
