.bx-newslist {}
.bx-newslist-block {
	margin-bottom: 40px;
}
@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;
	-webkit-transition: opacity .3s ease;
	   -moz-transition: opacity .3s ease;
	    -ms-transition: opacity .3s ease;
	     -o-transition: opacity .3s ease;
	        transition: opacity .3s ease;
	background: url("images/bx-video.png") no-repeat center;
}
.bx-newslist-video:hover {
	opacity: 1;
}
/* POST FORMATS /// SLIDER */
.bx-newslist-slider {
	width: 100%;
	height: 0;
	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 {
	-webkit-transition: opacity .3s ease;
	   -moz-transition: opacity .3s ease;
	    -ms-transition: opacity .3s ease;
	     -o-transition: opacity .3s ease;
	        transition: opacity .3s ease;
}
.bx-newslist-title,
.bx-newslist-title a {
	color: #000;
	margin: 0;
	padding: 2px 0 15px;
	font-size: 24px;
	font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-semi-bold, 600);
    line-height: 100%;
    letter-spacing: normal;
}
.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: 16px;
	padding-bottom: 20px;
	white-space: nowrap;
    letter-spacing: normal;
    line-height: 100%;
}
.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;
}


.bx-newslist-block {
    position: relative;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Большая карточка сверху */
.bx-newslist-block-main {
    height: 275px;
    margin-bottom: 30px;
}

.bx-newslist-block-main .bx-newslist-content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
}

.bx-newslist-block-main .bx-newslist-img {
    width: 60%;
    height: 100%;
}

.bx-newslist-block-main .bx-newslist-text-content {
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Маленькие карточки в колонках */
.bx-newslist-block-small {
    height: 260px;
    margin-bottom: 20px;
}

.bx-newslist-block-small .bx-newslist-content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
}

.bx-newslist-block-small .bx-newslist-img {
    width: 50%;
    height: 100%;
}

.bx-newslist-block-small .bx-newslist-text-content {
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bx-newslist-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Убираем старые стили для even/odd блоков */
.bx-newslist-block-even .bx-newslist-content-wrapper,
.bx-newslist-block-odd .bx-newslist-content-wrapper {
    flex-direction: row-reverse;
    align-items: stretch;
}

.bx-newslist-img {
    position: relative;
    width: 100%;
}

.bx-newslist-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.bx-newslist-text-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bx-newslist-date {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.bx-newslist-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.bx-newslist-title a {
    color: #333;
    text-decoration: none;
}

.bx-newslist-title a:hover {
    color: #000;
}

.bx-newslist-more {
    margin-top: auto;
}

.bx-newslist-more a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #104C88;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 20px;
    letter-spacing: normal;
    line-height: 100%;
}

.bx-newslist-more a:hover {
    text-decoration: none;
}

.bx-newslist-more i {
    font-size: 15px;
    transition: transform 0.3s ease;
    color: #104C88;
}

.bx-newslist-more a:hover i {
    transform: translateX(3px);
}



/* Мобильная и планшетная версия */
@media (max-width: 991px) {
    .desktop-view {
        display: none;
    }
    .mobile-view {
        display: block;
    }
    
    /* Мобильные карточки - все одинаковые */
    .bx-newslist-block-mobile {
        height: 200px;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .bx-newslist-block-mobile .bx-newslist-content-wrapper {
        display: flex;
        flex-direction: row-reverse;
        height: 100%;
    }
    
    .bx-newslist-block-mobile .bx-newslist-img {
        width: 60%;
        height: 100%;
        position: relative;
    }
    .bx-newslist-title, .bx-newslist-title a {
        font-size: 16px;
    }
    .bx-newslist-block-mobile .bx-newslist-text-content {
        width: 60%;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .bx-newslist-block-mobile .bx-newslist-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .bx-newslist-block-mobile .bx-newslist-title {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .bx-newslist-block-mobile .bx-newslist-title a {
        color: #333;
        text-decoration: none;
    }
    
    .bx-newslist-block-mobile .bx-newslist-date {
        font-size: 12px;
        margin-bottom: 6px;
        color: #666;
    }
    
    .bx-newslist-block-mobile .bx-newslist-more {
        margin-top: auto;
    }
    
    .bx-newslist-block-mobile .bx-newslist-more a {
        font-size: 14px;
        color: #104C88;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    
    .bx-newslist-block-mobile .bx-newslist-more i {
        font-size: 10px;
        color: #104C88;
    }
    
    /* Скрываем десктопные стили в мобильной версии */
    .bx-newslist-block-main,
    .bx-newslist-block-small {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-view {
        display: none;
    }
}

.bx-newslist-sections {
    margin-bottom: 30px;
}

.bx-newslist-sections-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.bx-newslist-section-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bx-newslist-section-tag:hover {
    background: #e0e0e0;
    color: #000;
    text-decoration: none;
}

.bx-newslist-section-tag.active {
    background: #333;
    color: #fff;
}

.bx-newslist-all-link {
    margin-left: auto;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bx-newslist-all-link:hover {
    color: #007bff;
    text-decoration: none;
}

.bx-newslist-all-link i {
    margin-left: 5px;
}

@media (max-width: 767px) {
    .bx-newslist-title, .bx-newslist-title a {
        font-size: 16px;
    }
    .bx-newslist-block-mobile {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .bx-newslist-title, .bx-newslist-title a {
        font-size: 14px;
        padding-bottom: 10px;
    }
    .bx-newslist-block-mobile .bx-newslist-date {
        margin-bottom: 0;
        font-size: 12px;
    }
}

.bx-newslist-title, .bx-newslist-title a {
    font-weight: 600;
    color: #000;
}