/* Прогресс чтения раздела (partials/progress.njk). Стоит над списком «Ещё по теме». */

.progress {
  max-width: 560px;
  margin: -8px 0 24px;
}

.progress-text {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--ink-2);
}

.progress-bar {
  height: 6px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface-2);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.progress-next {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.progress-next a {
  color: var(--amber);
  text-underline-offset: 3px;
}

/* Прочитанная статья в списке — приглушена и с отметкой. */
.list-item.is-read {
  opacity: 0.6;
}

.list-item.is-read h3::after {
  content: ' · прочитано';
  font-weight: 500;
  font-size: 0.75em;
  color: var(--ink-2);
}
