/* =========================================================
   漯医历程 —— 原样移植 whuh 160 周年「160 · 协和历程」模块
   来源：155y.whuh.com/jy160  样式表 index.css / public.css
   唯一改动：rem → calc(N * var(--u))，使本模块不依赖 html 字号；
            选择器统一加 .lc-sec 前缀，避免与协和页面同名类冲突。
   ========================================================= */
/* 与 whuh 的 html{font-size:5.2083vw} 等价；≤1024px 时固定 85px（同其断点） */
.lc-sec{--u: 5.2083vw; position:relative;}
@media screen and (max-width:1024px){.lc-sec{--u:85px;}}
.lc-sec .title{width: 100%;
  position: relative;
  z-index: 1;}
.lc-sec .tit-c{}
.lc-sec .tit-c h3{position: relative;
  font-family: SourceHanSerifCN-Medium;
  font-size: calc(0.46 * var(--u));
  font-weight: normal;
  font-stretch: normal;
  line-height: calc(0.46 * var(--u));
  letter-spacing: 0px;
  color: #ffda9d;
  padding-left: calc(0.25 * var(--u));}
.lc-sec .tit-c h3::before{content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(0.06 * var(--u));
  height: calc(0.49 * var(--u));
  background: url(../image/s3/tit1.png) no-repeat center center / 100% 100%;}
