/* DR Gallery — full-width masonry layout using CSS columns. */

.dr-gallery {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 3rem 1rem;
}

.dr-gallery__heading {
	text-align: center;
	margin-bottom: 1.5rem;
}

.dr-gallery__grid {
	columns: 4;
	column-gap: 0.5rem;
}

.dr-gallery__figure {
	margin: 0 0 0.5rem;
	overflow: hidden;
	border-radius: 6px;
	line-height: 0;
	break-inside: avoid;
}

.dr-gallery__figure img {
	width: 100%;
	display: block;
	transition: transform 0.3s ease;
}

.dr-gallery__figure:hover img {
	transform: scale(1.03);
}

.dr-gallery__link {
	display: block;
}

@media (max-width: 1024px) {
	.dr-gallery__grid {
		columns: 3;
	}
}

@media (max-width: 640px) {
	.dr-gallery__grid {
		columns: 2;
	}
}
