/* Existing black logo asset on the accepted dark header; no typography/palette here. */
.ik-native-styles .qodef-header-logo-image:not(.qodef--light):is([src*="logo-black"], [src*="logo-png-czarne"]),
.ik-native-styles #qodef-page-footer img:is([src*="logo-black"], [src*="logo-png-czarne"]) {
  filter: brightness(0) invert(1);
}

/* White partner mark on the dark footer; preserve the original media asset. */
.ik-native-styles #qodef-page-footer .ik-footer-partner img {
  filter: brightness(0) invert(1);
  width: 130px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 1025px) {
  .ik-native-styles #qodef-page-footer-top-area-inner.qodef-layout-columns--4 > .qodef-grid > .qodef-grid-inner {
    grid-template-columns: 32fr 20fr 25fr 23fr;
  }
  .ik-native-styles #qodef-page-footer-top-area-inner.qodef-layout-columns--4 > .qodef-grid > .qodef-grid-inner > .qodef-grid-item:first-child img {
    width: 250px;
    max-width: 100%;
    height: auto;
  }
}

/* Qode's decorative menu pseudo-element has no dedicated enable/disable control. */
.ik-native-styles .qodef-header-navigation > ul > li > a .qodef-menu-item-text::after,
.ik-native-styles .qodef-header-navigation > ul > li > a .qodef-menu-item-text-inner::after,
.ik-native-styles .qodef-mobile-header-navigation > ul > li > a .qodef-menu-item-text-inner::after {
  content: none;
}

.ik-native-styles .ik-kb-card__title a {
  color: inherit;
}

.ik-native-styles :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Keep portrait captions compact; full biographies remain on linked profiles. */
.ik-native-styles .ik-team-showcase .qodef-team-list .qodef-e-role {
  font-size: 0.875em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ik-native-styles .ik-team-showcase .qodef-team-list .qodef-e-title {
  margin-bottom: 8px;
}

/* Navigation offsets override the parent theme's fixed !important offsets. */
/* Retain Swiper's clickable pagination; replace Qode's diamond artwork. */
.ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame {
  position: relative;
}
.ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > :is(.swiper-button-prev, .swiper-button-next) {
  top: 35%;
  padding: 8px;
}
.ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > .swiper-button-prev { left: -48px !important; }
.ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > .swiper-button-next { right: -48px !important; }
@media (min-width: 1025px) {
  .ik-native-styles #qodef-page-wrapper .ik-team-showcase .elementor-widget-ashtanga_core_team_list {
    max-width: calc(100% - 72px);
  }
}
@media (max-width: 1024px) {
  .ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > :is(.swiper-button-prev, .swiper-button-next) {
    top: auto;
    bottom: -4px;
    transform: none;
  }
  .ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > .swiper-button-prev { left: 0 !important; }
  .ik-native-styles #qodef-page-wrapper .ik-team-carousel-frame > .swiper-button-next { right: 0 !important; }
}
.ik-native-styles .ik-team-showcase .swiper-pagination-bullet svg {
  display: none;
}
.ik-native-styles .ik-team-showcase .swiper-pagination-bullet::before {
  content: "";
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
  background-color: transparent;
}
.ik-native-styles .ik-team-showcase .swiper-pagination-bullet:is(:hover, :focus-visible, .swiper-pagination-bullet-active)::before {
  background-color: currentColor;
}

/* Stable hero layers: no image-load fade or initial GSAP scroll tween. */
.ik-native-styles .ik-hero-parallax { overflow: hidden; }
.ik-native-styles .ik-hero-parallax::before {
  z-index: 1;
  pointer-events: none;
}
.ik-native-styles .ik-hero-parallax > :not(.qodef-parallax-row-holder) {
  z-index: 2;
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .ik-native-styles .ik-hero-parallax::after {
    content: "";
    position: absolute;
    inset: -48px 0;
    z-index: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    transform: translateY(var(--ik-hero-offset, 0px));
    will-change: transform;
  }
}

/* The original heart JPG includes its matching section surface. Keep its
   enlarged decorative layer behind the copy and inside the section. */
.ik-native-styles .ik-heart-parallax {
  overflow: hidden;
}

/* Desktop section reveal: the following opaque section covers the workshop.
   Short viewports retain normal scrolling so the workshop stays accessible. */
@media (min-width: 1025px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .ik-native-styles #qodef-page-inner:has(.ik-workshop-cover) {
    overflow-x: clip;
    overflow-y: visible;
  }
  .ik-native-styles .ik-workshop-cover {
    position: sticky;
    top: 0;
    z-index: 0;
  }
  .ik-native-styles .ik-workshop-cover-next {
    position: relative;
    z-index: 1;
  }
  .ik-native-styles .ik-workshop-cover-next ~ * {
    position: relative;
    z-index: 1;
    background-color: var(--ik-light-section, #FAFAF6);
  }
}
/* Qode's container initializer carries the preceding hero's background config
   into offset-only containers. This section uses only its offset heart. */
