@charset "UTF-8";

:root,
[data-bs-theme="light"] {
	--font: "Outfit", system-ui, sans-serif;

	--primary-color: #ef4828;
	--primary-color-light: hsl(from var(--primary-color) h s calc(l + 10));
	--primary-color-dark: hsl(from var(--primary-color) h s calc(l - 10));

	--xxl: 5rem;
	--xl: calc(var(--xxl) / 2);

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 239, 72, 40;

	--bs-light: #f5f5f5;
	--bs-light-rgb: 245, 245, 245;

	--bs-dark: hsl(0 0% 0%);
	--bs-dark-rgb: 0, 0, 0;

	--bs-secondary-color: hsl(0 0% 50%);

	--bs-body-color: var(--bs-dark);
	--bs-border-color: hsl(247 16% 89%);

	--orange: hsl(30 86% 56%);
	--pink: hsl(336 86% 56%);
	--green: hsl(177 100% 34%);

	--special-color-1: #ad262d;
	--special-color-2: #e91e22;
	--special-color-3: #f17a1c;

	--h1: clamp(2.075rem, 2.075rem + ((1vw - 0.2rem) * 1.333), 2.9875rem);
	--h2: clamp(1.725rem, 1.725rem + ((1vw - 0.2rem) * 1.333), 2.4875rem);
	--h3: clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 1.333), 2.075rem);
	--h4: clamp(1.2rem, 1.2rem + ((1vw - 0.2rem) * 1.333), 1.725rem);
	--h5: clamp(1.15rem, 1.15rem + ((1vw - 0.2rem) * 1.333), 1.4375rem);
	--h6: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 1.2rem);
	--lead: var(--h5);
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 2px;
}

[x-cloak] {
	display: none !important;
}

body {
	font-family: var(--font);
	line-height: 1.7;
	background-color: white;
	padding-top: 168px;
}

.sub {
	padding-top: 193px;
}

.sub {
	--bs-body-color: var(--bs-dark);
}

td,
th {
	color: var(--bs-body-color) !important;
}

.orange-bg {
	background-color: var(--orange);
}

.pink-bg {
	background-color: var(--pink);
}

.green-bg {
	background-color: var(--green);
}

.special-color-1 {
	background-color: var(--special-color-1);
}
.special-color-2 {
	background-color: var(--special-color-2);
}
.special-color-3 {
	background-color: var(--special-color-3);
}

.home main .orange-bg,
.home main .pink-bg,
.home main .green-bg {
	color: white;

	& .bg-light {
		color: var(--bs-body-color) !important;
	}
}

.semibold,
b,
strong {
	font-weight: 600 !important;
}

.font-size-12px {
	font-size: 0.75rem;
}

.font-size-14px {
	font-size: 0.875rem;
}

.font-size-16px {
	font-size: 1rem;
}

.font-size-18px {
	font-size: 1.125rem;
}

.font-size-20px {
	font-size: 1.25rem;
}

.font-size-22px {
	font-size: 1.375rem;
}

.font-size-24px {
	font-size: 1.5rem;
}

.font-size-26px {
	font-size: 1.625rem;
}

.font-size-28px {
	font-size: 1.75rem;
}

.font-size-30px {
	font-size: 1.875rem;
}

.font-size-32px {
	font-size: 2rem;
}

.font-size-34px {
	font-size: 2.125rem;
}

.font-size-36px {
	font-size: 2.25rem;
}

.font-size-38px {
	font-size: 2.375rem;
}

.font-size-40px {
	font-size: 2.5rem;
}

.font-size-42px {
	font-size: 2.625rem;
}

.font-size-44px {
	font-size: 2.75rem;
}

.font-size-46px {
	font-size: 2.875rem;
}

.font-size-48px {
	font-size: 3rem;
}

.font-size-50px {
	font-size: 3.125rem;
}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px,
[src*="_72px"] {
	width: 72px;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font);
	margin-bottom: 1rem;
	font-weight: 600;
	color: var(--bs-dark);
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
}

h2,
.h2 {
	font-size: var(--h2) !important;
}

h3,
.h3 {
	font-size: var(--h3) !important;
}

