

/* Start:/bitrix/templates/aspro_next_tn20231011/components/bitrix/news.list/flat/style.css?17532631987594*/

.bx-newslist-block {
	padding: 0 14px;
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: 100%;
}
@media (min-width: 992px) {
	.bx-newslist .bx-newslist-container:nth-child(3n+1) {
		clear: both;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.bx-newslist .bx-newslist-container:nth-child(2n+1) {
		clear: both;
	}
}
/* POST FORMATS */
.bx-newslist-img,
.bx-newslist-audio,
.bx-newslist-youtube,
.bx-newslist-slider {
	position: relative;
	text-align: center;
	margin-bottom: 20px;
}
.bx-newslist-slider img,
.bx-newslist-img img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%
}
.bx-newslist-video {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	opacity: 0.7;
	z-index: 1;
	transition: opacity .3s ease;
	background: url("/bitrix/templates/aspro_next_tn20231011/components/bitrix/news.list/flat/images/bx-video.png") no-repeat center;
}
.bx-newslist-video:hover {
	opacity: 1;
}
/* POST FORMATS /// SLIDER */
.bx-newslist-slider {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}
.bx-newslist-slider-container {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
.bx-newslist-slider-slide {
	float: left;
	z-index: 100;
}
.bx-newslist-slider-arrow-container-left,
.bx-newslist-slider-arrow-container-right {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	cursor: pointer;
}
.bx-newslist-slider-arrow-container-left {
	left: 0;
}
.bx-newslist-slider-arrow-container-right {
	right: 0;
}
.bx-newslist-slider-arrow {
	position: absolute;
	line-height: 34px;
	vertical-align: middle;
	color: #fff;
	cursor: pointer;
	font-size: 48px;
	height: 48px;
	width: 20px;
	top: 50%;
	margin-top: -24px;
	z-index: 110;
	opacity: .5;
	text-shadow:0 0 2px rgba(0,0,0,.5);
}
.bx-newslist-slider-arrow-container-left:hover .bx-newslist-slider-arrow,
.bx-newslist-slider-arrow-container-right:hover .bx-newslist-slider-arrow {
	color: #FFF;
	display: block;
	opacity: 1;
}
.bx-newslist-slider-arrow-container-left .bx-newslist-slider-arrow {
	left: 20px;
}
.bx-newslist-slider-arrow-container-right .bx-newslist-slider-arrow {
	right: 20px;
}
.bx-newslist-slider-control {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	bottom: 10px;
	z-index: 110;
	text-align: center;
	word-spacing: -4px;
}
.bx-newslist-slider-control li {
	display: inline-block;
	border-radius: 50%;
	background: #fff;
	width: 10px;
	height: 10px;
	word-spacing: -4px;
	margin: 0 3px;
	opacity: .5;
}
.bx-newslist-slider-control li:hover,
.bx-newslist-slider-control li.current {
	background: #FFF;
	opacity: 1;
}
bx-newslist-slider-arrow,
.bx-newslist-slider-control li {
	transition: opacity .3s ease;
}
.bx-newslist-title,
.bx-newslist-title a {
	color: #000;
	margin: 0;
	padding: 2px 0 15px;
	font-size: 18px;
	font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-semi-bold, 600);
}
.bx-newslist-title a:hover {
	text-decoration: none;
	border-bottom-color: transparent;
}
.bx-lg .bx-newslist-title {
	font-size: 24pt;
}
.bx-md .bx-newslist-title {
	font-size: 20pt;
}
.bx-xs .bx-newslist-title {
	font-size: 18pt;
}
.bx-newslist-view,
.bx-newslist-date,
.bx-newslist-comments,
.bx-newslist-author,
.bx-newslist-other {
	color: #a4a4a4;
	font-size: 13px;
	padding-bottom: 5px;
	white-space: nowrap;
}
.bx-newslist-view i.fa,
.bx-newslist-date i.fa,
.bx-newslist-comments i.fa,
.bx-newslist-author i.fa,
.bx-newslist-tags i.fa,
.bx-newslist-other i.fa {
	width: 13px;
	color: #b4b4b4;
}
.bx-newslist-tags {
	color: #a4a4a4;
	font-size: 13px;
	padding-bottom: 5px;
}
.bx-newslist-content {
	font-size: 14px;
	margin-bottom: 5px;
}
.bx-newslist-more {
	margin-top: 5px;
	margin-bottom: 5px;
}
.row.flexed {
	display: flex;
	flex-wrap: wrap;
}
.bx-newslist-container.col-md-2-5 {
	width: 19%;
	border: 1px solid transparent;
	transition: .3s ease;
}
.bx-newslist-container.col-md-2-5:hover {
	box-shadow: 0 3px 6px #ccc;
	border: 1px solid #e9e9e9;
}
.bx-newslist-container .row.display-more {
	margin: 0 0 1em;
}

