/*!
Theme Name: MaxiSpace
Theme URI: https://maxispace.com
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maxispace
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

MaxiSpace is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Fonts & Colors 
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://use.typekit.net/sej6jmz.css");

.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

:root{
	--color1: #ffffff;
	--color2: #022655;
	--color3: #03295A;
	--color4: #00B250;
	--color5: #F8F8F8;
	--color6: #000000;
} 


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bold;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Roboto", sans-serif;
}

p {
	margin-bottom: 1.5em;
	font-family: "Roboto", sans-serif;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
/* === MaxiSpace Header === */
.ms-header{
	position: relative;
	z-index: 1000;
	background:#fff;
}

.ms-header__inner{
	max-width: 1320px;
	margin: 0 auto;
	padding: 18px 24px;
	display:flex;
	align-items:center;
	gap: 18px;
}

.ms-header__brand{ display:flex; align-items:center; }
.ms-header__logo img{ height: 60px; width:auto; display:block; }
.ms-header__logo-text{ font-weight:800; text-decoration:none; color:#0b1b3a; }

.ms-nav{ margin-left: auto; }
.ms-nav__list{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	align-items:center;
	gap: 22px;
}

.ms-nav__item{ position: relative; }
.ms-nav__link{
	display:inline-flex;
	align-items:center;
	gap: 8px;
	text-decoration:none;
	color:var(--color3);
	font-family: "Roboto", sans-serif;
	font-weight: normal;
	font-size: 18px;
	letter-spacing: 0.1px;
	padding: 10px 2px;
}

.ms-nav__link:hover,
.ms-nav__link:focus{ color:#0b2a66; }

.ms-caret{
	display:inline-block;
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transform: translateY(1px);
	opacity: .75;
}

/* Dropdown (małe) */
.ms-submenu{
	position:absolute;
	top: calc(100% + 10px);
	left: -12px;
	min-width: 220px;
	background:#fff;
	border: 1px solid rgba(11,27,58,.10);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(11,27,58,.10);
	padding: 10px;
	list-style:none;
	margin:0;
	opacity:0;
	visibility:hidden;
	transform: translateY(8px);
	transition: .18s ease;
}

.ms-submenu a{
	display:block;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration:none;
	color:#0b1b3a;
	font-weight:600;
	font-size: 13px;
}

.ms-submenu a:hover,
.ms-submenu a:focus{
	background: rgba(11,27,58,.04);
}

/* Mega */
.ms-mega{
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	background:#fff;
	border-top: 1px solid rgba(11,27,58,.08);
	opacity:0;
	visibility:hidden;
	transform: translateY(8px);
	transition: .18s ease;
}

.ms-mega__inner{
	max-width: 1320px;
	margin: 0 auto;
	padding: 42px 24px 48px;
	display:grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 48px;
}

.ms-mega__headline{
	margin:0 0 18px;
	font-family: "Roboto", sans-serif;
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: 0px;
	font-weight: 300;
	color:var(--color3);
	max-width: 330px;
}

.ms-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding: 12px 18px;
	border-radius: 999px;
	text-decoration:none;
	font-weight: 700;
	font-size: 13px;
}

.ms-btn--outline{
	border: 2px solid #14b86a;
	color:#0b1b3a;
	background: transparent;
}

.ms-btn--outline:hover{
	background: rgba(20,184,106,.08);
}

.ms-mega__list{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	flex-direction:column;
	gap: 10px;
}

.ms-mega__list a{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap: 20px;
	text-decoration:none;
	color:#0b1b3a;
	font-weight: 800;
	font-size: 18px;
	padding: 6px 0;
}

.ms-mega__list a:hover,
.ms-mega__list a:focus{ color:#0b2a66; }

.ms-arrow{ opacity:.85; }

/* Search */
.ms-header__actions{
	display:flex;
	align-items:center;
}

.ms-search__btn{
	background: transparent;
	border: 0;
	padding: 10px 8px;
	cursor: pointer;
	color:#0b1b3a;
}

.ms-search__btn:hover{ color:#0b2a66; }

.ms-search__panel{
	position:absolute;
	right: 24px;
	top: calc(100% - 8px);
	background:#fff;
	border: 1px solid rgba(11,27,58,.10);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(11,27,58,.10);
	padding: 12px;
	width: min(420px, calc(100vw - 48px));
}

.ms-search__panel form{
	display:flex;
	gap: 8px;
}

.ms-search__panel input[type="search"]{
	width: 100%;
	padding: 12px 12px;
	border-radius: 12px;
	border: 1px solid rgba(11,27,58,.18);
}

.ms-search__panel input[type="submit"]{
	padding: 12px 14px;
	border-radius: 12px;
	border: 0;
	cursor:pointer;
	font-weight:700;
}

/* HOVER / FOCUS: otwieranie */
.ms-nav__item.has-dropdown:hover > .ms-submenu,
.ms-nav__item.has-dropdown:focus-within > .ms-submenu{
	opacity:1;
	visibility:visible;
	transform: translateY(0);
}
.ms-nav__item.has-mega{
  position: static;
}
.ms-nav__item.has-mega > .ms-mega{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;             
  margin-top: 0px;     
  width: 100%;
}

.ms-nav__item.has-mega:hover > .ms-mega,
.ms-nav__item.has-mega:focus-within > .ms-mega,
.ms-nav__item.is-open > .ms-mega{
	opacity:1;
	visibility:visible;
	transform: translateY(0);
}

/* Mobile */
.ms-nav__toggle{
	display:none;
	margin-left:auto;
	background:transparent;
	border:0;
	padding: 10px 8px;
	cursor:pointer;
}

.ms-burger{
	display:inline-block;
	width: 22px; height: 2px;
	background: #0b1b3a;
	position:relative;
}
.ms-burger:before,
.ms-burger:after{
	content:"";
	position:absolute;
	left:0;
	width:22px; height:2px;
	background:#0b1b3a;
}
.ms-burger:before{ top:-7px; }
.ms-burger:after{ top:7px; }

@media (max-width: 980px){
	.ms-nav{ display:none; width:100%; }
	.ms-nav.is-open{ display:block; }
	.ms-nav__toggle{ display:inline-flex; }

	.ms-header__inner{
		flex-wrap: wrap;
	}

	.ms-nav__list{
		flex-direction:column;
		align-items:flex-start;
		gap: 0;
		padding: 10px 0 6px;
	}

	.ms-nav__link{
		width:100%;
		justify-content:space-between;
		padding: 14px 0;
	}

	.ms-submenu{
		position: static;
		opacity:1; visibility:visible; transform:none;
		border:0; box-shadow:none;
		padding: 0 0 10px 0;
		display:none;
	}

	.ms-nav__item.is-open > .ms-submenu{ display:block; }

	.ms-mega{
		position: static;
		opacity:1; visibility:visible; transform:none;
		border:0;
		display:none;
	}

	.ms-nav__item.is-open > .ms-mega{ display:block; }

	.ms-mega__inner{
		grid-template-columns: 1fr;
		padding: 15px;
		gap: 18px;
	}

	.ms-mega__headline{ font-size: 26px; }
	.ms-search__panel{ right: 16px; }
}

/* Posts and pages
--------------------------------------------- */
.sticky {display: block;}
.post, .page {margin: 0 0 1.5em;}
.updated:not(.published) {display: none;}
.page-content, .entry-content, .entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both; margin: 0 0 1.5em;}

/* Comments
--------------------------------------------- */
.comment-content a {word-wrap: break-word;}

.bypostauthor {display: block;}

/* Widgets
--------------------------------------------- */
.widget {margin: 0 0 1.5em;}
.widget select {max-width: 100%;}

/* Media
--------------------------------------------- */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {border: none; margin-bottom: 0; margin-top: 0; padding: 0;}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {display: inline-block;}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {margin: 0.8075em 0;}

.wp-caption-text {text-align: center;}

/* Galleries
--------------------------------------------- */
.gallery {margin-bottom: 1.5em; display: grid; grid-gap: 1.5em;}
.gallery-item {display: inline-block; text-align: center; width: 100%;}
.gallery-columns-2 {grid-template-columns: repeat(2, 1fr);}
.gallery-columns-3 {grid-template-columns: repeat(3, 1fr);}
.gallery-columns-4 {grid-template-columns: repeat(4, 1fr);}
.gallery-columns-5 {grid-template-columns: repeat(5, 1fr);}
.gallery-columns-6 {grid-template-columns: repeat(6, 1fr);}
.gallery-columns-7 {grid-template-columns: repeat(7, 1fr);}
.gallery-columns-8 {grid-template-columns: repeat(8, 1fr);}
.gallery-columns-9 {grid-template-columns: repeat(9, 1fr);}
.gallery-caption {display: block;}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* FOOtER START */
.site-footer{
  background: var(--color2);
  background-image: url(/wp-content/uploads/2025/12/bg001-scaled.png);
  color: var(--color1);
  padding: 28px 0;
}

.site-footer .footer-inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: end;
}

.footer-logo img{
  display: block;
  max-width: 180px;
  height: auto;
}

.footer-info{
  margin-top: 12px;
  font-size: 50px;
  line-height: 1.45;
  opacity: .9;
}

@media (max-width: 720px) {
	.footer-info{font-size: 26px;}
}

.footer-copy{
  margin-top: 14px;
  font-size: 12px;
  opacity: .75;
}

.footer-menu{
  justify-self: center;
}

.footer-menu-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.footer-menu-list a{
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 12px;
}

.footer-menu-list a:hover,
.footer-menu-list a:focus{
  color: #fff;
  text-decoration: underline;
}

.footer-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #16a34a; /* zielona obwódka */
  color: #16a34a;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  transition: .2s ease;
  margin-bottom: 40px;
}

