@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


/* Header container */
#masthead {
  background-image: url(bg-header.png);
  background-position: 100%;
  background-size: cover;
  height: 70px;
  padding: 10px !important;
}

/* Navbar layout */
#masthead div.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center;            
  position: relative;
  padding: 10px;                  
  height: 50px;
  width: auto;
}

/* Brand spacing */
#masthead div.navbar .site-branding {
  margin-left: 0;
}

/* Logo sizing */
#masthead .navbar-brand .logo img {
  height: 50px;
}

@media (max-width: 767.98px) {
  #masthead .navbar-brand .logo img {
    height: 30px;
    margin-left: 10px;
  }
}

/* Main nav container */
#masthead div.navbar #site-navigation {
  display: flex;
}

/* Audience menu container (base) */
#masthead div.navbar #site-navigation .audience-menu-container {
  margin-right: 1rem;
  overflow: visible;
  box-shadow: none;
}

/* Audience menu container (desktop) */
@media (min-width: 992px) {
  #masthead div.navbar #site-navigation .audience-menu-container {
    display: flex !important;
    flex-basis: auto;
  }
}

/* Allow the menu to grow and center items */
#masthead div.navbar #site-navigation .audience-menu-container {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

/* Menu list */
#masthead div.navbar #site-navigation .audience-menu-container ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Menu item spacing */
#masthead div.navbar #site-navigation .audience-menu-container .menu-item {
  margin-left: 1rem;
}

@media (max-width: 991.98px) {
  #masthead div.navbar #site-navigation .audience-menu-container .menu-item {
    margin-left: 0;
  }
}

/* General link styles (place BEFORE .btn-ask-us so button can override if needed) */
#masthead div.navbar #site-navigation .audience-menu-container .menu-item a {
  background-color: #fff;
  color: #373a3b;
  text-decoration: none;
  font-size: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

#masthead div.navbar #site-navigation .audience-menu-container .menu-item a:hover {
  background-color: #e8e3d3;
}

/* Ask Us button (kept specific so it wins) */
#masthead div.navbar #site-navigation .audience-menu-container .menu-item.btn-ask-us a {
  background-color: #85754d;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='30' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.5 12.034v1.55l-.255 1.551c-2.013 8.516-12.477 12.137-20.313 9.033l-7.064 3.479h-.056l1.787-7.115C2.171 18.895 1.131 16.99.705 14.86L.51 13.363c.022-.437-.03-.893 0-1.329C.946 5.727 6.763 1.205 12.889.471c7.604-.912 15.821 3.557 16.558 11.475l.053.088Zm-4.663-6.126C19.342.358 8.853.77 4.144 7.09c-3.07 4.121-2.35 9.479 1.335 12.951l-1.12 4.45 4.507-2.159c4.232 1.826 9.287 1.711 13.31-.6 5.992-3.44 7.707-10.726 2.66-15.823Z' fill='%23fff'/%3E%3C/svg%3E");
  background-position-x: 15px;
  background-position-y: center;
  background-repeat: no-repeat;
  border: none;
  color: #fff;
  font-family: "Encode Sans Compressed", "Open Sans", sans-serif;
  font-weight: 600;
  height: 42px;
  line-height: 1;
  padding: 10px 1rem 10px 57px;
  transition: all .2s ease-in-out;
}

@media (max-width: 991.98px) {
  #masthead div.navbar #site-navigation .audience-menu-container .menu-item.btn-ask-us a {
    background-position-x: 8px;
    background-size: 29px;
    padding: 10px 8px 10px 44px;
  }
}

#masthead div.navbar #site-navigation .audience-menu-container .menu-item.btn-ask-us a:hover {
  background-color: #65593a;
}

/* Footer */
#lib-footer {
    margin: 1rem 0;
    padding: 0;
    font-size: 13px;
    font-family: "Open Sans", helvetica, arial, sans-serif;
    color: #32006e;
    text-align: center;
}

#lib-footer a {color: #32006e;}

#lib-footer li {
    display: inline-block;
    padding: 0 3px;
    margin: 0;
}

#lib-footer li::after {
    content: " | ";
}

#lib-footer li:last-child::after {
    content: none;
}
