/* ===============================
   1. Reset Styles
   =============================== */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	background: none;
	text-decoration: none;
	list-style: none;
	outline: none;
	border: 0;
	outline: 0;
	box-shadow: none;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/* ===============================
   2. Root Variables
   =============================== */

:root {

	--sm: 576px;
	--md: 768px;
	--lg: 992px;
	--xl: 1200px;

	--black: #000;
	--transblack: rgba(0, 0, 0, 0.7);
	--gray: #ccc;
	--darkgray: #555;
	--shadow: rgba(0, 0, 0, 0.2);
	--darkshadow: rgba(0, 0, 0, 0.4);
	--white: #fff;
	--subwhite: rgba(255, 255, 255, 0.25);
	--halfwhite: rgba(255, 255, 255, 0.5);
	--transwhite: rgba(255, 255, 255, 0.75);
	--light: #f6f6f6;
	--lightgray: #f1f1f1;
	--beige: #F5F4F2;
	--blue: #053a66;
	--darkblue: #002340;
	--darkblue: #021729;
	--aqua: #0097be;
	--darkaqua: #006b8c;
	--darkaqua: #005b72;
	--darkaqua: #007694;
	--red: #be0005;
	--darkred: #720003;
	--darkred: #8c0005;
	--yellow: #ffb700;
	--darkyellow: #c57400;
	--darkyellow: #E09600;
	--green: #00BE86;

	--header: 70px;
	--radius: 6px;
	--radius-mid: 1.2rem;
	--radius-large: 2rem;
	--radius-full: 2000px;
	--gap: 1rem;
	--site-padding: 1rem;
	--sidebar-width: 300px;

	--limit-narrow: 765px;
	--limit-middle: 900px;
	--limit-wide: 1200px;

	--company-offset: 250px;
	--company-max-size: 550px;

	--font-size: 16px;
	--bold: 700;
	--semibold: 600;
	--regular: 400;
	--thin: 300;

	/* theme: company-specific colors */
	--primary: var(--blue);
	--secondary: var(--aqua);
	--primary-dark: var(--darkblue);
	--secondary-dark: var(--darkred);
}

@media (min-width: 576px) {
	:root {
		--site-padding: 2rem;
	}
}

@media (min-width: 768px) {
	:root {
		--header: 100px;
		--font-size: 18px;
	}
}

@media (min-width: 992px) {
	:root {
		--site-padding: 3rem;
	}
}

@media (min-width: 1200px) {
	:root {
		--gap: 1.5rem;
		--site-padding: 4rem;
		--sidebar-width: 380px;
	}
}

@media (min-width: 1600px) {
	:root {
		--gap: 2rem;
	}
}


/* ===============================
   3. Base Styles
   =============================== */

html {
	font-size: var(--font-size);
}

body {
	font-family: "Commissioner", Arial, Helvetica, sans-serif;
	font-optical-sizing: auto;
	font-weight: var(--regular);
	font-style: normal;
	font-size: 1rem;
	line-height: 1.8;
	background-color: var(--beige);
	color: var(--black);
	overflow-x: hidden;
}

body.no-scroll {
	overflow: hidden;
	height: 100%;
}

p,
main ul {
	margin-bottom: 1.5rem;
}

[class^="col-"]>p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: var(--semibold);
}

a:hover {
	color: inherit;
}

a.inactive {
	pointer-events: none;
	cursor: default;
}

p a,
.list a,
main ul li a {
	padding-bottom: 4px;
	background-size: 100% 2px, 0 2px;
	background-position: 100% 100%, 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.5s cubic-bezier(.65, .05, .36, 1);
	font-weight: var(--semibold);
	background-image: linear-gradient(var(--secondary), var(--secondary)), linear-gradient(var(--black), var(--black));
}

p a:hover,
.list a:hover,
main ul li a:hover {
	background-size: 0 2px, 100% 2px;
}

.dark p a,
.dark .list a,
main .dark ul li a {
	background-image: linear-gradient(var(--transwhite), var(--transwhite)), linear-gradient(var(--white), var(--white));
}



a.external-link svg.external-icon {
	width: 0.9em;
	height: 0.9em;
	margin-left: 0.3em;
	vertical-align: middle;
	fill: currentColor;
}




.list,
.wp-block-list,
main ul {
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.list li,
.wp-block-list li,
main ul li {
	margin-left: 1.5rem;
	margin-bottom: .75rem;
	text-indent: -.75rem;
}

.list li::before,
.wp-block-list li::before,
main ul li::before {
	font-weight: var(--bold);
	line-height: 0;
	font-size: 1rem;
	padding-right: .75rem;
	display: inline-block;
	content: "\FFED";
	position: relative;
	top: 0rem;
	color: var(--secondary);
	z-index: inherit
}



.list-red li::before {
	color: var(--red);
}

.list-blue li::before {
	color: var(--blue);
}

.list-yellow li::before {
	color: var(--yellow);
}

.list-aqua li::before {
	color: var(--aqua);
}


h1,
.h1 {
	font-size: 2.1rem;
	font-weight: var(--bold);
	text-transform: none;
	line-height: 1.1;
	margin-bottom: 2.5rem;
	letter-spacing: -.08rem;
	max-width: var(--limit-narrow);
}

h1::after,
.h1::after {
	content: "";
	display: block;
	width: 5rem;
	height: 7px;
	background-color: var(--secondary);
	margin-top: 1.5rem;
}

h2,
.h2 {
	font-size: 1.7rem;
	font-weight: var(--semibold);
	line-height: 1.1;
	text-transform: none;
	margin-bottom: 1.5rem;
	letter-spacing: -.05rem;
	color: var(--primary-dark);
}

p+h2,
p+.h2,
ul+h2,
ul+.h2,
p+h3,
p+.h3,
ul+h3,
ul+.h3 {
	margin-top: 2.5rem;
}

h3,
.h3 {
	font-size: 1.5rem;
	font-weight: var(--semibold);
	line-height: 1.1;
	margin-bottom: 1.5rem;
}



h4,
.h4 {
	font-size: 1.111111rem;
	font-weight: var(--bold);
	line-height: 1.1;
	margin-bottom: 1.4rem;
	text-transform: uppercase;
}

.h1,
.h2,
.h3,
.h4 {
	display: block;
}

@media (min-width: 576px) {

	h1,
	.h1 {
		font-size: 3.5rem;
		margin-bottom: 4rem;
		letter-spacing: -.15rem;
	}

	h1::after,
	.h1::after {
		width: 5rem;
		height: 7px;
		margin-top: 2rem;
	}

	h2,
	.h2 {
		font-size: 2.4rem;
		margin-bottom: 2rem;
		letter-spacing: -.09rem;
	}

	h3,
	.h3 {
		font-size: 1.6rem;
		margin-bottom: 1.5rem;
	}


}


@media (max-width: 991px) {
	.excerpt p {
		line-height: 1.4;
	}
}

@media (min-width: 992px) {



	p.copy,
	.copy p {
		font-size: 1.2rem;
		line-height: 1.6;
		margin-bottom: 1.75rem;
	}

	.copy .list,
	.copy .wp-block-list {
		font-size: 1.16666666rem;
		margin-bottom: 1.75;
	}

	.copy .block {
		margin-bottom: 2.5rem;
	}
}

hr {
	border: none;
	border-top: 2px solid var(--);
	margin: 2.5rem 0;
}

.dark hr {
	border-color: var(--white);
}

/* ===============================
  4. Layout Styles
  =============================== */

/* grid */

.container {
	/* container for content */
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--site-padding);
}

.container.full {
	padding: 0;
}



.container.has-sidebar {
	display: flex;
	flex-wrap: nowrap;
}

.row {
	/* row for columns */
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	/* negative margin for gutters */
}

[class^="col-"] {
	flex: 1 1 100%;
	padding: 0;
	margin-bottom: 1.5rem;
}

