﻿:root {
  --color-blue: #087dff;
  --pagination-blue: #087dff;
  --color-ink: #111827;
  --color-muted: #77849a;
  --color-page: #f4f4f8;
  --color-card: #ffffff;
  --header-height: 4.7rem;
  --page-x: clamp(1.5rem, 8.4vw, 10rem);
  --news-width: 87.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  background: var(--color-page);
}

body {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  color: var(--color-ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--color-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button {
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.news-container {
  width: min(var(--news-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hover-lift {
  will-change: transform;
}

.news-hero {
  position: relative;
  isolation: isolate;
  height: 25rem;
  overflow: hidden;
  color: #fff;
  background: #02153c;
}

.news-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 10, 50, 0.96) 0%, rgba(0, 14, 58, 0.87) 28%, rgba(0, 31, 85, 0.55) 66%, rgba(0, 24, 70, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 5, 36, 0.68), transparent 54%);
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 15.45rem;
}

.news-hero-inner img {
  margin-bottom: 26px;
  width: 130px;
}

.news-hero-kicker {
  margin: 0 0 1.18rem;
  font-family: Arial, sans-serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.news-hero h1 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.news-hero h1 small {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.news-list-section,
.news-detail-section {
  background: var(--color-page);
}

.news-list-section {
  min-height: 96.8125rem;
  padding-top: 1.85rem;
  padding-bottom: 3.8125rem;
}

.news-breadcrumb {
  display: flex;
  min-height: 1.2rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  color: #7e8490;
  font-size: 0.9rem;
  line-height: 1.4;
}

.news-breadcrumb a {
  transition: color 220ms ease;
}

.news-breadcrumb a:hover {
  color: var(--color-blue);
}

.news-list {
  display: grid;
  gap: 1.4375rem;
  margin-top: 2.9375rem;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 19.5rem minmax(0, 1fr);
  gap: 3.5rem;
  min-height: 14.75rem;
  align-items: center;
  padding: 1.9375rem 2.45rem 1.75rem 2.625rem;
  overflow: hidden;
  border-radius: 0.62rem;
  background: var(--color-card);
  box-shadow: 0 0.8rem 1.8rem rgba(18, 41, 80, 0);
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.36rem;
  border-radius: 0.62rem 0 0 0.62rem;
  background: #087dff;
  opacity: 0;
  transition: opacity 260ms ease;
}

.news-card:hover,
.news-card:focus-within,
.news-card.is-featured {
  box-shadow: 0 0.85rem 1.9rem rgba(20, 47, 94, 0.1);
}

.news-card:hover {
  transform: translateY(-0.18rem);
}

.news-card:hover::before,
.news-card:focus-within::before,
.news-card.is-featured::before {
  opacity: 1;
}

.news-card-media {
  display: flex;
  width: 19.5rem;
  height: 11rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /*background: #dce7e9;*/
}

.news-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms var(--ease-out);
}

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

.news-card-body {
  align-self: center;
  padding-top: 0.2rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin-bottom: 1.38rem;
  color: #77849a;
  font-size: 1.05rem;
}

.news-card-meta span {
  color: #0784ff;
}

.news-card h2 {
  margin: 0 0 1.05rem;
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.news-card h2 a,
.news-card-more {
  transition: color 220ms ease;
}

.news-card h2 a:hover,
.news-card-more:hover {
  color: var(--color-blue);
}

.news-card p {
  max-width: 59.6rem;
  margin: 0;
  color: #77849a;
  font-size: 1.03rem;
  line-height: 1.72;
}

.news-card-more {
  position: absolute;
  top: 2.48rem;
  right: 2.5rem;
  color: #69768a;
  font-size: 1rem;
}

.news-card-more span {
  margin-left: 0.3rem;
}

.news-pagination .pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.15rem;
  margin-top: 5.425rem;
  color: #77849a;
  font-size: 1rem;
}

.news-pagination .pages a,
.news-pagination .pages span,
.news-pagination .pages .is-current {
  position: relative;
  padding: 0.45rem 0;
  transition: color 220ms ease;
}

.news-pagination .pages a:hover,
.news-pagination .pages a:focus-visible,
.news-pagination .pages .is-current {
  color: var(--pagination-blue);
}

.news-pagination .pages a:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid rgba(8, 125, 255, 0.35);
  outline-offset: 0.2rem;
}

.news-pagination .pages .is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.16rem;
  background: var(--pagination-blue);
}

.news-pagination .pages a.is-disabled {
  opacity: 0.42;
  cursor: default;
}

.news-pagination .pages a.is-disabled:hover {
  color: inherit;
}

.news-detail-section {
  /*min-height: 123.5625rem;*/
  padding-top: 1.85rem;
  padding-bottom: 4.3rem;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 56.875rem) 26.25rem;
  gap: 4.4375rem;
  align-items: start;
  margin-top: 4.75rem;
}

.news-article-header {
  padding-bottom: 1.45rem;
  border-bottom: 0.08rem solid #bcc2cc;
}

.news-article-header h2,
.related-news-heading h2 {
  margin: 0;
  color: #111;
  font-size: 2rem;
  line-height: 1.25;
}

.news-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  color: #878d97;
  font-size: 1rem;
}

