/* Заголовок раздела, счётчик, шаринг и хлебные крошки на страницах каталога */

.page-top .topic__inner {
    display: flex;
    align-items: center;
}

.page-top .topic__heading {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-top .topic__heading #pagetitle {
    display: inline;
    vertical-align: middle;
    color: #222222;
    font-size: 32px;
    font-weight: 800;
    line-height: 36px;
}

.page-top .topic__inner > .share {
    float: none;
    order: 1;
    margin: 0 0 0 auto;
    width: auto;
    color: #222222;
    font-weight: 500;
    cursor: pointer;
}

.page-top .topic .colored_theme_hover_bg-block:not(:hover) .svg.svg-share path,
.page-top .topic .colored_theme_hover_bg-block:not(:hover) .svg-share path {
    fill: #222222;
}

.page-top .element-count-wrapper {
    display: inline-block;
    margin-left: 15px;
    font-size: 1em;
    vertical-align: middle;
}

.page-top .element-count-wrapper .element-count,
.page-top .element-count-wrapper .element-count.muted,
.page-top .element-count-wrapper .element-count.font_xs {
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 10px;
    position: static;
    top: auto;
    vertical-align: middle;
    background: #ffffff;
    border: 1px solid #DEDEDE;
    border-radius: 3px;
    color: #878B99;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.page-top .breadcrumbs__link,
.page-top .breadcrumbs__item-name,
.page-top .breadcrumbs__item-name.font_xs {
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.3;
    color: #878B99;
}

.page-top .breadcrumbs a:hover .breadcrumbs__item-name,
.page-top .breadcrumbs a:hover span {
    color: #222222;
}

.page-top .breadcrumbs__separator {
    margin: 0 4px !important;
    color: #878B99 !important;
}

.page-top .breadcrumbs__item {
    padding-right: 0;
    margin-right: 0;
}

.page-top .breadcrumbs__arrow-down,
.page-top .breadcrumbs__item--with-dropdown .breadcrumbs__arrow-down,
.page-top .breadcrumbs__item > a > .svg,
.page-top .breadcrumbs__item > .svg {
    display: none !important;
}

.page-top .breadcrumbs__item--with-dropdown + .breadcrumbs__separator {
    margin-left: 4px !important;
}

.sections-compact-title {
    font-size: 24px;
}

.top-content-block > .catalog-series-about,
.catalog-series-about {
    display: block !important;
    margin: 5px 0 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
    border-color: var(--stroke_black, #ececec);
}

body .simple_page .top-content-block > .catalog-series-about {
    padding-bottom: 20px;
}

.catalog-series-about__link {
    color: #1965E3;
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.catalog-series-about__link:hover,
.catalog-series-about__link:focus {
    color: #1454c4;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-top .topic__heading #pagetitle {
        font-size: 27px;
        font-weight: 800;
        line-height: 29px;
    }

    .page-top .element-count-wrapper .element-count,
    .page-top .element-count-wrapper .element-count.muted,
    .page-top .element-count-wrapper .element-count.font_xs {
        font-size: 10px;
    }

    .page-top .breadcrumbs__link,
    .page-top .breadcrumbs__item-name,
    .page-top .breadcrumbs__item-name.font_xs {
        font-size: 10px !important;
    }

    .sections-compact-title {
        font-size: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .page-top .topic__inner {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .page-top .topic__heading {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        max-width: 100%;
    }

    .page-top .topic__heading #pagetitle {
        display: block;
        font-size: 26px;
        line-height: 1.25;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .sections-compact-title {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    .catalog-series-about__link {
        overflow-wrap: anywhere;
    }
}

@media (min-width: 992px) {
    .bx_filter.bx_filter_vertical .slide-block__head.filter_title {
        pointer-events: none;
        cursor: default;
    }

    .bx_filter.bx_filter_vertical .slide-block__head.filter_title.closed + .slide-block__body,
    .bx_filter.bx_filter_vertical .slide-block__head.filter_title + .slide-block__body {
        display: block !important;
        height: auto !important;
    }

    .bx_filter.bx_filter_vertical .slide-block__head.filter_title.closed:after {
        content: none;
        display: none;
    }

    .bx_filter.bx_filter_vertical .slide-block__head.filter_title.closed .svg-inline-down {
        transform: none;
    }
}
