/* Design System Showcase & Styleguide Specific Styling */
.styleguide-hero {
  padding: 80px 0 50px;
  text-align: center;
}

.styleguide-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.showcase-block {
  background: var(--th-color-obsidian-850);
  border: 1px solid var(--th-border-subtle);
  border-radius: var(--th-radius-xl);
  padding: var(--th-space-8);
  box-shadow: var(--th-shadow-card);
}

.showcase-block-header {
  border-bottom: 1px solid var(--th-border-subtle);
  padding-bottom: var(--th-space-4);
  margin-bottom: var(--th-space-6);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-block-header h3 {
  font-size: var(--th-text-xl);
  color: var(--th-color-text-bright);
}

.showcase-block-header p {
  color: var(--th-color-text-secondary);
  font-size: var(--th-text-sm);
}

/* Palette Swatches */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.swatch-card {
  background: var(--th-color-obsidian-900);
  border: 1px solid var(--th-border-subtle);
  border-radius: var(--th-radius-md);
  overflow: hidden;
}

.swatch-color {
  height: 70px;
  width: 100%;
}

.swatch-info {
  padding: 10px 12px;
  font-family: var(--th-font-mono);
  font-size: var(--th-text-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swatch-name {
  color: var(--th-color-text-primary);
  font-weight: 600;
}

.swatch-hex {
  color: var(--th-color-text-tertiary);
}

/* Typography Specimen Table */
.type-specimen-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--th-font-mono);
  font-size: var(--th-text-sm);
}

.type-specimen-table th,
.type-specimen-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--th-border-subtle);
}

.type-specimen-table th {
  color: var(--th-color-text-tertiary);
  font-size: var(--th-text-xs);
  text-transform: uppercase;
}

.type-specimen-table td {
  color: var(--th-color-text-secondary);
}

.type-specimen-table td.sample {
  color: var(--th-color-text-bright);
}

/* Component Row Layouts */
.component-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.component-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
