/*
Theme Name: datazen
Theme URI: https://wordpress.org/themes/datazen/
Author: the WordPress team
Author URI: https://wordpress.org
Description: datazen emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: datazen
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* Variables */
:root {
	--global--content--width: 1256px;
  --global--main-color: #A12641;
  --global--secondary-color: #006965;
  --global--secondary-lighter-color: #009E97;
}

/* === RESET CSS / BASE STYLES === */

/* 1. Ustaw domyślny box-sizing */
*, *::before, *::after {
	box-sizing: border-box;
  }
  
  /* 2. Usuń marginesy i paddings */
  body, ul, ol, figure, blockquote, dl, dd {
	margin: 0;
	padding: 0;
  }

  body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #161A1D;
  }
  
  h1, h2, h3, h4, h5, h6, caption, figcaption, p {
	margin-top: 0px;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #161A1D;
  }
  
  /* 4. Usuń domyślny styl linków */
  a {
	text-decoration: none;
	color: inherit;
  }
  
  /* 6. Obrazy i media max-width 100% */
  img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
  }
  
  /* 7. Formularze */
  input, button, textarea, select {
	font: inherit;
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	outline: none;
  }
  
  /* 8. Usuń domyślną stylizację przycisków */
  button {
	cursor: pointer;
	background: transparent;
	border: none;
  }
  
  /* 9. HTML5 display roles */
  article, aside, details, figcaption, figure,
  footer, header, hgroup, main, menu, nav, section {
	display: block;
  }
  
  /* 10. Scroll behavior */
  html:focus-within {
	scroll-behavior: smooth;
  }
  
  /* 11. Usuń focus outline na klik (ale zostaw dla klawiatury) */
  *:focus-visible {
	outline: 2px solid #000;
  }
  
  *:focus:not(:focus-visible) {
	outline: none;
  }
  
/* Main styles */

.wp-block-columns {
	gap: 32px;
	max-width: var(--global--content--width);
  margin: 0 auto;
}

/* zwiekszony */
.wp-block-columns.alignwide {
	max-width: 80%;
	margin: 0 auto
}

/* pełny */
.wp-block-columns.alignfull {
	max-width: 100%;
}

.wp-block-columns:not(.alignfull) {
  padding: 0 20px;
}

.wp-block-column {
  position: relative;
}

/* grid system */

.dz-system-columns {
  gap: 32px;
  max-width: var(--global--content--width);
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: nowrap;
  display: flex;
}

.container .dz-system-columns {
  padding: 0;
}

.dz-system-column {
  flex-grow: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.six-twelve {
  flex-basis: 50%;
}

.two-twelve {
  flex-basis: 14.47%;
}

.four-twelve {
  flex-basis: 31.58%;
}

.eight-twelve {
  flex-basis: 65.79%;
}

.ten-twelve {
  flex-basis: 82.89%;
}

.has-extra-small-font-size {
	font-size: 12px;
	line-height: 20px;
	font-weight: 400;
  }
  
  .has-small-font-size {
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
  }
  
  .has-normal-font-size, p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
  margin-bottom: 16px;
  }
  
  .has-as-h-6-font-size,
  .as-h-6,
  h6 {
	font-size: 20px;
	line-height: 28px;
	font-weight: 500;
  }
  
  .has-as-h-5-font-size,
  .as-h-5,
  h5 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
  }
  
  .has-as-h-4-font-size,
  .as-h-4,
  h4 {
	font-size: 36px;
	line-height: 44px;
  font-weight: 500;
  margin-bottom: 32px;
  }
  
  .has-as-h-3-font-size,
  .as-h-3,
  h3 {
	font-size: 48px;
	line-height: 58px;
	font-weight: 700;
  margin-bottom: 20px;
  }
  
  .has-as-h-2-font-size,
  .as-h-2,
  h2 {
	font-size: 64px;
	line-height: 72px;
	font-weight: 900;
  margin-bottom: 32px;
  }
  
  .has-as-h-1-font-size,
  .as-h-1,
  h1 {
	font-size: 96px;
	line-height: 118px;
	font-weight: 900;
  }

  
/* === GLOBAL CONTAINER === */
.container {
	max-width: 1256px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
  }
  
  /* === HEADER === */
  .site-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	font-family: inherit;
  }
  
  /* === TOP HEADER === */
  .top-header {
    background-color: #E3E0E1;
    padding: 8px 0;
    font-size: 14px;
  }

  .contact-top-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: right;
    color: #614F53;
  }
  
  .top-header-content {
	display: flex;
	justify-content: space-between;
  }

  .header-top-contact-data {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    }
  
  .top-header-content a, .top-header-content span {
	color: #574e50;
	text-decoration: none;
  }

  .social-link .svg-icon {
    width: 26px;
  }

  .header-social-media {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .social-link path {
    fill: #614F53;
    stroke-width: 0 !important;
  }
  
  .top-header .svg-icon path, .top-header .svg-icon circle, .top-header .svg-icon rect {
    stroke: #fff;
    stroke-width: 1.5;
  }

  .top-data-el {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    padding-right: 20px;
  }

  .top-data-el-icon {
    background: #161A1D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    height: 32px;
    width: 32px;
  }

  .language-swither {
    padding-left: 24px;
  }

  .swither-el.swither-active {
    background: var(--global--main-color);
    color: #fff;
  }
  .swither-el {
    background: #c1bbbd;
    padding: 5px;
    font-size: 12px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    line-height: 18px;
  }
  
  /* === MAIN HEADER === */
  .main-header {
	padding: 15px 0;
  }
  
  .MenuSection {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  /* === SITE BRANDING === */
  .site-branding img {
	height: auto;
	max-height: 80px;
  }
  
  /* === NAVIGATION === */
  .main-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 54px;
    justify-content: space-between;
    width: 100%;
  }
  
  .primary-menu-container {
	display: flex;
	align-items: center;
  }
  
  /* === MENU LIST === */
  .primary-menu {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .primary-menu li a {
	text-decoration: none;
  color: #161A1D;
  font-weight: 700;
  font-size: 15px;
  }
  
  /* === MOBILE MENU TOGGLE === */
  .mobile-nav-toggle-button {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
  }
  
  /* Ukryj przycisk nawigacji na desktopie */
  @media (min-width: 768px) {
	.mobile-nav-toggle-button {
	  display: none;
	}
  }
  
/* === MENU MODAL (mobilne menu) === */
  
.showing-menu-modal .menu-modal {
	display: block;
  }
  
  .menu-modal .menu-top {
    flex-shrink: 0;
    padding-top: 42px;
  }

  .menu-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
  }
  
  .menu-modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .menu-modal-inner {
    background: #f5f3f4;
    display: flex;
    justify-content: stretch;
    width: calc(100% - 30px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
  }
  
  .menu-modal.active .menu-modal-inner {
    transform: translateX(0);
    transition-delay: 0.3s;
  }
  

  .menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }

  .mobile-nav-toggle-button {
    display: flex;
    padding: 10px 20px;
    margin: 20px 0;
    float: right;
    background: var(--global--main-color);
    border-radius: 5px;
  }

  .close-mobile-nav-toggle-button {
    display: flex;
    background: var(--global--main-color);
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 50px;
    position: absolute;
    right: -24px;
    top: 8px;
    z-index: 999;
  }
  
  .modal-menu {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .modal-menu .ancestor-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }

  .sub-menu-toggle {
    width: 28px;
    height: 28px;
    background: #ddd5d5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
  }

  .sub-menu-toggle .svg-icon {
    width: 14px;
    margin-top: 1px;
  }

  .sub-menu-toggle .svg-icon polygon {
    fill: #666161;
  }
  
  .menu-wrapper .menu-item {
    position: relative;
  }
  .modal-menu li {
    border-color: #f5f5f5;
    border-style: solid;
    border-width: .1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    line-height: 1;
    justify-content: flex-start;
    margin: 0;
  }
  
  .modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a {
    font-weight: 700;
  }
  .modal-menu a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    
  }

  .mobile-menu .sub-menu li a {
    font-size: 14px;
    padding: 4px 0 14px 32px;
    width: 100%;
    color: #2c2e35;
  }
  
  body.showing-menu-modal {
	overflow: hidden;
  }

  .menu-bottom {
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-top: 1px solid #ece2e2;
  }

  /* slider */
  

  .datazen-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    max-height: 800px;
}

