@import url('./_config.css');

div:empty:not(.reakcje :empty, .navbar-nav-more :empty, .fill:empty, .bar:empty) {display: none;}

nav + .r .flex {
	gap: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: var(--titleWeight)
}

b,
strong {
	font-weight: var(--boldWeight)
}

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

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

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

@media screen and (min-width: 1650px) {
	.container {
		max-width: 98%;
	}
}



.btn,
.sonda_section+.back {
	padding: .85em 1.5em;
	font-weight: 600;
	line-height: 1;
	border-radius: var(--borderRadius);
	background-color: var(--secondary);
	transition: all .25s;
	color: white !important;
	text-decoration: none !important;
}

.btn:hover,
.sonda_section+.back:hover {
	background-color: var(--secondary);
	filter: brightness(1.3);
}

.btn:focus,
.sonda_section+.back:focus {
	filter: none;
	background-color: var(--secondaryDark);
}

.btn-xs {
	flex-grow: 0;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
}

.card.over .card-body .btn-xs,
.card.horizontal .card-image .absolute .btn-xs {
	max-width: 40px;
}

.card.over .card-body .btn-xs img,
.card.horizontal .card-image .absolute .btn-xs img {
	width: auto !important;
}

.btn-lg {
	padding: 1.2em 2em;
}

.btn.alt {
	background-color: var(--bgLight);
	color: black !important;
}

.btn.alt:hover {
	background-color: var(--secondary);
	color: white !important;
}

.t-full {
	top: 100%;
}

.bg-primary-dark {
	background-color: var(--primaryDark);
}

.affix-visible {
	display: none;
}

.affix .affix-visible {
	display: flex;
}

.circle {
	aspect-ratio: 1/1;
}

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

.btn.w-full {
	justify-content: space-between;
	align-items: center;
}


.top-bar {
	background-color: hsl(220, 12%, 95%);
}

.top-bar ul {
	margin: 0;
	padding: 0;
}

.top-bar li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.top-bar li+li {
	margin-left: 10px;
}

.top-bar li a {
	text-decoration: none;
	color: var(--textColor);
	padding: 3px 5px;
	display: block;
	font-size: 0.875rem;
	transition: all .2s;
}

.top-bar li a:hover {
	color: var(--secondary);
}


/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	width: 100%;
	z-index: 999;
	position: sticky;
	top: 0;
	transition: all .3s;
	margin-bottom: 30px;
}

.affix {
	top: -130px;
}

.navbar-logo-image {
	display: block;
}

.navbar-bottom {
	height: 80px;
	display: flex;
	align-items: center;
}

.navbar-top input {
	font-size: 1rem !important;
	background: url(/assets/img/search.svg) right 1rem center no-repeat;
}

.has-dropdown .dropdown {
	width: 300px;
	padding: 15px;
	border-radius: 0 0 var(--borderRadius) var(--borderRadius);
	background-color: var(--primaryDark);
	top: calc(100% + 25px);
}




/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav>li:not(:first-child) {
	padding-left: var(--navMargin);
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav>li>a {
	color: hsl(0, 0%, 100%);
	font-size: 1.125rem;
	font-weight: 600;
	display: inline-flex;
	text-decoration: none;
	padding: 23.8px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}

.nav-dropdown>a::after {
	filter: invert(1);
}


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -102%;
	width: 100%;
	height: 6px;
	will-change: transform;
	background-color: var(--secondary);
	transition: all .2s var(--ease);
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
}

.navbar-nav .nav-active {
	color: white;
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	transition: all .3s var(--ease);
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: 600;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}

.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

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

.navbar-nav>li>.open,
.navbar-nav .nav-dropdown:not(:last-child):hover>ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover>ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0;
	left: 100%;
}


.navbar-nav>li:last-child>ul {
	left: auto;
	right: 0;
	top: calc(100% + 29px);
}

.navbar-nav>li:last-child>ul li {
	display: none;
}

.navbar-nav ul .nav-active {
	background-color: var(--secondary);
}


/* mobile menu */

.navbar-nav>li>.navbar-nav-more::before,
.navbar-nav>li>.navbar-nav-more::after {
	display: none;
}