.bx-newslist-container.col-md-2-5 .bx-newslist-title {
	line-height: 1;
	flex: 0 0 4em;
}


.bx-newslist-container.col-md-2-5 .bx-newslist-block {
	margin-bottom: 0;
}

.flexed .bx-newslist-title, .bx-newslist-title a {
	font-weight: normal;
	line-height: 1;
}

.flexed .bx-newslist-img > a {
	display: block;
}

.flexed .bx-newslist-slider img, .flexed .bx-newslist-img img {
	object-fit: cover;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  display: block;
  width: 100%;
}

.flexed .bx-newslist-block {
	padding: 0;
}

.flexed h3 + .preview_text {
  display:none;
}

/* Обертка списка (грид) */
.masterskaya_wrap .row.grided {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	width: 100%;
	gap: 20px;
	margin: auto;
}

.masterskaya_wrap .row.grided:before,
.masterskaya_wrap .row.grided:after {
	display: none;
}

/* Каждый блок категории */
.masterskaya_wrap .grided .bx-newslist-block {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	padding: 0;
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 0;
}

@media(max-width:600px) {
	/* Каждый блок категории */
	.masterskaya_wrap .grided .bx-newslist-block {
		aspect-ratio: 16 / 6;
	}
}

.masterskaya_wrap .grided .prev_no_detail a {
	display: block;
	width: 100%;
	height: 100%;
}

.masterskaya_wrap .grided .row.display-date {
    display: none;
}

/* Контейнер картинки (растягиваем на весь блок) */
.masterskaya_wrap .grided .bx-newslist-img {
	width: 100%;
	height: 100%;
	margin-bottom: 0;
}

/* Картинка (растягиваем на весь блок) */
.masterskaya_wrap .grided .bx-newslist-img img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Чтобы картинка заполняла блок */
	display: block;
	transition: .6s;
 
}

.masterskaya_wrap .grided .bx-newslist-block:hover .bx-newslist-img img {
	transform: scale(1.1);
}

/* Затемнение поверх картинки */
.masterskaya_wrap .grided .bx-newslist-img::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5); /* Полупрозрачное затемнение */
	z-index: 1;
}

/* Заголовок (центрированный, белый, жирный) */
.masterskaya_wrap .grided .bx-newslist-title {
	position: absolute;
	top: 12%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-weight: bold;
	text-align: center;
	z-index: 2; /* Чтобы был поверх затемнения */
	width: 90%; /* Чтобы текст не прилипал к краям */
	margin: 0;
	padding: 0;
	font-size: 18px; /* Можно изменить размер */
}

.grided h3 + .preview_text {
  position: absolute;
  top: 32%;
  text-align: center !important;
  color: white;
  z-index: 10;
  padding: 0 1em;
  margin: auto;
  width: 100%;
}

/* Ссылка в заголовке */
.masterskaya_wrap .grided .bx-newslist-title a {
	color: white !important;
	text-decoration: none !important;
	font-weight: bold !important;
	font-size: 18px!important; /* Можно изменить */
}

@media(max-width:1200px) {
	.bx-newslist.flat_template .row.flexed {
		gap:.4em;
	}
}


@media(max-width:900px) {
	.bx-newslist.flat_template .row.flexed {
		gap:unset;
	}
	.bx-newslist-container.col-md-2-5 {
		width: 33.33333333333333%;
	}
}


@media(max-width:590px) {
	.bx-newslist-container.col-md-2-5 {
		width: 50%;
	}
}


/* End */


/* Start:/bitrix/templates/aspro_next_tn20231011/components/bitrix/news.list/flat/themes/blue/style.min.css?1732898876205*/
.bx-newslist .fa.bx-star-active{color:#1485ce}.bx-newslist .btn{background-color:#1485ce;border-color:#1485ce}.bx-newslist .btn:active,.bx-newslist .btn:hover{background-color:#53a4d8;border-color:#53a4d8}
/* End */
/* /bitrix/templates/aspro_next_tn20231011/components/bitrix/news.list/flat/style.css?17532631987594 */
/* /bitrix/templates/aspro_next_tn20231011/components/bitrix/news.list/flat/themes/blue/style.min.css?1732898876205 */
