.ms-component-wrapper {
	font-family:
		"Inter",
		system-ui,
		-apple-system,
		sans-serif;
	padding: 32px;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	max-width: 1200px;
	margin: 0 auto;
}

.ms-component-wrapper .ms-gallery-header {
	margin-bottom: 32px;
	text-align: center;
}

.ms-component-wrapper .ms-gallery-title {
	margin: 0 0 12px 0;
	font-size: 28px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.5px;
}

.ms-component-wrapper .ms-gallery-subtitle {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	background: #f8fafc;
	padding: 6px 16px;
	border-radius: 100px;
	display: inline-block;
}

.ms-component-wrapper .ms-masonry-grid {

	column-count: 1;
	column-gap: 20px;
	width: 100%;
}

@media (min-width: 600px) {
	.ms-component-wrapper .ms-masonry-grid {
		column-count: 2;
	}
}

@media (min-width: 900px) {
	.ms-component-wrapper .ms-masonry-grid {
		column-count: 3;
	}
}

.ms-component-wrapper .ms-masonry-item {

	break-inside: avoid;
	margin-bottom: 20px;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	background: #f1f5f9;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.05),
		0 2px 4px -2px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.ms-component-wrapper .ms-masonry-item:hover {
	transform: translateY(-4px);
	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.ms-component-wrapper .ms-masonry-item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ms-component-wrapper .ms-masonry-item:hover img {
	transform: scale(1.03);
}