.breadcrumb > li {
	margin-bottom: 0;
}

/* WP dodaje klasę .search na <body> — nie stosować stylów .search z main.css do całej strony */
body.search,
body.search-results,
body.search-no-results {
	position: static;
	width: auto;
	max-width: none;
	overflow: visible;
	right: auto;
	top: auto;
}

.content {
	line-height: 1.6;
	font-family: "Silka-Regular";
	font-size: 15px;
	color: inherit;
}

.content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.content p, .content ul, .content ol {
	margin-bottom: 20px;
}

.content ul, .content ol {
	list-style: outside;
	padding-left: 20px;
}

.content table {
  margin-top: 10px;
  line-height: 18px;
  width: 100%;
  margin-bottom: 20px;
}

@media (max-width: 1199.98px) {
  .content table {
    display: block;
    overflow-x: auto;
  }
}

.content table tr {
  width: 100%;
}

.content table th {
  background: #ecebe9;
  padding: 20px 15px;
}

.content table th,
.content table td {
  vertical-align: middle;
}

.content table td {
  padding: 35px 15px;
}

.lead-picture--half .lead-picture__image {
	object-fit: cover;
	object-position: center center;
}

.row.l-section.l-section--small:has(.content) {
	padding-top: 0;
}

@media (min-width: 992px) {
	.row.l-section.l-section--small:has(.content) {
		padding-top: 0;
	}
}

.nav-bar__bottom {
	position: relative;
	z-index: 2;
}

.super-menu-container {
	z-index: 1;
}

@media (max-width: 991.98px) {
	.nav-bar__bottom:before,
	.nav-bar__bottom:after {
		content: none;
		display: none;
	}

	.nav-bar__bottom {
		justify-content: flex-start;
		overflow: hidden;
		padding-left: 28px;
		padding-right: 28px;
	}

	.nav-bar__arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 3;
		width: 28px;
		height: 28px;
		padding: 0;
		border: 0;
		background: transparent;
		line-height: 0;
	}

	.nav-bar__arrow img {
		width: 13px;
		height: 13px;
		display: block;
		margin: auto;
	}

	.nav-bar__arrow--left {
		left: 0;
	}

	.nav-bar__arrow--left img {
		transform: rotate(180deg);
	}

	.nav-bar__arrow--right {
		right: 0;
	}

	.nav-bar__bottom .menu {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		scrollbar-width: none;
		-ms-overflow-style: none;
		touch-action: pan-x;
		padding-bottom: 2px;
	}

	.nav-bar__bottom .menu::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	.super-menu-container {
		overflow: hidden;
	}

	.super-menu.show {
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}
}

.report {
	width: 100%;
	font-size: 15px;
}

.report table {
	color: #8e8e8e;
	line-height: 18px;
	width: 100%;
}

.report table th {
	background: #ecebe9;
	padding: 20px 15px;
	border-top: none;
}

@media (max-width: 767.98px) {
	.report table th {
		padding: 20px 10px;
	}
}

.report table td {
	vertical-align: middle;
	padding: 20px 15px;
	border-top: 1px solid #dee2e6;
}

@media (max-width: 767.98px) {
	.report table td {
		padding: 20px 10px;
	}
}

.report--no-border-top tr:first-child td {
	border-top: none;
}

.icon {
	width: 18px;
	height: 20px;
	vertical-align: bottom;
}

.l-w-75px {
	width: 75px;
}

.l-w-150px {
	width: 150px;
}

/* Raporty z zakładkami i raporty okresowe — nawigacja roczników */
.page-template-page-year-reports .nav-tabs,
.page-template-page-periodic-reports .nav-tabs {
	border-bottom: 1px solid #dee2e6;
}

.page-template-page-year-reports .nav-tabs .nav-item,
.page-template-page-periodic-reports .nav-tabs .nav-item {
	margin-bottom: -1px;
}

.page-template-page-year-reports .nav-tabs .nav-link,
.page-template-page-periodic-reports .nav-tabs .nav-link {
	border: 1px solid transparent;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
}