.navbar-nav>li>.navbar-nav-more,
.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.navbar-nav>li:last-child {
	display: none;
}

.navbar-nav>li>.navbar-nav-more div,
.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.navbar-nav>li>.navbar-nav-more div {
	background-color: #fff;
}

.navbar-nav>li>.navbar-nav-more div:last-child,
.mobile-menu-toggler div:last-child {
	width: 100%;
}

.navbar-nav>li>.navbar-nav-more.active-toggler div:first-of-type,
.mobile-menu-toggler.active-toggler div:first-of-type {
	transform: rotate(-45deg);
}

.navbar-nav>li>.navbar-nav-more.active-toggler div:last-child,
.mobile-menu-toggler.active-toggler div:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.navbar-nav>li>.navbar-nav-more.active-toggler div:nth-of-type(2),
.mobile-menu-toggler.active-toggler div:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 600;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}





/*
			M A I N   S E C T I O N S
*/

.card:hover {
	cursor: pointer;
}

header .swiper-container {
	height: 100%;
}

header .swiper-slide .card,
header .swiper-slide .card-image {
	height: 100%;
}

header .swiper-slide .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

[src*="photo.svg"],
[src*="comments.svg"] {
	height: 12px !important;
	margin-right: 5px !important;
}

#polecamy {
	position: sticky;
	top: 77px;
	z-index: 100;
}

.affix+#polecamy .rounded {
	border-radius: 0 0 var(--borderRadius) var(--borderRadius);
}

.affix+#polecamy .rounded .polecamy-title {
	border-radius: 0 0 0 var(--borderRadius);
}

#polecamy .flex.relative::after {
	content: '';
	display: block;
	width: 200px;
	height: 100%;
	background: linear-gradient(to right, transparent, var(--bgLight));
	position: absolute;
	top: 0;
	right: 0;
	z-index: 20;
}

.polecamy-title {
	border-radius: var(--borderRadius) 0 0 var(--borderRadius);
	position: relative;
	z-index: 100;
}

.polecamy-title::after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-left-color: var(--secondary);

	position: absolute;
	right: -20px;
	top: calc(50% - 10px);
}

#polecamy .swiper-slide {
	width: auto;
}

#polecamy a {
	text-decoration: none;
	height: 40px;
	color: black;
	margin: 5px 0;
	padding: 0 30px;
	flex-wrap: nowrap;
	border-left: 1px solid var(--borderColor);
}

.card.over .card-body {
	background: linear-gradient(to bottom, transparent 40%, hsl(0, 0%, 0%, .9));
}

/* section .card.over .card-title {
	margin: 0 20px 20px 20px;
} */

.card.over .md\:p-30 .flex.justify-end {
	margin-top: -20px;
	margin-right: -20px;
}

.card-title {
	margin: 0;
}

.card.over .card-title--link {
	color: white;
	/* transition: opacity .3s; */
	text-shadow: 0 1px 2px hsl(0, 0%, 0%, .5), 0 0 6px hsl(0, 0%, 0%, .4);
}

.sm\:w-4-12 .card-title,
.grid .card.over .card-title,
.md\:w-4-12 section .card.over .card-title {
	font-size: var(--h5);
}

/* .card.over .card-title--link:hover {
	opacity: .7;
} */

.card.over .card-image {
	height: 100%;
	overflow: hidden;
	border-radius: var(--borderRadius);
}

.card.over .card-image img {
	height: 100%;
	object-fit: cover;
	transition: all var(--normalSpeed) var(--ease);
}

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


#wydarzenia h4 {
	margin-bottom: 15px;
}

.wydarzenie {
	padding: 8px 0;
	text-decoration: none;
	border-top: 1px solid var(--borderColor);
}

.wydarzenie:last-of-type {
	border-bottom: 1px solid var(--borderColor);
}

.wydarzenie-title {
	display: block;
	flex-grow: 1;
	flex-shrink: 1;
	width: calc(100% - 71px);
}

.sub .wydarzenie-title {
	line-height: 1.15;
}

