/* The /tag/<slug>/ pages, after the live site's tag archives */
.tag-heading {
  max-width: 1140px;
  margin: auto;
  padding: 0 10px;
  text-align: center;
}

.tag-heading h1 {
  margin-top: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  color: #566CF2;
}

.tag-heading .hero-cta-star-divider {
  width: 18%;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 2px auto 22px;
}

.tag-heading .hero-cta-star-divider::after,
.tag-heading .hero-cta-star-divider::before {
  content: '';
  flex: 1;
  border-top: 1px solid #54595F;
}

.tag-heading .hero-cta-star-divider svg {
  fill: #DD2933;
  width: 22.5px;
  height: 20px;
  flex-shrink: 0;
}

#games.tag-games {
  padding: 0 10px;
}

.tag-games .read-more-container {
  padding-bottom: 40px;
}

/* the last row of cards is 20px above the button, or the footer */
.tag-games .games-container {
  margin-bottom: 20px;
}

#games.tag-games:not(:has(.read-more-container)) {
  padding-bottom: 40px;
}

.tag-games .read-more-container {
  margin-top: 0;
}

@media (max-width: 767px) {
  /* unlike the home page, the cards' margins run on into the heading's */
  #games.tag-games .games-container {
    display: block;
  }
}

@media (max-width: 480px) {
  .tag-heading h1 {
    font-size: 40px;
  }
}
