/* Navbar styles */
.navbar {
  background: #30393a; /* Deep Charcoal */
    color: #fff;
    font-family: 'Bebas Neue', 'Franklin Gothic Medium', 'Franklin Gothic', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;    
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(58,60,61,0.04);
    height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 56px;
    min-height: 56px;
}
.nav-logo {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 1px;
}

.nav-links {
    background: #30393a;
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 56px;
    min-height: 56px;
}
.nav-links li {
    background: transparent;
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    height: 56px;
    min-height: 56px;
    padding: 0 0.5rem;
}
.nav-links a, .nav-logo {
    color: #fff !important; /* White for text */
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Bebas Neue', 'Franklin Gothic Medium', 'Franklin Gothic', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    padding: 0 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 56px;
    min-height: 56px;
    white-space: nowrap;
    line-height: 1;
    padding-top: 2px;
    text-transform: uppercase;
}

.nav-links a {
  padding-top: 20px;
  padding-bottom: 0;
}

.nav-links a:hover,
.nav-links a:focus {
  background: #3a3c3d; /* Charcoal for hover */
  color: #b82e47 !important; /* Crimson for hover text */
}

.nav-toggle {
    display: none;
}
.nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 32px;
    justify-content: center;
}
.nav-toggle-label span,
.nav-toggle-label span:before,
.nav-toggle-label span:after {
    display: block;
    background: #fff;
    height: 4px;
    width: 28px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s;
}
.nav-toggle-label span:before,
.nav-toggle-label span:after {
    content: '';
    position: absolute;
}
.nav-toggle-label span:before {
    top: -9px;
}
.nav-toggle-label span:after {
    top: 9px;
}
@media (max-width: 700px) {
  body, #container {
    padding: 0.5rem;
  }
  h1 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  li {
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  th, td {
    font-size: 1rem;
    padding: 8px;
  }

  .nav-container {
    flex-direction: row;
    height: auto;
  }
  .nav-toggle-label {
    display: flex;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    left: -9999px;
  }
  .nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #30393a; /* Match desktop navbar background */
    flex-direction: column;
    display: none;
    height: auto;
    min-height: 0;
    z-index: 1000;
  }
  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }
  .nav-links li {
    margin: 0;
    border-bottom: 1px solid #a09e9e;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
  }
  .nav-links a {
    padding: 1rem;
    display: block;
    height: auto;
    min-height: 0;
    align-items: flex-start;
    color: #fff !important;
    background: transparent;
    border-radius: 0;
    font-family: 'Bebas Neue', 'Franklin Gothic Medium', 'Franklin Gothic', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #3a3c3d;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover,
  .nav-links a:focus {
    background: #3a3c3d;
    color: #b82e47 !important;
  }
}

/* Navbar and dropdown brand color update (WIAA palette, no yellow) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue:wght@700&display=swap');

.dropdown {
  position: relative;
}
.dropbtn {
  cursor: pointer;
  color: #fff !important;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Bebas Neue', 'Franklin Gothic Medium', 'Franklin Gothic', 'Arial Narrow', Arial, sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s, background 0.2s;
  padding: 0 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  height: 56px;
  min-height: 56px;
  white-space: nowrap;
  line-height: 1;
  padding-top: 20px;
  padding-bottom: 0;
  text-transform: uppercase;
  border: none;
}
/* Desktop dropdown default styles */
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 68px;
  background-color: #3a3c3d; /* Charcoal for dropdown */
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(58,60,61,0.10);
  z-index: 1;
  margin-top: 0;
  border-radius: 0;
  padding: 0;
}

ul.nav-links li.dropdown ul.dropdown-content li {
  background: transparent;
  border-bottom: 1px solid #a09e9e; /* Gray */
  height: 50px;
  text-align: center;
  vertical-align: middle;
  padding: 0;
  margin: 0;
}

ul.nav-links li.dropdown ul.dropdown-content li:last-child {
  border-bottom: none;
}
ul.nav-links li.dropdown ul.dropdown-content li a {
  color: #fff !important;
  display: flex;
  align-items: center;
  min-height: 44px; /* or 40px, adjust as needed */
  padding: 0 1.25rem;
  font-size: 1rem;
  background: transparent;
  border-radius: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
ul.nav-links li.dropdown ul.dropdown-content li a:hover,
  .dropdown-content a:focus {
  color: #b82e47 !important; /* Crimson for hover */
}
/* Desktop: keep hover/focus logic */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}
/* Always hide the Meetings dropdown checkbox */
.dropdown-toggle {
  display: none;
}
@media (max-width: 700px) {
  /* Mobile dropdown overrides */
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    display: none;
  }
  .dropdown-toggle:checked + .dropbtn + .dropdown-content {
    display: block;
  }
  .dropbtn {
    width: 100%;
    display: block;
    cursor: pointer;
    background: transparent;
    color: #fff !important;
    padding: 1rem;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
  }
  /* Prevent hover from opening dropdown on mobile */
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: none;
  }
}