h4,
.h4 {
	font-size: var(--h4) !important;
}

h5,
.h5 {
	font-size: var(--h5) !important;
}

h6,
.h6 {
	font-size: var(--h6) !important;
}

.lead {
	font-size: var(--lead);
}

.container-fluid {
	padding-inline: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 5rem);
}

@media (min-width: 1536px) {
	.container {
		max-width: 1470px;
	}
}

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

.inset-0 {
	inset: 0;
}

.p-xxl {
	padding: var(--xxl);
}

.p-xl {
	padding: var(--xl);
}

.px-xxl {
	padding-inline: var(--xxl);
}

.px-xl {
	padding-inline: var(--xl);
}

.pt-xxl {
	padding-top: var(--xxl);
}

.pb-xxl {
	padding-bottom: var(--xxl);
}

.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}

.mt-xxl {
	margin-top: var(--xxl);
}

.mb-xxl {
	margin-bottom: var(--xxl);
}

.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {
	padding-top: var(--xl);
}

.pb-xl {
	padding-bottom: var(--xl);
}

.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}

.mt-xl {
	margin-top: var(--xl);
}

.mb-xl {
	margin-bottom: var(--xl);
}

.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

#main ol li ul {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
}

#main ol li + li {
	margin-top: 0.25rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 0;
	--bs-navbar-active-color: var(--primary-color);
	--bs-navbar-nav-link-padding-x: 1rem;
	transition:
		box-shadow 200ms,
		transform 200ms;
	background-color: white;
}

.hidden-top.affix {
	transform: translateY(calc(-100% + 72px));
}

.navbar.affix {
	box-shadow: 0 0 2rem hsl(0 0% 0% / 0.15);
}

