/* ==========================================================================
   Layout — Container, Section, Page Headers
   Structural styles independent of theme.
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: 5rem 0;
  flex: 1;
}

/* Page Headers */
.page-header { margin-bottom: 3rem; }

.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 6rem 1rem;
}

.error-page-icon {
  color: var(--color-text-faint);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.error-page-code {
  font-size: 6rem;
  margin: 0;
  color: var(--color-primary);
}

.error-page-message {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.error-page-search {
  max-width: 320px;
  margin: 0 auto 2rem;
}

.error-page-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
