@import url("/?originalUrl=https%3A%2F%2Ffonts.googleapis.com%2Fcss2%3Ffamily%3DNoto%2BSans%2BSC%3Awght%40300%3B400%3B500%3B600%26display%3Dswap");

body {
  font-family: "Source Sans Pro", Helvetica, Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  color: #000;
  /* background-color: rgb(233, 234, 233); */
  background-color: #fff;
}

video {
  display: block;
  margin: auto;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

ol,
ul {
  padding-left: 1rem;
}


/* box shadow from https://www.w3schools.com/css/css3_shadows_box.asp */
.header {
  overflow: hidden;
  background-color: rgb(244, 246, 249);
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.container {
  /* max-width: min(48%, 1000px); */
  max-width: 900px;
  margin: 62px auto 0px;
  /* background: #fff; */
  /* box-shadow: 2px 2px 7px rgba(100, 100, 100, 0.5); */
}

/* Global navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 52px;
  padding: 6px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 253, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 2px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav-brand a {
  font-weight: 500;
  font-size: 1.35rem;
  color: #0f172a;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #606a7c;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1d4ed8;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  background: #1d4ed8;
}

.intro {
  font-size: 16px;
  margin-top: 12px;
  padding-top: 8px;
  padding-bottom: 0px;
  /* padding: 20px 0px 20px 50px; */
}

.hero-panel {
  padding: 0;
  margin-top: 0px;
}

.hero-section {
  margin-top: 0;
  --bs-gutter-x: 0.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 0px;
  margin-bottom: 10px;
}


.hero-name {
  font-size: 2.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-bio {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.hero-bio p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 5px;
  color: #000;
}

.hero-bio a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-bio a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.hero-card p {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 5px;
}

.hero-avatar {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  padding-right: 15px;
}

.hero-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  max-width: 100%;
}

.hero-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
}

.hero-links a {
  background: transparent;
  border: none;
  padding: 4px 10px;
  margin-right: 10px;
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: none;
}

.hero-links a i {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.hero-links a:hover {
  background: #e9ecef;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.12);
}

.hero-links a:hover i {
  transform: scale(1.1);
}

.hero-links a:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header {
    padding: 8px 20px;
    height: auto;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-avatar {
    margin-top: 0;
  }

  .hero-links {
    justify-content: flex-start;
  }
}

.quote {
  font-family: 'Bitter';
}

.avatar {
  width: 100%;
  /* height: 100%; */
  /* border-radius: 50%; */
  object-fit: cover;
}

.links a {
  text-align: center;
  /* width: 100px; */
  display: inline-block;
  text-decoration: none;
}

.links1 a {
  text-align: center;
  /* width: 100px; */
  text-decoration: none;
}

.pub-item a,
.pub-item-v2 a,
.exp-list a {
  text-decoration: none;
}

.pub-item {
  align-items: flex-start;
  margin-top: 20px;
  font-size: 1.05rem;
}

/* Ensure consistent sizing for publication images and videos */
.pub-item img,
.pub-item video {
  width: 100% !important;
  height: auto !important;
  max-height: 160px;
  object-fit: contain;
  display: block !important;
}

.pub-item model-viewer {
  width: 100% !important;
  height: 150px !important;
  display: block !important;
}

.pub-item-v2 {
  display: flex;
  /* Arrange thumbnail and info in a row */
  align-items: center;
  /* Vertically align image and text */
  gap: 20px;
  /* Space between image and text */
  margin-bottom: 20px;
  /* Add space between items */
}

.paper-thumbnail {
  flex: 0 0 33%;
  /* Fix width to 30% of the container */
  max-width: 30%;
  /* Ensure it doesn’t exceed 30% */
}

.paper-thumbnail img {
  width: 100%;
  /* Make image fill its container */
  height: 150px;
  /* Maintain aspect ratio */
  object-fit: fill;
  /* Adjust image scaling */
}

.paper-info {
  flex: 0 0 67%;
  /* Fix width to 70% of the container */
  max-width: 70%;
  /* Ensure it doesn’t exceed 70% */
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.05rem;
  /* Center-align text vertically */
}

.paper-info-v1 p,
.paper-info p {
  margin-bottom: 0px;
}

.paper-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.paper-authors {
  font-weight: 400;
  color: #000;
  margin-bottom: 4px;
}

.paper-authors strong {
  font-weight: 550;
  text-decoration: underline;
}

.section-name {
  /* Solid line on top*/
  /* border-top: 1.5px solid rgb(160, 160, 160); */
  padding-top: 5px;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 5px;
}

.exp-list,
.pub-list {
  font-size: 1.05rem;
}

.center-row {
  margin: auto;
}

li {
  list-style: none;
}

footer {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 10pt;
}

footer p {
  margin-bottom: 0;
}

.body-posts a {
  color: #000000;
  font-weight: 400;
  text-decoration: none;
}

.slides .row {
  margin-top: 10px;
  margin-bottom: 10px;
}

.item {
  margin-bottom: 0.5em;
  display: table;
  page-break-inside: avoid;
}

.date {
  width: 165px;
  display: table-cell;
}

.posttitle {
  display: table-cell;
}

.blog-date {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85em;
  margin-top: .5em;
  margin-bottom: 1em;
}

.body-posts {
  font-family: 'Helvetica', "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
}

.body-posts .slides img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.body-posts h1 {
  font-family: "Helvetica", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  /*font-variant: small-caps;*/
  font-weight: 300;
}