.problems {
    position: relative;
    --width: 424px
}

.problems__line {
    position: absolute;
    z-index: -1;
    top: 87.7%;
    right: 19.15%
}

.problems__line--desktop {
    display: none
}

@media (min-width: 1800px) {
    .problems__line {
        top: 90.35%;
        right: 22.15%
    }

    .problems__line--desktop {
        display: block
    }
}

.problems__line--laptop {
    display: none
}

@media (min-width: 1200px) and (max-width: 1799.98px) {
    .problems__line--laptop {
        display: block
    }
}

.problems__title .text-bg-sm {
    padding: 5px 14px;
    margin: -5px 0;
    display: inline-block
}

.problems__wrapper {
    border-radius: 12px;
    border: 1px dashed var(--gray-100);
    background-color: var(--white);
    padding: 12px 12px 16px;
    position: relative
}

@media (min-width: 1200px) {
    .problems__wrapper {
        padding: 64px 30px;
        background-color: var(--gray-300);
        border: none
    }
}

@media (min-width: 1800px) {
    .problems__wrapper {
        padding: 64px 184px
    }
}

.problems__wrapper-main {
    position: relative
}

.problems__card {
    position: absolute;
    top: 0;
    border-radius: 16px;
    width: var(--width);
    height: 100%;
    border: 1px dashed var(--Grayscale-dark-cold-gray, #a4b0b9);
    pointer-events: none;
    display: none
}

@media (min-width: 1200px) {
    .problems__card {
        display: block
    }
}

.problems__card:nth-child(1) {
    left: 0
}

.problems__card:nth-child(2) {
    right: 0
}

.problems__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px
}

@media (min-width: 1200px) {
    .problems__top {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 0;
        margin-bottom: 0
    }

    .problems__top-item {
        width: var(--width);
        text-align: center;
        padding: 12px 24px 16px
    }

    .problems__top-arrow {
        display: none
    }
}

.problems__top-arrow {
    color: var(--gray-100)
}

.problems__body {
    position: relative
}

.problems__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none
}

@media (min-width: 1200px) {
    .problems__logo {
        display: block
    }
}

.problems__logo img {
    width: auto;
    height: auto;
    max-width: 343px;
    max-height: 62px
}

@media (min-width: 1800px) {
    .problems__top-item {
        padding: 16px 24px
    }

    .problems__logo img {
        max-width: 468px;
        max-height: 84px
    }
}

.problems__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns:(1fr) [ 1 ];
    grid-template-columns:repeat(1, 1fr);
    gap: 24px
}

@media (min-width: 760px) {
    .problems__grid {
        -ms-grid-columns:(1fr) [ 2 ];
        grid-template-columns:repeat(2, 1fr);
        gap: 16px
    }
}

@media (min-width: 1200px) {
    .problems__grid {
        display: block;
        gap: 0
    }
}

.problems__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    border-radius: 8px;
    background-color: var(--gray-300);
    padding: 12px
}

@media (min-width: 1200px) {
    .problems__row {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        background-color: transparent;
        border-radius: 0;
        padding: 0
    }

    .problems__row:nth-child(2) .problems__item-line-wrapper {
        top: -26px
    }

    .problems__row:nth-child(3) .problems__item-line-wrapper {
        top: 12px
    }
}

.problems__item {
    border-radius: 8px;
    background-color: var(--white);
    color: var(--black);
    -webkit-box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .08);
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .08);
    padding: 12px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: color var(--transition), background-color var(--transition);
    transition: color var(--transition), background-color var(--transition)
}

@media (min-width: 1200px) {
    .problems__item {
        border: 1.5px dashed var(--gray-100);
        width: calc(var(--width) - 40px);
        padding: 16px 10.5px;
        margin: 0 20px 24px
    }

    .problems__item.is-active, .problems__item:hover {
        background-color: var(--primary);
        color: var(--black)
    }
}

@media (min-width: 1800px) {
    .problems__item {
        padding: 14.5px 10.5px
    }
}

@media (max-width: 1199.98px) {
    .problems__item[data-active-problem] {
        background-color: var(--primary);
        color: var(--black)
    }
}

.problems__item-line {
    -webkit-transition: opacity var(--transition);
    transition: opacity var(--transition)
}

.problems__item-line-wrapper {
    margin: auto -23px;
    color: var(--gray-100);
    position: relative;
    top: -10px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: none;
    -webkit-transition: color var(--transition);
    transition: color var(--transition)
}

.problems__item-line-wrapper.is-solid {
    color: var(--primary)
}

.problems__item-line-wrapper.is-solid .problems__item-line:not(.problems__item-line--active) {
    opacity: 0
}

.problems__item-line-wrapper.is-solid .problems__item-line-hidden {
    opacity: 1
}

.problems__item-line--active {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    bottom: 0
}

.problems__item-line-hidden {
    opacity: 0;
    -webkit-transition: opacity var(--transition);
    transition: opacity var(--transition)
}

.problems__item-arrow {
    color: var(--primary);
    margin: 0 auto
}

@media (min-width: 760px) {
    .problems__item-arrow {
        margin: 4px auto
    }
}

@media (min-width: 1200px) {
    .problems__item-line-wrapper {
        display: block
    }

    .problems__item-arrow {
        display: none
    }
}
