.gallery-container {
      max-width: 1400px;
      margin: 60px auto;
      padding: 0px;
      position: relative;
      width: 100%;
    }

    /* 主图区域 */
    .main-image {
      position: relative;
      width: 100%;
      height: 500px; /* 设置固定高度或根据需求调整 */
      overflow: hidden;
      border-radius: 0px;
    }

    .main-image img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0; /* 初始隐藏 */
      transition: opacity 0.5s ease-in-out; /* 平滑过渡 */
    }

    .main-image img.active {
      opacity: 1; /* 显示 */
    }

    /* 文字说明 + 缩略图容器 */
    .info-thumbnails {
      position: relative;
      z-index: 2;
      background-color: rgba(45, 90, 135, 0.8);
      border-radius: 8px;
      padding: 30px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: calc(100% - 40px);
      max-width: 380px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin-left: auto;
      overflow: visible;
    }

    /* 文字介绍区域 */
    .description {
      flex: 1;
    }

    .description h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .description p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    /* 缩略图容器 */
    .thumbnails {
      display: flex;
      gap: 10px;
      position: relative;
      width: 300px; /* 固定宽度 */
      height: 60px;
      margin: 0 auto; /* 居中 */
    }

    .thumbnail {
      width: 100px;
      height: 60px;
      border-radius: 0px;
      cursor: pointer;
      flex-shrink: 0;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      position: relative;
    }

    .thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .thumbnail.active {
      transform: scale(1.2);
      z-index: 1;
    }

    .thumbnail.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
    }

    /* 响应式调整 */
    @media (max-width: 900px) {
      .gallery-container {
        padding: 20px;
      }

      .info-thumbnails {
        width: 100%;
        max-width: none;
        margin-left: 0;
      }
      .thumbnails {
        width: 100%;
        justify-content: center; /* 在小屏幕上也居中 */
      }
    }