.wydarzenie-title strong {
	line-height: 1.15;
	color: black;
	font-size: 1.15rem;
	transition: all .4s var(--ease);

	background-image: linear-gradient(var(--secondary) 0, var(--secondary) 100%);
	background-repeat: repeat-y;
	background-size: 0 0;
	background-position: 0 65%;
}

.wydarzenie:hover .wydarzenie-title strong {
	color: white;
	background-image: linear-gradient(var(--secondary) 0, var(--secondary) 100%);
	background-size: 100% 1em;
}

.wydarzenie-data {
	width: 45px;
	line-height: 1;
	color: white;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 15px;
}

.wydarzenie-data strong {
	font-size: 1rem;
}

.wydarzenie-data small {
	font-weight: 600;
}

.sub #wydarzenia .btn {
  padding: .85em 1.25em;
}


.section-title {
	border-bottom: 1px solid var(--borderColor);
	position: relative;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 6px;
	border-radius: 3px;
	background-color: var(--secondary);
	position: absolute;
	bottom: -3px;
	left: 0;
}

.section-title a,
.wiecej {
	color: var(--secondary);
}

.section-title a img,
.wiecej img {
	transition: all .3s ease;
}

.section-title a:hover img,
.wiecej:hover img {
	transform: translateX(5px);
}


.other-sections .card.over {
	margin-bottom: 30px;
}

.card.horizontal {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.card.horizontal .card-image {
	width: 110px;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: var(--borderRadius);
	margin-right: 20px;
}

.card.horizontal .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all var(--normalSpeed) var(--ease);
}

.card.horizontal .card-body p {
	margin-top: 10px;
	line-height: 1.4;
}

.card.horizontal .card-body p:last-of-type {
	margin-bottom: 0;
}

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

.card.horizontal .card-title--link {
	color: black;
	/* transition: color .2s; */

}

/* .card.horizontal:hover .card-title--link {
	color: var(--secondary);
} */

.other-links {
	margin: 30px 0 0 0;
	padding: 0;
	width: 100%;
}

.other-links li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.other-links a {
	padding: 20px 0;
	border-top: 1px solid var(--borderColor);
	color: black;
	font-weight: 600;
	font-size: 1.125rem;
	transition: color .2s;
	display: block;
	line-height: 1.3;
}

.other-links a:hover {
	color: var(--secondary);
}

.other-links li:last-child a {
	border-bottom: 1px solid var(--borderColor);
}


.md\:w-6-12 .card.horizontal .card-image {
	/* width: 185px; */
	width: 40%;
	flex-shrink: 0;
	aspect-ratio: 12/10;
}

/* .md\:w-6-12 .card.horizontal+.card.horizontal {
	margin-top: 30px;
} */

#magazyn .card.over {
	height: 100%;
}

#magazyn .card.over .card-image,
#magazyn .card.over .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;

}

.movie img.relative {
	transform: scale(1);
	transition: all var(--normalSpeed) var(--ease);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
}

.movie:hover img.relative {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
}

.movie .absolute {
	background-color: hsl(0, 0%, 0%, .4);
}

.movie .absolute img {
	transition: all .4s ease-out;
}

.movie:hover .absolute img {
	transform: scale(1.1);
	filter: drop-shadow(0 5px 10px hsl(0, 0%, 0%, .4));
}

.movie h5 {
	position: absolute;
	top: 15px;
	left: 15px;
	margin: 0;
}



/*
			F O O T E R
*/

.madeby {
	color: black;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background-color: white;
	margin-top: 60px;
}

footer .container {
	padding: 40px 0;
	border-top: 1px solid var(--borderColor);
}

footer a {
	color: black;
	transition: color .2s;
	text-decoration: none;
}

footer a:hover {
	color: var(--secondary);
}


.bg-white {
	background-color: white;
}

.will-be-freezed {
	min-height: 100vh;
}

.freeze .r {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding-bottom: 30px;
}

.freeze {
	min-height: 10px;
	height: calc(100vh - 100px);
	position: sticky !important;
	top: 100px;
	bottom: 30px;
	flex-wrap: nowrap;
}

.grid>* {
	width: 100%;
}

