.neo-news__hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.neo-news__h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.neo-news__lead {
  margin: 0;
  opacity: 0.75;
}

.neo-news__admin-link {
  white-space: nowrap;
}

.neo-news__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.neo-news__filters a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  opacity: 0.8;
}

.neo-news__filters a.is-active {
  opacity: 1;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.neo-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
}

.neo-news-card.is-pinned {
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent);
}

.neo-news-card__media,
.neo-news-card__placeholder {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, color-mix(in srgb, currentColor 12%, transparent), color-mix(in srgb, currentColor 4%, transparent));
}

.neo-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.neo-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1rem 1.1rem;
  flex: 1;
}

.neo-news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.neo-news-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.neo-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.neo-news-card__excerpt {
  margin: 0;
  opacity: 0.78;
  font-size: 0.92rem;
  flex: 1;
}

.neo-news-card__stats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.neo-news__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 1.5rem;
}

.neo-news__pager a {
  min-width: 2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.neo-news__pager a.is-active {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.neo-news-article__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.neo-news-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0.7;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.neo-news-article__title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.neo-news-article__cover {
  margin-bottom: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
}

.neo-news-article__cover img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.neo-news-article__content {
  line-height: 1.7;
  font-size: 1.02rem;
}

.neo-news-article__content img {
  max-width: 100%;
  border-radius: 10px;
}

.neo-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0;
}

.neo-news-tags span {
  opacity: 0.75;
  font-size: 0.85rem;
}

.neo-news-votes {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.neo-news-vote {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.neo-news-vote.is-active {
  outline: 1px solid currentColor;
}

.neo-news-comments h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.neo-news-comment-form {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.neo-news-comment-list {
  display: grid;
  gap: 0.75rem;
}

.neo-news-comment {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.neo-news-comment.is-hidden {
  opacity: 0.5;
}

.neo-news-comment__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.neo-news-related {
  display: grid;
  gap: 0.75rem;
}

.neo-news-related a {
  display: grid;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.neo-news-related span {
  opacity: 0.65;
  font-size: 0.8rem;
}

.neo-news-admin-nav {
  margin-bottom: 1rem;
}

.neo-news-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.neo-news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.neo-news-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.neo-news-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.neo-news-kpi {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
}

.neo-news-kpi b {
  font-size: 1.4rem;
}

.neo-news-kpi span {
  opacity: 0.7;
  font-size: 0.85rem;
}

.neo-news-table tr.is-muted {
  opacity: 0.55;
}

@media (max-width: 992px) {
  .neo-news-form-row,
  .neo-news-kpis {
    grid-template-columns: 1fr;
  }

  .neo-news__hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
