/* filter-bar, filter-btn → components.css */

/* ── Feed grid ────────────────────────────────────────── */
.feed-section {
  padding: 2rem 0 4rem;
}

.readings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

/* ── Reading card ─────────────────────────────────────── */
.reading-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.reading-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reading-card__spread-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.reading-card__question {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card thumbnails ──────────────────────────────────── */
.card-thumbs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.card-thumb {
  width: 46px;
  height: 78px;
  object-fit: contain;
  border-radius: 5px;
  display: block;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--surface-2);
}

.thumb-wrap--reversed .card-thumb {
  transform: rotate(180deg);
  opacity: 0.75;
}

.thumb-rev-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.55rem;
  font-weight: 700;
  background: rgba(0,0,0,0.75);
  color: var(--text-muted);
  padding: 1px 3px;
  border-radius: 3px;
  line-height: 1;
}

.thumb-extra {
  width: 46px;
  height: 78px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ── Interpretation excerpt ───────────────────────────── */
.reading-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Card footer (author) ─────────────────────────────── */
.reading-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.reading-card__author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reading-card__author strong {
  color: var(--text);
  font-weight: 500;
}

/* ── Load more ────────────────────────────────────────── */
.load-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 700px) {
  .readings-grid { grid-template-columns: 1fr; }
  .card-thumb { width: 40px; height: 68px; }
  .thumb-extra { width: 40px; height: 68px; }
}
