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

body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  color: #4B9CD3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: #4B9CD3;
  color: #fff;
  padding: 2.5rem 2rem;
}

.header-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.header-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.header-text {
  text-align: left;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

header .title {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0.2rem;
}

header .affiliation {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0.8rem;
}

header .links {
  display: flex;
  gap: 1.2rem;
}

header .links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

header .links a:hover {
  opacity: 1;
  text-decoration: underline;
}

header .links a svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.teaching {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h2.section-title {
  font-size: 1.3rem;
  color: #4B9CD3;
  border-bottom: 2px solid #4B9CD3;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.course-list {
  list-style: none;
  padding: 0;
}

.course-list li {
  margin-bottom: 0.8rem;
}

.course-list a {
  font-size: 1.05rem;
}

.course-list .desc {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.15rem;
}

footer {
  border-top: 3px solid #4B9CD3;
  text-align: center;
  padding: 1rem;
  color: #999;
  font-size: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .header-text {
    text-align: center;
  }
  header .links {
    justify-content: center;
  }
  header h1 {
    font-size: 1.6rem;
  }
  .header-photo {
    width: 140px;
    height: 140px;
  }
  .teaching {
    padding: 1.5rem 1rem;
  }
}