.grid img {
	width: 100%;
}

.boxes-over-navbar a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.boxes-over-navbar img {
	width: auto;
	max-width: 100%;
}


form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,
select,
textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 15.1rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: 600;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}


.card-title--link {
	background-image: linear-gradient(var(--secondary) 0, var(--secondary) 100%);
	background-repeat: repeat-y;
	background-size: 0 0;
	background-position: 0 65%;
	transition: all .5s var(--ease);
	display: inline;
	opacity: 1;
}

.card:hover .card-title--link {
	color: white;
	opacity: 1;
	text-shadow: none;
	background-image: linear-gradient(var(--secondary) 0, var(--secondary) 100%);
	background-size: 100% 1em;
}


#nekrologi {
	padding-top: calc(var(--sectionPadding) / 2);
}


.zmarly a {
	display: flex;
	align-items: center;
	color: black;
	line-height: 1.5;
	transition: all .3s;
}

.zmarly a strong {
	display: inline-block;
	line-height: 1.2;
	background-repeat: repeat-y;
	background-size: 0 0;
	background-position: 0 65%;
	background-image: linear-gradient(black 0, black 100%);
	transition: all .5s var(--ease);
	-webkit-transition: all .5s var(--ease);
	-moz-transition: all .5s var(--ease);
	-ms-transition: all .5s var(--ease);
	-o-transition: all .5s var(--ease);
}

.zmarly a:hover strong {
	color: white;
	background-size: 100% 1em;
	background-image: linear-gradient(black 0, black 100%);
}

.zmarly a small {
	color: hsl(0, 0%, 50%);
}

.zmarly img {
	display: block;
	width: 80px;
	margin-right: 15px;
}



#magazyn+.r,
#roznosci+.r {
	gap: 30px;
}

p.photo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.875rem;
}

p.photo img {
	display: block;
	max-width: 100%;
	margin-bottom: 0.5rem;
}

p.photo+p.photo {
	margin-top: 1.5rem;
}


.resp {
	width: 100%;
	clear: both;
	margin-top: 1rem;
}

.resp .error {
	display: block;
	padding: 1em 2em;
	border-radius: .25rem;
	background-color: var(--secondary);
	color: white;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	font-size: 1.1rem;
}


.event-popup {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	isolation: isolate;
}

.event-popup--wrap {
	position: relative;
	width: 600px;
	max-width: 90%;
	padding: 15px;
	background-color: #fff;
}

.event-popup--content {
	overflow-y: auto;
	max-height: 70vh;
	padding: 15px;
}

.event-popup--backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	backdrop-filter: blur(2px);
	background-color: hsl(0 0% 0% / .2);
}

.event-popup--close {
	text-decoration: none;
	color: red;
	font-size: 1.2rem;
	background-color: white;
	font-family: code;
	text-decoration: none;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;

	position: absolute;
	top: -15px;
	right: -15px;
}

.event-popup--content .error-message {
	font-size: 0.75rem;
	color: red;
}

.success-text {
	line-height: 1.3;
	margin: 1rem 0;
	display: block;
	font-size: 0.875rem;
	color: green;
}


#ogloszenia-drobne .card.horizontal {
	align-items: flex-start;
}

[href*="adv"] {
	position: relative;
}

[href*="adv"]::before {
	content: 'REKLAMA';
	letter-spacing: 1px;
	color: hsl(0 0% 50%);
	font-size: 10px;
	text-rendering: optimizeLegibility;
	position: absolute;
	left: 0;
	top: -1.4em;
}

[src*="adv"] {
	border-radius: 0;
}

.section-title h4 {
	margin-top: 0;
}


#wideoteka .movie {
	height: 100%;
}

#wideoteka .movie>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: var(--primary);
}

#wideoteka .md\:w-6-12 {
	margin-top: 30px;
}

#wideoteka .md\:w-6-12:first-of-type,
#wideoteka .md\:w-6-12:nth-child(2) {
	margin-top: 0;
}


/*
.pagination a, .pagination input {
	color: #555;
	border: 1px solid #555;
	font-size: .75rem;
} */


.after-header-r {
	row-gap: 30px;
}


