/**
 * Project Archive Styles
 *
 * @package Euro_Event
 */

/* ============================================
   Archive Wrapper
   ============================================ */
.euro-project-archive-wrapper {
	width: 100%;
	background: #FFFFFF;
	font-family: 'Roboto', sans-serif;
}

/* ============================================
   Archive Grid
   ============================================ */
.euro-project-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(273px, 1fr));
	gap: 30px;
	max-width: 1135px;
	margin: 0 auto;
}

/* ============================================
   Project Card Link Wrapper
   ============================================ */
.euro-archive-project-card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
	height: 100%;
}

.euro-archive-project-card-link:hover {
	text-decoration: none;
}

/* ============================================
   Project Card
   ============================================ */
.euro-archive-project-card {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #FFFFFF;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.euro-archive-project-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}

.euro-archive-project-image {
	width: 100%;
	aspect-ratio: 16/11;
	overflow: hidden;
	background: #F0F0F0;
}

.euro-archive-project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

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

/* ============================================
   Project Content
   ============================================ */
.euro-archive-project-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px;
}

.euro-archive-project-name {
	font-size: 17px;
	font-weight: 700;
	color: #000000;
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.euro-archive-project-excerpt {
	font-size: 12px;
	line-height: 1.6;
	color: #6F747B;
	margin: 0 0 12px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 40px;
}

/* ============================================
   Project Meta
   ============================================ */
.euro-archive-project-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 12px;
}

.euro-archive-meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #6F747B;
}

.euro-archive-meta-item img {
	flex-shrink: 0;
}

/* ============================================
   Project Scale
   ============================================ */
.euro-archive-project-scale {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	margin-top: auto;
	border-top: 1px solid #E8E8E8;
	font-size: 11px;
}

.euro-archive-scale-label {
	color: #101828;
	font-weight: 700;
	margin-right: 4px;
}

.euro-archive-scale-value {
	color: #101828;
	font-weight: 700;
	flex: 1;
}

.euro-archive-project-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}

.euro-archive-project-card:hover .euro-archive-project-arrow {
	transform: translateX(4px);
}

/* Mobile View More */
.euro-archive-view-more-mobile {
	display: none;
}

/* ============================================
   Hidden Cards
   ============================================ */
.euro-archive-card-hidden {
	display: none;
}

/* ============================================
   Load More Button
   ============================================ */
.euro-project-archive-load-more {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	text-align: center;
}

/* ============================================
   Empty State
   ============================================ */
.euro-project-archive-empty {
	text-align: center;
	font-size: 16px;
	color: #6F747B;
	padding: 40px 20px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 768px) {

	.euro-project-archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	
	.euro-archive-arrow-desktop {
		display: none;
	}
	
	.euro-archive-view-more-mobile {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
		padding-top: 12px;
		margin-top: auto;
		border-top: 1px solid #E8E8E8;
	}
	
	.euro-archive-project-scale {
		border-top: none;
		padding-top: 0;
		margin-top: 0;
	}
	
	.euro-archive-view-more-text {
		color: #0B4F9F;
		font-size: 11px;
		font-weight: 700;
	}
}

@media screen and (max-width: 480px) {

	.euro-project-archive-grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	
	.euro-archive-project-card {
		max-width: 410px;
		width: 100%;
	}
}
