:root {
    --swiper-theme-color: #000;
}

.main {
  display: flex;
  flex-direction: row-reverse;
  background: url(../images/anniversary/bg.jpg) no-repeat center / cover;
}

.tab-name {
  white-space: nowrap;
  font-size: 16px;
}

.swiper-box {
  width: 100%;
  flex: 1;
  max-width: calc(100% - 60px);
  position: relative;
}

.logo {
    position: absolute;
    top: 32px;
    left: 59px;
    width: 11%;
    z-index: 999;
}

.tabs {
  width: 180px;
  height: 100vh;
  position: absolute;
  left: 90px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  background: url(/upload/images/2025/5/2c4fec0687afdcea.png) no-repeat center / 100% 100%;
  padding-top: 40px;
  gap: 5vh;
  /* margin: 20px 0; */
}

.tabs .tab {
  width: 180px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transform: scale(1);
  transition: all .3s ease;
  background: url(../images/anniversary/tab_bg_c.png) no-repeat center / contain;
  color: #969696;
  font-size: 14px;
  margin: 15px 0;
}

.tabs .tab.current {
  background: url(../images/anniversary/tab_bg_s.png) no-repeat center / contain;
  color: #fff;
}

.tabs .tab:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.hSwiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vSwiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.side-bar {
  width: 76px;
  background-color: red;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.side-bar .top {
  width: 100%;
  height: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #2d2d2d;
}

.side-bar .bottom {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
}

.side-bar .top .menu,
.side-bar .bottom .qr {
  width: 50px;
  height: 50px;
  /* background-color: #fff; */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-in-out;
}

.side-bar .bottom .qr {
  position: relative;
}

.qr .qr-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  /* left: -16px; */
  left: 0;
  transform: translateX(-100%);
  width: 140px;
  height: 160px;
  background-color: #fff;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: all .3s ease-in-out;
  z-index: 10;
  display: none;
}

.qr .qr-wrap::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: -8px;
  transform: rotate(45deg);
}

.qr .qr-wrap .qr-code {
  width: 120px;
  height: 120px;
}

.qr .qr-wrap {
  font-size: 14px;
  color: #bbb;
}

.live .qr-wrap {
  transform: translate(-100%, -30px);
}

.live .qr-wrap::before {
  transform: rotate(45deg) translate(20px, 20px);
}

.side-bar .top .menu:hover {
  background-color: rgba(255, 255, 255, .2);
}

.side-bar .bottom .qr:hover {
  background-color: rgba(255, 255, 255, .5);
  cursor: pointer;
}

.side-bar .bottom .qr:hover .qr-wrap {
  left: -16px;
  opacity: 1;
  display: flex;
}

.menu img {
  width: 46px;
  height: 46px;
}