.datazen-slide::before {
  position: absolute;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.datazen-slide {
    display: none;
    animation: fadeIn 0.8s ease;
    position: relative;
    max-height: 800px;
}

.datazen-slide img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  transform: translateY(-10%);
  z-index: 0;
}

.datazen-slide-content {
  z-index: 2;
  color: white;
  height: 800px;
  position: relative;
  padding-top: 140px;
}

.datazen-slider-subtitle,
.datazen-slider-title,
.datazen-slider-text {
    opacity: 0;
    animation-fill-mode: forwards;
}

.datazen-slider-subtitle {
    animation: slideUpFadeIn 0.6s ease 0s forwards;
}

.datazen-slider-title {
    animation: slideUpFadeIn 0.6s ease 0.2s forwards;
    margin-bottom: 40px;
}

.datazen-slider-text {
    background: #006965;
    font-weight: 300;
    padding:24px 220px 0 28px;
    position: absolute;
    bottom: 0;
    max-width: 800px;
    right: 0;
    animation: slideRightFadeIn 0.6s ease 1s forwards;
    max-height: 120px;
    height: 120px;
  }

@keyframes slideUpFadeIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideRightFadeIn {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.datazen-slider .arrow.prev, .datazen-slider .arrow.next {
  position: absolute;
  z-index: 9;
  top: 50%;
  font-size: 40px;
  color: #fff;
}

.datazen-slider .arrow.next {
  right: 0;
}

.datazen-dots {
  position: absolute;
  top: calc(50% - 30px);
  z-index: 9;
  display: flex;
  gap: 16px;
  flex-direction: column;
  right: 52px;
}

.datazen-dots .dot.active::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  border: 1px solid #fff;
  width: 20px;
  height: 20px;
  left: -5px;
  top: -5px;
  transform: scale(0);
  animation: expandBorder 0.3s ease forwards;
}

@keyframes expandBorder {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.datazen-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  display: block;
  border-radius: 50%;
  position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translate(-50%, -30%); }
    to { transform: translate(-50%, -50%); }
}

.datazen-text {
    font-size: 1rem;
    font-weight: 300;
    background-color: rgba(0, 100, 100, 0.85); /* tło sekcji dolnej z tekstem */
    padding: 1.2rem 1.5rem;
    border-radius: 0.5rem;
    max-width: 600px;
}

.datazen-slide-content .datazen-button {
  display: inline-flex;
  align-items: center;
  background-color: #A12641;
  color: white;
  padding:8px 8px 8px 32px;
  font-weight: bold;
  border-radius:50px;
  gap:48px;
}


/* TABS */

.datazen-tabs-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.datazen-tabs-nav {
  display: inline-flex;
  margin: 20px;
  background: #e3e0e1;
  padding: 4px;
  border-radius: 50px;
}

.datazen-tabs-nav button {
  padding: 0 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.datazen-tabs-nav button.active {
  background: #a12641;
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 32px;
}

.datazen-tab-panel {
  display: none;
}

.datazen-tab-panel.active {
  display: block;
}


/* modal */

.datazen-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
}

.datazen-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 40px;
  width: 80%;
  max-width: 600px;
  position: relative;
  border-radius: 12px;
}

.datazen-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  cursor: pointer;
  font-size: 32px;
  background: var(--global--secondary-color);
  color: #fff;
  padding-top: 8px;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  text-align: center;
}


/* counter */

.datazen-counter {
  text-align: right;
  margin-top: 40px;
}

.counter-number {
  font-weight: 800;
  font-size: 64px;
  line-height: 46px;
  position: relative;
  z-index: 1;
  padding-right: 4px;
  margin-bottom: 16px;
}

.counter-number::before {
  position: absolute;
  content: "";
  background: var(--global--secondary-lighter-color);
  height: 24px;
  width: 100%;
  right: 0;
  z-index: -1;
  bottom: 0;
}

.counter-title {
  font-size: 24px;
  font-weight: 300;
}

/* aktualnosci */

.aktualnosci-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.aktualnosci-block-title {
  margin-bottom: 60px;
}

.aktualnosc {
	position: relative;
  flex: 1 1 calc(33.333% - 32px);
  height: 480px;
	color: white;
	text-decoration: none;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.aktualnosc-1 {
  flex-basis:488px
}

.aktualnosc-2 {
  flex-basis:384px
}

.aktualnosc-3 {
  flex-basis:280px
}

.aktualnosc::before {
	content: '';
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: inherit; 
	transform: scale(1);
	transition: transform 0.4s ease;
	z-index: 0;
}

.aktualnosc-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.4s ease;
	z-index: 1;
	display: flex;
	align-items: flex-end;
}

.aktualnosc-content {
	padding: 20px;
	text-align: left;
	width: 100%;
	z-index: 2;
	position: relative;
}

.aktualnosc-title {
  font-size: 32px;
  margin: 0 0 8px;
  transition: padding-left 0.3s ease;
  line-height: 38px;
  font-weight: 400;
  color: #fff;
}

.aktualnosc-date {
	font-size: 14px;
	color: #ccc;
	transition: padding-left 0.3s ease;
  font-weight: 500;
}

