/* Memory Section */
.memory-section {
	background-color: #ffffff;
	padding: 80px 0;
}

.memory-title {
	font-size: 40px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 40px 0;
	line-height: 1.2;
}

.memory-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.memory-grid[data-expanded="false"] .memory-card:nth-child(n+5) {
	display: none;
}

.memory-card {
	position: relative;
	border: 2px solid #0070c1;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
}

.memory-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.memory-card-header {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.memory-label {
	font-size: 14px;
	font-weight: 700;
	color: #0070c1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.memory-year {
	font-size: 16px;
	font-weight: 400;
	color: #1a1a1a;
}

.memory-image {
	width: 100%;
	min-height: 460px;
	height: 460px;
	object-fit: cover;
	display: block;
}

.memory-image-placeholder {
	background: linear-gradient(135deg, #f3f6f9 0%, #e2ebf3 100%);
	border-top: 1px solid #cfe0eb;
}

.memory-action {
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	background-color: #ffffff;
	color: #0070c1;
	border: 2px solid #0070c1;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-view-all:hover {
	background-color: #0070c1;
	color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
	.memory-section {
		padding: 60px 0;
	}

	.memory-title {
		font-size: 36px;
	}

	.memory-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin-bottom: 40px;
	}

	.memory-image {
		min-height: 400px;
		height: 400px;
	}
}

@media (max-width: 768px) {
	.memory-section {
		padding: 40px 0;
	}

	.memory-title {
		font-size: 32px;
		margin-bottom: 32px;
	}

	.memory-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		margin-bottom: 32px;
	}

	.memory-image {
		min-height: 320px;
		height: 320px;
	}

	.memory-card-header {
		top: 16px;
		left: 16px;
	}

	.memory-label {
		font-size: 13px;
	}

	.memory-year {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.memory-section {
		padding: 32px 0;
	}

	.memory-title {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.memory-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 24px;
	}

	.memory-image {
		min-height: 280px;
		height: 280px;
	}

	.memory-card-header {
		top: 12px;
		left: 12px;
	}

	.memory-label {
		font-size: 12px;
	}

	.memory-year {
		font-size: 14px;
	}

	.btn-view-all {
		padding: 10px 24px;
		font-size: 13px;
	}
}


