

/* Start:/bitrix/templates/profpolimer/components/bitrix/news.list/news-list/style.css?17431643581949*/
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
	margin: 0 100px; /* Отступы слева и справа по 100 пикселей */
}

.news-link {
    text-decoration: none;
    color: inherit;
}

.news-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 150px;
    height: auto;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 41px;
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    margin: 0 0 10px;
    color: #333;
}

.news-date {
    font-size: 31px;
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    color: #777;
    margin: 0 0 10px;
}

.news-description {
    font-size: 31px;
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .news-list {
        margin: 0 20px; /* Уменьшаем отступы на мобильных устройствах */
    }

    .news-item {
        flex-direction: column; /* Изменяем направление на колонку для мобильных */
    }

    .news-image {
        width: 100%; /* Изображение занимает всю ширину */
        height: 200px; /* Фиксированная высота для изображения */
    }

    .news-title, .news-date, .news-description {
        font-size: 18px; /* Уменьшаем размер шрифта для мобильных */
    }
}
/* End */
/* /bitrix/templates/profpolimer/components/bitrix/news.list/news-list/style.css?17431643581949 */
