/* === SetSwap Announcement Banner === */
/* COPY: Edit ONLY the text inside the <div id="setswap-banner"> in index.html */

#setswap-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background-color: #14532d; /* --ss-forest: strong contrast with white, distinct from warm/cream sections */
  color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.3;
  padding: 0 1rem;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#setswap-banner a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

#setswap-banner a:hover {
  opacity: 0.85;
}

/* Fixed nav + mobile panel sit below the sticky banner (additive layout; does not edit index.html classes) */
#navbar {
  top: 44px;
}

#mobile-menu {
  top: calc(44px + 4rem);
}

@media (max-width: 480px) {
  #setswap-banner {
    height: 60px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    padding: 8px 1rem;
  }

  #navbar {
    top: 60px;
  }

  #mobile-menu {
    top: calc(60px + 4rem);
  }
}