.aktualnosc:hover::before {
	transform: scale(1.05);
}

.aktualnosc:hover .aktualnosc-overlay {
	background-color: rgba(0, 0, 0, 0.7);
}

.aktualnosc:hover .aktualnosc-title,
.aktualnosc:hover .aktualnosc-date {
	padding-left: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
  margin-bottom: 60px;
}

.single-post-date {
  display: inline-block;
  background: var(--global--secondary-color);
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  border-left: 5px solid var(--global--secondary-lighter-color);
  margin-top: 20px;
}

.post-header {
  margin-bottom: 52px;
}

/* datazen contact box */

.datazen-contact-content {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}

.datazen-contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  background: #161A1D;
  align-items: center;
  justify-content: center;
}

.datazen-contact-box.contact-box-full {
  max-width: 100%;
  display: flex;
}

.contact-box-full .contact-content {
  padding-bottom: 20px;
}

.contact-subtitle-el {
  padding: 8px 24px;
  opacity: .7;
  font-size: 14px;
  font-weight: 500;
}

.contact-box-full .contact-title {
  background: #95213a;
}

.datazen-contact-box.contact-type-telefon a {
  font-size: 36px;
  color: var(--global--main-color);
  font-weight: 600;
}

.contact-box-full .contact-contentiimage {
  position: relative;
  overflow: hidden;
}
.contact-box-full .contact-contentiimage, .contact-box-full .contact-content {
  flex: 1 0 50%;
}

.contact-icon {
  position: absolute;
}

/* footer */

.footer-header {
  padding-top: 40px;
}

.footer-contact-data {
  margin-top: 40px;
}

.footer-menus-container {
  display: flex;
  gap: 60px;
  padding-top: 40px;
}

.footer-contact {
  display: flex;
  color: #e68499;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 32px;
}

.footer-phone {
  font-size: 30px;
  font-weight: 600;
}

.footer-main {
  justify-content: space-between;
}

.footer-contact-data .datazen-contact-icon {
  background: var(--global--main-color);
}

.footer-container {
  background: #1D1619;
  color: #EADDE3;
}

.footer-content {
  margin-top: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #312429;
}

.footer-links-container-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  opacity: .5;
  margin-top: 16px;
}

#footer-main-menu {
  list-style: none;
  font-size: 13px;
  margin-top: 16px;
  font-weight: 600;
  opacity: .8;
}

#colophon {
  background: #1D1619;
  color: #fff;
  font-size: 13px;
}

.copyright-section {
  padding: 16px 0;
}

a.datazen {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: end;
}

.dz-grid {
  display: flex;
}

/* ---- unikalne dla MT PROJECT ---- */

/* Ogólne */

.padded-right {
    padding-right: 104px;
}

.padded-left {
  padding-left: 104px;
}

.padded-right-small {
  padding-right: 44px;
}

.padded-left-small {
padding-left: 44px;
}

#slider-home {
  position: relative;
}

/* social media shortcode */

.datazen-socialmedia-container {
  position: relative;
}

.datazen-socialmedia-block {
  background-color: #009E97;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.datazen-socialmedia-block .social-link {
  width: 32px;
  height: 32px;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}
  
.datazen-socialmedia-block .svg-icon path, .datazen-socialmedia-block .svg-icon circle {
  fill: white;
}

.datazen-socialmedia-block .svg-icon rect {
  stroke: #fff;
}

.datazen-socialmedia-block::after {
  position: absolute;
  background:#006965;
  content: "";
  width: 2000px;
  height: 100%;
  left: 176px;
  top: 0;
  z-index: -1;
}

/* buttony */

.datazen-buttons-wrapper {
  display: flex;
  width: 100%;
}

.btnsiblings {
  display: flex;
  gap: 32px;
}

.centered-x {
  justify-content: center;
}

.datazen-button {
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-type-primary {
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
}

.btn-type-secondary {
  border-radius:50px;
  padding:8px 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1px;
}

.btn-type-tertiary {
  font-weight: 600;
  font-size: 14px;
  background-color: transparent;
  overflow: hidden;
  align-items: center;
  /* display: block; */
}

.btn-type-tertiary .datazen-button-text {
  position: relative;
}

.btn-type-tertiary .datazen-button-text::after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
  transform-origin: left;
  transform: scaleX(1) translateX(0);
}

.btn-type-tertiary:hover .datazen-button-text::after {
  animation: underline-collapse-expand 0.6s ease forwards;
}

@keyframes underline-collapse-expand {
  0% {
    transform: scaleX(1) translateX(0);
    opacity: 1;
  }
  40% {
    transform: scaleX(1) translateX(100%);
    opacity: 1;
  }
  41% {
    transform: scaleX(0) translateX(100%);
    opacity: 0;
  }
  45% {
    transform: scaleX(0) translateX(0);
    opacity: 0;
  }
  60% {
    transform: scaleX(0) translateX(0);
    opacity: 1;
  }
  100% {
    transform: scaleX(1) translateX(0);
    opacity: 1;
  }
}


.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 32px;
}

.btn-type-primary.btn-with-icon {
  padding:6px 6px 6px 32px;
}

.btn-type-secondary.btn-with-icon {
  
}

.btn-type-tertiary.btn-with-icon {
  
}

.btn-type-primary.btn-color-glowny, 
.btn-type-secondary.btn-color-glowny,
.btn-type-tertiary .datazen-button-text::after {
  background-color: #A12641;
}

.btn-type-primary.btn-color-glowny:hover, 
.btn-type-secondary.btn-color-glowny:hover {
  background-color: #d3194e;
}

.btn-type-primary.btn-txtcolor-glowny, 
.btn-type-secondary.btn-txtcolor-glowny {
  color: #fff;
}

.btn-color-odwrocony {

}

.btn-txtcolor-odwrocony {

}

.btn-type-tertiary.btn-color-glowny, 
.btn-type-tertiary.btn-txtcolor-glowny {
  color: #A12641;
}

.datazen-icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
}

.datazen-icon.var0 {
background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26 20L26.3536 19.6464L26.7071 20L26.3536 20.3536L26 20ZM14 20.5C13.7239 20.5 13.5 20.2761 13.5 20C13.5 19.7239 13.7239 19.5 14 19.5V20.5ZM22.3536 15.6464L26.3536 19.6464L25.6464 20.3536L21.6464 16.3536L22.3536 15.6464ZM26.3536 20.3536L22.3536 24.3536L21.6464 23.6464L25.6464 19.6464L26.3536 20.3536ZM26 20.5H14V19.5H26V20.5Z' fill='white'/%3E%3Ccircle cx='20' cy='20' r='19.5' stroke='white'/%3E%3C/svg%3E");
}

