/* Шаги времени в блоке «Основная информация»: подготовка, готовка, всего (16.11.2026).
   Разметку строит buildTimeSteps() в recipe/_content.ascx. Файл грузится только на странице рецепта. */
.recipe-head .recipe-facts .main_data .tsteps {
  --n: 3;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  margin: 0 20px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--line, #E6DFD2);
  text-align: center;
}
/* пунктир между кружками: от центра первого до центра последнего */
.recipe-head .recipe-facts .main_data .tsteps:before {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(100% / var(--n) / 2);
  right: calc(100% / var(--n) / 2);
  border-top: 2px dashed #E5B9A0;
}
.recipe-head .recipe-facts .main_data .tsteps[style*="--n:1"]:before { display: none; }
.recipe-head .recipe-facts .main_data .ts {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.recipe-head .recipe-facts .main_data .ts__dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line-strong, #D5CCBA);
  color: var(--ink, #2b2723);
}
.recipe-head .recipe-facts .main_data .ts__dot svg { display: block; width: 100%; height: 100%; }
.recipe-head .recipe-facts .main_data .ts--prep .ts__dot { border-color: var(--green, #3F6F1A); color: var(--green, #3F6F1A); }
.recipe-head .recipe-facts .main_data .ts--cook .ts__dot { border-color: var(--tomato, #C8420E); color: var(--tomato, #C8420E); }
.recipe-head .recipe-facts .main_data .ts--total .ts__dot { background: var(--tomato, #C8420E); border-color: var(--tomato, #C8420E); color: #fff; }
.recipe-head .recipe-facts .main_data .ts__k {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #6B645A);
  line-height: 1.1;
}
.recipe-head .recipe-facts .main_data .ts__v {
  margin-top: 3px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}
/* «Всего» того же размера и начертания, что «Подготовка» и «Готовка»; отличается только цветом */
.recipe-head .recipe-facts .main_data .ts--total .ts__v {
  color: var(--tomato, #C8420E);
}
@media (max-width: 420px) {
  .recipe-head .recipe-facts .main_data .ts__k { letter-spacing: 0.04em; font-size: 0.62rem; }
  .recipe-head .recipe-facts .main_data .ts__dot { width: 48px; height: 48px; padding: 9px; }
  .recipe-head .recipe-facts .main_data .tsteps:before { top: 44px; }
}