/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {
		opacity: 0;
		transform: translateY(-10px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes showNextDropdown {
	0% {
		opacity: 0;
		transform: translateX(-10px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}


.r:empty {
	display: none;
}

.m.r:empty, .r:empty {display: none !important;}




.wydarzenia-widget {
	position: fixed;
	z-index: 999;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: white;
}

.wydarzenia-widget--toggler {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	border-radius: 0 !important;
}





/*

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

*/


@media screen and (max-width: 1920px) {
	.affix .navbar-nav {
		max-width: 75%;
		flex-wrap: nowrap !important;
	}

	/* .affix .navbar-nav>li:nth-last-child(2),
	.affix .navbar-nav>li:nth-last-child(3) {
		display: none;
	} */

	/* .affix .navbar-nav>li:last-child {display: block;}

	.navbar-nav .navbar-nav-more+ul li:last-child,
	.navbar-nav .navbar-nav-more+ul li:nth-last-child(2) {
		display: block;
	} */
}


@media screen and (max-width: 1691px) {
	.navbar-top>.container>.flex {
		flex-wrap: nowrap;
	}
}



@media screen and (max-width: 1660px) {
	.navbar-top .grid.r {
		max-width: 50%;
	}

	.navbar-top .grid.r a img {
		width: 100%;
	}
}


@media screen and (max-width: 1650px) {
	:root {
		--containerWidth: 90%;
	}
}





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


	.affix {
		top: -114px;
	}

	/* .affix .navbar-nav>li:nth-last-child(4) {
		display: none;
	}

	.affix .navbar-nav .navbar-nav-more+ul li:nth-last-child(3) {
		display: block;
	} */
}


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

	.affix .navbar-nav>li:nth-last-child(2),
	.navbar-nav>li:nth-last-child(3) {
		display: none;
	}

	.affix .navbar-nav>li:last-child {
		display: block;
	}

	.affix .navbar-nav .navbar-nav-more+ul li:nth-last-child(2),
	.affix .navbar-nav .navbar-nav-more+ul li:last-child {
		display: block;
	}
}

@media screen and (max-width: 1490px) {
	/* .navbar-nav>li:last-child {
		display: block;
	} */

	/* .navbar-nav>li:nth-last-child(2),
	.navbar-nav>li:nth-last-child(3) {
		display: none;
	} */
}

@media screen and (max-width: 1430px) {
	.affix {
		top: -103px;
	}

	/* .affix .navbar-nav>li:nth-last-child(5) {
		display: none;
	}

	.affix .navbar-nav .navbar-nav-more+ul li:nth-last-child(4) {
		display: block;
	} */

	.affix .navbar-nav {
		max-width: 75%;
		justify-content: flex-end;
	}

	.container {
		max-width: 95%;
	}

	.boxes-over-navbar a {
		padding: 0;
	}
}

@media screen and (max-width: 1360px) {
	.navbar-logo-image {
		height: 35px;
	}

	.wydarzenie>strong {
		font-size: 1rem;
	}

	.card.over .card-title {
		font-size: var(--h5);
	}

	/*
	.md\:w-6-12 .card.horizontal .card-image {
		width: 130px;
	} */

	.affix .navbar-logo-image {
		height: 28px;
	}

	.affix .navbar-nav {
		max-width: 100%;
		justify-content: flex-end;
		flex-grow: 1;
	}

	.affix {
		top: -99px;
	}
}



@media screen and (max-width: 1280px) {
	.navbar-top .grid.r {
		max-width: 45%;
	}

	.navbar-logo-image {
		height: 30px;
	}

	.navbar-nav>li:nth-last-child(4) {
		display: none;
	}

	.navbar-nav .navbar-nav-more+ul li:nth-last-child(3) {
		display: block;
	}

	.md\:w-6-12 .card.horizontal .card-image {
		width: 45%;
		aspect-ratio: 1/1;
	}
}


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

	.affix .navbar-nav>li:nth-last-child(6),
	.affix .navbar-nav>li:nth-last-child(5) {
		display: none;
	}

	.affix .navbar-nav .navbar-nav-more+ul li:nth-last-child(5),
	.affix .navbar-nav .navbar-nav-more+ul li:nth-last-child(4) {
		display: block;
	}

	.wydarzenie-data {
		width: 50px;
		margin-right: 10px;
	}

	.wydarzenie>strong {
		font-size: 0.875rem;
	}

	#wydarzenia .btn.alt {
		font-size: 0.875rem;
		padding: .6em .75em
	}

	.card.over .card-title,
	.card.horizontal .card-title {
		font-size: var(--h6);
	}

	.other-links a {
		font-size: 1rem;
	}

	#magazyn .md\:row {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
	}

	#magazyn .md\:w-6-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	#magazyn .card.over .card-image,
	#magazyn .card.over .card-image img {
		height: auto;
		aspect-ratio: 16/9;
	}

	.md\:w-6-12 .card.horizontal .card-image {
		width: 25%;
		aspect-ratio: 4/3;
		min-width: 180px;
	}

	.r.m {
		gap: 30px;
		display: flex;
		width: 100%;
		flex-direction: column;
	}

	.r.m:empty {
		display: none !important;
		margin: 0 !important;
	}
}



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

	.mobile-and-desktop {
		display: block;
	}

	.mobile-and-desktop .grid {
		display: flex;
		flex-direction: column;
		gap: 30px;
	}

	.boxes-over-navbar a {background-color: transparent;}

	.navbar-nav>li:last-child {
		display: block;
	}

	html,
	body {
		overflow-x: hidden;
		width: 100%;
	}

	.card.over .md\:p-30 .flex.justify-end {
		margin-top: 0;
		margin-right: 0;
	}


	#wydarzenia,
	#magazyn,
	#na-sygnale,
	#roznosci,
	#ogloszenia-drobne {
		isolation: isolate;
		position: relative;
	}

	#wydarzenia {
		margin-bottom: 30px;
	}

	#magazyn {
		margin-top: 60px;
		margin-bottom: 30px;
	}

	#roznosci {
		margin-top: 60px;
		margin-bottom: 60px;
	}

	#ogloszenia-drobne {
		margin-top: 60px;
	}

	#wydarzenia::after,
	#magazyn::after,
	#na-sygnale::after,
	#roznosci::after,
	#ogloszenia-drobne::after {
		content: '';
		display: block;
		position: absolute;
		inset: -30px -30vw;
		z-index: -1;
		background-color: var(--bgLight);
	}

	.row {
		margin-left: 0;
		margin-right: 0;
	}

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-top {
		display: none;
	}

	.navbar-logo-image {
		height: 28px;
	}

	.navbar-bottom {
		transition: all .3s;
	}

	.affix {
		top: 0;
	}

	.affix .navbar-bottom {
		height: 45px;
	}

	.affix-visible {
		display: flex;
	}

	.navbar-nav {
		flex-grow: 0;
	}

	.navbar-nav>li:not(:last-child) {
		display: none;
	}

	.navbar-nav>li:last-child>ul li {
		display: block;
	}

	.navbar-nav>li:last-child>ul {
		position: fixed;
		top: 0;
		left: 0;
		width: 350px;
		max-width: 82vw;
		height: 100vh;
		overflow-y: auto;
		padding: 0;
	}

	.navbar-nav>li:last-child>ul>li>a {
		border-bottom: 1px solid hsl(0, 0%, 0%, .1);
		font-size: 1rem;
	}

	.navbar-nav>li:last-child>ul ul {
		position: relative;
		left: auto;
		box-shadow: none;
		background-color: hsl(0, 0%, 0%, .05);
	}

	.navbar .has-dropdown.relative {
		position: static;
	}

	.has-dropdown .dropdown {
		width: 100%;
		border-radius: 0;
		top: 100%;
	}

	header .items-stretch {
		align-items: flex-start;
	}

	/* header .swiper-container {margin-bottom: 30px;} */

	header .swiper-slide img {
		width: 100%;
		height: auto;
		object-fit: cover;
		max-height: 70vh;
	}

	footer .flex {
		flex-direction: column;
		align-items: center;
	}

	footer a.mr-30 {
		display: none;
	}

	.top-bar {
		display: none;
	}

	.other-sections .md\:w-4-12+.md\:w-4-12 {
		margin-top: 60px;
	}

	#wideoteka .md\:w-6-12 {
		margin-top: 0;
	}

	#nekrologi {
		padding-top: 0;
	}
}


