* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2933;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Global header banner */
.header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 32px;
  background-color: #ffffff;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.tagline {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #6b7280;
}

/* Ensures footer stays at bottom */
.page-wrapper {
  min-height: calc(100vh - 120px);
}

/* Main layout */
.container {
  display: flex;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 20px;
}

/* Narrow sidebar (~1/3 previous width) */
.sidebar {
  width: 130px;
  margin-right: 32px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  text-decoration: none;
  color: #374151;
  font-size: 0.9rem;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Main content */
.content {
  flex: 1;
}

.content h2,
.content h3 {
  margin: 24px 0 12px 0;
}

.content p {
  margin-bottom: 16px;
}

.content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

/* Page-specific metadata footer */
.page-meta {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Fixed site footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer a {
  color: #374151;
  text-decoration: none;
}
