/* HRR landing nav: hover-only enhancements.
   Does NOT change font-size, padding, display, or weight.
*/

:root {
    --hrr-primary: #292a86;
    --hrr-accent: #5ce1e6;
}

/* Only add transitions and positioning for underline */
.hrr-nav .hrr-nav__link {
    position: relative;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

/* Hover/focus background without altering layout */
.hrr-nav .hrr-nav__link:hover,
.hrr-nav .hrr-nav__link:focus {
    background-color: rgba(92, 225, 230, 0.14);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    outline: none;
}

/* Underline indicator (no size changes) */
.hrr-nav .hrr-nav__link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -6px; /* sits below text, avoids pushing layout */
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hrr-primary), var(--hrr-accent));
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.hrr-nav .hrr-nav__link:hover::after,
.hrr-nav .hrr-nav__link:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Active state support (your markup uses <li class="active">) */
.hrr-nav li.active > .hrr-nav__link::after {
    opacity: 1;
    transform: scaleX(1);
}

.hrr-nav .hrr-nav__link:focus-visible {
    outline: 2px solid rgba(92, 225, 230, 0.65);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .hrr-nav .hrr-nav__link,
    .hrr-nav .hrr-nav__link::after {
        transition: none;
    }
}

.hrr-flash-wrap {
  position: relative;
  z-index: 1100;
  padding-top: 40px;
  animation: flash-slide-in 0.25s ease-out;
}

.hrr-flash-wrap .alert {
  border-radius: 0;
}

.hrr-flash-wrap { padding-top: 76px; }
@media (min-width: 992px) {
  .hrr-flash-wrap { padding-top: 40px; }
}

@keyframes flash-slide-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  opacity: 0.9;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}