/*
 Theme Name:   Gosia Ziajka | Fotografia
 Author:       Gosia Gozdz myspot.ON
 Template:     Divi
 Version:      2.04

*/


@property --gz-border-draw {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ============== HEADER I MENU ============== */
#gz-header .et_pb_menu__menu > nav > ul {
  gap: 18px;
}

#gz-header .et_pb_menu__menu > nav > ul > li {
  padding: 0 !important;
}

#gz-header .et_pb_menu__menu > nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.55em 1.15em !important;
  border: 1px solid transparent;
  border-radius: 50px;
  text-decoration: none !important;
  transition: color .25s ease, background-color .25s ease;
}

#gz-header .et_pb_menu__menu > nav > ul > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 50px;
  pointer-events: none;
  background: conic-gradient(from 180deg, #8E0908 0deg var(--gz-border-draw), transparent var(--gz-border-draw) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  --gz-border-draw: 0deg;
  transition: --gz-border-draw .75s ease;
}

#gz-header .et_pb_menu__menu > nav > ul > li > a:hover {
  background: transparent !important;
  color: #8E0908 !important;
}

#gz-header .et_pb_menu__menu > nav > ul > li > a:hover::before {
  --gz-border-draw: 360deg;
}

#gz-header .et_pb_menu__menu > nav > ul > li.menu-item-has-children > a:after {
  position: static;
  margin-left: 0;
  line-height: 1;
  transform: none;
}

#gz-header .et-menu-nav > ul > li > ul.sub-menu {
  min-width: 260px;
  width: 260px;
  padding: 14px 0;
}

#gz-header .et-menu-nav > ul > li > ul.sub-menu li a {
  width: 100%;
  padding: 0.7em 1.4em !important;
}

#gz-header .et-menu-nav > ul > li > ul.sub-menu li a:hover {
  color: #8E0908 !important;
}

@media (max-width: 980px) {
  #gz-header .et_pb_menu__menu > nav > ul {
    gap: 1.2em !important;
  }
}

.gz-mobile-menu-actions,
.gz-mobile-overlay {
  display: none;
}