.datazen-icon.var1 {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M22.3333%2015L27%2020M27%2020L22.3333%2025M27%2020H13%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22/%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%2219%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22/%3E%3C/svg%3E");
}

/* Inwestycje */

.inwestycje-list {
  margin: 0 -16px;
  overflow: hidden;
}

.inwestycje-list:not(.timeline-carousel) {
  display: flex;
}

.inwestycje-list .carousel-navigation {
  justify-content: end;
  margin-top: 40px;
}

.inwestycja-card {
  padding:0 16px;
  max-width: 488px;
}

.inwestycja-card a {
  display: block;
}

.inwestycja-card-image {
  position: relative;
  height: 356px;
  overflow: hidden;
}

.inwestycja-card-image img {
  transform: scale(1);
	transition: transform 0.4s ease;
}

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

.logo-and-availability {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 24px;
  background-color: var(--global--secondary-color);
  font-style: italic;
  font-weight: 300;
  color: #fff;
  padding:12px 16px;
}

.inwestycja-ending {
  position: absolute;
  background: var(--global--secondary-lighter-color);
  top: 64px;
  right: 0;
  font-size: 14px;
  font-weight: 600;
  color: #79E3DF;
  padding: 0px 18px;
}

.inwestycja-card-logo img {
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.inwestycja-card-data {
  background: var(--global--main-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:12px 16px 12px 12px;
  color: #fff;
}

.inwestycja-card-icon {
  background:#7F1E33;
  padding:10px;
}

.inwestycja-card-title {
  font-weight: 600;
}

.inwestycja-card-data-addres {
  color: #F1A7B7;
  font-size: 14px;
  font-weight: 500;
}

.inwestycja-card-footer {
  padding:12px;
  background:#95213A;
  color: #D7A4AF;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.inwestycja-card-footer-info {
  color: #fff;
  font-weight: 600;
}

.carousel-navigation {
  display: flex;
  gap:12px;
}

.margined-carousel-navigation {
  margin: 0 16px;
}

.datazen-carousel-prev,
.datazen-carousel-next {
  position: relative;
  width: 72px;
  height: 72px;
  background: #E3E0E1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ukrywa rozlewające się tło */
  z-index: 1;
}

.datazen-carousel-prev::after,
.datazen-carousel-next::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--global--main-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}

.datazen-carousel-prev:hover svg path,
.datazen-carousel-next:hover svg path {
  stroke: #fff;
}

.datazen-carousel-prev:hover::after,
.datazen-carousel-next:hover::after {
  transform: scaleX(1);
}

.datazen-carousel-prev > *,
.datazen-carousel-next > * {
  position: relative;
  z-index: 1;
}


/* pojedynczy lokal - karuzela */

.lokale-carousel-overflow {
  overflow: hidden;
}

.lokale-carousel-inner {
  gap: 32px;
}

.lokale-list .carousel-navigation {
  align-items: end;
}

/* pojedynczy lokal - karta */

.lokal-card {
  width: 100%;
  position: relative;
  max-width: 488px;
}

.lokal-content {
  margin-top: 80px;
}

.lokal-card-image {
  height: 488px;
}

.promocja-badge.badge-page-mieszkania {
  position: absolute;
  top: 14px;
  left: 14px;
}

.lokal-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.lokal-card-data {
  background-color: rgba(227, 224, 225, 0.8); /* #E3E0E1 z przezroczystością 80% */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); /* wsparcie dla Safari */
    padding:20px 26px 20px 22px;
      display: flex;
      justify-content: space-between;
      position: absolute;
      bottom: 0;
      width: 100%;
}

.lokal-card-data-left {
  max-width: 230px;
}

.lokal-nazwa {
  font-weight: 700;
  color: #161A1D;
  margin-bottom: 8px;
  line-height: 24px;
}

.lokal-adres {
  font-size: 13px;
  color: #535353;
  line-height: 18px;
  font-weight: 500;
}

.lokal-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  text-align: right;
  gap:4px;
}

.lokal-pow {
  font-size: 36px;
  color: #161A1D;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap:4px;
  justify-content: end;
}

.lokal-pow .unit {
  font-size: 16px;
  vertical-align: super;
  font-weight: 400;
}

.lokal-pokoje {
  font-size: 20px;
  color: #7F1E33;
  font-weight: 600;
}

.lokal-cena {
  font-size: 16px;
  font-weight: 500;
  color: #535353;
  text-align: right;
  line-height: 16px;
}

.lokal-cena.cena-promocyjna {
  background-color: #fb8b24;
  font-weight: 700;
  color: #161a1d;
  padding: 4px 10px;
  border-radius: 5px;
}

/* pojedyncza inwestycja */

.inwestycja-lokale {
  background: #fafafa;
  padding: 60px;
  border-radius: 24px;
  margin-top: 40px;
}

.lokale-count .as-h-5 {
  font-weight: 700;
  margin-bottom: 28px;
}

.lokale-sort-form {
  margin-bottom: 28px;
}

#filters.lokale-sort-form label select {
  background: #fff;
}

