@font-face {
    font-family: 'PT Sans';
    src: url('/theme/font/PT_Sans-Web-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: url('/theme/font/PT_Sans-Web-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'PT Sans';
    src: url('/theme/font/PT_Sans-Web-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: url('/theme/font/PT_Sans-Web-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

body {
    font-family: 'PT Sans', sans-serif;
}

a {
    color: #212529;
}

.logo {
    height: 30px;
    margin: auto;
    position: relative;
    left: 58px;

    @media (width <= 768px) {
        width: 212px;
        min-width: 196px;
        left: 25px;
    }

    @media (width <= 600px) {
        background-size: 100%;
        width: 196px;
        height: 26px;
        left: 5px;
        margin: inherit;
    }
}

.logo-head {
    /* display: flex;
    justify-content: center; */
    display: grid;
    grid-template-columns: 1fr 34px;
    align-items: center;
    gap: 1rem;
    padding: 16px 0 !important
}

.nav-head {
    display: flex;
    justify-content: space-between;
}

.nav-head a {
    color: #fff;
}

/* < Menyu v shapke */
.nav_main {
    background-color: rgba(177, 47, 47, 1);
    width: 100%;
}

.menu-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 0 22px;
}

.menu-wrapper::-webkit-scrollbar {
    height: 0;
    display: none;
}

.menu-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-head {
    display: flex !important;
    flex-wrap: nowrap !important;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    min-width: min-content;
    gap: 32px;
    height: 46px;
}

.nav-head>li {
    flex-shrink: 0;
    float: none !important;
    display: flex;
    align-items: center;
    border-bottom: none !important;
    justify-content: center;
}

.nav-head>li>a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    min-width: 107px;
    height: 46px;
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.1em;
    text-align: center;
    transition: background-color 0.3s;
    gap: 10px;
}

.nav-head>li>a:hover,
.nav-head>li>a:focus {
    background-color: rgba(139, 54, 52, 1);
    color: rgba(255, 255, 255, 1) !important;
}

/* Menyu v shapke > */

.header .row {
    padding: 0px;
}

.search_box {
    position: absolute;
    top: 18px;
    right: 0;
}

.search_box .btn {
    background: url(/theme/img/search.png) no-repeat 50% 50% transparent;
}

.search_box .btn:hover {
    background-color: transparent;
}

.search-btn {
    display: block;
    background: url(/theme/img/search.png) no-repeat 50% 50% transparent;
    width: 34px;
    height: 34px;
    outline: none !important;
    cursor: pointer;
    border: none;
}

.search_box {
    width: calc(100% - 80px);
    margin-right: 40px;
    padding-top: 0;
    top: 31px;
    height: 95px;

    @media (width <= 600px) {
        position: fixed;
        z-index: 1;
        height: auto;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
    }

    & .wrap {
        height: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    & form {
        position: relative;
        width: 90%;
        max-width: 760px;
        height: 100%;
        margin: 0 auto;
        padding: 1.5rem 1.25rem;
        background: #FFF;
        box-shadow: 0px 4px 20.6px 0px #00000040;
        z-index: 1;
        &::after {
            position: absolute;
            content: '';
            width: calc(100% - 40px);
            right: 20px;
            bottom: 16px;
            height: 1px;
            background-color: #E9ECEF;

            @media (width <= 600px) {
                bottom: auto;
                top: 3px;
            }
        }

        @media (width <= 900px) {
            width: 100%;
            max-width: none;
        }

        & .in_text {
            margin-left: 0;
            padding: 0;
            border: none;
            width: 100%;
            padding-right: 80px;
            position: relative;
        }

        & .btn {
            top: calc(50% - 23px);
            right: 20px;
            width: 75px;
            height: 38px;
            background: none;
            background-color: #B12F2F;
            color: #FFF;
            border-radius: 0.5rem;

            &:hover {
                background-color: #B12F2F;
                opacity: 0.7;
            }
        }
    }

    .close-mobile-container {
        display: none;
        background-color: #FFF;
        position: relative;
        z-index: 2;
        padding: 0.5rem 1.25rem;
        align-items: center;
        justify-content: end;

        @media(width <= 600px) {
            display: flex;
        }

        .close-mobile-container__btn {
            border: none;
            outline: none;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 1.5rem;
            height: 1.5rem;
            padding: 0;
        }
    }
}

.search_box.hidden {
    display: none;
}

/*Kategoriya v glavnykh novostyakh*/
.news-categories {
    display: flex !important;
    gap: 12px;
    width: 100%;
}

.category {
    padding: 3px 12px 1px 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 15px;
}

.category-exclusive {
    background-color: #B12F2F;
    color: #FFFFFF;
}

.category-label {
    color: #B12F2F;
    padding-left: 0;
}

.category-label-dim {
    color: #868E96;
    padding-left: 0;
}

.slide_box .title.br {
    margin-bottom: 7px;
}

.data_box_see .it {
    background-color: #495057;
}

.main_news_box {
    border-bottom: none;
}

.main_news_box.search {
    overflow: visible;
}

.news_second_box .title {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    border-bottom: 3px solid #993333;
    padding: 16px;
    margin: 0 9px 25px 0px;
}

.news_second_box li {
    padding-left: 0;
    padding-right: 0;
}

.news_second_box li>div {
    margin: 10px 0;
    padding: 8px;
    border-radius: 2px;
    transition: background .5s;
}

.news_second_box .title_news {
    background: none;
    padding: 0;
    align-items: flex-start;
    min-height: 80px;
    border-bottom: none;
}

.news_second_box .title_news a {
    padding: 0;
}

.main_news_box .title_news {
    /* height: 80px; */
    margin-bottom: 1rem;
}

.nbl p.crop-height {
    color: #495057;
}

.blc-date {
    color: #868E96;
}

.main_news_box:not(.similar) .title {
    font-size: 24px;
    padding: 16px;
    margin-bottom: 25px;
}

.main_news_box .cont {
    color: #495057;
    font-size: 14px;
}

.nbr .blc1-n .blc-photo {margin-bottom: 15px;}
.nbr .blc1-n .blc-h {margin-top: 15px; margin-bottom: 15px;}

.title_news a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
    font-weight: 700;
}

.main_news_box li,
.news_second_box li {
    border-bottom: 1px solid #E9ECEF;
}

.blc1-photo,
.blc1-photo img,
.img_news,
.img_news img {
    border-radius: 0.25rem;
}

/* Dlya bolshikh ekranov - ubiraem border u poslednikh trekh */
.main_news_box li:nth-last-child(-n+3),
.news_second_box li:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Dlya malenkikh ekranov - vozvrashchaem border vsem krome poslednego */
@media (max-width: 768px) {

    .main_news_box li:nth-last-child(-n+3),
    .news_second_box li:nth-last-child(-n+3) {
        border-bottom: 1px solid #E9ECEF;
    }

    .main_news_box li:last-child,
    .news_second_box li:last-child {
        border-bottom: none;
    }
}

.nav_box {
    left: 42%;
}

.nav_sl,
.nav_sl {
    width: 32px;
    height: 32px;
    background-position: 11px center;
    background-color: #868E96;
}

.nav_sl.right {
    background-position: -15px center;
}

.news_second_box {
    border-bottom: none;
}

.news_second_box .cont {
    font-size: 14px;
    line-height: 22px;
    color: #495057;
    font-weight: 400;
    padding: 10px 0;
}

.it .date {
    font-size: 14px;
    /* color: #868E96; по макету color #FFF*/
    font-weight: 400;
    line-height: 22px;
}

.main_news_box li>div {
    margin: 20px 0;
}

/* <Mneniya */
.opinions-section {
    background-color: #FFFFFF;
    padding: 24px;
}

.opinions-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #B12F2F;
}

