.news-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  scroll-margin-top: calc(var(--header-height, 0px) + 24px);
  transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

a.news-featured {
  display: block;
}

.news-card h3,
.news-card .news-row-arrow,
.news-card .module-arrow,
.news-card img {
  transition: color .22s ease, background-color .22s ease, transform .3s ease;
}

.news-more {
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.news-tab {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.news-card:focus-visible,
.news-more:focus-visible,
.news-tab:focus-visible {
  outline: 3px solid var(--module-blue);
  outline-offset: 5px;
}

.news-card:focus-visible h3,
.news-card:active h3 {
  color: var(--module-blue);
}

.news-card:active {
  background-color: #eef5ff;
}

@media (hover: hover) {
  .news-featured:hover {
    box-shadow: 0 16px 38px rgb(0 96 255 / 14%);
    transform: translateY(-4px);
  }

  .news-row:hover {
    background-color: #f0f6ff;
    box-shadow: 0 8px 22px rgb(0 96 255 / 7%);
    transform: translateY(-2px);
  }

  .news-card:hover h3 {
    color: var(--module-blue);
  }

  .news-card:hover img {
    transform: scale(1.04);
  }

  .news-card:hover .news-row-arrow,
  .news-more:hover {
    color: #fff;
    background-color: var(--module-blue);
  }

  .news-card:hover .news-detail-link .module-arrow {
    transform: translateX(4px);
  }

  .news-tab:not(.is-active):hover {
    color: var(--module-blue);
    background-color: #e4eeff;
  }
}

.news-card[hidden] {
  display: none !important;
}

.news-layout.is-list-only {
  grid-template-columns: 1fr;
}

.news-layout.is-list-only .news-list {
  max-width: 960px;
  width: 100%;
}

html.news-dialog-open {
  overflow: hidden;
}

.news-dialog {
  box-sizing: border-box;
  width: min(820px, calc(100% - 40px));
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  color: #102746;
  background: #fff;
  box-shadow: 0 24px 80px rgb(5 24 52 / 25%);
  font-family: "Company Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.news-dialog::backdrop {
  background: rgb(5 18 39 / 60%);
}

.news-dialog-bar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid #e5edf7;
  background: #fff;
}

.news-dialog-bar span {
  font-size: 16px;
  font-weight: 700;
}

.news-dialog-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #425773;
  background: #f0f4f9;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.news-dialog-close:hover {
  color: #0060ff;
  background: #e6efff;
}

.news-dialog-close:focus-visible {
  outline: 2px solid #0060ff;
  outline-offset: 3px;
}

.news-dialog-body {
  padding: 28px 32px 36px;
}

.news-dialog-title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.news-dialog-date {
  display: block;
  margin-bottom: 24px;
  color: #667893;
  font: 14px/1.6 Arial, sans-serif;
}

.news-dialog-photo {
  aspect-ratio: 746 / 393;
  margin: 0 0 24px;
  border-radius: 8px;
}

.news-dialog-copy {
  color: #526580;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.news-dialog-copy p {
  margin: 0 0 16px;
}

.news-dialog-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .news-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    border-radius: 10px;
  }

  .news-dialog-bar {
    padding: 8px 16px;
  }

  .news-dialog-body {
    padding: 20px;
  }

  .news-dialog-title {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card h3,
  .news-card .news-row-arrow,
  .news-card .module-arrow,
  .news-card img,
  .news-more,
  .news-tab {
    transition: none;
  }

  .news-card:hover,
  .news-card:hover img,
  .news-card:hover .news-detail-link .module-arrow {
    transform: none;
  }
}
