.training-page {
  padding-bottom: 52px;
}

.training-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #fff9df 0%, #eef8fc 100%);
}

.training-eyebrow {
  margin: 0 0 8px;
  color: #4a2a86;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-hero .lead {
  margin-top: 10px;
}

.training-hero-badge {
  display: inline-flex;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-purple));
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(67, 49, 12, 0.16);
}

.training-list {
  margin-top: 22px;
}

.training-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.training-section-header h2 {
  margin: 0;
}

.training-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff9df;
  color: #4a2a86;
  font-size: 0.88rem;
  font-weight: 700;
}

.training-card {
  padding: 0;
  overflow: hidden;
}

.training-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  background: #fffdf4;
}

.training-card-main h2 {
  margin-bottom: 8px;
}

.training-card-main p,
.training-steps p {
  margin: 0;
  color: #3d4360;
  line-height: 1.55;
}

.training-card-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-cyan);
  color: #073642;
  font-weight: 700;
}

.training-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 20px 22px;
  border-top: 1px solid #e8d38a;
}

.training-step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #6d3ac6;
  color: #ffffff;
  font-weight: 700;
}

.training-steps h3 {
  margin: 4px 0 6px;
  color: #2f3550;
  font-size: 1.05rem;
}

.training-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #1db9d2;
  color: #073642;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.training-action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(29, 185, 210, 0.22);
}

@media (max-width: 760px) {
  .training-hero,
  .training-section-header,
  .training-card-main,
  .training-steps li {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-hero {
    align-items: flex-start;
  }

  .training-section-header {
    display: grid;
    align-items: start;
  }

  .training-hero-badge {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.1rem;
  }

  .training-action-link {
    width: 100%;
  }
}
