/* Feed publikacji – karty jak w mediach społecznościowych, bez reakcji i komentarzy. */

.feed { max-width: 620px; }
.feed-list { display: grid; gap: 16px; }
.feed-empty { color: var(--muted); }
.feed-sentinel { height: 1px; }

.feed-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding-bottom: 4px; scrollbar-width: none; }
.feed-filters button {
  flex: none; font: 600 .9rem var(--font); color: var(--text); background: transparent; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px;
}
.feed-filters button small { color: var(--muted); font-weight: 400; }
.feed-filters button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0b3945; }
.feed-filters button[aria-pressed="true"] small { color: #0b3945; }

.post {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.post-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; }
.post-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--lime); flex: none; }
.post-meta { display: grid; line-height: 1.3; min-width: 0; }
.post-meta b { font-weight: 700; }
.post-meta span { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-badge {
  margin-left: auto; flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--lime);
}
.post-badge--podcast { background: var(--lime); color: #0b3945; }

.post-body { display: block; padding: 12px 16px 14px; color: var(--text); text-decoration: none; }
.post-body:hover h3 { color: var(--lime); }
.post-cat { color: var(--lime); font-size: .8rem; font-weight: 600; }
.post-body h3 { margin: 2px 0 6px; font-size: 1.1rem; line-height: 1.3; font-weight: 700; transition: color .15s; }
.post-body p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

.post-media { display: block; background: rgb(0 0 0 / .2); }
.post-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post--magazyn .post-media img { aspect-ratio: auto; max-height: 440px; width: auto; margin: 0 auto; object-fit: contain; }
.post-audio { width: calc(100% - 32px); margin: 12px 16px 0; }

.post-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.post-btn {
  font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--text);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
}
.post-btn:hover { border-color: var(--lime); color: var(--lime); }
.post-btn--primary { background: var(--lime); border-color: var(--lime); color: #0b3945; }
.post-btn--primary:hover { background: #b8e02a; color: #0b3945; }