.lokal-item-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px 28px;
  border: 1px solid #e3e0e1;
  border-radius: 12px;
  background-color: #fff;
  font-size: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lokal-item-content:hover {
  border-color: #c49fae;
  box-shadow:
    0 12px 30px rgba(214, 170, 182, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.promocja-badge.badge-tabela {
  position: absolute;
  top: -13px;
  font-size: 12px;
  padding: 0px 10px;
}

.lokal-item {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #000;
  text-decoration: none;
  flex-wrap: wrap;
}

.lokal-item-dt {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  width: 118px;
}

.lokal-symbol {
  width: 52px;
}

.lokal-item-data {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 32px;
}

.lokal-item-dt strong {
  font-weight: 600;
  font-size: 12px;
  color: rgb(164, 152, 155);
  margin-bottom: 12px;
}

.lokal-item-dt-icon path {
  fill: var(--global--main-color);
}

.lokal-item-content > div:last-child {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lokal-item-dt-symbol {
  background: #e3e0e1;
  width: 32px;
  height: 32px;
  border-radius: 50px;
  color: #a12641;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.lokal-item-content > div:last-child a {
  color: #A12641;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

/* single lokal */

.single-property-info-block {
  border: 1px solid #e3e0e1;
  border-radius: 12px;
  margin-top: 40px;
}

.single-property-info-container {
  display: flex;
  row-gap: 20px;
  flex-wrap: wrap;
  padding: 24px 12px;
}

.single-property-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-property-info-container .single-property-info {
  width: 50%;
}

.single-property-info .single-property-info-icon {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-property-info path {
  fill: var(--global--main-color);
}

.single-property-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.single-property-data strong {
  font-size: 14px;
  line-height: 14px;
}

.single-property-data-content {
  color: #9F8F93;
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
}

.single-property-info.symbol-container {
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
}

.symbol-sign {
  border: 5px solid var(--global--secondary-lighter-color);
  border-radius: 50px;
  width: 16px;
  height: 16px;
  display: block;
}

.single-property-info.symbol-container strong {
  color: #1e7b77;
  font-size: 16px;
  font-weight: 500;
}

.single-property-info-container-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4eff1;
  padding: 20px 20px 20px 12px;
}

.single-lokal-header {
  background: #f7f4f5;
  padding: 32px 0;
}

.single-lokal-title {
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 4px;
}

.single-lokal-lokalizacja {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #625054;
  font-weight: 600;
  font-size: 14px;
}

.single-dostepne {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--global--secondary-lighter-color);
  padding: 28px 0;
}

.avability-icon path {
  fill: var(--global--secondary-lighter-color);
}

.single-dostepne.lokal-niedostepny {
  color: #ee4f4f;
}

.lokal-niedostepny .avability-icon path {
  fill: #ee4f4f;
}

.single-szczegoly {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.single-cena-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.single-cena {
  margin-bottom: 2px;
}

.single-cena strong {
  font-size: 16px;
}

.cena-omnibus {
  font-size: 13px;
  font-weight: 500;
}

.single-cena.cena-promocyjna span {
  font-size: 20px;
  color: #fb8b24;
  font-weight: 700;
}

.promocja-badge {
  background: #fb8b24;
  display: inline-block;
  padding: 2px 15px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
}

.single-cena i {
  font-size: 12px;
}

.single-lokal-table {
  margin-top: 60px;
}

.as-h-6.single-lokal-table-title {
  font-weight: 500;
  color: rgb(116, 114, 114);
  margin-bottom: 20px;
}

.historia-ceny-container {
  margin-top: 32px;
}

.historia-ceny-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.historia-ceny-content {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  color: #9F8F93;
}

.documents-title {
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 20px;
}

.property-documents-block {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.single-document-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #9F8F93;
  font-weight: 500;
}

.doc-icon-bg {
  background: #f4eff1;
  width: 36px;
  height: 36px;
  padding: 8px;
}

.doc-icon-bg path {
  fill: var(--global--main-color);
}

#historia-modal h4 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 12px;
}

.historia-disclaimer {
  font-size: 13px;
  line-height: 17px;
  color: #747272;
  margin-bottom: 32px;;
}

.historia-cen-lista {
  list-style: none;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cena-historyczna-list-el {
  display: flex;
  justify-content: space-between;
  padding: 4px 12px;
}

.cena-historyczna-content-el {
  width: 160px;
  text-align: left;
}

.cena-historyczna-date {
  font-weight: 600;
  color: var(--global--main-color);
}

.cena-historyczna-list-el:nth-child(odd) {
  background-color:#f4eff1;
}

.cena-historyczna-content {
  display: flex;
  align-items: baseline;
  font-weight: 600;
  gap: 20px;
}

.cena-historyczna-content span {
  font-size: 14px;
  font-weight: 500;
  margin-right: 6px;
  opacity: .7;
}

/* kontakt box */ 

.wp-block-datazen-contact-box, .mt-contact-box {
  display: block;
  background: var(--global--main-color);
  max-width: 300px;
}

.contact-content {
  display: block;
  color: #fff;
}

.contact-subtitle {
  background: #95213A;
  color: #D7A4AF;
  font-weight: 500;
  text-align: center;
  padding: 16px;
}

.contact-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  font-style: italic;
  padding: 16px 24px;
}

.contact-email, .contact-phone, .contact-calendar {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 8px 8px 4px 24px;
  gap: 12px;
}

.contact-box-icon {
  background: #7F1E33;
  padding: 9px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* aktualnie w sprzedazy */ 

.inwestycja-columns .four-twelve {
  display: flex;
}

.inwestycja-columns .dz-system-column.eight-twelve {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.mt-contact-box {
  padding-bottom: 20px;
  width: 320px;
  align-self: end;
}

.aktualna-inwestycja-lokalizacja {
  color: #614F53;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  justify-content: end;
  align-items: start;
  line-height: 18px;
}

.aktualna-inwestycja-link {
  margin-top: 12px;
}

.aktualna-inwestycja-nazwa {
  font-weight: 700;
  margin-bottom: 2px;
}

.aktualna-inwestycja-adres {
  text-align: right;
}

.inwestycja-columns {
  margin-bottom: 56px;
}

/* tytuly */

.type-block {
  position: relative;
}

.tytul-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: start;
  z-index: 1;
  position: relative;
}

.deco-behind {
  height: 24px;
  background: var(--global--secondary-lighter-color);
  width: 100%;
  position: absolute;
  z-index: 0;
  top: 69px;
}

.datazen-subtitle {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  padding: 12px 16px 12px 0;
  background-color: var(--global--secondary-color);
  color: #fff;
  display: block;
  position: relative;
}

.datazen-subtitle::before {
  content: "";
  position: absolute;
  width: 2000px;
  height: 100%;
  background: var(--global--secondary-color);
  right: 0;
  z-index: -1;
  top: 0;
}

/* rounded content */

.color-main {
  background-color: var(--global--main-color);
}

.color-secondary {
  background-color: var(--global--secondary-color);
}

.datazen-rounded-block {
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  flex-direction: column;
}

.datazen-rounded-block .has-as-h-6-font-size {
  margin-bottom: 14px;
}

.datazen-rounded-block .has-as-h-4-font-size {
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  margin-bottom: 0;
}

.datazen-rounded-block .has-as-h-4-font-size strong {
  font-size: 36px;
  font-weight: 700;
}

.rounded-block-absolute {
  position: absolute;
}

.who-we-are-content .rounded-block-absolute {
  bottom: -62px;
  left: -132px;
}

/* slider content MT */

.mt-content-slide {
  display: flex;
  align-items: stretch;
  position: relative;
}

.mt-content-slide-content {
  flex: 1;
  padding-left: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mt-content-slider {
  position: relative;
}

.mt-content-slider-nav {
  display: flex;
  gap: 12px;
  position: absolute;
  bottom: 0;
  right: 20px;
}

.mt-content-slider-nav .datazen-carousel-prev, .mt-content-slider-nav .datazen-carousel-next {
  background-color: #fff;
}

.mt-content-slider-subtitle {
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 20px;
}

.mt-content-slider-subtitle strong,
.mt-content-slider-subtitle em {
  font-weight: 600;
  font-style: italic;
}

.mt-content-slider-text {
  margin-bottom: 48px;
  color: #747272;
  max-width: 400px;
}

.mt-content-button {
  align-self: start;
}

.mt-content-slide-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 560px;
}

.mt-content-slide-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 100%;
  min-width: 50vw;
  max-height: 1000px;
  width: auto;
  height: auto;
  object-fit: cover;
}

.mt-content-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 2px solid #a02a50;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  content: '▶';
  font-size: 24px;
  color: #a02a50;
  line-height: 60px;
}

/* umowmy sie - homepage */

.umowmy-sie-home {
  background: var(--global--secondary-color) url('assets/images/umowmy-sie.webp') no-repeat center right;
  color: #fff;
  padding: 74px 0 88px 0;
}

.umowmy-sie-home .has-as-h-4-font-size {
  font-weight: 300;
}

/* blok kontaktu */

.contact-invitation {
  border-right: 2px solid #E3E0E1;
  padding: 24px 20px 40px 0;
  margin: 0;
}

#kontakt {
  padding: 60px 0;
  background: #fafafa;
}

.main-mt-form {
  margin: 0 !important;
}

.main-mt-form .wpforms-field-large {
  font-size: 14px !important;
  opacity: 1 !important;
}

.main-mt-form.wpforms-container-full .wpforms-field-label {
  margin-bottom: 12px !important;
}

.main-mt-form.wpforms-container .wpforms-field {
  padding: 0;
  margin-bottom: 28px;
}

#wpforms-submit-277, #wpforms-submit-980 {
  border-radius: 50px;
  padding: 8px 28px;
  font-weight: 600;
  font-size: 16px;
}

