/* Layout fixes for Virtue 3.x - recreates the legacy white content box */
.wrap.contentclass {
	background: transparent;
}
body:not(.home) .wrap.contentclass > #content.container {
	background: #fff;
	margin-top: 35px;
	padding-top: 15px;
	padding-bottom: 30px;
}

/* "Galériák" overview grid */
.acfh-albums {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 20px;
}
.acfh-album {
	display: block;
	text-align: center;
	color: #1f7d79;
}
.acfh-album img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 6px;
}
.acfh-album-title { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 17px; }
.acfh-album-count { display: block; font-size: 12px; color: #777; }
/* wpautop inserts <br>/<p> between grid items - neutralise them */
.acfh-albums br { display: none; }
.acfh-albums p { display: contents; margin: 0; }

/* Oktatóink (page 2074): legacy rules re-targeted to the new markup */
.page-id-2074 .oktatok-container {
	width: 90%;
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.page-id-2074 .oktatok-container::after {
	content: "";
	display: block;
	clear: both;
}
.page-id-2074 .oktatok-container p {
	width: 110px;
	height: 161px;
	float: left;
	text-align: center;
	margin: 0 7px;
}
.page-id-2074 .oktatok-container p img {
	margin-left: auto;
	margin-right: auto;
}
