

/* Start:/local/components/bitrix/system.pagenavigation/templates/.default/style.css?17712357861363*/
.system-pagenavigation {
    position: relative;

    width: 100%;
    max-width: 625px;
    height: fit-content;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin: 0 auto;
    margin-top: 30px;

    @media(max-width: 700px) {
        & {
            max-width: 100%;
        }
    }
}

.system-pagenavigation__pages {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    flex-wrap: wrap;

    width: fit-content;

    & li {
        & > span,
        & > a {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;

            padding: 5px;

            background: none;
            border-radius: 5px;

            transition: var(--transition);

            min-width: 30px;
            min-height: 30px;

            color: var(--text-primary-second);
            font-weight: 700;
            font-style: Bold;
            font-size: 16px;
            line-height: 120%;
            text-align: center;
            vertical-align: middle;
        }

        & > span,
        & > a:hover {
            color: var(--text-primary-head);
            background: var(--colors-main);
        }
    }
}
/* End */


/* Start:/local/templates/theme/components/bitrix/news/reviews/bitrix/news.list/.default/style.css?17712393691150*/
.archive-reviews__sections-select {
    margin-bottom: 30px;
}

.archive-reviews__sections {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: start;

    flex-wrap: wrap;

    margin-bottom: 30px;

    & a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 17px 25px;

        text-align: center;
        color: var(--text-primary-main);
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;

        background: var(--bg-primary-main);
        border: solid 1px var(--bg-primary-stroke);
        border-radius: 10px;

        transition: var(--transition);

        &:hover,
        &.active {
            background: var(--colors-main);
            border-color: var(--colors-main);
            color: var(--text-primary-head);
        }
    }
}

@media(min-width: 841px) {
    .archive-reviews__sections-select {
        display: none;
    }
}
@media(max-width: 840px) {
    .archive-reviews__sections {
        display: none;
    }
}
/* End */


/* Start:/local/components/componentsTheme/item.review/templates/.default/style.css?17712323474170*/
.wrapper-reviews {
    position: relative;
    width: 100%;
    height: fit-content;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    @media(max-width: 1120px) {
        & {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

/* item */
.item-review {
    position: relative;
    width: 100%;
    height: 100%;
    
    padding: 20px;
    border: solid 1px var(--bg-primary-main);
    border-radius: 15px;

    box-shadow: 0px 10px 40px 0px #0000000D;
}

.item-review__content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 205px;

    column-gap: clamp(20px, 0.647vw + 17.573px, 30px);
    row-gap: clamp(30px, 2.071vw + 22.233px, 62px);
}

.item-review__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: fit-content;

    grid-row: span 2;
}

.item-review__img {
    position: sticky;
    top: var(--Sticky);
    width: 100%;
    height: auto;
    aspect-ratio: 205 / 297;
    border-radius: 10px;
    overflow: hidden;
    border: solid 1px var(--bg-primary-stroke);

    cursor: pointer;

    & img {
        position: absolute;
        top: 0px;
        left: 0px;

        width: 100%;
        height: 100%;
    }
}

.item-review__date {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;

    width: fit-content;
    padding: 5px;
    padding-right: 10px;

    background: var(--bg-primary-second);
    border-radius: 5px;

    font-weight: 400;
    font-size: 14px;
    line-height: 130%;

    color: var(--text-primary-main);

    margin-bottom: 20px;

    & svg {
        position: relative;
        width: 0%;
        min-width: 16px;
        height: 16px;

        & path {
            stroke: var(--text-primary-main);
        }
    }
}

.item-review__title {
    position: relative;
    font-weight: 700;
    font-size: clamp(16px, 0.259vw + 15.029px, 20px);
    line-height: 120%;
    color: var(--text-primary-head);
}

.item-review__authore {
    position: relative;

    font-weight: 400;
    font-size: clamp(12px, 0.129vw + 11.515px, 14px);
    line-height: 130%;

    color: var(--text-primary-main);

    margin-top: 5px;
}


.item-review__text-wrapper {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-review__text {
    position: relative;
    width: 100%;
    height: fit-content;

    color: var(--text-primary-main);

    &.hidden {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -moz-box;
        -moz-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        line-clamp: 5;
        box-orient: vertical;
    }
}

.item-review__text-btn {
    position: relative;
    display: flex;
    align-items: center;

    width: fit-content;
    height: fit-content;

    background: none;
    border: none;
    outline: none;

    gap: 5px;

    cursor: pointer;

    & span {
        font-weight: 500;
        font-size: 16px;
        line-height: 130%;
        color: var(--text-primary-main);
    }

    & svg {
        position: relative;
        width: 0%;
        min-width: 16px;
        height: 16px;

        & path {
            stroke: var(--text-primary-main);
        }
    }

    &.open {
        & svg {
            transform: rotate(180deg);
        }
    }
}




@media(max-width: 570px) {
    .item-review {
        border: solid 1px var(--bg-primary-stroke);
    }

    .item-review__content {
        grid-template-columns: 1fr 40%;
    }

    .item-review__img-wrapper {
        grid-row: span 1;
    }
    .item-review__img {
        aspect-ratio: 120 / 173;
    }

    .item-review__text-wrapper {
        grid-column: span 2;
    }
}


@media(max-width: 370px) {
    .item-review__content {
        grid-template-columns: 1fr;
    }

    .item-review__text-wrapper {
        grid-column: span 1;
    }
}
/* End */
/* /local/components/bitrix/system.pagenavigation/templates/.default/style.css?17712357861363 */
/* /local/templates/theme/components/bitrix/news/reviews/bitrix/news.list/.default/style.css?17712393691150 */
/* /local/components/componentsTheme/item.review/templates/.default/style.css?17712323474170 */