/* Strona iwnestycji */

.pagetitle-effect {
  background-repeat: no-repeat;
  background-size: cover;
  height: 518px;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url('assets/images/main-head-bg.webp');
}

.pagetitle-effect-overlay {
  background: linear-gradient(90deg,rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
}

.pagetitle-effect-m {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
}

.pagetitle-effect-container {
  position: relative;
  z-index: 3;
}

.inwestycja-title {
  margin-bottom: 10px;
  line-height: 100px;
  color: #fff;
}

.inwestycja-subtitle {
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  color: #F2CBD3;
}

.pagetitle-effect.has-video-bg {
  align-items: end;
}

.has-video-bg .inwestycja-subtitle {
  display: inline-flex;
  background: var(--global--main-color);
  height: 36px;
  padding-right: 16px;
  margin-bottom: 20px;
}

.has-video-bg .inwestycja-title {
  font-size: 66px;
  line-height: 84px;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.background-video {
  width: 100%;
  /* height: 100%; */
  height: calc(100% - -120px);
  object-fit: cover;
}

#playVideoBtn {
  font-size: 20px;
  font-weight: 700;
  background-color: #161A1D;
  color: #fff;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  position: absolute;
  bottom: -80px;
  left: 640px;
  line-height: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateZ(15deg);
  transition: background-color 0.4s ease;
  animation: btnPulse 1.5s infinite ease-in-out;
  gap: 12px;
}

#playVideoBtn:hover {
  background-color: var(--global--secondary-color)
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 38, 42, 0.5);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(32, 38, 42, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 38, 42, 0.5);
  }
}

.inw-subtitle-icon {
  background: #661829;
  padding: 8px;
}

.inw-subtitle-icon path, .inw-subtitle-icon circle {
  stroke: #fff;
}

.single-inwestycja-columns {
  margin-top: 96px;
  margin-bottom: 60px;
}

.inwestycja-start-info {
  display: flex;
  align-items: end;
  gap: 32px;
}

.inwestycja-thumbnail {
  position: relative;
}

.inwestycja-logo {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 24px;
  background-color: var(--global--secondary-color);
  font-style: italic;
  font-weight: 300;
  color: #fff;
  padding:12px 16px;

}

.inwestycja-logo img {
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.datazen-wlasciwosci-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 32px 0;
}

.datazen-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #161A1D;
  background: #fafafa;
  padding: 8px 20px;
  white-space: nowrap;
  border: 1px solid #EBEBEB;
  font-weight: 500;
  border-radius: 50px;
}

.mt-archive-info {
  background: var(--global--main-color);
  color: #fff;
  max-width: 280px;
}

.mt-archive-info-subtitle {
  background: #95213A;
  color: #D7A4AF;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mt-archive-info-icon {
  background: #801e33;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-archive-info-icon svg {
  width: 26px;
}

.mt-archive-info-icon path {
  stroke: #fff;
  stroke-width: 2;
}

.mt-archive-info-container {
  padding: 16px;
}

.mt-archive-info-list {
  list-style: none;
  display: flex;
  gap: 2px 12px;
  flex-wrap: nowrap;
  font-size: 14px;
  padding: 0;
  flex-direction: column;
}

.mt-archive-info-list li {
  position: relative;
  padding-left: 24px;
  color: #fff;
  line-height: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}

.mt-archive-info-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  border: 4px solid #661627;
  left: 0;
  top: 5px;
}

.inwestycja-zakonczona {
  background: var(--global--secondary-color);
  padding: 20px 0 28px;
}

.inwestycja-zakonczona-title {
  color: #fff;
  margin-bottom: 8px;
}

.inwestycja-zakonczona-subtitle {
  display: inline;
  padding: 8px 16px;
  background: var(--global--secondary-lighter-color);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.inwestycja-trwajaca {
  background: #e3e0e1;
}

.inwestycja-trwajaca .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.inwestycja-trwajaca-icon {
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--global--secondary-color);
  flex-shrink: 0;
}

.inwestycja-trwajaca-icon path {
  stroke: #fff;
  stroke-width: 2;
}

.inwestycja-trwajaca-container {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}

.inwestycja-trwajaca-container span {
  position: relative;
  padding-left: 20px;
}

.inwestycja-trwajaca-container span::before {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  border: 4px solid #661627;
  left: 0;
  top: 5px;
}

