.portfolio-detail-page {
    margin: 52px 0;
}
.designer-info .title {
    font-size: 40px;
    font-weight: 700;
    max-width: 370px;
    margin-bottom: 19px;
}
.designer-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}
.detail-nav {
    justify-content: space-between;
    align-items: end;
    margin-bottom: 160px;
}
.designer-photo {
    width: 185px;
    margin-bottom: -4px;
}
.designer-photo img {
    border-radius: 15px;
}
.designer-tags, .designer-info {
    width: 30%;
}
.designer-text {
    font-size: 20px;
    line-height: 24px;
}
.tags a {
    display: block;
    font-size: 13px !important;
    padding: 11px 17px!important;
}
.tags {
    justify-content: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.check-portfolio {
    margin-bottom: 33px;
    margin-right: 16px;
    text-align: right;
    font-size: 14.5px;
    position: relative;
}
.check-portfolio a {
    color:#4A7579;
    font-size: 14px;
    font-weight: 700;
}
.check-portfolio a:hover {
    color: #4A7579;
    text-decoration: underline;
}
.check-portfolio a::after {
    content: "";
    background-image: url("/local/templates/kuban/img/check-portfolio.svg");
    display: block;
    width: 13px;
    height: 10px;
    position: absolute;
    top: calc(50% - 3px);
    right: -17px;
    background-repeat: no-repeat;
    background-size: contain;

}
.detail-about .description {
    margin-top: 31px;
    margin-bottom: 41px;
    font-size: 20.1px;
    max-width: 595px;
    line-height: 24px;
}
.detail-about {
    justify-content: space-between;
    align-items: end;
}
.table {
    border-bottom: 1px solid #2E4F51;
}
.table .table-data {
    display: flex;
    justify-content: space-between;
    padding: 28px 0px 26px;
    border-top: 1px solid #2E4F51;
    align-items: center;
}
.table-data:last-child {
    padding-bottom: 22px;
    padding-top: 26px;
}
.table-data > div:first-child {
    font-size: 24.5px;
    width: 55%;
}
.table-data div.tools {
    width: 80%;
}
.table-data:has(div.tools) {
    gap: 10px;
}
.table-data > div:last-child {
    font-size: 20px;
    width: 45.5%;
}
.col-right-detail-portfolio {
    margin-bottom: -5px;
    height: 410px;
}
.col-right-detail-portfolio img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
}
.tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tools-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.tools .tools-icon {
    margin-right: 8px;
    min-width: 40px;
    width: 40px;
    height: 40px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.tools .tools-desc {
    text-wrap-style: balance;
    font-size: 18px;
}

.projects-block {
    background-color: #DDF1F1;
    padding: 0 0 160px;
    margin-top: 159px;
    position: relative;
}
.projects-block .container{
    z-index: 9;
    position: relative;
}
.projects-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/local/templates/kuban/img/lines-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    display: block;
}
.projects-block .title {
    font-weight: 700;
    padding: 160px 0 75px;
    text-align: center;
}
.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.projects .project {
    width: 32.25%;
}
.project-img {
    position: relative;
}
.project-tags {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 17px;
    gap: 15px;
}
.tag {
    padding: 4px 10px;
    background: #69A3A9DE;
    font-size: 13px;
    border-radius: 40px;
    color: #Fff;
}
.project .link a {
    display: block;
    font-size: 14.5px;
    margin-top: 10px;
    text-align: center;
}
.project .link a span {
    margin-right: 6px;
}
.block-steps {
    padding: 161px 0 235px;
}
.col-left-steps {
    width: 51%;
}
.col-left-steps img {
    border-radius: 17px;
}
.col-right-steps {
    width: 49%;
}
.col-left-steps .title {
    padding-bottom: 123px;
    font-weight: 700;
    line-height: 47px;
}
.table.steps .table-data {
    padding: 16px 0 20.5px;
    align-items: start;
}
.table.steps .table-data > div:first-child {
    width: 51%;
    line-height: 28px;
    font-size: 24px;
    font-weight: 700;
    padding-right: 20px;
    box-sizing: border-box;
}
.table.steps .table-data > div:last-child {
    width: 49%;
    font-size: 14px;
    line-height: 14px;
    box-sizing: border-box;
}

.tools-name {
        margin-top: 6px;
        align-self: flex-start;
    }

header .add-post {
            display:block;
        }
