/* ===== 基础 ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
.site-header {
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
  padding: 18px 60px 14px;
}

.site-title {
  font-size: 28px;
  font-weight: 500;
}

.site-title .school {
  color: #8c1515;
  font-size: 34px;
  font-family: Georgia, serif;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #8c1515;
  font-size: 18px;
  font-weight: 600;
}

.top-nav a.active {
  color: #222;
}

/* ===== HERO ===== */
.hero {
  background: #000;
  padding: 54px 20px 46px;
}

.hero-wrapper {
  display: flex;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.hero-card {
  background: #ffffff;
  padding: 26px 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  flex: 0 0 580px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.hero-text {
  flex: 1;
  max-width: 360px;
}

.hero-content h1 {
  font-size: 39px;
  line-height: 1.12;
  margin: 0 0 24px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.58;
  margin: 0;
  color: #222;
}

.hero-image {
  flex: 0 0 auto;
}

.hero-image img {
  width: 170px;
  height: 240px;
  object-fit: cover;
  border-radius: 50% / 42%;
  display: block;
}

.hero-research-figure {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-research-figure img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  background: transparent;
}

/* ===== SECTION ===== */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.section h3 {
  font-size: 48px;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section p {
  line-height: 1.6;
}

.intro-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.intro-text {
  font-size: 20px;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto;
  color: #333;
  text-align: center;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ===== RESEARCH PAGE ===== */

.research-intro {
  font-size: 19px;
  line-height: 1.75;
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  color: #333;
}

/* ❗关键：一排一个 */
.research-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;   /* 卡片之间间距 */
  max-width: 1000px;
  margin: 0 auto;
}

/* 卡片整体放大 */
.research-link-card {
  display: block;
  color: #222;
  text-decoration: none;
  border-radius: 14px;
  padding: 30px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover效果更高级 */
.research-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

/* 标题更大 */
.research-link-card h4 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #8c1515;
  text-align: center;
}

/* 图片区域 */
.research-card-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 图片放大+美化 */
.research-card-image img {
  width: 100%;
  max-width: 900px;   /* 控制最大宽度 */
  border-radius: 10px;
  object-fit: cover;
}

/* ===== PUBLICATIONS PAGE ===== */
.pub-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pub-year {
  font-size: 32px;
  font-weight: 700;
  color: #8c1515;
  margin-top: 10px;
  margin-bottom: -10px;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pub-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #ddd;
}

.pub-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
}

.pub-number {
  font-weight: 700;
}

.pub-title {
  font-style: italic;
}

.pub-link {
  color: #3b5edb;
  margin-left: 6px;
}

.pub-image {
  flex: 0 0 220px;
}

.pub-image img {
  width: 220px;
  max-width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ===== PEOPLE PAGE ===== */
.people-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.profile-card {
  padding: 34px;
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.profile-photo {
  flex: none;
}

.profile-photo img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.profile-info {
  width: 100%;
  max-width: 720px;
}

.name {
  font-size: 36px;
  margin: 0 0 14px 0;
  color: #8c1515;
  line-height: 1.15;
}

.profile-title {
  font-size: 18px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 26px 0;
}

.profile-title .date {
  color: #666;
  font-style: italic;
}

.timeline-section {
  margin-top: 8px;
  text-align: left;
}

.timeline-section h4 {
  font-size: 24px;
  margin: 0 0 14px 0;
  color: #222;
}

.timeline {
  margin: 0;
  padding-left: 22px;
  line-height: 1.85;
  font-size: 17px;
}

.timeline li {
  margin-bottom: 8px;
}

.people-info-card h4 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #8c1515;
}

.people-info-card p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    flex: none;
    width: 100%;
  }

  .hero-research-figure {
    justify-content: center;
  }

  .hero-research-figure img {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .pub-item {
    flex-direction: column;
  }

  .pub-image {
    flex: none;
  }

  .pub-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .profile-container {
    align-items: center;
    text-align: center;
  }

  .timeline-section {
    width: 100%;
    text-align: left;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px 12px;
  }

  .site-title {
    font-size: 24px;
  }

  .site-title .school {
    font-size: 28px;
  }

  .top-nav {
    gap: 16px;
    margin-top: 14px;
  }

  .top-nav a {
    font-size: 16px;
  }

  .hero {
    padding: 28px 16px;
  }

  .hero-card {
    padding: 24px 20px;
  }

  .hero-content {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-image img {
    width: 150px;
    height: 215px;
  }

  .section {
    padding: 46px 18px;
  }

  .section h3 {
    font-size: 36px;
  }

  .intro-text {
    font-size: 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .profile-photo img {
    width: 190px;
    height: 240px;
  }

  .name {
    font-size: 28px;
  }

  .profile-title,
  .people-info-card p,
  .timeline {
    font-size: 15px;
  }

  .timeline-section h4,
  .people-info-card h4,
  .research-link-card h4 {
    font-size: 22px;
  }
}

/* ===== HOME RESEARCH DIRECTIONS ===== */
.home-research-section {
  padding-top: 10px;
  padding-bottom: 70px;
}

.home-research-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 950px;
  margin: 0 auto;
}

.home-research-card {
  display: block;
  color: #222;
  text-decoration: none;
  border-radius: 12px;
  padding: 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.home-research-card h4 {
  font-size: 28px;
  margin: 0 0 18px 0;
  color: #8c1515;
  text-align: center;
  line-height: 1.3;
}

.home-research-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-research-image img {
  width: 100%;
  max-width: 820px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