@media (min-width: 576px) {

	.row {
		margin: 0 -(var(--gap));
		/* negative margin for gutters */
	}

	[class^="col-"] {
		padding: 0 var(--gap);
		margin-bottom: var(--gap);
	}

	.col-sm-1 {
		flex: 0 0 8.333%;
		max-width: 8.333%;
	}

	.col-sm-2 {
		flex: 0 0 16.666%;
		max-width: 16.666%;
	}

	.col-sm-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-sm-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.col-sm-5 {
		flex: 0 0 41.666%;
		max-width: 41.666%;
	}

	.col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.col-sm-7 {
		flex: 0 0 58.333%;
		max-width: 58.333%;
	}

	.col-sm-8 {
		flex: 0 0 66.666%;
		max-width: 66.666%;
	}

	.col-sm-9 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	.col-sm-10 {
		flex: 0 0 83.333%;
		max-width: 83.333%;
	}

	.col-sm-11 {
		flex: 0 0 91.666%;
		max-width: 91.666%;
	}

	.col-sm-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (min-width: 768px) {

	.col-md-1 {
		flex: 0 0 8.333%;
		max-width: 8.333%;
	}

	.col-md-2 {
		flex: 0 0 16.666%;
		max-width: 16.666%;
	}

	.col-md-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-md-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.col-md-5 {
		flex: 0 0 41.666%;
		max-width: 41.666%;
	}

	.col-md-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.col-md-7 {
		flex: 0 0 58.333%;
		max-width: 58.333%;
	}

	.col-md-8 {
		flex: 0 0 66.666%;
		max-width: 66.666%;
	}

	.col-md-9 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	.col-md-10 {
		flex: 0 0 83.333%;
		max-width: 83.333%;
	}

	.col-md-11 {
		flex: 0 0 91.666%;
		max-width: 91.666%;
	}

	.col-md-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (min-width: 992px) {

	.col-lg-1 {
		flex: 0 0 8.333%;
		max-width: 8.333%;
	}

	.col-lg-2 {
		flex: 0 0 16.666%;
		max-width: 16.666%;
	}

	.col-lg-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-lg-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.col-lg-5 {
		flex: 0 0 41.666%;
		max-width: 41.666%;
	}

	.col-lg-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.col-lg-7 {
		flex: 0 0 58.333%;
		max-width: 58.333%;
	}

	.col-lg-8 {
		flex: 0 0 66.666%;
		max-width: 66.666%;
	}

	.col-lg-9 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	.col-lg-10 {
		flex: 0 0 83.333%;
		max-width: 83.333%;
	}

	.col-lg-11 {
		flex: 0 0 91.666%;
		max-width: 91.666%;
	}

	.col-lg-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (min-width: 1200px) {

	.col-xl-1 {
		flex: 0 0 8.333%;
		max-width: 8.333%;
	}

	.col-xl-2 {
		flex: 0 0 16.666%;
		max-width: 16.666%;
	}

	.col-xl-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-xl-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.col-xl-5 {
		flex: 0 0 41.666%;
		max-width: 41.666%;
	}

	.col-xl-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.col-xl-7 {
		flex: 0 0 58.333%;
		max-width: 58.333%;
	}

	.col-xl-8 {
		flex: 0 0 66.666%;
		max-width: 66.666%;
	}

	.col-xl-9 {
		flex: 0 0 75%;
		max-width: 75%;
	}

	.col-xl-10 {
		flex: 0 0 83.333%;
		max-width: 83.333%;
	}

	.col-xl-11 {
		flex: 0 0 91.666%;
		max-width: 91.666%;
	}

	.col-xl-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}


@media screen and (max-width: 575px) {
	.nomargin {
		width: calc(100% + 2*var(--site-padding));
		margin-left: calc(-1 * var(--site-padding));
		margin-right: calc(-1 * var(--site-padding));
	}

	.nomargin img,
	.nomargin form {
		border-radius: 0 !important;
	}
}


/* full-width container GRID
multiple column with eqal gaps */

.container.full .row {
	margin: 0 .5rem;
	/* half of the real gap comes from the row-margins */
}

.container.full .row [class^="col-"] {
	padding: .5rem;
	/* half of the real gap comes from the column-paddings */
}


@media screen and (min-width: 576px) {

	.container.full .row [class^="col-"] {
		padding-bottom: 2.5rem;
		/* half of the real gap comes from the column-paddings */
	}

}





/* Header Styles */
header {
	background-color: var(--white);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	transition: top 0.3s ease-in-out, height 0.1s ease-in-out;
	box-shadow: 0 1px 10px var(--shadow);
	z-index: 10;
}

body.trans header {
	/*transparent header for pages listed in functions.php - p.8 */
	background-color: transparent;
	box-shadow: none;
}

.header-hidden header {
	top: -100px;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header);
	padding: 0 1rem;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
	z-index: 20;
}

.logo img {
	height: 1.5rem;
	width: auto;
	transition: filter 0.2s ease-in-out;
}

body:not(.trans) .logo:hover img {
	filter: brightness(0)
}

body.trans .logo img {
	filter: grayscale(100%) contrast(0%) brightness(200%);
}

body.trans .menu-toggle.open~.logo img {
	filter: none;
}

.menu-toggle {
	background-color: transparent;
	border: none;
	display: block;
	height: 26px;
	width: 26px;
	cursor: pointer;
	position: relative;
	z-index: 20;
}

.menu-toggle span {
	/*bars*/
	width: 26px;
	height: 2px;
	display: block;
	position: absolute;
	transition: all .2s ease-in-out;
	background-color: var(--black);
}

body.trans .menu-toggle:not(.open) span {
	background-color: var(--white);
}

.menu-toggle span:nth-child(1) {
	width: 23px;
	top: 3px;
	right: 0;
}

.menu-toggle span:nth-child(2) {
	width: 18px;
	top: 12px;
	right: 0;
}

.menu-toggle span:nth-child(3) {
	bottom: 3px;
}

.menu-toggle.open span:nth-child(1) {
	transform-origin: cente r center;
	transform: translateY(9px) rotate(-45deg);
	width: 26px;
}

.menu-toggle.open span:nth-child(2) {
	width: 0;
	opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
	transform-origin: center;
	transform: translateY(-9px) rotate(45deg);
}



/* Navigation Menu - Mobile */
.main-nav {
	position: fixed;
	top: 0;
	right: -100%;
	padding: var(--header) 0 0 0;
	width: 100%;
	height: 100%;
	background-color: var(--white);
	transition: transform 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
	z-index: 10;
}

.main-nav.open {
	transform: translateX(-100%);
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-grow: 1;
}

.nav-list li {
	border-top: 1px solid var(--black);
	padding: 0;
}

.nav-list>li:last-child {
	border-bottom: 1px solid var(--black);
}

/* Navigation Links */
.nav-list li a {
	text-decoration: none;
	color: var(--black);
	font-size: 1rem;
	line-height: 1;
	font-weight: var(--regular);
	display: block;
	padding: 1rem;
	transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

.nav-list>li>a {
	background-color: var(--light);
}

.nav-list li a:hover,
.nav-list li a:active {
	background-color: var(--black);
	color: var(--white);
}


/* Social Media Icons in main menu*/

.pl .nav-list #linkedin a img {
	filter: invert(100%) contrast(200%);
	height: 1.3rem;
	width: auto;
}

.pl .nav-list #linkedin a:hover {
	background-color: transparent;

}


/* Dropdown Menu - mobile */
.dropdown {
	position: relative;
}

.dropdown.open>a {
	background-color: var(--black);
	color: var(--white);
}

/* Dropdown arrow - down */
.dropdown>a::after,
.more::after {
	display: block;
	position: absolute;
	content: '';
	width: .4rem;
	height: .4rem;
	top: 1.2rem;
	right: 1.4rem;
	border-color: inherit;
	border-width: 2px;
	border-style: none solid solid none;
	transform: rotate(45deg) scaleY(1);
	transition: all .2s ease-in-out;
}

.dropdown.open>a {
	background-color: var(--black);
	color: var(--white);
}

/* Dropdown arrow rotate for active element*/
.dropdown.open>a::after {
	transform: translateY(3px) scaleY(-1) rotate(45deg);
	border-color: var(--white)
}



.dropdown-menu {
	display: flex;
	opacity: 0;
	position: absolute;
	top: calc(100% - 4px);
	/* Poniżej elementu dropdown */
	left: 0;
	width: 100%;
	background-color: var(--white);
	z-index: 15;
	flex-direction: column;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
	transition: all 0.3s ease-in-out;
}


.nav-list li .dropdown-menu li a {
	padding-left: 2.5rem;
	display: block;
	text-decoration: none;
	color: var(--black);
	transition: all 0.2s ease-in-out;
	font-size: .875rem;
	padding-top: .875rem;
	padding-bottom: .875rem;
}

.nav-list li .dropdown-menu li a:hover,
.nav-list li .dropdown-menu li a:active {
	background-color: var(--black);
	color: var(--white);
}

/* Show menu in mobile */
.dropdown.open .dropdown-menu {
	opacity: 1;
}

/* Adjusting layout for mobile dropdown */
.main-nav.open .nav-list {
	position: relative;
}

.nav-list .dropdown.open .dropdown-menu {
	position: static;
	/* Static positioning for proper stacking */
}



/* Mobile only */
@media (max-width: 767px) {
	.nav-list {
		overflow-y: scroll;
	}

	.dropdown .dropdown-menu {
		visibility: hidden;
		position: static;
		max-height: 0;
		overflow: hidden;
		transition: all 0.3s ease-in-out;
	}

	.dropdown.open .dropdown-menu {
		visibility: unset;
		max-height: 2000px;
	}

	.header-container {
		flex-direction: row-reverse;
	}


	/* Region Select Menu - mobile only*/
	.nav-list #region-select {
		display: flex;
		justify-content: space-between;
		background-color: var(--white);
	}

	.nav-list #region-select-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: transparent;
		pointer-events: none;
		cursor: default;
		padding: 0 1rem;
	}

	.nav-list #region-select-icon img {
		width: 1.1rem;
		height: 1.1rem;
		transition: filter 0.2s ease-in-out;
	}

	.nav-list #region-select-icon .region-label {
		font-size: .875rem;
		text-transform: none;
		margin-left: .5rem;
	}

	.nav-list #region-select .regions {
		display: flex;
	}

	.nav-list #region-select .regions li {
		background: var(--white);
		border: none;
		border-left: 1px solid var(--black);
		flex-direction: row;
	}

	.de .nav-list #region-select .regions li.region-de,
	.pl .nav-list #region-select .regions li.region-pl {
		background: var(--black);
	}

	.de .nav-list #region-select .regions li.region-de a,
	.pl .nav-list #region-select .regions li.region-pl a {
		color: var(--white);
	}


	.pl .nav-list li#region-select {
		border-bottom: 1px solid var(--black);
	}



	.pl .nav-list li#linkedin {

		border: 0;
		margin: 0;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.pl .main-nav.open .nav-list li#linkedin {
		position: fixed;
		top: 1.2rem;
		right: 3.5rem;
	}


	.pl .nav-list li#linkedin a {
		display: inline-block;
		width: auto;
		margin: 0;
		padding: 0;
	}

	.pl .nav-list li#linkedin a img {
		height: 2rem;
		width: auto;
		display: block;
		object-fit: contain;
	}

}



