/* Xarmo News index/section edition presentation cleanup.
   Keep editorial Purpose metadata in article records, not in the public card hierarchy. */

.xarmo-news-section-shelves {
  display: grid;
  gap: clamp(3.2rem, 6vw, 5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* These are internal taxonomy labels and add noise when repeated on every shelf/card. */
.xarmo-news-section-shelves .xarmo-news-section-label,
.xarmo-news-section-shelves .xarmo-news-card__section {
  display: none;
}

.xarmo-news-section-shelves .xarmo-news-topic-section > header {
  align-items: center;
  margin-bottom: 1.15rem;
  padding-bottom: .9rem;
}

.xarmo-news-section-shelves .xarmo-news-topic-section > header h2 {
  margin: 0;
}

.xarmo-news-section-shelves .xarmo-news-card--topic {
  padding-top: .35rem;
}

/* Links should signal interaction with colour/focus treatment, not an underline. */
.xarmo-news-page a:hover,
.xarmo-news-page a:focus-visible {
  text-decoration: none !important;
}

@media (max-width: 760px) {
  .xarmo-news-section-shelves {
    gap: 2.6rem;
    margin-top: 2.6rem;
  }
}
