/* A hírlista és a hírcikk stílusa (2026-10-25, audit 6.33). A home.css (home-section, home-soon,
   home-newsletter, home-calc) és a packages.css (pk-hero) komponenseire épül. */

/* ── Kategóriaszűrő a nyitó sávban ── */
.nw-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.nw-cats a { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); display: inline-flex; gap: .45rem; align-items: center; }
.nw-cats a:hover { background: rgba(255,255,255,.2); }
.nw-cats a.active { background: #fff; color: var(--primary); }
.nw-cats .n { font-size: .72rem; background: rgba(255,255,255,.2); padding: .05rem .45rem; border-radius: 999px; }
.nw-cats a.active .n { background: var(--surface); }

/* ── Kártyák ── */
.nw-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.nw-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,56,100,.12); color: inherit; }
.nw-cover { height: 180px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,.85); font-size: 2.6rem; overflow: hidden; }
.nw-cover img { width: 100%; height: 100%; object-fit: cover; }
.nw-body { padding: 1.25rem 1.35rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.nw-meta { font-size: .78rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; }
.nw-badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; }
.nw-card h2, .nw-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #1E293B; margin: .6rem 0 .5rem; }
.nw-card h3 { font-size: 1.08rem; }
.nw-card p { font-size: .9rem; color: var(--text-muted); margin: 0; flex: 1; }
.nw-more { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--primary-light); }

/* Kiemelt (legfrissebb) cikk */
.nw-featured { flex-direction: row; }
.nw-featured .nw-cover { height: auto; min-height: 300px; flex: 0 0 48%; font-size: 4rem; }
.nw-featured .nw-body { padding: 2rem; justify-content: center; }
.nw-featured h2 { font-size: 1.7rem; }
@media (max-width: 767.98px) {
  .nw-featured { flex-direction: column; }
  .nw-featured .nw-cover { min-height: 200px; flex-basis: auto; }
  .nw-featured .nw-body { padding: 1.4rem; }
  .nw-featured h2 { font-size: 1.3rem; }
}

/* ── Cikk ── */
.nw-article-hero { text-align: left; padding-bottom: 3.5rem; }
.nw-article-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 860px; }
.nw-article-hero .nw-meta { color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 1rem; }
.nw-article-hero .lead { margin-left: 0; max-width: 760px; }
.nw-article { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2.25rem; }
.nw-article .cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 1.75rem; }
.nw-content { font-size: 1.04rem; line-height: 1.85; color: #1E293B; }
.nw-content p { margin-bottom: 1.1rem; }
@media (max-width: 575.98px) { .nw-article { padding: 1.35rem; } }
.nw-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-top: 1.25rem; margin-top: 1.5rem; border-top: 1px solid var(--border); font-size: .88rem; }
.nw-share a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 999px;
  color: #334155; text-decoration: none; }
.nw-share a:hover { border-color: var(--primary-light); color: var(--primary); }
.nw-author { display: flex; gap: 1rem; align-items: center; }
.nw-avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.nw-comment { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.2rem; }
.nw-comment + .nw-comment { margin-top: .75rem; }
.nw-sticky { position: sticky; top: 1.25rem; }
