.news-page {
  background: #f5f7fa;
}
.news-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(rgba(12, 8, 35, 0.18), rgba(12, 8, 35, 0.18)), url("/assets/news/hero.png") center center / cover no-repeat;
}
.news-hero-inner {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 192px;
}
.news-hero h1 {
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
}
.news-hero p {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}
.news-content {
  padding: 0 0 100px;
}
.news-inner {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}
.news-list {
  display: grid;
  gap: 24px;
}
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  min-height: 242px;
  padding: 40px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}
.news-item:hover,
.news-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 7px 14.6px rgba(136, 167, 214, 0.24);
}
.news-item-featured h2 {
  color: #2d60ff;
}
.news-item-with-image,
.news-item-featured {
  grid-template-columns: minmax(0, 1fr) 328px;
  align-items: center;
  gap: 48px;
}
.news-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.news-copy h2 {
  margin: 0 0 16px;
  color: #212123;
  font-size: 24px;
  line-height: 1.36;
  font-weight: 600;
}
.news-copy p {
  display: -webkit-box;
  margin: 0 0 34px;
  overflow: hidden;
  color: #818288;
  font-size: 16px;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news-copy time {
  color: #818288;
  font-size: 14px;
  line-height: 1.3;
}
.news-thumb {
  width: 328px;
  height: 185px;
  border-radius: 16px;
  object-fit: cover;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  color: #212123;
  font-size: 14px;
  background: #fff;
}
.pagination a {
  transition: color 0.2s ease, background 0.2s ease;
}
.pagination a:hover,
.pagination a[aria-current="page"],
.pagination a.curpage {
  color: #fff;
  background: #2d60ff;
}
.pagination .curpage {
  width: 40px;
  min-width: 40px;
  padding: 0;
}
.pagination span {
  color: #212123;
}
@media (max-width: 980px) {
  .news-page {
    overflow-x: hidden;
  }
  .news-hero {
    height: 275.5px;
    background: linear-gradient(rgba(1, 26, 94, 0.18), rgba(1, 26, 94, 0.18)), url("/assets/news/hero.png") center center / cover no-repeat;
  }
  .news-hero-inner {
    width: calc(100% - 32px);
    padding-top: 115px;
    padding-left: 12px;
  }
  .news-hero h1 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.2;
  }
  .news-hero p {
    font-size: 13px;
    line-height: 18px;
  }
  .news-content {
    padding: 36px 0 48px;
  }
  .news-inner {
    width: calc(100% - 32px);
  }
  .breadcrumb {
    display: none;
  }
  .news-list {
    gap: 16px;
  }
  .news-item,
  .news-item-with-image,
  .news-item-featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 20px 16px;
    border-radius: 12px;
  }
  .news-item-with-image .news-thumb,
  .news-item-featured .news-thumb {
    order: -1;
  }
  .news-copy h2 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .news-copy p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 20px;
    -webkit-line-clamp: 3;
  }
  .news-copy time {
    font-size: 12px;
  }
  .news-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 328 / 185;
    border-radius: 10px;
  }
  .pagination {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
  }
  .pagination a,
  .pagination span {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
  .pagination .curpage {
    width: 32px;
    min-width: 32px;
    padding: 0;
  }
}
@media (max-width: 520px) {
  .news-hero {
    background: linear-gradient(rgba(1, 26, 94, 0.18), rgba(1, 26, 94, 0.18)), url("/assets/news/hero.png") 65% center / cover no-repeat;
  }
  .news-content {
    padding-top: 24px;
  }
  .news-inner {
    width: calc(100% - 24px);
  }
}