.opinion-card {
    padding: 20px 0;
    border-bottom: 1px solid #E9ECEF;
}

.opinion-card:last-child {
    border-bottom: none;
}

.opinion-top {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.opinion-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.opinion-info {
    flex: 1;
}

.opinion-author {
    font-size: 13px;
    color: #6C757D;
    margin-bottom: 6px;
}

.opinion-headline {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1A1A1A;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opinion-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .opinions-section {
        padding: 16px;
    }

    .opinion-avatar {
        width: 50px;
        height: 50px;
    }

    .opinion-headline {
        font-size: 15px;
    }

    .opinion-excerpt {
        font-size: 13px;
    }
}

/* Mneniya> */

/* <Lenta novoxtey */
.floating-news {
    position: fixed;
    bottom: 0;
    left: 20px;
    right: 20px;
    max-height: 400px;
    background: #FFFFFF;
    border-top: 1px solid #E0E0E0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-radius: 0.25rem 0.25rem 0 0;
    overflow: hidden;
    padding: 0 0 5px 0;
}

.floating-news.collapsed {
    transform: translateY(calc(100% - 60px));
}

.floating-news .floating-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 16px 40px; */
    padding: 3px 12px 3px 11px;
    background: #F8F9FA;
    /* border-bottom: 1px solid #E0E0E0; */
    border-left: 4px solid #B12F2F;
    cursor: pointer;
    user-select: none;
    position: relative;

    &::before {
        position: absolute;
        content: '';
        width: 4px;
        height: 5px;
        top: -5px;
        left: -4px;
        background-color: #B12F2F;
    }
}

.floating-news .floating-news-header .title {
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    border-bottom: none;
}

.floating-news .toggle-btn {
    background: none;
    border: none;
    color: #B12F2F;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.floating-news.collapsed .toggle-btn svg {
    transform: rotate(180deg);
}

.floating-news .scroll-pane {
    max-height: 340px;
    overflow-y: auto;
    padding: 0 40px;
    margin: 0;
    list-style: none;
}

.floating-news .scroll-pane li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1rem;
    border-bottom: 1px solid #E9ECEF;
}