@media screen and (max-width: 960px) {
	header .sm\:w-4-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	/* header .sm\:w-4-12:last-child {display: none;} */
	header .sm\:w-4-12:last-child {
		margin-top: 30px;
	}

	.boxes-over-navbar {
		grid-template-columns: 1fr;
	}
}


@media screen and (max-width: 638px) {
	[class*="sm:w"] {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	header .sm\:w-4-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	header .sm\:w-4-12+.sm\:w-4-12 {
		margin-top: 30px;
	}
}


@media screen and (max-width: 599px) {
	.polecamy-title {
		font-size: 0.875rem;
		padding-left: 10px;
		padding-right: 10px;
		display: flex;
		align-items: center;
	}

	#polecamy .swiper-slide span {
		font-size: 0.75rem;
	}

	#polecamy a {
		padding: 0 15px;
	}

	.section-title {
		flex-direction: column;
		align-items: flex-start;
		margin: 30px 0;
		padding-bottom: 30px;
	}

	.section-title h2,
	.section-title h3,
	.section-title h4 {
		margin: 0 0 10px;
	}

	.card.horizontal {
		display: block;
	}

	.card.horizontal .card-image {
		margin-right: 0;
		margin-bottom: 1rem;
	}

	#news .card-image {
		width: 100%;
		aspect-ratio: 16/9;
	}

	#ogloszenia-drobne .card.horizontal,
	#magazyn .card.horizontal {
		display: flex;
		align-items: flex-start;
	}

	#ogloszenia-drobne .card.horizontal .card-image,
	#magazyn .card.horizontal .card-image {
		flex-shrink: 0;
		margin-right: 15px;
		margin-bottom: 0;
	}

	#ogloszenia-drobne .card.horizontal .card-body p,
	#magazyn .card.horizontal .card-body p {
		margin: 1rem 0 0 0;
		line-height: 1.5;
	}

	.links {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 15px;
	}

	.links span {
		display: none;
	}

	.sticky.share {
		display: none !important;
	}

}