.affix.hidden-top .navbar-nav .nav-link {
	padding-top: 15px;
	padding-bottom: 15px;
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

.navbar-brand-image {
	height: 64px;
	flex-shrink: 0;
	transition: height 200ms;
}

.navbar-brand-text {
	font-size: clamp(1rem, 1.3vw, 1.375rem);
	line-height: 1.2;
	padding: 10px 0 10px 1.5rem;
	margin-left: 1.5rem;
	border-left: 1px solid var(--bs-border-color);
	color: var(--bs-dark);
	transition: font-size 200ms;
}

.affix .navbar-brand-text {
	font-size: clamp(0.75rem, 1vw, 1rem);
}

.navbar-icon {
	height: 24px;
}

.affix .navbar-brand-image {
	height: 48px;
}

.navbar-nav .nav-link {
	font-weight: 600;
	font-size: var(--h6);
	color: var(--bs-dark);
	transition: color 200ms;
	padding-top: 30px;
	padding-bottom: 30px;
	line-height: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	color: var(--primary-color);
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: 0.255em;
	vertical-align: 0;
	content: "";
	border: 0;
	width: 0.5rem;
	height: 0.5rem;
	background-image: url(../img/drop.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

.navbar .container {
	position: relative;
}

.navbar-nav > li > .dropdown-menu > li > a {
	font-size: var(--h6);
	font-weight: 600;
}

.dropdown-menu {
	border: 0;
	min-width: 280px;
	padding: 1.35rem 1.75rem;
	border-radius: 0;
	background-color: hsl(0 0% 100%);
	box-shadow: 0 0 1rem hsl(0 0% 0% / 0.15);
	opacity: 0;
}

.dropdown-menu.show {
	animation: fadeInDown 400ms ease forwards;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.dropdown-item {
	padding: 0.1rem 0;
	transition: color 200ms;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;

	&::after {
		content: "→";
		display: block;
		color: var(--primary-color);
		font-family: monospace;
		font-size: 1.5rem;
		opacity: 0;
		transform: translateX(-0.5rem);
		transition:
			opacity 200ms,
			transform 200ms;
	}
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--primary-color);
	background-color: transparent;
	border-bottom-color: var(--primary-color);

	&::after {
		opacity: 1;
		transform: translateX(0);
	}
}

.navbar-top .container {
	padding-top: 1rem;
	padding-bottom: 1rem;
	transition: padding 200ms;
}

.navbar-top a {
	text-decoration: none;
	color: var(--bs-dark);
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

p {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.dropdown-item {
	white-space: normal;
	line-height: 1.3;
}

.navbar-bottom {
	padding-top: 30px;
	padding-bottom: 30px;
	transition: padding 200ms;
}

.affix .navbar-bottom {
	padding-top: 10px;
	padding-bottom: 10px;
}

/*  MARK: header  */

.header-search {
	width: 100%;
	height: calc(100vh - 180px);
	/* background-image: url(../img/baner.webp);
	background-repeat: no-repeat;
	background-size: cover; */
	color: white;
	padding-bottom: 80px;

	& .form-control {
		color: black;
		background-color: white;
		border: 0;
		font-size: var(--h3);
		border-radius: 0.25rem 0 0 0.25rem;
	}

	& form button {
		background-color: var(--primary-color);
		border: 0;
		padding: 0.5rem 1.5rem;
		border-radius: 0 0.25rem 0.25rem 0;

		& img {
			filter: invert(1);
			transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
		}

		&:hover img,
		&:focus img {
			transform: scale(1.1);
		}
	}
}

.swiper__image {
	height: calc(100vh - 180px);
}

.search-toggler {
	button {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		font-weight: 400;
		border: 0;
		padding: 0.25rem 0.875rem;
		background-color: hsl(0 0% 100% / 0.5);
		backdrop-filter: blur(0.25rem);

		color: var(--bs-secondary-color);

		transition:
			color 200ms,
			background-color 200ms;

		&:hover,
		&:focus {
			background-color: hsl(0 0% 100% / 0.7);
		}

		&::before {
			content: "";
			display: block;
			width: 0.5rem;
			height: 0.5rem;
			border-radius: 50%;
			background-color: var(--bs-secondary-color);
			transition: background-color 200ms;
		}

		&.active {
			background-color: white;
			color: var(--bs-dark);

			&::before {
				background-color: var(--primary-color);
			}
		}
	}

	button:first-child {
		border-radius: 2rem 0 0 2rem;
	}

	button:last-child {
		border-radius: 0 2rem 2rem 0;
	}
}

.home header {
	position: relative;

	&::after {
		content: "";
		position: absolute;
		inset: auto 0 0 0;
		z-index: 10;
		height: 80px;
		background-image: url("../img/header-bottom.svg");
		background-position: center top;
		background-repeat: no-repeat;
		background-size: auto 100%;
	}
}

/*  MARK: main content */

.legimi {
	background-image: url(../img/lp-bg.webp);
	background-size: 60%;
	background-position: 70% 70%;
	background-repeat: no-repeat;
	background-color: #22194d;
}

.legimi h2 {
	color: white;
}

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1rem;
	--bs-btn-font-size: var(--h6);
	--bs-btn-font-weight: 600;
	--bs-btn-line-height: 1.3;
	--bs-btn-border-radius: 0.25rem;
}

.btn-primary {
	color: white !important;
	--bs-btn-bg: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color-light);
	--bs-btn-hover-border-color: var(--primary-color-light);
	--bs-btn-active-bg: var(--primary-color-dark);
	--bs-btn-active-border-color: var(--primary-color-dark);

	* {
		color: white !important;
	}
}

.btn-outline-primary {
	--bs-btn-color: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
}

p:last-child {
	margin-bottom: 0;
}

.card-body {
	padding: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 40px);
}

.orange-bg,
.pink-bg,
.green-bg {
	& .card-title-link {
		color: white;
		text-decoration: none;
		transition: opacity 200ms;

		&:hover,
		&:focus {
			opacity: 0.8;
			color: white;
		}
	}
}

.card-title-link {
	color: var(--bs-dark);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

.card {
	border: 0 !important;
}

.card[x-data] {
	cursor: pointer;
}

.card-img-top img {
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card[x-data]:hover,
.card-img-top:hover img {
	transform: scale(1.05);
}

.tag.badge {
	font-weight: 500;
	font-size: 1rem;
	border: 1px solid var(--bs-border-color);
}

.btn:has(img) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

#news .swiper,
#wydarzenia .swiper {
	padding-bottom: 3.5rem;

	& .swiper-slide {
		height: auto !important;
	}

	& .swiper-wrapper {
		align-items: stretch !important;
	}
}

#news .swiper-pagination,
#wydarzenia .swiper-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.25rem;
}

#news .swiper-pagination-bullet,
#wydarzenia .swiper-pagination-bullet {
	width: 0.75rem;
	height: 0.75rem;
	background-color: hsl(0 0% 0% / 0.5);
	transition:
		background-color 200ms,
		width 200ms,
		height 200ms;
}

#news .swiper-pagination-bullet-active,
#wydarzenia .swiper-pagination-bullet-active {
	background-color: var(--primary-color);
	width: 1rem;
	height: 1rem;
}

