/* ========================================
  Problem / Solution
======================================== */

.problem {
  background: #ffe400;
  overflow: hidden;
}

.problem__inner {
  padding-block: 72px;
}

@media screen and (max-width: 767px) {
  .problem__inner {
    padding-block: 48px;
  }
}

.problem__block {
  text-align: center;
}

.problem__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
}

.problem__title span {
  font-size: 52px;
}

.problem__list {
  width: min(100%, 840px);
  margin: 34px auto 0;
  padding: 0;
  list-style: none;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.problem__item {
  width: 269px;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px 20px;
  border: 2px solid #222;
  border-radius: 8px;
  background: #f5f5f5;
  box-sizing: border-box;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.problem__image {
  width: min(100%, 430px);
  margin: 34px auto 0;
}

.problem__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------------------
  Solution
------------------------------ */

.solution {
  margin-top: 53px;
  text-align: center;
}

.solution__title {
  margin: 0;
  font-size: 41px;
  font-weight: 700;
  line-height: 1.4;
}

.solution__list {
  width: min(100%, 840px);
  margin: 30px auto 0;
  padding: 0;
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 15px;

  text-align: left;
}

.solution__item {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 20px 15px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.375;
}

.solution__item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.solution__item span {
  flex: 1;
}

/* ========================================
  Responsive
======================================== */

@media screen and (max-width: 767px) {
  .problem__title {
    font-size: 28px;
    line-height: 1.45;
  }

  .problem__title span {
    font-size: 40px;
  }

  .problem__list {
    margin-top: 28px;
    gap: 12px;
  }

  .problem__item {
    width: 100%;
    min-height: auto;
    padding: 16px 14px;
    font-size: 16px;
  }

  .problem__image {
    width: min(100%, 320px);
    margin-top: 28px;
  }

  .solution {
    margin-top: 48px;
  }

  .solution__title {
    font-size: 28px;
  }

  .solution__list {
    margin-top: 24px;
    gap: 12px;
  }

  .solution__item {
    padding: 16px;
    font-size: 16px;
    line-height: 1.6;
  }

  .solution__item img {
    width: 28px;
    height: 28px;
  }
}