/* ── HOW TRAININGS WILL GO (Figma 8995:29360, 390×1012) ── */
.how {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  background: #fff;
}
.how__title {
  width: 100%;
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 37px;
  line-height: 40px;
  letter-spacing: 0.74px;
  text-transform: uppercase;
  text-align: center;
  color: #000;
}
.how__media {
  width: 100%;
  height: 209.733px;
  border-radius: 20px;
  overflow: hidden;
}
.how__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.how__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px; /* Figma: обводка всередині, 1px + 11px = 12px */
  border: 1px solid #717171;
  border-radius: 20px;
  background: #fff;
  color: #1b1b1b;
}
.how__item--dark {
  padding: 12px;
  border: 0;
  background: #1d1d1d;
  color: #fff;
}
.how__check {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.how__item p {
  flex: 1 1 0;
  min-width: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
}
.how__item--normal p { line-height: 23px; } /* Figma 'normal' для Source Sans 3 */
.how__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.how__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 57.281px;
  padding: 14px 3px 14px 8px;
  border-radius: 49.61px;
  background: linear-gradient(90deg, #FF6A93 0%, #F65383 100%);
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.how__note {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #000;
}
.how__note b { font-weight: 700; }

/* Відео уроку (video-card-item + video-optimize.js, як картки в .inc) */
.how__video {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  transform: translateZ(0); /* обрізка відео по радіусу в Safari */
}
.how__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how .video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  transition: opacity .2s;
}
.how .video-overlay.is-playing { opacity: 0; }
.how .video-play-btn {
  position: absolute;
  left: 50%; top: 50%;
  width: 52px; height: 53px;
  margin: -26.5px 0 0 -26px;
  border-radius: 50%;
  background: rgba(249, 82, 131, .13);
  box-shadow: 0 0 33px rgba(241, 144, 196, .66), inset 0 0 0 1px #fff;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  pointer-events: none;
}
.how .video-play-btn svg { display: block; width: 100%; height: 100%; }
.how .video-overlay:active .video-play-btn { transform: scale(.94); }
