/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Colour tokens ── */
:root {
  --accent:       #b39ddb;
  --accent-dark:  #7e57c2;
  --accent-light: #d1c4e9;
  --bg:           #12111a;
  --bg-panel:     #1e1b2e;
  --text:         #ede9f5;
  --text-muted:   #b0a8c8;
}

/* ── Base ── */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

/* ── Navbar links ── */
.navbar-nav .nav-link {
  color: #d4c45a !important;
}
.navbar-nav .nav-link:hover {
  color: #e8d87a !important;
}

/* ── Headings ── */
h1, h2, h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--accent-light);
}

/* ── Links ── */
a { color: var(--accent); }
a:hover { color: var(--accent-light); text-decoration: underline; }

/* ── Publication entries ── */
.pub-entry {
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  margin-bottom: 18px;
  background: var(--bg-panel);
  border-radius: 0 6px 6px 0;
}
.pub-title {
  font-weight: 600;
  color: var(--accent-light);
  font-size: 0.95rem;
}
.pub-authors {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2px 0;
}
.pub-journal {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}
.pub-links {
  margin-top: 6px;
  font-size: 0.8rem;
}
.pub-links a {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
}
.pub-links a:hover {
  background: var(--accent);
  color: #1a1a2e;
}

/* ── Bio section ── */
.bio-container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.bio-photo img {
  width: 180px;
  border-radius: 50%;
  border: 3px solid var(--accent);
}
.bio-text { flex: 1; min-width: 260px; }
.bio-links { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.bio-links a {
  padding: 5px 14px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
}
.bio-links a:hover { background: var(--accent); color: #1a1a2e; }

/* ── Bio photo ── */
.bio-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

/* ── Footer ── */
.nav-footer { border-top: 1px solid var(--accent-dark); color: var(--text-muted); font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .bio-container { flex-direction: column; }
  .bio-photo img { width: 130px; }
  
}

/* ── Research cards ── */
.project-card {
  border-left: 4px solid var(--accent);
  background: var(--bg-panel);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.project-card h2 {
  border-bottom: none;
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--accent-light);
}
.project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}
.badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.badge-status-active {
  background: #2a4a2a;
  color: #7ecf7e;
  border: 1px solid #4a8a4a;
}
.badge-status-dissemination {
  background: #2a3a4a;
  color: #7eb8cf;
  border: 1px solid #4a7a8a;
}
.badge-funder {
  background: #2e2a3e;
  color: var(--accent-light);
  border: 1px solid var(--accent-dark);
}
.project-card p {
  font-size: 0.9rem;
  
/* ── Force navbar links to show ── */
.navbar-collapse {
  display: flex !important;
}
.navbar-nav {
  flex-direction: row !important;
}