/* jdw-core.css — «діалог» розділів: питання зліва, відповідь із відступом і лінією */

.jd-w2-talk {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 24px 60px;
}

.jd-w2-turn {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--jd-hair);
}
.jd-w2-turn:last-of-type {
  border-bottom: 0;
}

.jd-w2-ask {
  position: relative;
  font-family: var(--jd-disp);
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.28;
  font-weight: 700;
  color: var(--jd-graphite);
  padding-left: 46px;
}
.jd-w2-ask::before {
  content: attr(data-turn);
  position: absolute;
  left: 0;
  top: 0.12em;
  min-width: 32px;
  height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jd-graphite);
  color: #fdf3f6;
  border-radius: var(--jd-r1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.jd-w2-say {
  margin: 16px 0 0 46px;
  padding-left: 22px;
  border-left: 3px solid var(--jd-rose);
}
.jd-w2-say > p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--jd-quiet);
  margin-bottom: 13px;
}
.jd-w2-say > p:last-child {
  margin-bottom: 0;
}
.jd-w2-say strong {
  color: var(--jd-graphite);
  font-weight: 700;
}

.jd-w2-turn:nth-child(even) .jd-w2-ask::before {
  background: var(--jd-wine);
}
.jd-w2-turn:nth-child(even) .jd-w2-say {
  border-left-color: var(--jd-graphite);
}

.jd-w2-marks {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
}
.jd-w2-marks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.8px;
  line-height: 1.78;
  color: var(--jd-quiet);
}
.jd-w2-marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--jd-rose);
}
.jd-w2-marks li:last-child {
  margin-bottom: 0;
}

.jd-w2-marks-2 li::before {
  background: transparent;
  border: 2px solid var(--jd-graphite);
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.jd-w2-count {
  list-style: none;
  counter-reset: jdturn;
  margin: 6px 0 14px;
  padding: 0;
}
.jd-w2-count li {
  counter-increment: jdturn;
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  font-size: 14.8px;
  line-height: 1.76;
  color: var(--jd-quiet);
}
.jd-w2-count li::before {
  content: counter(jdturn) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--jd-disp);
  font-size: 16px;
  font-weight: 800;
  color: var(--jd-wine);
}

.jd-w2-aside {
  margin: 16px 0 6px;
  padding: 15px 18px;
  background: #f6ecef;
  border-radius: 0 var(--jd-r2) var(--jd-r2) 0;
  border-left: 4px solid var(--jd-wine);
}
.jd-w2-aside p {
  margin: 0;
  font-size: 14.4px;
  line-height: 1.75;
  color: var(--jd-graphite);
}

.jd-w2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0 6px;
}
.jd-w2-cell {
  background: var(--jd-card);
  border: 1px solid var(--jd-hair);
  border-top: 3px solid var(--jd-rose);
  border-radius: 0 0 var(--jd-r2) var(--jd-r2);
  padding: 16px 16px 14px;
  box-shadow: var(--jd-sh1);
}
.jd-w2-cell-top {
  font-family: var(--jd-disp);
  font-size: 14px;
  font-weight: 700;
  color: var(--jd-graphite);
  margin-bottom: 5px;
}
.jd-w2-cell-body {
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--jd-quiet);
}

/* Картка «якщо залишилися питання» наприкінці сторінки */
.jd-w2-ping {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.jd-w2-ping-card {
  background: var(--jd-card);
  border: 2px solid var(--jd-graphite);
  border-radius: var(--jd-r3);
  padding: 26px 28px 24px;
  box-shadow: 9px 9px 0 rgba(168, 84, 107, 0.16);
}
.jd-w2-ping-top {
  font-family: var(--jd-disp);
  font-size: 22px;
  font-weight: 700;
  color: var(--jd-graphite);
  margin-bottom: 10px;
}
.jd-w2-ping-body {
  font-size: 14.6px;
  line-height: 1.78;
  color: var(--jd-quiet);
  margin-bottom: 14px;
}
.jd-w2-ping-back {
  display: inline-block;
  padding: 11px 22px;
  border: 2px solid var(--jd-graphite);
  border-radius: var(--jd-r1);
  background: var(--jd-wine);
  color: #fff;
  font-family: var(--jd-disp);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--jd-graphite);
  transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
}
.jd-w2-ping-back:hover {
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--jd-graphite);
}

@media (max-width: 720px) {
  .jd-w2-talk {
    padding: 26px 18px 46px;
  }
  .jd-w2-ask {
    padding-left: 40px;
  }
  .jd-w2-say {
    margin-left: 0;
    padding-left: 16px;
  }
  .jd-w2-ping {
    padding: 0 18px 44px;
  }
  .jd-w2-ping-card {
    padding: 22px 20px 20px;
  }
}
