

/* Start:/local/templates/main/components/bitrix/news.list/articles/style.css?17751383812332*/
.articles-grid {
   width: 100%;
   margin: 0 auto;
   padding: 0;
}

.articles-item {
   position: relative;
   background: #f5f5f5;/*rgba(245, 245, 245, 0.5)*/
   margin-bottom: 10px; /* Отступ между строками */
   overflow: hidden;
   transition: all 0.3s ease;
   font-weight: 300;
   font-size: 16px;

   /* line-height: 21px; */ 
   line-height: 130%;
   color: #000;

   border: 1px solid #f5f5f5;

}

.articles-item:hover {
   box-shadow: 0 10px 25px rgba(130, 23, 116, 0.15);
   transform: translateY(-3px);
   border-color: var(--01-purple);
}

.articles-item .link-over {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 2;
   display: block;
}

.articles-item .name {
   font-weight: 400;
}
@media (min-width: 992px) {
   .articles-item {
       display: table;
       table-layout: fixed;
       padding: 0;
       margin-bottom: 10px;
   }
   
   .articles-item .name {
       display: table-cell;
       width: 400px; /* Первая колонка */
       padding: 15px 20px;
       vertical-align: top;
   }
   
   .articles-item .text {
       display: table-cell;
       vertical-align: middle;
       overflow: hidden;
       text-overflow: ellipsis;
   }
   
   .articles-item .button {
       display: table-cell;
       width: 200px; /* Последняя колонка */
       padding: 15px 20px;
       text-align: right;
       vertical-align: middle;
   }
}

/* МОБИЛЬНЫЙ: карточки */
@media (max-width: 991px) {
   .articles-item {
       display: block !important; /* Снимаем table */
       height: auto;
       margin-bottom: 15px;
   }
   
   .articles-item .name {
       display: block !important;
       width: auto !important;
   }
   
   .articles-item .text {
       display: block !important;
   }
   
   .articles-item .button {
       display: block !important;
       width: auto !important;
       padding: 0 !important;
       text-align: left !important;
       border: none !important;
   }
}

/* Планшет: промежуточный вариант */
@media  (max-width: 991px) {
   .articles-item {  
      padding: 10px;
   }
   .articles-item .text {
      padding: 10px 0;
   }
   
}
/* End */
/* /local/templates/main/components/bitrix/news.list/articles/style.css?17751383812332 */
