.problems-block ul li,
.problems-block ol li {
    position: relative;
    padding-left: 30px;
    padding-top: 10px;
}

.problems-block ul li:before,
.problems-block ol li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lightblue);
    display: inline-block;
    position: absolute;
    left: 12px;
    top: 20px
}

.problems-block ol li {
    list-style: none;
    counter-increment: item 1;
}

.problems-block ol li:before {
    content: counter(item) ". ";
    background: none;
    top: 10px;
    left: 6px;
}

.problems-block .problems-header {
    width: 60%;
}

.problems-block .problems-content {

}

.problems-block .problems-item {
    background: var(--bg2);
    border-radius: 10px;
    padding: 40px;
    transition: all .3s;
}

.problems-block .problems-item.active {
    background: none;
    transition: all .3s;
}

.problems-block .problems-item__preview {
    display: grid;
    grid-template-columns: min-content auto;
    align-items: center;
    cursor: pointer;
}

.problems-block .preview-number {
    font-family: var(--solomon);
    font-weight: 600;
    font-size: 50px;
    line-height: 60px;
    text-align: left;
    color: var(--deepblue);
    margin-right: 24px;
    grid-row: span 2;
}

.problems-block .preview-text {
    width: 100%;
}

.problems-block .preview-title {
    display: flex;
    justify-content: space-between;
}

.problems-block .preview-title span {
    font-family: var(--solomon);
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    color: var(--blue);
    margin-bottom: 8px;
}

.problems-block .preview-description {
    font-family: var(--solomon);
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: var(--lightblue);
}

.problems-block .problems-item .preview-text__title svg {
    min-width: max-content;
}

.problems-block .problems-item.active .preview-text__title svg {
    transform: rotate(180deg);
}

.problems-block .problems-item__detail {
    display: none;
}

.problems-block .problems-item__detail .detail-wrapper {
    margin-top: 40px;
}

.problems-block .problems-item__detail .detail-problem__title {
    font-family: var(--solomon);
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    text-align: left;
    color: var(--deepblue);
}

.problems-block .problems-item__detail .detail-text,
.problems-block .problems-item__detail .detail-problem__text,
.problems-block .problems-item__detail .detail-variant .variant-text {
    font-family: var(--solomon);
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    color: var(--lightblue);
}

.problems-block .problems-item__detail .detail-problem__text {
    margin-top: 24px;
}

.problems-block .problems-item__detail .detail-variant {
    margin-left: 90px;
    display: flex;
}

.problems-block .problems-item__detail .detail-variant:not(:first-child) {
    margin-top: 30px;
}

.problems-block .problems-item__detail .detail-variant__point {
    background-color: var(--deepblue);
    border-radius: 50%;
    min-height: 25px;
    max-height: 25px;
    min-width: 25px;
    max-width: 25px;
    margin-right: 16px;
}

.problems-block .problems-item__detail .detail-variant .variant-title {
    font-family: var(--solomon);
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    text-align: left;
    color: var(--blue);
    margin-bottom: 8px;
}


@media all and (max-width: 1024px) {
    .problems-block .problems-header {
        width: 85%;
    }
}

@media all and (max-width: 768px) {
    .problems-block .problems-header {
        width: 100%;
    }
}

@media all and (max-width: 640px) {

}

@media all and (max-width: 480px) {
    .problems-block .preview-number {
        align-self: flex-start;
        grid-row: span 1;
    }

    .problems-block .preview-title span {
        font-size: 24px;
        line-height: 29px;
    }

    .problems-block .problems-item {
        padding: 40px 20px;
    }

    .problems-block .preview-description {
        grid-column: span 2;
        margin-top: 8px;
    }
}

@media all and (max-width: 360px) {
    .problems-block .problems-item__preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .problems-block .preview-number {
        font-size: 30px;
        margin: 0 0 24px;
        grid-column: span 2;
    }

    .problems-block .preview-title {
        grid-column: span 2;
    }

    .problems-block .problems-item {
        padding: 40px 20px;
    }
}


