﻿
.masonry {
	column-count: 2;
	column-gap: 1.5rem;
}

.masonry .item {
	/* prevent splitting across columns */
	break-inside: avoid;
	/* spacing between items */
	margin-bottom: 1.5rem;
	/* optional styling */
	padding: 1rem;
	background: #f9f9f9;
	border-radius: 4px;
}

.masonry .item h2 {
	margin-top: 0;
}

@media (max-width: 768px) {
	.masonry {
	  column-count: 1;
	}
}