@media (max-width: 980px) {
  #gz-header .et_pb_row {
    align-items: center !important;
  }

  #gz-header .et_pb_column:last-child {
    align-items: flex-end !important;
    text-align: right !important;
  }

  #gz-header .et_pb_image,
  #gz-header .et_pb_menu {
    margin-bottom: 0 !important;
  }

  #gz-header .et_pb_menu {
    margin-left: auto !important;
  }

  #gz-header .et_pb_menu__menu,
  #gz-header .et_mobile_nav_menu {
    display: none !important;
  }

  #gz-header .et_pb_menu__wrap {
    justify-content: flex-end !important;
    display: flex !important;
    align-items: center !important;
  }

  .gz-mobile-menu-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }

  .gz-mobile-menu-toggle,
  .gz-mobile-overlay__close {
    appearance: none;
    width: auto;
    min-height: 38px;
    padding: 0 2em;
    border: 1px solid #8E0908;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #F9F9F7;
    font-family: inherit;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
  }

  .gz-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s ease, visibility 0s linear .32s;
  }

  .gz-mobile-overlay.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .gz-mobile-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 12, 13, .68);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .gz-mobile-overlay__panel {
    position: absolute;
    top: calc(var(--gz-header-offset, 86px) + 14px);
    left: 16px;
    right: 16px;
    max-height: calc(100dvh - var(--gz-header-offset, 86px) - 32px);
    overflow-y: auto;
    padding: 24px 24px 28px;
    border: 1px solid #8E0908;
    border-radius: 28px;
    background: #0E0C0D;
    color: #F9F9F7;
    box-shadow: none;
  }

  .gz-mobile-overlay__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 42px;
  }

  .gz-mobile-overlay__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 145px;
    max-width: 145px;
    color: #F9F9F7 !important;
    text-decoration: none !important;
  }

  .gz-mobile-overlay__brand img {
    display: block;
    width: 100%;
    max-width: 145px;
    height: auto;
  }

  .gz-mobile-overlay__nav {
    width: 100%;
  }

  .gz-mobile-overlay__list {
    width: 100%;
  }

  .gz-mobile-overlay__list,
  .gz-mobile-overlay__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .gz-mobile-overlay__item {
    margin: 0 0 14px;
    padding: 0;
  }

  .gz-mobile-overlay__item:has(.gz-mobile-overlay__submenu) {
    margin-bottom: 18px;
  }

  .gz-mobile-overlay__link,
  .gz-mobile-overlay__toggle {
    position: relative;
    width: 100%;
    padding: 0 0 8px 0;
    border: 0;
    display: block;
    background: transparent;
    color: #F9F9F7 !important;
    font-family: inherit;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
  }

  .gz-mobile-overlay__toggle-text {
    display: block;
    width: 100%;
    text-align: center;
  }

  .gz-mobile-overlay__chevron {
    position: absolute;
    right: 6px;
    top: .18em;
    width: 12px;
    height: 12px;
    border-right: 1.5px solid #F9F9F7;
    border-bottom: 1.5px solid #F9F9F7;
    transform: rotate(45deg);
    transition: transform .24s ease;
  }

  .gz-mobile-overlay__item.is-expanded .gz-mobile-overlay__chevron {
    transform: rotate(225deg);
    top: .4em;
  }

  .gz-mobile-overlay__item.is-current .gz-mobile-overlay__link,
  .gz-mobile-overlay__item.is-current .gz-mobile-overlay__toggle {
    color: #D7E4F6 !important;
  }

  .gz-mobile-overlay__submenu {
    max-height: 0;
    overflow: hidden;
    margin: -2px 0 0;
    transition: max-height .3s ease;
  }

  .gz-mobile-overlay__item.is-expanded .gz-mobile-overlay__submenu {
    max-height: 500px;
  }

  .gz-mobile-overlay__submenu a {
    display: block;
    padding: 0 0 12px 0;
    color: rgba(249, 249, 247, .78) !important;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
  }

  .gz-mobile-overlay__submenu li:first-child a {
    padding-top: 14px;
  }

  .gz-mobile-overlay,
  .gz-mobile-overlay *,
  .gz-mobile-menu-actions,
  .gz-mobile-menu-actions * {
    font-weight: 300 !important;
  }

  body.gz-menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 479px) {
  .gz-mobile-menu-toggle,
  .gz-mobile-overlay__close {
    min-height: 36px;
    padding: 0 2em;
    font-size: 14px;
  }

  .gz-mobile-overlay__panel {
    left: 12px;
    right: 12px;
    padding: 20px 18px 24px;
    border-radius: 24px;
  }

  .gz-mobile-overlay__brand {
    flex-basis: 118px;
    max-width: 118px;
  }

  .gz-mobile-overlay__brand img {
    max-width: 118px;
  }
}
/* ============== GLOBALNE STYLE STRONY ============== */

/* Fix a horizontal scroll bug on mobile browsers */
#page-container { 
  overflow:hidden; 
  width:100%; 
  max-width:100%; }

/*SELECTION*/
::selection {
     background-color: #8E0908;
     color: #ffffff;} 

body {
  font-family: "brother-1816", sans-serif !important;
  font-weight: 500 !important;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  -webkit-font-feature-settings: "liga" 0, "clig" 0;
}


button,
input[type="button"],
input[type="submit"],
.et_pb_button {
  font-family: "brother-1816", sans-serif !important;
  font-weight: 500 !important;
}


/* ============== TYPOGRAFIA I LINKI ============== */

ul, li, ol {
  line-height:1.2em!important;
}

:where(.et_pb_text) :is(p,ul,ol,blockquote) ~ :is(h1,h2,h3,h4,h5,h6) {
  padding-top:.75em;
}

:where(.et_pb_text) p:last-of-type {
  padding-bottom:1em;
}
:where(.et_pb_text) :is(p,ul,ol,blockquote):last-child {
  padding-bottom:0;
}

:where(.et_pb_text) ::marker {
  color:var(--gcid-primary-color);
  font-family:var(--et_global_heading_font);
}
:where(.et_pb_text) :is(ol,ul) li:not(:last-child) {
  padding-bottom:.5em;
}

body :where(.et_pb_text) a:not(.et_pb_button):not(.icon),
body :where(.et_pb_heading) a:not(.et_pb_button):not(.icon) {
  text-decoration: none;
  background-image: linear-gradient(#8E0908, #8E0908);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left bottom;
  transition: background-size .35s ease;
}

body :where(.et_pb_text) a:not(.et_pb_button):not(.icon):hover,
body :where(.et_pb_text) a:not(.et_pb_button):not(.icon):focus-visible,
body :where(.et_pb_heading) a:not(.et_pb_button):not(.icon):hover,
body :where(.et_pb_heading) a:not(.et_pb_button):not(.icon):focus-visible {
  background-size: 100% 1px;
}

#gz-header a {
  background-image: none !important;
}

#gz-footer a:not(.et_pb_button):not(.icon) {
  text-decoration: none;
  background-image: linear-gradient(#8E0908, #8E0908);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left bottom;
  transition: background-size .35s ease;
}

#gz-footer a:not(.et_pb_button):not(.icon):hover,
#gz-footer a:not(.et_pb_button):not(.icon):focus-visible {
  background-size: 100% 1px;
}



