/* Minimalistic MERFISH Dashboard Style – 2025 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffffff;
  --text: #1a1a1a;
  --gray: #666;
  --border: #6d4148ff;
  --accent: #919d60ff; /* Custom olive-green accent */
  --hover: #ddd19bff;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0;
}

header {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

.citation {
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.85;
  margin-top: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.member {
  margin: 4rem 0;
}

.member h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f5f5f5;
}

.card-body {
  padding: 1.4rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  color: var(--gray);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

/* EXPANDABLE NOTES STYLING (these 12 lines make the <details> work) */
.card details {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.card summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--accent);
  list-style: none;
  position: relative;
  padding-left: 1.2rem;
}

.card summary::before {
  content: '▶';
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}

.card details[open] summary::before {
  transform: rotate(90deg);
}

.card details[open] p {
  margin-top: 0.5rem;
  padding: 0.8rem;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--hover);
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9f9f9;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 5rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

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

/* Mobile */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  header h1 { font-size: 2.3rem; }
  .member h2 { font-size: 1.8rem; }
}