.ds-title--inherit .button-text {
    color: inherit;
}

.specprojects_mainpage {
    background-color: #0158bb;
    color: #fff;
    overflow: hidden;
    margin-top: 40px;
}

.specprojects_mainpage * {
    color: inherit;
}
.specprojects_mainpage a:active,
.specprojects_mainpage a:focus,
.specprojects_mainpage a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.specprojects_mainpage .grid {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 23px;
}

.specprojects_mainpage .grid .item {
    display: block;
    width: 33.33%;
    list-style: circle;
    padding-left: 28px;
    padding-right: 28px;
    border: 0px solid #f00;
    position: relative;
    padding-bottom: 28px;
}

.specprojects_mainpage .grid .item::before {
    content: " ";
    position: absolute;
    width: 9px;
    height: 9px;
    font-size: 0;
    line-height: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.specprojects_mainpage .grid .item .name {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 12px;
}

.specprojects_mainpage .grid .item .name::after {
    content: " ";
    display: inline-block;
    width: 10px;
    height: 10px;
    font-size: 0;
    line-height: 0;
    border: solid #fff;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
    margin-left: 20px;
}

.specprojects_mainpage .grid .item .description {
    font-size: 18px;
    font-weight: 350;
    line-height: 24px;
}

.specprojects_mainpage .ds-title-bottom {
    display: none;
}

@media screen and (max-width: 1279px) {
    .specprojects_mainpage .grid .item {
        width: 50%;
    }

    .specprojects_mainpage .ds-title-top .ds-title__link {
        display: none;
    }

    .specprojects_mainpage .ds-title-bottom {
        margin-top: 0 !important;
        display: block;
    }
}


@media screen and (min-width: 768px) and (max-width: 1279px), print {
    .page__main .specprojects_mainpage > .ds-title {
        margin-bottom: 18px;
    }
    .specprojects_mainpage .grid {
        column-gap: 33px;
        padding-bottom: 0;
    }
    .specprojects_mainpage .grid .item {
        width: 47%;
    }

    .specprojects_mainpage .grid .item::before {
        width: 9px;
        height: 9px;
        top: 7px;
        left: 7px;
    }

    .specprojects_mainpage .grid .item {
        padding-left: 31px;
        padding-right: 0;
        padding-bottom: 25px;
    }

    .specprojects_mainpage .grid .item .name {
        margin-bottom: 12px;
        overflow: visible;
        width: max-content;
    }

    .specprojects_mainpage .grid .item .name::after {
        width: 8px;
        height: 8px;
        margin-left: 19px;
        margin-bottom: 3px;
    }

    .specprojects_mainpage > .ds-title + .container + .ds-title {
        margin-bottom: 28px;
    }

    .specprojects_mainpage > .ds-title + .container + .ds-title .ds-title__link > span {
        font-size: 18px;
    }

    .specprojects_mainpage .ds-title__link {
        display: flex;
        justify-content: flex-start;
    }

}


@media screen and (max-width: 767px) {
    .specprojects_mainpage .grid .item {
        width: 100%;
        padding-bottom: 26px;
        padding-right: 0;
        padding-left: 28px;
    }

    .page__main .specprojects_mainpage > .ds-title {
        margin-bottom: 11px;
    }

    .specprojects_mainpage .grid .item .name {
        margin-bottom: 12px;
        overflow: visible;
        width: max-content;
    }

    .specprojects_mainpage .grid .item::before {
        width: 9px;
        height: 9px;
        top: 8px;
        left: 8px;
    }

    .specprojects_mainpage .grid .item .name {
        overflow: visible;
        width: 100vw;
    }

    .specprojects_mainpage .grid .item .name::after {
        width: 8px;
        height: 8px;
        margin-left: 18px;
        margin-bottom: 2px;
    }

    .specprojects_mainpage > .ds-title + .container + .ds-title {
        margin-bottom: 30px;
    }

    .specprojects_mainpage .ds-title__link {
        position: absolute;
        bottom: 0;
    }
}