/* banner */
.banner {
  height: 56rem;
}

.anchors {
  position: sticky;
  top: calc(var(--header-height) - 0.5rem);
  z-index: 8;
  padding: 0;
  backdrop-filter: blur(16px);
  box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.10) inset;
}

.anchors .tabs-special {
  height: var(--header-height);
  margin-inline: var(--paddInline);
  overflow-x: auto;
}

.anchors .tabs-special li {
  line-height: var(--header-height);
  flex-shrink: 0;
}

.anchors .tabs-special li.active::before {
  bottom: 0.8rem;
}
.introduce .cart{
  position: relative;
}

.introduce .cart img {
  width: 12.8rem;
  height: 12.8rem;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(35%, 30%);
}

/*为什么选择乐吾乐  */
.reason {
  background: no-repeat center/contain url('https://assets.le5lecdn.com/le5le/img/us/reason_bg1.png?r=1751279781766');
  --columns: 3;
}

.reason .flex-v-center:nth-child(2) {
  margin-block: 12.8rem 4rem;
  ;
}

.reason .flex-v-center:nth-child(2) div {
  margin-right: 4rem;
}

.reason .flex-v-center h2 {
  margin-bottom: 8px;
  font-family: ALIBABA Font, ALIBABA Font-Bold;
}

.reason .flex-v-center h2 span {
  color: var(--color-base-hover);
}

.reason .carts {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: 2.4rem;
}

.reason .carts .cart {
  background: no-repeat right top/ 128px 128px rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 3.2rem 2.4rem;
}

.reason .carts .cart:nth-child(1) {
  background-image: url('https://assets.le5lecdn.com/le5le/img/us/reason1.png?r=1751279781766');
}

.reason .carts .cart:nth-child(2) {
  background-image: url('https://assets.le5lecdn.com/le5le/img/us/reason2.png?r=1751279781766');
}

.reason .carts .cart:nth-child(3) {
  background-image: url('https://assets.le5lecdn.com/le5le/img/us/reason3.png?r=1751279781766');
}

/* 文化 */
.culture .content {
  --columns: 3;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: 2.4rem;
}

.culture .content .cart {
  padding: 3.2rem 2.4rem;
  background: #181c24;
}

.culture .content .grid-db-lines {
  grid-template-columns: 1fr 5fr;
  align-items: center;
}

.culture .content .cart h3 {
  margin-bottom: 0;
}

/* 历史 */
.history .history-content {
  display: flex;
  overflow-x: auto;
  position: relative;
  --column: 4;
}

.history .history-content .info {
  width: calc(100%/var(--column));
  flex-shrink: 0;
}

.history .history-content .info img {
  height: auto;
  width: 100%;
  visibility: hidden;
}

.history .history-content .info .introduce {
  border-radius: 1.6rem;
  box-shadow: 1px 0px 0px 0px #232833 inset;
  padding: 4rem 2.4rem;
  margin-top: 52px;
}

.history .history-content .info .introduce h2 {
  margin-bottom: 16px;
  margin-right: 0.8rem;
  font-weight: bold;
  display: inline-block;
}

.history .history-content .info p {
  height: 77px;
  overflow: auto;
}

/*定义滚动条轨道 内阴影+圆角*/
.history .history-content .info p::-webkit-scrollbar {
  background: rgba(255, 255, 255, 0.08);
}

/*滚动条里面小方块*/
.history .history-content .info p::-webkit-scrollbar-thumb {
  background: rgba(242, 243, 255, 0.2);
}

.history .history-content .info.active .introduce {
  background: linear-gradient(0deg, rgba(24, 244, 112, 0.00), rgba(24, 244, 112, 0.20));
}

.history .history-content .info.active img {
  visibility: visible;
}

.history .operation {
  width: calc(100% - var(--paddInline) * 2);
  height: 4px;
  background: var(--color-bg-shaow);
  position: absolute;
  left: var(--paddInline);
  top:53%;
}

.history .operation div {
  width: 20px;
  height: 100%;
  background: var(--color-base-hover);
  position: absolute;
  top: 0;
  transition: 200ms linear;
}

.history .operation i {
  width: 3.6rem;
  height: 3.6rem;
  position: absolute;
  transform: translateY(-50%);
  border-radius: 50%;
  cursor: pointer;
}

.history .operation i svg {
  stroke-width: 2;
  stroke: currentColor;
}

.history .operation i:first-child {
  left: -6.4rem;
}

.history .operation i:last-child {
  right: -6.4rem;
}

.history .operation .oper-active {
  background: var(--color-base-hover);
}

.history .operation .oper-active svg {
  color: #181c24;
}

@media screen and (max-width: 768px) {
  .history .history-content {
    position: relative;
  }
  .history .history-content .info {
    width: 100%;
    padding-left: 40px;
  }

  .history .history-content .info p {
    height: auto;
  }

  .history .history-content .info .introduce {
    box-shadow: none;
    margin-top: 0;
  }

  .history .history-content .info .introduce h2 {
    background: var(--color-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;

  }

  .history .history-content .info .introduce h2::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #18F47033;
    border: 2px solid #18F470;
    outline: 8px solid #18F47044;
    transform: translateY(-50%);
  }

  .history .history-content::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 60px;
    width: 10px;
    height: 90%;
    border-left: 1px dashed #18F47066;
  }

  .history .history-content .info.active .introduce {
    background: none;
  }

  .reason,
  .culture .content {
    --columns: 1;
  }

  .reason {
    background: none;
  }

  .history-content {
    flex-direction: column;
  }

  .history-content .info img,
  .history .operation,
  .anchors {
    display: none;
  }
  
  .banner .banner-img {
    transform: translateX(-64%);
  }
}