/* Media Queries */

/* Desktop styles (from md) */
@media (min-width: 768px) {

	header {
		height: var(--header);
	}

	.header-container {
		height: var(--header);
		padding: 0 2rem;
		border-bottom: 1px solid transparent;
		transition: border-color 0.3s ease-in-out;
		box-shadow: 0 0 2rem var(--shadow);
	}

	.logo img {
		height: 2rem;
	}

	.menu-toggle {
		display: none;
	}

	.main-nav {
		position: static;
		transform: none;
		width: auto;
		height: auto;
		background: none;
		box-shadow: none;
		display: flex;
		flex-direction: row;
		padding: 0;
	}

	.nav-list {
		position: relative;
		display: flex;
		align-items: center;
		gap: 0;
		z-index: 5;
	}

	.nav-list li,
	.nav-list li:last-child {
		border: none;
		padding: 0;
	}

	.nav-list li a {
		font-weight: var(--semibold);
		padding: .5rem 1rem;
		background: transparent;
		border-radius: var(--radius-full);
	}

	body.trans .nav-list>li>a {
		color: var(--white);
	}


	/* region select menu*/

	.nav-list #region-select {
		position: relative;
	}

	.nav-list #region-select #region-select-icon {
		padding: 0.5rem;
	}

	.nav-list #region-select #region-select-icon:hover {
		background: none;
	}


	.nav-list #region-select #region-select-icon img {
		width: 1.3rem;
		height: 1.3rem;
	}

	.nav-list li .regions a {
		padding: 0;
	}

	.nav-list #region-select .region-label {
		display: none
	}

	/* show regions only when #region-select has .active class */
	#region-select .regions {

		position: absolute;
		top: 100%;
		left: 50%;
		transform: translate(-50%, -3rem);
		min-width: 3rem;
		z-index: -1;
		box-shadow: 0 1px 10px var(--shadow);
		background: var(--white);
		padding: 3rem .25rem 1rem .25rem;
		border-radius: var(--radius-full);
		display: flex;
		flex-direction: column;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
	}

	#region-select.active .regions {
		visibility: visible;
		opacity: 1;
	}

	/* Links styles in regions */
	#region-select .regions a {
		padding: 0.5rem;
	}

	#region-select.active .regions a:hover {
		background: none;
		color: var(--primary);
	}


	/* Positioning regions relative to the icon */
	#region-select .regions {}




	/* main-menu li element with dropdown functionality */
	.dropdown {
		position: static;
	}

	/* Dropdown menu desktop */
	.dropdown .dropdown-menu {
		opacity: 0;
		visibility: hidden;
		padding: 3.5rem 0 1.5rem 100vw;
		width: 200vw;
		transform: translateX(-100vw);
		display: flex;
		background: transparent;
		z-index: 2;
		position: absolute;
		transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
	}

	body.mouse-moved .dropdown .dropdown-menu {
		transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out;
	}

	body.mouse-moved .dropdown .dropdown-menu::after {
		/*render custom background and shadow*/
		display: block;
		width: 100%;
		left: 0;
		content: '';
		position: absolute;
		top: 2rem;
		height: calc(100% - 2rem);
		background-color: var(--white);
		box-shadow: 0 1px 10px var(--shadow);
		z-index: -1;
		transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
	}

	body.mouse-moved .dropdown:hover .dropdown-menu {
		opacity: 1;
		visibility: visible;
		max-height: 1000px;
	}

	body.mouse-moved .dropdown:hover .dropdown-menu,
	body.mouse-moved .dropdown:hover .dropdown-menu::after {
		transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
	}

	.dropdown-menu li {
		margin-bottom: .15rem
	}

	.nav-list .dropdown .dropdown-menu a {
		padding-left: 1rem;
		display: inline-block;
		padding-top: .4rem;
		padding-bottom: .4rem;
	}

	/* Dropdown arrow + flip */
	.nav-list .dropdown>a {
		padding-right: 2rem;
		position: relative;
	}

	.nav-list .dropdown>a::after {
		right: 1rem;
		top: .8rem;
	}

	.nav-list .dropdown:hover>a::after {
		transform: translateY(3px) scaleY(-1) rotate(45deg);
	}

	.dropdown-menu li a {
		display: inline-block;
		font-weight: var(--regular);
	}

	.dropdown-menu li:first-child a {
		font-weight: var(--bold);
	}
}



main {
	transition: filter 0.2s ease-in-out;
	margin-top: var(--header);
}

main::after {
	display: block;
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--black);
	visibility: hidden;
	opacity: 0;
	z-index: 5;
	transition: opacity 0.5s ease-in-out;
}

body.blur.mouse-moved main::after {
	opacity: 0.5;
	visibility: visible;
}

body.blur.mouse-moved {
	overflow-y: hidden;
}


body.trans main {
	margin-top: 0;
}

section {
	padding: 3.5rem 0;
}

section.hero {
	padding: 1.8rem 0 2.5rem 0;
}

@media (min-width: 576px) {
	section {
		padding-top: 6rem;
	}

	section.hero {
		padding: 4.5rem 0;
	}
}











/* splitted screen style */
.splitted {
	display: flex;
	width: 100%;
	flex-direction: column;
}

.splitted>* {
	flex: initial;
	min-height: 250px;
}

.splitted>.image {
	background-color: var(--primary-dark);

}

@media (min-width:768px) {
	.splitted>* {
		min-height: 400px;
	}
}

@media (min-width:1200px) {
	.splitted {
		flex-direction: row;
	}

	.splitted>* {
		flex: 0 0 50%;
		min-height: 500px;
	}
}










/* Breadcrumbs Styles */


/* hide breadcrumbs on home page */
body.home #breadcrumbs-block {
	display: none;
}

#breadcrumbs-block,
#breadcrumbs-block .row,
#breadcrumbs-block [class^="col-"] {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}

#breadcrumbs-block {
	padding-top: 1.5rem;
}

