/* Portal shell navigation — click feedback (corporate, low motion) */
body.dm-portal-shell-is-navigating .main-header .main-menu .navigation > li > a.is-shell-nav-pending,
body.dm-portal-shell-is-navigating .sticky-header .navigation > li > a.is-shell-nav-pending {
  opacity: 0.72;
}

body.dm-portal-shell-is-navigating .main-header .main-menu .navigation > li > a.is-shell-nav-pending::after,
body.dm-portal-shell-is-navigating .sticky-header .navigation > li > a.is-shell-nav-pending::after {
  opacity: 1;
  transform: scaleX(1);
}

body.dm-portal-shell-is-navigating #smooth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.06) 0%, rgba(7, 10, 16, 0.02) 48%, rgba(7, 10, 16, 0) 100%);
  opacity: 1;
  transition: opacity 0.18s ease;
}

body.dm-portal-shell-is-navigating.dm-portal-shell-swap-done #smooth-wrapper::before {
  opacity: 0;
}

body.dm-portal-shell-is-navigating .main-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 30;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(128, 0, 32, 0.55) 42%, rgba(128, 0, 32, 0.9) 50%, rgba(128, 0, 32, 0.55) 58%, transparent 100%);
  background-size: 220% 100%;
  animation: dm-portal-shell-nav-bar 0.9s ease-in-out infinite;
}

body.dm-portal-shell-is-navigating.dm-portal-shell-swap-done .main-header::after {
  animation: none;
  opacity: 0;
}

@keyframes dm-portal-shell-nav-bar {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dm-portal-shell-is-navigating .main-header::after {
    animation: none;
    opacity: 0.85;
    background: rgba(128, 0, 32, 0.65);
    background-size: 100% 100%;
  }
}