@import "./mixin";
// 浮动
.fl {
  float: left !important;
}

.fr {
  float: right !important;
}

.clear-both {
  clear: both;
}

.clear:after {
  content: "";
  clear: both;
  display: block;
  visibility: hidden;
  width: 0;
  height: 0;
}

.flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*定位*/
.pos-r {
  position: relative;
}

// cover图片
.img-cover {
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

// overflow: hidden
.ov-hide {
  overflow: hidden;
}

// 文本对齐
.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

// 块元素居中
.m-auto {
  margin-left: auto;
  margin-right: auto;
}
.a-link{
  &:hover{
    text-decoration: underline;
  }
}
// html box
.html-box {
  overflow: hidden;
  font-size: 14px;
  line-height: 26px;
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  span,
  em,
  i {
    display: initial;
    max-width: 100%;
  }
}
.gray-body {
  background-color: rgba(245, 245, 245, 1);
}

// 空文本
.empty-text {
  text-align: center;
  padding: 30px;
  color: #888;
  font-size: 14px;
}

// 单行省略
.dan {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}

// 全屏展示
.full {
  display: block;
  width: 100%;
}

.hide {
  display: none !important;
}
.app-btn {
  width: 224px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: $color;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 20px;
  &:hover {
    opacity: 0.85;
  }
  & ~ .app-btn {
    margin-left: 26px;
  }

  &.app-icon-btn {
    width: 200px;
    height: 42px;
    gap: 10px;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
    &:hover {
      gap: 15px;
    }
    .icon {
      width: 19px;
    }
  }
}

.orange-btn {
  background: linear-gradient(90deg, rgba(249, 206, 184, 1), rgba(252, 229, 216, 1));
  color: $color;
}
.app-tools {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 1000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  .tools-item {
    background-color: $color;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    & ~ .tools-item {
      box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2);
    }
  }
  .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
  }
  .icon {
    height: auto;
    flex-shrink: 0;
  }
  .text {
    height: 60px;
    // width: 95px;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s;
    white-space: nowrap;
    opacity: 0;
    text-indent: 1em;
  }
  &:hover {
    .text {
      width: 95px;
      opacity: 1;
      text-indent: 0;
    }
  }
  .tools-item:hover {
    background-color: rgba(230, 179, 130, 1);
  }
}

.app-banner {
  position: relative;
  .bg {
    max-width: 100%;
    display: block;
  }
  .wp {
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
  }
  .page-title {
    color: #fff;
  }
  .title-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 66px;
  }
  .en-title-text {
    font-size: 32px;
    line-height: 38px;
    font-family: "Abhaya Libre";
  }
}

.app-breadcrumbs {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(102, 102, 102, 1);
  display: flex;
  align-items: center;
  .division {
    margin: 0 10px;
  }
  a {
    &:hover {
      text-decoration: underline;
    }
  }
  a:last-child {
    color: $color;
    cursor: default;
    &:hover {
      text-decoration: none;
    }
  }
}

.app-team {
  .team-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    .main-img {
      width: 490px;
      height: 520px;
      flex-shrink: 0;
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    .main-info {
      width: 668px;
      .main-name {
        font-size: 40px;
        font-weight: 600;
        line-height: 56px;
        color: $color;
      }
      .main-desc {
        margin-top: 20px;
        color: $color;
        font-size: 16px;
        line-height: 30px;
        max-height: 120px;
        white-space: pre-line;
        @include duo(4);
      }
      .main-btns {
        margin-top: 50px;
        display: flex;
      }
      .orange-btn {
        background: linear-gradient(90deg, rgba(249, 206, 184, 1), rgba(252, 229, 216, 1));
      }
    }
  }
  .team-list {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    .team-item {
      width: 240px;
      height: 280px;
      background-color: rgba(245, 247, 251, 1);
      text-align: center;
      padding: 32px 20px;
      box-sizing: border-box;
      border: 1px solid transparent;
      transition: all 0.3s;
      cursor: pointer;
      &.active {
        border-color: $color;
      }
    }
    .item-img {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .item-name {
      margin-top: 22px;
      font-size: 24px;
      font-weight: 500;
      line-height: 34px;
      color: $color;
      @include dan();
    }
  }
}

.index-block-title {
  color: $color;
  padding-bottom: 40px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  .title-text {
    font-size: 36px;
    line-height: 50px;
    font-weight: 600;
  }
  .en-title-text {
    font-size: 32px;
    line-height: 38px;
    font-family: "Abhaya Libre";
  }
}
.app-more {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: $color;
  .icon {
    width: 16px;
  }
}

.app-pagination {
  margin-top: 60px;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
  padding: 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "D-DIN Condensed";
  a,
  span {
    font-size: 18px;
    line-height: 20px;
    color: rgba(102, 102, 102, 1);
    margin: 0 10px;
    padding: 0 5px;
  }
  a:hover {
    color: $color;
    text-decoration: underline;
  }
  .current {
    font-size: 24px;
    color: $color;
  }
  .prev,
  .next {
    display: inline-block;
    width: 20px;
    height: 12px;
    background: url(/assets/images/arrow-right-half-gary.svg) no-repeat center;
    background-size: contain;
    font-size: 0;
    color: transparent;
    margin: 0 25px;
    transition: all 0.3s;
    padding: 0;
  }
  .prev {
    transform: scale(-1, 1);
  }
  span.next,span.prev{
    display: none !important;
  }
}

.pd-0{
  padding: 0 !important;
}