#news .swiper,
#wydarzenia .swiper {
	overflow: visible;
}

#news .container,
#wydarzenia .container {
	&::before {
		content: "";
		display: block;
		width: 150px;
		height: 100%;
		background-image: linear-gradient(
			to left,
			hsl(0 0% 100% / 0),
			var(--bs-light)
		);
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		pointer-events: none;
	}

	&::after {
		content: "";
		display: block;
		width: 150px;
		height: 100%;
		background-image: linear-gradient(
			to right,
			hsl(0 0% 100% / 0),
			var(--bs-light)
		);
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		pointer-events: none;
	}

	& .swiper-button-prev,
	& .swiper-button-next {
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background-image: url(../img/prev.svg);
		padding: 0;
		box-shadow: 0 0 1rem hsl(0 0% 0% / 0.15);

		transition: transform 200ms;

		&:active {
			transform: scale(0.9) !important;
		}

		&::before,
		&::after {
			display: none;
		}
	}

	& .swiper-button-next {
		background-image: url(../img/next.svg);
	}

	& .swiper-button-prev:hover {
		transform: translateX(-3px);
	}

	& .swiper-button-next:hover {
		transform: translateX(3px);
	}
}

#news .container {
	&::before {
		background-image: linear-gradient(to left, hsl(0 0% 100% / 0), white);
	}

	&::after {
		background-image: linear-gradient(to right, hsl(0 0% 100% / 0), white);
	}
}

.enlarge {
	height: 64px !important;
	width: 64px !important;
	background: #041e5869;
	padding: 16px;
	backdrop-filter: blur(12px);
	border-radius: 50%;
	top: 50%;
}

.biblioteka-images {
	width: 100%;
	aspect-ratio: 1/1;

	& .biblioteka-image-wrapper-1,
	& .biblioteka-image-wrapper-2,
	& .biblioteka-image-wrapper-3 {
		border-radius: 0.75rem;
		overflow: hidden;
	}
}

.biblioteka-image-wrapper-1 {
	position: relative;
	z-index: 1;
	width: 63.33%;
	height: auto;
	aspect-ratio: 1/1;
}

.biblioteka-image-1,
.biblioteka-image-2,
.biblioteka-image-3 {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
}

.biblioteka-image-wrapper-2 {
	position: absolute;
	top: 5%;
	right: 5%;
	z-index: 2;
	width: 26.67%;
	height: auto;
	aspect-ratio: 1/1;
}

.biblioteka-image-wrapper-3 {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 3;
	width: 63.33%;
	height: auto;
	aspect-ratio: 1/1;
}

p:has(.btn:only-child) {
	margin-top: 1.5rem;
}

#banery a {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 286/132;

	& img.position-relative {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	& span + img {
		transition: transform 300ms;
	}

	&:hover,
	&:focus {
		& img.position-relative {
			transform: scale(1.1);
		}

		& span + img {
			transform: rotate(45deg);
		}
	}

	& .position-absolute {
		padding: 1.5rem;
		background-color: hsl(0 0% 0% / 0.5);

		& .h5 {
			color: white;
			margin: 0;
		}
	}
}

#marki a img {
	width: 100%;
	max-height: 105px;
	object-fit: contain;
}

blockquote {
	margin: 1em 0;
	padding: 0 0 0 1em;
	border-left: 0.25em solid var(--bs-border-color);
	font-size: var(--h5);
}

