/* "Keep exploring" / "While you're here" — the onward-links block that
   www/scripts/generate-seo-assets.mjs writes into /tier-list/ and
   /kingdom-codes/ between SITE_EXPLORE markers. One stylesheet for both pages
   because it is one block; each page's own stylesheet knows nothing about it.

   Colours read the --tcb-* tokens (shared-shell.css), which the light theme
   re-points, so there is no separate light block beyond the panel ground that
   premium-glass already paints in both themes. */

.site-explore {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
}

.site-explore-head {
  display: grid;
  gap: 0.35rem;
}

.site-explore-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.site-explore-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--tcb-ink-soft);
  line-height: 1.5;
}

/* Three groups side by side on a desktop, stacked below 820px. Stated rather
   than auto-fit: the group count is fixed, so the columns are too. */
.site-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
}

@media (max-width: 820px) {
  .site-explore-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-explore-group {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-explore-group h3 {
  margin: 0;
  color: var(--tcb-ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-explore-links,
.site-explore-cookies {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-explore-links li {
  display: grid;
  gap: 0.1rem;
}

.site-explore-links a,
.site-explore-cookies a {
  color: var(--tcb-ink);
  font-weight: 700;
  text-decoration: none;
}

.site-explore-links a:hover,
.site-explore-links a:focus-visible,
.site-explore-cookies a:hover,
.site-explore-cookies a:focus-visible {
  color: var(--tcb-brand-strong, var(--tcb-brand));
  text-decoration: underline;
}

.site-explore-links span {
  color: var(--tcb-ink-soft);
  font-size: 0.85rem;
}

/* Newest cookies: portrait + name, two per row on a desktop column. */
.site-explore-cookies {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-explore-cookies a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.site-explore-cookies img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
  background: var(--tcb-well, rgba(255, 255, 255, 0.06));
}

.site-explore-cookies span {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.25;
}
