/* /en/blog?lang_id=2&on_page=3&tags=Test */ 
:root{ --font-family-h:Montserrat; }/* Fonts */
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-ExtraLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 200;
}


@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 600;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-MediumItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 500;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-LightItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300;
}
@font-face {
    font-family: "Montserrat";
    src: url("/common/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 200;
}
:root{ --font-family-default:Roboto; }/* Fonts */
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-MediumItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 600;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 500;
}
@font-face {
    font-family: "Roboto";
    src: url("/common/fonts/Roboto/Roboto-LightItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300;
}
.articles-list {
    list-style: none;
    padding: 0;
}

.articles-list li{
    margin: 0;
    padding: 0;
}

.articles-list.grid-view {
    display: grid;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
}

.articles-list.list-view li{
    margin-bottom: 20px;
}

.article{

}

.article-image{
    max-width: 80%;
    max-height: 600px;
    margin: 0 auto 30px auto;
    overflow: hidden;
}

.article-image img{
    width: 100%;
}
.article-tags{
   margin: 20px 0;
}
/* byline under the title, one line: date | avatar + author | «Статей: N» */
.article-byline{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}
.article-byline-author{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* separators: a thin vertical line before the author and before «Статей» */
.article-byline-author::before,
.article-byline-author .article-author-articles::before{
    content: "";
    display: inline-block;
    width: 1px;
    height: 1em;
    background: currentColor;
    opacity: .35;
    vertical-align: middle;
}
.article-byline-author .article-author-articles::before{
    margin-right: 8px;
}
/* no date before the author — no separator either */
.article-byline-author:first-child::before{
    display: none;
}
.article-author-avatar{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-background-color);
    color: var(--button-text-color, #fff);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    flex: 0 0 auto;
}
/* avatar sizes of the «Стаття» block: S is the default 28px */
.article-author-avatar.avatar-medium{
    width: 40px;
    height: 40px;
    font-size: 17px;
}
.article-author-avatar.avatar-large{
    width: 60px;
    height: 60px;
    font-size: 24px;
}
.article-author-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-author-name{
    font-weight: 500;
}
.article-author-articles{
    color: inherit;
    text-decoration: none;
}
.article-author-articles:hover{
    text-decoration: underline;
}
@media (max-width: 992px) {
    .articles-list.grid-view{
        grid-template-columns: 1fr 1fr;
    }

    .article-image{
        max-height: 400px;
    }

    .article-content img{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .article-image{
        max-height: 320px;
    }
}

@media (max-width: 600px) {
    .articles-list.grid-view{
       display: block;
    }

    .articles-list.grid-view li{
        margin-bottom: 32px;
    }

    .article-image{
        max-height: 200px;
    }
}
.article-item {
    padding: 0;
    margin: 0;
}

.article-item.content-card {
    margin: 0;
    overflow: hidden;
}

.list-view .article-item.content-card {
    display: flex;
    flex-direction: row;
    position: relative;
}

.article-item.content-card.compact > .content-wrapper {
    padding-bottom: 20px;
}

.list-view .article-item.content-card > .content-wrapper {
    padding-bottom: 70px;
    width: 100%;
}

.article-item .article-item-image {
    height: 300px;
}

.list-view .article-item .article-item-image {
    width: 300px;
    /*height: auto;*/
    flex-shrink: 0;
}

.article-item .article-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-item .article-item-image a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-item .article-item-image a img {
    object-fit: cover;
    object-position: center;
}

.article-item .article-item-title {
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    height: 72px;
    overflow: hidden;
}

.article-item .article-items-buttons{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.list-view .article-item .article-item-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.article-item .article-item-publish {
    font-weight: 300;
    display: block;
    font-size: 14px;
}

.article-item .article-item-teaser {
    height: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

.list-view .article-item .article-item-teaser {
    height: 75px;
}

.list-view .article-item .article-items-buttons {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.article-image {
    height: 400px;
    margin: 0 auto 20px auto;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-tags {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--content-border-color);
}

.article-tags a {
    margin-right: 10px;
    background: var(--content-background-color);
    border-radius: 8px;
    padding: 4px 8px;
    color: var(--secondary-text-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .list-view .article-item .article-item-image{
        width: 200px;
    }
}

@media (max-width: 600px) {
    .list-view .article-item.content-card{
        display: block;
    }

    .list-view .article-item .article-item-image{
        width: 100%;
        height: 300px;
    }

    .list-view .article-item .article-item-title{
        display: block;
    }
}
/* card options (articles list block) */
.list-view .article-item.image-right .article-item-image {
    order: 2;
}
.list-view .article-item.image-top.content-card {
    flex-direction: column;
}
.list-view .article-item.image-top .article-item-image {
    width: 100%;
}
.list-view .article-item.no-button.content-card > .content-wrapper {
    padding-bottom: 20px;
}
/* link is inline-flex (text + icon with gap): text-decoration would underline
   text and icon separately, so one line under the whole link */
.article-item .article-item-more-link {
    color: var(--accent-text-color);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    line-height: 1.3;
}
.article-item .article-item-more-link:hover,
.article-item .article-item-more-link:focus {
    text-decoration: none;
}
.article-item.no-image .article-item-title,
.article-item.no-image .article-item-teaser {
    height: auto;
}
.list-view .article-item.image-right.content-card > .content-wrapper,
.list-view .article-item.image-top.content-card > .content-wrapper {
    position: relative;
}

/* image size: small = default 300px */
.list-view .article-item.image-size-xsmall .article-item-image {
    width: 150px;
    height: 150px;
}
.list-view .article-item.image-size-medium .article-item-image {
    width: 400px;
    height: 400px;
}
.list-view .article-item.image-size-large .article-item-image {
    width: 500px;
    height: 500px;
}
.list-view .article-item.image-size-xlarge .article-item-image {
    width: 600px;
    height: 600px;
}
.list-view .article-item.image-top.image-size-xsmall .article-item-image,
.list-view .article-item.image-top.image-size-medium .article-item-image,
.list-view .article-item.image-top.image-size-large .article-item-image,
.list-view .article-item.image-top.image-size-xlarge .article-item-image {
    width: 100%;
}
@media (max-width: 960px) {
    .list-view .article-item.image-size-medium .article-item-image,
    .list-view .article-item.image-size-large .article-item-image,
    .list-view .article-item.image-size-xlarge .article-item-image {
        width: 40%;
    }
    .list-view .article-item.image-top .article-item-image {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .list-view .article-item.image-size-xsmall .article-item-image,
    .list-view .article-item.image-size-medium .article-item-image,
    .list-view .article-item.image-size-large .article-item-image,
    .list-view .article-item.image-size-xlarge .article-item-image {
        width: 100%;
        height: 300px;
    }
}

/* image height by image */
.article-item.image-ratio-auto .article-item-image,
.list-view .article-item.image-ratio-auto .article-item-image,
.article-item.image-ratio-auto .article-item-image a,
.article-item.image-ratio-auto .article-item-image a img {
    height: auto;
}
.article-item.image-ratio-auto .article-item-image a img {
    display: block;
    object-fit: initial;
}
.list-view .article-item.image-ratio-auto.content-card {
    align-items: stretch;
}
.list-view .article-item.image-ratio-auto .article-item-image {
    align-self: flex-start;
}
@media (max-width: 600px) {
    .list-view .article-item.image-ratio-auto .article-item-image {
        height: auto;
    }
}

/* date layout */
.list-view .article-item.date-first.date-inline .article-item-title {
    justify-content: flex-start;
    gap: 10px;
}
.article-item.date-line .article-item-publish {
    display: block;
    margin-bottom: 10px;
}
.article-item.date-line .article-item-title {
    height: auto;
    min-height: 0;
}
.article-item .article-item-publish i {
    margin-right: 4px;
}
.article-item.no-image.date-inline .article-item-title {
    margin-bottom: 0;
}

/* calendar date */
.article-item .article-item-publish.article-date-calendar {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    width: 4.2em;
    border: 1px solid var(--article-date-color, var(--accent-text-color));
    border-radius: var(--u-radius, 6px);
    overflow: hidden;
    text-align: center;
    line-height: 1.1;
    font-weight: 400;
}
.article-date-calendar .article-date-month {
    display: block;
    padding: 0.25em 0;
    background: var(--article-date-color, var(--accent-text-color));
    color: #fff;
    font-size: 0.85em;
    text-transform: uppercase;
}
.article-date-calendar .article-date-day {
    display: block;
    padding: 0.2em 0 0;
    font-size: 1.9em;
    font-weight: 600;
}
.article-date-calendar .article-date-year {
    display: block;
    padding: 0 0 0.3em;
    font-size: 0.75em;
    opacity: 0.7;
}
.article-item.date-calendar .article-item-title {
    display: flex;
    height: auto;
    min-height: 0;
    align-items: flex-start;
    gap: 10px;
}
.article-item.date-calendar.date-line .article-item-publish.article-date-calendar {
    display: flex;
    margin-bottom: 10px;
}

/* button position */
.list-view .article-item.content-card > .content-wrapper {
    position: relative;
    height: auto;
}
.list-view .article-item .article-items-buttons {
    left: 20px;
}
.article-item.button-left .article-items-buttons {
    justify-content: flex-start;
}
.article-item.button-center .article-items-buttons {
    justify-content: center;
}
.article-item .article-items-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* text align: the name is a block, else text-align on an inline span does nothing
   (the title is a plain block unless the date is in line with it) */
.article-item .article-item-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}
.article-item.title-align-center .article-item-name { text-align: center; }
.article-item.title-align-right .article-item-name { text-align: right; }
.article-item.teaser-align-center .article-item-teaser { text-align: center; }
.article-item.teaser-align-right .article-item-teaser { text-align: right; }
.article-item.teaser-align-justify .article-item-teaser { text-align: justify; }

/* big date */
.article-item .article-item-publish.article-date-big {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
    flex: 0 0 auto;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
/* sizes as in the calendar: the two styles differ in look, not in scale */
.article-date-big .article-date-day {
    font-size: 1.9em;
    font-weight: 600;
    color: var(--article-date-color, var(--accent-text-color));
}
.article-date-big .article-date-month {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.article-date-big .article-date-year {
    font-size: 0.75em;
    opacity: 0.7;
}
.article-item.date-big .article-item-title {
    height: auto;
    min-height: 0;
    align-items: flex-start;
    gap: 10px;
}
.article-item.date-big.date-line .article-item-publish.article-date-big {
    display: flex;
    width: max-content;
    margin-bottom: 10px;
}

/* date on the image (articles list / grid block): badge in a corner */
.article-item.date-on-image .article-item-image {
    position: relative;
}
.article-item .article-item-image-date {
    position: absolute;
    z-index: 1;
    margin: 16px;
    line-height: 1.2;
    pointer-events: none;
}
.article-item .article-item-image-date.date-pos-top-left { top: 0; left: 0; }
.article-item .article-item-image-date.date-pos-top-right { top: 0; right: 0; }
.article-item .article-item-image-date.date-pos-bottom-left { bottom: 0; left: 0; }
.article-item .article-item-image-date.date-pos-bottom-right { bottom: 0; right: 0; }
.article-item .article-item-image-date .article-item-publish {
    margin: 0;
}
/* no frame (option «Рамка» off): white over the picture, a shadow keeps it readable;
   the calendar keeps its own sheet and colours */
.article-item .article-item-image-date:not(.date-style-calendar) .article-item-publish,
.article-item .article-item-image-date:not(.date-style-calendar) .article-date-big .article-date-day {
    color: var(--article-date-color, #fff);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
/* with the frame — the usual colours on its background */
.article-item .article-item-image-date .article-date-frame .article-item-publish {
    color: var(--article-date-color, var(--primary-text-color));
    text-shadow: none;
}
.article-item .article-item-image-date .article-date-frame .article-date-big .article-date-day {
    color: var(--article-date-color, var(--accent-text-color));
    text-shadow: none;
}
.article-item .article-item-image-date.date-style-big .article-item-publish.article-date-big {
    display: inline-flex;
}
/* calendar is a style with its own sheet, not a frame */
.article-item .article-item-image-date .article-item-publish.article-date-calendar {
    text-shadow: none;
    display: flex;
    background: var(--content-background-color);
}

/* title and teaser on the image (grid): over a shade at the bottom; clicks go to the image link */
.article-item.text-on-image .article-item-image {
    position: relative;
}
.article-item .article-item-image-text {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
    pointer-events: none;
}
/* one gap between elements: their own margins (date 10px, teaser 20px) made it 6 / 16 / 34;
   specific enough to beat .article-item.date-big.date-line .article-item-publish.article-date-big */
.article-item.text-on-image .article-item-image .article-item-image-text > *,
.article-item.text-on-image .article-item-image .article-item-image-stack > *,
.article-item.text-on-image .article-item-image .article-item-image-text .article-item-publish {
    margin-top: 0;
    margin-bottom: 0;
}
/* corner badge on the same side as the text: in one row with it, at its corner
   (top — both at the top, bottom — both at the bottom) */
.article-item .article-item-image-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.article-item .pos-bottom > .article-item-image-row {
    align-items: flex-end;
}
.article-item .article-item-image-row.corner-left {
    flex-direction: row-reverse;
}
.article-item .article-item-image-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.article-item .article-item-image-row > .article-item-image-date {
    position: static;
    margin: 0;
    flex: 0 0 auto;
}

.article-item .article-item-image-text.pos-bottom {
    bottom: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
.article-item .article-item-image-text.pos-top {
    top: 0;
    padding: 16px 16px 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
.article-item .article-item-image-text .article-item-title {
    height: auto;
    min-height: 0;
    margin: 0;
    color: #fff;
}
.article-item .article-item-image-text .article-item-teaser {
    height: auto;
    color: rgba(255, 255, 255, .9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item .article-item-image-text .article-item-publish,
.article-item .article-item-image-text .article-date-big .article-date-day {
    /* accent on a dark shade is unreadable: white, unless the block sets its own colour */
    color: var(--article-date-color, #fff);
}
/* below the image only the button is left: a thin strip, not a stretched area */
.article-item.text-on-image > .content-wrapper {
    min-height: 0;
}
.article-item.only-button > .content-wrapper,
.articles-list.grid-view .article-item.only-button.content-card > .content-wrapper {
    flex: 0 0 auto;
    height: auto;
    padding: 10px 16px;
}
.article-item.only-button .article-items-buttons,
.articles-list.grid-view .article-item.only-button .article-items-buttons {
    margin-top: 0;
}

/* date frame (option): badge with background next to the title, as the badge on the image */
.article-date-frame {
    display: inline-flex;
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 4px 8px;
    background: var(--content-background-color);
    color: var(--primary-text-color);
    border-radius: 8px;
    line-height: 1.2;
}
.article-date-frame.date-frame-big {
    padding: 8px 12px;
}
/* big date in a frame: one width for any day and month, otherwise the badges
   in a grid differ by a digit («7» / «27») and by the month abbreviation;
   in em of the date font, so it grows with the font option. With the padding
   the badge is as wide as the calendar sheet (4.2em) */
.article-item .article-date-frame.date-frame-big .article-item-publish.article-date-big {
    width: 2.5em;
    min-width: max-content;
}
/* regular date in a frame: a little heavier, the badge reads as one label */
.article-date-frame.date-frame-line .article-item-publish {
    font-weight: 500;
}
.article-date-frame .article-item-publish {
    margin: 0;
}
/* on the image shade the date is white; on its frame — the usual colours */
.article-item .article-item-image-text .article-date-frame .article-item-publish {
    color: var(--article-date-color, var(--primary-text-color));
}
.article-item .article-item-image-text .article-date-frame .article-date-big .article-date-day {
    color: var(--article-date-color, var(--accent-text-color));
}

/* the date under / above the title follows the title alignment, framed or not,
   on the image and below it (a big or framed date is as wide as its content) */
.article-date-frame {
    display: flex;
    width: max-content;
    max-width: 100%;
}
.article-item.title-align-center :is(.article-item-image-text, .article-item-image-stack) > :is(.article-item-publish, .article-date-frame),
.article-item.title-align-center > .content-wrapper > :is(.article-item-publish, .article-date-frame) {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.article-item.title-align-right :is(.article-item-image-text, .article-item-image-stack) > :is(.article-item-publish, .article-date-frame),
.article-item.title-align-right > .content-wrapper > :is(.article-item-publish, .article-date-frame) {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

/* date below the image on its own (the title is on the image): left or right */
.article-item .article-item-date-row {
    display: flex;
    margin-bottom: 10px;
}
.article-item .article-item-date-row.align-right {
    justify-content: flex-end;
}
.article-item .article-item-date-row .article-item-publish {
    margin: 0;
}

/* title and teaser below the image in one column, the in-line date beside it */
.article-item .article-item-text-row > .article-item-image-stack {
    gap: 10px;
}
.article-item .article-item-text-row .article-item-image-stack > * {
    margin-top: 0;
    margin-bottom: 0;
}
.article-item .article-item-text-row > :is(.article-item-publish, .article-date-frame) {
    flex: 0 0 auto;
    margin: 0;
}

.pages {
    display: flex;
    flex-direction: row;
    padding: 16px;
    align-items: center;
    width: 100%;
    background: var(--basic-background-color);
    color: var(--primary-text-color);
    border-bottom: 1px solid var(--content-border-color);
    border-top: 1px solid var(--content-border-color);
}
.pages ul {
    margin-left: 10px;
}
.pages ul li {
    margin: 0 3px;
}
.pages a,.pages noa,.pages.short-pages .disabled,.pages span {
    display: block;
    height: 40px;
    width: 40px;
    padding: 7px;
    border-radius: 20px;
    text-align: center;
 }

.pages .active span{
    font-weight: 600;
    background: var(--hover2-background-color);
}

.scheme-dark .pages .active span{
    font-weight: 600;
    background: var(--hover-background-color);
}

.page_jump input {
    width: 50px;
    height: 40px;
    padding: 0 5px;
    text-align: right;
    margin: 0 3px;
    min-height: auto;
}
.short-pages .disabled {
    opacity: 0.5;
}
.pages.short-pages svg {
    width: 100%;
    height: 100%;
}
.pages.short-pages button {
    margin: 0 5px;
}
.pages ul {
    display: flex;
    flex-direction: row;
}
.pages.short-pages a,.pages.short-pages noa {
    background: none;
}
.pages a:hover, pages noa:hover {
    background: var(--hover2-background-color);
}

.pages .active > a, .pages .active > span,.pages .active > noa {
    color: var(--link-active-color);
}
.pages.short-pages button svg {
    width: 25px;
    height: 18px;
}
.pages form{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}
/*
 * SiteMenuWidget: меню шапки витрины. Цвета наследуются от темы: текст и ссылки `color: inherit` (на тёмной шапке светлые, на светлой тёмные), наведение, рамки
 * и приглушённый текст считаются от `currentColor` через color-mix, поэтому ничего не зависит от цвета страницы.
 * Тема может задать свои значения переменными `--site-menu-*` (text, bg, muted, border, hover, accent, on-accent, panel-bg, panel-text, radius, gap, height, z, pad).
 * Подменю (выпадающая панель) имеет собственный фон: `--site-menu-panel-bg`, затем `--site-menu-bg`, запасной системный `Canvas`; текст на нём `--site-menu-panel-text`,
 * затем `--site-menu-text`, запасной `CanvasText`. Тема, задавшая фон панели, задаёт и цвет текста (пара). Без переменных панель светлая с тёмным текстом
 * на любой шапке. Цвет акцентной кнопки: `--site-menu-accent` (запасной `--accent-color`, `--primary-color`, иначе цвет текста), текст на ней `--site-menu-on-accent`.
 * Подменю открываются по :hover и :focus-within, то есть работают с клавиатуры без JS.
 * Вид задают классы корня: направление `.site-menu--h` | `.site-menu--v`, подменю `.site-menu--sub-dropdown|columns|expanded|none`.
 * Без классов (вывод прежнего вида, `mode=tree`) работают прежние правила: горизонтальное меню и карта разделов.
 */
.site-menu,.site-menu--part{
    --sm-text:var(--site-menu-text,currentColor);
    --sm-bg:var(--site-menu-bg,var(--header-bg,transparent));
    --sm-panel:var(--site-menu-panel-bg,var(--site-menu-bg,Canvas));
    --sm-panel-text:var(--site-menu-panel-text,var(--site-menu-text,CanvasText));
    --sm-muted:var(--site-menu-muted,color-mix(in srgb,currentColor 62%,transparent));
    --sm-border:var(--site-menu-border,color-mix(in srgb,currentColor 22%,transparent));
    --sm-hover:var(--site-menu-hover,color-mix(in srgb,currentColor 10%,transparent));
    --sm-accent:var(--site-menu-accent,var(--accent-color,var(--primary-color,currentColor)));
    --sm-on-accent:var(--site-menu-on-accent,var(--on-accent-color,Canvas));
    --sm-radius:var(--site-menu-radius,var(--radius,6px));
    --sm-gap:var(--site-menu-gap,20px);
    --sm-height:var(--site-menu-height,64px);
    --sm-z:var(--site-menu-z,50);
    box-sizing:border-box;
    color:var(--site-menu-text,inherit);
    font:inherit;
}
.site-menu *,.site-menu *::before,.site-menu *::after,.site-menu--part *,.site-menu--part *::before,.site-menu--part *::after{box-sizing:border-box}
.site-menu--header{position:relative;display:flex;align-items:center;gap:var(--sm-gap);min-height:var(--sm-height);padding:0 var(--site-menu-pad,16px);background:var(--sm-bg)}
.site-menu--part{position:relative}
.site-menu ul,.site-menu__list{margin:0;padding:0;list-style:none}

/* логотип */
.site-menu__logo{display:inline-flex;flex:none;align-items:center;color:inherit;font-weight:700;text-decoration:none}
.site-menu__logo-img{display:block;width:auto;max-width:200px}
.site-menu__logo--s .site-menu__logo-img{height:24px}
.site-menu__logo--m .site-menu__logo-img{height:36px}
.site-menu__logo--l .site-menu__logo-img{height:52px}
.site-menu__logo--s{font-size:.9em}.site-menu__logo--l{font-size:1.4em}

/* верхний уровень */
.site-menu__nav{flex:1 1 auto;min-width:0}
.site-menu__list{display:flex;flex-wrap:wrap;align-items:center;gap:4px var(--sm-gap)}
.site-menu__item{position:relative;display:flex;align-items:center}
.site-menu__item.is-mega{position:static}
.site-menu__link,.site-menu__button{font:inherit;color:inherit;text-decoration:none;cursor:pointer}
.site-menu__link{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 4px;background:none;border:0;border-bottom:2px solid transparent}
.site-menu__link:hover{border-bottom-color:var(--sm-border);opacity:.85}
.site-menu__item.is-active>.site-menu__link,.site-menu__item.is-active-branch>.site-menu__link{font-weight:600;border-bottom-color:var(--sm-accent)}
.site-menu__link:focus-visible,.site-menu__button:focus-visible,.site-menu__cta:focus-visible,.site-menu__logo:focus-visible{outline:2px solid var(--sm-accent);outline-offset:2px}
.site-menu__item.has-sub>.site-menu__link::after{content:"";width:5px;height:5px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.7}
.site-menu__text{min-width:0}
.site-menu__img{display:block;flex:none;width:40px;height:40px;object-fit:cover;border-radius:calc(var(--sm-radius) - 2px)}
.site-menu__body{display:flex;flex-direction:column;min-width:0;text-align:left}
.site-menu__desc{display:block;font-size:.85em;line-height:1.35;color:var(--sm-muted);font-weight:400}

/* кнопки: пункт-кнопка и кнопка шапки; класс `button` темы может переопределить вид */
.site-menu__button,.site-menu__cta{display:inline-flex;flex:none;align-items:center;justify-content:center;min-height:40px;padding:0 16px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;border:1px solid var(--sm-accent);border-radius:var(--sm-radius);background:var(--site-menu-item-bg,var(--sm-accent));color:var(--sm-on-accent);cursor:pointer}
.site-menu__button:hover,.site-menu__cta:hover{filter:brightness(1.1)}
.site-menu__button--outline,.site-menu__cta--outline{background:transparent;color:var(--sm-text);border-color:var(--sm-border)}
.site-menu__button--outline:hover,.site-menu__cta--outline:hover{background:var(--sm-hover);filter:none}
.site-menu__button--theme{background:var(--site-menu-item-bg,transparent);color:var(--sm-text);border-color:var(--sm-border)}
.site-menu__cta--text{background:transparent;color:var(--sm-text);border-color:transparent;padding:0 6px}

/* подменю: открывается по наведению и по фокусу внутри (клавиатура без JS) */
.site-menu__sub{position:absolute;top:100%;left:0;z-index:var(--sm-z);display:none;min-width:220px;padding:6px;background:var(--sm-panel);color:var(--sm-panel-text);border:1px solid var(--sm-border);border-radius:var(--sm-radius);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.site-menu__sub .site-menu__item{display:block}
.site-menu__sub .site-menu__link{display:flex;width:100%;min-height:36px;padding:6px 10px;border:0;border-radius:calc(var(--sm-radius) - 2px)}
.site-menu__sub .site-menu__link:hover,.site-menu__sub .site-menu__link:focus-visible{background:var(--sm-hover)}
.site-menu__sub .site-menu__item.is-active>.site-menu__link{border:0;background:var(--sm-hover)}
.site-menu__sub .site-menu__link.has-rich{align-items:flex-start;gap:10px}
.site-menu__sub .site-menu__link.has-rich .site-menu__text{font-weight:600}
.site-menu__sub .site-menu__item.has-sub>.site-menu__link::after{margin-left:auto;transform:rotate(-45deg)}
.site-menu__sub .site-menu__sub{top:-7px;left:100%}
.site-menu__item:hover>.site-menu__sub,.site-menu__item:focus-within>.site-menu__sub{display:block}
.site-menu__sub .site-menu__button{width:100%;margin:2px 0}

/* мега-меню: подпункты пункта верхнего уровня колонками на всю ширину шапки */
.site-menu__sub--mega{left:0;right:0;min-width:0;padding:20px var(--site-menu-pad,16px)}
.site-menu__sub--mega::before{content:"";position:absolute;left:0;right:0;top:-24px;height:24px}
.site-menu__item:hover>.site-menu__sub--mega,.site-menu__item:focus-within>.site-menu__sub--mega{display:grid;grid-template-columns:repeat(var(--site-menu-cols,4),minmax(0,1fr));gap:16px 24px}
.site-menu__sub--mega>.site-menu__col>.site-menu__link{font-weight:600}
.site-menu__col-list{display:grid;gap:2px;margin-top:4px!important}
/* карточка «Акція» (upcc12): последняя колонка; фон пункта (bg) или светлый тон акцента темы */
.site-menu__card{align-self:start;list-style:none}
.site-menu__card-box{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:var(--sm-radius);background:var(--site-menu-card-bg,color-mix(in srgb,var(--sm-accent) 14%,var(--sm-panel,#fff)));color:var(--site-menu-card-fg,inherit);text-decoration:none}
a.site-menu__card-box:hover{text-decoration:none;filter:brightness(.97)}
.site-menu__card-img{display:block;width:100%;height:auto;max-height:140px;object-fit:cover;border-radius:calc(var(--sm-radius) / 2)}
.site-menu__card-title{font-size:1.1em;line-height:1.25;overflow-wrap:anywhere}
.site-menu__card-text{font-size:.9em;overflow-wrap:anywhere}

/* режим tree (карта разделов): все уровни раскрыты, колонки делает тема, здесь только структура; цвет наследуется */
.site-menu__tree,.site-menu__branch{margin:0;padding:0;list-style:none}
.site-menu__tree .site-menu__item{display:block;position:static}
.site-menu__tree .site-menu__link{display:inline-flex;align-items:center;gap:8px;min-height:0;padding:0;border:0;color:inherit}
.site-menu__tree .site-menu__link:hover{opacity:.8;text-decoration:underline}
.site-menu__tree .site-menu__link--head,.site-menu__head{font-weight:700}
.site-menu__head{display:inline-block}
.site-menu__head--sub{font-weight:600}
.site-menu__branch{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.site-menu__branch .site-menu__branch{padding-left:12px}
.site-menu__tree .site-menu__item.is-active>.site-menu__link,.site-menu__tree .site-menu__item.is-active-branch>.site-menu__link{font-weight:700;border:0;text-decoration:underline}

/* вертикальное меню: пункты столбиком, подменю (dropdown) раскрывается вбок по hover и focus-within.
   Раскладка списка и ссылок записана через :where(), то есть со специфичностью одного класса: правила темы (колонки подвала и т. п.) её перебивают. */
.site-menu--header:where(.site-menu--v){flex-direction:column;align-items:stretch}
:where(.site-menu--v) .site-menu__nav{flex:0 0 auto}
:where(.site-menu--v) .site-menu__list{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px}
:where(.site-menu--v) .site-menu__item{display:block}
:where(.site-menu--v) .site-menu__list>.site-menu__item>.site-menu__link,:where(.site-menu--v) .site-menu__list>.site-menu__item>.site-menu__button{display:flex;width:100%}
:where(.site-menu--v) .site-menu__link{padding:0 8px;border-bottom:0;border-radius:calc(var(--sm-radius) - 2px)}
:where(.site-menu--v) .site-menu__link:hover{background:var(--sm-hover);opacity:1}
:where(.site-menu--v) .site-menu__item.is-active>.site-menu__link,:where(.site-menu--v) .site-menu__item.is-active-branch>.site-menu__link{background:var(--sm-hover)}
:where(.site-menu--v) .site-menu__item.has-sub>.site-menu__link::after{margin-left:auto;transform:rotate(-45deg)}
:where(.site-menu--v) .site-menu__list>.site-menu__item>.site-menu__button{margin:2px 0}
.site-menu--v .site-menu__sub{top:-7px;left:calc(100% + 4px)}
.site-menu--v .site-menu__sub::before{content:"";position:absolute;top:0;bottom:0;left:-8px;width:8px}

/* подменю expanded: все уровни раскрыты (структура карты разделов); горизонтальное: верхний уровень в строку, подпункты под своим пунктом */
.site-menu--h.site-menu--sub-expanded .site-menu__tree{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 32px}
.site-menu--header.site-menu--sub-expanded .site-menu__nav{flex:1 1 auto}

/* узкий экран: пункты столбиком, подменю всегда раскрыты и вложены */
@media (max-width:760px){
    .site-menu--header{flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
    .site-menu__nav{flex-basis:100%;order:3}
    .site-menu__list{flex-direction:column;align-items:stretch;gap:0}
    .site-menu__item{flex-wrap:wrap}
    .site-menu__sub,.site-menu__sub .site-menu__sub,.site-menu--v .site-menu__sub{position:static;display:block;flex-basis:100%;min-width:0;padding:0 0 0 14px;background:none;color:inherit;border:0;box-shadow:none}
    .site-menu__sub--mega,.site-menu__item:hover>.site-menu__sub--mega,.site-menu__item:focus-within>.site-menu__sub--mega{display:block;padding:0 0 0 14px}
    .site-menu__card{padding:8px 0 12px}
    .site-menu__item.has-sub>.site-menu__link::after,.site-menu--v .site-menu__item.has-sub>.site-menu__link::after{display:none}
    .site-menu--v .site-menu__sub::before{display:none}
    .site-menu--h.site-menu--sub-expanded .site-menu__tree{flex-direction:column;gap:12px}
    .site-menu__cta{margin-left:auto}
}
@media (prefers-reduced-motion:no-preference){
    .site-menu__button,.site-menu__cta,.site-menu__link{transition:background-color .15s ease,border-color .15s ease}
}
.lang-widget.dropdown-menu{
    position: relative;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.lang-widget.dropdown-menu *{
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}
.lang-widget.dropdown-menu>ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.lang-widget.dropdown-menu:hover>ul{
    display: flex;
}
.lang-widget.dropdown-menu:hover>ul a{
    cursor: pointer;
}
.lang-widget.dropdown-menu>.lang-widget-current{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: auto;
}
.lang-widget.dropdown-menu>.lang-widget-current .icon{
    margin-right:0;
}.notice {
    display: none;
    position: fixed;

}
.notice.active {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    z-index: 100;
}

.notice-widget .notice-background {
    display: none;
}
.notice-widget.block-screen .notice-background {
    content:" ";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.5;
    position: absolute;
    display: block;
}
.notice-widget .notice.notice-position-center .notice-container{
    margin: auto;
    max-width:1440px;
}

.notice-widget .notice .notice-container {
    background: #FFFFFF;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
    width:auto;
    padding: 20px;
    gap: 16px;
    overflow: auto;
    border-radius: 8px;
    min-width:300px;
    color:var(--text);
    background: var(--content-background-color);

}
.notice.active.notice-position-center {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.notice.active.notice-position-top-right {
    top: 0;
    right: 0;
}
.notice.active.notice-position-top-left {
    top: 0;
    left: 0;
}
.notice.active.notice-position-bottom-left {
    bottom: 0;
    left: 0;
}
.notice.active.notice-position-bottom-right {
    bottom: 0;
    right: 0;
}
.notice.active.notice-position-top {
    top:0;
    left: 0;
    right:0;
}
.notice.active.notice.notice-position-bottom {
    bottom:0;
    left: 0;
    right:0;
}
.notice.active.notice-position-left {
    left: 0;
    top:40%
}
.notice.active.notice-position-right {
    right: 0;
    top:40%
}


.notice.active.notice-position-top .notice-container,
.notice.active.notice-position-bottom .notice-container {
    width: 100%;
}
.notice-widget .notice .close-button {
    background: none;
    border: none;
    padding: 4px;
    font-size: 20px;
    line-height: 22px;
    min-width: 18px;
    min-height: auto;
    box-shadow: none;
    position: absolute;
    right: 10px;
    top: 8px;
    color: var(--white-text-color);
}
.notice .page-wrapper {
    min-width: auto;!important;
    max-width: 100%;!important;
}
.notice-widget .notice  .notice-icon {
    font-size: 20px;
    line-height: 24px;
}
.notice-widget .notice.notice-type-info .notice-header,
.notice-widget .notice.notice-type-info .button.ok-button{
    background: var(--primary-background-color);
    color: var(--white-text-color);
}
.notice-widget .notice.notice-type-error .notice-header,
.notice-widget .notice.notice-type-error .button.ok-button
{
    background: var(--warn-background-color);
    color: var(--white-text-color);
}
.notice-widget .notice.notice-type-success .notice-header,
.notice-widget .notice.notice-type-success .button.ok-button{
    background: var(--highlight-background-color);
    color: var(--white-text-color);
}

.notice-widget .notice.notice-type-warning .notice-header,
.notice-widget .notice.notice-type-warning .button.ok-button{
    background: var(--warn-light-background-color);
    color: var(--white-text-color);
}

.notice-widget .notice .notice-header {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    height: auto;
    margin: -20px -20px 5px -20px;
    padding: 10px 40px 10px 20px;
    border-bottom: 1px solid var(--content-border-color);
    min-height: 45px;
}
.notice-widget .notice.hidden-title .notice-header {
    display:none;
}
.notice-widget .notice.hidden-title .close-button {
    color: var(--icon-color);
    top: 6px;

}
.notice-widget .notice.hidden-icon .notice-icon {
    display: none;
}
.notice-widget .notice .notice-header .notice-title {
    font-size: 18px;
    font-weight: 500;
}

.notice .notice-actions {
    display:flex;
    flex-direction: row;
    justify-content: flex-end;
    gap:20px;
}

@media (max-width: 900px) {
    .notice-widget .notice.notice-position-center .notice-container {
        margin: auto 0;
        max-width: 100%;
    }
}/* Modal Window */

.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999999;
}
.modal.active{
    display: flex;
}
.modal-background {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.5;
    position: absolute;
}
.modal-window {
    padding: 20px;
    margin: 100px;
    background: var(--content-background-color);
    position: relative;
    z-index: 1;
    width: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    box-shadow: 0 0 3px #000;
    border-radius: 4px;
    max-width: 100%;
    max-height: 100%;
}
.modal-window-header,
.modal-window-head{
    flex-shrink: 0;
    height: 33px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.modal-window-body{
    height: 100%;
    overflow: auto;
}
.modal-window-body iframe {
    height: 1px;
    width: 1px;
    opacity: 1;
    transition: opacity 1s ease;
    border: none;
}
.hide-button {
    position: absolute;
    right: 1px;
    top: 1px;
    padding: 0px 6px;
    box-shadow: none;
}

.loading iframe{
    opacity: 0;
}
.modal-window .hide-button span {
    height: 2px;
    width: 75%;
    background-color: grey;
    top: 10px;
    left: 2px;
}
.modal-window .modal-window-title{
    font-size: 16px;
    line-height: 16px;
    padding: 0 2px;
}
.modal-window .modal-window-footer .fieldblock-buttons{
    margin: 0;
    justify-content: flex-end;
}

.modal-window.preloading{
    width: 100px;
    height: 100px;
}

.modal-window.preloading:before{
    top: 30px;
    left: 30px;
}

.modal-window.preloading>div{
    display: none!important;
}

#customButtonModal .modal-window-body{
    min-width: 250px;
    min-height: 180px;
}

@media (max-width: 600px) {
    .modal-window-body iframe {
        height: 100% !important;
    }
    #modal-window .modal-window {
        position: fixed;
        top: 0;
        bottom: 0;
    }
}

@media (max-width: 450px) {
    #modal-window .modal-window {
        padding: 10px;
    }
}