/* Cytaty w modulach tekstowych */
:where(.et_pb_text) blockquote {
  border:none;
  position:relative;
  padding:.5em 1em;
  margin:.5em 0 1.5em;
}
:where(.et_pb_text) blockquote::after {
  content:'ă';
  color:var(--gcid-primary-color);
  position:absolute;
  font-size:4em;
  left:-.15em;
  top:.2em;
}
:where(.et_pb_text) blockquote::before {
  content:'';
  background:var(--gcid-primary-color);
  opacity:0.1;
  width:100%;
  height:100%;
  position:absolute;
  z-index:-1;
  left:0; 
  top:0;
  border-radius:5px;
}




/* ============== PRZYCISK POWROTU DO GORY ============== */
.et_pb_scroll_top:before {
  content: '!';
}

.et_pb_scroll_top.et-pb-icon {
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 50px;
  color: #8E0908;
  padding: 12px;
  font-size: 22px;
  right: 20px;
  bottom: 40px !important;
  transition: all .3s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon.et-visible {
  transition: all .3s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon:hover {
  background: transparent !important;
  border-color: #8E0908;
  color: #8E0908;
}

@media (max-width: 980px) {
  .et_pb_scroll_top.et-pb-icon {
    background: transparent !important;
    border: 1px solid #8E0908;
    border-radius: 100px;
    right: 10px;
    bottom: 10px !important;
  }
}


/* ===================== FORMULARZ ===================== */

.forminator-field input,
span.select2-selection.select2-selection--single,
textarea {
    padding: 15px!important;
    border-radius:20px!important;}

#checkbox-1 label {
    align-items:flex-start!important;}

span.forminator-checkbox-label {
    line-height:1.2em!important;
    text-align:left!important;
    font-size:14px!important;
    width:80%;}

@media (max-width:980px){
	span.forminator-checkbox-label {
width:100%;}
}


button.forminator-button.forminator-button-submit {
    border-radius:40px!important;
    font-size:18px!important;
    padding:0.75em 3em!important;
    display: block!important;
    margin-left: auto!important;
    margin-top:20px!important;
    text-transform:uppercase;
}

button.forminator-button.forminator-button-submit:hover {
    box-shadow:none!important;}


/* ===================== PRZELACZNIK SEKCJI ===================== */

.gz-switcher {
  --gz-active: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 999px;
  background: #F9F9F7;
}

.gz-switcher::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.333%;
  border-radius: 999px;
  background: #8E0909;
  transform: translateX(calc(var(--gz-active) * 100%));
  transition: transform 0.35s ease;
}

.gz-switcher .gz-switcher__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin: 0 !important;
  padding: 0 20px;
  cursor: pointer;
  color: #111;
  transition: color 0.2s ease;
}

.gz-switcher .gz-switcher__item .et_pb_text_inner,
.gz-switcher .gz-switcher__item p {
  margin: 0;
  padding: 0;
}

.gz-switcher .gz-switcher__item.is-active {
  color: #fff;
}

.gz-switch-panel {
  display: none !important;
}

body.et-fb .gz-switch-panel,
.gz-switch-panel.is-active {
  display: flex !important;
}

