/* ===== 容器：宽度自适应最宽卡片，所有卡片等宽 ===== */
.card-stack {
  display: flex;
  flex-direction: column;      /* 竖向排列 */
  align-items: stretch;        /* 子项横向拉伸至容器宽度（容器宽度由最宽子项决定） */
  width: fit-content;          /* 容器宽度由内容撑开（即最宽卡片的宽度） */
  margin: 0 auto;             /* 水平居中 */
  padding-top: 60px;          /* 距顶部距离 */
  gap: 24px;                  /* 卡片间距 */
  max-width: 90vw;            /* 防止在窄屏上超出视口（可选） */
  box-sizing: border-box;
}
 h1 {
            font-size: 1.8rem;
            border-left: 5px solid #3b82f6;
            padding-left: 15px;
            margin-bottom: 0.5rem;
 }
/* ===== 卡片：宽度自动拉伸至容器宽度 ===== */
.card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.75s linear;

  /* 保证卡片内文字单行（h3 和 h5 各自单独一行，但内部不换行） */
  white-space: nowrap;
  overflow: visible;          /* 允许文字溢出卡片？但卡片宽度会被撑开，所以不会溢出 */
}

/* 标题样式（h3 大小） */
.card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #1a1f2b;
  /* white-space 继承自父级 */
}

/* 副标题样式（h5 大小） */
.card h5 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  color: #5e6778;
  text-decoration: none;
}
.card h5 a:hover {
  text-decoration: none; 
    color: #5e6778;
        font-style: bold, italic;
        background-color: #DDDDDD;
  }
  .card h5 a:visited {
  text-decoration: none; 
    color: #5e6778;
  }
.card h5 a {
  text-decoration: none; 
    color: #5e6778;
    font-style: italic;
  }
body {
    margin: 0;
    height: 100vh;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
video {
  width: 100%;
  height: auto;
  display: block;
  border: 30px solid #BFBFBF;
}
.container {
    width: 50%;
    margin: 0 auto;
  }
  
.is-mobile .container {
    width: 100%;
  }
a {
    text-decoration: none; 
  }
.card.slide-out-left {
  transform: translateX(-150vw) !important;
  pointer-events: none;
}

/* 小屏适配 */
@media (max-width: 768px) {
  .card { width: 70%; }
}
@media (max-width: 480px) {
  .card { width: 88%; }
}
        .info {
            background: #dbeafe;
            border-color: #93c5fd;
        }