

/* Start:/local/templates/swmade/components/bitrix/system.pagenavigation/.default/style.css?17501437804216*/
.bx_pagination_bottom *{vertical-align: baseline;}

.bx_pagination_bottom .bx_pagination_page, .bx_pagination_bottom a{
	color: #646464;
	white-space: nowrap;
	font-size: 18px;
	font-weight: bold;
}

.bx_pagination_bottom .bx_pagination_page {
	margin-top: -5px;
}

.bx_pagination_page .quotes {
	font-size: 28px;
	margin:0 !important;
}

.bx_pagination_bottom .bx_pagination_section_one{
	float: right;
	text-align: right;
}
.bx_pagination_bottom .bx_pagination_section_two{
}
.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: none;
	border: 1px solid #e0e0e0;
	border-radius: 1px;
	background: #fff url(/local/templates/swmade/components/bitrix/system.pagenavigation/.default/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 ul{
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height:100%;

}
.bx_pagination_bottom .bx_pagination_page li{
	display: inline-block;
	/*min-width: 22px;*/
	color: #646464;
	text-align: right;
	/*line-height: 22px;*/
	padding-left: 25px;
}
.bx_pagination_bottom .bx_pagination_page li a{
	display: block;
	/*min-width: 22px;*/
	color: #646464;
	text-align: right;
	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{
	color: #e2001a;
	/*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;}




/*1*/
@media (min-width:981px){

}
/*2*/
@media (min-width:640px) and (max-width:980px){

}
/*3*/
@media (min-width:480px) and (max-width:639px) {
	.bx_pagination_bottom .bx_pagination_select_container select{margin-right: 10px;}
}
/*4*/
@media (max-width:479px) {
	.bx_pagination_bottom .bx_pagination_section_one{ }
	.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%;
	}
	.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;}
}
/*5*/
@media (max-width:320px){
}

.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 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	padding-right: 1%;
}

/* End */


/* Start:/bitrix/templates/.default/components/bitrix/news/webcat_news_list/bitrix/news.list/.default/style.css?17855689548786*/
.news-block,
.news-block * {
    font-family: 'Montserrat', sans-serif !important;
}

/* === ОСНОВНОЙ КОНТЕЙНЕР - ШИРИНА 1745px === */
.news-block {
    max-width: 1745px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === ЗАГОЛОВОК - ПО ЦЕНТРУ, БЕЗ ЛИНИЙ === */
.news-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.news-header h2 {
    font-size: 1.5rem;
    text-transform: none;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
}

/* === ОБЛАКО ТЕГОВ С МАКСИМАЛЬНЫМ СКРУГЛЕНИЕМ === */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: none;
    border-bottom: none;
}

.tags-cloud a {
    display: inline-block;
    background: #ffffff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 22px;
    border: 1px solid #e2e6ec;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 50px !important;
}

.tags-cloud a:hover {
    background: #e2001a;
    color: #ffffff;
    border-color: #e2001a;
}

.tags-cloud a.active {
    background: #e2001a;
    color: #ffffff;
    border-color: #e2001a;
}

/* === ОБЁРТКА ДЛЯ СЕТКИ === */
.news-grid-wrapper {
    overflow: visible;
}

/* === СЕТКА: 3 КОЛОНКИ === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* === КАРТОЧКА-БАННЕР - ЗАНИМАЕТ 2 РЯДА === */
.news-card.banner-card {
    grid-row: span 2;
}

.news-card.banner-card .banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    background: #1a1f2b;
}

.news-card.banner-card .banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

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

.news-card.banner-card .banner-wrapper .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.news-card.banner-card .banner-wrapper .banner-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    text-align: left;
    padding: 30px 30px 20px 30px;
    line-height: 1.3;
    max-width: 90%;
    margin-top: 0;
}

/* === ОБЫЧНАЯ КАРТОЧКА === */
.news-card {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaedf2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
}

.news-card:not(.banner-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d7e2;
}

/* === ОБЁРТКА ДЛЯ КАРТИНКИ И МЕТКИ === */
.news-image-wrapper {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* === КАРТИНКА - КВАДРАТНАЯ === */
.news-image-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #dce2ec;
    border-radius: 0 !important;
}

.news-image-wrapper a img {
    transition: opacity 0.2s;
}

.news-image-wrapper a:hover img {
    opacity: 0.9;
}

/* === МЕТКА === */
.news-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: inline-block;
    background: #e2001a;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 14px;
    border-radius: 0 !important;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === ТЕКСТОВАЯ ЧАСТЬ === */
.news-content {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

/* === ЗАГОЛОВОК НОВОСТИ === */
.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1f2b;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card h3 a:hover {
    color: #e2001a;
}

/* === АНОНС === */
.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5a6678;
    margin: 0 0 14px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === ДАТА === */
.news-date {
    font-size: 13px;
    color: #8a96a8;
    border-top: 1px solid #eff1f5;
    padding-top: 12px;
    margin-top: auto;
}

/* === ПАГИНАЦИЯ === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e6ec;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #ffffff;
    border: 1px solid #e2e6ec;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 50px !important;
}

.pagination a:hover {
    background: #e2001a;
    color: #ffffff;
    border-color: #e2001a;
}

.pagination .active {
    background: #e2001a;
    color: #ffffff;
    border-color: #e2001a;
}

.pagination .prev,
.pagination .next {
    font-size: 13px;
    padding: 0 16px;
}

.pagination .dots {
    border: none;
    background: transparent;
    color: #8a96a8;
}

/* === АДАПТИВ === */

/* Планшет: 2 колонки */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-card.banner-card {
        grid-row: span 1;
    }
    
    .news-card.banner-card .banner-wrapper {
        min-height: 300px;
    }
    
    .news-card.banner-card .banner-wrapper .banner-title {
        font-size: 24px;
        padding: 20px 20px 14px 20px;
    }
}

/* Мобильная версия: 1 колонка, показываем только 4 новости */
@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Скрываем новости начиная с 5-й */
    .news-card.hidden-mobile {
        display: none;
    }
    
    .news-card.banner-card {
        grid-row: span 1;
    }
    
    .news-card.banner-card .banner-wrapper {
        min-height: 250px;
    }
    
    .news-card.banner-card .banner-wrapper .banner-title {
        font-size: 20px;
        padding: 16px 16px 10px 16px;
    }
    
    .news-image-wrapper img {
        aspect-ratio: 16 / 9;
    }
    
    .news-content {
        min-height: 120px;
        padding: 14px 16px 18px;
    }
    
    .news-card h3 {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .news-header h2 {
        font-size: 1.2rem;
    }
    
    .tags-cloud a {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 400px) {
    .news-grid {
        gap: 14px;
    }
    
    .news-card.banner-card .banner-wrapper {
        min-height: 200px;
    }
    
    .news-card.banner-card .banner-wrapper .banner-title {
        font-size: 17px;
        padding: 14px 14px 8px 14px;
    }
    
    .news-content {
        min-height: 100px;
        padding: 12px 14px 16px;
    }
    
    .news-card h3 {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .news-date {
        font-size: 12px;
        padding-top: 10px;
    }
    
    .tags-cloud a {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 12px;
        font-size: 12px;
    }
}

/* End */
/* /local/templates/swmade/components/bitrix/system.pagenavigation/.default/style.css?17501437804216 */
/* /bitrix/templates/.default/components/bitrix/news/webcat_news_list/bitrix/news.list/.default/style.css?17855689548786 */
