body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: white;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

.layout {
  display: flex;
}

.sidebar {
  width: 240px;
  padding: 20px;
  background: #eef2f7;
  height: calc(100vh - 80px);
  box-shadow: inset -1px 0 0 rgba(0,0,0,0.1);
  position: sticky;
  top: 80px;
}

.sidebar h3 {
  margin-top: 0;
  color: #222;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 6px 0;
  font-weight: 600;
}

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

main {
  flex: 1;
  padding: 30px;
  max-width: 900px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background: #e9eff6;
  margin-top: 40px;
}

img.headshot {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
  }
}
