/* Shared Rochester Jazz navigation and finishing details. */
.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 35px;
  padding: 8px 11px;
  border: 1px solid rgba(47, 41, 37, 0.14);
  border-radius: 999px;
  color: var(--ink, #2f2925);
  background: #fff;
  box-shadow: 0 5px 14px rgba(48, 31, 21, 0.07);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--red, #a7332f);
  color: var(--red-dark, #7f2724);
  background: var(--paper-light, #fbf8f2);
}

.site-nav a[aria-current="page"] {
  border-color: var(--red, #a7332f);
  color: #fff;
  background: var(--red, #a7332f);
}

.site-nav .legend-nav {
  border-color: var(--gold, #d89a31);
  color: var(--night, #241d1a);
  background: #f5c86e;
}

.site-nav .legend-nav:hover,
.site-nav .legend-nav:focus-visible {
  border-color: var(--gold, #d89a31);
  color: var(--night, #241d1a);
  background: #ffd987;
}

.revision-date {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.72;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 5px;
    scrollbar-width: thin;
  }

  .site-nav a { display: inline-flex !important; }
  .revision-date { margin-left: 0; }

  .venue-table tbody td:first-child,
  .venue-table tbody tr:nth-child(even) td:first-child,
  .venue-table tbody tr:hover td:first-child,
  .artist-table tbody td:first-child,
  .artist-table tbody tr:nth-child(even) td:first-child,
  .artist-table tbody tr:hover td:first-child {
    color: #fff;
    background: var(--red-dark, #7f2724);
  }

  .artist-table tbody td:nth-child(1),
  .artist-table tbody td:nth-child(2) {
    display: grid !important;
  }

  .artist-table tbody td:first-child::before {
    color: #fff !important;
  }
}
