

/* Start:/local/templates/zeecar/components/bitrix/news/news/style.css?17424029433968*/
.news {
    margin-bottom: 10rem;
}

/* Контейнер для списка новостей */
.news-list {
    display: flex;
    flex-direction: column; /* Каждая новость на новой строке */
    gap: 20px; /* Отступ между новостями */
    margin: 0 auto;
}

/* Стили для каждой новости */
.news-item {
    display: flex;
    align-items: center; /* Выравниваем элементы по центру по вертикали */
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 300px;
}

/* Эффект при наведении на карточку */
.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Контейнер для изображения */
.news-img-container {
    width: 40%; /* Ширина изображения */
    overflow: hidden; /* Прячем часть изображения, если оно выйдет за пределы */
    flex-shrink: 0;
}

/* Изображение новости */
.news-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Чтобы изображение заполняло блок, сохраняя пропорции */
    transition: transform 0.3s ease; /* Плавная анимация увеличения */
}

/* При наведении на картинку */
.news-item:hover .news-img {
    transform: scale(1.1); /* Увеличение фото */
}

/* Контент новости */
.news-content {
    margin: 0 7rem 0 7rem;
}

/* Дата новости */
.news-date {
    font-size: 1vw;
    color: #555555;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Заголовок новости */
.news-title {
    font-size: 1.2vw;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 2rem;
}

/* При наведении на заголовок */
.news-title:hover {
    color: #50a15f; /* Цвет при наведении */
}

/* Описание новости */
.news-description {
    font-size: 0.9vw;
    color: #666;
    font-weight: 500;
}

/* DETAIL */

.news-detail {
    width: 60%;
    margin: 0 auto 10rem;
}

.news-image {
    overflow: hidden;
    margin: 0 auto 2rem;
    border-radius: 1em;
}

.news-title-detail {
    font-size: 2.2vw;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 2rem;
}

.ul {
  list-style-type: disc; /* Тип маркера: точка */
  padding-left: 1.7rem; /* Отступ слева, чтобы точки не слипались с текстом */
}

li {
  margin-bottom: 0.5rem; /* Немного отступа между пунктами */
}

.news-content-detail {
    color: #333;
    font-weight: 500;
    line-height: 140%;
}

.news-content-detail p,
.news-content-detail ul {
    margin-bottom: 2rem;
}

.detail-p {
    font-weight: bold;
    font-size: 1.2vw;
}

@media (max-width: 768px) {
  /* Контейнер новости перестраивается вертикально */
  .news-item {
    flex-direction: column;
    max-height: none; /* убираем ограничение по высоте */
  }

  .news-img-container {
    width: 100%;
  }

  .news-content {
    margin: 2rem 1.5rem;
  }

  .news-title {
    font-size: 5vw; /* Адаптивный размер заголовка */
    margin-bottom: 1rem;
  }

  .news-description {
    font-size: 4vw;
  }

  .news-date {
    font-size: 3.5vw;
  }
  
  /* DETAIL */

.news-detail {
    width: 100%;
    margin: 0 auto 5rem;
}

.news-title-detail {
    font-size: 6.2vw;
}

.news-content-detail p,
.news-content-detail ul {
    margin-bottom: 2rem;
}

.detail-p {
    font-weight: bold;
    font-size: 5.2vw;
}
}




/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?170170531551*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /local/templates/zeecar/components/bitrix/news/news/style.css?17424029433968 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?170170531551 */
