.seo-static-content {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  z-index: 1450;
  background: rgba(26, 26, 26, 0.94);
  border: 1px solid #333;
  border-radius: 14px;
  color: #ddd;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-family: 'Manrope', sans-serif;
  padding: 10px 8px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.seo-static-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.seo-year-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seo-year-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  min-width: 48px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #555;
  background: #242424;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-sizing: border-box;
}

.seo-year-nav a[aria-current="page"] {
  background: #c0392b;
  border-color: #c0392b;
}

.seo-year-nav a:hover:not([aria-current="page"]) {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

.seo-year-nav a {
  transition: background 0.15s ease, border-color 0.15s ease;
}

@media (max-width: 680px) {
  .seo-static-content {
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 20px);
    padding: 8px 10px;
  }

  .seo-year-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .seo-year-nav a {
    flex: 0 0 auto;
  }

  /* Push legend above the year nav bar on year pages */
  .seo-static-content ~ .map-legend {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 70px);
  }
}
