.tc-shell-container {
  width: min(100% - 2rem, var(--tc-shell-width));
  margin-inline: auto;
}

.tc-reading-width {
  max-width: var(--tc-reading-width);
}

.tc-main {
  min-height: 55vh;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.tc-entry__title,
.tc-page-heading h1 {
  margin-bottom: 1.5rem;
}

.tc-entry__content > * + * {
  margin-block-start: 1.25rem;
}

.tc-entry__content :where(img, iframe) {
  height: auto;
  border-radius: var(--tc-radius-medium);
}

.tc-eyebrow {
  margin-bottom: 0.7rem;
  color: var(--tc-universe-color);
  font-size: var(--tc-type-micro);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tc-page-heading {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.tc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.tc-result-card,
.tc-empty-state {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--tc-color-border);
  border-radius: var(--tc-radius-medium);
  background: var(--tc-color-surface);
  box-shadow: var(--tc-shadow-small);
}

.tc-result-card h2,
.tc-result-card h3 {
  margin-bottom: 0.75rem;
  font-size: var(--tc-type-card-title);
}

.tc-result-card h2 a,
.tc-result-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tc-result-card h2 a:hover,
.tc-result-card h3 a:hover {
  color: var(--tc-universe-color);
}

.tc-result-card__type {
  margin-bottom: 0.4rem;
  color: var(--tc-color-muted);
  font-size: var(--tc-type-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tc-page-search {
  max-width: 720px;
}

.tc-page-search label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tc-page-search > div {
  display: flex;
  gap: 0.65rem;
}

.tc-page-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  border: 1px solid var(--tc-color-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-color-surface);
}

@media (max-width: 900px) {
  .tc-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tc-shell-container {
    width: min(100% - 1.25rem, var(--tc-shell-width));
  }

  .tc-results-grid {
    grid-template-columns: 1fr;
  }

  .tc-page-search > div {
    align-items: stretch;
    flex-direction: column;
  }
}
