
#tome57-module-09{
  --red:#87282d;
  --ink:#25282c;
  --muted:#555a61;
  --line:#d9d2ce;
  width:100%;
  background:#fff;
  color:var(--ink);
  font:400 16px/1.75 "Poppins-Regular",Poppins,sans-serif;
  margin:0;
  container-type:inline-size;
  container-name:tome57-reports;
}

#tome57-module-09,
#tome57-module-09 *{
  box-sizing:border-box;
}

/* 整体容器 */

#tome57-module-09 .r-inner{
  max-width:1400px;
  width:calc(100% - 96px);
  margin:0 auto;
  padding:52px 0 72px;
}

/* 标题字体 */

#tome57-module-09 h2,
#tome57-module-09 h3{
  font-family:"Poppins-SemiBold",Poppins,sans-serif;
  font-weight:600;
  color:var(--ink);
  letter-spacing:normal;
  text-transform:none;
  text-align:center;
  margin:0;
}

/* 主标题及图片间距 */

#tome57-module-09 h2#tome57-reports-title{
  display:block;
  font-size:28px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  margin:0 !important;
  padding:0 0 40px !important;
  text-align:center !important;
  overflow-wrap:break-word;
}

/* 证书轮播区域 */

#tome57-module-09 .r-grid{
  --gap:24px;
  position:relative;
  display:flex;
  gap:var(--gap);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  align-items:stretch;
  margin:0;
  padding:0;
}

#tome57-module-09 .r-grid::-webkit-scrollbar{
  display:none;
}

/* 单张证书 */

#tome57-module-09 figure{
  margin:0;
  padding:0;
  text-align:center;
  min-width:0;
  flex:0 0 calc((100% - 3 * var(--gap))/4);
  scroll-snap-align:start;
}

/* 证书图片完整展示，不裁切 */

#tome57-module-09 img{
  display:block;
  width:100%;
  max-width:245px;
  aspect-ratio:5/7;
  height:auto;
  object-fit:contain;
  margin:0 auto;
  border:0;
}

/* 证书名称 */

#tome57-module-09 h3{
  font-size:16px;
  font-weight:600;
  line-height:1.45;
  margin:12px 0 0;
  overflow-wrap:break-word;
  text-align:center;
}

/* 证书对应材料 */

#tome57-module-09 .r-type{
  display:block;
  font-size:14px;
  color:var(--muted);
  margin-top:3px;
  line-height:1.5;
}

/* 轮播底部导航 */

#tome57-module-09 .r-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin:18px auto 0;
}

#tome57-module-09 .r-nav[hidden]{
  display:none !important;
}

/* 左右切换按钮 */

#tome57-module-09 .r-nav button{
  appearance:none;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:none;
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
  color:var(--red);
  cursor:pointer;
  padding:0;
  margin:0;
  touch-action:manipulation;
  box-shadow:none;
}

#tome57-module-09 .r-nav button:hover,
#tome57-module-09 .r-nav button:active{
  color:#592024;
  border-color:var(--red);
}

#tome57-module-09 .r-nav button:focus-visible,
#tome57-module-09 .r-grid:focus-visible{
  outline:2px solid var(--red);
  outline-offset:2px;
}

/* 当前序号及进度条 */

#tome57-module-09 .r-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:"Poppins-SemiBold",Poppins,sans-serif;
  font-weight:600;
  font-size:13px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  min-width:0;
}

#tome57-module-09 .r-current{
  color:var(--red);
}

#tome57-module-09 .r-progress{
  display:block;
  width:100px;
  height:2px;
  background:var(--line);
  flex:0 1 100px;
  min-width:24px;
}

#tome57-module-09 .r-progress i{
  display:block;
  height:100%;
  width:57.14%;
  background:var(--red);
}

/* =========================
   平板端
   ========================= */

