.sub .header-top {
	height: 450px;
}

.sub .header-top::after {
	background-size: 100vw auto;
}

.sub header .swiper-slide img {
	width: 100vw;
	height: 450px;
	object-fit: cover;
	object-position: center;
}


.sub h1 {
	 font-size: 3.0625rem;
	 margin-top: 0;
	 margin-bottom: 40px;
}


.sub main {
	padding: var(--sectionPadding) 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: 15px 25px;
	border-left: 2px solid var(--borderColor);
	transition: all .2s;
	color: var(--textColor);
}

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

aside .nav a:hover {
	padding: 15px 20px 15px 30px;
}

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

.card-date {
	opacity: .5;
}

aside .card {
	margin-bottom: 30px;
}

aside .card-image {
	width: 100px;
	margin-right: 20px;
}

aside .card-image::after {display: none;}

aside .card-title {
	margin: 0 0 5px;
	line-height: 1.1;
}


.gallery a {
	/* width: 276px; */
	overflow: hidden;
	border-radius: var(--borderRadius);
	margin-bottom: 10px;
}

.gallery img {
	transition: all var(--fastSpeed) var(--easeOutBack);
}

.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);
	border-radius: var(--borderRadius);
	box-shadow: 0 0 20px hsla(0, 0%, 0%, .1);
}

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

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

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

.kontaktowa main {
	padding: 0;
}


.masonry .grid-sizer,
.masonry a {
	width: calc(25% - 8px);
}

.masonry a {
	margin-bottom: 10px;
}

.masonry img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}


article+aside h4 {
	margin-bottom: 40px;
}

.card-image {
	overflow: hidden;
}

.card-image img {
	transition: transform .5s ease;
}

.card-image:hover img {
	transform: scale(1.1);
}

.card-title {
	margin: 25px 0 5px;
}

.card-title--link {
	color: var(--titleColor);
	transition: color .2s;
}

.card-title--link:hover {
	color: var(--primary);
}


@media screen and (max-width: 1023px) {
	.sub header .swiper-slide img {
		height: 300px;
	}

	:root {
		--sectionPadding: 50px;
	}

	.sub aside {display: none;}

	.masonry .grid-sizer, .masonry a {
		width: calc(33.333% - 8px);
	}
}

@media screen and (max-width: 640px) {
	.masonry .grid-sizer, .masonry a {
		width: calc(50% - 8px);
	}
}

@media screen and (max-width: 480px) {
	.sub h1 {font-size: var(--h2);}
	.sub h2 {font-size: var(--h3);}
	.sub h3 {font-size: var(--h4);}
	.sub h4 {font-size: var(--h5);}
	.sub h5 {font-size: var(--h6);}
}

@media screen and (max-width: 414px) {
	.sub header .swiper-slide img {
		height: 250px;
	}

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

	.masonry .grid-sizer, .masonry a {
		width: 100%;
	}

	.zgoda {
		flex-direction: column;
		align-items: flex-end;
	}
}

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

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