.news-page {
  background: #fff;
}

.news-translate-widget {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 950;
  font-family: "FoundersGrotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.news-translate-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #11b5ea;
  box-shadow: 0 4px 16px rgb(29 42 67 / 20%);
  color: #fff;
  cursor: pointer;
}

.news-translate-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px));
  max-height: min(75vh, 420px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 24px rgb(29 42 67 / 20%);
}

.news-translate-menu[hidden] {
  display: none;
}

.news-translate-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1d2a43;
  text-align: left;
  cursor: pointer;
}

.news-translate-menu button:hover,
.news-translate-menu button[aria-pressed="true"] {
  background: #f0faff;
  color: #079bd0;
}

.news-translate-menu button:disabled {
  cursor: wait;
}

.news-translate-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-page .topbar {
  background: #1d2a43;
}

.news-page .topbar.scrolled {
}

.news-page .menu-toggle {
  /* color: var(--ink); */
}

.news-page .menu-icon {
  /* background-image: url("./menu-main.png"); */
  /* background-size: 80%; */
}

body.menu-open.news-page .menu-icon {
  /* background-image: url("./menu-main-close.png"); */
}

.news-header {
  min-height: clamp(5.5rem, 5rem + 2vw, 7.5rem);
  background: #fff;
}

.news-main {
  padding-top: clamp(3.5rem, 3rem + 3vw, 6rem);
}

.news-container {
  width: min(80vw, 1540px);
  margin: 0 auto;
}

.news-title {
  margin: 0 0 clamp(2rem, 1.6rem + 1.6vw, 3rem);
  color: var(--ink);
  font-size: clamp(2.5rem, 1.95rem + 2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem .9rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.75rem);
}

.news-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .55rem 1.25rem .5rem;
  border-radius: 999px;
  border: 1px solid #0fb6ec;
  background: #11b5ea;
  color: #fff;
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: .9rem;
  line-height: 1;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.news-filter:hover,
.news-filter.is-active {
  background: #079bd0;
  border-color: #079bd0;
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 37.5rem;
  padding: clamp(1.75rem, 1.2rem + 1.2vw, 2.6rem);
  background: #f0faff;
}

.news-card-meta,
.news-article-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #8a95a5;
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: .9rem;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: .25rem .8rem .18rem;
  border-radius: 999px;
  background: #d8ecff;
  color: #0aace8;
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: .82rem;
  line-height: 1;
  white-space: nowrap;
}

.news-card h2 {
  margin: 1.05rem 0 .95rem;
  font-size: clamp(1.45rem, 1.15rem + .7vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
}

.news-card h2 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .14em;
  transition: color .22s ease, text-decoration-color .22s ease;
}

.news-card h2 a:hover {
  color: #0aace8;
  text-decoration-color: currentColor;
}

.news-card p {
  margin: 0;
  color: #8290a3;
  font-size: 1rem;
  line-height: 1.35;
}

.news-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.1rem;
  height: 2.25rem;
  margin-top: auto;
  border: 1px solid #c8d5df;
  border-radius: 999px;
  color: var(--ink);
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.news-card-action:hover {
  width: 9rem;
  background: #0ab5ea;
  border-color: #0ab5ea;
  color: #fff;
}

.news-card-action:hover::before {
  content: "Read More";
  margin-right: .85rem;
}

.news-card-action::after {
  content: "";
  width: 2rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("./link-black.png") center/contain no-repeat;
  mask: url("./link-black.png") center/contain no-repeat;
}

.back-list::after {
  content: "";
  width: 2rem;
  height: 1rem;
  background: url("./backlist.png") center/contain no-repeat;
}

.news-load {
  display: flex;
  justify-content: center;
  margin: clamp(2.4rem, 2rem + 2vw, 4rem) 0 clamp(5rem, 4rem + 5vw, 9rem);
}

.load-more,
.back-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: .55rem 1.25rem .5rem;
  border: 1px solid #cbd4dd;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.load-more:hover,
.back-list:hover {
  background: #0ab5ea;
  border-color: #0ab5ea;
  color: #fff;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 4rem 2rem;
  background: #f0faff;
  color: #8290a3;
  text-align: center;
}

.news-detail-main {
  padding-top: clamp(4rem, 3.2rem + 3vw, 6.5rem);
  padding-bottom: clamp(4rem, 3rem + 4vw, 7rem);
}

.news-detail-kicker {
  margin: 0 0 2.4rem;
  color: #0bb7ed;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 400;
}

.news-rule {
  border-top: 1px solid #aeb7c1;
  margin-bottom: 2.3rem;
}

.news-article {
  width: min(58vw, 900px);
  margin: 0 auto;
}

.news-article h1 {
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
}

.news-hero-image {
  margin: 0 0 2rem;
}

.news-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-content {
  color: #1d2a43;
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.news-content p {
  margin: 0 0 1.6rem;
}

.news-content img {
  max-width: 100%;
  height: auto;
}

.news-back {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 5rem;
}

.back-list::after {
  margin-left: .8rem;
  transform: rotate(180deg);
}

.latest-news {
  border-top: 1px solid #aeb7c1;
  padding-top: 2.5rem;
}

.latest-news h2 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 1.55rem + 1.4vw, 3rem);
  font-weight: 400;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.latest-card {
  display: block;
  min-height: 13rem;
  padding: 2rem;
  background: #f0faff;
  transition: background-color .22s ease;
}

.latest-card:hover {
  background: #e4f6ff;
}

.latest-card time {
  display: block;
  margin-bottom: 1.2rem;
  color: #8a95a5;
  font-family: "FoundersGrotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.latest-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.05rem + .7vw, 1.8rem);
  font-weight: 400;
  line-height: 1.12;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .14em;
  transition: color .22s ease, text-decoration-color .22s ease;
}

.latest-card:hover h3 {
  color: #0aace8;
  text-decoration-color: currentColor;
}

@media (max-width: 1024px) {
  .news-grid,
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-article {
    width: min(80vw, 900px);
  }
}

@media (max-width: 768px) {
  .news-translate-widget {
    right: 16px;
    bottom: 72px;
  }

  .news-container,
  .news-article {
    width: calc(100% - 36px);
  }

  .news-grid,
  .latest-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 25rem;
  }

  .news-main,
  .news-detail-main {
    padding-top: 2.5rem;
  }

  .news-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
  }

  .news-filter {
    flex: 0 0 auto;
  }
}
