
:root {
  --teal: #2f8f8f;
  --teal-dark: #1d6666;
  --bg: #fbfcfc;
  --text: #1f2a2a;
  --muted: #647070;
  --border: #e1e8e8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
a { color: var(--teal-dark); }
.site-header { background: white; border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.4rem; color: var(--teal-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo img { border-radius: 6px; display: block; }
.site-header nav a { margin-left: 18px; text-decoration: none; color: var(--text); font-size: 0.95rem; }
.site-header nav a.active, .site-header nav a:hover { color: var(--teal-dark); font-weight: 600; }
.site-header nav a.nav-highlight { background: #f2a154; color: white; padding: 6px 14px; border-radius: 20px; font-weight: 700; }
.site-header nav a.nav-highlight:hover, .site-header nav a.nav-highlight.active { background: #d98738; color: white; }
.nav-mobile-bar { display: none; }
.nav-toggle { display: none; }
.nav-dropdown { display: none; }
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-desktop { display: none; }
  .nav-mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  }
  .nav-primary { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
  .nav-primary a { margin-left: 0; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 32px; height: 32px; padding: 0; border: none; background: none; cursor: pointer; flex-shrink: 0;
  }
  .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--teal-dark); border-radius: 2px; }
  .nav-dropdown { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border); padding: 8px 20px 12px; }
  .nav-dropdown.open { display: flex; }
  .nav-dropdown a { margin-left: 0; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown a:last-child { border-bottom: none; }
  .book-buttons { display: flex; flex-direction: column; }
  .book-buttons .button { width: 100%; margin: 0 0 10px; text-align: center; }
}
main { padding: 40px 20px 60px; min-height: 60vh; }
.hero { text-align: center; padding: 30px 0 40px; }
.hero h1 { font-size: 2.6rem; color: var(--teal-dark); margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 20px; line-height: 1; }
.hero h1 img { border-radius: 10px; display: block; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.button { display: inline-block; padding: 10px 20px; background: var(--teal); color: white; border-radius: 6px; text-decoration: none; margin: 0 6px; }
.button.secondary { background: white; color: var(--teal-dark); border: 1px solid var(--teal); }
h1 { color: var(--teal-dark); }
h2 { color: var(--teal-dark); border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.news-list { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.news-teaser { display: flex; gap: 18px; text-decoration: none; color: var(--text); align-items: flex-start; }
.news-teaser img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--border); }
.news-teaser .date { color: var(--muted); font-size: 0.85rem; }
.news-teaser h3 { margin: 4px 0; color: var(--teal-dark); }
.news-teaser p { margin: 0; color: var(--muted); }
.post .date { color: var(--muted); }
.post-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin: 16px 0 4px; }
.image-credit { margin: 0 0 16px; font-size: 0.8rem; color: var(--muted); text-align: right; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.member-card { display: flex; gap: 14px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--teal); color: white; font-size: 1.4rem; font-weight: 700; }
.member-info h3 { margin: 0 0 2px; }
.member-info .role { margin: 0 0 6px; color: var(--muted); font-size: 0.9rem; }
.member-info .bio { margin: 0 0 6px; font-size: 0.92rem; }
.member-info .bio.muted { color: var(--muted); font-style: italic; }
.member-info .contact { margin: 0; font-size: 0.88rem; }
.member-info .orcid { display: inline-block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.member-info .book { margin: 6px 0; font-size: 0.88rem; }
.theme-list li { margin-bottom: 10px; }
.pub-author { margin-bottom: 32px; }
.pub-list { list-style: none; padding: 0; margin: 12px 0 0; }
.pub-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.pub-list li:last-child { border-bottom: none; }
.muted { color: var(--muted); font-style: italic; }
.book-page { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; margin-top: 10px; }
.book-cover { width: 220px; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); flex-shrink: 0; }
.book-text { flex: 1; min-width: 280px; }
.book-text .lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 4px; }
.book-text .role { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; }
.toc-list { list-style: none; padding: 0; }
.toc-list li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.toc-list li:last-child { border-bottom: none; }
.site-footer { background: white; border-top: 1px solid var(--border); margin-top: 40px; }
.site-footer .wrap { padding: 24px 20px; color: var(--muted); font-size: 0.88rem; }
.site-footer p { margin: 4px 0; }
