/* ==========================================================================
   navbar.css — header/navbar + breadcrumb trail
   ========================================================================== */
.pm-navbar { background-image: linear-gradient(to right, #091832, #001943); transition: background-color .3s ease, backdrop-filter .3s ease; }
.pm-navbar.pm-navbar-scrolled { background-color: #0d1a31; backdrop-filter: blur(10px); }
.pm-navbar .navbar-brand img { height: 44px; }
.pm-navbar .dropdown-menu { min-width: 16rem; }
.pm-navbar .nav-link.active { color: var(--pm-teal) !important; }
.pm-navbar .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(15, 98, 254, .5); }
.pm-navbar .dropdown-toggle::after { vertical-align: .1em; }

/* Below the lg breakpoint the collapse becomes a full-width stacked panel.
   Dropdown submenus must go static (inline, no popover box) inside it —
   otherwise they render as an absolutely-positioned white box that
   overlaps the toggler/logo row, which is the overlap bug this fixes. */
@media (max-width: 991.98px) {
  .pm-navbar .navbar-collapse {
    background-color: #0d1a31;
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    margin-top: .75rem;
  }
  .pm-navbar .dropdown-menu {
    position: static;
    float: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding-left: 1.5rem;
    margin-top: 0;
  }
  .pm-navbar .dropdown-item {
    color: rgba(255, 255, 255, .7);
    background: transparent;
  }
  .pm-navbar .dropdown-item:hover,
  .pm-navbar .dropdown-item:focus,
  .pm-navbar .dropdown-item.active {
    color: #fff;
    background-color: rgba(255, 255, 255, .08);
  }
  .pm-navbar .navbar-nav { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: .5rem; margin-bottom: .5rem; }
}

/* Breadcrumb trail sits directly under the fixed navbar */
.pm-breadcrumb-nav {
  margin-top: 76px;
  background-color: #F8FAFF;
  border-bottom: 1px solid #eef1f6;
}
.pm-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: var(--pm-muted); }
.pm-breadcrumb-nav .breadcrumb-item a { color: var(--pm-muted); }
.pm-breadcrumb-nav .breadcrumb-item.active { color: var(--pm-deep); font-weight: 600; }

.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: #0F62FE;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    z-index: 9999;
    text-decoration: none;
    transition: top .2s ease;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 2000;
  background: var(--pm-blue); color: #fff; padding: .5rem 1rem; border-radius: .5rem;
}
