main {
    max-width: 100dvw;
    overflow: hidden;
}
.promo {
    padding-top: 115px;
    padding-bottom: 50px;
    background: var(--bg-2);
    background-size: cover;
    background-position: top right;
    .breadcrumbs {
        margin-bottom: 50px;
    }
    .content {
        padding: 10px 20px;
        position: relative;
        &::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            top: 0;
            width: 4px;
            background: linear-gradient(74.17deg, #917234 7.74%, #e3ca96 26.76%, #cdb27C 47.44%, #a8894c 53.73%, #b28e42 77.78%, #93763a 86.51%, #98793b 95.7%);
        }
        h1 {
            margin-bottom: 20px;
            font-size: 50px;
            font-weight: 600;
            line-height: 100%;
            letter-spacing: 0.2px;
            background:linear-gradient(74deg, #917234 7.74%, #e3ca96 26.76%, #cdb27c 47.44%, #a8894c 53.73%, #b28e42 77.78%, #93763a 86.51%, #98793b 95.7%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        form {
            display: grid;
            grid-template-columns: 1fr 42px;
            grid-template-rows: 42px;
            max-width: 865px;
            input {
                padding: 5px 16px;
                border: none;
                background: #f6f7f9;
                color: var(--text-2);
                font-size: 16px;
                line-height: 118%;
                letter-spacing: 0.2px;
                &::placeholder {
                    color: rgba(1, 7, 23, 0.5);
                    font-size: 16px;
                    line-height: 118%;
                    letter-spacing: 0.2px;
                }
            }
            button {
                display: flex;
                justify-content: center;
                align-items: center;
                border: none;
                border-left: 1px solid #aeb0b4;
                background: #f6f7f9;
                &::before {
                    content: '\e002';
                    font-family: 'icon';
                    font-size: 18px;
                    color: var(--text-2);
                }
            }
        }
    }
}
.result-box {
    padding-top: 40px;
    padding-bottom: 100px;
    margin-bottom: 100px;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: url(/resource/themes/ur/assets/images/content-bg.png) repeat-y;
        z-index: -2;
        pointer-events: none;
    }
    .wrapper {
        display: grid;
        grid-template-columns: 1fr 315px;
        gap: 40px;
    }
    .result {
        & > h2 {
            display: flex;
            align-items: center;
            gap: 6px;
            color: rgba(1, 7, 23, 0.65);
            font-size: 16px;
            line-height: 120%;
            letter-spacing: 0.2px;
            margin-bottom: 40px;
            span {
                color: var(--text-2);
                font-size: 16px;
                font-weight: 700;
                line-height: 120%;
                letter-spacing: 0.2px;
            }
        }
        .items {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 30px;
            .item {
                display: flex;
                gap: 20px;
                padding: 20px;
                background: #fefefe;
                border: 1px solid #fefefe;
                transition: .3s linear;
                position: relative;
                &:hover {
                    border-color: #AEB0B4;
                    backdrop-filter: blur(20px);
                    box-shadow: 0px 10px 23px 0px rgba(17, 31, 62, 0.1), 0px 41px 41px 0px rgba(17, 31, 62, 0.09), 0px 92px 55px 0px rgba(17, 31, 62, 0.05), 0px 164px 66px 0px rgba(17, 31, 62, 0.01), 0px 256px 72px 0px rgba(17, 31, 62, 0);
                }
                &.article .icon::before {
                    content: '\e044';
                }
                .icon {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 42px;
                    height: 42px;
                    aspect-ratio: 1/1;
                    background: rgba(246, 247, 249, 1);
                    &::before {
                        content: '\e015';
                        font-family: 'icon';
                        font-size: 24px;
                        color: var(--text-2);
                    }
                }
                .info {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    h3 {
                        color: #0d1734;
                        overflow: hidden;
                        font-size: 16px;
                        font-weight: 600;
                        line-height: 120%;
                        letter-spacing: 0.2px;
                        opacity: 0.7;
                    }
                    .text {
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        align-self: stretch;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        h2, h3, div, p:has(br) {
                            display: none;
                        }
                        &  * {
                            color: rgba(1, 7, 23, 0.65);
                            font-size: 16px;
                            font-weight: 300;
                            line-height: 120%;
                            letter-spacing: 0.2px;
                        }
                    }
                    .tags {
                        display: flex;
                        gap: 6px;
                        flex-wrap: wrap;
                        margin-top: 10px;
                        span {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            padding: 2px 8px;
                            height: 24px;
                            border: 1px solid rgba(119, 123, 134, 0.20);
                            color: #777b86;
                            font-size: 12px;
                            line-height: 140%;
                            letter-spacing: 0.2px;
                            &::before {
                                content: '\e027';
                                font-family: 'icon';
                                font-size: 12px;
                                line-height: 12px;
                            }
                        }
                    }
                }
                .arrow {
                    min-width: 24px;
                    width: 24px;
                    height: 24px;
                    position: relative;
                    margin-left: auto;
                    align-self: center;
                    &::after, &::before {
                        position: absolute;
                        content: '';
                        height: 12px;
                        left: 12px;
                        width: 2px;
                        background: #4d515c;
                        transition: 0.2s linear;
                    }
                    &::before {
                        top: 1px;
                    }
                    &::after {
                        bottom: 1px;
                    }
                }
                a {
                    position: absolute;
                    inset: 0;
                }
                &:hover {
                    .arrow {
                        &::before {
                            transform: rotate(-45deg) translateY(1px);
                        }
                        &::after {
                            transform: rotate(45deg) translateY(-1px);
                        }
                    }
                }
            }
        }
        .pagination {
            display: flex;
            gap: 6px;
            grid-column: 1/-1;
            a {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 50px;
                height: 50px;
                border: 1px solid;
                border-image-slice: 1;
                border-image-source: radial-gradient(54.75% 73% at 100% 100.35%, rgba(46, 49, 146, 0) 0%, rgba(46, 49, 146, 0.1) 100%);
                background: #f2f3f5;
                color: #0a235c;
                font-size: 16px;
                font-weight: 500;
                line-height: 120%;
                letter-spacing: 0.2px;
                &.disabled {
                    opacity: 0.4;
                }
                &.selected {
                    background: rgba(174, 176, 180, 0.20);
                }
                &.prev, &.next {
                    width: 50px;
                    height: 50px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid;
                    border-image-slice: 1;
                    position: relative;
                    border-image-source: radial-gradient(54.75% 73% at 0% 100.35%, rgba(46, 49, 146, 0) 0%, rgba(46, 49, 146, 0.1) 100%);
                    &::after, &::before {
                        position: absolute;
                        content: '';
                        left: 50%;
                        height: 8px;
                        width: 2px;
                        background: #000;
                        transition: 0.2s linear;
                    }
                    &::before {
                        top: calc(50% - 8px);
                        transform: translateX(3px);
                    }
                    &::after {
                        bottom: calc(50% - 7px);
                        transform: translateX(3px);
                    }
                    span {
                        &::before {
                            content: '\e019';
                            font-family: 'icon';
                            color: #000;
                            font-size: 14px;
                            transform: rotate(90deg) translateY(5px);
                            position: relative;
                            display: block;
                        }
                    }
                    &.next {
                        transform: rotate(180deg);
                        border-image-source: radial-gradient(54.75% 73% at 100% 0.35%, rgba(46, 49, 146, 0) 0%, rgba(46, 49, 146, 0.1) 100%);
                    }
                    &:hover {
                        &::before, &::after {
                            height: 7px;
                            width: 1px;
                        }
                        &::before {
                            transform: rotate(45deg) translate(0px, 2px);
                        }
                        &::after {
                            transform: rotate(-45deg) translate(0px, -2px);
                        }
                    }
                }
            }
        }
        .empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding-top: 40px;
            padding-bottom: 40px;
            .icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 64px;
                aspect-ratio: 1/1;
                margin-bottom: 20px;
                &::after {
                    content: '\e002';
                    font-family: 'icon';
                    font-size: 53px;
                    color: rgba(1, 7, 23, 0.1);
                }
            }
            h2 {
                font-weight: 700;
                font-size: 20px;
                line-height: 120%;
                text-align: center;
                color: #0D1734;
                margin-bottom: 10px;
            }
            p {
                font-weight: 300;
                font-size: 16px;
                line-height: 120%;
                text-align: center;
                margin-bottom: 20px;
                color: rgba(1, 7, 23, 0.65);
            }
            .services {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                flex-wrap: wrap;
                a {
                    white-space: nowrap;
                    display: flex;
                    padding: 6px 10px;
                    background: var(--text-9);
                    align-items: center;
                    justify-content: center;
                    font-weight: 500;
                    font-size: 14px;
                    line-height: 140%;
                    color: var(--text-2);
                    transition: .3s linear;
                    &:hover {
                        box-shadow: 0px 4px 10px 0px #8D92A133;
                        color: rgba(1, 7, 23, 0.65);
                    }
                }
            }
        }
    }
    aside {
        display: flex;
        flex-direction: column;
        gap: 10px;
        .specialists {
            padding: 20px;
            background: #fefefe;
            box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.10);
            img {
                margin-bottom: 10px;
                aspect-ratio: 1/1;
                object-fit: cover;
            }
            >span {
                margin-bottom: 6px;
                font-size: 12px;
                font-weight: 400;
                line-height: 120%;
                letter-spacing: 0.2px;
                text-transform: uppercase;
                background: linear-gradient(254deg, #917234 7.74%, #e3ca96 26.76%, #cdb27C 47.44%, #a8894c 53.73%, #b28e42 77.78%, #93763a 86.51%, #98793b 95.7%);
                background-clip: text;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
            h2 {
                color: var(--text-2);
                font-size: 16px;
                font-weight: 500;
                line-height: 140%;
                letter-spacing: 0.2px;
                margin-bottom: 6px;
            }
            p {
                color: #777b86;
                font-size: 14px;
                font-weight: 300;
                line-height: 140%;
                letter-spacing: 0.2px;
                margin-bottom: 10px;
            }
            button {
                padding: 10px;
                width: 275px;
                &::before, &::after {
                    border-width: 140px;
                }
                &::before {
                    border-top-width: 140px;
                    border-left-width: 140px;
                }
                &::after {
                    border-right-width: 140px;
                    border-bottom-width: 140px;
                }
                span {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    &::before {
                        content: '\e008';
                        font-family: 'icon';
                        font-size: 16px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
        .services-box {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 20px;
            background: #fefefe;
            box-shadow: 0 4px 10px 0 rgba(141, 146, 161, 0.20);
            h2 {
                color: #777b86;
                font-size: 12px;
                line-height: 120%;
                letter-spacing: 0.2px;
                text-transform: uppercase;
            }
            .items {
                display: flex;
                flex-direction: column;
                gap: 20px;
                .item {
                    &:nth-child(2n) {
                        h3::before {
                            content: '\e025';
                        }
                    }
                    &:nth-child(3n) {
                        h3::before {
                            content: '\e026';
                        }
                    }
                    h3 {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        margin-bottom: 6px;
                        color: var(--text-2);
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 118%;
                        letter-spacing: 0.2px;
                        &::before {
                            content: '\e024';
                            font-family: 'icon';
                            font-size: 22px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 24px;
                            height: 24px;
                        }
                    }
                    p {
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical; 
                        overflow: hidden;
                        text-overflow: ellipsis;  
                        overflow: hidden;
                        color: rgba(1, 7, 23, 0.65);
                        font-size: 16px;
                        font-weight: 300;
                        line-height: 120%;
                        letter-spacing: 0.2px;
                        margin-bottom: 10px;
                    }
                    a {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        color: var(--text-2);
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 120%;
                        opacity: 0.5;
                        transition: .3s;
                        &::after {
                            content: '\e006';
                            font-family: 'icon';
                            font-size: 12px;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 16px;
                            height: 16px;
                        }
                        &:hover {
                            color: var(--text-4);
                        }
                    }
                }
            }
        }
        .resource-box {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 20px;
            background: #fefefe;
            box-shadow: 0 4px 10px 0 rgba(141, 146, 161, 0.20);
            h2 {
                color: #777b86;
                font-size: 12px;
                line-height: 120%;
                letter-spacing: 0.2px;
                text-transform: uppercase;
            }
            .items {
                display: flex;
                flex-direction: column;
                gap: 20px;
                a {
                    display: flex;
                    align-items: center;
                    gap: 4px;
                    position: relative;
                    span {
                        position: absolute;
                        color: var(--text-2);
                        font-size: 14px;
                        line-height: 120%;
                        letter-spacing: 0.2px;
                        transition: var(--transition-1);
                        white-space: nowrap;
                        opacity: 0.7;
                        &:first-child {
                            left: -6px;
                            opacity: 0;
                        }
                        &:last-child {
                            left: 24px;
                            opacity: .7;
                        }
                    }
                    &::before {
                        content: '\e006';
                        font-family: 'icon';
                        font-size: 12px;
                        color: var(--text-2);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 20px;
                        height: 20px;
                    }
                    &:hover span {
                        &:first-child {
                            left: 24px;
                            opacity: 1;
                        }
                        &:last-child {
                            left: 64px;
                            opacity: 0;
                        }
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1340px) {  
    .promo {
        padding: 115px 0 26px;
        background-size: 1360px 100%;
        .breadcrumbs {
            margin-bottom: 140px;
        }
        .content {
            h1 {
                font-size: 40px;
                margin-bottom: 10px;
            }
        }
    }
    .result-box {
        padding-top: 20px;
        .wrapper {
            grid-template-columns: 1fr 280px;
            gap: 20px;
            aside {
                .specialists {
                    padding: 10px;
                    img {
                        margin-bottom: 8px;
                    }
                }
                .services-box {
                    gap: 10px;
                    padding: 10px;
                    .items {
                        gap: 10px;
                    }
                }
                .resource-box {
                    gap: 10px;
                    padding: 10px;
                    .items {
                        gap: 10px;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    .result-box {
        .result {
            .items {
                .item {
                    .arrow {
                        &::before {
                            transform: rotate(-45deg) translateY(1px);
                        }
                        &::after {
                            transform: rotate(45deg) translateY(-1px);
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1130px) {  
    .promo {
        padding: 65px 0 20px;
        background-size: 1200px 100%;
        .breadcrumbs {
            margin-bottom: 40px;
        }
        .content {
            padding: 5px 10px;
            gap: 6px;
            &::before {
                width: 3px;
            }
            h1 {
                font-size: 32px;
            }
        }
    }
}
@media screen and (max-width: 900px) {
    .result-box {
        margin-bottom: 0;
        padding-bottom: 0;
        .wrapper {
            display: grid;
            grid-template-columns: 1fr;
            margin-bottom: 80px;
            aside {
                display: contents;
                .specialists {
                    display: none;
                }
            }
        }
    }
}  
@media screen and (max-width: 767px) {  
    .promo {
        padding: 73px 0 26px;
        background-size: cover;
        .content {
            &::before {
                width: 2px;
            }
            h1 {
                font-size: 24px;
            }
            form {
                max-width: 520px;
                input {
                    padding: 2px 10px;
                    font-size: 16px;
                }
            }
        }
    }
    .result-box {
        .result {
            & > h2 {
                font-size: 14px;
                margin-bottom: 20px;
                span {
                    font-size: 14px;
                }
            }
            .items {
                margin-bottom: 20px;
                .item {
                    gap: 10px;
                    padding: 10px;
                    .icon {
                        &::before {
                            font-size: 16px;
                        }
                    }
                    .info {
                        .text {
                            -webkit-line-clamp: 2;
                            &  * {
                                font-size: 14px;
                            }
                        }
                    }
                    .arrow {
                        min-width: 20px;
                        width: 20px;
                        height: 20px;
                        &::before, &::after {
                            height: 10px;
                        }
                    }
                }
            }
            .pagination {
                gap: 4px;
                a {
                    width: 32px;
                    height: 32px;
                    font-size: 14px;
                    &.prev, &.next {
                        width: 32px;
                        height: 32px;
                        &::after, &::before {
                            display: none;
                        }
                        span {
                            &::before {
                                font-size: 10px;
                                transform: rotate(90deg) translateY(4px);
                            }
                        }
                    }
                }
            }
        }
    }
}