/* General styles */
body {
  font-family: Georgia, serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
}

header {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* About section */
#about {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.profile-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #2c3e50;
}

.bio h2 {
  margin-top: 0;
}

/* Section headers */
section h2 {
  border-bottom: 2px solid #2c3e50;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* Publications & teaching lists */
ul {
  list-style-type: square;
  padding-left: 1.2rem;
}

a {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #2c3e50;
  color: white;
  margin-top: 3rem;
}

/* Teaching table */
.teaching-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.teaching-table th, 
.teaching-table td {
  border: 1px solid #ccc;
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.teaching-table th {
  background-color: #2c3e50;
  color: white;
}

.teaching-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.teaching-table ul {
  margin: 0;
  padding-left: 1.2rem;
}