header .login, header .registration {
    display: none;
}
header::before {
    top: -35%;
}
@media (min-width: 1441px) {
    header::before {
        top: -50%;
    }
}
@media (max-width: 840px) {
    .detail-about {
        position: relative;
    }
    .detail-about .description {
        max-width: 50%;
    }
    .col-left-detail-portfolio {
        width: 100%;
    }
    .col-right-detail-portfolio {
        position: absolute;
        top: 0;
        right: 0;
        width: 38%;
        height: 165px;
        overflow: hidden;
        border-radius: 15px;
    }
    .col-right-detail-portfolio img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 600px) {
    header::before {
        top: 0;
    }
    .detail-about .description {
        max-width: 50%;
        font-size: 14px;
        margin-top: 9px;
        line-height: 18px;
        margin-bottom: 30px;
    }
}
@media (max-width: 500px) {
        header::before {
        background-image: url(/local/templates/kuban/img/gr_svg.svg);
        height: 222px;
    }
    .col-right-detail-portfolio {
        top: 30px!important;
        width: 48%!important;
        height: 163px!important;
        border-radius: 15px!important;
    }
    .col-right-detail-portfolio img {
        width: 100%;
        height: auto;
    }
    .portfolio-detail-page {
        margin: 39px 0;
    }
    .designer-info .title {
        font-size: 27px!important;
        margin-bottom: 71px;
    }
    .designer-info {
        width: 68%;
    }
    .designer-photo {
        width: 32%;
        position: relative;
    }
    .designer-photo img {
        width: 100%;
        height: auto;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .designer-name {
        margin-bottom: 15px;
        font-size: 18px;
    }
    .designer-text {
        font-size: 16px;
        line-height: 20px;
        padding-right: 40px;
    }
    .detail-nav {
        gap: 67px 0;
        margin-bottom: 121px;
    }
    .check-portfolio {
        text-align: left;
        font-size: 16.5px;
        margin-bottom: 23px;
    }
    .tags {
        justify-content: start;
    }
    .portfolio-detail-page .title {
        font-size: 25px;
    }
    .table .table-data {
        padding: 22px 0px 21px;
    }
    .table .table-data:last-child {
            padding-bottom: 18px;
    }
    .table-data > div:first-child {
        font-size: 16px;
        width: 51%;
    }
    .table-data > div:last-child {
        font-size: 12px;
        width: 49%;
    }
    .tools .tools-icon {
        margin-right: 3px;
        min-width: 32px;
        width: 32px;
        height: 32px;
        background-size: contain;
    }    
    .tools .tools-desc {
        font-size: 12px;
    }
    .projects-block {
        margin-top: 120px;
        padding-bottom: 81px;
    }
    .projects-block .title {
        padding: 80px 0 34px;
        font-size: 25px;
    }
    .projects .project {
        width: 100%!important;
    }
    .project-img {
        overflow: hidden;
        border-radius: 20px;
        height: 243px;
    }
    .project-img img {
        height: 100%;
        width: auto;
    }
    .tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    .project-tags {
        bottom: 15px;
        left: 16px;
        gap: 10px;
    }
    .project .link a {
        margin-top: 15px;
        font-size: 12.5px;
        padding: 11px 12px!important;
    }
    .projects {
        gap: 40px;
    }
    .block-steps {
        padding: 120px 0 95.2%;
    }
    .col-left-steps .title {
        padding-bottom: 0px;
        font-size: 25px;
        padding-right: 25%;
        margin-bottom: 26px;
        line-height: 32px;
    }
    .block-steps .container {
        position: relative;
    }
    .col-left-steps img {
        position: absolute;
        bottom: -178px;
        left: calc(50% - 65px);
        width: 130px;
    }
    .table.steps .table-data {
        flex-wrap: wrap;
        margin-bottom: 18px;
        padding: 12px 0 10.5px;
    }
    .table.steps .table-data > div:first-child {
        width: 100%;
        line-height: 23px;
        font-size: 18px;
        font-weight: 700;
        padding-right: 40%;
        box-sizing: border-box;
        margin-bottom: 19px;
    }
    .table.steps .table-data > div:last-child {
        width: 100%;
        font-size: 14px;
        line-height: 14px;
        box-sizing: border-box;
    }
    .posts-nav li {
        font-size: 12px;
        padding: 6px 13px 6px;
    }
    .posts-nav ul {
        gap: 8px;
    }
    .posts {
        margin-top: 33px;
    }
    .post-rubrica .row
    {
            flex-wrap: wrap;
    justify-content: center;
        width: 100%;
    }
    .rubrica-picture {
        width: 100%;
    }
}
@media (max-width: 450px) {
        footer .contacts-footer .contacts {
            margin-top: 4px;
        }
}
