.dd-section-gallery:not([style*="--background:transparent"]) {
	padding-top: 10px;
}
.dd-section-gallery .dd-container {
	gap: 10px;
	columns: 4;
}
.dd-section-gallery:has(.dd-container.is-full-width) {
	padding-inline: 10px;
	box-sizing: border-box;
}

.masonry-brick {
	break-inside: avoid;
	margin-bottom: 10px;
}

.masonry-brick img {
	width: 100%;
	height: auto;
}

.dd-section-gallery:last-child {
	padding-bottom: 10px;
}

@media only screen and (max-width: 600px) {
	.dd-section-gallery .dd-container {
		columns: 3;
	}
}

@media only screen and (max-width: 450px) {
	.dd-section-gallery .dd-container {
		columns: 2;
	}
}
