/* News Page Styles */
.news-grid {
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.news-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 60px 40px;
	min-height: 400px;
	border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item:nth-child(even) .news-image {
	order: 2;
}

.news-item:nth-child(even) .news-content {
	order: 1;
}

.news-item:nth-child(even) .news-preview {
	order: 2;
}


.news-item:nth-child(even) .news-content .news-category {
	display: inline-block;
	background: linear-gradient(135deg, #6b6f81 0%, #dbd9dd 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	font-size: 12px;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
}

.news-item:nth-child(odd) .news-content .news-category {
	display: inline-block;
	background: linear-gradient(135deg, #6b6f81 0%, #dbd9dd 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	font-size: 12px;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
}




.news-preview {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0,0,0,0.1);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	height: 350px;
	background: #f8f9fa;
}

.news-preview:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

.news-preview iframe {
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 16px;
	transition: transform 0.6s ease;
}

.news-preview:hover iframe {
	transform: scale(1.02);
}

.news-image {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0,0,0,0.1);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	height: 350px;
}

.news-image:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

.news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.news-image:hover img {
	transform: scale(1.03);
}

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

.news-date {
	display: block;
	color: #7f8c8d;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.news-category {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
}

.news-content h3 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
	color: #2c3e50;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.news-content p {
	font-size: 16px;
	line-height: 1.7;
	color: #5a6c7d;
	margin-bottom: 24px;
	font-weight: 400;
}

.news-excerpt {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-left: 4px solid #667eea;
	padding: 16px 20px;
	margin: 16px 0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.news-excerpt p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5a6c7d;
}

.news-excerpt strong {
	color: #2c3e50;
	font-weight: 600;
}

.news-content .btn-explore {
	display: inline-block;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	align-self: flex-start;
	position: relative;
	padding-bottom: 2px;
}

.news-content .btn-explore::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: #667eea;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.news-content .btn-explore:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.news-content .btn-explore:hover {
	color: #764ba2;
}

/* Category colors */
.news-category[data-category="mostra"] {
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.news-category[data-category="pubblicazione"] {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.news-category[data-category="workshop"] {
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.news-category[data-category="progetto"] {
	background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.news-category[data-category="collaborazione"] {
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* Responsive per mobile */
@media (max-width: 768px) {
	.gallery-section {
		padding: 40px 0;
	}
	
	.gallery-header {
		margin-bottom: 40px;
	}
	
	.gallery-header h2 {
		font-size: 32px;
	}
	
	.gallery-header p {
		font-size: 16px;
	}

	
	.news-item {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 40px 20px;
		min-height: auto;
	}
	
	.news-item .news-content {
		order: 1;
		width: 100%
	}
	
	.news-item .news-image {
		order: 2;
	}
	
	.news-image,
	.news-preview {
		height: 250px;
	}
	
	.news-content {
		padding: 0;
		text-align: center;
	}
	
	.news-content h3 {
		font-size: 24px;
		margin-bottom: 12px;
	}
	
	.news-content p {
		font-size: 15px;
		margin-bottom: 20px;
	}
	
	.news-content .btn-explore {
		align-self: center;
	}
}

/* Responsive per tablet */
@media (max-width: 1024px) and (min-width: 769px) {
	.news-item {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 40px 30px;
	}
	
	.news-item:nth-child(even) .news-image,
	.news-item:nth-child(even) .news-content,
	.news-item:nth-child(even) .news-preview {
		order: unset;
	}
	
	.news-image,
	.news-preview {
		height: 300px;
	}
	
	.news-content {
		text-align: center;
	}
	
	.news-content .btn-explore {
		align-self: center;
	}
}
