/* ----------------------------------------
   Academic minimalist theme – H. J. Dienes
   ---------------------------------------- */

/* Typography */
body {
  font-family: 'Gill Sans Nova', 'Gill Sans MT', 'Gill Sans', sans-serif;
  font-size: 20px;
  line-height: 1.75;
  color: #1a1a1a;
}

/* Navigation */
.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8e8e8;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1a !important;
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  color: #555555 !important;
}

.navbar-nav .nav-link:hover {
  color: #1a1a1a !important;
}

/* Responsive content width */
#quarto-content {
  max-width: clamp(600px, 80%, 1050px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* About / hero section */
#hero-heading {
  padding-top: 0.5rem;
}

/* Profile image */
.about-image img {
  border-radius: 2px;
  max-width: 220px;
}

/* About links */
.about-links a {
  font-size: 0.85rem;
  color: #555555 !important;
}

/* Two-column research sections */
.research-section {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.section-label {
  font-size: 1.3rem;
  font-weight: 600;
  padding-top: 0.15rem;
  color: #1a1a1a;
}

.section-papers p {
  margin-bottom: 1rem;
}

.section-papers ul {
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}

.section-papers li {
  margin-bottom: 0.3rem;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .research-section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Footer */
.nav-footer {
  background-color: #ffffff;
  border-top: 1px solid #e8e8e8;
  font-size: 0.82rem;
  color: #aaaaaa;
  padding: 1rem 0;
  margin-top: 3rem;
}