/* Homepage hero layout (live / and /mockup). Loaded after site-nav.css. */

.home-mock-banner {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 40;
	max-width: 16rem;
	margin: 0;
	background: #111;
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: left;
	padding: 0.65rem 0.8rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.home-mock-banner a {
	color: #f8cb19;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

body.-home section.section.home {
	height: auto !important;
	min-height: 0 !important;
}

body.-home section.section.home > .row {
	height: auto !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	padding-bottom: 0 !important;
}

body.-home .home-hero {
	margin: 1.25rem 0 0 !important;
}

body.-home .home-cols {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 0.7rem !important;
	height: 16rem !important;
	min-height: 16rem !important;
	max-height: 16rem !important;
}

body.-home a.home-tile.-contact-link {
	display: none !important;
}

body.-home .home-tile,
body.-home a.home-tile {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: 100% !important;
	display: block !important;
	position: relative !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body.-home .home-tile.-white {
	background-color: #eff1f3 !important;
}
body.-home .home-tile.-yellow {
	background-color: #5c5c5c !important;
}
body.-home .home-tile.-black {
	background-color: #000 !important;
}

body.-home .home-tile__media-wrap {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	z-index: 0 !important;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		transparent 22%,
		rgba(0, 0, 0, 0.12) 40%,
		rgba(0, 0, 0, 0.38) 55%,
		rgba(0, 0, 0, 0.72) 74%,
		#000 92%
	) !important;
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		transparent 22%,
		rgba(0, 0, 0, 0.12) 40%,
		rgba(0, 0, 0, 0.38) 55%,
		rgba(0, 0, 0, 0.72) 74%,
		#000 92%
	) !important;
	-webkit-mask-size: 100% 100% !important;
	mask-size: 100% 100% !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
}

body.-home .home-tile__media {
	width: 100% !important;
	height: 100% !important;
	opacity: 1 !important;
	object-fit: cover !important;
	object-position: right center !important;
}

body.-home .home-tile.-yellow .home-tile__media {
	object-fit: cover !important;
	object-position: right center !important;
}

body.-home .home-tile__body {
	position: relative !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 2 !important;
	width: 58% !important;
	max-width: 22rem !important;
	height: 100% !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	gap: 0.55rem !important;
	padding: 1.25rem 1.2rem 1.1rem 1.35rem !important;
	background: transparent !important;
}

body.-home .home-tile.-white .home-tile__body {
	color: #111 !important;
}
body.-home .home-tile.-yellow .home-tile__body,
body.-home .home-tile.-black .home-tile__body {
	color: #fff !important;
}

body.-home .home-tile__body .banner-numbers {
	font-size: 1.35rem !important;
	line-height: 1 !important;
}

body.-home .home-tile__title {
	margin: 0 !important;
	font-size: clamp(1.45rem, 1.8vw, 2.1rem) !important;
	line-height: 1.15 !important;
	overflow-wrap: break-word !important;
}

body.-home .home-tile__more {
	margin-top: auto !important;
	font-size: 0.6875rem !important;
}

body.-home section.section.home > .row .banner-contact {
	display: block !important;
	margin-top: 1.5rem !important;
	padding-top: 1.25rem !important;
	padding-bottom: 1.25rem !important;
}

body.-home footer,
body.-home section.section {
	margin: 0 0 0.375rem !important;
}

body.-home section.home-seo,
body.-home section.section.home + section.home-seo {
	padding-top: 1.25rem !important;
	padding-bottom: 2.75rem !important;
}

@media only screen and (min-width: 90.063em) {
	body.-home footer,
	body.-home section.section {
		margin: 0 0 0.375rem !important;
	}
}

@media only screen and (max-width: 59.99em) {
	body.-home .home-cols {
		flex-direction: column !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		gap: 0.55rem !important;
	}

	body.-home .home-tile,
	body.-home a.home-tile {
		height: 11.5rem !important;
		min-height: 11.5rem !important;
	}

	body.-home .home-tile__body {
		width: 64% !important;
		max-width: none !important;
		padding: 1.1rem 1rem 0.95rem 1.15rem !important;
		gap: 0.35rem !important;
	}

	body.-home .home-tile__body .banner-numbers {
		font-size: 1.05rem !important;
	}

	body.-home .home-tile__title {
		font-size: clamp(1.2rem, 5vw, 1.45rem) !important;
	}

	body.-home .home-tile__more {
		font-size: 0.625rem !important;
	}
}

@media only screen and (min-width: 75em) {
	body.-home .home-cols {
		height: 20rem !important;
		min-height: 20rem !important;
		max-height: 20rem !important;
	}

	body.-home .home-tile__body {
		padding: 2.15rem 1.75rem 1.75rem 2.15rem !important;
		gap: 1rem !important;
	}

	body.-home .home-tile__body .banner-numbers {
		font-size: 1.5rem !important;
	}

	body.-home .home-tile__title {
		font-size: clamp(1.7rem, 2vw, 2.25rem) !important;
	}

	body.-home .home-tile__more {
		font-size: 0.75rem !important;
	}
}

/* 1920×1080 i inne niskie okna: kafle niższe, cały H1 w kadrze. Wyższe ekrany zostają na 22rem. */
@media only screen and (min-width: 75em) and (max-height: 1080px) {
	body.-home .home-hero {
		margin-top: 0.75rem !important;
	}

	body.-home .home-cols {
		height: 10rem !important;
		min-height: 10rem !important;
		max-height: 10rem !important;
	}

	body.-home .home-tile__body {
		padding: 1.1rem 1.2rem 0.9rem 1.35rem !important;
		gap: 0.4rem !important;
	}

	body.-home .home-tile__body .banner-numbers {
		font-size: 1.05rem !important;
	}

	body.-home .home-tile__title {
		font-size: clamp(1.2rem, 1.4vw, 1.55rem) !important;
	}

	body.-home .home-tile__more {
		font-size: 0.625rem !important;
	}

	body.-home section.section.home > .row .banner-contact {
		margin-top: 0.55rem !important;
		padding-top: 0.45rem !important;
		padding-bottom: 0.45rem !important;
	}

	body.-home section.home-seo,
	body.-home section.section.home + section.home-seo {
		padding-top: 0.4rem !important;
		padding-bottom: 2rem !important;
	}

	body.-home .home-seo__content {
		padding: 1.15rem 1.75rem 1.25rem !important;
	}

	body.-home .home-seo__title {
		font-size: 1.5rem !important;
		line-height: 1.2 !important;
		margin-bottom: 0.65rem !important;
	}
}
