/* Custom styles for HumanoidGen website */

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* 两张图片之间的间距 */
  margin-top: 10px;
}

.image-container img {
  max-width: 10%;
  height: auto;
  border: 2px solid #ffffff;
  border-radius: 10px;
}

.grid-container {
  width: 150%;
  max-width: 150%;
  padding: 40px;
  box-sizing: border-box;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
  grid-template-columns: repeat(4, minmax(220px, 1fr)); /* 每行 4 个视频 */
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.video-item {
  text-align: center;
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.caption {
  margin-top: 10px;
  font-size: 16px;
  color: #222;
}

.grid-container2 {
  width: 150%;
  max-width: 150%;
  padding: 40px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.hero-body {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 3rem 1.5rem 1rem 1.5rem;
}

.section {
  padding: 1rem 1.5rem;
}