.page-template-page-year-reports .nav-tabs .nav-link:hover,
.page-template-page-year-reports .nav-tabs .nav-link:focus,
.page-template-page-periodic-reports .nav-tabs .nav-link:hover,
.page-template-page-periodic-reports .nav-tabs .nav-link:focus {
	border-color: #e9ecef #e9ecef #dee2e6;
}

.page-template-page-year-reports .nav-tabs .nav-link.disabled,
.page-template-page-periodic-reports .nav-tabs .nav-link.disabled {
	color: #6c757d;
	background-color: transparent;
	border-color: transparent;
}

.page-template-page-year-reports .nav-tabs .nav-link.active,
.page-template-page-year-reports .nav-tabs .nav-item.show .nav-link,
.page-template-page-periodic-reports .nav-tabs .nav-link.active,
.page-template-page-periodic-reports .nav-tabs .nav-item.show .nav-link {
	color: #495057;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
}

.page-template-page-year-reports .nav-tabs .dropdown-menu,
.page-template-page-periodic-reports .nav-tabs .dropdown-menu {
	margin-top: -1px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.page-template-page-year-reports .nav-pills .nav-link,
.page-template-page-periodic-reports .nav-pills .nav-link {
	border-radius: 0.25rem;
}

.page-template-page-year-reports .nav-pills .nav-link.active,
.page-template-page-year-reports .nav-pills .show > .nav-link,
.page-template-page-periodic-reports .nav-pills .nav-link.active,
.page-template-page-periodic-reports .nav-pills .show > .nav-link {
	color: #fff;
	background-color: #007bff;
}

.page-template-page-year-reports .nav-fill .nav-item,
.page-template-page-periodic-reports .nav-fill .nav-item {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	text-align: center;
}

/* Strona główna — siatka raportów i kalendarium */
.l-img-cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.l-bg-after::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
}

.h-z-index-100 {
	z-index: 100;
}

@media (min-width: 576px) {
	.l-grid-home {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 13fr 10fr 10fr;
		grid-row-gap: 15px;
		grid-template-areas: "a" "b" "c";
	}
}

@media (min-width: 992px) {
	.l-grid-home {
		grid-gap: 20px;
		grid-template-rows: auto;
		grid-template-areas: "a b" "a c";
		grid-template-columns: 2fr 1fr;
	}
}

@media (max-width: 767.98px) {
	.l-grid-home .item-1,
	.l-grid-home .item-2,
	.l-grid-home .item-3 {
		margin-bottom: 15px;
		padding-top: 100%;
	}
}

.l-grid-home .item-1 {
	grid-area: a;
}

@media (max-width: 767.98px) {
	.l-grid-home .item-1 {
		padding-top: 130%;
	}
}

.l-grid-home .item-2 {
	grid-area: b;
}

@media (max-width: 767.98px) {
	.l-grid-home .item-2 {
		padding-top: 100%;
	}
}

.l-grid-home .item-3 {
	grid-area: c;
}

@media (max-width: 767.98px) {
	.l-grid-home .item-3 {
		padding-top: 100%;
	}
}

.date {
	padding: 12px 35px;
	width: 100%;
	max-width: 170px;
	text-align: center;
	margin: auto;
	font-size: 13px;
}

@media (min-width: 576px) {
	.date {
		font-size: 16px;
		background: #ecebe9;
	}
}

.fixed-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 5px;
	background: rgba(0, 0, 0, 0.8);
	color: #ccc;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	z-index: 100;
	transition: opacity .3s;
	backface-visibility: hidden;
}

.fixed-banner a:link,
.fixed-banner a:visited {
	color: #ccc;
}

.fixed-banner a:focus,
.fixed-banner a:hover {
	color: #fff;
}

.fixed-banner--hidden {
	opacity: 0;
	pointer-events: none;
}

.fixed-banner * {
	vertical-align: text-bottom;
}

.fixed-banner img {
	max-height: 30px;
	margin: 0 10px;
	display: inline-block;
	width: auto;
	max-width: none;
}

.search-result-item {
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #ecebe9;
}

.search-result-item:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.search-result-item .title a {
	color: inherit;
	text-decoration: none;
}

.search-result-item .title a:hover,
.search-result-item .title a:focus {
	color: #464646;
}

body.search-results .content img,
body.search-no-results .content img {
	float: none;
	padding-right: 0;
}
