/* Header base styling */
#header {
  min-height: 100px;
}

/* Header link styling */
#header a {
  color: #333;
  text-decoration: none;
  overflow-wrap: unset;
  word-wrap: unset;
  word-break: normal;
  hyphens: none;
}

#header a:hover, 
#header a:visited {
  color: #333;
}

/* Header H1 styling */
#header h1 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 100;
  letter-spacing: -0.5px;
  line-height: 1.12rem;
}

/* Logo image styling */
.logo img {
  width: 150px;
  height: 100%;
  max-width: none;
}

/* Dropdown button styling within header */
#header .dropdown .btn {
  color: #333 !important;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0;
  padding-left: 20px;
  padding-top: 0.5rem;
  line-height: 1.6;
}

/* Dropdown item link styling */
#header a.dropdown-item {
  font-size: 0.8rem;
}

/* Dropdown item active/focus/visited state styling */
#header a.dropdown-item:active, 
#header a.dropdown-item:focus, 
a.dropdown-item:visited {
  background-color: transparent;
}

/* Responsive adjustments for header on medium screens */
@media (max-width: 991px) {
  #header {
    border-bottom: 2px solid #be820e !important;
    padding-bottom: 20px !important;
  }
}

/* Responsive adjustments for header on small screens */
@media (max-width: 768px) {
  .logo img {
    width: 100px;
  }
  
  #header h1 {
    font-size: 0.9rem;
    letter-spacing: -0.7px;
    line-height: 1.12rem;
  }

  #header .small, 
  #header small {
    font-size: 0.8rem;
  }
}
