.news-page .news-grid-wrap {
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 20px 0 90px;
}

.news-page .news-grid-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(0, 160, 198, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 198, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.news-page .news-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

.news-page .news-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(18, 18, 26, 0.86);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.news-page .news-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 160, 198, 0.1);
}

.news-page .news-card__media {
  position: relative;
  margin: 0;
  height: 192px;
  overflow: hidden;
}

.news-page .news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.news-page .news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-page .news-card__body {
  padding: 18px;
}

.news-page .news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.news-page .news-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.46);
}

.news-page .news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.68rem;
}

.news-page .news-card__title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 220ms ease;
}

.news-page .news-card:hover .news-card__title {
  color: rgba(0, 212, 255, 0.95);
}

.news-page .news-card__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .news-page .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .news-page .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-detail-page .news-detail {
  min-height: 100vh;
  position: relative;
  padding: 64px 0;
  background: #0a0a0f;
}

.news-detail-page .news-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(0, 160, 198, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 198, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.news-detail-page .news-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, #0a0a0f 70%);
}

.news-detail-page .news-detail__shell {
  position: relative;
  z-index: 1;
  width: min(848px, calc(100vw - 32px));
  margin-inline: auto;
}

.news-detail-page .news-detail__inner {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 18, 26, 0.86);
  padding: 32px 24px;
}

.news-detail-page .news-detail__inner[data-news-detail-state="loading"] {
  opacity: 0;
  pointer-events: none;
}

.news-detail-page .news-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.news-detail-page .news-detail__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.75rem;
}

.news-detail-page .news-detail__date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
}

.news-detail-page .news-detail__title {
  margin: 0 0 28px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

.news-detail-page .news-detail__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-detail-page .news-detail__media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

.news-detail-page .news-detail__media img {
  width: 100%;
  height: auto;
}

.news-detail-page .news-detail__content {
  color: rgba(255, 255, 255, 0.68);
}

.news-detail-page .news-detail__content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
}

.news-detail-page .news-detail__content p + p {
  margin-top: 16px;
}

.news-detail-page .news-detail__note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
}

.news-detail-page .news-detail__footer {
  margin-top: 28px;
}

.news-detail-page .news-detail__backlink {
  color: rgba(0, 212, 255, 0.95);
  font-size: 0.92rem;
  transition: color 220ms ease;
}

.news-detail-page .news-detail__backlink:hover {
  color: rgba(132, 232, 255, 0.95);
}

@media (min-width: 768px) {
  .news-detail-page .news-detail__inner {
    padding: 48px;
  }

  .news-detail-page .news-detail__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .news-detail-page .news-detail__media,
  .news-detail-page .news-detail__content {
    width: 50%;
  }
}

@media (max-width: 1100px) {
  .news-detail-page .news-detail__shell {
    padding-top: 50px;
  }
}