/*  MARK: stopka */

footer h2 {
	color: white !important;
	margin-bottom: 1.5rem !important;
}

footer table td {
	background-color: transparent !important;
	color: white !important;
	border-color: hsl(0 0% 100% / 0.25);
}

footer .accordion-item {
	background-color: transparent !important;
	border: 0 !important;
	color: white !important;
}

footer .accordion-button {
	background-color: transparent !important;
	color: white !important;
	border-radius: 0 !important;
	border-bottom: 1px solid hsl(0 0% 100% / 0.25);
}

.accordion-button::after {
	filter: grayscale(1) brightness(0) invert(1);
}

footer a {
	text-decoration: none;
	color: white;
	transition: color 200ms;
}

footer a:hover,
footer a:focus {
	color: var(--primary-color-light);
}

.madeby {
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
}

.footer-logo {
	& img {
		height: 64px;
	}

	& span {
		font-size: 1.625rem;
	}
}

/* MARK: kontakt */



/*  MARK: sub content  */

.sub {
	background-color: white !important;
}

#breadcrumb a {
	color: var(--bs-secondary-color);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

#breadcrumb .breadcrumb-item.active {
	color: var(--bs-dark);
}

main:has(#sub-pages:last-of-type) {
	padding-bottom: 0;
}

aside .list-group-item {
	border: 0 !important;
	padding-inline: 0 !important;
	transition:
		color 200ms,
		transform 200ms;

	&:hover,
	&:focus {
		color: var(--bs-dark);
		transform: translateX(3px);
	}
}

aside .active {
	background-color: transparent !important;
	color: var(--primary-color) !important;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 0.75rem;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: 0.25rem;
	transition:
		color 200ms,
		border-color 200ms;
}

.downloads a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-control,
.form-check-input {
	border-radius: 0.25rem;
	background-color: var(--bs-light);
	border-color: var(--bs-light);
	color: var(--bs-dark);
	padding: 0.75rem;

	&:hover,
	&:focus {
		border-color: var(--primary-color);
	}
}

.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-check-input + label {
	margin: 5px 0 0 15px;
}

.form-control.error {
	border-color: red;
}

textarea {
	min-height: 12em !important;
}

.error-msg {
	color: red;
}

aside .nav-link {
	padding-left: 0;
	padding-right: 0;
	color: var(--bs-dark);
	transition:
		color 200ms,
		transform 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
		transform: translateX(3px);
	}

	&.active {
		color: var(--primary-color);
	}
}

aside .nav-item + .nav-item > .nav-link {
	border-top: 1px solid var(--bs-border-color);
}

.news-header-img {
	aspect-ratio: 16/10;
}

#galeria_bez_miniatur img {
	border-radius: 0.75rem;
}

.news-aside {
	border-left: 1px solid var(--bs-border-color);
}

/*  MARK: paginator  */

.pagination {
	display: flex;
}

.pagination li {
	display: none;
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block;
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all 0.2s;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 500;
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	cursor: text;
}

.pagination .insertPage + .insertPage {
	display: none;
}

article img {
	max-width: 100%;
	height: auto;
	display: block;
}

main {
	overflow: hidden;
}

.card.shadow {
	box-shadow: 0 0.25rem 3.75rem hsl(219 36% 15% / 0.12) !important;
}

.no-wrap {
	white-space: nowrap;
}

.breadcrumb-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	height: 100%;
	width: 3rem;
	background-image: linear-gradient(to right, transparent, var(--bs-light) 80%);
	pointer-events: none;
	touch-action: none;
}

#breadcrumb {
	padding-bottom: 0 !important;
	overflow-x: auto;
}

.breadcrumb {
	padding-bottom: 1rem;
	flex-wrap: nowrap;
	width: max-content;
	font-size: 0.75rem;
	padding-right: 1.5rem;
}

.breadcrumb-item {
	display: inline;
	white-space: nowrap;
}

/*  MARK: RWD  */

@media (max-width: 1599px) {
	.navbar-nav .nav-link {
		font-size: 1rem;
	}
}

