.studio__templates {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.studio__template-card {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--a, #163a5f) 18%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface, #fff) 92%, var(--a, #163a5f) 8%);
  text-align: left;
  cursor: pointer;
}

.studio__template-thumb-wrap {
  position: relative;
}

.studio__template-thumb {
  margin-bottom: 0;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--on-light, #163a5f) 10%, transparent);
}

.studio__template-thumb--empty {
  background: color-mix(in srgb, var(--a, #163a5f) 6%, #fff);
}

.studio__template-faces {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-light, #163a5f) 88%, #000);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.studio__template-card strong {
  font-size: 0.94rem;
  line-height: 1.25;
  padding: 0 0.15rem;
}

.studio__template-card em {
  display: none;
}

.studio__template-card:hover,
.studio__template-card:focus-visible {
  border-color: var(--cta, #ff5a36);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cta, #ff5a36) 22%, transparent);
}

.studio__template-card:hover .studio__template-thumb,
.studio__template-card:focus-visible .studio__template-thumb {
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cta, #ff5a36) 18%, transparent);
}

.studio__template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.1rem 0.1rem;
}

.studio__template-tags span {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--a, #163a5f) 12%, transparent);
  color: color-mix(in srgb, var(--ink, #07130f) 78%, transparent);
}