.ik-native-styles .ik-heart-parallax > .qodef-parallax-row-holder {
  display: none;
}
.ik-native-styles .ik-heart-parallax .qodef-offset-image-wrapper img {
  width: 1600px;
  max-width: none;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .ik-native-styles .ik-heart-parallax > .qodef-offset-image-holder {
    display: none;
  }
}
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .ik-native-styles .ik-heart-parallax .qodef-offset-image-wrapper img {
    transform-origin: left center;
    transform: scale(var(--ik-heart-scale, 1.15));
    will-change: transform;
  }
}
.ik-native-styles .ik-institute-slideshow .ik-institute-lead {
  max-width: 800px;
  margin-inline: auto;
}
.ik-native-styles .ik-institute-slideshow .ik-institute-cta {
  text-align: center;
}

/* Navigation remains inside the photographs, above the background overlay. */
.ik-native-styles .ik-institute-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 12px;
  pointer-events: none;
  color: var(--qode-main-color, #CBA953);
}
.ik-native-styles .ik-institute-controls button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.ik-native-styles .ik-institute-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.ik-native-styles .ik-institute-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.ik-native-styles .ik-institute-dot[aria-current="true"]::before,
.ik-native-styles .ik-institute-dot:hover::before {
  background: currentColor;
}
.ik-native-styles .ik-institute-arrow {
  position: absolute;
  top: calc(50% - 22px);
}
.ik-native-styles .ik-institute-prev { left: 12px; }
.ik-native-styles .ik-institute-next { right: 12px; }
.ik-native-styles .ik-institute-arrow svg {
  width: 20px;
  height: 32px;
  fill: none;
  stroke: currentColor;
}
@media (max-width: 767px) {
  .ik-native-styles .ik-institute-slideshow .ik-institute-cta {
    padding-bottom: 32px;
  }
  .ik-native-styles .ik-institute-arrow {
    top: auto;
    bottom: 12px;
  }
}

.ik-native-styles .ik-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ik-native-styles .ik-contact-form label {
  display: block;
}
.ik-native-styles .ik-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
.ik-native-styles .ik-contact-form textarea {
  min-height: 150px;
}
.ik-native-styles .ik-contact-privacy {
  font-size: 14px;
  line-height: 22px;
}
@media (max-width: 767px) {
  .ik-native-styles .ik-contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ik-native-styles .ik-contact-section .elementor-widget-ashtanga_core_single_image {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* A horizontal presentation of the native Qode team list. */
.ik-native-styles .ik-team-rows {
  max-width: 1120px;
  margin-inline: auto;
}
.ik-native-styles .ik-team-rows .qodef-e-inner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding-block: 36px;
  border-bottom: 1px solid rgba(33, 42, 66, 0.15);
}
.ik-native-styles .ik-team-rows .qodef-e-content {
  margin-top: 0;
}
.ik-native-styles .ik-team-rows .qodef-e-role {
  margin-top: 16px;
  max-width: 680px;
}
.ik-native-styles .ik-team-rows .qodef-e-image {
  width: 100%;
}
.ik-native-styles .ik-team-rows .ik-team-introduction {
  margin-block: 20px 24px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ik-native-styles .ik-team-rows .qodef-e-inner {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .ik-native-styles .ik-team-rows {
    padding-inline: 15px;
  }
  .ik-native-styles .ik-team-rows .qodef-e-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }
  .ik-native-styles .ik-team-rows .qodef-e-image {
    max-width: 320px;
  }
}

.ik-native-styles .ik-team-collaborators .qodef-e-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

/* Shared editorial lists; navigation, cards and external embeds are excluded. */
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) :is(ul, ol) {
  padding-inline-start: var(--ik-list-indent, 28px);
  margin-block: 20px 28px;
  list-style-position: outside;
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) ul {
  list-style-type: disc;
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) ol {
  list-style-type: decimal;
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) li {
  padding-inline-start: 6px;
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) li + li {
  margin-top: var(--ik-list-spacing, 12px);
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) li::marker {
  color: var(--ik-list-marker, var(--qode-main-color));
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) ul > li::marker {
  font-size: 0.75em;
}
.ik-native-styles :is(.elementor-widget-text-editor, .ik-kb-single__content) li p {
  line-height: inherit;
  margin-block: 0 8px;
}
.ik-native-styles.single-team .ik-profile-header .team-title {
  max-width: 960px;
  padding-bottom: 28px;
}
.ik-native-styles.single-team .ik-profile-header .qodef-m-title {
  margin-top: 0;
  margin-bottom: 16px;
}
.ik-native-styles.single-team .ik-profile-header .qodef-m-subtitle {
  max-width: 900px;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}
.ik-native-styles.single-team .elementor-widget-text-editor .elementor-widget-container > p:first-child {
  margin-top: 0;
}

.ik-native-styles .ik-contact-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(1);
}
@media (max-width: 767px) {
  .ik-native-styles .ik-contact-map iframe {
    height: 340px;
  }
}