.news-article-meta a {
  color: #0085ff;
}

.news-article-content {
  padding-top: 2.75rem;
}

.news-article-content,
.news-article-content p {
  max-width: 56.375rem;
  margin: 0 0 2.25rem;
  color: #171717;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 1.375rem;
  line-height: 2.25rem;
  text-align: justify;
}

.news-article-figure {
  display: flex;
  justify-content: center;
  margin: 2.25rem 0;
}

.news-article-figure img {
  width: 23.8125rem;
  height: 33.4375rem;
  object-fit: cover;
}

.news-article-siblings {
  display: grid;
  gap: 0.62rem;
  margin-top: 2.1875rem;
  padding: 2rem 0 2.25rem;
  border-top: 0.08rem solid #bcc2cc;
  border-bottom: 0.08rem solid #bcc2cc;
  color: #111;
  font-size: 1rem;
}

.news-article-siblings a:hover {
  color: #0085ff;
}

.related-news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.65rem;
}

.related-news-heading h2 {
  font-size: 1.75rem;
  line-height: 1;
}

.related-news-heading a {
  color: #77849a;
  font-size: 0.98rem;
}

.related-news-heading a:hover{
  color: #0085ff;
}

.related-news-list {
  display: grid;
  gap: 0.6875rem;
}

.related-card {
  position: relative;
  display: grid;
  min-height: 7.1875rem;
  align-content: center;
  gap: 0.72rem;
  padding: 1.35rem 2.35rem;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #fff;
  transition: box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.related-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.36rem;
  background: #087dff;
  opacity: 0;
}

.related-card:hover,
.related-card.is-active {
  box-shadow: 0 0.75rem 1.6rem rgba(20, 47, 94, 0.08);
}

.related-card:hover {
  transform: translateX(0.16rem);
}

.related-card:hover::before,
.related-card.is-active::before {
  opacity: 1;
}

.related-card time {
  color: #8b9099;
  font-size: 1rem;
}

.related-card strong {
  color: #151515;
  font-size: 1.08rem;
  font-weight: 400;
}

.news-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.news-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .news-card {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 2.2rem;
  }

  .news-card-media {
    width: 16rem;
  }

  .news-detail-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
  }
}

