.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-inline: var(--space-1);
  padding-block-end: var(--space-2);
  border-block-end: 1px solid var(--color-border);
  min-inline-size: 0;
}

.section-header__main {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.section-header__bar {
  flex: 0 0 auto;
  width: 6px;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.section-header__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-extra);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-inline-size: 0;
}

.section-header__subtitle {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-header__meta {
  flex: 0 0 auto;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .section-header__main {
    flex-wrap: wrap;
  }

  .section-header__subtitle {
    flex: 1 1 100%;
    white-space: normal;
  }
}
