:root {
  --site-green: #143c2d;
  --site-orange: #da8134;
  --site-white: #ffffff;
  --site-gold-light: #fff5c9;
  --site-gold: #e4bd5d;
}

.siteNavHeader {
  background: var(--site-green);
  border-bottom: 1px solid rgb(228 189 93 / 72%);
  box-shadow: 0 12px 34px rgb(20 60 45 / 13%);
  color: var(--site-white);
  position: relative;
  z-index: 50;
}

.siteNavInner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 12px 24px;
}

.siteNavBrand {
  align-items: center;
  color: var(--site-white);
  display: flex;
  flex: 0 1 auto;
  gap: 11px;
  min-height: 52px;
  min-width: 0;
  text-decoration: none;
}

.siteNavBrand img {
  flex: 0 0 auto;
  height: 48px;
  width: 48px;
}

.siteNavBrand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.siteNavBrand strong {
  font-family: "Songti TC", "Noto Serif TC", serif;
  font-size: 1.22rem;
  line-height: 1.1;
  white-space: nowrap;
}

.siteNavBrand small {
  color: #f2d98e;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.siteNav {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.siteNav a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--site-white);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 9px 14px;
  text-decoration: none;
}

.siteNav a:hover,
.siteNav a[aria-current="page"] {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(228 189 93 / 76%);
  color: #fff2bd;
}

.siteNav .siteNavCta {
  background: linear-gradient(145deg, var(--site-gold-light), var(--site-gold) 68%, #fff9de);
  border-color: #c28f2c;
  box-shadow: 0 7px 22px rgb(255 218 109 / 17%);
  color: var(--site-green);
}

.siteNav a:focus-visible,
.siteNavBrand:focus-visible {
  border-radius: 10px;
  outline: 4px solid var(--site-orange);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .siteNavInner {
    align-items: stretch;
    display: grid;
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .siteNavBrand {
    justify-self: start;
  }

  .siteNavBrand small {
    display: none;
  }

  .siteNav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .siteNav a {
    font-size: 0.94rem;
    min-height: 48px;
    padding: 7px 2px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteNav a {
    scroll-behavior: auto;
    transition: none;
  }
}
