/* the feeds page: a card per feed, its squares, what's in it, and the posts it has lately */

.feeds-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin: var(--s4) 0;
}

.feeds-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5);
  background: var(--paper);
}

@media (max-width: 700px) {
  .feeds-grid a { padding: var(--s4); }
}

.feeds-grid a:hover .edge { border-color: var(--pale); }
.feeds-grid a:hover .feed-desc { text-shadow: var(--glow); }

.feed-info {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-top: auto;
}

.feed-desc {
  font-family: var(--hand);
  font-size: var(--h-m);
}

.feed-filename {
  font-size: var(--note);
  color: var(--dim);
}

/* recent posts under each feed (js/feeds.js), the dates in hand, set apart from the feed's name
   with a dashed rule between one post and the next */
.feeds-grid .preview {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s3);
}

.feeds-grid .preview p + p {
  padding-top: var(--s2);
  border-top: 1px dashed var(--rule);
}

.feeds-grid .preview .date {
  font-family: var(--hand);
  font-size: var(--h-xs);
  color: var(--dim);
}
