/* Themes are a visual index, not another layer of card chrome. */
.theme-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.25rem);
}

.theme-card {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.theme-card-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--image-ground);
}

.theme-card-media picture,
.theme-card-media img {
  width: 100%;
  height: 100%;
}

.theme-card-media img {
  object-fit: contain;
}

.theme-card-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 0.0625rem solid var(--line);
}

.theme-card-copy strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.theme-card-copy small {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.simple-page {
  max-width: 52rem;
}

.simple-page h1,
.simple-page h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
