/* --------------------------------------------------
Academic Page Styling
Used for publications, teaching, and lecture pages
-------------------------------------------------- */

/* Improve readability for longer academic text */

body {
  line-height: 1.7;
}

/* Section headers */

h2 {
  margin-top: 2.2em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #dcdcdc;
}

h3 {
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-size: 1.15em;
}

/* Publication / citation blocks */

.publication {
  margin-bottom: 1.2em;
}

.publication-title {
  font-weight: 600;
}

.publication-authors {
  color: #444;
  font-size: 0.95em;
}

.publication-venue {
  font-style: italic;
}

/* Improve spacing for lists */

ul {
  margin-top: 0.5em;
}

li {
  margin-bottom: 0.35em;
}

/* Better link appearance for academic pages */

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Improve PDF / lecture links */

a[href$=".pdf"] {
  font-weight: 500;
}

/* Improve spacing between sections */

hr {
  margin-top: 2em;
  margin-bottom: 2em;
}

/* Slightly narrower text width for readability */

.main-container {
  max-width: 900px;
}