.mousewheel {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 24px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mousewheel::before,
.mousewheel::after {
  content: '';
  width: 1px;
  height: 210px;
  background-color: #d8d8d8;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.mousewheel::before {
  top: 0;
  transform: translateY(-110%);
}

.mousewheel::after {
  bottom: 0;
  transform: translateY(110%);
}

.slide-wrap {
  width: 100%;
  padding: 20px 110px 20px 20%;
}

.slide-box {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vSwiper .swiper-slide:nth-child(even) .slide-box {
  flex-direction: row-reverse;
}

.slide-box .slide-img {
   width: 100%; 
   height: auto;
   flex-shrink: 0;
}
.slide-boximg{
    width: 48%;
    height: 40vh;
     /*aspect-ratio: 4 / 3;        控制容器宽高比例 */  
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border: 4px solid #fff;
}
}
.slide-content {
  height: 40vh;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vSwiper .swiper-slide:nth-child(odd) .slide-content {
  padding-left: 20px;
  flex: 1;
}

.vSwiper .swiper-slide:nth-child(even) .slide-content {
  padding-right: 20px;
  flex: 1;
}

.slide-title {
  font-size: 32px;
  line-height: 2;
  color: #000;
}

.slide-desc {
  flex: 1;
  font-size: 16px;
  line-height: 2;
  color: #757575;
  /* height: 100px; */

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
}

.link-box {
  width: 100%;
  display: flex;
  align-items: center;
}

.vSwiper .swiper-slide:nth-child(odd) .link-box {
  justify-content: flex-end;
}

.vSwiper .swiper-slide:nth-child(even) .link-box {
  justify-content: flex-start;
}


.slide-link {
  width: 34px;
  height: 34px;
  background-color: #494949;
  position: relative;
  transition: all .3s ease;
  border-radius: 17px;
  overflow: hidden;
  /* z-index: 100; */
  display: none;
  z-index: 10;
}

.swiper-slide.swiper-no-swiping.swiper-slide-active .slide-link {
  display: block;
}


.vSwiper .swiper-slide:nth-child(odd) .slide-link .arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  transform: translate(50%, -50%);
}

.vSwiper .swiper-slide:nth-child(even) .slide-link .arrow {
  position: absolute;
  top: 17px;
  left: 17px;
  transform: translate(-50%, -50%);
}

.vSwiper .swiper-slide:nth-child(odd) .slide-link .hide-text {
  font-size: 14px;
  height: 14px;
  color: #fff;
  white-space: nowrap;
  top: 0;
  bottom: 0;
  right: 34px;
  margin: auto;
  line-height: 1em;
  position: absolute;
}

.vSwiper .swiper-slide:nth-child(even) .slide-link .hide-text {
  font-size: 14px;
  height: 14px;
  color: #fff;
  white-space: nowrap;
  top: 0;
  bottom: 0;
  left: 34px;
  margin: auto;
  line-height: 1em;
  position: absolute;
}

.swiper-slide a:hover .slide-link {
  will-change: background-color;
  background-color: #9f1515;
  width: 104px;
  position: relative;
}

.swiper-slide .slide-link,
.swiper-slide a {
  pointer-events: auto !important;
  /* z-index: 100; */
  /* position: relative; */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  display: none;
}

.swiper-slide-active .swiper-slide a {
  display: flex;
}
@media screen and (min-width: 2560px) {
  .slide-title{
    font-size: 34px;
    line-height: 2;
    
}
  .slide-desc{
    font-size: 20px;
    line-height: 2;
 }
}
@media screen and (max-width: 1200px) {
  .slide-img {
    width: 60%;
  }
  
}

@media screen and (max-width: 1120px) {
  .slide-wrap {
    padding: 30px 110px 30px 30%;
  }

  .slide-desc {
    -webkit-line-clamp: 6;
    line-clamp: 6;
  }
 
}

@media screen and (max-width: 900px) {
  .slide-wrap {
    padding: 30px 110px 30px 30%;
  }

  .slide-title {
    font-size: 22px;
   line-height: 2;
}
}

@media screen and (max-width: 768px) {
  .main {
    flex-direction: column;
  }

  .side-bar {
    width: 100%;
    height: 60px;
    background-color: red;
    display: flex;
    flex-direction: row;
  }
   .tabs .tab:hover{
   transform: scale(0.9);
  }
  .side-bar .top {
    width: 28%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #2d2d2d;
    flex-direction: row;
  }

  .side-bar .bottom {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;
  }

  .side-bar .top .menu,
  .side-bar .bottom .qr {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    /* background-color: #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
  }

  .qr .qr-wrap {
    position: absolute;
    top: 100%;
    bottom: auto;
    margin: auto;
    left: 50%;
    right: 0;
    transform: translate(-25%, 16px);
  }

  .qr .qr-wrap::before {
    background-color: #fff;
    position: absolute;
    top: -8px;
    bottom: auto;
    left: 0;
    right: 0;
  }

  .live .qr-wrap {
    transform: translate(-50%, 16px);
  }

  .live .qr-wrap::before {
    transform: rotate(45deg) translate(25px, -25px);
  }

  .logo {
       top: 17px;
        /* left: 18px; */
        width: 43%;
        /* top: 50%; */
        left: 50%;
        transform: translate(-50%, 0);
  }

  .tabs {
    width: 100%;
    flex-direction: row;
    padding-top: 0;
    height: 100px;
    background: none;
  }

  .swiper-box {
    width: 100%;
    height: calc(100vh - 60px);
    flex: 1;
    max-width: 100%;
    position: relative;
  }

  .tabs .tab {
    width: 177px;
    height: 100px;
    margin: 0;
    transform: scale(0.9);
  }
   .tab-name{
    font-size:12px;
   }


  #hSwiper>.swiper-wrapper>.swiper-slide {
    padding-top: 110px;
  }

  .slide-wrap {
    padding: 10px 20px;
  }

  .slide-box {
    display: flex;
    flex-direction: column !important;
  }

  .slide-title {
       font-size: 20px;
        line-height: 1;
        margin: 10px 0;
  }

  .slide-desc {
  font-size: 14px;
        line-height: 20px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 8;
        overflow: hidden;
        margin: 10px 0;
        text-overflow: ellipsis;
  }

  .slide-content {
    padding: 0 !important;
    width: 100%;
    height: 255px;
  }

  .slide-link {
    will-change: background-color;
    background-color: #9f1515;
    height: 24px;
    width: 96px !important;
    border-radius: 12px;
    overflow: hidden;
    /* z-index: 100; */
    display: none;
    z-index: 10;
    margin-top: 10px;
  }

  .hide-text {
    font-size: 12px !important;
    right: auto;
    left: 12px !important;
    line-height: 1.3 !important;
  }



  .arrow {
    top: 0 !important;
    bottom: 0;
    right: 10px !important;
    margin: auto;
    left: auto !important;
    transform: translate(0, 0) !important;
    width: 14px;
  }

  .link-box {
    justify-content: flex-end !important;
  }

  .mousewheel {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .tabs {
    width: 100%;
    flex-direction: row;
    padding-top: 0;
    height: 100px;
    background: none;
    left: 0;
    top: 80px;
  }

  .swiper-box {
    width: 100%;
    height: calc(100vh - 60px);
    flex: 1;
    max-width: 100%;
    position: relative;
  }




  #hSwiper>.swiper-wrapper>.swiper-slide {
    padding-top: 180px;
  }

  .vSwiper .slide-box {
    display: none !important;
  
  }

  .swiper-slide-active .vSwiper .slide-box {
    display: flex !important;
  }


  .slide-img {
    width: 100%;
   
  }



  .slide-wrap {
    
    padding: 10px 20px;
  }
}


/* 手机 */
@media (max-width: 479px) {
 .tabs{
   gap:0;
  }
  .slide-boximg{
    width:100%;
    height: 221px;
    overflow: hidden;
  }

}

/* 平板 */
@media (min-width: 768px) and (max-width: 1023px) {
  .tabs{
   gap:0;
  }

.slide-boximg{
    width:100%;
   
    overflow: hidden;
  }
}

/* 桌面 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .tabs{ 
    left: 50px;
    gap: 0vh;
  }
.tab-name{
  font-size: 14px;    
}
.tabs .tab{
  width: 178px;
  height: 135px;
    margin: 6px 0;
}
}

/* 2K 显示器 */
@media (min-width: 1920px) and (max-width: 2559px) {
 .tabs{
   gap:1vh;
  }
}

/* 4K 显示器 */
@media (min-width: 2560px) {
 
}
