/* ─── Page header / breadcrumb ───────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-block: 1rem 1.5rem;
}
.page-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text);
  margin: 0 0 0.4rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
  gap: 0;
  font-size: var(--fs-sm);
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-inline: 0.5rem;
  color: var(--text-subtle);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-weight: var(--fw-medium);
}

/* ─── Status (loading / error / empty) ──────────────────────────────────── */
.news-status {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ─── Feed container ─────────────────────────────────────────────────────── */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ─── Card ───────────────────────────────────────────────────────────────── */
.nf-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 0.15s;
}
.nf-card:hover { box-shadow: var(--shadow-md); }

.nf-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}
.nf-title a {
  color: inherit;
  text-decoration: none;
}
.nf-title a:hover { color: var(--primary); }
.nf-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.nf-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}

.nf-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}

.nf-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nf-date {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
