/**
 * Sibling nav for Levant atlas pages — Home · Jordan · Syria · Palestine · Israel
 * Development work by David Lane
 */

.levant-atlas-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  padding: 0.45rem 0.75rem;
  background: color-mix(in srgb, #1a1712 92%, #c9992f);
  border-bottom: 1px solid rgba(212, 162, 76, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.levant-atlas-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 232, 210, 0.22);
  background: rgba(255, 250, 240, 0.06);
  color: #f3e8d2;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.levant-atlas-nav__link:hover {
  background: rgba(212, 162, 76, 0.22);
  border-color: rgba(212, 162, 76, 0.55);
  color: #fffaf0;
}

.levant-atlas-nav__link.is-active {
  background: linear-gradient(135deg, #b5301f, #8a2a1a);
  border-color: #d4a24c;
  color: #fff6ec;
  pointer-events: none;
}

.levant-atlas-nav__link--home {
  border-color: rgba(120, 170, 220, 0.45);
}

.levant-atlas-nav__ar {
  font-family: 'Amiri', Georgia, serif;
  font-size: 0.95rem;
  opacity: 0.88;
}

.levant-atlas-nav__sep {
  width: 1px;
  height: 1rem;
  margin: 0 0.15rem;
  background: rgba(243, 232, 210, 0.28);
}

@media (max-width: 640px) {
  .levant-atlas-nav {
    gap: 0.3rem;
    padding: 0.4rem 0.5rem;
  }

  .levant-atlas-nav__link {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
  }

  .levant-atlas-nav__ar {
    display: none;
  }
}