@media (max-width: 1399px) {
	.navbar {
		--bs-navbar-nav-link-padding-x: 0.5rem;
	}

	.hidden-top.affix {
		transform: translateY(calc(-100% + 68px));
	}

	.navbar-brand-image {
		height: 45px;
	}

	.navbar-brand-text {
		margin-left: 1rem;
		padding-left: 1rem;
	}

	.navbar-nav .nav-link {
		font-size: 1rem;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media (max-width: 1199px) {
	.navbar-nav .nav-link {
		color: white;
		padding-top: 10px;
		padding-bottom: 10px;

		&:hover,
		&:focus,
		&.active,
		&.show {
			color: hsl(0 0% 100% / 0.7);
		}
	}

	.dropdown-toggle::after {
		filter: invert(1);
	}

	.dropdown-menu {
		gap: 10px;
	}

	.katalog-link {
		color: white;
		text-decoration: none;

		& img {
			filter: brightness(0) invert(1);
		}
	}

	.bip-link {
		filter: brightness(0) invert(1);
	}

	.navbar-brand-image {
		height: 46px;
	}

	.navbar-brand-text {
		font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 1.25rem);
	}

	.navbar-bottom .container {
		border-top: 0;
	}

	body {
		padding-top: 82px;
	}

	.sub {
		padding-top: 106px;
	}

	footer {
		text-align: center;

		& .d-flex {
			justify-content: center;
		}

		& td:first-child {
			text-align: left;
		}

		& td:last-child {
			text-align: right;
		}
	}

	.madeby {
		text-align: center;
		justify-content: center;
	}

	footer .text-end {
		text-align: center !important;
	}

	footer .col-lg-3 + .col-lg-3 {
		margin-top: 2rem;
	}

	.navbar-search .form-control {
		width: 100%;
		padding: 0.875rem;
		font-size: 1.125rem;
	}

	.offcanvas {
		height: 100dvh !important;
	}

	.hidden-top.affix {
		transform: translateY(0);
	}

	.godz-mobile,
	.katalog-mobile {
		& img {
			filter: brightness(0) invert(1);
		}

		& a {
			color: white;
			text-decoration: none;
		}
	}
}

@media (max-width: 991px) {
	#oferta .card-img-top img {
		height: auto;
		/* aspect-ratio: 16/10; */
		aspect-ratio: 21/9;
		object-position: top;
		object-fit: cover;
	}

	.sub article {
		order: 1;
	}
	.sub aside {
		order: 2;

		& .list-group-item {
			padding-top: 0.25rem;
			padding-bottom: 0.25rem;
			border-top: 1px solid var(--bs-border-color) !important;

			&:last-child {
				border-bottom: 1px solid var(--bs-border-color) !important;
			}
		}
	}

	.card-body {
		padding: 2rem !important;
	}
}

@media (max-width: 767px) {
	#banery a {
		aspect-ratio: 21/4;
	}
}

@media (max-width: 575px) {
	:root {
		--xxl: 3rem;
	}

	.container-fluid,
	.container {
		padding-inline: 1.5rem;
	}

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

	.navbar-brand-image {
		height: 40px;
	}

	.affix .navbar-brand-image {
		height: 30px;
	}

	.navbar-brand-text {
		font-size: 0.875rem;
		padding-top: 7px;
		padding-bottom: 7px;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none !important;
	}

	#news .container,
	#wydarzenia .container {
		&::before,
		&::after {
			display: none;
		}
	}

	#marki .d-flex {
		flex-wrap: wrap;
	}

	#marki a {
		flex-basis: 33%;
	}

	.header-search {
		height: 50vh;
		min-height: 400px;
		padding-top: 30px;
		padding-bottom: 150px;

		.col-lg-7 {
			width: 100%;
		}
	}
}

@media (max-width: 399px) {
	.navbar-brand-image {
		height: 35px;
	}

	.affix .navbar-brand-image {
		height: 27px;
	}

	.navbar-brand-text {
		font-size: 0.75rem;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.search-toggler {
		& button {
			gap: 0.25rem;
			padding: 0.25rem 0.75rem;
			font-size: 0.875rem;
		}
	}

	.header-search .form-control {
		font-size: 1rem;
	}
}
