.sub h2 {font-size: 2.4rem}
.sub h3 {font-size: 2rem}
.sub h4 {font-size: 1.875rem}
.sub h5 {font-size: 1.3125rem}


.sub .navbar {
	position: sticky;
	background-color: #fff;
}



.container .container {
	margin: 0;
	width: 100%;
	max-width: 100%;
}

.decorated-image::before {
	bottom: -60px;
	left: -30px;
}

.decorated-image::after {
	top: -30px;
	right: -60px;
}

.decorated-image img {
	max-width: 100%;
	aspect-ratio: 1/1;
}

a {text-decoration: none;}

[href*="tel"] img {transition: transform .3s;}
[href*="tel"]:hover img {
	transform: scale(1.1);
}

header .md\:w-6-12:last-of-type {padding-left: 60px;}

.btn + .btn {margin-left: 15px;}

.btn {font-weight: bold;}

.btn.alt {
	background: none;
	color: var(--primary);
	border: 2px solid var(--primary);
}

#produkty {
	background: url(/assets/img/sub-produkty-bg.svg) right no-repeat;
}

.card {margin-bottom: 30px;}

article, aside {
	padding-top: calc(var(--sectionPadding) / 2);
}

.post-thumbnail {
	border-radius: 60px 0;
}

.lead {margin-top: 0;}

/*
aside .card-image {
	border-radius: 0;
} */

aside .card-image img {
	display: block;
	object-fit: cover;
	aspect-ratio: 4/3;
	height: auto;
}

aside .card-title {
	font-size: var(--h6);
	text-align: left;
}

.sub h1 {
	margin-top: 0;
	margin-bottom: 30px;
	font-size: var(--h3);
	line-height: 1.1;
}

aside h4 {
	font-size: var(--h5);
	margin-top: 0;
}

aside .nav {
	margin: 0;
	padding: 0;
	width: 100%;
}

aside .nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

aside .nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height: 1.3;
	padding: 10px 25px;
	text-decoration: none;
	border-left: 2px solid var(--borderColor);
	transition: all .2s;
	color: var(--textColor);
}

aside .nav a:hover,
asde .nav .active > a,
aside .nav a.active {
	border-left-color: var(--primary);
}

aside .nav a:hover {
	padding-left: 30px;
	padding-right: 20px;
}

asde .nav .active > a,
aside .nav a.active {color: var(--primary);}


.gallery a {
	overflow: hidden;
}

.gallery img {
	display: block;
	width: 100%;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}


.downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, .2);
}

.downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

.download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
	filter: grayscale(1);
}

.downloads .size {
	opacity: .6;
	font-size: 0.875rem;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

.downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}




/*

			M E D I A
			Q U E R I E S

*/



@media screen and (max-width: 1022px) {

	header {
		padding: 30px 0 !important;
	}

	header p {
		font-size: 1.1rem;
	}

	header .decorated-image {margin-top: 50px;}

	.decorated-image::before {
		bottom: 0;
		left: 0;
	}

	.decorated-image::after {
		top: 0;
		right: 0;
	}

	.decorated-image img {
		max-width: 100%;
		aspect-ratio: 1/1;
		margin: 0 auto;
	}

	header .md\:w-6-12:last-of-type {
		padding-left: 0;
	}
}


@media screen and (max-width: 760px) {
	.decorated-image img {
		transform: translateX(0);
	}
}


@media screen and (max-width: 590px) {
	.download-icon, .downloads .size {display: none;}

	.downloads a {
		padding: 15px;
	}

	.downloads .text {
		margin-left: 15px;
	}

	.downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	.downloads a img:not(.download-icon) {
		height: 30px;
	}
}

@media screen and (max-width: 479px) {
	.gallery a {margin-bottom: 30px;}

	header h1 {
		display: block !important;
	}

	.sub h1 {font-size: var(--h4)}
	.sub h2 {font-size: var(--h4)}
	.sub h3 {font-size: var(--h5)}
	.sub h4 {font-size: var(--h6)}
	.sub h5 {font-size: var(--h6)}
}