/* ==========================================================================
   «Новини або події за темою (автоматично)» (parts/topic_feed.php): the cards
   of the blocks «Вибір новини» / «Вибір події» (css-blocks/news-block.css,
   loaded on every page) one under another, as on the alumni front page, and a
   button under them. Loaded only on pages with the block (enqueue.php).
   ========================================================================== */

/* The block keeps its own 30px gap under each card, so the last one gives it back. */
.dept-topic-feed__list > .news-custom-block:last-child {
  margin-bottom: 0 !important;
}

.dept-topic-feed__actions {
  display: flex;
  margin-top: 24px;
}

@media (max-width: 599px) {
  .dept-topic-feed__actions .btn {
    flex: 1;
  }
}

/* The full list (parts/topic_feed-list.php) while the phrase finds nothing. */
.dept-topic-feed__empty {
  margin: 0;
  color: var(--color-text-muted);
}
