/* Shared reset + variables */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

img, picture, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; transition: color 0.15s ease, opacity 0.15s ease; }

button, input, textarea {
  font: inherit;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 720px) {
  .container, .container-wide { padding: 0 2rem; }
}

/* Cross-site footer (shared) */
.cross-nav {
  margin-top: 5rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid currentColor;
  border-color: var(--rule, #e6e2d8);
  font-size: 0.92rem;
}

.cross-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.cross-nav-grid h4 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, #6a6a6a);
  font-weight: 600;
}

.cross-nav-grid ul { list-style: none; padding: 0; margin: 0; }
.cross-nav-grid li { margin: 0.35rem 0; }
.cross-nav-grid a { text-decoration: none; }
.cross-nav-grid a:hover { color: var(--accent); }

.cross-nav-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted, #6a6a6a);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule, #e6e2d8);
}

.cross-nav-bottom a { text-decoration: none; }
.cross-nav-bottom .social a { margin-left: 1rem; }