#breadcrumbs {
	/* breadcrumbs container */
	display: inline-block;
	line-height: 0;
	padding: .5rem .75rem .4rem 0;
	margin: 0;
	border-radius: 10rem;
	background-color: transparent;
	color: var(--black);
}

/* choose dark theme for breadcrumbs by adding .dark to #breadcrumbs-block in template-parts/entry-header.php	*/
#breadcrumbs-block.dark #breadcrumbs {
	background-color: var(--primary-dark);
	color: var(--white);
	padding-left: .75rem;
}

#breadcrumbs a:hover {
	color: var(--darkshadow);
}

#breadcrumbs-block.dark #breadcrumbs a:hover {
	color: var(--transwhite);
}

#breadcrumbs a,
#breadcrumbs a:hover {
	background: none;
}

#breadcrumbs a,
#breadcrumbs span {
	font-size: .7rem;
	font-weight: var(--regular);
	display: inline-block;
	line-height: 1.3;
}

#breadcrumbs>span>span:first-child a {
	/* hide first link on mobile */
	font-size: 0;
}

#breadcrumbs>span>span:first-child a::before {
	/* home icon before first link */
	display: inherit;
	content: '';
	width: .7rem;
	height: .7rem;
	background-image: url(../media/ico-home.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

#breadcrumbs-block.dark #breadcrumbs>span>span:first-child a::before {
	filter: invert();
}


@media (min-width: 768px) {

	#breadcrumbs-block {
		padding-top: 3rem;
	}

	#breadcrumbs a,
	#breadcrumbs span,
	#breadcrumbs>span>span:first-child a {
		font-size: .83333333rem;
	}

	#breadcrumbs>span>span:first-child a::before {
		width: .83333333rem;
		height: .83333333rem;
		margin-right: .5rem;
	}


}



/* Sidebar - context Menu */

.sidebar {
	display: none;
	width: calc(var(--sidebar-width) + var(--gap));
	flex-shrink: 0;
	padding: 0 var(--gap);
}

@media (min-width: 992px) {
	.sidebar {
		display: block;
	}
}


.sidebar>div {
	position: -webkit-sticky;
	position: sticky;
	top: calc(var(--header) + 2rem);
	background-color: var(--white);
	box-shadow: 0 1px 10px var(--shadow);
	border-radius: var(--radius);
	transition: top 0.3s ease-in-out;
}

.header-hidden header+main .sidebar>div {
	top: 2rem;
}


.sidebar ul li a {
	font-weight: var(--semibold);
	font-size: .875rem;
	display: block;
	line-height: 1.3;
	padding: .75rem 1.5rem;
	color: var(--pri);
	border-bottom: 1px solid var(--shadow);
	transition: all 0.2s ease-in-out;
}

@media (min-width: 1200px) {
	.sidebar ul li a {
		font-size: .88888888888rem;
	}
}


.sidebar ul li:first-child a {
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
	padding-top: 1rem;
	background-color: var(--light);
}

.sidebar ul li:last-child a {
	border-bottom: none;
	border-bottom-left-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
	padding-bottom: 1rem;
}

.sidebar ul li a:hover {
	color: var(--black);
	background-color: var(--light);
}


.main-content {
	flex-grow: 1;
}


@media (min-width: 1920px) {
	.main-content {
		padding-left: var(--gap);
	}
}

/* Footer Styles */



footer.main-footer {
	background-color: var(--primary-dark);
}

footer.main-footer * {
	color: var(--white);
	font-size: .9rem;
}

footer.main-footer [class^="col-"] {
	margin-bottom: 2rem;
}


footer.main-footer .menu a {
	display: inline-block;
	font-weight: var(--regular);
	font-size: .83333333rem;
	line-height: 1.3;
}

footer.main-footer .menu a:hover {
	color: var(--transwhite);
}


/* hero sections */


.hero {
	position: relative;
	min-height: 45dvh;
	overflow: hidden;
}

.hero .row {
	width: 100%;
}

.big-hero .hero {
	min-height: calc(100dvh - var(--header));
}

.hero img,
.hero video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	/* .semi-opacity added after loading hero media - transition  */
	opacity: 0;
	filter: grayscale(100);
	transform: translate(-50%, -50%);
	transition: opacity .75s ease-in-out, filter 1.2s ease-in-out;
}


/* video control widget */

#video-toggle {
	position: absolute;
	right: 50%;
	transform: translateX(50%);
	bottom: 2rem;
	z-index: 3;
	background: var(--darkshadow);
	border: 1px solid var(--white);
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	box-sizing: content-box;
}

#video-toggle:hover,
#video-toggle:focus {
	background: var(--black);
	outline: none;
	box-shadow: 0 0 10px var(--shadow);
}

#video-toggle svg {
	pointer-events: none;
	/* kliknięcie dotyczy przycisku, nie SVG */
}




.hero img.semi-opacity,
.hero video.semi-opacity {
	opacity: 0.4;
	filter: grayscale(0);
}

.hero img.full-opacity,
.hero video.full-opacity {
	opacity: 1;
	filter: grayscale(0);
}



/* contrast overlay for hero-image as menu-background */
body.trans .hero:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(1.5 * var(--header));
	background: var(--black);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
}

.hero .container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	index: 2;
}

.hero h1,
.hero p {
	text-shadow: 0px 0px 5px var(--darkshadow);
}

.hero [class^="col-"] {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* cta button in hero */
.hero .btn {
	margin-bottom: 0;
}

.hero .excerpt {
	display: none;
}

/* excerpt in hero displayed by template-parts/entry-header-big-excerpt.php*/
.show-excerpt .hero .excerpt {
	display: block;
	max-width: var(--limit-narrow);
	margin-top: 1.5rem;
}


@media (min-width: 992px) {
	.show-excerpt .hero .excerpt {
		margin-bottom: 3rem;
	}
}

body.trans .hero {
	min-height: calc(45dvh + var(--header));
}

body.trans .big-hero .hero {
	min-height: 100dvh;
}

body.trans .hero .container {
	padding-top: var(--header);
}

.pl .hero h1 {
	max-width: var(--limit-narrow);
}


/* ===============================
   5. Components Styles
   =============================== */

/* Buttons - general *** *** *** *** ***/

.btn,
input[type="submit"],
#CookieDeclarationChangeConsentChange,
#CookieDeclarationChangeConsentWithdraw {
	/* default for secondary - colors inherited, trans background */
	display: inline-block;
	width: 100%;
	padding: .61rem 2rem;
	margin-bottom: 1.5rem;
	font-size: 1rem;
	font-weight: var(--semibold);
	text-align: center;
	border-radius: var(--radius-full);
	border-width: 2px;
	border-style: solid;
	background-color: transparent;
	transition: background-color .3s ease-in-out, color .3s ease-in-out, border-color .3s ease-in-out;
	image-rendering: high-quality;
}

#CookieDeclarationUserStatusLabelWithdraw {
	font-size: 0;
	width: 100%;
}

#CookieDeclarationUserStatusLabelWithdraw a {
	font-size: initial;
}

@media screen and (min-width: 576px) {

	#CookieDeclarationUserStatusLabelWithdraw {
		width: auto;
		margin-left: 1.5rem;
	}

	.btn,
	input[type="submit"],
	#CookieDeclarationChangeConsentChange,
	#CookieDeclarationChangeConsentWithdraw {
		width: auto;
		/* change from width 100% to normal, auto on desktop*/
	}

	.btn+.btn {
		margin-left: 1.5rem;
		/* space between multiple buttons */
	}
}


/* Buttons - colors *** *** *** *** ***/

.btn.black {
	border-color: var(--black);
	background-color: var(--black);
	color: var(--white);
}

.btn.white {
	border-color: var(--light);
	background-color: var(--light);
	color: var(--black);
}

.btn.blue {
	border-color: var(--darkblue);
	background-color: var(--darkblue);
	color: var(--white);
}

.btn.red {
	border-color: var(--darkred);
	background-color: var(--darkred);
	color: var(--white);
}

.btn.aqua {
	border-color: var(--darkaqua);
	background-color: var(--darkaqua);
	color: var(--white);
}

.btn.yellow {
	border-color: var(--darkyellow);
	background-color: var(--darkyellow);
	color: var(--black);
}



