/*
 * Homepage gallery and narrow layout repairs.
 *
 * The no-script rules remain as a safe fallback. The live gallery itself uses
 * the already-installed Simply Gallery lightbox component.
 */
.home .pgc-sgb-cb > .sgb-preloader {
	display: none;
}

.home .it-about-style2 .it-btn br {
	display: none;
}

.home .pgc-sgb-cb > .simply-gallery-amp {
	display: block;
}

.home .pgc-sgb-cb > .simply-gallery-amp .sgb-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

.home .pgc-sgb-cb > .simply-gallery-amp .sgb-item {
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: hidden;
}

.home .pgc-sgb-cb > .simply-gallery-amp .sgb-item a {
	display: block;
	height: auto;
}

.home [data-gallery-id="82e84603"] {
	width: calc(100% - 30px);
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
}

.home #shortcode-3b9c4f79b1e3144c20d133b0040be62d {
	margin: 36px 0 56px;
	text-align: center;
}

.home .kontakt .fw-heading-center,
.home .kontakt .fw-special-title {
	text-align: center;
}

.home section.firme > .fw-container {
	width: calc(100% - 30px);
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
}

.home section.firme .about-imgbox .about-img .child-imgbox {
	transform: translateX(35px);
}

.home .pgc-sgb-cb > .simply-gallery-amp .sgb-item img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.home .pgc-sgb-cb > .simply-gallery-amp .sgb-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media (max-width: 600px) {
	.home .pgc-sgb-cb > .simply-gallery-amp .sgb-gallery {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-right: 15px;
		padding-left: 15px;
	}

	.home section.firme .about-imgbox .about-img .child-imgbox {
		transform: none;
	}
}
