/* ===== Font Import ===== */
@import url("/?originalUrl=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DLato%3Aital%2Cwght%400%2C300%3B0%2C400%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C700%26display%3Dswap");

/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: #000;
  background-color: #fafafa;
}

/* ===== Layout Container ===== */
.container {
  max-width: 910px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* ===== Links ===== */
a {
  color: #1a6fb5;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: #e67e22;
}

/* ===== Bio Section ===== */
.bio-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 0 36px;
}

.bio-text {
  flex: 1;
}

.bio-text p {
  margin-bottom: 12px;
  color: #000;
}

.bio-photo {
  flex-shrink: 0;
  width: 180px;
}

.bio-photo img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ===== Name ===== */
.site-name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* ===== Social Links ===== */
.social-links {
  text-align: center;
  margin-top: 16px;
  font-size: 17px;
}

.social-links a {
  margin: 0 8px;
  padding: 4px 0;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
}

.social-links a:hover {
  border-bottom-color: #e67e22;
}

/* ===== Section Headings ===== */
.section-heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8e8e8;
  letter-spacing: -0.3px;
}

/* ===== News Section ===== */
.news-list {
  list-style: none;
  padding: 0 12px 0 0;
  max-height: 296px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.news-list::-webkit-scrollbar {
  width: 4px;
}

.news-list::-webkit-scrollbar-track {
  background: transparent;
}

.news-list::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 2px;
}

.news-list .news-highlight {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  padding: 10px 14px;
  border-left: 4px solid #e74c3c;
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
  font-weight: 500;
}

.news-list li {
  padding: 5px 0;
  font-size: 18px;
  color: #000;
}

.news-list li em {
  color: #1a6fb5;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  min-width: 64px;
  display: inline-block;
}

/* ===== Publication / Project Cards ===== */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pub-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.pub-thumb {
  flex-shrink: 0;
  width: 160px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  align-self: center;
}

.pub-thumb img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.pub-thumb .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s ease-in-out;
}

.pub-thumb .video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.pub-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pub-title {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #1a6fb5;
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.pub-title:hover {
  color: #e67e22;
}

.pub-authors {
  font-size: 16.5px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 4px;
}

.pub-authors strong {
  color: #2d3436;
  font-weight: 600;
}

.pub-authors a {
  color: #000;
}

.pub-authors a:hover {
  color: #e67e22;
}

.pub-venue {
  font-size: 16px;
  margin-bottom: 6px;
  color: #d35400;
  font-weight: 600;
}

.pub-links {
  font-size: 16px;
  margin-bottom: 6px;
}

.pub-links a {
  font-weight: 500;
  margin-right: 4px;
}

.pub-links span.sep {
  color: #ccc;
  margin: 0 4px;
}


.pub-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.55;
  margin-top: 4px;
}

/* ===== Article Section ===== */
.article-card {
  border-left: 3px solid #1a6fb5;
  padding: 14px 18px;
  background: #fff;
  border-radius: 0 10px 10px 0;
  border: 1px solid #eee;
  border-left: 3px solid #1a6fb5;
  transition: box-shadow 0.25s ease;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.article-card .pub-title {
  margin-bottom: 4px;
}

.article-meta {
  font-size: 16px;
  color: #999;
  margin-bottom: 6px;
}

.article-desc {
  font-size: 16.5px;
  color: #333;
  line-height: 1.6;
}

/* ===== Work Experience Section ===== */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0 10px 16px;
}

.work-logo {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.work-info {
  flex: 1;
}

.work-role {
  font-size: 19px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 2px;
}

.work-meta {
  font-size: 15px;
  color: #999;
  margin-bottom: 6px;
}

.work-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.55;
}

/* ===== Academic Activities Section ===== */
.activity-list {
  font-size: 17px;
  color: #000;
  line-height: 1.8;
  padding-left: 22px;
}

.activity-list li {
  margin-bottom: 8px;
}

.activity-list a {
  font-weight: 600;
}

.activity-list .award-date {
  color: #999;
  font-size: 15px;
  margin-left: 4px;
}

/* ===== Footer ===== */
.site-footer {
  text-align: right;
  font-size: 12px;
  color: #bbb;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.site-footer a {
  color: #bbb;
}

.site-footer a:hover {
  color: #e67e22;
}

/* ===== Highlight ===== */
span.highlight {
  background-color: #ffffd0;
  padding: 0 4px;
  border-radius: 2px;
}

/* ===== Responsive: Tablet ===== */
@media screen and (max-width: 768px) {
  .container {
    padding: 24px 18px 40px;
  }

  .bio-section {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .bio-photo {
    width: 140px;
  }

  .site-name {
    font-size: 30px;
  }

  .section-heading {
    font-size: 20px;
    margin: 28px 0 12px;
  }

  .pub-item {
    padding: 12px;
    gap: 14px;
  }

  .pub-thumb {
    width: 120px;
  }

  .pub-title {
    font-size: 14.5px;
  }

  .pub-authors, .pub-desc {
    font-size: 12.5px;
  }
}

/* ===== Responsive: Mobile ===== */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 16px 14px 32px;
  }

  .bio-photo {
    width: 120px;
  }

  .site-name {
    font-size: 26px;
  }

  .section-heading {
    font-size: 18px;
  }

  .pub-item {
    flex-direction: column;
    gap: 10px;
  }

  .pub-thumb {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .pub-title {
    font-size: 14px;
  }

  .pub-authors, .pub-desc, .pub-venue, .pub-links {
    font-size: 12px;
  }

  .news-list li {
    font-size: 12.5px;
  }

  .award-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