@media (max-width: 767px) {
  .gz-switcher .gz-switcher__item {
    min-height: 42px;
  }

  .gz-switcher .gz-switcher-biznes {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .gz-switcher .gz-switcher-eksperymenty {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .gz-switcher .gz-switcher-portrety:not(.is-active) .et_pb_text_inner {
    transform: translateX(6px);
  }

  .gz-switcher .gz-switcher-eksperymenty:not(.is-active) .et_pb_text_inner {
    transform: translateX(-6px);
  }

  .gz-switcher .gz-switcher-biznes.is-active {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .gz-switcher .gz-switcher-eksperymenty.is-active {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .gz-switcher:has(> .gz-switcher-biznes.is-active)::before {
    width: 30%;
    transform: translateX(116.667%);
  }

  .gz-switcher:has(> .gz-switcher-eksperymenty.is-active)::before {
    width: 36%;
    transform: translateX(177.778%);
  }
}

/* ===================== ANIMACJA WEJSCIA ZDJEC ===================== */
.gz-bold-section .et_pb_image {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--gz-reveal-delay, 0s);
}

.gz-bold-section .et_pb_image.gz-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gz-bold-section .et_pb_image:nth-of-type(2) {
  --gz-reveal-delay: 0.12s;
}

.gz-bold-section .et_pb_image:nth-of-type(3) {
  --gz-reveal-delay: 0.24s;
}

body.et-fb .gz-bold-section .et_pb_image {
  opacity: 1;
  transform: none;
}

.gz-bold-sticky.et_pb_sticky_placeholder {
  visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .gz-bold-section .et_pb_image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ===================== TIMELINE ===================== */
.gz-timeline .et_pb_timeline_card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.gz-timeline .et_pb_timeline_item.is-active .et_pb_timeline_card,
.gz-timeline .et_pb_timeline_item.is-visible .et_pb_timeline_card {
  opacity: 1;
  transform: translateY(0);
}

.gz-timeline .et_pb_timeline_marker {
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.gz-timeline .et_pb_timeline_item.is-active .et_pb_timeline_marker {
  background-color: #8E0909 !important;
  border-color: #8E0909 !important;
  box-shadow: 0 0 0 5px rgba(142, 9, 9, .14);
}

body.et-fb .gz-timeline .et_pb_timeline_card {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .gz-timeline .et_pb_timeline_card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ===================== POZIOMA KARUZELA ZDJEC ===================== */
.gz-photo-marquee {
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: auto;
}

.gz-photo-marquee::-webkit-scrollbar {
  display: none;
}

.gz-photo-marquee .gz-photo-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  column-gap: 10px;
  width: max-content !important;
  will-change: transform;
  animation: gz-photo-marquee-loop 72s linear infinite;
}

.gz-photo-marquee .gz-photo-track > .et_pb_image {
  flex: 0 0 var(--gz-photo-card-width, 425px) !important;
  width: var(--gz-photo-card-width, 425px) !important;
  max-width: var(--gz-photo-card-width, 425px) !important;
  margin-bottom: 0 !important;
}

.gz-photo-marquee .gz-photo-track > .et_pb_image .et_pb_image_wrap,
.gz-photo-marquee .gz-photo-track > .et_pb_image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.gz-photo-marquee.is-touching .gz-photo-track {
  animation-play-state: paused !important;
}

@keyframes gz-photo-marquee-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--gz-photo-loop-distance, -50%));
  }
}

@media (max-width: 980px) {
  .gz-photo-marquee .gz-photo-track {
    animation-duration: 72s;
  }
}

body.et-fb .gz-photo-marquee {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  overflow-x: auto !important;
}

body.et-fb .gz-photo-marquee .gz-photo-track {
  display: contents !important;
  animation: none !important;
  transform: none !important;
}

/* ============== PIONOWA KARUZELA ZDJEC ============== */
.gz-marquee-row-photos {
  overflow: hidden;
}

.gz-marquee-row-photos .gz-photos,
.gz-marquee-row-photos .tc-photos {
  position: relative;
  height: 85vh;
  overflow: hidden;
  display: block;
}

.gz-marquee-row-photos .gz-team-track,
.gz-marquee-row-photos .kp-team-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3px !important;
  align-items: start;
  width: 100%;
  height: 100%;
}

