
.instruction-step-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  background: var(--color-white, #ffffff);
  border-radius: var(--radius-2xl, 1.5rem);
  box-shadow: var(--shadow-card, 0 8px 24px -4px rgba(81, 88, 97, 0.16));
  overflow: hidden;
}

.instruction-step-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-gray-200, #dee1e3);
}

.instruction-step-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 373 / 183;
  object-fit: cover;
  border-radius: var(--radius-2xl, 1.5rem) var(--radius-2xl, 1.5rem) 0 0;
}

.instruction-step-card__body {
  flex: 1;
  width: 100%;
  padding: 24px 24px 39px;
  color: var(--color-text-primary, #1d2d3a);
  font-family: var(--font-agenda, "Agenda", Arial, sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: var(--line-height-tight, 1.2);
  text-align: left;
}

.instruction-step-card__body p {
  margin: 0;
  line-height: inherit;
}

.instruction-step-card__body p + p {
  margin-top: 1.19em;
}

.instruction-step-card__body strong {
  font-weight: 700;
}

@media (max-width: 767px) {
  .instruction-step-card__body {
    font-size: var(--font-size-base, 1rem);
  }
}
