.res-hero {
  padding-block: var(--space-lg) var(--space-md);
  text-align: center;
}

.res-hero h1 {
  font-size: var(--text-2xl);
  max-width: 24ch;
  margin-inline: auto;
}

.res-hero p {
  margin-inline: auto;
}

.res-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.res-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  text-decoration: none;
  display: block;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.res-card:hover {
  transform: translateY(-4px);
}

.res-card__tag {
  display: inline-block;
  background: var(--color-accent-strong);
  color: var(--color-accent-ink);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
}

.res-card h3 {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.res-empty {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  text-align: center;
  color: var(--color-text-muted);
}

.res-single {
  padding-block: var(--space-lg) var(--space-section);
}

.res-single__header {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-lg);
}

.res-single__header h1 {
  font-size: var(--text-2xl);
}

.res-single__body {
  background: var(--color-bg-raised);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  max-width: 46rem;
  margin-inline: auto;
}

.res-single__cta {
  text-align: center;
  margin-top: var(--space-lg);
}
