

/* 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/components/componentsTheme/item.media/templates/.default/style.css?17703802433291*/
/* wrapper */
.wrapper-media {
    position: relative;
    width: 100%;
    height: fit-content;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--Gap-20);

    @media(max-width: 1050px) {
        & {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media(max-width: 670px) {
        & {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

/* item */
.item-media {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;

    cursor: pointer;

    background: var(--bg-primary-main);
    border-radius: 20px;

    box-shadow: 0px 10px 40px 0px #0000000D;

    &.active,
    &:hover {
        & .item-media__preview {
            & img:not(.item-media__preview-img) {
                opacity: 0;
            }
        }

        & .item-media__toggler {
            opacity: 0;
        }
    }
}

.item-media__preview {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 280;
    max-height: 280px;

    border-radius: 20px;
    overflow: hidden;

    & video {
        position: absolute;
        top: 0px;
        left: 0px;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        pointer-events: none;
    }

    & img {
        position: absolute;
        top: 0px;
        left: 0px;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        pointer-events: none;

        opacity: 1;

        transition: var(--transition);
    }
}

.item-media__toggler {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translateX(-50%) translateY(-50%);

    width: 80px;
    height: 80px;

    border-radius: 200%;

    background: #333333c3;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;
    transition: var(--transition);

    & svg {
        position: relative;
        width: 40%;
        height: 40%;

        & path {
            stroke: var(--bg-primary-main);
            fill: var(--bg-primary-main);
        }
    }
}

.item-media__content {
    position: relative;
    width: 100%;
    padding: clamp(15px, 0.324vw + 13.786px, 20px);
    padding-top: clamp(10px, 0.324vw + 8.786px, 15px);
    display: flex;
    flex-direction: column;
    gap: var(--Gap-20);
}

.item-media__title {
    position: relative;
    color: var(--text-primary-head);
}

.item-media__contents-tags {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.item-media__contents-tag {
    position: relative;
    width: fit-content;
    height: fit-content;

    padding: 5px;
    padding-right: 10px;
    background: var(--bg-primary-second);

    display: flex;
    align-items: center;
    gap: 5px;

    border-radius: 5px;

    color: var(--text-primary-main);

    & svg {
        position: relative;
        display: block;

        width: 0%;
        min-width: 16px;
        height: 16px;

        & path {
            stroke: var(--text-primary-main);
        }
    }
}
/* End */
/* /local/components/bitrix/system.pagenavigation/templates/.default/style.css?17712357861363 */
/* /local/components/componentsTheme/item.media/templates/.default/style.css?17703802433291 */
