/* ============================================================
   PROBLEMS  .problems
   "1. Problems": heading, then a mockup image beside a list of
   three pain points, each with a red-cross icon.
   ============================================================ */

.problems__body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding-top: 4rem;
}

.problems__media {
  flex: 0 1 auto;
  max-width: 28rem;
}

.problems__media img {
  width: 95%;
}

.problems__list {
  min-width: 300px;
  padding-top: 3rem;
}

.problem {
  display: flex;
  margin-bottom: 2rem;
}

.problem:last-child {
  margin-bottom: 0;
}

.problem__icon {
  flex: none;
  width: 1.5rem;
  margin-right: 0.4rem;
}

.problem__text {
  width: 22rem;
  max-width: 100%;
}

.problem__title {
  font-size: 19px;
  font-weight: var(--fw-medium);
  letter-spacing: 0;
}

.problem__desc {
  padding-top: 0.5rem;
  color: var(--color-gray-2);
  font-weight: var(--fw-light);
  line-height: 145%;
}

@media (max-width: 991px) {
  .problems__body {
    gap: 1rem;
  }

  .problems__list {
    padding-top: 0;
  }

  .problem__desc {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .problems__body {
    flex-direction: column;
    align-items: center;
    padding-block: 0.5rem;
  }

  .problems__media {
    padding: 0.7rem 0 1rem;
  }

  .problems__media img,
  .problems__list,
  .problem__text {
    width: 100%;
    min-width: auto;
  }
}

