/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

/* Header */
.site-header {
  background: #1a1a2e;
  color: #fff;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.site-title img {
  height: 2.5rem;
  width: auto;
  display: block;
}

.site-nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1.5rem;
}

.site-nav a:hover { color: #fff; }

/* Main */
main.container {
  padding: 2rem 1.5rem;
}

/* Footer */
.site-footer {
  background: #f4f4f4;
  border-top: 1px solid #ddd;
  padding: 1rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* Posts */
.post-list {
  list-style: none;
}

.post-list li {
  margin-bottom: 0.75rem;
}

.post-list time {
  color: #888;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.post header {
  margin-bottom: 1.5rem;
}

.post time {
  color: #888;
  font-size: 0.9rem;
}

/* Member index */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  transition: box-shadow 0.15s ease;
}

.member-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-card img,
.member-card-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.member-card-placeholder {
  background: #ddd;
}

.member-card-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.member-card-role {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.15rem;
}

.member-card-location {
  font-size: 0.8rem;
  color: #999;
}

/* Member profile */
.member-profile {
  max-width: 800px;
}

.member-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.member-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.member-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-meta h1 {
  margin-bottom: 0.4rem;
}

.member-role {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.2rem;
}

.member-location {
  font-size: 0.9rem;
  color: #888;
}

.member-bio {
  line-height: 1.8;
  color: #444;
}
