/* Shared chrome styles used across all pages */

.site-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.33rem 0.7rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.site-nav a.current {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mobile-menu-links a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-links a.current,
.mobile-menu-links a[aria-current="page"] {
  border-color: transparent !important;
  background: transparent !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
}

.footer-col {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-brand,
.footer-title {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.footer-copy,
.footer-small {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 0.3rem;
}

.footer-links a,
.footer-mail {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover,
.footer-mail:hover {
  color: var(--text);
}

.footer-top-btn {
  width: fit-content;
}

.footer-row {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
