.pdf-archive-container { 
	max-width: 1200px; 
	margin: 80px auto; 
	padding: 0 15px; 
	font-family: 'Open Sans', sans-serif; 
}
.year-header { 
	color: #003366; /* Cibeles Blue */
	border-bottom: 3px solid var(--cibeles-gold); /* Cibeles Red Accent */
	padding-bottom: 10px;
	margin: 50px 0 25px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

:root {
	--cibeles-blue: #003366;
	--cibeles-gold: #8c7c50;
}

.pdf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 30px;
}

.virtual-cover {
	min-height: 250px; /* Ensures all covers have a consistent minimum height */
	background: var(--cibeles-blue);
	border-radius: 4px 10px 10px 4px;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 25px 20px;
	color: white;
	cursor: pointer;
	box-shadow: 6px 6px 12px rgba(0,0,0,0.15);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	text-decoration: none;
}

/* Red Accent strip at the top */
.cover-accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--cibeles-gold);
	border-radius: 4px 4px 0 0;
}

.cover-content {
	width: 100%;
	display: block; /* Changed from flex to block to simplify wrapping */
	padding-top: 15px;
}

.file-year {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	margin-bottom: 15px;
	color: rgba(255, 255, 255, 0.6);
}

.file-name-display {
	/* 1. Force the line to break */
	white-space: normal !important; 
	display: block !important;

	/* 2. Ensure long words don't push the container wide */
	word-break: break-word !important; 
	overflow-wrap: break-word !important;

	/* 3. Visuals */
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
	text-align: left;
}

.cover-footer {
	margin-top: 20px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-top: 15px;
	border-top: 1px solid rgba(255,255,255,0.15);
	color: #aaccff;
}

/* Interaction Effects */
.virtual-cover:hover {
	transform: translateY(-8px);
	box-shadow: 12px 20px 30px rgba(0,0,0,0.25);
	background: #004080; /* Slightly lighter blue on hover */
}

.virtual-cover:hover .cover-footer {
	color: white;
}

/* Styles for Image Cards */
.image-thumb-card {
	display: flex;
	flex-direction: column;
	height: 100%; /* Make it fill the pdf-card container */
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none; /* Remove underline from anchor */
	color: #333; /* Default text color */
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-thumb-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.image-preview {
	width: 100%;
	aspect-ratio: 4 / 3; /* Maintain aspect ratio for previews */
	background-size: cover;
	background-position: center center;
	border-bottom: 1px solid #eee;
}

.image-title {
	flex-grow: 1;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.image-title .file-year {
	color: #888;
	margin-bottom: 5px;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.image-title .file-name-display {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #003366; /* Cibeles Blue */
	margin: 0;
	word-break: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	text-align: left;
}

.image-footer {
	padding: 10px 15px;
	border-top: 1px solid #eee;
	background: #f0f0f0;
	font-size: 11px;
	color: #555;
	text-align: center;
}

.df-lightbox-wrapper {
	background-color: rgba(25,25,27,0.95) !important;
}

	.df-container {
		background-color: transparent !important;
	}

.ti-close:before {
	color: #fff !important;
}