/* Prace ziemne brand overrides */

:root {
	--praceziemne-yellow: #f5b72c;
	--praceziemne-yellow-dark: #d99411;
	--praceziemne-ink: #182229;
	--praceziemne-slate: #26343b;
	--praceziemne-paper: #f3f1ec;
}

body {
	background: var(--praceziemne-ink);
}

body, input, select, textarea {
	font-family: "Open Sans", Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Oswald", "Open Sans", Helvetica, sans-serif;
}

#header {
	background: var(--praceziemne-ink);
}

#header h1 a {
	color: var(--praceziemne-yellow);
	font-family: "Oswald", "Open Sans", Helvetica, sans-serif;
	font-size: 1.05em;
	letter-spacing: 0.12em;
}

#header nav > ul > li > a {
	font-weight: 600;
}

#banner {
	background: linear-gradient(90deg, rgba(24, 34, 41, 0.96) 0%, rgba(24, 34, 41, 0.68) 52%, rgba(24, 34, 41, 0.3) 100%), url("../../images/banner.jpg") center center / cover no-repeat;
	text-align: left;
}

#banner .inner {
	margin: 0 auto;
	max-width: 68em;
	padding: 0 4em;
	width: 100%;
}

#banner h2 {
	color: var(--praceziemne-yellow);
	font-size: 2.25em;
	letter-spacing: 0.14em;
}

#banner h2:before,
#banner h2:after {
	background: var(--praceziemne-yellow);
}

#banner p {
	font-size: 1.05em;
	line-height: 1.9em;
}

#banner .actions {
	justify-content: flex-start;
}

#banner:after {
	background: var(--praceziemne-ink);
}

#menu {
	background: var(--praceziemne-ink);
}

#menu ul li a:hover {
	color: var(--praceziemne-yellow);
}

.button.primary,
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary {
	background-color: var(--praceziemne-yellow) !important;
	color: var(--praceziemne-ink) !important;
}

.button.primary:hover,
input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover {
	background-color: #ffd369 !important;
}

.wrapper.style1 {
	background: var(--praceziemne-yellow);
	color: var(--praceziemne-ink);
}

.wrapper.style1 h2,
.wrapper.style1 h3,
.wrapper.style1 h4,
.wrapper.style1 h5,
.wrapper.style1 h6,
.wrapper.style1 strong,
.wrapper.style1 b {
	color: var(--praceziemne-ink);
}

.wrapper.style1 header.major p {
	color: rgba(24, 34, 41, 0.8);
}

.wrapper.style1 .icon.major {
	color: var(--praceziemne-ink);
}

.wrapper.style2 {
	background: var(--praceziemne-slate);
}

.wrapper.style3 {
	background: var(--praceziemne-paper);
	color: var(--praceziemne-ink);
}

.wrapper.style3 h2,
.wrapper.style3 h3,
.wrapper.style3 h4,
.wrapper.style3 h5,
.wrapper.style3 h6,
.wrapper.style3 strong,
.wrapper.style3 b {
	color: var(--praceziemne-ink);
}

.wrapper.style3 header.major p,
.wrapper.style3 .features li p {
	color: #4b575d;
}

.wrapper.style3 .features li:before {
	color: var(--praceziemne-yellow-dark);
}

#cta {
	background: var(--praceziemne-yellow);
	color: var(--praceziemne-ink);
}

#cta h2,
#cta p {
	color: var(--praceziemne-ink);
}

#cta .button {
	box-shadow: inset 0 0 0 2px var(--praceziemne-ink);
	color: var(--praceziemne-ink);
}

#cta .button.primary {
	background: var(--praceziemne-ink) !important;
	color: var(--praceziemne-yellow) !important;
}

#footer {
	background: var(--praceziemne-ink);
}

#footer .icons a:hover {
	color: var(--praceziemne-yellow);
}

.footer-image {
	display: inline-block;
	width: 24em;
	max-width: 100%;
	height: auto;
	margin-left: 0.75em;
	vertical-align: middle;
}

#footer .copyright li:last-child {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25em;
}

@media screen and (max-width: 736px) {
	.footer-image {
		margin-left: 0;
		margin-top: 0.75em;
		width: 24em;
	}

	#footer .copyright li:last-child {
		display: block;
	}
}

@media screen and (max-width: 736px) {
	#banner {
		text-align: center;
	}

	#banner .inner {
		padding: 0 1.5em;
	}

	#banner .actions {
		justify-content: center;
	}
}

.gallery-section {
	background: var(--praceziemne-paper);
	color: var(--praceziemne-ink);
}

.gallery-intro {
	margin-bottom: 3em;
	text-align: center;
}

.gallery-intro h2,
.gallery-intro p {
	color: var(--praceziemne-ink);
}

.gallery-intro p {
	color: #4b575d;
}

.gallery-grid {
	display: grid;
	gap: 1.5em;
	grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 0.5em 1.5em rgba(24, 34, 41, 0.12);
	overflow: hidden;
}

.gallery-item a {
	display: block;
}

.gallery-item img {
	display: block;
	height: 15em;
	object-fit: cover;
	transition: transform 0.3s ease, opacity 0.3s ease;
	width: 100%;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	opacity: 0.82;
	transform: scale(1.03);
}

@media screen and (max-width: 980px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 736px) {
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-item img {
		height: 14em;
	}
}

.equipment-section {
	background: var(--praceziemne-paper);
	color: var(--praceziemne-ink);
}

.equipment-intro {
	margin-bottom: 3em;
	text-align: center;
}

.equipment-intro h2,
.equipment-intro p {
	color: var(--praceziemne-ink);
}

.equipment-intro p {
	color: #4b575d;
}

.equipment-list {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.equipment-card {
	align-items: stretch;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 0.5em 1.5em rgba(24, 34, 41, 0.12);
	display: flex;
	overflow: hidden;
}

.equipment-card:nth-child(even) {
	flex-direction: row-reverse;
}

.equipment-card .image {
	flex: 0 0 42%;
	margin: 0;
}

.equipment-card .image img {
	display: block;
	height: 100%;
	min-height: 18em;
	object-fit: cover;
	width: 100%;
}

.equipment-card .content {
	align-self: center;
	padding: 2.5em 3em;
}

.equipment-card .content h3 {
	color: var(--praceziemne-ink);
	margin-bottom: 0.75em;
}

.equipment-card .content p {
	color: #4b575d;
	margin-bottom: 0;
}

@media screen and (max-width: 736px) {
	.equipment-card,
	.equipment-card:nth-child(even) {
		flex-direction: column;
	}

	.equipment-card .image {
		flex-basis: auto;
	}

	.equipment-card .image img {
		height: 14em;
		min-height: 0;
	}

	.equipment-card .content {
		padding: 2em 1.5em;
		text-align: center;
	}
}
