.s3-container {
    /* background-color: #9CB5C8; */
    border-radius: 20px; /* 圆角效果 */
    padding: 0; /* 内边距 */
    /* margin: 40px 20vw 40px 0; 外边距 */
    overflow: hidden; /* 防止内容溢出 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影效果 */
  }
  #s3-container-blue  {
    background-color: #9CB5C8; /* 蓝色背景 */
    margin: 20px 0 20px 0;
  }
  
  #s3-container-purple  {
    background-color:  #ADA0B5; /* 紫色背景 */
    margin: 20px 0 20px 0;
  }
  
  
  #s3-container-green  {
    background-color: #C2D6AD; /* 绿色背景 */
    margin: 20px 0 20px 0;
  }
  
  
  .s3-container img.float-left {
    float: left; /* 图片左浮动 */
    margin: 0 20px 20px 0; /* 图片与文字的间距 */
    border-radius: 10px; /* 图片圆角 */
    max-width: 13vw; /* 图片最大宽度为容器的30% */
    height: auto; /* 保持图片比例 */
    
  }
  
  .s3-container img.float-right {
    float: right; /* 图片右浮动 */
    margin: 0 0 20px 20px; /* 图片与文字的间距 */
    border-radius: 10px; /* 图片圆角 */
    max-width: 13vw; /* 图片最大宽度为容器的30% */
    height: auto; /* 保持图片比例 */
    
  }
  
  .s3-container img.float-right-4 {
    float: right; /* 图片右浮动 */
    margin: 0 0 20px 20px; /* 图片与文字的间距 */
    border-radius: 10px; /* 图片圆角 */
    max-width: 13vw; /* 图片最大宽度为容器的30% */
    height: auto; /* 保持图片比例 */
    
  }
  .s3-container p {
    color: #000; /* 白色文字在紫色背景下更易读 */
    /* font-size: 1.8em; */
    line-height: 1.4;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-right: 40px;
    padding-left: 40px;
    text-indent: 2em; /* 首行缩进 */
  }
  
  /* 清除浮动影响 */
  .s3-container::after {
    content: "";
    display: table;
    clear: both;
  }
  .image-section-left,
  .image-section-right {
      position: relative;
  }
  #sub3-1{
      margin-bottom: 20px;
      padding-bottom: 20px;
  }
  #sub3-2{
      margin-bottom: 20px;
      padding-bottom: 20px;
  }
  #sub3-3{
      margin-bottom: 20px;
      padding-bottom: 20px;
  }
  
  .paper .section-divider::before {
      position: absolute;
      bottom: 0;
      left: 0;
      content: '';
      background-size: contain;
      background-image: url(https://static.igem.wiki/teams/5858/images/template/boundary.webp);
      width: 100%;
      height: 50px;
      background-repeat: no-repeat;
      background-position: center;
      display: none;
  }
  .overlay-text {
      position: absolute;
      max-width: 15vw;
      max-height: 15vw;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      /* 添加以下属性确保可见性 */
      /* z-index: 10; */
      /* background-color: rgba(0, 0, 0, 0.5); 可选：添加背景色以便查看 */
  }
  #overlay-text-blue {
      top: 4vw;
      left: 1vw;
  }
  #overlay-text-purple {
      top: 2vw;
      right: -4.5vw;
  }
  #overlay-text-green {
      top: 4vw;
      left: -2.5vw;
  }
  
  .overlay-text p {
      margin: 0;
      color: #fff;
      font-size: 1.5vw;
      padding: 0;
  }
  
  
  
  .s4-container-wrapper {
      display: flex;
      align-items: flex-start;
  }
  
  .s4-container-wrapper.left {
      margin: 1vw 0;
  }
  
  .s4-container-wrapper.right {
      margin: 1vw 0;
      flex-direction: row-reverse;
  }
  
  .pattern-left, .pattern-right {
      position: relative;
      top: 0;
      left: 0;
      margin-right: 20px;
  }
  
  .pattern-right {
      margin-left: 20px;
      right: 0;
  }
  
  .pattern-left img, .pattern-right img {
      max-width: 7vw;
      height: auto;
  }
  
  
  .s4-container {
    /* background-color: #9CB5C8; */
    border-radius: 20px; /* 圆角效果 */
    padding: 20px; /* 内边距 */
    /* margin: 40px 0 40px 0;  */
    overflow: hidden; /* 防止内容溢出 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影效果 */
  }
  
  #s4-container-blue-left  {
    background-color: #9CB5C8; /* 蓝色背景 */
    margin: 1vw 0;
  }
  #s4-container-blue-right  {
    background-color: #9CB5C8; /* 蓝色背景 */
    margin: 1vw 0;
  }
  
  #s4-container-purple-left  {
    background-color:  #ADA0B5; /* 紫色背景 */
    margin: 1vw 0;
  }
  #s4-container-red-right  {
    background-color:  #ADA0B5; /* 紫色背景 */
    margin: 1vw 0;
  }
  #s4-container-green-left  {
    background-color: #C2D6AD; /* 绿色背景 */
    margin: 1vw 0;
  }
  #s4-container-green-right  {
    background-color: #C2D6AD; /* 绿色背景 */
    margin: 1vw 0;
  }
  
  #sub4-1{
      margin-top: 60px;
      padding-bottom: 20px;
  }
  #sub4-2{
      margin-top: 60px;
      padding-bottom: 20px;
  }
  #sub4-3{
      margin-top: 60px;
      padding-bottom: 20px;
  }
  
  .paper .referlink {
      color: #3c3f57;
      font-weight: bold;
      text-decoration: underline;
  }
  
  .paper .referlink:hover {
      color: #fff;
      text-decoration: underline;
  }
  .paper .displayboard_pic_text {
      position: relative;
      width: 50vw;
      height: 40vw;
      padding: 50px;
      margin: 20px auto;
      background-image: url(https://static.igem.wiki/teams/5858/images/template/picture-display-board/board.webp);
      /* background-position: center; */
      background-repeat: no-repeat;
      background-size: contain;
  }
  .paper .displayboard_pic_text .brush {
      position: absolute;
      left: -8%;
      top: 58%;
      transform: translateY(-50%);
      width: 16%;
      min-height: 40%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      z-index: 1;
  }
  
  .paper .displayboard_pic_text .context {
      display: relative;
      margin: 0px 0px 40px 0;
      width: 95%;
      height: 95%; /* 改为auto，让容器根据内容自适应高度 */
      box-sizing: border-box;
  }
  
  .paper .displayboard_pic_text .text {
      margin-top: 40px;
      height: auto; /* 改为auto，让文本区域根据内容自适应高度 */
      overflow: hidden; /* 改为visible，确保内容完全可见 */
  }
  
  
  /* 新增样式：使pic中的图片在左上角显示，宽度为容器的30%，高度自动 */
  .paper .displayboard_pic_text .context .pic {
      flex: 0 0 40%;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      margin-top: 40px;
      margin-right: 40px; /* 移除margin，让图片紧贴左上角 */
      overflow: visible;
  }
  
  .paper .displayboard_pic_text .pic img {
      width: 100%;
      height: auto;
  }
  
  .s6-container-wrapper {
      display: flex;
      align-items: flex-start;
      margin: 5vw 5vw ;
  }
  
  /* .s6-container-wrapper.left {
      margin: 1vw 0;
  } */
  
  .s6-container-wrapper.right {
      /* margin: 1vw 0; */
      flex-direction: row-reverse;
  }
  .pattern-left-6 img, .pattern-right-6 img {
      max-width: 20vw;
      height: auto;
      margin: 0;
  }
  #fig0 {
      /* max-width: 10vw; */
      margin-right: 40px;
  }
  
  #fig2 {
      /* max-width: 17vw; */
      margin-left: 40px;
  }
  #fig3 {
      /* max-width: 17vw; */
      margin-right: 40px;
  }
  #fig4 {
      /* max-width: 17vw; */
      margin-left: 40px;
  }
  #fig5 {
      /* max-width: 17vw; */
      margin-right: 40px;
  }

  em{
      font-style: italic;
  }
  i{
    font-style: italic;
  }
.figure1{
    width: 60%;
    margin: 0 auto;
}