/* Body base font size */
body {
  font-size: 16px;
}

/* Global: remove default underline from links unless explicitly styled */
a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/* Hero/CTA overlay: 60% opacity (same as /80 but 60%) */
.bg-slate-900\/60 {
  background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);
}

@media (min-width: 992px) {
  /* Remove extra space after logo so nav fits one line */
  .navbar .navbar-brand {
    margin-inline-end: 0;
  }

  /* Vertically align nav with logo */
  .navbar .navigation {
    margin-top: 14px;
  }

  /* Layout: keep menu tighter */
  #navbar-navlist {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-top: 0;
    height: auto;
    overflow-y: visible;
  }

  #navbar-navlist > li > a {
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
  }

  #navbar-navlist > li > a:hover,
  #navbar-navlist > li > a:focus {
    text-decoration: none;
  }

  /* Before scroll: menu over hero, text white */
  .navbar:not(.is-sticky) #navbar-navlist > li > a {
    color: #ffffff;
  }

  /* After scroll (sticky): base color black, hover/active stay orange */
  .navbar.is-sticky #navbar-navlist > li > a {
    color: #000000;
  }

  /* Hover: theme orange (before & after scroll) */
  .navbar #navbar-navlist > li > a:hover {
    color: #ff6a00;
  }

  /* Current section / active item: theme orange.
     Covers WP current-menu/current_page and JS-added .active on <li> or <a>. */
  .navbar #navbar-navlist > li.current-menu-item > a,
  .navbar #navbar-navlist > li.current_page_item > a,
  .navbar #navbar-navlist > li.active > a,
  .navbar #navbar-navlist > li > a.active,
  .navbar #navbar-navlist > li > a.is-active {
    color: #ff6a00;
  }

  .navbar.is-sticky #navbar-navlist > li.current-menu-item > a,
  .navbar.is-sticky #navbar-navlist > li.current_page_item > a,
  .navbar.is-sticky #navbar-navlist > li.active > a,
  .navbar.is-sticky #navbar-navlist > li > a.active,
  .navbar.is-sticky #navbar-navlist > li > a.is-active {
    color: #ff6a00;
  }
}

