

/* Start:/local/templates/main/components/bitrix/news/news_complex/style.css?17654277182192*/
/* Общие стили для новостей */
.news-filters .filter-select {
    cursor: pointer;
    transition: all 0.2s;
}

.news-filters .filter-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Карточки новостей */
.news-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.news-card .card-img-wrapper {
    overflow: hidden;
}

.news-card .card-img-top {
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Детальная страница */
.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
}

.news-detail-content table {
    width: 100%;
    margin: 1.5rem 0;
}

/* Галерея */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 0.375rem;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-filters .row > div {
        margin-bottom: 1rem;
    }
    
    .news-card .card-img-wrapper {
        height: 180px !important;
    }
    
    .news-detail-content {
        font-size: 1rem;
    }
}

/* Пагинация */
.bx-pagination {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.bx-pagination .bx-paginate {
    margin: 0 2px;
}

.bx-pagination a,
.bx-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
}

.bx-pagination a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.bx-pagination .bx-active span {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/visual/style.min.css?16800651923386*/
.bx_pagination_bottom *{vertical-align:baseline}.bx_pagination_bottom{color:#8d8d8d;font-size:11px}.bx_pagination_bottom .bx_pagination_section_two{float:right;text-align:right}.bx_pagination_bottom .bx_pg_section{display:inline-block;height:30px;vertical-align:top;line-height:30px}.bx_pagination_bottom .bx_pagination_select_container{display:inline-block}.bx_pagination_bottom .bx_pagination_select_container select{position:relative;margin:2px 20px 2px 10px;padding:1px 25px 3px 5px;height:22px;outline:0;border:1px solid #e0e0e0;border-radius:1px;background:#fff url(/bitrix/components/bitrix/system.pagenavigation/templates/visual/images/select_arrow.png) no-repeat right center;color:#8d8d8d;font-size:11px;line-height:16px;resize:none;-webkit-appearance:none}@-moz-document url-prefix(){.bx_pagination_bottom .bx_pagination_select_container select{background:#fff!important;padding-right:5px}}.bx_pagination_bottom .bx_pagination_page{white-space:nowrap;font-size:12px}.bx_pagination_bottom .bx_pagination_page ul{display:inline-block;margin:0;padding:0}.bx_pagination_bottom .bx_pagination_page li{display:inline-block;min-width:22px;color:#8d8d8d;text-align:center;line-height:22px}.bx_pagination_bottom .bx_pagination_page li a{display:block;min-width:22px;color:#8d8d8d;text-align:center;text-decoration:none;line-height:22px}.bx_pagination_bottom .bx_pagination_page li a:hover{color:#555}.bx_pagination_bottom .bx_pagination_page li.bx_active{border-radius:3px;background:#dbecf4;box-shadow:inset 0 2px 2px 0 rgba(0,0,0,.1)}.bx_pagination_bottom .bx_pg_section.bx_pg_pagination_num{display:block}.bx_pagination_bottom .bx_pg_section.bx_pg_show_col select{margin-right:5px}.bx_pagination_bottom .bx_wsnw{white-space:nowrap}@media(min-width:480px) and (max-width:639px){.bx_pagination_bottom .bx_pagination_select_container select{margin-right:10px}}@media(max-width:479px){.bx_pagination_bottom .bx_pagination_section_two{float:none;text-align:left}.bx_pagination_bottom .bx_pagination_select_container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:47%}.bx_pagination_bottom .bx_pagination_select_container select{display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-right:0!important;width:90%}.bx_pagination_bottom .bx_pg_section{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;text-align:left}.bx_pagination_bottom .bx_pagination_page{white-space:normal}.bx_pagination_bottom .bx_pg_section.bx_pg_pagination_num{width:100%;height:auto;text-align:center}.bx_pagination_bottom .bx_pg_section.bx_pg_show_col{display:none}.bx_pagination_bottom .bx_pg_text{display:inline-block;width:50%}.bx_pagination_bottom .bx_pg_section.pg_pagination_num .bx_pg_text{display:none}}.bx_pagination_bottom .bx_pagination_section_one,.bx_pagination_bottom .bx_pagination_section_two,.bx_pagination_bottom .bx_pagination_select_container,.bx_pagination_bottom .bx_pagination_select_container select,.bx_pagination_bottom .bx_pg_section,.bx_pagination_bottom .bx_pagination_page,.bx_pagination_bottom .bx_pg_section.bx_pg_pagination_num,.bx_pagination_bottom .bx_pg_section.bx_pg_show_col,.bx_pagination_bottom .bx_pg_text,.bx_pagination_bottom .bx_pg_section.pg_pagination_num .bx_pg_text{-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}
/* End */


/* Start:/local/templates/main/components/bitrix/news/news_complex/bitrix/news.list/news_grid/style.css?17656197555281*/
/* текст вступление к новостям*/
.intro2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-filters .filter-select {
    cursor: pointer;
}

.news-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.news-card .card-img-top {
    transition: transform 0.5s ease;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-overlay-top {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.news-card .card-img-wrapper {
	height: 200px;
	overflow: hidden;
}

@media (max-width: 768px) {
    .news-card .card-img-wrapper {
        height: 180px !important;
    }
}

/* Основной контейнер контента новости */
.news-container {
    font-size: 0.9rem; /* 18px */
    line-height: 1.6;
   
   
}

/* ========== ТЕКСТ И АБЗАЦЫ ========== */
.news-container p {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 1.5em;
    text-align: justify;
    hyphens: auto;
}

.news-container p:last-child {
    margin-bottom: 0;
}



/* ========== ЗАГОЛОВКИ ========== */
.news-container h1,
.news-container h2,
.news-container h3,
.news-container h4,
.news-container h5,
.news-container h6 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.news-container h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    margin-top: 0;
}

.news-container h2 {
    font-size: 1.75rem;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.news-container h3 {
    font-size: 1.15rem;
    color: var(--secondary);
}

.news-container h4 {
    font-size: 1.25rem;
    color: var(--secondary);
}

.news-container h5 {
    font-size: 1.125rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-container h6 {
    font-size: 1rem;
    color: var(--secondary);
    font-style: italic;
}



/* ========== ФОРМАТИРОВАНИЕ ТЕКСТА ========== */
.news-container strong,
.news-container b {
    font-weight: 700;
    color: var(--secondary);
}

.news-container em,
.news-container i {
    font-style: italic;

}

.news-container u {
    text-decoration: underline;
    text-decoration-color: #007bff;
    text-decoration-thickness: 2px;
}

.news-container s,
.news-container strike {
    text-decoration: line-through;
    color: #888;
}

.news-container mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.news-container small {
    font-size: 0.875em;
    color: #666;
}

.news-container sup {
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}

.news-container sub {
    font-size: 0.75em;
    vertical-align: sub;
    line-height: 0;
}

/* ========== ЦИТАТЫ ========== */
.news-container blockquote {
    border-left: 4px solid #007bff;
    padding: 1em 1.5em;
    margin: 1.5em 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
    border-radius: 0 4px 4px 0;
}

.news-container blockquote p {
    margin-bottom: 0.5em;
}

.news-container blockquote p:last-child {
    margin-bottom: 0;
}

.news-container blockquote cite {
    display: block;
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #777;
    font-style: normal;
    text-align: right;
}

.news-container blockquote cite::before {
    content: "— ";
}


/* ========== ССЫЛКИ ========== */
.news-container a {

    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.news-container a:hover {
    color: var(--primary);
 
}


/* ========== РАЗДЕЛИТЕЛИ ========== */
.news-container hr {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    margin: 2em 0;
}



/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .news-container {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .news-container h1 {
        font-size: 1.75rem;
    }
    
    .news-container h2 {
        font-size: 1.5rem;
    }
    
    .news-container h3 {
        font-size: 1.25rem;
    }
    
    .news-container p {
        font-size: 1.125rem;
    }

    .news-container table {
        font-size: 0.9em;
    }
    
    .news-container th,
    .news-container td {
        padding: 8px 10px;
    }
    
    .news-container img.align-left,
    .news-container img.align-right {
        float: none;
        max-width: 100%;
        margin: 1em 0;
    }
}

@media (max-width: 576px) {
    .news-container {
        font-size: 0.9375rem;
    }
    
    .news-container h1 {
        font-size: 1.5rem;
    }
    
    .news-container h2 {
        font-size: 1.25rem;
    }
    
    .news-container ul,
    .news-container ol {
        padding-left: 1.5em;
    }
    
    .news-container blockquote {
        padding: 0.75em 1em;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
}

/* End */
/* /local/templates/main/components/bitrix/news/news_complex/style.css?17654277182192 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/visual/style.min.css?16800651923386 */
/* /local/templates/main/components/bitrix/news/news_complex/bitrix/news.list/news_grid/style.css?17656197555281 */
