
:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #000000;
  --max-width: 800px;
}

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

/* Global link style for body content (not nav, breadcrumb, or publication lists) */
.page a {
    color: rgb(120, 56, 81);
    text-decoration: none; /* no underline by default */
    font-weight: 600; /* make colored links bold */
}

/* Make non-anchor interactive elements look like page links when needed */
.page-link-like {
    color: rgb(120, 56, 81);
    font-weight: 600;
}
.page-link-like:hover {
    text-decoration: underline;
}

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

.page a:visited {
    color: rgb(120, 56, 81);
    text-decoration: none; /* explicitly remove underline */
}

/* Keep the original class for backwards compatibility */
.lab-link {
    color: rgb(120, 56, 81);
    text-decoration: none; /* no underline by default */
    font-weight: 600;      /* bold for lab-link style */
}

/* Only underline on hover */
.lab-link:hover {
    text-decoration: underline;
}

/* Maintain same color and remove underline for visited links */
.lab-link:visited {
    color: rgb(120, 56, 81);
    text-decoration: none; /* explicitly remove underline */
}

.publication {
    margin-top: 6px;
    font-size: 0.85em;     /* smaller text */
    font-style: italic;    /* italic text */
}

/* Links inside publication */
.publication a {
    color: inherit;        /* same color as text */
    text-decoration: none; /* no underline by default */
    transition: color 0.2s ease;
    font-weight: 600;      /* make publication links bold */
}

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

/* Summary styling */
.publication summary {
    cursor: pointer;
    list-style: none;       /* remove default marker */
    position: relative;
    padding-left: 1.2em;   /* space for custom triangle */
}

/* Custom triangle using pseudo-element */
.publication summary::before {
    content: "▶";           /* right-pointing triangle */
    position: absolute;
    left: 0;
    top: 0;
    color: black;           /* default color */
    transition: color 0.2s ease;
}

/* Triangle color on hover of summary */
.publication summary:hover::before {
    color: rgb(120, 56, 81); /* triangle color on hover */
}

/* Optional: rotate triangle when open */
.publication details[open] summary::before {
    transform: rotate(90deg);
}
.profile-pic {
    display: block;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 15px;
}

.social-links img {
    width: 28px;
    height: 28px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

/* HEADER */
header {
  margin-bottom: 2rem;
}

/* NAV */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

nav a.active {
  text-decoration: underline;
}

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.page {
  padding: 1rem;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888888;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 1rem auto;
  display: block;
}

.collapsible-trigger {
  cursor: pointer;
}

.collapsible-content {
  display: none;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text);
  text-decoration: none;
}

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

/* Publications styling */
ol li {
  margin-bottom: 1rem;
}

/* Vertical spacing between research topics list items only */
.research-topics > li {
  margin-bottom: 1rem; /* add vertical space between items */
}

