/* Header Container */
.ns2-header-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0 auto;
  margin-bottom: 30px;
  background-color: whitesmoke;
  /* outline: 2px solid limegreen;
  outline-offset: -1px; */
}

/* Logo + Title/Table Section */
.ns2-header-table {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 410px;
  margin-bottom: 10px; /* space between the logos and nav buttons. */
}

.ns2-header-table img {
  height: 100px;
  max-height: 100px;
  width: auto;
  object-fit: contain;
  margin-right: 0.25rem; /* Tightens spacing to text */
  padding: 0;
}

/* Logo Link */
.ns2-logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
	  padding: 0;
  margin: 0;
}

.ns2-logo-link:hover {
  text-decoration: none;
}

/* Site Info & Tagline */
.ns2-site-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ns2-site-title {
  font-size: 33px;
  font-weight: bold;
  margin: 0;
}

.ns2-site-tagline {
  font-size: 25px;
  color: #666;
  margin: 0;
}

.ns2-site-title a {
  text-decoration: none;
  color: #000;
  font-size: 24px;
  font-weight: bold;
}

/* Menu Section */
.ns2-menu {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}


/* Table Cell Cleanup */
.ns2-header-logo-cell,
.ns2-header-info-cell {
  border: none;
  vertical-align: middle;
  padding: 0;
}



/* End of Logo and Site Title */

/* Header Nav Buttons */
	.ns2-header-nav ul {
	  list-style: none;
	  display: flex;
	  gap: 10px; /* space between buttons */
	  margin: 0;
	  padding: 0;
		
	}

	/* Styling the nav buttons */ 
	.ns2-header-nav li a {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-family: inherit;
	  font-size: 16px;
	  color: #333;
	  text-decoration: none;
	  background-color: #f2f2f2;
	  border: 1px solid #ddd;
	  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	  padding: 10px;
	  border-radius: 6px;
	  gap: 5px;
	}

	.ns2-header-nav li a:hover { 
  color: #e6f0ff; 						/* Same soft blue as footer */
  background-color: #357ABD;            /* Match site's medium blue */
  text-decoration: none;
  transition: background-color 0.3s ease;
  padding: 14px 10px;
  border-radius: 6px;
	}

.wp-block-button__link {
    white-space: nowrap;
    word-break: keep-all;
}

/* End of Header Nav Buttons */

@media (max-width: 480px) {
  .ns2-header-table img {
    max-height: 80px; /* Smaller logo for mobile */
    margin-bottom: 2px;
  }

  .ns2-title-wrapper {
    line-height: 1.2;
    text-align: center;
  }
}


