    html {
      font-size: 62.5%; /* 1rem = 10px，方便后续计算 */
    }
    li,a{
      color:#666;
    }
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      font-size: 1rem; /* 相当于10px */
    }
    a{
      text-decoration:none;
    }
    h1{
      display: block;
      text-align:center;
      margin:0;
      padding:1rem 0;
      font-size: 6vw;
      font-weight:bold;
    }
   .main-list {
      list-style-type: none;
      padding: 1.5rem 0 1.5rem 0;
      display: flex;
      justify-content: space-around;
      background-color: #f3f2f0;
      margin: 0;
      position: relative;
    }

   .main-list li {
      padding: 0.5rem; /* 5px */
      cursor: pointer;
      position: relative;
    }
    .main-list .active{
      color:#000;
    }
   .main-list li.active::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 0.2rem; /* 2px */
      background-color: red;
    }

  .main-list li a{
      font-size:4.5vw;
  }

  a:visited {
    color: inherit; /* 使用继承的颜色，即与父元素颜色相同 */
    /* 或者指定具体颜色值，比如下面这样 */
    /* color: #333; 这里的#333是黑色的一种十六进制表示，你可以换成你想要的颜色 */
    text-decoration: none; /* 去除默认的下划线，如果需要保留下划线则注释掉这行 */
}

   .sub-list {
      list-style-type: none;
      padding: 0 0 1.5rem 0;
      display: flex;
      justify-content: space-around;
      background-color: #f3f2f0;
      margin: 0;
    }

   .sub-list li {
      padding: 1rem; /* 10px */
      background-color: #fff; /* 添加底色*/
      border-radius: 1rem; /* 设置弧形，数值越大弧度越明显，这里设置为10px */
    }
   .sub-list .active {
      background-color: #d7000f; /* 添加底色 */
    }
   .sub-list .active a{
      color: #fff;
    }
  .sub-list li a{
      font-size:4vw;
      color:#000;
  }
   .image-set {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin: 1rem;
    }

   .image-item {
      position: relative;
      margin: 0.5rem; /* 5px */
      max-width: calc(33.333% - 1rem); /* 10px */
      flex: 0 0 calc(33.333% - 1rem);
      padding-top: calc(25% - 1rem); /* 添加这行，设置4:3的宽高比 */
      overflow: hidden; /* 隐藏超出部分 */
    }
   .image-item a {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

   .image-item img,.my-image,.colour-code {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover; /* 保持图片比例并覆盖容器 */
      border-radius: 1rem; /* 10px */
    }

   .image-caption {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.4);
      color: white;
      padding: 0.2rem; /* 2px */
      box-sizing: border-box;
      text-align: center;
      pointer-events: none; /* 添加这一行，使点击事件穿透 */
    }

   .image-caption p {
      margin: 0;
      font-weight:normal;
      font-size: 4vw;
    }

   .image-caption i {
      margin: 0;
      font-style: normal;
      font-size: 3vw;
    }
   .image-show img{
      width: 100%;
      height: auto;
      border-radius: 1rem; /* 10px */
    }
    /* 当图片数量不足三个时的特殊处理 */
   .image-set:last-child >.image-item:last-child:nth-last-child(-n + 3):first-child {
      margin-right: auto;
    }