/* ==============================
   BODY & GLOBAL TYPOGRAPHY
   ============================== */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;           
  line-height: 1.65;
  padding: 2rem;
  background-color: #f9f9f9;
  color: #333;
}

/* Headings inside content (Markdown H1/H2) */
h1 {
  font-size: 2rem;
  text-align: left;
  color: #2c3e50;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.5rem;
  text-align: left;
  color: #3a4b63;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

/* ==============================
   SITE NAME & NAVIGATION
   ============================== */
.site-name {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #222;
}

nav {
  text-align: center;
  margin-bottom: 2.5rem;
}

nav a {
  font-size: 1.2rem;
  margin: 0 0.8rem;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ff00ff;
  text-decoration: underline;
}

/* ==============================
   PAGE TITLES
   ============================== */
.page-title {
  text-align: center;
  font-size: 2rem;
  margin: 1.25rem 0 2rem;
  color: #2c3e50;
}

/* ==============================
   PROFILE PHOTO (GENERAL)
   ============================== */
img.profile-photo {
  display: block;
  margin: 0 auto;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

/* ==============================
   INTRO SECTION (HOME PAGE)
   ============================== */
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;       /* vertical alignment */
  gap: 2rem;
  margin-bottom: 2rem;
}

.intro img.profile-photo {
  width: 220px;              /* slightly smaller for balance */
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.intro .bio {
  flex: 1;                   /* text fills remaining space */
}

.intro .bio h1 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 2rem;
}

.intro .bio h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: normal;
  color: #3a4b63;
}

.intro .bio p {
  margin-top: 0;
  line-height: 1.6;
}

/* Responsive behavior: stack on small screens */
@media (max-width: 600px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .intro .bio {
    flex: none;
  }

  .intro img.profile-photo {
    margin-bottom: 1rem;
  }
}

/* ==============================
   LISTS IN SECTIONS
   ============================== */
ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Publication page list items */
ul.publications {
  list-style-type: none;   /* remove bullets */
  padding-left: 0;
}

ul.publications li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* DOI / links */
ul.publications a {
  color: #2c3e50;
  text-decoration: none;
}

ul.publications a:hover {
  text-decoration: underline;
  color: #ff00ff;
}

/* Italics for titles */
.publication-title {
  font-style: italic;
}


/* ==============================
   FOOTER
   ============================== */
footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}
