.problem {
    position: relative;
    padding: 72px 24px 88px;
    background-color: #f4f5f7;
    color: #333;
}

.problem .section__header {
   padding: 0;
}

.problem__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
  }

.problem__item {
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
    padding: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(17, 45, 78, 0.05);
}

.problem__item-img {
    display: block;
    width: 100%;
    max-width: 236px;
    height: auto;
    margin: 0 auto;
}

.problem__item-text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.problem__item-em {
    color: #1a7ae8;
    font-weight: 700;
}

.problem::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    border-style: solid;
    border-width: 66px 158px 0;
    border-color: #f4f5f7 transparent transparent;
}

@media (max-width: 900px) {
    .problem__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .problem {
        padding: 56px 16px 72px;
    }

    .problem__title-line {
        font-size: 22px;
    }

    .problem__title-line--accent {
        font-size: 27px;
    }

    .problem__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 390px) {
    .problem__list {
        margin: 32px auto 0;
    }
}