

/* Start:/bitrix/templates/aspro_max/components/bitrix/news.list/actions-list/style.css?17561156952476*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}
.preview_picture_mobile{
	display:none;
}

.news-item-action{margin-bottom:30px; width:31%;margin-right:2%;}
.news-item-action img{
	max-width:100%;
}
.news-item-action:nth-child(3n){  margin-right:0%;}
.news-list-actions{
	display:flex;flex-wrap:wrap;
}
.news-item-action {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    width: 31%;
    margin-right: 2%;
}

.news-item-action:nth-child(3n) {
    margin-right: 0%;
}

.news-item-action a {
    display: block;
    position: relative;
    text-decoration: none;
}

.news-item-action img {
    max-width: 100%;
    height: auto;
   
    transition: transform 0.3s ease;
}

.preview_picture_mobile {
    display: none;
}
.news-item-action .btn.btn-default{
	font-size:1.2em;    display: block;
    position: relative;
}
/* Кнопка "Подробнее" */
.news-item-action .btn {
     
    opacity: 1;
 
    transition: all 0.3s ease;
    z-index: 2;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* Эффекты при наведении */
.news-item-action:hover {
    transform: scale(1.02);
    z-index: 1;
}

.news-item-action:hover img {
    transform: scale(1.05);
}

.news-item-action:hover .btn {
    opacity: 1;
    visibility: visible;
    
}

/* Затемнение фона при наведении */
.news-item-action a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-item-action:hover a::after {
    opacity: 1;
}

 
@media (max-width: 1000px) {
    .preview_picture_desctop {
        display: none;
    }
    
    .preview_picture_mobile {
        display: block;
    }
    
    .news-item-action {
        width: 48%;
        margin-right: 0%;
    }
    .news-list-actions{
		justify-content:space-between;
	}
    .news-item-action:nth-child(3n) {
        margin-right: 0%;
    }
    
    .news-item-action .btn {
        opacity: 1;
        visibility: visible;
        bottom: 15px;
    }
}

@media (max-width: 380px) {
    .news-item-action {
        width: 100%;
        margin-right: 0%;
    }
}
/* End */
/* /bitrix/templates/aspro_max/components/bitrix/news.list/actions-list/style.css?17561156952476 */
