
/*  base style handles the header, nav, and footer */
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid #e8edf5;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* z-index: 1000; /* Stays on top of content */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

 .mobile-bottom-nav {
  display: none;
 }

.desktop-nav {
display: flex;
gap: 36px;
}

.desktop-nav a {
text-decoration: none;
color: #06142b;
font-weight: 600;
}

.desktop-nav .active {
color: #0877ff;
border-bottom: 3px solid #0877ff;
padding-bottom: 16px;
}

small {
color: red;
background: #ffe5e5;
padding: 3px 6px;
border-radius: 6px;
}

/*  base layout for mobile view */
@media (max-width: 900px) {
  .site-header {
    height: 92px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 78px;
    background: white;
    border-top: 1px solid #e1e7f0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 10px 0 18px;
    z-index: 1300;
  }

  .mobile-bottom-nav a {
    text-align: center;
    text-decoration: none;
    color: #526079;
    font-size: 20px;
  }

  .mobile-bottom-nav span {
    display: block;
    font-size: 12px;
    margin-top: 4px;
  }

  /* don't show the desktop nav on mobile  */
  .desktop-nav {
    display: none;
  }
}