/* Buttons - hover colors - except on mobile!!! ***/
@media screen and (min-width: 576px) {
	.btn.secondary:hover {
		background-color: var(--transwhite);
		color: var(--black);
	}

	.btn.black:hover {
		border-color: var(--black);
		background-color: var(--white);
		color: var(--black);
	}

	.btn.white:hover {
		border-color: var(--white);
		background-color: var(--white);
		color: var(--black);
	}

	.btn.blue:hover {
		border-color: var(--blue);
		background-color: var(--blue);
		color: var(--white);
	}

	.btn.red:hover {
		border-color: var(--red);
		background-color: var(--red);
		color: var(--white);
	}

	.btn.aqua:hover {
		border-color: var(--aqua);
		background-color: var(--aqua);
		color: var(--white);
	}

	.btn.yellow:hover {
		border-color: var(--yellow);
		background-color: var(--yellow);
		color: var(--black);
	}

	.dark .btn:hover {
		background-color: var(--subwhite);
	}
}

/* CTA & go up buttons */
/* default styles */


#cta-container {
	position: absolute;
	left: -100vw;
	max-width: 0;
}

.cta,
#up {
	margin: 0;
	padding: .6rem;
	position: fixed;
	right: .5rem;
	box-shadow: 0 1px 6px 0px var(--darkshadow);
	transition: all .3s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	width: auto;
}



.btn img {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 auto;
	text-align: center;
}

.cta {
	bottom: 1rem;
}

#up {
	bottom: -4rem;
}

#up.showbutton {
	bottom: 4.75rem;
}

.cta span,
.cta div.cta2 {
	display: none;
}


/* mobile-only - switched off - cta expanded
@media screen and (max-width: 575px) {

	.cta:hover {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		justify-content: center;
	}

	.cta:hover span {
		display: inline-block;
		line-height: 1;
	}

}
*/


/*desktop styles */
@media screen and (min-width: 1200px) {

	/* CTA in header on the right: text & icon */

	#cta-container {
		position: static;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		height: var(--header);
		min-width: 325px;
	}

	.pl #cta-container {
		min-width: initial;
		display: contents;
	}

	.cta,
	#up {
		padding: .6rem;
		box-shadow: 0 1px 6px 0px var(--darkshadow);
		display: flex;
		align-items: center;
		width: auto;
		transition: color 0.3s ease-in-out,
			background-color 0.3s ease-in-out,
			width 0.3s ease-in-out,
			height 0.3s ease-in-out,
			transform 0.3s ease-in-out,
			left 0.3s ease-in-out,
			top 0.3s ease-in-out;
	}

	#up {
		position: fixed;
		right: .5rem;
		justify-content: center;
	}

	/* Call-to-action button in normal desktop mode */

	.btn.cta {
		flex-direction: column;
		text-align: left;
		position: static;
		padding: .6rem 1rem;
		align-items: flex-start;
	}

	:not(.header-hidden) .btn.cta {
		border-radius: var(--radius-mid);
	}

	.pl:not(.header-hidden) .btn.cta {
		border-radius: var(--radius-full);
	}

	/* First row of call-to-action button in normal desktop mode */
	.cta div.cta1 {
		display: flex;
		justify-content: space-between;
		gap: .4rem;
		position: static;
	}

	/* Call-to-action button in desktop mode after hiding header*/
	.header-hidden .btn.cta {
		border-radius: var(--radius-full);
	}

	/* Show second row of call-to-action button in desktop mode*/
	.btn.cta .cta2 {
		display: block;
	}

	/* Second row of call-to-action button in desktop mode after hiding header*/
	.header-hidden .cta .cta2 {
		display: none;
	}

	.cta div.cta2 * {
		text-align: left;
		margin: 0;
		padding: 0;
		display: inline-block;
		white-space: nowrap;
	}



	.btn img {
		display: block;
		width: 1.5rem;
		height: 1.5rem;
		margin: 0 auto;
		text-align: center;
	}

	.cta span {
		display: inline-block;
	}

	/* Call-to-action button fades up after hiding header  */
	.header-hidden .cta {
		position: fixed;
		bottom: -5rem;
		right: .5rem;
		box-shadow: 0 1px 6px 0px var(--darkshadow);
		animation: slideIn 0.5s forwards;
	}

	@keyframes slideIn {
		from {
			bottom: -5rem;
		}

		to {
			bottom: 1rem;
		}
	}

	#up.showbutton {
		bottom: 1rem;
		/* show to0-top button after scrolling down */
	}

	.header-hidden #up.showbutton {
		bottom: 5rem;
		/* show or move button if header is hidden so cta-button is visible  */
	}

}

/*image styles *** *** *** *** ***/


/* displays image in the original proportions and full size */
img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.25s ease-in-out;
}


/* displays featured image inside the container that forces a specific height on the image */
.featured.image {
	max-height: 600px;
}

@media screen and (max-width: 575px),
screen and (min-width: 992px) and (max-width: 1199px) {
	.featured.image {
		max-height: 350px;
	}
}

.image {
	overflow: hidden;
	position: relative;
	width: 100%;
}

.image.dark {
	background-color: var(--black);
}

.image *:not(img):not(.icon-tile) {
	z-index: 2;
	padding-top: 0;
	padding-bottom: 0;

}

.image *:after {
	display: none;
}

.image.dark img {
	opacity: .4;
}

.image.dark.more-contrast img {
	opacity: .3;
}

.image-centered {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.image-centered img {
	transform: scale(1.01);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100.1%;
	min-height: 100.1%;
}


/* card styles *** *** *** *** ***/

@media screen and (min-width: 1200px) {
	.container.full.has-cards {
		padding-left: calc(.5 * var(--gap) + 4rem);
		padding-right: calc(.5 * var(--gap) + 4rem);
	}
}


.full.has-cards [class^="col-"] {
	margin-bottom: 0;
}

.has-cards [class^="col-"] article {
	height: 100%;
}

.card {
	box-shadow: 0 1px 10px var(--shadow);
	transition: all 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
	box-shadow: 0 2px 12px var(--shadow);
}

.card img.wp-post-image,
.card .image {
	border-radius: var(--radius) var(--radius) 0 0;
}

.card-caption {
	position: absolute;
	display: flex;
	-ms-flex-align: end;
	width: 100%;
	height: 100%;
	background: var(--darkshadow);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0) 75%);
	bottom: 0;
	left: 0;
}

.card-caption h3 {
	color: var(--white);
	margin: 0 0 1.5rem 0;
}

.card-text,
.card-caption {
	padding: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	flex: 1;
}

.card-text {
	justify-content: space-between;
}

.card-caption {
	justify-content: flex-end;
}

.card-text * {
	transition: color 0.3s ease-in-out;
}

.card:hover .image img {
	transform: translate(-50%, -50%) scale(1.2);
	transition: transform 0.75s ease-in-out;
}

.more {
	display: block;
	font-size: 1.111111rem;
	font-weight: var(--bold);
	position: relative;
	width: fit-content;
	color: var(--primary)
}

.more::after {
	right: -1.3rem;
	top: 1.1rem;
	transform: rotate(-45deg) translate(0, -.5rem);
	border-color: var(--primary);
}

/*
@keyframes bounceLoop {
	0% {
		transform: rotate(-45deg) translate(0, -.5rem);
	}

	50% {
		transform: rotate(-45deg) translate(.5rem, 0);
	}

	100% {
		transform: rotate(-45deg) translate(0, -0.5rem);
	}
}

.card:hover .more::after {
	animation: bounceLoop 1s ease-in-out infinite;
}
*/

.card:hover .card-text span {
	color: var(--primary-dark);
}

.card:hover .card-text.dark span {
	color: var(--transwhite);
}

.card {
	height: 100%;
}

/* container for link and icon in card */
.card-text>div:last-child {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
}

/* icon in card */
.card .icon img {
	width: 2rem;
	height: 2rem;
}



/* related posts list *** *** *** *** ***/

/* container with heading */
.related {
	background-color: var(--light);
	padding: var(--gap) 0;
	margin: 0 var(--gap) var(--gap) var(--gap);
	border-radius: var(--radius);
}

/* group of items */
.items-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	padding: 0 var(--gap);
	width: 100%;

}

/* single item including image and text */
.items-group .item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: calc((100% - 2 * var(--gap)) / 3);
	box-sizing: border-box;
	margin-bottom: .5rem;
}

/* icon in single item */
.items-group .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
}

.items-group .icon {
	transition: filter 0.3s ease-in-out;

}

.items-group .icon:hover {}

