/* The illustration, label and selected mark make each training type distinct. */
.next-card .training-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.next-card .training-choice {
  --training-accent: #08783f;
  --training-border: #c9e5d3;
  --training-background: #edf9f1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 12px 10px 15px;
  border: 1px solid var(--training-border);
  border-radius: 18px;
  background: var(--training-background);
  color: #121714;
  box-shadow: none;
  cursor: pointer;
  text-align: center;
}
.next-card .training-choice-women {
  --training-accent: #9b3658;
  --training-border: #efd4de;
  --training-background: #fff2f5;
}
.next-card .training-choice:hover,
.next-card .training-choice[aria-pressed="true"] {
  border-color: var(--training-accent);
}
.next-card .training-choice[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--training-accent);
}
.next-card .training-choice:focus-visible {
  outline: 3px solid var(--training-accent);
  outline-offset: 4px;
}
.training-choice-art {
  display: block;
  width: min(100%, 156px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin-bottom: 3px;
}
.training-choice-label {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.training-choice-description {
  color: #56635a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.training-choice-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--training-border);
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 14px;
  line-height: 1;
}
[aria-pressed="true"] > .training-choice-check {
  background: var(--training-accent);
  border-color: var(--training-accent);
  color: #fff;
}
.next-card .next-date-row {
  margin-bottom: 22px;
}
@media (max-width: 440px) {
  .next-card .training-switch { gap: 10px; }
  .next-card .training-choice { padding: 14px 8px; }
  .training-choice-art { width: min(100%, 132px); }
  .training-choice-label { max-width: 9ch; font-size: 15px; }
  .training-choice-description { font-size: 12px; }
}
@media (max-width: 350px) {
  .next-card .training-switch { gap: 8px; }
  .next-card .training-choice { padding-inline: 6px; }
  .training-choice-art { margin-top: 6px; }
}