@media screen and (max-width: 480px) {
	#magazyn .card.horizontal {
		flex-direction: column;
	}

	#magazyn .card.horizontal .card-image {
		width: 100%;
		margin-bottom: 0;
		margin-right: 0;
	}

	#magazyn .card.horizontal .card-body {
		display: none;
	}

	.md\:w-6-12 .card.horizontal .card-image {
		aspect-ratio: 16/9;
	}

	.md\:w-6-12 .card.horizontal .card-image .absolute {
		inset: 0;
		padding: 10px;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: space-between;
		background-image: linear-gradient(to top, hsl(0 0% 0% / .85), transparent);
	}

	.md\:w-6-12 .card.horizontal .card-image .card-title.hidden {
		display: block;
		width: 100%;
	}

	.md\:w-6-12 .card.horizontal .card-image .card-title.hidden a {
		color: white;
	}

	#magazyn .card.over .card-image,
	#magazyn .card.over .card-image img {
		height: auto;
		aspect-ratio: 4/3;
	}

	.container {
		max-width: 86%;
	}

	.other-links a {
		padding: 10px 0;
	}
}


@media screen and (max-width: 399px) {
	.navbar .has-dropdown.relative {
		margin-right: 0;
		margin-left: 15px;
	}

	.navbar-logo-image {
		/* aspect-ratio: 16/9; */
		height: 24px !important;
	}

	.polecamy-title {
		display: none;
	}

	#polecamy a {
		border-left: 0;
		padding: 0 30px;
	}

	#polecamy .flex.relative::after {
		display: none;
	}

	header .swiper-slide .card-body {
		padding: 15px;
	}

	/* .r.py-60 {
		display: none;
	} */

	#ogloszenia-drobne .card.horizontal .card-image {
		width: 85px;
	}
}