.lc-sec .title.black .tit-c h3{color: #333333;}
.lc-sec .title.black .tit-c h3::before{background-image: url(../image/s3/tit2.png);}
.lc-sec .section1, .lc-sec .section2, .lc-sec .section3, .lc-sec .section4, .lc-sec .section5, .lc-sec .section6, .lc-sec .section7, .lc-sec .section8, .lc-sec .section9, .lc-sec .section10{padding-left: calc(3.6 * var(--u));}
.lc-sec .section3{padding-right: calc(1.33 * var(--u));
  background: url(../image/s3/s3-bg.jpg) no-repeat center center / cover;}
.lc-sec .s3{width: 100%;
  position: relative;}
.lc-sec .s3-top{position: relative;
  width: 100%;
  text-align: center;
  padding: calc(1.15 * var(--u)) 0 calc(0.47 * var(--u)) 0;}
.lc-sec .s3-line-text{position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  pointer-events: none;}
.lc-sec .s3-line-text img{display: block;
  width: calc(11.85 * var(--u));}
.lc-sec .s3-big-year{position: relative;
  display: inline-block;
  font-family: HarmonyOS_Sans_SC_Bold;
  font-size: calc(4.2 * var(--u));
  font-weight: bold;
  line-height: 1;
  background-position: center;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-image 0.3s;}
.lc-sec .s3-zoom-btn{position: absolute;
  right: calc(2 * var(--u));
  bottom: calc(1.4 * var(--u));
  width: calc(0.7 * var(--u));
  height: calc(0.7 * var(--u));
  background-image: linear-gradient(-30deg,
      #103061 0%,
      #5d7eb1 100%),
    linear-gradient(#034132,
      #034132);
  background-blend-mode: normal,
    normal;
  box-shadow: 0px calc(0.17 * var(--u)) calc(0.1 * var(--u)) 0px rgba(69, 94, 133, 0.26);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;}
.lc-sec .s3-zoom-btn:hover{transform: scale(1.1);}
.lc-sec .s3-zoom-btn img{width: calc(0.18 * var(--u));}
.lc-sec .s3-subtitle{font-family: HarmonyOS_Sans_SC_Medium;
  font-size: calc(0.22 * var(--u));
  font-weight: normal;
  font-stretch: normal;
  line-height: calc(0.3 * var(--u));
  letter-spacing: -1px;
  color: #000000;
  margin-top: calc(0.2 * var(--u));}
.lc-sec .s3-bottom{position: relative;
  width: 100%;
  padding: 0 calc(0.9 * var(--u));}
.lc-sec .s3-bottom .film-bg{position: absolute;
  top: 0;
  left: calc(0.9 * var(--u));
  
  right: calc(0.9 * var(--u));
  height: calc(1.3 * var(--u));
  background: url(../image/s3/s3-dy.png) no-repeat center center / 100% 100%;
  z-index: 1;}
.lc-sec .s3-bottom .swiper-container{padding: calc(0.21 * var(--u)) 0 calc(0.82 * var(--u)) 0;
  margin: 0 calc(0.09 * var(--u));
  z-index: 2;}
.lc-sec .s3-bottom .swiper-slide .year-tick{position: absolute;
  bottom: calc(-0.82 * var(--u));
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;}
.lc-sec .s3-bottom .swiper-slide .year-tick .year{font-family: HarmonyOS_Sans_SC_Medium;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #5f594e;
  margin-bottom: calc(0.05 * var(--u));
  transition: all 0.3s;}
.lc-sec .s3-bottom .swiper-slide .year-tick .tick{width: 1px;
  height: calc(0.22 * var(--u));
  background: #333;
  transition: all 0.3s;}
.lc-sec .s3-bottom .swiper-slide.active .year-tick .year{color: #a6201a;
  font-weight: bold;}
.lc-sec .s3-bottom .swiper-slide.active .year-tick .tick{height: calc(0.3 * var(--u));
  background: #a6201a;}
.lc-sec .timeline-box{position: absolute;
  bottom: 0;
  left: calc(0.9 * var(--u));
  right: calc(0.9 * var(--u));
  height: calc(0.6 * var(--u));
  
  background: url(../image/s3/s3-bc.png) no-repeat center bottom / auto calc(0.1 * var(--u));
  z-index: 1;}
.lc-sec .timeline-line{position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #333;}
.lc-sec .timeline-line::before, .lc-sec .timeline-line::after{content: '';
  position: absolute;
  bottom: 0;
  width: calc(0.26 * var(--u));
  height: calc(0.05 * var(--u));
  background: #333;}
.lc-sec .timeline-line::before{left: 0;}
.lc-sec .timeline-line::after{right: 0;}
.lc-sec .s3-bottom .swiper-slide{cursor: pointer;
  position: relative;}
.lc-sec .s3-bottom .swiper-slide .pic{padding-top: 60%;
  border-radius: calc(0.2 * var(--u));}
.lc-sec .s3-bottom .swiper-slide .pic img{width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;}
.lc-sec .s3-bottom .swiper-slide:hover .pic img{transform: scale(1.1);}
.lc-sec .s3-bottom .swiper-slide .pic::after{content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: calc(0.21 * var(--u)) auto;
  transition: all 0.3s;
  pointer-events: none;}
.lc-sec .s3-bottom .swiper-slide.active .pic::after{background-color: rgba(0, 0, 0, 0);
  background-image: url(../image/s3/s3-fdj.png);}
.lc-sec .s3-ctrl .swiper-button-prev, .lc-sec .s3-ctrl .swiper-button-next{position: absolute;
  top: calc(0.65 * var(--u));
  
  transform: translateY(-50%);
  width: calc(0.6 * var(--u));
  height: calc(0.6 * var(--u));
  margin-top: 0;
  z-index: 10;
  cursor: pointer;
  background-color: #9d1b0f;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: calc(0.08 * var(--u)) auto;
  border-radius: 50%;
  transition: all 0.5s;}
.lc-sec .s3-ctrl .swiper-button-prev{left: 0;
  background-image: url(../image/s3/s3-prevon.png);}
.lc-sec .s3-ctrl .swiper-button-next{right: 0;
  background-image: url(../image/s3/s3-nexton.png);}
.lc-sec .s3-ctrl .swiper-button-prev.swiper-button-disabled{background-image: url(../image/s3/s3-prev.png);}
.lc-sec .s3-ctrl .swiper-button-next.swiper-button-disabled{background-image: url(../image/s3/s3-next.png);}
.lc-sec .s3-ctrl>div.swiper-button-disabled{background-color: transparent;}
.lc-sec .s3-popup{position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;}
.lc-sec .s3-popup-inner{width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(0.4 * var(--u)) calc(0.4 * var(--u)) calc(0.4 * var(--u)) calc(3.6 * var(--u));}
.lc-sec .s3-popup .picbox{width: 100%;
  height: 100%;
  max-width: 98%;
  max-height: 98%;
  position: relative;}
.lc-sec .s3-popup .picbox img{position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;}
.lc-sec .s3-popup .close-btn{position: absolute;
  top: 2%;
  right: 1%;
  width: calc(0.4 * var(--u));
  height: calc(0.4 * var(--u));
  cursor: pointer;
  z-index: 10;
  transition: all 0.5s;}
.lc-sec .s3-popup .close-btn:hover{transform: rotate(180deg);}
.lc-sec .s3-popup .close-btn::before, .lc-sec .s3-popup .close-btn::after{content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(0.3 * var(--u));
  height: 2px;
  background: #fff;}
.lc-sec .s3-popup .close-btn::before{transform: translate(-50%, -50%) rotate(45deg);}
.lc-sec .s3-popup .close-btn::after{transform: translate(-50%, -50%) rotate(-45deg);}
.lc-sec .s3 ul li.swiper-slide-prev, .lc-sec .s3 ul li.swiper-slide-active+li+li+li+li+li+li+li{opacity: 0;}
.lc-sec .s3 .tx{display: flex;
  flex-direction: column;}
.lc-sec .s3 ul li:nth-child(even) .tx{flex-direction: column-reverse;}
.lc-sec .s3 .tx p{font-size: calc(0.14 * var(--u));
  color: #666666;
  line-height: 1.6;}
.lc-sec .s3 .tx h3{font-size: calc(0.22 * var(--u));
  color: #B62B2B;
  font-weight: bold;}
.lc-sec .s3 ul li:nth-child(odd) .picbox{margin-bottom: calc(0.2 * var(--u));}
.lc-sec .s3 ul li:nth-child(odd) .tx p{margin-bottom: calc(0.1 * var(--u));}
.lc-sec .s3 ul li:nth-child(odd) .tx h3{margin-bottom: 0;}
.lc-sec .s3 ul li:nth-child(even) .picbox{margin-top: calc(0.2 * var(--u));}
.lc-sec .s3 ul li:nth-child(even) .tx p{margin-top: calc(0.1 * var(--u));}
.lc-sec .s3 ul li:nth-child(even) .tx h3{margin-top: 0;}
.lc-sec .s3 .picbox{width: calc(2.6 * var(--u));
  padding: calc(0.1 * var(--u));
  background: rgba(162, 26, 34, 0.01);
  box-shadow: inset 0px 0px 30px 0px rgba(162, 78, 26, 0.37);
  position: relative;}
.lc-sec .s3 .picbox .pic{padding-top: 66.94%;}
.lc-sec .s3 .picbox::before{content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(0.12 * var(--u));
  height: calc(0.12 * var(--u));
  border-top: 2px solid #B62B2B;
  border-left: 2px solid #B62B2B;
  z-index: 2;
  box-sizing: content-box;}
.lc-sec .s3 .picbox::after{content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: calc(0.12 * var(--u));
  height: calc(0.12 * var(--u));
  border-bottom: 2px solid #B62B2B;
  border-right: 2px solid #B62B2B;
  z-index: 2;
  box-sizing: content-box;}
.lc-sec .s3 .tx .d{position: absolute;
  top: 50%;
  left: calc(0.1 * var(--u));
  
  width: calc(0.16 * var(--u));
  height: calc(0.16 * var(--u));
  background: #B62B2B;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 0 0 calc(0.04 * var(--u)) rgba(182, 43, 43, 0.2);}
@media screen and (max-width: 1024px){
  .lc-sec .section1, .lc-sec .section2, .lc-sec .section3, .lc-sec .section4, .lc-sec .section5, .lc-sec .section6, .lc-sec .section7, .lc-sec .section8, .lc-sec .section9{padding-left: 0;
    padding-right: 0;
    padding-top: calc(0.4 * var(--u));
    padding-bottom: calc(0.4 * var(--u));
    overflow: hidden;}
  .lc-sec .tit-c h3{font-size: calc(0.3 * var(--u));
    line-height: calc(0.3 * var(--u));
    padding-left: calc(0.2 * var(--u));}
  .lc-sec .tit-c h3::before{width: calc(0.04 * var(--u));
    height: calc(0.33 * var(--u));}
  .lc-sec .section3{}
  .lc-sec .s3-top{padding: calc(0.4 * var(--u)) 0 calc(0.2 * var(--u)) 0;}
  .lc-sec .s3-big-year{font-size: calc(1.5 * var(--u));}
  .lc-sec .s3-line-text img{width: 96%;}
  .lc-sec .s3-zoom-btn{right: 10px;
    bottom: auto;
    top: calc(0.2 * var(--u));
    width: calc(0.4 * var(--u));
    height: calc(0.4 * var(--u));}
  .lc-sec .s3-zoom-btn img{width: calc(0.14 * var(--u));}
  .lc-sec .s3-popup .close-btn{top: calc(0.8 * var(--u));}
  .lc-sec .s3-ctrl .swiper-button-prev, .lc-sec .s3-ctrl .swiper-button-next{width: calc(0.3 * var(--u));
    height: calc(0.3 * var(--u));
    top: calc(0.5 * var(--u));}
  .lc-sec .s3-subtitle{font-size: calc(0.18 * var(--u));
    margin-top: calc(0.1 * var(--u));}
  .lc-sec .s3-bottom{padding: 0 calc(0.4 * var(--u));}
  .lc-sec .s3-bottom .film-bg{left: calc(0.4 * var(--u));
    right: calc(0.4 * var(--u));
    height: calc(0.95 * var(--u));
    background: #9d1b0f;}
  .lc-sec .s3-bottom .swiper-container{padding: calc(0.1 * var(--u)) 0 calc(0.6 * var(--u)) 0;}
  .lc-sec .s3-bottom .swiper-slide .year-tick{bottom: calc(-0.6 * var(--u));}
  .lc-sec .s3-bottom .swiper-slide .year-tick .tick{height: calc(0.15 * var(--u));}
  .lc-sec .s3-bottom .swiper-slide.active .year-tick .tick{height: calc(0.2 * var(--u));}
  .lc-sec .timeline-box{left: calc(0.3 * var(--u));
    right: calc(0.3 * var(--u));}
  .lc-sec .s3-popup{position: fixed;
    height: 100vh;}
  .lc-sec .s3-popup-inner{padding: calc(0.3 * var(--u));}
}
@media screen and (max-width: 640px){
  .lc-sec .s3-bottom .film-bg{height: calc(0.8 * var(--u));}
}
@media screen and (max-width: 480px){
  .lc-sec .s3-big-year{font-size: calc(1.3 * var(--u));}
}
.lc-sec .pic{padding-top: 75%;
  position: relative;
  overflow: hidden;}
.lc-sec .pic img{position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s;}
.lc-sec .pic::before{position: absolute;
  top: 0;
  left: -90%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
  background: -webkit-linear-gradient(left,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 53) 50%,
      rgba(255, 255, 255, 0) 70%);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 53) 50%,
      rgba(255, 255, 255, 0) 70%);
  -webkit-transform: skewX(-25deg);
  -ms-transform: skewX(-25deg);
  transform: skewX(-25deg);
  z-index: 3;}
.lc-sec .pic div.a{position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  height: 100%;
  transition: all 0.8s;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;}

/* =========================================================
   接入协和页面所需的收口（不改动模块本身的样式）
   ========================================================= */
/* 背景：与「今昔协和」一致（白底，无红渐变）—— 元素本身即 .section3 */
.lc-sec.section3{
  background:#fff;
  padding:calc(1.0 * var(--u)) calc(1.33 * var(--u)) calc(1.15 * var(--u)) calc(3.6 * var(--u));
}
.lc-sec .wp{width:100%;}

/* 协和页面有一条全局 .swiper-container{width:1328px;height:100%}，
   会覆盖本模块的自适应宽度，这里显式还原为自动宽度 */
.lc-sec .s3-bottom .swiper-container{
  width:auto;
  height:auto;
}

/* 协和页面的全局 box-sizing 与重置会影响 .pic 的宽度计算，
   这里显式声明，保证缩略图按 slide 宽度铺满（与 whuh 渲染一致） */
.lc-sec .s3-bottom .swiper-slide .pic{
  display:block;
  width:100%;
}
