/* =====================================================
   1. BASE / RESET
===================================================== */

.site-header,
.site-nav,
.eyebrow {
  width: 100% !important;
  max-width: 100% !important;
}

.site-header {
  margin: 0 !important;
  padding: 0 !important;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =====================================================
   2. SHARED NAV INTERACTIONS (LINKS + BUTTONS)
===================================================== */

.site-nav a,
.site-nav button.menu-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;

  font: inherit;
  color: #000;

  background: transparent;
  border: 2px solid transparent;

  text-decoration: none;
  cursor: pointer;

  appearance: none;
  box-shadow: none !important;
  text-align: left;
  line-height: 1;
}

/* Hover */
.site-nav a:hover,
.site-nav button.menu-link:hover {
  background-color: #00CCFF;
}

/* Focus (ADA compliant) */
.site-nav a:focus-visible,
.site-nav button.menu-link:focus-visible {
  background-color: #00CCFF;
  outline: 2px solid #000;
  outline-offset: -2px;
}

/* Active */
.site-nav a:active,
.site-nav button.menu-link:active,
.has-submenu[aria-expanded="true"] {
  background-color: #00CCFF;
}

/* =====================================================
   3. SHARED CONTAINER
===================================================== */

.site-nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* =====================================================
   4. EYEBROW
===================================================== */

.eyebrow {
  background: #FF6C00;
  color: #000;
}

.eyebrow .site-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
}

.eyebrow-left {
  font-weight: 600;
}

.eyebrow-right {
  display: flex;
  gap: 1rem;
}

.eyebrow a {
  color: #000;
  font-weight: 600;
}

/* Eyebrow focus (ADA) */
.eyebrow a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
  background-color: #00CCFF;
}

/* Crisis link */
.crisis-text {
  font-weight: 600;
}

.crisis-text a {
  text-decoration: underline;
  margin-left: 0.25rem;
}

/* =====================================================
   5. NAV LAYOUT
===================================================== */

.site-nav {
  background: #ffffff;
  border-bottom: 3px solid #00CCFF;
  z-index: 1000;
}

.site-nav .site-nav-inner {
  padding: 1rem 1.5rem;
}

.nav-left {
  flex: 0 0 auto;
}

.nav-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-right {
  flex: 0 0 220px;
  display: flex;
  justify-content: flex-end;
}

/* =====================================================
   6. LOGO
===================================================== */

.site-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.site-logo,
.site-logo a {
  display: inline-block;
}

.site-logo:focus-visible,
.site-logo a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* =====================================================
   7. MENU
===================================================== */

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.menu-link {
  font-weight: 500 !important;
	white-space: normal;
	line-height:1.2 !important;
}

.has-submenu::after {
  content: "▾";
  margin-left: 0.3rem;
  font-size: 1rem !important;
}

.has-submenu[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* =====================================================
   8. SEARCH
===================================================== */

.nav-right form {
  display: flex;
  gap: 0.25rem;
}

.nav-right input {
  width: 140px;
  padding: 0.4rem;
}

.nav-right input:focus {
  width: 200px;
}

/* =====================================================
   9. MEGA MENU
===================================================== */

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;

  display: none;
  padding: 2rem;

  background: #f4f7f9;
  border-top: 3px solid #FF6C00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  box-sizing: border-box;
}

.mega-menu.is-open {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.mega-column {
  display: flex;
  flex-direction: column;
}

.mega-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mega-category{
	font-weight: bold;
}

.mega-menu a:hover,
.mega-menu a:focus-visible {
  text-decoration: underline;
}

/* =====================================================
   10. MOBILE
===================================================== */
.menu-toggle {
  display: none;
  padding: 1rem;
  background: #FF6C00;
  color: #000;
  font-weight: bold;
}

@media (max-width: 768px) {

  /* Toggle button */
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* Wrap layout */
  .site-nav-inner {
    flex-wrap: wrap;
  }

  .nav-left {
    flex: 1;
  }

  .nav-center {
    width: 100%;
    order: 3;
  }

  /* MENU */
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 1rem;
    border-top: 1px solid #ddd;
    padding: 0.5rem 0;
    position: relative;
    z-index: 999;
  }

  .menu.is-open {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .menu-link {
    width: 100%;
    padding: 1rem;
  }

  /* Hide search */
  .nav-right {
    display: none;
  }

  /* MOBILE SUBMENU (ACCORDION) */
  .mega-menu {
    position: static;
    display: none;
    padding: 0.5rem 1rem;
    box-shadow: none;
    border-top: none;
  }

  .mega-menu.is-open {
    display: block;
  }

  /* Visual hierarchy */
  .mega-column {
    margin-bottom: 1rem;
  }

  .mega-heading {
    margin-top: 0.5rem;
  }

  .mega-sub-list {
    padding-left: 1rem;
  }
	
	  .menu-link {
    padding: 1rem;
  }

}


/* =====================================================
   11. ACCESSIBILITY
===================================================== */

button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}