.footer-cta:hover,
.footer-cta:focus{
  background: rgba(22,163,74,.14);
}

.footer-social{
  display: inline-flex;
  gap: 12px;
  margin-bottom: 35px;
}

.social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.social-link:hover,
.social-link:focus{
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 980px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .footer-menu{
    justify-self: start;
  }

  .footer-menu-list{
    justify-content: flex-start;
  }

  .footer-right{
    justify-self: start;
  }
}
/* FOOTER END */

/* =========================================================
   SHARED (wspólne dla archive + single)
   ========================================================= */
.container, .mk-container{max-width:1320px;margin:0 auto;padding:0 24px;}
@media (max-width: 1024px){.container, .mk-container{padding:0 18px;}}
@media (max-width: 640px){.container, .mk-container{padding:0 14px;}}

.mk-dot{display:inline-block;width:8px;height:8px;border-radius:2px;background:#2cc36b;}

/* =========================================================
   MARKETS ARCHIVE (layout jak na screenie)
   Scope: body.post-type-archive-market
   ========================================================= */
.mk-hero{
    background: var(--color2);
    background-image: url(/wp-content/uploads/2025/12/bg001-scaled.png);
    color:#ffffff;
    padding:48px 0 56px;
}

.mk-hero__inner{
    display:grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap:200px;
    align-items:start;
}
.mk-hero__inner--noimg{
  display: block; /* lub flex, zależnie jak masz, ale to zapewnia brak pustej prawej kolumny */
}

.mk-hero__left--full{
  width: 100%;
  max-width: 100%;
}
@media (max-width: 980px){
 .mk-hero__inner{grid-template-columns:1fr;gap:22px;}
}

.mk-breadcrumbs{font-size:12px;opacity:.8;margin-bottom:70px;}
.mk-breadcrumbs a{color:#fff;text-decoration:none;}
.mk-breadcrumbs__sep{margin:0 8px;opacity:.7;}

.mk-eyebrow{
  display:flex;align-items:center;gap:10px;
  font-weight:700;letter-spacing:.08em;font-size:12px;
  margin-bottom:5px;text-transform:uppercase;
}
.mk-hero__title{
  font-size:60px;line-height:1.08;font-weight:300;margin:0 0 18px;
}
@media (max-width: 980px){
	.mk-hero__title{font-size:28px;}
}
@media (max-width: 640px){
	.mk-hero__title{font-size:22px;}
}
.mk-hero__text{max-width:520px;font-size:16px;line-height:1.6;opacity:.92;}

.mk-hero__gallery{display:grid;gap:14px;}
.mk-hero__gallery-item{margin:0;}
.mk-hero__img{
  width:100%;height:220px;object-fit:cover;border-radius:0;display:block;
}
@media (max-width: 980px){
  .mk-hero__img{height:190px;}
}
@media (max-width: 640px){
  .mk-hero__img{height:160px;}
}

/* Our markets */
.mk-section{padding:46px 0;}
body.post-type-archive-market .mk-section__head{display:flex;align-items:center;gap:10px;margin-bottom:18px;}
body.post-type-archive-market .mk-section__label{
  font-weight:700;letter-spacing:.08em;font-size:12px;color:#2d3a4a;text-transform:uppercase;
}
body.post-type-archive-market .mk-section__label .mk-dot{background:#2cc36b;}

body.post-type-archive-market .mk-markets-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:30px 10px;
}
@media (max-width: 1024px){
  body.post-type-archive-market .mk-markets-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 560px){
  body.post-type-archive-market .mk-markets-grid{grid-template-columns:1fr;}
}

body.post-type-archive-market .mk-card{position:relative;}
body.post-type-archive-market .mk-card a{display:block;color:inherit;text-decoration:none;}
body.post-type-archive-market .mk-card__img{
  width:100%;height:310px;object-fit:cover;display:block;background:#eef2f6;
}
body.post-type-archive-market .mk-card__title{
  margin:10px 0 0;font-size:30px;font-weight:700;
  font-family:"din-2014", sans-serif;color:#1b2a3a;
  display:flex;align-items:center;gap:10px;
}
body.post-type-archive-market .mk-card__arrow{font-weight:700;color:#1b2a3a;opacity:.8;}

/* Services (archive) */
body.post-type-archive-market .mk-services{background:#F8F8F8;padding:54px 0;}
body.post-type-archive-market .mk-services__inner{
  display:grid;grid-template-columns: 1.2fr 0.9fr;gap:34px;align-items:center;
}
@media (max-width: 980px){
  body.post-type-archive-market .mk-services__inner{grid-template-columns:1fr;gap:20px;}
}
body.post-type-archive-market .mk-services__text{
  font-size:36px;font-weight:300;line-height:1.2;color:#2a3a4a;max-width:650px;
}
body.post-type-archive-market .mk-services .mk-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:999px;
  border:2px solid #0a2f52;background:transparent;color:#0a2f52;
  text-decoration:none;font-weight:700;font-size:14px;gap:10px;
}
body.post-type-archive-market .mk-services .mk-btn:hover{opacity:.9;}
body.post-type-archive-market .mk-services__img{
  width:100%;height:370px;object-fit:cover;display:block;background:#dde7f1;
}
@media (max-width: 980px){
  body.post-type-archive-market .mk-services__img{height:220px;}
}


/* MARKETS (archive) */
.mk-markets{background:#F8F8F8;padding:54px 0;}
.mk-markets__inner{
  display:grid;grid-template-columns: 1.2fr 0.9fr;gap:34px;align-items:center;
}
@media (max-width: 980px){
.mk-markets__inner{grid-template-columns:1fr;gap:20px;}
}
.mk-markets__text{
  font-size:36px;font-weight:300;line-height:1.2;color:#2a3a4a;max-width:650px;
}
.mk-markets .mk-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:999px;
  border:2px solid #0a2f52;background:transparent;color:#0a2f52;
  text-decoration:none;font-weight:700;font-size:14px;gap:10px;
}
.mk-markets .mk-btn:hover{opacity:.9;}
.mk-markets__img{
  width:100%;height:370px;object-fit:cover;display:block;background:#dde7f1;
}
@media (max-width: 980px){
.mk-markets__img{height:220px;}
}
/* =========================================================
   SINGLE MARKET (layout jak na screenie)
   Scope: body.single-market
   ========================================================= */
.mk-hero{
  background:linear-gradient(135deg,#07345d 0%,#0a3e6c 70%,#0b4677 100%);
  color:#fff;
  padding:48px 0 56px;
}



.mk-breadcrumbs{font-size:12px;opacity:.85;margin-bottom:18px;text-transform:lowercase;}
.mk-breadcrumbs a{color:#fff;text-decoration:none;}
.mk-breadcrumbs__sep{margin:0 8px;opacity:.7;}

.mk-eyebrow{
  display:flex;align-items:center;gap:10px;
  font-weight:700;letter-spacing:.08em;font-size:12px;
  margin-bottom:16px;text-transform:uppercase;
}
.mk-hero__title{font-size:60px;line-height:1.08;font-weight:300;margin:0;}
@media (max-width: 980px){
  .mk-hero__title{font-size:34px;}
}
@media (max-width: 640px){
  .mk-hero__title{font-size:28px;}
}

.mk-hero__img{
  width:100%;height:250px;object-fit:cover;display:block;
}
@media (max-width: 980px){
  .mk-hero__img{height:220px;}
}
.mk-hero__img--logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 100px;
}
.mk-hero__img--placeholder{height:170px;}

.mk-section{padding:46px 0;}

.mk-two-col{
  display:grid;grid-template-columns: 0.55fr 0.95fr;gap:90px;align-items:start;
}
@media (max-width: 980px){
.mk-two-col{grid-template-columns:1fr;gap:22px;}
}

.mk-two-col-reverse{
  display:grid;grid-template-columns: 0.95fr 0.55fr;gap:90px;align-items:start;
}
@media (max-width: 980px){
.mk-two-col-reverse{grid-template-columns:1fr;gap:22px;}
}


.mk-gallery{display:grid;gap:18px;}
.mk-gallery figure{margin:0;}
.mk-gallery img{
  width:100%;height:300px;object-fit:cover;display:block;background:#eef2f6;
}
@media (max-width: 980px){
  .mk-gallery img{height:220px;}
}
@media (max-width: 640px){
  .mk-gallery img{height:190px;}
}

.mk-content {padding-top:10px;}
.mk-content h2{margin:0 0 10px;font-size:28px;line-height:1.2;color:#0b2f52;}
.mk-content p{margin:0 0 14px;font-size:20px;font-weight:300;line-height:1.5;color:#000000;}
.mk-content .wp-block-heading{
  color:#0b2f52;font-size:60px;font-family:"din-2014", sans-serif;
}
.mk-content.right-space {padding-right: 110px;}
@media (max-width: 720px){
	.mk-content .wp-block-heading{font-size:30px;}
	.mk-content.right-space {padding-right: 0px;}
}

/* CTA bar */
 .mk-cta-bar{background:#0a2f52;color:#fff;padding:22px 0;}
.mk-cta-bar__inner{display:flex;align-items:center;justify-content:space-between;gap:18px;}
@media (max-width: 720px){
.mk-cta-bar__inner{flex-direction:column;align-items:flex-start;}
}
.mk-cta-bar__title{
  font-size:50px;font-weight:600;font-family:"din-2014", sans-serif;margin:0;
}
@media (max-width: 720px){
.mk-cta-bar__title{font-size:30px;}
}
.mk-cta-bar .mk-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 18px;border-radius:999px;
  border:2px solid rgba(255,255,255,.85);
  background:transparent;color:#fff;
  text-decoration:none;font-weight:700;font-size:14px;gap:10px;
}
.mk-cta-bar .mk-btn:hover{opacity:.9;}

.mk-h2{font-size:44px;line-height:1.1;font-weight:300;margin:0 0 22px;color:#0b2f52;}
@media (max-width: 980px){
.mk-h2{font-size:34px;}
}
@media (max-width: 640px){
.mk-h2{font-size:28px;}
}

.mk-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width: 1024px){
.mk-services-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 640px){
.mk-services-grid{grid-template-columns:1fr;}
}

.other-services .mk-services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}
@media (max-width: 1024px){
.other-services .mk-services-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 640px){
.other-services .mk-services-grid{grid-template-columns:1fr;}
}


.mk-service{
  border:2px solid #03295A;background:#f8f8f8;padding:18px 18px 16px;
  position:relative;min-height:280px;
}
.mk-service:after{
  content:"";
  position:absolute;right:0px;bottom:-18px;
  width:20px;height:40px;
  background:#f8f8f8;
  border-left:1px solid #03295A;
  border-top:0px solid #03295A;
  transform:skew(-45deg, 60deg);
}


.mk-section.from-concept-to-completion-bgwhite .mk-service:after{
  content:"";
  position:absolute;right:0px;bottom:-18px;
  width:20px;height:40px;
  background:#ffffff;
  border-left:1px solid #03295A;
  border-top:0px solid #03295A;
  transform:skew(-45deg, 60deg);
}

.mk-service__eyebrow{
  display:flex;align-items:center;gap:10px;
  font-weight:800;font-size:16px;font-family:"din-2014", sans-serif;
  text-transform:uppercase;color:#1b2a3a;margin-bottom:8px;
}
.mk-service__eyebrow a{color:#03295A;text-decoration:blink;}
.mk-service__title{
  margin:0 0 8px;font-size:35px;font-weight:800;font-family:"din-2014", sans-serif;color:#0b2f52;
}
.mk-service__desc{
  margin:0;font-size:20px;line-height:1.7;color:#000000;max-width:340px;
}
.mk-service__link{
  display:inline-flex;align-items:center;gap:8px;margin-top:10px;
  text-decoration:none;color:#0b2f52;font-weight:800;
}
.mk-service__link span{font-size:16px;line-height:1;}

.mk-featured{padding:36px 0 56px;background:#fff;}
.mk-section__head{display:flex;align-items:center;gap:10px;margin-bottom:16px;}

section.mk-section.from-concept-to-completion{background:#f8f8f8;} 
section.mk-section.from-concept-to-completion-bgwhite{background:#ffffff;} 

.mk-project{
  display:grid;grid-template-columns: 300px 1fr 400px;
  gap:40px;align-items:center;background:#f8f8f8;margin-bottom:10px;
}
@media (max-width: 980px){
  .mk-project{grid-template-columns:1fr;gap:12px;}
}
.mk-project__img{
  width:100%;height:120px;object-fit:cover;background:#eef2f6;display:block;
}
@media (max-width: 980px){
  .mk-project__img{height:160px;}
}
.mk-project__title{margin:0;font-size:30px;font-weight:800;color:#0b2f52;}
.mk-project__title a{text-decoration:none;color:inherit;}
.mk-project__desc{margin:6px 0 0;font-size:20px;font-weight:300;line-height:1.2;color:#000000;}
.mk-project__right{font-size:20px;font-weight:300;line-height:1.2;color:#000000;padding-right:30px;}
.mk-project__cta{display:flex;justify-content:flex-end;margin-top:14px;}

.mk-btn--dark{
	display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border: 2px solid #0C2D57;
    border-radius: 999px;
    color: #0C2D57;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.mk-btn--dark:hover{    
	transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.contactform input{font-size: 24px;font-weight:300;color:#000000;}
.contactform input {background: #f8f8f8;width: 100%;border: 0px;padding: 10px;}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    border: 2px solid #03295A;
    border-radius: 20px;
    width: 200px;
    font-size: 20px;
    font-weight: bold;
    color: #03295A;
}


/* Gdy brak galerii – lewa kolumna ma 100% */
.mk-hero--no-gallery .mk-hero__left{
  width: 100%;
  max-width: 100%;
}

/* Jeśli masz układ flex/grid na inner, warto wymusić 1 kolumnę */
.mk-hero--no-gallery .mk-hero__inner{
  display: block; /* albo: grid-template-columns: 1fr; jeśli masz grid */
}

.wp-block-columns.environmental {
    background-image: url(/wp-content/uploads/2025/12/andreas-kretschmer-zUytXs3fusw-unsplash.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: auto;
	justify-content: center;
}
.environmental-content {
    padding: 50px;
}
.section-esg h2, .environmental-content h2, .section-social h2 {
	font-size: 40px;
	font-family:"din-2014", sans-serif;c
	color: #03295A;
}
.section-esg h3, .section-social h3 {
    font-weight: 300;
    font-size: 30px;
    padding-right: 30px;
}

.section-esg p, .environmental-content, .section-social p {
	font-size: 24px;
	font-weight: 300;
	color: #000000;
}

.section-akordeon {
    justify-content: center;
	margin-bottom: 0px;
}
.section-akordeon h2{
    justify-content: center;
	font-family:"din-2014", sans-serif;
	font-size: 40px;
}

.section-akordeon .wp-block-accordion-item.is-layout-flow.wp-block-accordion-item-is-layout-flow {
    border-top: 1px solid #ffffff;
    padding: 10px 0px;
}
.section-akordeon .wp-block-accordion-item.is-layout-flow.wp-block-accordion-item-is-layout-flow:last-child {
    border-bottom: 1px solid #ffffff;
}

.section-akordeon h3 {font-weight: 300;font-size:30px;font-family:"din-2014", sans-serif;}
.section-akordeon .container-akordeon {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}
.section-more-about-maxi-space {
    margin-top: 50px;
    margin-bottom: 30px;
}

.h3-title {
    font-family: "din-2014", sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 1;
    margin: 0;
}

h3.wp-block-heading, h4.wp-block-heading {
    margin: 0px;
}
.mk-text-left-box {
    font-size: 60px;
    font-weight: 300;
    line-height: 1.2;
}

/* ====== Layout bazowy ====== */
.sf-archive {
  width: min(1300px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
  font-family: inherit;
}

.sf-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-bottom: 14px;
  margin-bottom: 24px;
  margin-top: 30px;
}

.sf-tabs {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.sf-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #000000;
  position: relative;
  text-transform: uppercase;
}

.sf-tab::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 8px;
  background: #2fb34a;
  transform: translateY(1px);
  opacity: 0;
}

.sf-tab[aria-pressed="true"] {
  color: var(--color3);
  font-weight: bold;
  font-family: "Roboto", sans-serif;
}

.sf-tab[aria-pressed="true"]::before { opacity: 1; }

.sf-search {
  margin-left: auto;
  min-width: 240px;
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-search input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}

/* ====== Featured ====== */
.sf-featured-content{
  background: #f8f8f8;
}

.sf-featured {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: center;
  margin: 18px 0 28px;
}

.sf-featured__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,.65);
  margin-bottom: 10px;
}

.sf-featured__meta::before{
  content:"";
  width: 8px; height: 8px;
  border-radius: 2px;
  background:#2fb34a;
}

.sf-featured__title {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 16px;
  color: rgba(0,0,0,.95);
}

.sf-featured__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  text-decoration: none;
  font-size: 14px;
}

.sf-featured__media a { display: block; }
.sf-featured__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ====== Grid ====== */
.sf-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 14px;
}

.sf-grid-status {
  font-size: 13px;
  color: rgba(0,0,0,.6);
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sf-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.sf-card__imglink { display: block; }
.sf-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.sf-card__img--placeholder {
  background: rgba(0,0,0,.06);
}

.sf-card__body {
  position: relative;
  padding: 12px 36px 14px 0;
}

.sf-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,.7);
  text-decoration: none;
  margin-bottom: 6px;
}

.sf-card__tag::before{
  content:"";
  width: 8px; height: 8px;
  border-radius: 2px;
  background:#2fb34a;
}

.sf-card__title {
    display: inline-block;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: #000000;
    text-decoration: none;
}

/* .sf-card__arrow {
  position: absolute;
  right: 0;
  top: 12px;
  width: 32px; height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
} */

.sf-loading {
  opacity: .55;
  pointer-events: none;
}

.sf-pagi {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
}
.sf-pagi a, .sf-pagi span {
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
}
.sf-pagi .current {
  font-weight: 700;
}

/* ====== Responsywność ====== */
@media (max-width: 1024px) {
  .sf-featured { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sf-archive { width: calc(100% - 22px); }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-search { max-width: none; }
}

.xd__eyebrow:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    display: block;
    background: var(--color4);
    width: 10px;
    height: 10px;
}

/* ====== ARCHIVE PROJECT (layout jak na screenie) ====== */
.ap-container{max-width:1320px;margin:0 auto;padding:0 24px;}
@media (max-width:1024px){.ap-container{padding:0 18px;}}
@media (max-width:640px){.ap-container{padding:0 14px;}}

.ap-section{padding:46px 0;}
.ap-dot{display:inline-block;width:8px;height:8px;border-radius:2px;background:#2cc36b;}

/* Featured */
.ap-featured{padding:42px 0 38px;background:#f8f8f8;}
.ap-featured__grid{display:grid;grid-template-columns: 1fr 0.75fr;gap:42px;align-items:center;}
@media (max-width:980px){.ap-featured__grid{grid-template-columns:1fr;gap:18px;}}

.ap-eyebrow{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.08em;font-size:12px;text-transform:uppercase;color:#1b2a3a;margin-bottom:14px;}
.ap-featured__title{margin:0 0 8px;font-size:30px;font-weight:800;color:#0b2f52; font-family: "din-2014", sans-serif;}
.ap-featured__desc{margin:0 0 16px;font-size:24px;font-weight:300;line-height:1.5;color:#000000;max-width:520px;}
.ap-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;border:2px solid #0a2f52;background:transparent;color:#0a2f52;text-decoration:none;font-weight:800;font-size:13px;}
.ap-btn:hover{opacity:.9;}

.ap-featured__img{width:100%;height:300px;object-fit:cover;background:#e9eef5;display:block;}
@media (max-width:980px){.ap-featured__img{height:220px;}}

/* Grid cards */
.ap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding-bottom:16px;}
@media (max-width:1024px){.ap-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.ap-grid{grid-template-columns:1fr;}}

.ap-card{background:transparent;}
.ap-card__link{display:block;text-decoration:none;color:inherit;}
.ap-card__img{width:100%;height:250px;object-fit:cover;background:#e9eef5;display:block;}
@media (max-width:640px){.ap-card__img{height:190px;}}

.ap-card__title{margin:10px 0 6px;font-size:20px;font-weight:800;color:#0b2f52;display:flex;align-items:center;gap:10px;font-family: "din-2014", sans-serif;}
.ap-card__arrow{font-weight:900;color:#0b2f52;opacity:.9}
.ap-card__desc{margin:0;font-size:16px;font-weight:300;line-height:1.6;color:#4a5868;max-width:520px;}

.ap-more{display:flex;justify-content:center;margin-top:10px;padding-bottom:28px;}
.ap-more__btn{border:2px solid #0a2f52;background:transparent;color:#0a2f52;border-radius:999px;padding:12px 22px;font-weight:800;cursor:pointer;}
.ap-more__btn:hover{opacity:.9}
.ap-hidden{display:none !important;}

.project-content .is-layout-flex {column-gap: 50px;}

.project-content figure.wp-block-gallery.has-nested-images.columns-1.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {gap: 10px;}

.search-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; margin-bottom: 50px;}
@media(max-width:1024px){.search-grid {grid-template-columns: repeat(1, 1fr);}}
.search-grid img {height: 280px; object-fit: cover;}

.ms-nav__row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}
.ms-nav__dropdown{
	background:none;
	border:0;
	padding:10px;
	cursor:pointer;
	display:flex;
	align-items:center;
}
/* MOBILE UX: najpierw submenu (lista), potem opis + button */
@media (max-width: 980px) {

  /* mega w normalnym flow (jeśli już masz to, zostaw — tu daję komplet) */
  .ms-nav__item.has-mega .ms-mega{
    position: static !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
  }

  /* pokazuj mega tylko gdy li jest otwarte (jeśli już masz, zostaw) */
  .ms-nav__item.has-mega .ms-mega{ display:none; }
  .ms-nav__item.has-mega.is-open .ms-mega{ display:block; }

  /* ZMIANA KOLEJNOŚCI */
  .ms-nav__item.has-mega .ms-mega__inner{
    display: flex;
    flex-direction: column;
    gap: 18px; /* odstęp między listą a opisem */
  }

  /* prawa kolumna (submenu) ma być pierwsza */
  .ms-nav__item.has-mega .ms-mega__col--right{ order: 1; }

  /* lewa kolumna (opis + button) ma być druga */
  .ms-nav__item.has-mega .ms-mega__col--left{ order: 2; }

  /* opcjonalnie: lekko uspokój nagłówek i button pod listą */
  .ms-nav__item.has-mega .ms-mega__col--left .ms-mega__headline{
    margin: 0;
  }
  .ms-nav__item.has-mega .ms-mega__col--left .ms-btn{
    margin-top: 12px;
    width: fit-content;
  }
}