body.news-page.prohibited-layout,
.news-page {
  min-height: 100vh;
  color: #0f172a;
  background: #f2f2f7;
}

.news-main {
  min-width: 0;
  padding: 176px 16px 54px;
  background:
    radial-gradient(circle at 16% 8%, rgba(17, 24, 39, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(245, 158, 11, 0.08), transparent 22rem),
    #f2f2f7;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, Helvetica, sans-serif;
}

.news-main *,
.news-main *::before,
.news-main *::after {
  box-sizing: border-box;
}

.news-main p,
.news-main h1,
.news-main h2 {
  margin: 0;
}

.news-hero {
  position: relative;
  overflow: hidden;
  width: min(1200px, calc(100vw - 32px));
  min-height: 182px;
  margin: 0 auto;
  border-radius: 40px;
  color: #fff;
  background: linear-gradient(135deg, #171717 0%, #25272d 54%, #111827 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.news-hero__media {
  position: absolute;
  inset: 0;
}

.news-hero__media::before {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  content: "";
  filter: blur(20px);
}

.news-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 182px;
  padding: 34px 40px;
}

.news-hero__copy {
  max-width: 720px;
  color: #fff;
  text-align: left;
}

.news-hero__copy p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.news-hero__copy h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.news-hero__copy span {
  display: block;
  max-width: 650px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}

.news-hero__aside {
  flex: 0 0 286px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.news-hero__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18);
  vertical-align: -1px;
}

.news-hero__aside strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.news-hero__aside p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.news-content {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.news-status {
  min-height: 220px;
  padding: 78px 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(18px);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.news-list-panel,
.news-detail {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.86);
}

.news-list-panel {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  border: 0;
  background: transparent;
  padding: 18px;
  border-radius: 22px;
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
  scrollbar-width: thin;
}

.news-list-panel::-webkit-scrollbar {
  width: 6px;
}

.news-list-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: grid;
  width: 100%;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-item:hover,
.news-item:focus-visible {
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.news-item.is-active {
  border-color: rgba(15, 23, 42, 0.14);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.news-item__date {
  display: flex;
  width: 72px;
  height: 72px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #475569;
  background: rgba(15, 23, 42, 0.06);
  transition: background 180ms ease, color 180ms ease;
}

.news-item__date strong {
  color: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
}

.news-item__date em {
  margin-top: 5px;
  color: inherit;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

.news-item__copy {
  display: grid;
  min-width: 0;
  padding-top: 2px;
}

.news-item__copy strong {
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item__copy span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-item:hover .news-item__date,
.news-item:focus-visible .news-item__date {
  color: #fff;
  background: #111827;
}

.news-item.is-active .news-item__date {
  color: #fff;
  background: linear-gradient(135deg, #4778c8, #315a9f);
  box-shadow: 0 10px 22px rgba(49, 90, 159, 0.18);
}

.news-item:hover .news-item__copy strong,
.news-item:focus-visible .news-item__copy strong {
  color: #111827;
}

.news-item.is-active .news-item__copy strong {
  color: #315a9f;
}

.news-list__empty,
.news-detail__empty {
  padding: 42px 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 18px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.news-pagination button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.news-pagination button:disabled {
  color: #94a3b8;
  cursor: default;
}

.news-pagination button:not(:disabled):hover,
.news-pagination button:not(:disabled):focus-visible {
  border-color: rgba(15, 23, 42, 0.22);
  color: #fff;
  background: #111827;
}

.news-detail {
  position: sticky;
  top: 120px;
  min-height: 524px;
  max-height: calc(100vh - 180px);
  overflow: auto;
  border-radius: 22px;
}

.news-detail__header {
  padding: 26px 28px;
  color: #fff;
  background: linear-gradient(135deg, #4778c8, #315a9f);
}

.news-detail__header p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
}

.news-detail__header h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.42;
}

.news-detail__header time {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1;
}

.news-detail__body {
  padding: 28px;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}

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

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

.news-detail__body table {
  max-width: 100%;
  width: 100%;
}

.news-modal {
  display: none;
}

@media (max-width: 1023px) {
  .news-main {
    padding: 112px 12px 32px;
  }

  .news-hero {
    width: 100%;
    min-height: 220px;
    border-radius: 28px;
  }

  .news-hero__inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 220px;
    padding: 26px 22px;
  }

  .news-hero__aside {
    width: 100%;
    flex-basis: auto;
  }

  .news-hero__copy h1 {
    font-size: 28px;
  }

  .news-hero__copy span {
    font-size: 14px;
    line-height: 1.8;
  }

  .news-content {
    width: 100%;
    padding-top: 18px;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 12px;
    border-radius: 22px;
  }

  .news-list-panel {
    max-height: none;
    overflow: visible;
    padding: 16px;
    border-radius: 18px;
  }

  .news-detail {
    display: none;
  }

  body.news-modal-open {
    overflow: hidden;
  }

  .news-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10050;
  }

  .news-modal.is-open {
    display: block;
  }

  .news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
  }

  .news-modal__dialog {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(82vh, 720px);
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -16px 42px rgba(18, 24, 34, 0.22);
    transform: translateY(100%);
    transition: transform 220ms ease;
  }

  .news-modal.is-open .news-modal__dialog {
    transform: translateY(0);
  }

  .news-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #111827;
    background: rgba(255, 255, 255, 0.92);
    font-size: 18px;
  }

  .news-modal__content {
    max-height: min(82vh, 720px);
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .news-item__date {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .news-item__date strong {
    font-size: 18px;
  }

  .news-item__date em {
    font-size: 12px;
  }

  .news-item__copy strong {
    font-size: 15px;
    white-space: normal;
  }

  .news-item__copy span {
    font-size: 13px;
  }

  .news-detail__header,
  .news-detail__body {
    padding: 22px;
  }

  .news-modal__dialog,
  .news-modal__content {
    max-height: 84vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-item,
  .news-pagination button,
  .news-modal__dialog {
    transition: none;
  }

  .news-item:hover,
  .news-item:focus-visible {
    transform: none;
  }
}
