/**
 *
 * Lista de assuntos (tags) do artigo.
 * handler: pp-news-topics
 * deps: pp-layout
 * version: 1.0.0
 *
 * @package theme-single
 *
 */

.news-topics {
  display: grid;
  gap: var(--space-4);
  width: 100%;
  max-width: 760px;
  padding-block: var(--space-5);
}

.news-topics h2 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: var(--line-tight);
}

.news-topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-topics li {
  display: flex;
  min-width: 0;
  max-width: 100%;
}

.news-topics a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: var(--line-tight);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.news-topics a:hover,
.news-topics a:focus-visible {
  color: var(--color-white);
  background: var(--color-gradient-start);
}

@media (max-width: 480px) {
  .news-topics {
    gap: var(--space-3);
    padding-block: var(--space-4);
  }

  .news-topics ul {
    gap: var(--space-2);
  }

  .news-topics a {
    min-height: 32px;
    padding-inline: var(--space-3);
  }
}