.inwestycje-map-marker {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.inwestycje-map-marker.left-pin {
  align-items: flex-end;
}

.inwestycja-nazwa-handlowa {
  background: #161a1d;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 10px;
  padding: 4px 8px;
}

.inwestycja-tytul {
  background: var(--global--main-color);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1px;
  font-weight: 600;
  line-height: 13px;
  padding: 6px 16px 6px 8px;
  transition: all .3s ease-in-out;
}

.left-pin .inwestycja-tytul {
  padding: 6px 8px 6px 16px;
}

.active-invest .inwestycja-tytul {
  background-color: var(--global--secondary-color);
}

.lista-inwestycji-pin .svg-icon {
  position: absolute;
  width: 34px;
  right: -18px;
  bottom: -5px;
  transition: all .3s ease-in-out;
}

.inwestycje-map-marker:hover .lista-inwestycji-pin .svg-icon {
  transform: scale(1.2);
}

.inwestycje-map-marker:hover .inwestycja-tytul {
  background: #1d1619;
}

.left-pin .lista-inwestycji-pin .svg-icon {
  right: unset;
  left: -18px;
}

.lista-inwestycji-pin path {
  fill: #691729;
  stroke: #691729;
}

.lista-inwestycji-pin circle {
  stroke: #691729;
  fill: #fff;
}

.active-invest .lista-inwestycji-pin path {
  fill: var(--global--secondary-lighter-color);
  stroke: var(--global--secondary-lighter-color);
}

.active-invest .lista-inwestycji-pin circle {
  stroke: var(--global--secondary-lighter-color);
  fill: #fff;
}

.mt-project-map-el {
  background: url('assets/images/mapa-inwestycje.webp') no-repeat center top;
  height: 697px;
  position: relative;
}

/* filtry */

.filter-title {
  font-weight: 700;
}

.lokale-filters {
  background: #fff;
  margin-top: -32px;
  z-index: 9;
  position: relative;
  padding: 14px 20px 20px 20px;
  box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.1);
  border-top: 5px solid #a12641;
  margin-bottom: 40px;
}

#filters {
  display: flex;
  gap: 16px;
}

#filters label {
  display: inline-block;
  width: 25%;
  position: relative;
}

#filters label span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

#filters label select {
  display: block;
  width: 100%;
  padding: 10px 18px;
  border: 1px solid #EAEAEC;
  border-radius: 10px;
  background-color: #F6F8FC;
  color: #525458;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#filters label:not(.checklabel)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: 18px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2211%22%20height%3D%227%22%20viewBox%3D%220%200%2011%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L5.25%205.5L9.5%201%22%20stroke%3D%22%23161A1D%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 7px;
  transform: translateY(-50%);
  pointer-events: none;
}

#filters label.checklabel {
  max-width: 140px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: end;
}

#filters label select:focus {
  border-color: #a12641;
  outline: none;
  box-shadow: 0 0 4px rgba(161, 38, 65, 0.2);
}

#lokale-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* odstęp między elementami, możesz zmienić */
}

.lokal .lokal-card {
  margin: 0 auto;
}

/* karuzela zdjec */

.karuzela-zdjec {
  overflow: hidden;
  position: relative;
}

.karuzela-navigation {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: calc(50% - 36px);
}

.karuzela-wrapper {
  position: relative;
}

.karuzela-zdjec .karuzela-wrapper,
.karuzela-zdjec .datazen-carousel-prev, .datazen-carousel-next {
  z-index: 1;
}

.karuzela-zdjec.columns-3 .karuzela-item {
  height: 240px;
}

.karuzela-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding: 0 12px;
}

.karuzela-item img {
  height: auto;
  width: 100%;
  position: absolute;
  left: 0;
  max-width: unset;
}

.karuzela-item-holder {
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* list */

ul.wp-block-list {
  list-style: none;
  display: flex;
  gap: 2px 12px;
  flex-wrap: nowrap;
  font-size: 14px;
  padding: 0;
  flex-direction: column;
}

ul.wp-block-list li {
  position: relative;
  padding-left: 24px;
  line-height: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}

ul.wp-block-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  border: 4px solid #661627;
  left: 0;
  top: 5px;
}

/* boxy */

.columns-no-gap {
  gap: 0;
}

.datazen-box {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
}

.datazen-box.full {
  width: 100%;
  height: 100%;
}

.datazen-box.boxed {
  padding: 60px;
}

.datazen-box.boxed > * {
  max-width: 550px;
}

/* blockquote */

.wp-block-quote {
  border-left: 4px solid var(--global--main-color);
  padding-left: 32px;
  margin-bottom: 20px;
}

.wp-block-quote.quote-left {
  border-left: 0;
  border-right: 4px solid var(--global--main-color);
  padding-left: 0;
  padding-right: 64px;
}

/* nasze iwnestycje */

.inwestycje-list.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  row-gap: 32px;
  justify-items: center;
}

/* timeline */

.datazen-timeline.layout-horizontal {
  position: relative;
  margin-top: 100px;
}

.datazen-timeline.layout-horizontal .carousel-navigation {
  position: absolute;
  top: -100px;
  margin: 0;
}

.datazen-timeline.layout-horizontal::before {
  position: absolute;
  content: "";
  width: 100vw;
  height: 3px;
  background-color: var(--global--main-color);
  left: 0;
  top: 0;
  z-index: 0;
}

.datazen-timeline.layout-horizontal::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  right: 100%;
  top: -6px;
  z-index: 9;
  background-color: #fff;
}

.timeline-item {
  position: relative;
  padding: 20px 60px 0 0;
}

.timeline-item::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  left: 0px;
  top: -5px;
  z-index: 2;
  background-color: #fff;
  border: 3px solid var(--global--main-color);
}

.timeline-date {
  background: var(--global--main-color);
  display: inline-block;
  padding: 2px 16px;
  color: #fff;
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.timeline-date::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 16px;
  left: 5px;
  top: -14px;
  z-index: 2;
  background: var(--global--main-color);
}

.timeline-el-title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-el-content {
  font-size: 14px;
}


/* Psary makieta */

.makieta-container {
  position: relative;
  display: inline-block;
  margin-bottom: 100px;
}

.makieta-img {
  display: block;
  width: 100%;
  height: auto;
}

.lokale-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lokal-area {
  position: absolute;
  cursor: pointer;
}

.lokal-area svg path {
  transition: all 0.2s, fill 0.2s;
}

.lokal-area svg path:hover {
  fill: var(--global--secondary-color);
}

#lokal-tooltip {
  position: absolute;
  display: none;
  background: #e3e0e1;
  padding: 16px 24px;
  z-index: 999;
  font-size: 14px;
  pointer-events: none;
}

.tooltip-symbol {
  background-color: var(--global--main-color);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.lokal-tooltip-more {
  font-size: 12px;
  color: var(--global--main-color);
  font-weight: 700;
  margin-top: 8px;
}

#lokal-M1 {
  top: 35.5%;
  left: 64.9%;
  z-index: 2;
}

#lokal-M2 {
  top: 33.4%;
  left: 61.4%;
  z-index: 1;
}

/* finansowanie + wykonczenie page */

.union-block-holder {
  background: #8d1318 url('assets/images/union-bg.jpg') no-repeat -100px top;
}

.centered-content {
    text-align: center;
}

.wykonczenie-box {
  max-width: 600px;
  position: absolute;
  bottom: -64px;
  right: 20px;
  padding: 36px 40px 24px !important;
}

/* respons */


@media (max-width: 1024px) {
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
  .inwestycje-list.grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
	.blog-grid {
		grid-template-columns: 1fr;
	}
  .inwestycje-list.grid-wrapper {
    grid-template-columns: 1fr;
  }
}


/* respons */