.floating-news .scroll-pane li:last-child {
    border-bottom: none;
}

.floating-news .news-date-time {
    flex-shrink: 0;
    width: 164px;
    font-size: 0.875rem;
    color: #868E96;
}

.floating-news .scroll-pane h4 {
    flex: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.floating-news .scroll-pane h4 a {
    color: #495057;
    text-decoration: none;
}

.floating-news .scroll-pane h4 a:hover {
    color: #B12F2F;
}

.floating-news .news-views {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6C757D;
}

/* Stili dlya skrollbara */
.floating-news .scroll-pane::-webkit-scrollbar {
    width: 8px;
}

.floating-news .scroll-pane::-webkit-scrollbar-track {
    background: #F8F9FA;
}

.floating-news .scroll-pane::-webkit-scrollbar-thumb {
    background: #CED4DA;
    border-radius: 4px;
}

.floating-news .scroll-pane::-webkit-scrollbar-thumb:hover {
    background: #ADB5BD;
}

@media (max-width: 768px) {
    .floating-news {
        left: 10px;
        right: 10px;
    }
    
    .floating-news .floating-news-header {
        padding: 12px 20px;
    }
    
    .floating-news .scroll-pane {
        padding: 0 20px;
    }
    
    .floating-news .scroll-pane li {
        /* flex-direction: column; */
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }
    
    .floating-news .news-date-time {
        flex: 0 0 100%;
    }
}
/* Lenta novostey> */


.find_box {
    border-bottom: 1px solid #E9ECEF;
    margin: 0;
    padding: 20px 0 15px;
}

/* <Filter v poiske */
.main_news_box .search-filter-icon {
    width: auto;
    max-width: none;
    margin-right: 10px;
}
.filter-container {
    width: 100%;
    background-color: transparent;
    position: relative;
}

.filter-header {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
}

.filter-icon {
    color: #c41e3a;
    margin-right: 8px;
    flex-shrink: 0;
}

.filter-title {
    flex: 1;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
}

.arrow-icon {
    color: #666666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.arrow-icon.rotated {
    transform: rotate(180deg);
}

.filter-content {
    position: absolute;
    top: 100%;
    z-index: 10;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-content.expanded {
    width: fit-content;
    min-width: 166px;
    max-height: 500px;
}

.filter-options {
    padding: 8px 0;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
}

.filter-option:hover {
    background-color: #f9f9f9;
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-option:hover .checkmark {
    border-color: #c41e3a;
}

.filter-option input[type="checkbox"]:checked ~ .checkmark {
    background-color: #c41e3a;
    border-color: #c41e3a;
}

.filter-option input[type="checkbox"]:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-text {
    font-size: 14px;
    color: #333333;
}

.reset-button {
    width: 100%;
    padding: 10px 16px;
    border: none;
    background-color: transparent;
    color: #c41e3a;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
    font-weight: 500;
}

.reset-button:hover {
    background-color: #f9f9f9;
}

.reset-button:active {
    background-color: #f0f0f0;
}

.reset-button::before {
    content: '';
    display: block;
    width: calc(100% - 32px);
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 auto 10px;
}
/* Filter v poiske> */



/* <Block Podelitsya novost'yu */
.share-container {
    width: fit-content;
    background-color: transparent;
    position: relative;
}

.share-header {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    gap: 0.5rem;
}

.share-icon {
    transition: 0.3s;
}

.share-header.expanded .share-icon {
    transform: rotate(90deg);
}

.share-title {
    flex: 1;
    font-size: 1rem;
    color: #B12F2F;
}

.share-content {
    position: absolute;
    top: 100%;
    z-index: 10;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-content.expanded {
    width: fit-content;
    min-width: 166px;
    max-height: 500px;
}

.share-content .ya-share2__list.ya-share2__list_direction_horizontal {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.share-content .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
    margin: 0;
}

.share-content .ya-share2__link {
    padding: 0.5rem 1rem;
}

.share-content .ya-share2__badge {
    display: none;
}

.share-content .ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item > .ya-share2__link > .ya-share2__title  {
    display: block;
    color: #495057;
    font-size: 1rem;
}
/* Block Podelitsya novost'yu> */


/* <Block Mi v soc setyah */
.social-container {
    width: fit-content;
    background-color: transparent;
    position: relative;
}

.social-header {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    gap: 0.5rem;
}

.social-icon {
    transition: 0.3s;
}

.social-header.expanded .social-icon {
    transform: rotate(90deg);
}

.social-title {
    flex: 1;
    font-size: 1rem;
    color: #B12F2F;
}

.social-content {
    position: absolute;
    top: 100%;
    z-index: 10;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-content.expanded {
    width: fit-content;
    min-width: 166px;
    max-height: 500px;
    padding: 0.5rem 0;
}

.social-link {
    display: block;
    color: #495057;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}
/* Block Mi v soc setyah> */
.footer {
    z-index: -1;
}