/* thumbnail in single item */
.items-group .thumbnail .image img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	transition: transform 0.3s ease-in-out;
}

.items-group .thumbnail .image:hover img {
	transform: translate(-50%, -50%) scale(1.1);
}

.items-group .thumbnail .image,
.items-group .thumbnail .image img {
	border-radius: var(--radius);

}


.items-group .item a:last-child {
	color: var(--primary);
	font-weight: var(--bold);
	line-height: 1.2;
	padding-top: 1rem;
}

.items-group .item a:last-child:hover {
	color: var(--primary-dark)
}




@media screen and (max-width: 767px) {
	.related {
		padding: 1rem;
		margin: 0 0 2.5rem 0;
	}

	.items-group {
		gap: 1rem;
		padding: 0;
	}

	.items-group .item {
		width: calc(50% - .5rem);
	}
}


@media screen and (max-width: 575px) {
	.items-group .thumbnail .image {
		aspect-ratio: 1 / 1;
	}
}

/* dark theme for the related section */

.dark.related {
	background-color: var(--primary-dark);
	color: var(--white);
}

.dark.related .items-group a {
	color: var(--white);
}

.dark.related .icon img {
	filter: brightness(0) invert(100%);
}

.dark.related .items-group a:hover {
	color: var(--halfwhite)
}

/* toggle displaying icon or thumbnail in related section */

.related .thumbnail {
	display: none;
}

.related.has-thumbnails .thumbnail {
	display: block;
	width: 100%;
}

.related.has-thumbnails .icon {
	display: none;
}

.icon-tile {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 1rem;
	transform: translate(-50%, -50%);
	background-color: var(--primary);
	border-radius: var(--radius);
}

.icon-tile img {
	width: 2rem;
	height: 2rem;
	margin: 0 auto;
	text-align: center;
	filter: invert(100%) brightness(200%);
	border-radius: none;
}





/* ===============================
	6. Forms Styles
	=============================== */

form {
	max-width: 30rem;
	background-color: var(--beige);
	padding: 1.5rem;
	border-radius: var(--radius);
}

textarea {
	max-height: 15rem;
	overflow-y: auto;
}

/* Opakowanie labeli */
.wpcf7-form p label {
	position: relative;
	display: block;
	font-size: inherit;
}

.wpcf7-form p label>span {
	display: block;
}

.wpcf7-form p label br {
	display: none;
}

/* Floating label as pseudoelement */
.wpcf7-form p label::before {
	content: attr(data-label);
	display: block;
	position: absolute;
	left: 0.75rem;
	top: .75rem;
	color: var(--darkgray);
	font-size: inherit;
	pointer-events: none;
	transition: all 0.2s ease-in-out;
	z-index: 1;
}

.wpcf7-form p label.focus::before,
.wpcf7-form p label.filled::before {
	font-size: .8rem;
	top: 0.1rem;
	color: var(--blue);
}



/* Inputs */
.wpcf7-form input:not([type="submit"]:not([type="checkbox"])),
.wpcf7-form textarea {
	width: 100%;
	padding: 1.2rem 0.75rem 0.3rem 0.75rem;
	font-size: inherit;
	border-style: solid;
	border-width: 1px;
	border-color: var(--beige);
	border-radius: var(--radius);
	background: var(--white);
	transition: all 0.1s ease-in-out;
}


.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
	color: transparent;
}

.wpcf7-form input:not([type="submit"]):hover,
.wpcf7-form textarea:hover,
.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {
	border-color: var(--secondary);
}

.wpcf7-form input:not([type="submit"]):hover,
.wpcf7-form textarea:hover,
.wpcf7-acceptance .wpcf7-list-item-label:hover::before {
	box-shadow: inset 0 0 0 1px var(--shadow);
}

.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {
	box-shadow: inset 0 0 0 2px var(--secondary);
}

.wpcf7-form input:not([type="submit"]:not([type="checkbox"])).wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
	border: 2px solid var(--red);
	margin-bottom: 1rem;
	border-radius: var(--radius) var(--radius) 0 0;
}

.wpcf7-not-valid-tip {
	display: block;
	position: absolute;
	bottom: -.5rem;
	left: 0;
	width: 100%;
	padding: 0.1rem 0.75rem;
	background-color: var(--red);
	color: var(--white);
	font-size: .8rem;
	border-radius: 0 0 var(--radius) var(--radius);
	margin-bottom: -1px;
	z-index: 2;
	transition: all 0.2s ease-in-out;
}


input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	padding: 0;
	white-space: nowrap;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	line-height: 1
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
	content: '';
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: var(--radius);
	background-color: var(--white);
	border: 1px solid var(--darkgray);
	margin-right: .75rem;
	vertical-align: middle;
	transition: all 0.2s ease-in-out;
	margin-bottom: 3px;
	position: relative;
	cursor: pointer;
}

/* Znaczek ✓ w checkboxie */
.privacy-accept:checked+.wpcf7-list-item-label::after {
	content: '';
	position: absolute;
	top: 0.15rem;
	left: 0.45rem;
	width: 0.35rem;
	height: 0.7rem;
	border: solid var(--white);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	pointer-events: none;
}

/* Ustawienie pozycji względem ::before */
.wpcf7-acceptance .wpcf7-list-item-label {
	position: relative;
}



.privacy-accept:checked+.wpcf7-list-item-label::before {
	background-color: var(--blue);
}

.privacy-accept:focus+.wpcf7-list-item-label::before {
	outline: 2px solid var(--secondary);
	outline-offset: 2px;
}


.fullrodo {
	font-size: .85rem;
	line-height: 1.3;
	margin: .5rem 0 2rem 0;
}


.wpcf7 input[type="submit"] {
	background-color: var(--blue);
	color: var(--white);
	border-color: var(--blue);
	cursor: pointer;
}

.wpcf7 p input[type="submit"] {
	margin-bottom: 0;
}

.wpcf7 input[type="submit"]:disabled {
	background-color: var(--gray);
	border-color: var(--gray);
	cursor: not-allowed;
}

.wpcf7 input[type="submit"]:not(:disabled):hover {
	background-color: var(--darkblue);
	border-color: var(--darkblue);
}



.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 1rem;
	border: 0 solid var(--aqua);
	border-left-width: .7rem;
	border-radius: var(--radius);
	background-color: var(--white);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--green);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: var(--red);
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--darkyellow);
	/* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: var(--yellow);
}

.wpcf7-spinner {
	display: none;
}

/* ===============================
   6. Utility styles
   =============================== */

/* accessibility */

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 0;
	top: 0;
	background: var(--black);
	color: var(--beige);
	padding: 1rem;
	z-index: 9999;
}

a:focus-visible,
b button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--secondary);
	outline-offset: 2px;
}

/* *** */


.center p,
.center ul,
.center .h1 {
	text-align: center;
}

@media screen and (max-width: 767px) {

	.center p,
	.center ul {
		text-align: left;
		hyphens: auto;
	}

}

.center-max {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
}

/* element for groupping content */
.block {
	margin-bottom: 1.5rem;
}

.blue {
	background-color: var(--blue);
}

.darkblue {
	background-color: var(--darkblue);
}

.red {
	background-color: var(--red);
}

.darkred {
	background-color: var(--darkred);
}

.yellow {
	background-color: var(--yellow);
}

.darkyellow {
	background-color: var(--darkyellow);
}

.aqua {
	background-color: var(--aqua);
}

.darkaqua {
	background-color: var(--darkaqua);
}

.light {
	background-color: var(--light);
}

.white {
	background-color: var(--white);
}

.black {
	background-color: var(--black);
}

/* class identyfying dark theme !!!!
Always combine with color-class to get white color of content
on dark back */
.dark {
	color: var(--white);
}

.dark * {
	color: var(--white);
}

.rad {
	border-radius: var(--radius);
}


/* limit max content width 
mostly for one-column-content in desktop !!!
e.g. paragraphs */

.container.limited,
.limited {
	max-width: var(--limit-wide);
	margin-left: auto;
	margin-right: auto;
}

.limited.rightonly {
	max-width: var(--limit-middle);
	margin-left: 0;
	margin-right: auto;
}

.narrow {
	max-width: var(--limit-narrow);
	margin-left: auto;
	margin-right: auto;
}

.middle {
	max-width: var(--limit-middle);
	margin-left: auto;
	margin-right: auto;
}




/* propotions for grid elements */

.format-auto {
	aspect-ratio: auto;
	height: 100%;
}

