body {
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;

	background-color: #f6f2d5;
	margin: 0;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 100vh;
}

.compact-gallery {
	max-width: 900px;
	width: 100%;
	background-color: #f6f2d5;
	border-radius: 8px;
	padding: 20px;
}

.compact-gallery .image-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.compact-gallery .image-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.compact-gallery .image-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 8px;
}

/* Custom dimensions for each image - scaled down */
.compact-gallery .image-wrapper:nth-child(1) img {
	width: 160px;
	height: 182px;
}

.compact-gallery .image-wrapper:nth-child(2) img {
	width: 462px;
	height: 95px;
}

.compact-gallery .image-wrapper:nth-child(3) img {
	width: 161px;
	height: 183px;
}

.compact-gallery img {
	object-fit: contain;
	transition: transform 0.3s ease;
}

.compact-gallery img:hover {
	transform: scale(1.03);
}

.compact-gallery .image-label {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	font-family: Arial, sans-serif;
	margin-top: 4px;
}

/* Responsive styles */
@media (max-width: 768px) {
	body {
		padding: 10px;
	}
	
	.compact-gallery {
		padding: 15px;
		max-width: 500px;
	}
	
	.compact-gallery .image-gallery {
		flex-direction: column;
	}
	
	.compact-gallery .image-wrapper {
		margin-bottom: 20px;
	}
	
	/* Further scaled down for mobile */
	.compact-gallery .image-wrapper:nth-child(1) img {
		width: 120px;
		height: 137px;
	}
	
	.compact-gallery .image-wrapper:nth-child(2) img {
		width: 100%;
		max-width: 350px;
		height: auto;
		aspect-ratio: 616/127;
	}
	
	.compact-gallery .image-wrapper:nth-child(3) img {
		width: 121px;
		height: 137px;
	}
	
	.compact-gallery .image-label {
		font-size: 12px;
	}
	
	.compact-gallery .image-wrapper:last-child {
		margin-bottom: 0;
	}
}

@media (max-width: 480px) {
	.compact-gallery {
		padding: 10px;
	}
	
	.compact-gallery .image-wrapper {
		margin-bottom: 15px;
	}
	
	.compact-gallery .image-wrapper:nth-child(1) img {
		width: 100px;
		height: 114px;
	}
	
	.compact-gallery .image-wrapper:nth-child(2) img {
		max-width: 280px;
	}
	
	.compact-gallery .image-wrapper:nth-child(3) img {
		width: 101px;
		height: 115px;
	}
}