/* Workshop gallery (templates/page-ergastirio.php) */
.be_hub {
	padding-bottom: 64px;
}

.be_hub-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 760px;
}

.be_hub-text {
	font: var(--be-lead);
	color: var(--be-color-body);
}

.be_gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.be_gallery-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.be_gallery-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.be_gallery-link:hover .be_gallery-img {
	opacity: 0.85;
}

.be_gallery-caption {
	font: var(--be-small);
	color: var(--be-dark-soft);
}

@media (max-width: 1100px) {
	.be_gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.be_gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.be_gallery-caption {
		font-size: 12px;
	}
}
