/* Project Cards Shortcode Styles */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.euro-event-project-cards {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	position: relative;
	overflow: hidden;
}

.euro-event-project-swiper {
	width: 100%;
	padding: 20px 0 40px;
	overflow: visible !important;
}

.euro-event-project-swiper .swiper-wrapper {
	align-items: stretch;
}

.euro-event-project-swiper .swiper-slide {
	height: auto;
}

.euro-event-project-card {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	height: 450px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.euro-event-project-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.euro-event-project-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
	position: relative;
}

.euro-event-project-image {
	position: relative;
	width: 100%;
	height: 100% !important;
	overflow: hidden;
	background: #f0f0f0;
}

.euro-event-project-image img {
	width: 768px;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.euro-event-project-card:hover .euro-event-project-image img {
	transform: scale(1.1);
}

.euro-event-project-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%);
	z-index: 1;
}

.euro-event-project-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	font-size: 16px;
	font-weight: 500;
}

.euro-event-project-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 25px;
	color: white;
	z-index: 2;
}

.euro-event-project-location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
}

.euro-event-location-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.euro-event-project-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: white;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.euro-event-project-excerpt {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Hover Effects */
.euro-event-project-card:hover .euro-event-project-title {
	color: #ffffff;
}

.euro-event-project-card:hover .euro-event-project-location {
	color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
	.euro-event-project-card {
		height: 400px;
	}
	
	.euro-event-project-title {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.euro-event-project-swiper {
		padding: 15px 0 30px;
	}
	
	.euro-event-project-card {
		height: 400px;
	}
	
	.euro-event-project-info {
		padding: 25px 20px;
	}
	
	.euro-event-project-title {
		font-size: 20px;
		margin-bottom: 10px;
	}
	
	.euro-event-project-location {
		font-size: 13px;
		margin-bottom: 10px;
	}
	
	.euro-event-location-icon {
		width: 18px;
		height: 18px;
	}
	
	.euro-event-project-excerpt {
		font-size: 13px;
	}
}

/* Timeline Navigation for Mobile Sliders */
.euro-event-project-cards .timeline-navigation {
	display: none;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.euro-event-project-cards .timeline-navigation {
		display: flex;
	}
}

.timeline-prev,
.timeline-next {
	background: #f3f4f6;
	border: 2px solid #7BCEF4;
	border-radius: 13px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #6b7280;
}

.timeline-prev:hover,
.timeline-next:hover {
	background: #2563eb;
	color: white;
}

.timeline-prev:disabled,
.timeline-next:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.euro-event-project-card {
		height: 350px;
	}
	
	.euro-event-project-info {
		padding: 20px 15px;
	}
	
	.euro-event-project-title {
		font-size: 18px;
	}
	
	.euro-event-project-location {
		font-size: 12px;
	}
	
	.euro-event-location-icon {
		width: 16px;
		height: 16px;
	}
	
	.euro-event-project-excerpt {
		font-size: 12px;
	}
}