.format-quad {
	aspect-ratio: 1 / 1;
}

.format-vertical {
	aspect-ratio: 9 / 16;
}

.format-horizontal {
	aspect-ratio: 16 / 9;
}

.format-panoramic {
	aspect-ratio: 2 / 1;
}

.format-panoramic-wide {
	aspect-ratio: 26 / 10;
}

.figures [class^="col-"] *,
.figures [class^="col-"] {
	text-align: center;
}


/* ===============================
	7. Plugins Styles
	=============================== */

/*swiper.js */

.swiper-pagination-bullet {
	background: var(--darkshadow);
}

.swiper-pagination-bullet-active {
	background: var(--secondary);
}

.dark .swiper-pagination-bullet {
	background: var(--white);
	opacity: .5;
}

.dark .swiper-pagination-bullet-active {
	background: var(--white);
	opacity: 1;
}



/* ===============================
	URBANOVA SITE STYLES
	=============================== */

.urbanova .light {
	background-color: var(--beige);
}

.urbanova header {
	background-color: var(--beige);
	box-shadow: none;
}

.urbanova .nav-list>li a {
	text-transform: uppercase;
	font-size: 1.1rem;
	font-weight: var(--regular);
}

.urbanova .big-hero section.hero {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.8rem 0 3.5rem 0;
	background-color: var(--black);
}

.urbanova .banner section.hero {
	background-color: var(--darkblue);
}

.urbanova.pl .banner section.hero {
	background-color: var(--black);
}

.urbanova .banner section.hero h1 {
	color: var(--beige)
}

.urbanova .big-hero section.hero h1 {
	text-shadow: 2px 2px 20px var(--black)
}

@media (min-width: 768px) {
	.urbanova .nav-list li:nth-child(n) {
		padding: 0 .25rem;
	}

	.urbanova .big-hero {
		border-radius: 0 0 0 var(--radius-large);
		margin-left: 2rem;
		overflow: hidden;
	}

	.urbanova .big-hero section.hero {
		min-height: calc(100dvh - var(--header) - 2rem);
		padding: 2.5rem 0;
	}


	.urbanova .hero img.semi-opacity,
	.urbanova .hero video.semi-opacity {
		opacity: 0.65;
	}

	.pl.urbanova .hero img.semi-opacity {
		opacity: 0.3;
	}


}

.urbanova .main-nav {
	background-color: var(--beige);
}

.urbanova h1,
.urbanova .h1 {
	letter-spacing: normal;
	text-transform: uppercase;
	max-width: var(--limit-wide);
}

.urbanova .center h1::after,
.urbanova .center .h1::after {
	margin-left: 50%;
	transform: translateX(-50%)
}

.urbanova h1 span,
.urbanova .h1 span {
	display: block;
	font-size: 1.5rem;
	padding-top: 1rem;
	text-transform: none;
	font-weight: var(--regular);
}

.urbanova .col-sm-12.center {
	max-width: var(--limit-wide);
	margin-left: auto;
	margin-right: auto;
}

.urbanova p a {
	color: var(--darkblue);
}

.urbanova .dark p a {
	color: inherit;
}

.urbanova #up.btn,
.urbanova #cta-container .btn {
	background-color: var(--darkblue);
	color: white;
	border: none;
}

@media (min-width: 576px) {

	.urbanova #up.btn:hover,
	.urbanova #cta-container .btn:hover {
		background-color: var(--blue);
	}
}

@media screen and (min-width: 1200px) {
	.urbanova:not(.pl) #cta-container {
		position: absolute;
		top: 250px;
		left: auto;
		right: 0rem;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		height: var(--header);
		width: auto;
		min-width: auto;
	}

	.urbanova:not(.header-hidden) #cta-container .btn.cta img {
		display: none;
	}

}

#about section.hero {
	min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}



@media screen and (min-width: 768px) {
	#about section.hero {
		min-height: 100dvh;
	}
}

#about section.hero img {
	opacity: .4;
}


#about .figures [class^="col-"] {
	margin-bottom: var(--site-padding)
}

.pl #about .figures [class^="col-"],
.pl #about .figures [class^="col-"] * {
	text-align: left;
}


#about .figures {
	display: flex;
	flex-wrap: wrap;
}


#about .figures .counter {
	font-weight: var(--bold);
	font-size: 3rem;
	color: var(--beige);
}

.pl #about .figures .counter+.h3 {
	margin-bottom: .5rem;
}

.pl #about .figures .counter::before {
	content: '+';
	display: inline-table;
	font-size: inherit;
	color: inherit;
}

@media screen and (min-width: 1200px) {

	#about .figures [class^="col-"] {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 0;
	}

	#about .figures .counter {
		transform: rotate(-90deg) translateY(65%);
		transform-origin: bottom left;
		display: inline-block;
		margin-bottom: 0.5rem;
		/* odstęp od <p> */
	}

	.pl #about .figures .counter {
		transform: none;
		display: inline-block;
		margin-bottom: 0.5rem;
		line-height: 1;
	}

	#about .figures p {
		display: block;
		margin-top: 1.5rem;
		max-width: 320px;
		text-align: left;
	}

	.pl #about .figures p {
		margin-top: 0;
		max-width: 100%;
	}

	.pl #about .figures ul {
		margin-top: 3rem;
	}

	#about .figures [class^="col-"],
	#about .figures [class^="col-"] * {
		text-align: left;
		/* dla wszystkich elementów kolumny */
	}

	#about .figures .counter {
		font-size: 8rem;
	}

	.pl #about .figures .counter {
		font-size: 6rem;
	}

}


@media screen and (min-width: 1600px) {
	.pl #about .figures .counter {
		font-size: 8rem;
	}
}


.img-column {
	display: flex;
}

.img-column.right {
	justify-content: flex-end;
}

.img-column.right img {
	border-radius: var(--radius) 0 0 var(--radius-large);
}

.img-column.left {
	justify-content: flex-start;
}

.img-column.left img {
	border-radius: 0 var(--radius) var(--radius-large) 0;
}


@media (min-width: 992px) {
	.row.alternate {
		display: flex;
		flex-wrap: nowrap;
	}

	.row.alternate .img-column {
		order: 2;
	}

	.row.alternate>div:not(.img-column) {
		order: 1;
	}

	.img-column.left img {
		position: relative;
		right: calc(var(--site-padding) + var(--gap));
	}

	.img-column.right img {
		position: relative;
		left: calc(var(--site-padding) + var(--gap));
	}



}

.about-details .row:not(:first-child) {
	padding-bottom: var(--gap);
}

.about-details .row:not(:first-child) h3 {
	padding-top: var(--gap);
}

.about-details .btn {
	margin-top: 2rem;
}


.urbanova-brands {
	display: flex;
	justify-content: space-between;
	gap: 3rem;
	/* odstępy między linkami */
}

.urbanova-brands img {
	width: 100%;
	/* obrazek wypełnia link */
	height: auto;
	/* zachowanie proporcji */
	max-height: 60px;
	/* ograniczenie do 80px wysokości */
	object-fit: contain;
	/* obrazek mieści się w linku bez przycinania */
}

.urbanova-brands a:hover img {
	opacity: .5;
	transition: opacity .2s ease-in-out;
}

@media (max-width: 767px) {
	.urbanova-brands {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2rem;
	}

	.urbanova-brands img {
		max-height: 30px;
	}
}

.swiper.brands-pl-slider {
	padding-bottom: 2rem
}

.brands-pl-slider .swiper-wrapper {
	align-items: stretch;
	/* wszystkie slajdy mają równą wysokość */
}

.brands-pl-slider .swiper-slide {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: var(--gap);
	height: 100%;
}

.brands-pl-slider .card-content {
	flex: 1;
	/* rośnie, wypycha button w dół */
}

.brands-pl-slider .swiper-slide .card-content>a {
	display: block;
	width: max-content;
	margin-bottom: 2rem;
}

.brands-pl-slider .swiper-slide .card-content>a img {
	height: 50px;
	width: auto;
	transition: opacity .2s ease-in-out;
}

.brands-pl-slider .swiper-slide .card-content>a:hover img {
	opacity: 0.5;
}

.brands-pl-slider .swiper-slide p {
	max-width: 450px;
}

.brands-pl-slider .swiper-slide a.btn {
	margin-top: 2.5rem
}

/* presentation #portfolio */

