.block-navigation.reviewed__navigation.navigation {
    margin-top: 16px;
    background-color: #fff;
    border-radius: 30px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 20;
}

.reviewed__name-block {
    font-size: 16px;
    color: var(--black-color);
}

.reviewed__swiper-title {
    max-width: 500px;
}

.reviewed__toggle {
    margin-top: 16px;
    background: none;
    border: none;
    color: #1629d6;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.reviewed__toggle:hover {
    color: var(--black-color);
    transform: translateY(-2px);
}

.reviewed__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.reviewed__item-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviewed__swiper-content {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.reviewed__swiper-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewed__wrapper {
    display: flex;
    gap: 40px;
}

.reviewed__head {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 537px;
}

.reviewed__title_paragraph {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviewed__title {
    color: var(--black-color);
}

.reviewed__upwork-content {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #fafafa;
    border-radius: 16px;
    max-width: fit-content;
    box-sizing: border-box;
}

.reviewed__upwork-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviewed__upwork-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviewed__upwork-label {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
}

.reviewed__first-icon,
.reviewed__second-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviewed__first-icon p,
.reviewed__second-icon p {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;
    color: var(--black-color);
}

.reviewed__slide {
    display: flex;
}

.reviewed__content {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.reviewed__content p {
    color: var(--black-color);
    font-weight: 500;
    font-size: 28px;
    line-height: 140%;
    letter-spacing: 0;
    overflow: hidden;
    line-height: 1.5;
    max-height: calc(1.5em * var(--reviewed-reduce-lines, 4));
    text-overflow: ellipsis;
    -webkit-line-clamp: var(--reviewed-reduce-lines, 4);
    line-clamp: var(--reviewed-reduce-lines, 4);
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.reviewed__content p.expanded {
    max-height: none;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.reviewed__image img {
    object-fit: cover;
    border-radius: 50%;
    max-width: 64px;
    max-height: 64px;
}

.reviewed__container {
    overflow: hidden;
}

.reviewed__swiper {
    padding-bottom: 8px;
    position: relative;
}

.reviewed__swiper-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.reviewed__title-excerpt {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviewed__excerpt p {
    font-size: 16px;
    color: var(--grey-600);
}

.reviewed-pagination__wrapper {
    margin-top: 40px;
    position: relative;
    display: flex;
    justify-content: center;
}

.reviewed-pagination {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: relative !important;
    top: unset !important;
    left: unset !important;
    bottom: unset !important;
    right: unset !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-width: 72px;
    justify-content: flex-start;
}

.reviewed-pagination::-webkit-scrollbar {
    display: none;
}

.reviewed-pagination {
    scrollbar-width: none;
}

.reviewed-pagination .swiper-pagination-bullet {
    min-width: 8px !important;
    min-height: 8px !important;
    max-width: 8px !important;
    max-height: 8px !important;
    opacity: 1 !important;
    background: #cfcfcf !important;
    margin: 0 4px !important;
    outline: none !important;
    flex-shrink: 0;
}

.reviewed-pagination .swiper-pagination-bullet:first-child {
    margin-left: auto !important;
}

.reviewed-pagination .swiper-pagination-bullet:last-child {
    margin-right: auto !important;
}

.reviewed-pagination .swiper-pagination-bullet-active {
    background: #1629d6 !important;
    opacity: 1 !important;
}

@media screen and (max-width: 1350px) {
    .reviewed__wrapper {
        display: block;
    }

    .reviewed__head {
        margin-bottom: 40px;
    }
}

@media screen and (min-width: 769px) {
    .reviewed-pagination {
        display: none !important;
    }

    #primary section.reviewed {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .reviewed-pagination__wrapper {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #primary section.reviewed {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .reviewed__prev,
    .reviewed__next {
        display: none;
    }

    .reviewed__head {
        min-width: unset;
    }

    .reviewed__upwork-label img {
        max-height: 35px;
    }

    .reviewed__first-icon img,
    .reviewed__second-icon img {
        max-height: 24px;
    }

    .reviewed__content p {
        font-size: 20px;
        line-height: 1.4;
        max-height: calc(1.5em * var(--reviewed-reduce-lines-mobile, 7));
        -webkit-line-clamp: var(--reviewed-reduce-lines-mobile, 7);
        line-clamp: var(--reviewed-reduce-lines-mobile, 7);
    }
}

@media screen and (min-width: 1401px) {
    .reviewed__swiper .swiper-slide {
        transition: transform 0.3s ease;
        z-index: 1;
        max-height: unset;
    }

    .reviewed__swiper .swiper-slide:not(.swiper-slide-active) {
        transform: scale(0.9);
    }
}
