/* ============================================
   Molecules — combinations of atoms
   ============================================ */

/* --- Post Card (homepage recent writing) --- */
.post-card {
  padding-block: 0;
  transition: all 200ms var(--ease-2);
}

.post-card__date {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--size-2);
}

.post-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: var(--leading-tight);
}

.post-card__title a {
  color: var(--text-1);
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brand-warm);
  text-underline-offset: 3px;
}

.post-card__excerpt {
  margin-top: 0;
  color: var(--text-3);
  font-size: var(--type-small);
  line-height: 1.6;
  max-width: 32rem;
}

/* --- Table of Contents --- */
.toc {
  padding: var(--size-3);
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  margin-bottom: var(--size-4);
}

.toc__title {
  font-family: var(--font-mono);
  font-size: var(--type-small);
  font-weight: 700;
  margin-bottom: var(--size-2);
  color: var(--text-1);
}

.toc ol {
  list-style: none;
  padding-left: var(--size-3);
  margin: 0;
}

.toc li {
  padding-block: var(--size-1);
}

.toc a {
  color: var(--text-2);
  font-size: var(--type-small);
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-warm);
}

/* --- Section Divider (centered label) --- */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.section-divider__label {
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-warm);
  white-space: nowrap;
}

/* --- Tag Pill --- */
.tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  font-weight: 500;
  color: var(--brand-warm);
  background: var(--brand-warm-light);
  padding: var(--size-1) var(--size-2);
  border-radius: var(--radius-full);
}

/* --- Role List --- */
.role-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.role-list__item {
  font-family: var(--font-mono);
  font-size: var(--type-small);
  color: var(--brand-warm);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.role-list__sep {
  color: var(--border-color);
}
