/**
 * Masonry Gallery Component
 * True CSS masonry layout using columns
 * No title, no border-radius - matches Figma design
 */

/* ============================================
   Masonry Gallery Container
   ============================================ */

.masonry-gallery {
	margin-bottom: 64px;
}

/* ============================================
   True Masonry Layout with CSS Columns
   ============================================ */

.masonry-gallery__grid {
	column-count: 3;
	column-gap: 16px;
}

.masonry-gallery__item {
	break-inside: avoid;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	background: var(--color-gray-light, #F8F9FB);
}

/* No hover effects - clean design */
.masonry-gallery__item:hover .masonry-gallery__image {
	opacity: 0.95;
}

.masonry-gallery__image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

/* ============================================
   Responsive: Tablet (1024px)
   ============================================ */

@media (max-width: 1024px) {
	.masonry-gallery__grid {
		column-count: 2;
		column-gap: 12px;
	}

	.masonry-gallery__item {
		margin-bottom: 12px;
	}
}

/* ============================================
   Responsive: Mobile (768px)
   ============================================ */

@media (max-width: 768px) {
	.masonry-gallery {
		margin-bottom: 48px;
	}

	.masonry-gallery__grid {
		column-count: 2;
		column-gap: 8px;
	}

	.masonry-gallery__item {
		margin-bottom: 8px;
	}
}

/* ============================================
   Responsive: Mobile (375px)
   ============================================ */

@media (max-width: 375px) {
	.masonry-gallery__grid {
		column-count: 1;
		column-gap: 0;
	}

	.masonry-gallery__item {
		margin-bottom: 8px;
	}
}
