:root {
  --text: #1f1f1f;
  --muted: #777;
  --accent: #ff6a00;
  --rule: #e5e5e5;
  --bg: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---------- Header：---------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.header .info h1 {
  margin: 0 0 20px;
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
}

.header .info p { margin: 0 0 10px; }

.header .photo img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Section ---------- */
h2 {
  margin: 48px 0 16px;
  padding-bottom: 6px;
  font-size: 1.7rem;
  font-weight: 700;
  border-bottom: 1px solid var(--rule);
}

/* ---------- About ---------- */
.about p {
  margin: 0 0 14px;
  text-align: justify;
}

.highlight { color: var(--accent); }


.affiliations {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 24px;
  margin: 48px 0 8px;
  text-align: center;
}

.affil { flex: 1; }

.affil .logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.affil .logo img {
  max-height: 72px;
  max-width: 120px;
  object-fit: contain;
}

.affil .name { font-weight: 700; font-size: 1.05rem; }
.affil .role { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

/* ---------- Publications / Projects ---------- */
.publication {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.pub-image { flex: 0 0 150px; }
.pub-image img { width: 150px; height: auto; border-radius: 4px; }
.pub-content { flex: 1; }
.pub-content .desc { color: var(--muted); }

ul { padding-left: 20px; }
li { margin-bottom: 4px; }

@media (max-width: 640px) {
  .header { flex-direction: column-reverse; align-items: flex-start; }
  .header .info h1 { font-size: 2rem; }
  .affiliations { flex-direction: column; align-items: center; }
  .publication { flex-direction: column; }
}
