.instructions-post {
   width: 397px;
   height: 372px;
   background-color: #FFFFFF;
   border-radius: 16px;
   /* margin-right: 24px; */
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: start;
   flex-shrink: 0;
}

.instructions-post__promo {
   width: 100%;
   height: 180px;
   border-radius: 16px;
   object-fit: cover;
   object-position: center;
}

.instructions-post__content {
   box-sizing: border-box;
   width: 100%;
   padding: 14px;
   display: flex;
   flex-direction: column;
   align-items: start;
   justify-content: space-between;
   height: 100%;
}

.instructions-post__info {
   width: 100%;
   height: 23px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 12px;
}

.instructions-post__meta {
   display: flex;
   align-items: center;
   justify-content: center;
}

.instructions-post__info-icon {
   margin: 0 3px 0 10px;
}

.instructions-post__info-count {
   font-size: 12px;
   font-weight: 500;
   letter-spacing: 0%;
   line-height: 1px;

   color: #919EAB;
}

.instructions-post__info-list {
   list-style-type: none;
   margin: 0;
   padding: 0;
   display: flex;
   align-items: center;
   flex-wrap: nowrap;
   & li:last-child {
      margin-right: 0;
   }
}

.instructions-post__info-list-item {
   margin-right: 4px;
   padding: 4px 7px;
   background-color: #F3F3F7;
   border-radius: 6px;
   font-size: 12px;
   font-weight: 500;
   line-height: 14.4px;
   letter-spacing: 0%;
   color: #637381;
}

.instructions-post__name {
   width: 100%;
   max-width: 369px;
   font-size: 18px;
   font-weight: 600;
   line-height: 20px;
   letter-spacing: 0;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   overflow: hidden;
   text-overflow: ellipsis;
   max-height: 3em;
   margin-bottom: 5px;
   color: #131313;
   flex-shrink: 0;
}

.instructions-post__text {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
 
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    line-height: 1.5; 
    margin-bottom: 12px;
    color: #454F5B;
    flex-grow: 1; 
}

.instructions-post__link {
   width: 100%;
}

.main-instructions-page {
   width: 100%;
   flex: 1 0 auto;
   background-color: #F1F3F8;
   padding-bottom: 83px;
}

.main-instructions-page__wrapper {
   max-width: 1241px; /* Устанавливаем максимальную ширину */
   margin: 0 auto; /* Центрируем контент */
   padding: 0px; /* Отступы внутри контейнера */
   background-color: #F1F3F8; /* Цвет фона для внутреннего содержимого */
   position: relative; /* Для позиционирования */
   z-index: 1; /* Убедимся, что этот элемент выше фона */
}

.instructions-page__items-list .video-post:nth-child(3n) {
   margin-right: 0;
}

