/* ============================================================
   pitanie-kormyaschey-mamy-posle-rodov.css
   Выборка классов из main-style.css для страницы
   «Питание кормящей мамы после родов»

   Блоки:
   2.  Введение (intro-card)
   4.  Принципы первой недели (principles-grid)
   5.  Этапы — от роддома до дома (stages-timeline, stage-block)
   6.  Базовый набор (split-cols)
   7.  Типичные ошибки (mistakes-list)
   8.  Как понять, что всё ок (checklist)
   ============================================================ */


/* ════════════════════════════════════════════════
   БЛОК 2. ВВЕДЕНИЕ (intro-card)
   ════════════════════════════════════════════════ */
.intro-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  overflow: hidden; display: grid; grid-template-columns: 5px 1fr;
}
.intro-stripe { background: linear-gradient(175deg, var(--rose-soft), var(--sky-soft)); }
.intro-body {
  padding: 32px 36px; display: grid;
  grid-template-columns: 200px 1fr; gap: 32px; align-items: start;
}
.intro-title {
  font-family: var(--ff-head); font-size: 26px; font-weight: 500;
  color: var(--dark); line-height: 1.25;
}
.intro-title em { font-style: italic; color: var(--rose); }
.intro-accent {
  margin-top: 20px; padding: 16px 20px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--rose-bg), var(--sky-bg));
  border: 1px solid var(--rose-soft); font-size: 14.5px; font-weight: 600;
  color: var(--dark); line-height: 1.55; display: flex; gap: 10px; align-items: center;
}
.intro-accent::before { content: '💡'; font-size: 18px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   БЛОК 4. ПРИНЦИПЫ ПЕРВОЙ НЕДЕЛИ (principles-grid)
   ════════════════════════════════════════════════ */
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.principle-card {
  border-radius: var(--r-md); padding: 22px;
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.principle-card:nth-child(1) { background: linear-gradient(135deg, var(--rose-bg), #FFF9F0); }
.principle-card:nth-child(2) { background: linear-gradient(135deg, var(--sky-bg), #F5FAFF); }
.principle-card:nth-child(3) { background: linear-gradient(135deg, var(--mint-bg), #F5FFFB); }
.principle-card:nth-child(4) { background: linear-gradient(135deg, var(--peach-bg), #FFF8F0); }
.principle-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.principle-icon {
  width: 46px; height: 46px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px; box-shadow: var(--sh-sm);
}
.principle-title { font-size: 15.5px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.principle-text { font-size: 13.5px; color: var(--mid); line-height: 1.65; font-weight: 300; }


/* ════════════════════════════════════════════════
   БЛОК 5. ЭТАПЫ (stages-timeline, stage-block)
   ════════════════════════════════════════════════ */
.stages-timeline { display: flex; flex-direction: column; gap: 20px; }

.stage-block {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-sm); transition: box-shadow .2s;
}
.stage-block:hover { box-shadow: var(--sh-md); }

.stage-block-header { display: flex; align-items: center; gap: 16px; padding: 22px 28px; }
.stage-block:nth-child(1) .stage-block-header { background: linear-gradient(135deg, #FFF2F5, #FFF9F0); }
.stage-block:nth-child(2) .stage-block-header { background: linear-gradient(135deg, var(--sky-bg), var(--mint-bg)); }
.stage-block:nth-child(3) .stage-block-header { background: linear-gradient(135deg, var(--mint-bg), #F0FFFB); }
.stage-block:nth-child(4) .stage-block-header { background: linear-gradient(135deg, var(--peach-bg), #FFF8F0); }

.stage-block-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 18px; font-weight: 600; flex-shrink: 0;
}
.stage-block:nth-child(1) .stage-block-num { background: var(--rose-soft); color: var(--rose); }
.stage-block:nth-child(2) .stage-block-num { background: var(--sky-soft); color: var(--blue); }
.stage-block:nth-child(3) .stage-block-num { background: var(--mint-soft); color: var(--mint-dark); }
.stage-block:nth-child(4) .stage-block-num { background: #FFE4C8; color: #B86A1A; }

.stage-block-meta { }
.stage-block-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 4px;
}
.stage-block-title { font-family: var(--ff-head); font-size: 20px; font-weight: 500; color: var(--dark); }

.stage-block-body { padding: 24px 28px; background: var(--white); }

.stage-block-accent {
  font-size: 14px; font-weight: 700; color: var(--dark);
  padding: 12px 16px; margin-bottom: 14px; border-radius: var(--r-sm);
}
.stage-block:nth-child(1) .stage-block-accent { background: var(--rose-1); border-left: 3px solid var(--rose-5); }
.stage-block:nth-child(2) .stage-block-accent { background: var(--blue-1); border-left: 3px solid var(--sky); }
.stage-block:nth-child(3) .stage-block-accent { background: var(--mint-bg); border-left: 3px solid var(--mint); }
.stage-block:nth-child(4) .stage-block-accent { background: var(--peach-bg); border-left: 3px solid #E8904A; }

.stage-block-items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.stage-tag {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  font-weight: 500; color: var(--mid); background: var(--light); border: 1px solid var(--border);
}
.stage-note {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: var(--r-sm); background: var(--peach-bg);
  border: 1px solid rgba(255,107,60,.15); font-size: 13.5px; color: var(--mid); line-height: 1.6;
}
.stage-note::before { content: '⚠️'; font-size: 16px; flex-shrink: 0; font-style: normal; line-height: 1; }
.stage-note--info::before { content: '💡'; }
.stage-note--ok::before { content: '✅'; }

.stage-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border-radius: var(--r-sm); background: var(--sky-bg);
  border: 1.5px solid var(--sky-soft); font-size: 13.5px; font-weight: 700;
  color: var(--blue); text-decoration: none; transition: all .2s;
}
.stage-cta::after { content: '→'; }
.stage-cta:hover { background: var(--sky); color: var(--white); border-color: transparent; }


/* ════════════════════════════════════════════════
   БЛОК 6. БАЗОВЫЙ НАБОР (split-cols)
   ════════════════════════════════════════════════ */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }

.split-col-header { padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.split-col--yes .split-col-header {
  background: linear-gradient(135deg, var(--mint-bg), #F0FFFB);
  border-bottom: 1px solid var(--mint-soft);
}
.split-col--no .split-col-header {
  background: linear-gradient(135deg, #FFF7F0, #FFF0F0);
  border-bottom: 1px solid var(--rose-soft);
}

.split-col-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; border: 1px solid var(--border); box-shadow: var(--sh-sm); flex-shrink: 0;
}
.split-col-title { font-family: var(--ff-head); font-size: 17px; font-weight: 500; color: var(--dark); }
.split-col-sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

.split-col-body { padding: 20px 22px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.split-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-sm); font-size: 13.5px; color: var(--mid);
  line-height: 1.55; font-weight: 400; border: 1px solid var(--border);
  background: var(--white); transition: background .18s;
}
.split-item:hover { background: var(--light); }
.split-col--yes .split-item-dot { color: var(--mint); font-size: 16px; flex-shrink: 0; }
.split-col--no .split-item-dot { color: var(--rose-5); font-size: 16px; flex-shrink: 0; }

.split-col-link {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px;
  border-radius: var(--r-sm); text-decoration: none; font-size: 13px;
  font-weight: 700; transition: all .2s;
}
.split-col-link::before { content: '👉'; font-style: normal; flex-shrink: 0; }
.split-col-link::after { content: '→'; }
.split-col--yes .split-col-link { background: var(--mint-bg); color: var(--mint-dark); border: 1px solid var(--mint-soft); }
.split-col--yes .split-col-link:hover { background: var(--mint); color: var(--white); border-color: transparent; }
.split-col--no .split-col-link { background: var(--rose-bg); color: var(--rose); border: 1px solid var(--rose-soft); }
.split-col--no .split-col-link:hover { background: var(--rose); color: var(--white); border-color: transparent; }

.split-note {
  display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 20px;
  border-radius: var(--r-md); background: var(--sky-bg); border: 1px solid var(--sky-soft);
  font-size: 13.5px; color: var(--mid); line-height: 1.6; font-weight: 400;
}
.split-note::before { content: '💡'; font-size: 17px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   БЛОК 7. ТИПИЧНЫЕ ОШИБКИ (mistakes-*)
   ════════════════════════════════════════════════ */
.mistakes-list { display: flex; flex-direction: column; gap: 12px; }
.mistake-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  align-items: start; padding: 18px 20px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--white);
  transition: transform .18s, box-shadow .18s;
}
.mistake-item:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.mistake-num {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 22px; font-weight: 600;
  font-style: italic; flex-shrink: 0;
}
.mistake-item:nth-child(1) .mistake-num { background: var(--rose-1); color: var(--rose); }
.mistake-item:nth-child(2) .mistake-num { background: var(--sky-bg); color: var(--blue); }
.mistake-item:nth-child(3) .mistake-num { background: var(--peach-bg); color: #C97A40; }
.mistake-item:nth-child(4) .mistake-num { background: var(--mint-bg); color: var(--mint); }
.mistake-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.mistake-text { font-size: 13.5px; color: var(--mid); line-height: 1.6; font-weight: 300; }
.mistake-arrow {
  font-size: 12px; color: var(--muted); display: flex; align-items: center;
  gap: 4px; background: var(--light); border-radius: 8px;
  padding: 3px 10px; width: fit-content; margin-top: 6px;
}
.mistake-arrow::before { content: '→'; font-style: normal; }
.mistakes-conclusion {
  margin-top: 20px; padding: 20px 24px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--rose-2), var(--blue-2));
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--sh-sm);
  font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.65;
  display: flex; gap: 12px; align-items: center;
}
.mistakes-conclusion::before { content: '💬'; font-size: 20px; flex-shrink: 0; font-style: normal; }


/* ════════════════════════════════════════════════
   БЛОК 8. КАК ПОНЯТЬ, ЧТО ВСЁ ОК (checklist)
   ════════════════════════════════════════════════ */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--white); transition: all .18s;
}
.check-item:hover { background: var(--mint-bg); border-color: var(--mint-soft); transform: translateX(4px); }
.check-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mint-soft), #A8F0DC);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.check-text { font-size: 14.5px; font-weight: 500; color: var(--dark); line-height: 1.4; }
.checklist-note {
  margin-top: 18px; padding: 18px 22px; border-radius: var(--r-md);
  background: var(--sky-bg); border: 1px solid var(--sky-soft);
  font-size: 14.5px; color: var(--mid); line-height: 1.7; font-weight: 300;
  display: flex; gap: 10px; align-items: center;
}
.checklist-note::before { content: '🧘'; font-size: 18px; flex-shrink: 0; font-style: normal; line-height: 1; }


/* ════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .split-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .card { padding: 22px 18px; }
  .intro-body { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .principles-grid { grid-template-columns: 1fr; }
  .stage-block-header { padding: 18px 20px; }
  .stage-block-body { padding: 20px; }
  .stage-block-title { font-size: 17px; }
  .mistakes-list .mistake-item { grid-template-columns: 42px 1fr; gap: 12px; }
  .mistakes-list .mistake-num { width: 42px; height: 42px; font-size: 18px; }
}