@media (min-width: 768px) {
    .mobile-nav-toggle-button {
      display: none;
    }
    body:not(.home) .main-header {
      background: #F5F3F4;
      padding-top: 18px;
    }
}

@media (max-width: 767px) {
  .main-menu-wrapper,
  .hero-scene-bg-shadow svg,
  .disable-mobile {
    display: none;
  }
  .has-as-h-1-font-size, .as-h-1, h1 {
    font-size: 36px;
  line-height: 44px;
  }
  .has-as-h-2-font-size, .as-h-2, h2 {
    font-size: 28px;
  line-height: 36px;
  }
  .has-as-h-3-font-size, .as-h-3, h3 {
    font-size: 24px;
    line-height: 32px;
  }
  .top-header-content,
  .dz-system-columns,
  .vertical-tabs,
  .vertical-tabs .datazen-tab-container,
  .footer-contact-data {
    flex-direction: column;
    gap: 20px;
  }
  .padded-left-small,
  .padded-left {
    padding-left: 0;
  }
  .padded-right-small,
  .padded-right {
    padding-right: 0;
  }
  .wp-block-spacer {
    max-height: 64px;
  }
  .padding-mobile-top {
    padding-top: 40px;
  }
  .mobile-column-reverse {
    flex-direction: column-reverse;
  }
  body:not(.home) .site-header {
    /* margin-bottom: 40px; */
    border-bottom: 1px solid #e3dcdc;
  }
  .review-subtitle {
    line-height: 17px;
    display: block;
  }
  .wp-block-dataze-google-review {
    background-size: contain;
  }
  .datazen-hero-content-section {
    margin: 156px 20px 0;
  }
  .section-title {
    max-width: 100%;
  margin-left: 0;
  margin-bottom: 16px;
  }
  .vertical-tabs .datazen-tabs-nav {
    width: 100%;
    flex-direction: row;
  }
  .vertical-tabs .datazen-tab-panel {
    padding: 20px;
    border-radius: 23px 23px 0 0;
  }
  .maszyny-tabs .datazen-tabs-nav {
    margin-top: 84px;
  }
  .logo-producenci {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .datazen-slide {
    border-radius: 10px;
  }
  .datazen-slider .arrow.prev {
    left: -10px;
    margin-top: -56px;
  }
  .datazen-slider .arrow.next {
    right: -10px;
    margin-top: -56px;
  }
  .btnsiblings {
    flex-direction: column;
    align-items: center;
  }
  .datazen-box.boxed .wp-block-columns {
    padding: 0;
  }
  .wp-block-quote {
    border: 0;
    padding: 0;
  }
  .datazen-icon {
    flex-shrink: 0;
  }
  .box-standalone .featured-image {
    position: relative;
    top: -55px;
    right: 0;
  }
  .datazen-box.boxed.box-standalone {
    border-radius: 0;
    padding: 40px;
  }
  .box-standalone > .datazen-box,
  .box-standalone .featured-image-container > .datazen-box {
    width: 100%;
  }
  .footer-main p {
    margin-bottom: 8px;
  }
  .footer-main .has-small-font-size {
    margin-bottom: 20px;
  }
  .contact-content {
    border-radius: 0;
    text-align: center;
  }
  .title-icon-sct .wp-block-heading {
    font-size: 36px;
    line-height: 44px;
    margin-top: 14px;
  }
  .datazen-box.boxed.box-type-maszyny {
    max-width: 376px;
    margin: 0 auto;
  }
  .who-we-are-content .rounded-block-absolute {
    bottom: -60px;
    left: 0;
    border-radius: 0;
    width: 100% !important;
    height: 92px !important;
  }
  .mt-content-slide {
    flex-direction: column;
  }
  .mt-content-slide-content {
    padding-left: 0;
  }
  .mt-content-slide-image img {
    position: relative;
    transform: translate(-50%, 5%);
  }
  .deco-behind {
    height: 14px;
    z-index: -1;
    top: 26px;
  }
  .umowmy-sie-home {
    background-position: center left;
  }
  .contact-invitation {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .language-swither {
    position: absolute;
    top: 0;
    padding: 0;
    display: flex;
  }
  .pagetitle-effect {
    height: 190px;
  }
  .datazen-map-markers, .makieta-container {
    width: 100%;
    overflow-x: scroll;
  }
  .mt-project-map-el {
    width: 1216px;
  }
  .makieta-base {
    width: 1216px;
    height: 684px;
    max-width: unset;
  }
  :where(.wp-block-group.has-background) {
    padding: 0;
  }
  .wykonczenie-box {
    position: relative;
    bottom: 16px;
    right: 0;
  }
  .datazen-contact-box.contact-box-full {
    flex-direction: column;
  }
  .contact-box-full .contact-contentiimage {
    height: 220px;
    flex: 1 auto;
  }
  .contact-title {
    text-align: left;
  }
  .contact-content .contact-phone {
    padding-top: 24px;
  }
  .lokal-item-content {
    padding: 20px 16px 16px;
    align-items: start;
    gap: 20px;
    margin-bottom: 40px;
  }
  .lokal-item {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
  }
  .lokal-item-dt {
    width: 45% !important;
  }
  .lokal-item-dt strong {
    margin-bottom: 4px;
  }
  .lokal-item-content > div:last-child {
    margin: unset;
    align-items: start;
  }
  .inwestycja-title {
    font-size: 32px !important;
    line-height: 40px !important;
  }
  .inwestycja-trwajaca .container {
    align-items: stretch;
    padding-left: 0;
  }
  .inwestycja-trwajaca-icon {
    height: unset;
  }
  .inwestycja-trwajaca-container {
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    line-height: 22px;
    padding: 8px 0;
  }
  .inwestycja-start-info .mt-contact-box {
    align-self: center;
  }
  .inwestycja-start-info {
    flex-direction: column;
    align-items: center;
  }
  .single-inwestycja-columns {
    margin-top: 44px;
  }
  .inwestycja-lokale {
    padding: 28px;
  }
  .datazen-contact-box.contact-type-telefon a {
    font-size: 30px;
  }
}

@media (max-width: 460px) {
  .top-contact-data .top-data-el-icon {
    display: none;
  }
  .top-contact-data {
    background: #f5f1f1;
    width: calc(100% + 40px);
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
    justify-content: space-between;
  }
}

/* USUNĄĆ GDY INWESTYCJA PSARY BĘDZIE GOTOWA DO PUBLIKACJI */

.mt-project-map-el #inwestycja-Psary, .footer-links > a:first-child,
.inwestycje-holder.inwestycje-dostepne .inwestycja-card-data-addres,
.inwestycja-card.carousel-ready-el.domy-jednorodzinne-psary .inwestycja-card-data-addres {
  display: none !important;
}