.company {
	padding-top: var(--site-padding);
	/* padding for the company section */
}

@media (min-width: 576px) {
	.company.row:not(:last-child) {
		margin-bottom: -18vw;
		/* negative bottom margin for spacing */
	}

	.company.row {
		max-width: calc(var(--limit-wide) + var(--company-offset));
		/* max width and centered */
		margin-left: auto;
		margin-right: auto;
	}

}

@media (min-width: 1921px) {
	.company.row:not(:last-child) {
		margin-bottom: -320px;
		/* negative bottom margin for spacing */
	}
}

.company-container {
	position: relative;
	/* container positioning context */
	display: flex;
	/* flex container */
	max-width: var(--company-max-size);
}

.container div.row.company:nth-of-type(odd),
.container div.row.company:nth-of-type(odd) .company-container {
	justify-content: flex-end;
	/* align odd rows to the right */
}

/* company image as a link */
a.company-img {
	display: block;
	/* make link a block element */
	width: 100%;
	height: 100%;
	position: relative;
	background-color: var(--black);
	border-radius: var(--radius) var(--radius) var(--radius) var(--radius-large);
	aspect-ratio: 1/1;
	max-width: var(--company-max-size);
	max-height: var(--company-max-size);
	overflow: hidden;
	box-shadow: calc(var(--company-offset)/20) calc(var(--company-offset)/20) calc(10px + var(--company-offset)/10) calc(1px + var(--company-offset)/30) var(--shadow);
}

/* main link container styles */
a.company-img>.company-logo-container {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	/* center logo inside */
	align-items: center;
	justify-content: center;
	opacity: 0;
	background-color: transparent;
	visibility: hidden;
	transition: opacity .3s ease-in-out, visibility .3s ease-in-out, background-color .3s ease-in-out;
}

a.company-img:hover>.company-logo-container {
	opacity: .9;
	/* show background and logo on hover */
	visibility: visible;
}

/* hover background colors based on company type */
.stadtraum a.company-img:hover>.company-logo-container {
	background-color: var(--aqua);
}

.prs a.company-img:hover>.company-logo-container {
	background-color: var(--blue);
}

.mtd a.company-img:hover>.company-logo-container {
	background-color: var(--yellow);
}

/* logos inside the overlay */
.company-logo-container img,
a.company-img:hover>.company-logo-container img {
	width: 50%;
	max-width: initial;
	margin-top: 0;
	transition: all .3s ease-in-out;
}

.mtd .company-logo-container img {
	filter: brightness(200) invert();
	/* special filter for MTD logos */
}

/* opacity for images inside the link */
.company-logo-container+img {
	opacity: 1;
	/* visible by default */
}

/* captions style and behavior */
a.company-img>h3.h1 {
	display: inline-block;
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translate(50%, 2%) scale(.7);
	color: var(--white);
	text-align: center;
	transition: all .3s ease-in-out;
	max-width: none;
	width: 100%;
	margin-bottom: 8%;
	user-select: none;
	pointer-events: none;
}

.urbanova a.company-img>h3.h1 span {
	padding-top: .5rem;
}

a.company-img:hover>h3.h1 {
	opacity: 0;
	/* hide caption on hover */
	visibility: hidden;
}

a.company-img>h3:after {
	display: none;
}

@media screen and (max-width: 767px) {

	a.company-img:hover+.company-icon {
		display: none;
	}

	a.company-img>.company-logo-container {
		opacity: 1;
		/* show overlay always on small screens */
		visibility: visible;
		align-items: flex-start;
	}

	a.company-img:hover>.company-logo-container {
		align-items: center;
		/* center on hover */
	}

	.company-logo-container img {
		max-width: 100px;
		margin-top: 2rem;
	}

	.mtd .company-logo-container img {
		filter: none;
		/* reset filter for small screens */
	}

	.mtd a.company-img:hover>.company-logo-container img {
		filter: brightness(200) invert();
		/* filter on hover */
	}
}

/* company icons styling */
.company-icon {
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	aspect-ratio: 1/1;
	border-radius: var(--radius);
	user-select: none;
	pointer-events: none;
	box-shadow: 0 0 10px 1px var(--shadow);
}

.stadtraum .company-icon {
	background-color: var(--aqua);
}

.prs .company-icon {
	background-color: var(--blue);
}

.mtd .company-icon {
	background-color: var(--yellow);
}

.company-icon img {
	width: 2rem;
	margin: .5rem;
	height: auto;
}


@media screen and (min-width: 576px) {
	.company-icon {
		top: 15%;
		right: 0;
		transform: translate(calc(50% + var(--company-offset)), calc(var(--company-offset) - 50%));
	}
}

@media screen and (min-width: 992px) {
	.company-icon img {
		width: 4rem;
		margin: 1rem;
	}
}


/* kontaktform */

@media (max-width: 575px) {
	.urbanova #kontakt section.kontakt {
		padding-bottom: 0;
	}

	.urbanova #kontakt section.kontakt .container .row [class^="col-"].nomargin {
		margin-bottom: 0;
	}

	.urbanova #kontakt form {
		padding-bottom: 3.5rem;
	}

}

.urbanova #kontakt section.kontakt .container .row [class^="col-"]:first-child {
	margin-bottom: calc(1.5rem + var(--site-padding));
}

.urbanova #kontakt form {
	max-width: none;
	border-radius: var(--radius-mid);
}

.urbanova .form-result {
	padding-top: 1.5rem
}

.urbanova .form-result p {
	padding: .5rem 1rem;
	background-color: var(--white);
	color: var(--black);
	border-style: solid;
	border-width: 1px 1px 1px 1rem;
	border-radius: var(--radius);
	display: block;
	width: 100%;
}

.urbanova .form-result p.success {
	border-color: var(--green)
}

.urbanova .form-result p.error {
	border-color: var(--red)
}

/* footer */

.urbanova footer.main-footer * {
	color: var(--beige);
}

.urbanova footer.main-footer a:hover {
	color: var(--white)
}

.urbanova footer.main-footer #footer-nav .row {
	max-width: var(--limit-wide);
	margin-left: auto;
	margin-right: auto;
}


.urbanova footer.main-footer #footer-nav .row div {
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
}

.urbanova footer.main-footer #footer-nav .row.footer-logos div {
	align-items: end;
}

.urbanova footer.main-footer #footer-nav .row.footer-logos+.row div {
	flex-direction: column;
}

.urbanova footer.main-footer #footer-nav .row img {
	max-width: 150px;
}

.urbanova footer.main-footer #footer-nav .row.footer-logos+.row img {
	max-width: 250px;
}

.urbanova footer.main-footer #footer-nav .row.footer-logos+.row p {
	margin: 1rem;
}

.urbanova section#footer-legal .row.legal div:first-child {
	display: none;
}

.urbanova section#footer-legal .row.legal div {
	align-items: center;
	text-align: center;
}


.urbanova.pl #social {
	padding-top: 2rem;
}

.urbanova.pl #social a {
	display: inline-block;
}

.urbanova.pl #social a img {
	height: 2rem;
	width: auto;
}

@media (min-width: 576px) {

	.urbanova section#footer-nav {
		padding-bottom: 3rem;
	}

	.urbanova section#footer-legal {
		padding-top: 3rem;
	}

	.urbanova section#footer-legal .row.legal div:nth-child(1) {
		display: block;
		align-items: start;
		text-align: left;
	}

	.urbanova section#footer-legal .row.legal div:nth-child(2) {
		align-items: end;
		text-align: right;
	}


}



/* footer in mobile main menu*/

body.no-scroll footer.main-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 20;
	pointer-events: none;
}

body.no-scroll footer.main-footer section#footer-legal {
	padding-top: 0;
	padding-bottom: 0;
}

footer.main-footer .row.legal nav ul li {
	display: inline-block;
}

footer.main-footer .row.legal nav ul li:not(:last-child) a:after {
	display: inline-block;
	padding: 0 .75rem;
	content: '|'
}

body.no-scroll footer.main-footer,
body.no-scroll footer.main-footer .black {
	background-color: transparent;
}

body.no-scroll footer.main-footer #footer-nav,
body.no-scroll footer.main-footer .row {
	display: none;
}

body.no-scroll footer.main-footer .row.legal {
	display: block;
	pointer-events: auto;
	animation: slidePadding 1s forwards;
}

body.no-scroll footer.main-footer .row.legal a {
	color: var(--black)
}

@keyframes slidePadding {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}