@media (max-width: 980px) {
  .news-hero {
    height: 20rem;
  }

  .news-hero-inner {
    padding-top: 12.2rem;
  }

  .news-list-section,
  .news-detail-section {
    min-height: 0;
  }

  .news-list {
    margin-top: 3rem;
  }

  .news-card {
    grid-template-columns: 13rem minmax(0, 1fr);
    min-height: 12.5rem;
    padding: 1.4rem;
  }

  .news-card-media {
    width: 13rem;
    height: 9.5rem;
  }

  /*.news-card-media img {
    width: 6.8rem;
    height: 9.5rem;
  }*/

  .news-card-meta {
    margin-bottom: 0.8rem;
  }

  .news-card h2 {
    margin-bottom: 0.7rem;
    font-size: 1.45rem;
  }

  .news-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .news-card-more {
    top: 1.6rem;
    right: 1.5rem;
  }

  .news-detail-layout {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .related-news {
    margin-top: 1rem;
  }

  .related-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-container {
    width: min(100% - 2rem, var(--news-width));
  }

  .news-hero {
    height: 17rem;
  }

  .news-hero-image {
    object-position: 61% center;
  }

  .news-hero-inner {
    padding-top: 10.5rem;
  }

  .news-hero-kicker {
    margin-bottom: 0.85rem;
    font-size: 1rem;
  }

  .news-hero h1 {
    font-size: 2rem;
  }

  .news-hero h1 small {
    font-size: 0.84rem;
  }

  .news-list-section,
  .news-detail-section {
    padding-top: 1.2rem;
  }

  .news-breadcrumb {
    flex-wrap: wrap;
    gap: 0.48rem;
    font-size: 0.78rem;
  }

  .news-list {
    gap: 1rem;
    margin-top: 2rem;
  }

  .news-card {
    display: block;
    padding: 1rem;
  }

  .news-card-media {
    width: 100%;
    height: 11.5rem;
    margin-bottom: 1.1rem;
  }

  /*.news-card-media img {
    width: 8.2rem;
    height: 11.5rem;
  }*/

  .news-card-meta {
    padding-right: 5.8rem;
    font-size: 0.88rem;
  }

  .news-card h2 {
    font-size: 1.25rem;
  }

  .news-card p {
    font-size: 0.92rem;
  }

  .news-card-more {
    top: 13.45rem;
    right: 1rem;
    font-size: 0.88rem;
  }

  .news-pagination .pages {
    gap: 1rem;
    margin-top: 2.5rem;
    font-size: 0.82rem;
  }

  .news-footer {
    height: 29rem;
    background-position: 64% center;
  }

  .news-footer-inner {
    padding-top: 4.2rem;
  }

  .news-footer-logo {
    width: 10rem;
    margin-bottom: 2.7rem;
  }

  .news-footer-contact a {
    font-size: 0.82rem;
  }

  .news-footer-record {
    right: 1rem;
    bottom: 1.3rem;
    left: 1rem;
    font-size: 0.65rem;
    text-align: center;
    white-space: normal;
    transform: none;
  }

  .news-detail-layout {
    margin-top: 2.7rem;
  }

  .news-article-header h2 {
    font-size: 1.65rem;
  }

  .news-article-meta {
    font-size: 0.86rem;
  }

  .news-article-content,
  .news-article-content p {
    margin-bottom: 1.4rem;
    font-size: 1rem;
    line-height: 1.75;
  }

  .news-article-figure img {
    width: min(100%, 17rem);
    height: auto;
  }

  .related-news-list {
    grid-template-columns: 1fr;
  }

  .related-card {
    min-height: 6.4rem;
  }

  /* 新闻详情页移动端：按 750px 设计稿的 2x 尺寸还原。 */

  .news-detail-page .news-container {
    width: min(100% - 1.25rem, var(--news-width));
  }

  .news-detail-page .news-hero {
    height: 12.03125rem;
  }

  .news-detail-page .news-hero-image {
    object-position: 61% center;
  }

  .news-detail-page .news-hero-inner {
    padding-top: 8.1875rem;
  }

  .news-detail-page .news-hero-inner img {
    width: 4rem;
    margin-bottom: 0.55rem;
  }

  .news-detail-page .news-hero h1 {
    gap: 0.35rem;
    font-size: 1.45rem;
  }

  .news-detail-page .news-hero h1 small {
    font-size: 0.68rem;
  }

  .news-detail-page .news-detail-section {
    padding-top: 0.7rem;
    padding-bottom: 5rem;
  }

  .news-detail-page .news-breadcrumb {
    gap: 0.45rem;
    min-height: 0;
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .news-detail-page .news-detail-layout {
    row-gap: 0;
    margin-top: 1.8rem;
  }

  .news-detail-page .news-article-header {
    padding-bottom: 0.65rem;
    border-bottom-width: 1px;
  }

  .news-detail-page .news-article-header h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .news-detail-page .news-article-meta {
    margin-top: 0.55rem;
    font-size: 0.625rem;
  }

  .news-detail-page .news-article-content {
    padding-top: 1.25rem;
  }

  .news-detail-page .news-article-content,
  .news-detail-page .news-article-content p {
    margin-bottom: 1.1rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
  }

  .news-detail-page .news-article-figure {
    margin: 1.1rem 0;
  }

  .news-detail-page .news-article-figure img {
    width: 11.90625rem;
    height: 16.71875rem;
  }

  .news-detail-page .news-article-siblings {
    gap: 0.18rem;
    margin-top: 0.45rem;
    padding: 1rem 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    font-size: 0.78rem;
    line-height: 1.15rem;
  }

  .news-detail-page .related-news {
    margin-top: 1.7rem;
  }

  .news-detail-page .related-news-heading {
    margin-bottom: 0.7rem;
  }

  .news-detail-page .related-news-heading h2 {
    font-size: 1.12rem;
  }

  .news-detail-page .related-news-heading a {
    font-size: 0.625rem;
  }

  .news-detail-page .related-news-list {
    gap: 0.42rem;
  }

  .news-detail-page .related-card {
    min-height: 3.55rem;
    gap: 0.25rem;
    padding: 0.55rem 1.12rem;
    border-radius: 0.32rem;
  }

  .news-detail-page .related-card::before {
    width: 0.25rem;
  }

  .news-detail-page .related-card time {
    font-size: 0.625rem;
  }

  .news-detail-page .related-card strong {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .news-reveal {
    opacity: 1;
    transform: none;
  }
}


