.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.news-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.news-card:hover {
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .75rem;
}

.news-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.news-tag-news      { background: rgba(59,130,246,.2);  color: #60a5fa; }
.news-tag-changelog { background: rgba(16,185,129,.2);  color: #34d399; }
.news-tag-event     { background: rgba(245,158,11,.2);  color: #fbbf24; }

.news-date {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}

.news-title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.4;
}

.news-author {
  font-size: .78rem;
  color: #7289da;
  margin-bottom: .4rem;
}

.news-excerpt {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  line-height: 1.55;
}

/* pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.npg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
  user-select: none;
}

.npg-btn:hover:not(.npg-active):not(.npg-disabled) {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.npg-active {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  box-shadow: 0 0 12px rgba(88,101,242,.45);
  pointer-events: none;
}

.npg-disabled {
  opacity: .3;
  cursor: default;
  pointer-events: none;
}

.npg-arrow {
  min-width: 36px;
  font-size: .8rem;
}

.npg-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 36px;
  color: rgba(255,255,255,.3);
  font-size: .9rem;
  letter-spacing: .05em;
  user-select: none;
}

/* detail */
.news-detail-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2rem;
}

.news-content {
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  white-space: pre-wrap;
}