.gz-marquee-row-photos .gz-vertical-lane {
  display: flex;
  flex-direction: column;
  row-gap: 3px;
  will-change: transform;
  animation: gz-team-marquee-vertical 40s linear infinite;
}

.gz-marquee-row-photos .gz-vertical-lane > .et_pb_image {
  display: block;
  width: 100%;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.gz-marquee-row-photos .gz-vertical-lane img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

@keyframes gz-team-marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 1024px) and (min-width: 810px) {
  .gz-marquee-row-photos .gz-team-track,
.gz-marquee-row-photos .kp-team-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gz-marquee-row-photos {
    height: 100vh !important;
    min-height: 620px !important;
  }

  .gz-marquee-row-photos .gz-photos,
.gz-marquee-row-photos .tc-photos {
    height: 100vh !important;
    min-height: 620px !important;
    max-height: none !important;
  }

  .gz-marquee-row-photos .gz-team-track,
.gz-marquee-row-photos .kp-team-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100% !important;
  }
}

body.et-fb .gz-marquee-row-photos .gz-vertical-lane {
  animation: none !important;
  transform: none !important;
}
/* ===================== PORTFOLIO IMAGE ZOOM ===================== */

.gz-portfolio-sesja {
  position: relative;
}

.gz-portfolio-img {
  position: relative;
  min-height: clamp(320px, 34vw, 560px);
  overflow: hidden;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.gz-portfolio-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
  transition: transform .75s ease;
  will-change: transform;
}

.gz-portfolio-sesja:hover .gz-portfolio-img::before,
.gz-portfolio-sesja:focus-within .gz-portfolio-img::before {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .gz-portfolio-img {
    min-height: 420px;
  }
}

@media (hover: none), (pointer: coarse) {
  .gz-portfolio-sesja:hover .gz-portfolio-img::before,
  .gz-portfolio-sesja:focus-within .gz-portfolio-img::before {
    transform: none !important;
  }
}
/* ===================== ZDJECIA FADE W BUILDERZE I NA STRONIE ===================== */

.et_pb_column:has(> .gz-photo-fade),
.et_pb_group:has(> .gz-photo-fade) {
  position: relative;
  display: grid;
}

.et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade,
  .et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade {
  grid-area: 1 / 1;
  margin: 0 !important;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade .et_pb_image_wrap,
.et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade .et_pb_image_wrap,
.et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade img,
.et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade img {
  display: block;
  width: 100%;
}

.et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade.is-active,
.et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade.is-active {
  opacity: 1;
}

.et_pb_sticky.gz-sticky-fade-is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}
.et_pb_sticky_placeholder .gz-photo-fade {
  opacity: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade,
  .et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade {
    transition: none;
    opacity: 0;
  }

  .et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade:first-child,
  .et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade:first-child {
    opacity: 1;
  }
}


body.et-fb .et_pb_column:has(> .gz-photo-fade),
body.et-fb .et_pb_group:has(> .gz-photo-fade) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

body.et-fb .et_pb_column:has(> .gz-photo-fade) > .gz-photo-fade,
body.et-fb .et_pb_group:has(> .gz-photo-fade) > .gz-photo-fade {
  flex: 1 1 min(220px, 100%);
  max-width: 320px;
  grid-area: auto;
  opacity: 1 !important;
  transition: none;
}

body.et-fb .et_pb_sticky_placeholder .gz-photo-fade {
  opacity: 1 !important;
}


/* =========================
   STOPKA
========================= */
@media (max-width:980px) {
  #gz-footer .et_mobile_nav_menu {
    display: none!important;
  }
  #gz-footer .et_pb_menu__menu {
    display: block!important;
  }
  #gz-footer .et_pb_menu__menu,
  #gz-footer .et_pb_menu__menu > nav > ul {
    display: flex;
    flex-direction: column!important;
    flex-wrap: nowrap!important;
    align-items: flex-end!important;
  }
  #gz-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: flex-end!important;
  }
}

@media (max-width:860px) {
  #gz-footer .et_pb_menu__menu,
  #gz-footer .et_pb_menu__menu > nav > ul {
    align-items: center!important;
  }
  #gz-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: center!important;
  }
}