@media (min-width: 0px) {
  .cards {
    padding: 20px 0;
  }

  .cards__inner {
    display: flex;
    flex-direction: column;
  }

  .cards__header {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
  }

  .cards__header span {
    color: #bc625c;
  }

  .cards__items {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-top: 20px;
    overflow-x: scroll;
    /* justify-content: center; */
  }

  .cards__item {
    /* box-shadow: 0px 3.52699px 8.81748px rgba(0, 0, 0, 0.25); */
    border-radius: 16px;
    max-width: 320px;
    flex-shrink: 0;
    height: fit-content;
  }
  .cards__item_title {
    color: #151617;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 24px */
  }
  .cards__item_subtitle {
    color: #151617;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 20.8px */
    margin-top: 8px;
    max-width: 278px;
  }
  .cards__item_img img {
    width: 100%;
  }

  .cards__item_text {
    padding: 20px 16px;
    border-radius: 16px;
    background: #f4f4f4;
    margin-top: -16px;
    z-index: 5;
    position: relative;
  }

  .cards__item_p {
    font-size: 20px;
    line-height: 120%;
  }

  .cards__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px 0;
    width: 100%;
    height: 52px;
    max-width: 393px;
    margin-top: 25px;
    background: #000000;
    border-radius: 16px;
    align-self: center;
    font-family: "ManropeR";
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #ffffff;
  }
}

@media (min-width: 957px) {
  .cards__items {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 48px;
    gap: 24px;
    align-items: flex-start;
  }

  .cards {
    padding: 100px 0;
  }

  .cards__header {
    font-size: 45px;
  }
  .cards__item {
    max-width: 392px;
  }

  .cards__item_text {
    margin-top: -20px;
    z-index: 5;
    position: relative;
  }

  .cards__item_p {
    font-size: 28px;
  }

  .cards__btn {
    margin-top: 48px;
  }
  .cards__item_title {
    font-size: 24px;
  }
  .cards__item_subtitle {
    line-height: 150%; /* 20.8px */
    margin-top: 10px;
    max-width: 360px;
  }
}

@media (min-width: 1234px) {
}