@media(max-width:1050px){

  #tome57-module-09{
    font-size:15px;
  }

  #tome57-module-09 .r-inner{
    width:calc(100% - 56px);
    padding:44px 0 60px;
  }

  #tome57-module-09 h2#tome57-reports-title{
    font-size:24px !important;
    line-height:1.45 !important;
    padding:0 0 32px !important;
  }

  #tome57-module-09 .r-grid{
    --gap:20px;
  }

  #tome57-module-09 figure{
    flex-basis:calc((100% - 2 * var(--gap))/3);
  }

  #tome57-module-09 .r-progress i{
    width:42.857%;
  }

}

/* =========================
   手机端标题及间距
   ========================= */

@media(max-width:767px){

  #tome57-module-09{
    font-size:14px;
    line-height:1.75;
  }

  #tome57-module-09 .r-inner{
    width:calc(100% - 40px);
    padding:32px 0 48px;
  }

  #tome57-module-09 h2#tome57-reports-title{
    font-size:20px !important;
    font-weight:600 !important;
    line-height:1.45 !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 0 20px !important;
  }

}

/* =========================
   手机端单张证书轮播
   ========================= */

@media(max-width:599px){

  #tome57-module-09 .r-grid{
    --gap:0px;
  }

  #tome57-module-09 figure{
    flex-basis:100%;
    scroll-snap-stop:always;
  }

  #tome57-module-09 img{
    max-width:220px;
  }

  #tome57-module-09 h3{
    font-size:14px;
    line-height:1.45;
    margin-top:10px;
  }

  #tome57-module-09 .r-type{
    font-size:13px;
  }

  #tome57-module-09 .r-nav{
    margin-top:14px;
    gap:6px;
  }

  #tome57-module-09 .r-count{
    gap:7px;
  }

  #tome57-module-09 .r-progress{
    width:76px;
    flex-basis:76px;
  }

  #tome57-module-09 .r-progress i{
    width:14.2857%;
  }

}

/* 小屏幕手机 */

@media(max-width:360px){

  #tome57-module-09 .r-inner{
    width:calc(100% - 32px);
  }

  #tome57-module-09 .r-progress{
    width:52px;
    flex-basis:52px;
  }

}

/* =========================
   Ueeshop窄容器预览适配
   ========================= */

@container tome57-reports (max-width:1050px){

  #tome57-module-09 .r-inner{
    width:calc(100% - 56px);
    padding:44px 0 60px;
  }

  #tome57-module-09 h2#tome57-reports-title{
    font-size:24px !important;
    line-height:1.45 !important;
    padding:0 0 32px !important;
  }

  #tome57-module-09 .r-grid{
    --gap:20px;
  }

  #tome57-module-09 figure{
    flex-basis:calc((100% - 2 * var(--gap))/3);
  }

}

@container tome57-reports (max-width:767px){

  #tome57-module-09 .r-inner{
    width:calc(100% - 40px);
    padding:32px 0 48px;
  }

  #tome57-module-09 h2#tome57-reports-title{
    font-size:20px !important;
    font-weight:600 !important;
    line-height:1.45 !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 0 20px !important;
  }

}

@container tome57-reports (max-width:599px){

  #tome57-module-09 .r-grid{
    --gap:0px;
  }

  #tome57-module-09 figure{
    flex-basis:100%;
    scroll-snap-stop:always;
  }

  #tome57-module-09 img{
    max-width:220px;
  }

  #tome57-module-09 h3{
    font-size:14px;
    line-height:1.45;
    margin-top:10px;
  }

  #tome57-module-09 .r-type{
    font-size:13px;
  }

  #tome57-module-09 .r-nav{
    margin-top:14px;
    gap:6px;
  }

  #tome57-module-09 .r-count{
    gap:7px;
  }

  #tome57-module-09 .r-progress{
    width:76px;
    flex-basis:76px;
  }

}

@container tome57-reports (max-width:360px){

  #tome57-module-09 .r-inner{
    width:calc(100% - 32px);
  }

  #tome57-module-09 .r-progress{
    width:52px;
    flex-basis:52px;
  }

}

