@charset "UTF-8";
@font-face {
  /* 给自定义字体取个名字，后面可以用这个名字引用字体 */
  font-family: 'Tomorrow';
  /* 字体文件的路径，这里假设字体文件在当前目录下 */
  src: url("/static/font/Tomorrow-Bold.ttf");
  /* 可选的字体样式，如 normal 或 italic */
  font-style: normal;
  /* 可选的字体粗细，如 normal 或 bold */
  font-weight: normal;
}

body {
  margin: 0;
  padding: 0;
  color: #FFFFFF;
  font-size: 16px;
  background-color: #1d1d1d;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.contact-us-us {
  margin-top: 140px;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-repeat: no-repeat;
  background: linear-gradient(180deg, rgba(29, 29, 29, 0.6) 0%, #1D1D1D 100%), url("/static/img/about-bg.png");
}

.contact-us-top {
  width: 1400px;
  margin: 0 auto;
}

.nav-detail {
  padding-top: 20px;
}

.contact-us-us-title {
  margin: 50px 0 40px;
  font-family: 'Tomorrow';
  font-size: 43px;
  color: #FFFFFF;
  text-align: center;
}

.contact-us-abstract {
  margin: 0 auto;
  width: 880px;
  text-align: center;
  font-family: 'Tomorrow', sans-serif;
  font-size: 18px;
}

.announcement-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* margin-top: 100px; */
  /* margin-top: 150px; */
  /* z-index: 2; */
  /* position: absolute; */
  width: 100%;
  top: 400px;
}

.ann-item {
  border-top: 2px solid #EA6519;
  flex: 0 0 calc(25% - 15px);
  height: 320px;
  background-image: url("/static/img/ann-de.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 30px;
  box-sizing: border-box;
}

.ann-item:hover {
  background-image: url("/static/img/annactive.png");
  box-shadow: 0px 30px 80px 0px #DE510033;
}

.ann-item:hover .ann-item-more {
  color: #fff;
}

.ann-item-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  height: 60px;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ann-item-text {
  height: 140px;
  font-size: 14px;
  line-height: 24px;
  margin-top: 22px;
  margin-bottom: 30px;
  display: -webkit-box;
  /* 必须设置，用于多行溢出 */
  -webkit-box-orient: vertical;
  /* 设置盒子排列方向为垂直 */
  -webkit-line-clamp: 4;
  /* 限制显示的行数，例如显示 3 行 */
  overflow: hidden;
  /* 隐藏超出的内容 */
}

.ann-item-more {
  color: #BBBBBB;
  /* offset: 4px; */
  font-size: 14px;
  text-underline-offset: 13px;
}

.announcement-list {
  width: 1400px;
  margin: 0 auto;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 0;
  margin-bottom: 100px;
}

.pagination button, .trustpilot-pagination button {
  width: 36px;
  height: 36px;
  background: #2A2A2A;
  color: #EA6519;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-image: url("/static/img/prev-img.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.page-numbers button.active, .page-numbers-trustpilot button.active {
  color: #fff;
  background-image: url("/static/img/prev-active.png");
}

.page-numbers, .page-numbers-trustpilot {
  gap: 10px;
  display: flex;
}

.page-first, .page-last {
  background: #2A2A2A;
  border: 1px solid #3A3A3A;
  color: #EAEAEA;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.ellipsis {
  width: 36px;
  height: 36px;
  background: #2A2A2A;
  color: #EA6519;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-image: url("/static/img/prev-img.png");
  background-size: cover;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  line-height: 32px;
}

@media screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-size: 16px;
    background-color: #1d1d1d;
  }
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }
  .contact-us-us {
    margin-top: 160px;
    width: 100%;
    height: 215px;
    background-size: cover;
    background-repeat: no-repeat;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0.6) 0%, #1D1D1D 100%), url("../img/about-bg-mb.png") no-repeat;
  }
  .contact-us-top {
    width: 92%;
    margin: 0 auto;
  }
  .nav-detail {
    width: 100vw;
    padding: 160px 15px 0;
    box-sizing: border-box;
    font-size: 12px;
  }
  .nav-detail {
    padding-top: 10px;
  }
  .contact-us-us-title {
    margin: 20px 0 18px;
    font-family: 'Tomorrow';
    font-size: 22px;
    color: #FFFFFF;
    text-align: center;
  }
  .contact-us-abstract {
    text-align: center;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
  }
  .announcement-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    /* margin-top: 100px; */
    /* margin-top: 150px; */
    /* z-index: 2; */
    /* position: absolute; */
    width: 100%;
    top: 400px;
  }
  .ann-item {
    margin-top: 22px;
    border-top: 2px solid #EA6519;
    flex: auto;
    width: 100%;
    height: 327px;
    background-image: url("/static/img/ann-de.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
  }
  .ann-item:first-child {
    margin-top: 0;
  }
  .ann-item:hover {
    background-image: url("/static/img/annactive.png");
    box-shadow: 0px 30px 80px 0px #DE510033;
  }
  .ann-item:hover .ann-item-more {
    color: #fff;
  }
  .ann-item-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
  }
  .ann-item-text {
    height: 155px;
    font-size: 14px;
    line-height: 24px;
    margin-top: 22px;
    margin-bottom: 30px;
    display: -webkit-box;
    /* 必须设置，用于多行溢出 */
    -webkit-box-orient: vertical;
    /* 设置盒子排列方向为垂直 */
    -webkit-line-clamp: 4;
    /* 限制显示的行数，例如显示 3 行 */
    overflow: hidden;
    /* 隐藏超出的内容 */
  }
  .ann-item-more {
    color: #BBBBBB;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    /* offset: 4px; */
    font-size: 14px;
    text-underline-offset: 13px;
  }
  .announcement-list {
    width: 92%;
    margin: 0 auto;
  }
  .pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 34px;
    padding: 15px 0;
    margin-bottom: 74px;
  }
  .pagination button, .trustpilot-pagination button {
    width: 32px;
    height: 32px;
    background: #2A2A2A;
    color: #EA6519;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-image: url("/static/img/prev-img.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .page-numbers button.active, .page-numbers-trustpilot button.active {
    color: #fff;
    background-image: url("/static/img/prev-active.png");
  }
  .page-numbers, .page-numbers-trustpilot {
    gap: 10px;
    display: flex;
  }
  .page-first, .page-last {
    background: #2A2A2A;
    border: 1px solid #3A3A3A;
    color: #EAEAEA;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  .ellipsis {
    width: 32px;
    height: 32px;
    background: #2A2A2A;
    color: #EA6519;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-image: url("/static/img/prev-img.png");
    background-size: cover;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 32px;
  }
}
