

/* Start:/local/templates/peterhof_new/components/bitrix/news/template1/bitrix/news.list/.default/style.css?17794884932517*/
/*
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;
}
*/


.news-container h1 {
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 40px;
	color: rgb(48 50 54 / var(--tw-text-opacity, 1));
}



@media (max-width: 768px) {
	.news-container h1 {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.news-container {
		padding: 20px 15px;
	}
}


@media (max-width: 480px) {
	.news-container h1 {
		font-size: 24px;
		margin-bottom: 20px;
	}
}

.news-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.news-item {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.news-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image-container {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
	transition: transform 0.5s ease;
}

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

.news-info-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 20px 15px 15px;
	color: white;
}

.news-title {
	font-size: 1.25rem;
	margin-bottom: 8px;
	font-weight: 600;
	color: white;
}

.news-date {
	font-size: 0.9rem;
	opacity: 0.9;
	display: flex;
	align-items: center;
	color: white;
}

.news-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-preview {
	margin-bottom: 20px;
	color: #555;
	flex-grow: 1;
}

.news-detail-link {
	align-self: flex-start;
	padding: 10px 20px;
	background: linear-gradient(90deg, #3498db, #2ecc71);
	color: white;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.news-detail-link:hover {
	background: linear-gradient(90deg, #2980b9, #27ae60);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.news-pagination {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}


@media (max-width: 992px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.news-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}
}

/* End */
/* /local/templates/peterhof_new/components/bitrix/news/template1/bitrix/news.list/.default/style.css?17794884932517 */
