/* kolor błędów i pól wymaganych, kontrast 6,5:1 na białym */
:root {
  --ki-error: #c00000;
}

.page-id-5761 .wpcf7-submit {
  min-width: 50%;
}
.page-id-5761 input.wpcf7-form-control.has-spinner.wpcf7-submit {
  display: block;
  margin: 0 auto;
}

.page-id-5761 .wpcf7-list-item {
  margin-left: 0 !important;
}

a.button_lp2 {
  display: inline-block;
}

/* strzałka przycisku – SVG jako maska, kolor z `color` (currentColor) */
span.button_label:after,
span.button_label2:after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 21px;
  margin-left: 14px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='none'%3E%3Cpath d='M7.18 7a5.82 5.82 0 0 0-3.79 1.19A7.24 7.24 0 0 0 .97 11.6a8.5 8.5 0 0 0-.44 2.13L.47 16l-.19 4.5L.09 16 0 13.72a9.7 9.7 0 0 1 .25-2.33 8.1 8.1 0 0 1 2.42-4.06 7.1 7.1 0 0 1 4.51-1.86z' fill='%23000'/%3E%3Cpath d='M20.28 6.22H7.18M15.11.5l5.17 5.72-5.17 5.71' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='none'%3E%3Cpath d='M7.18 7a5.82 5.82 0 0 0-3.79 1.19A7.24 7.24 0 0 0 .97 11.6a8.5 8.5 0 0 0-.44 2.13L.47 16l-.19 4.5L.09 16 0 13.72a9.7 9.7 0 0 1 .25-2.33 8.1 8.1 0 0 1 2.42-4.06 7.1 7.1 0 0 1 4.51-1.86z' fill='%23000'/%3E%3Cpath d='M20.28 6.22H7.18M15.11.5l5.17 5.72-5.17 5.71' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.image_frame .image_wrapper .image_links {
  display: none;
}
.post-excerpt {
  margin-bottom: 0px;
}

#cf7-p p {
  margin: 0;
}
#cf7-p p br {
  display: none;
}
#cf7-p input {
  margin-bottom: 20px;
}
#cf7-p input.wpcf7-form-control.has-spinner.wpcf7-submit.send_lp {
  width: 100%;
}

input[type='text'],
input[type='email'],
input[type='tel'] {
  border: 1px solid #999;
}

@media only screen and (max-width: 767px) {
  a.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link svg {
    width: 25px;
    height: 25px;
  }
  #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    padding: 8px;
  }
}

.zmiana_h3 {
  font-family: 'Inter';
  font-style: normal;
  line-height: 1.2;
  font-weight: 300;
  font-size: 28px;
  text-align: center;
}

.zmiana_h6 {
  font-family: 'Inter';
  font-style: normal;
  line-height: 1.2;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit:disabled {
  filter: grayscale(1);
  opacity: 50%;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit {
  width: 100%;
}

.wpcf7-list-item input[type='checkbox'] {
  margin-bottom: 0px !important;
}

.wpcf7-acceptance input[type='checkbox'] {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin-right: 10px;
  width: 20px;
}

.wpcf7-acceptance input[type='checkbox']:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  margin-top: -2px;
  width: 20px;
  height: 20px;
  background: #fcfcfc;
  border: 1px solid #aaa;
  border-radius: 2px;
}

.wpcf7-acceptance input[type='checkbox']:checked:before {
  background: #000;
  border-color: #000;
}

.wpcf7-acceptance input[type='checkbox']:checked:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow:
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  transform: rotate(45deg);
}

.wpcf7-acceptance span.wpcf7-list-item {
  margin: 10px 0 0 0;
  font-size: 12px;
  line-height: 24px;
}
#popmake-3915 {
  background: #eaeaea;
}

a.pum-trigger {
  display: block;
  margin: 0 auto;
  padding: 15px 25px;
  border-radius: 4px;
  background: #ff590a;
  width: fit-content;
  margin-top: 30px;
  color: #ffffff;
}

a.popmake-4247.pum-trigger {
  background: unset !important;
  color: #ff590a;
  display: inline;
  padding: unset;
}

@media (max-width: 770px) {
  .grecaptcha-badge {
    visibility: hidden;
  }
}

.h3-w-stopce {
  font-family: 'Inter';
  font-style: normal;
  line-height: 1.2;
  font-weight: 300;
  font-size: 24px;
}
.rank-math-breadcrumb {
  color: #fff;
  margin-top: 20px;
}
.rank-math-breadcrumb a {
  color: #fff;
}

.rank-math-breadcrumb .last {
  font-weight: 600;
}

.h2-pogrubione {
  font-weight: 600;
}

a.logo-wrapper {
  max-width: 100px;
  padding: 10px 0;
}

.mfn-header-tmpl-menu-sidebar-wrapper
  .mfn-header-menu
  > .mfn-menu-li
  > .mfn-menu-link {
  position: relative;
  align-items: left !important;
  justify-content: space-between !important;
  padding: 8px 20px;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 1024px) {
  a.pojo-a11y-toolbar-link.pojo-a11y-toolbar-toggle-link svg {
    width: 25px;
    height: 25px;
  }
  #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    padding: 8px;
  }
}

@media only screen and (min-width: 959px) {
  .kontener-kolumn {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
  }
}

.single-post .widget_block {
  position: initial !important;
  padding: 0px !important;
  margin: 20px 0;
}

@media only screen and (max-width: 767px) {
  span .menu-label {
    font-size: 16px;
  }
}
#back_to_top i {
  color: white;
}

.wysrodkowanie-cta-kariery {
  margin: auto !important;
}

.wpcf7-response-output {
  color: var(--ki-error);
  font-weight: bold;
}

/* pasek logotypów [ki_clients] */
.ki-clients-section {
  overflow: hidden; /* pasek 100vw */
  background: linear-gradient(
    90deg,
    #fff 2%,
    #f1f1f1 17%,
    #f1f1f1 83%,
    #fff 98%
  );
}

.ki-clients-section .ki-lead .mcb-column-inner {
  margin-bottom: 15px;
}

/* min-width: 0 – kolumna flex się nie rozpycha */
.ki-clients-section .mcb-column-inner:has(.ki-logos) {
  min-width: 0;
  margin-bottom: 0;
}
.ki-clients-section .column_attr > p:empty {
  display: none;
}

.ki-logos {
  --ki-logos-gap: 88px;
  --ki-logos-height: 50px;
  --ki-logos-width: 140px;
  --ki-logos-color: #2d2b2b;
  --ki-logos-fade: linear-gradient(
    90deg,
    transparent 2%,
    #000 17%,
    #000 83%,
    transparent 98%
  );
  /* pełna szerokość ekranu */
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  -webkit-mask-image: var(--ki-logos-fade);
  mask-image: var(--ki-logos-fade);
}

.ki-logos__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ki-logos__tint {
  flood-color: var(--ki-logos-color);
}

.ki-logos__track {
  display: flex;
  width: max-content;
  animation: ki-logos-scroll var(--ki-logos-duration, 120s) linear infinite;
}

.ki-logos:hover .ki-logos__track {
  animation-play-state: paused;
}

.ki-logos__list {
  display: flex;
  align-items: center;
  gap: var(--ki-logos-gap);
  margin: 0;
  padding: 0 var(--ki-logos-gap) 0 0;
  list-style: none;
}

.ki-logos__item {
  flex: none;
  display: flex;
  align-items: center;
  height: var(--ki-logos-height);
  margin: 0;
}

.ki-logos__item img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--ki-logos-width);
  max-height: var(--ki-logos-height);
  filter: url(#ki-logo-tint);
}

@keyframes ki-logos-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ki-logos__track {
    animation: none;
  }
}

@media only screen and (max-width: 767px) {
  .ki-logos {
    --ki-logos-gap: 48px;
    --ki-logos-height: 32px;
    --ki-logos-width: 110px;
    --ki-logos-fade: linear-gradient(
      90deg,
      transparent,
      #000 15%,
      #000 85%,
      transparent
    );
  }
}

/* style="boxed" */
.section:has(.ki-logos--boxed) {
  overflow: hidden;
}

.mcb-column-inner:has(.ki-logos--boxed) {
  min-width: 0;
}

.column_attr:has(.ki-logos--boxed) > p:empty {
  display: none;
}

.ki-logos--boxed {
  --ki-logos-gap: 28px;
  --ki-logos-height: 84px;
  --ki-logos-width: 193px;
  --ki-logos-border: #e4e4e4;
  --ki-logos-radius: 10px;
  --ki-logos-zoom: 1.16;
}

.ki-logos--boxed .ki-logos__item {
  width: var(--ki-logos-width);
  border: 1px solid var(--ki-logos-border);
  border-radius: var(--ki-logos-radius);
  background: #fff;
  overflow: hidden;
}

.ki-logos--boxed .ki-logos__item a {
  display: block;
  width: 100%;
  height: 100%;
}

.ki-logos--boxed .ki-logos__item img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transform: scale(var(--ki-logos-zoom));
  filter: none;
}

@media only screen and (max-width: 767px) {
  .ki-logos--boxed {
    --ki-logos-gap: 16px;
    --ki-logos-height: 64px;
    --ki-logos-width: 147px;
    --ki-logos-radius: 8px;
  }
}

/* kafle usług [ki_tiles] */
.section:has(.ki-tiles) {
  overflow: hidden;
}
.mcb-column-inner:has(.ki-tiles) {
  min-width: 0;
  margin-bottom: 0;
}
.column_attr:has(.ki-tiles) > p:empty {
  display: none;
}

/* @property – płynna animacja koloru */
@property --ki-bg {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}

.ki-tiles {
  --ki-tiles-dark: #2e2c2c;
  --ki-tiles-height: clamp(640px, 53.7vw, 860px);
  --ki-tiles-speed: 0.5s;
  --ki-tiles-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* pełna szerokość ekranu */
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ki-tile {
  --ki-bg: #fff;
  --ki-num: #d0d0d0;
  --ki-num-x: 0%;
  --ki-line: #dbdbdb;
  --ki-title: #050202;
  --ki-img-base: 1;
  --ki-img-hover: 0;
  --ki-more: 0fr;
  --ki-more-opacity: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: var(--ki-tiles-height);
  overflow: hidden;
  background-color: var(--ki-bg);
  transition: --ki-bg var(--ki-tiles-speed) var(--ki-tiles-ease);
}

.ki-tile + .ki-tile {
  border-left: 1px solid #e5e5e5;
}

/* mocniej niż .content_wrapper img z be.css */
.ki-tile .ki-tile__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transition: opacity var(--ki-tiles-speed) var(--ki-tiles-ease);
}
.ki-tile__img--base {
  opacity: calc(var(--ki-img-base) * var(--ki-dim, 0.5));
  filter: grayscale(1);
  -webkit-mask-image: linear-gradient(#000 45%, transparent 70%);
  mask-image: linear-gradient(#000 45%, transparent 70%);
}
.ki-tile__img--hover {
  opacity: var(--ki-img-hover);
  -webkit-mask-image: linear-gradient(#000 40%, transparent 64%);
  mask-image: linear-gradient(#000 40%, transparent 64%);
}

/* cały kafel klikalny */
.ki-tile__link {
  position: absolute;
  inset: 0;
}

.ki-tile__content {
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 60px 19% 110px;
  box-sizing: border-box;
}

.ki-tile__num {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ki-line);
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: var(--ki-num);
  transition:
    color var(--ki-tiles-speed) var(--ki-tiles-ease),
    border-color var(--ki-tiles-speed) var(--ki-tiles-ease);
}
.ki-tile__num span {
  position: relative;
  display: inline-block;
  left: var(--ki-num-x);
  transform: translateX(calc(var(--ki-num-x) * -1));
  transition:
    left var(--ki-tiles-speed) var(--ki-tiles-ease),
    transform var(--ki-tiles-speed) var(--ki-tiles-ease);
}

/* gradient pod tekstem */
.ki-tile__body {
  margin-top: auto;
  border-image: linear-gradient(transparent, var(--ki-bg) 140px) fill 0 / /80px
    100vw 200px;
}

.ki-tile__title {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ki-title);
  transition: color var(--ki-tiles-speed) var(--ki-tiles-ease);
}

/* rozwijanie 0fr → 1fr */
.ki-tile__more {
  display: grid;
  grid-template-rows: var(--ki-more);
  opacity: var(--ki-more-opacity);
  transition:
    grid-template-rows var(--ki-tiles-speed) var(--ki-tiles-ease),
    opacity var(--ki-tiles-speed) var(--ki-tiles-ease);
}
.ki-tile__more-inner {
  min-height: 0;
  overflow: hidden;
}

.ki-tile__desc {
  margin: 16px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff99;
}

.ki-tile .ki-tile__btn {
  display: flex;
  width: 100%;
  margin-top: 35px;
  pointer-events: auto;
}

/* hover / fokus */
@media (min-width: 1024px) and (hover: hover) {
  .ki-tile:hover,
  .ki-tile:focus-within {
    --ki-bg: var(--ki-tiles-dark);
    --ki-num: #fff;
    --ki-num-x: 100%;
    --ki-line: #cacaca;
    --ki-title: #fff;
    --ki-img-base: 0;
    --ki-img-hover: 1;
    --ki-more: 1fr;
    --ki-more-opacity: 1;
  }
}

/* dotyk i wąskie ekrany: rozwinięte */
@media not all and (min-width: 1024px) and (hover: hover) {
  .ki-tile {
    --ki-bg: var(--ki-tiles-dark);
    --ki-num: #fff;
    --ki-num-x: 100%;
    --ki-line: #cacaca;
    --ki-title: #fff;
    --ki-img-base: 0;
    --ki-img-hover: 1;
    --ki-more: 1fr;
    --ki-more-opacity: 1;
  }
  .ki-tile + .ki-tile {
    border-left-color: #4a4747;
  }
}

@media only screen and (max-width: 1023px) {
  .ki-tiles {
    grid-template-columns: 1fr;
  }
  .ki-tile + .ki-tile {
    border-left: 0;
    border-top: 1px solid #4a4747;
  }
  .ki-tile {
    --ki-tiles-height: 780px;
  }
  .ki-tile__content {
    padding: 40px 33px 60px;
  }
  .ki-tile__title {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ki-tiles {
    --ki-tiles-speed: 0s;
  }
}

/* ozdobnik nagłówka .ki-deco */
.ki-deco {
  position: relative;
  display: inline-block;
}
.ki-deco::after {
  content: '';
  position: absolute;
  top: -0.4em;
  left: calc(100% - 4.05em);
  width: 7.05em;
  height: 4.425em;
  background-color: #ff5c00;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 282 177' fill='none'%3E%3Cpath d='M0 74.59H281.08M179.5 0V72.11M279.5 0V127.47' stroke='%23000' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M177 72h5v5h-5zM277 72h5v5h-5zM277 172h5v5h-5z' fill='%23000'/%3E%3C/svg%3E")
    0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 282 177' fill='none'%3E%3Cpath d='M0 74.59H281.08M179.5 0V72.11M279.5 0V127.47' stroke='%23000' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M177 72h5v5h-5zM277 72h5v5h-5zM277 172h5v5h-5z' fill='%23000'/%3E%3C/svg%3E")
    0 0 / 100% 100% no-repeat;
  pointer-events: none;
}

/* lista tagów ul.ki-tags */
ul.ki-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.ki-tags > li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #ff5c00;
}
ul.ki-tags > li::before {
  content: '';
  flex: none;
  width: 3px;
  height: 3px;
  background-color: currentColor;
}

/* slider case studies [ki_case_studies] */
.section:has(.ki-cs) {
  overflow: hidden;
}
.mcb-column-inner:has(.ki-cs) {
  min-width: 0;
  margin-bottom: 0;
}
.column_attr:has(.ki-cs) > p:empty {
  display: none;
}

/* scena = widoczne sloty, wyróżniony 1.35× */
.ki-cs {
  --ki-cs-slots: 5;
  --ki-cs-g: 28px;
  --ki-cs-ratio: 1.35;
  --ki-cs-stage: min(1716px, 100vw - 48px);
  --ki-cs-w: calc(
    (var(--ki-cs-stage) - (var(--ki-cs-slots) - 1) * var(--ki-cs-g)) /
      (var(--ki-cs-slots) - 1 + var(--ki-cs-ratio))
  );
  --ki-cs-wf: calc(var(--ki-cs-w) * var(--ki-cs-ratio));
  --ki-cs-slot: calc(var(--ki-cs-w) + var(--ki-cs-g));
  --ki-cs-h: 460px;
  --ki-cs-hf: 630px;
  --ki-cs-pad: clamp(24px, 2.1vw, 40px);
  --ki-cs-dark: #2d2b2b;
  --ki-cs-accent: #ff5c00;
  --ki-cs-speed: 0.6s;
  --ki-cs-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ki-cs-fade: linear-gradient(
    90deg,
    transparent 2%,
    #000 17%,
    #000 83%,
    transparent 98%
  );
  /* pełna szerokość ekranu */
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  padding: 100px 0;
  background: linear-gradient(
    90deg,
    #fff 2%,
    #f1f1f1 17%,
    #f1f1f1 83%,
    #fff 98%
  );
}

.ki-cs__stage {
  position: absolute;
  top: 100px;
  left: 50%;
  z-index: 2;
  width: var(--ki-cs-stage);
  transform: translateX(-50%);
  pointer-events: none;
}
.ki-cs__head,
.ki-cs__nav {
  position: absolute;
  pointer-events: auto;
}
.ki-cs__head {
  top: 9px;
  left: calc(var(--ki-cs-w) + var(--ki-cs-wf) + 2 * var(--ki-cs-g) + 14px);
}
.ki-cs__head .ki-lead p {
  margin: 0 0 8px;
}
.ki-cs__title {
  margin: 0;
}
.ki-cs__nav {
  top: 88px;
  right: 0;
  display: flex;
  gap: 10px;
}

:is(.ki-cs, .ki-blog) .ki-cs__arrow {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--ki-cs-accent);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
:is(.ki-cs, .ki-blog) .ki-cs__arrow::before {
  display: none; /* bez animacji slide Betheme */
}
:is(.ki-cs, .ki-blog) .ki-cs__arrow:hover {
  background-color: #e25200;
}
:is(.ki-cs, .ki-blog) .ki-cs__arrow:focus-visible {
  outline: 2px solid var(--ki-cs-dark);
  outline-offset: 2px;
}
.ki-cs__arrow svg {
  display: block;
  transition: transform 0.2s ease;
}
.ki-cs__arrow--prev svg {
  transform: scaleX(-1);
}
.ki-cs__arrow--prev:hover svg {
  transform: scaleX(-1) translateX(3px);
}
.ki-cs__arrow--next:hover svg {
  transform: translateX(3px);
}

/* kafle */
.ki-cs__viewport {
  overflow: hidden;
  padding-bottom: 24px;
  margin-bottom: -24px;
  -webkit-mask-image: var(--ki-cs-fade);
  mask-image: var(--ki-cs-fade);
}
.ki-cs__rail {
  position: relative;
  width: var(--ki-cs-stage);
  margin: 0 auto;
}
.ki-cs__slot,
.ki-cs__probe {
  position: absolute;
  top: 0;
  height: 0;
  visibility: hidden;
}
.ki-cs__slot {
  left: var(--ki-cs-slot);
}
.ki-cs__probe {
  width: calc(var(--ki-cs-w) + var(--ki-cs-g));
}

.ki-cs__track {
  display: flex;
  align-items: flex-end;
  gap: var(--ki-cs-g);
  width: max-content;
  transform: translateX(var(--ki-cs-slot)); /* przed startem JS */
  transition: transform var(--ki-cs-speed) var(--ki-cs-ease);
  touch-action: pan-y;
}

.ki-cs__card {
  --ki-cs-bg: #fff;
  --ki-cs-title: #2d2b2b;
  --ki-cs-date: #d0d0d0;
  --ki-cs-text: #2e2c2c99;
  --ki-cs-open: 0fr;
  position: relative;
  display: flex;
  flex: none;
  width: var(--ki-cs-w);
  min-height: var(--ki-cs-h);
  background-color: var(--ki-cs-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition:
    width var(--ki-cs-speed) var(--ki-cs-ease),
    min-height var(--ki-cs-speed) var(--ki-cs-ease),
    background-color var(--ki-cs-speed) var(--ki-cs-ease);
}
.ki-cs__card.is-featured {
  --ki-cs-bg: var(--ki-cs-dark);
  --ki-cs-title: #fff;
  --ki-cs-date: #fff;
  --ki-cs-text: #ffffff99;
  --ki-cs-open: 1fr;
  width: var(--ki-cs-wf);
  min-height: var(--ki-cs-hf);
}
.ki-cs.is-jumping .ki-cs__track,
.ki-cs.is-jumping .ki-cs__card,
.ki-cs.is-jumping .ki-cs__card * {
  transition: none !important;
}

.ki-cs__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--ki-cs-pad);
  box-sizing: border-box;
}

.ki-cs__thumb {
  margin-bottom: 20px;
}
.ki-cs__card:not(.is-featured) .ki-cs__thumb {
  display: none;
}

.ki-cs__more {
  display: grid;
  grid-template-rows: var(--ki-cs-open);
  transition:
    grid-template-rows var(--ki-cs-speed) var(--ki-cs-ease),
    opacity var(--ki-cs-speed) var(--ki-cs-ease),
    visibility var(--ki-cs-speed);
}
.ki-cs__card:not(.is-featured) .ki-cs__more {
  opacity: 0;
  visibility: hidden;
}
.ki-cs__more-inner {
  min-height: 0;
  overflow: hidden;
}
.ki-cs .ki-cs__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 628;
  object-fit: cover;
}

.ki-cs__card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ki-cs-title);
  transition:
    font-size var(--ki-cs-speed) var(--ki-cs-ease),
    color var(--ki-cs-speed) var(--ki-cs-ease);
}
.is-featured .ki-cs__card-title {
  -webkit-line-clamp: 6;
  font-size: 24px;
}
.ki-cs .ki-cs__card-title a {
  color: var(--ki-cs-title);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color var(--ki-cs-speed) var(--ki-cs-ease),
    text-decoration-color 0.2s ease;
}
.ki-cs .ki-cs__card-title a:hover,
.ki-cs .is-featured .ki-cs__card-title a {
  color: var(--ki-cs-title);
  text-decoration-color: currentColor;
}
.ki-cs__card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.ki-cs__date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--ki-cs-date);
  transition: color var(--ki-cs-speed) var(--ki-cs-ease);
}
.ki-cs__date::before {
  content: '';
  flex: 1;
  height: 3px;
  background:
    linear-gradient(currentColor, currentColor) right center / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat;
}

.ki-cs__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 24px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ki-cs-text);
  transition: color var(--ki-cs-speed) var(--ki-cs-ease);
}
.is-featured .ki-cs__excerpt {
  -webkit-line-clamp: 4;
  font-weight: 500;
}

.ki-cs__more {
  margin-top: auto;
}
:is(.ki-cs, .ki-blog, .ki-feature) .ki-cs__btn {
  --mfn-button-theme-color: var(--ki-cs-accent);
  --mfn-button-theme-color-hover: var(--ki-cs-accent);
  z-index: 1;
  display: flex;
  width: 100%;
  margin-top: 30px;
  box-shadow: inset 0 -2px 0 var(--ki-cs-accent);
}
:is(.ki-cs, .ki-blog, .ki-feature) .ki-cs__btn .button_label::after {
  color: var(--ki-cs-accent);
}

/* 4 sloty */
@media only screen and (max-width: 1439px) {
  .ki-cs {
    --ki-cs-slots: 4;
  }
}
/* 3 sloty */
@media only screen and (max-width: 1200px) {
  .ki-cs {
    --ki-cs-slots: 3;
  }
  .ki-cs__head {
    left: 14px;
    max-width: calc(var(--ki-cs-w) - 14px);
  }
}

@media only screen and (max-width: 1023px) {
  .ki-cs {
    --ki-cs-g: 16px;
    --ki-cs-stage: calc(100vw - 66px);
    --ki-cs-w: min(270px, 72vw);
    --ki-cs-wf: min(340px, var(--ki-cs-stage));
    --ki-cs-slot: 0px;
    --ki-cs-h: 420px;
    --ki-cs-hf: 600px;
    --ki-cs-pad: 24px;
    --ki-cs-fade: linear-gradient(
      90deg,
      transparent calc(50% - var(--ki-cs-stage) / 2 - 1px),
      #000 calc(50% - var(--ki-cs-stage) / 2),
      #000 85%,
      transparent
    );
    padding: 60px 0;
  }
  .ki-cs__stage {
    position: static;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto 30px;
    transform: none;
  }
  .ki-cs__head,
  .ki-cs__nav {
    position: static;
  }
  .ki-cs__head {
    max-width: none;
  }
  .ki-cs__nav {
    flex: none;
  }
}

@media only screen and (max-width: 425px) {
  .ki-cs {
    --ki-cs-fade: linear-gradient(
      90deg,
      transparent calc(50% - var(--ki-cs-stage) / 2 - 1px),
      #000 calc(50% - var(--ki-cs-stage) / 2)
    );
    background: #f1f1f1;
  }
  .ki-cs__stage {
    flex-direction: column;
    align-items: stretch;
  }
  .ki-cs__nav {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ki-cs {
    --ki-cs-speed: 0s;
  }
}

/* slider bloga [ki_blog] */
/* strzałki i przycisk z .ki-cs */
.mcb-column-inner:has(.ki-blog) {
  min-width: 0;
}
.column_attr:has(.ki-blog) > p:empty {
  display: none;
}
.ki-blog {
  --ki-cs-dark: #2d2b2b;
  --ki-cs-accent: #ff5c00;
  --ki-blog-thumb: 104px;
  --ki-blog-gap: 26px;
  --ki-blog-speed: 0.5s;
  --ki-blog-ease: cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-areas:
    '. head'
    '. nav'
    'media card'
    '. thumbs';
  column-gap: 27px;
}
.ki-blog > * {
  min-width: 0;
}

.ki-blog__head {
  grid-area: head;
}
.ki-blog__head .ki-lead p {
  margin: 0 0 8px;
}
.ki-blog__heading {
  margin: 0;
}

.ki-blog__nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 8px 0 34px;
}

.ki-blog__media {
  grid-area: media;
  position: relative;
  background-color: #f1f1f1;
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
}
/* okładka 16:9 w całości */
.ki-blog__pic {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 48px);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--ki-blog-speed) var(--ki-blog-ease);
}
.ki-blog__pic.is-active {
  opacity: 1;
}
.ki-blog .ki-blog__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ki-blog.is-single .ki-blog__nav,
.ki-blog.is-single .ki-blog__thumbs {
  display: none;
}

/* wpisy w jednej komórce – wysokość najdłuższego */
.ki-blog__card {
  grid-area: card;
  display: grid;
  background-color: #f1f1f1;
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
  touch-action: pan-y;
}
.ki-blog__slide {
  grid-area: 1 / 1;
  padding: 45px 40px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--ki-blog-speed) var(--ki-blog-ease),
    visibility var(--ki-blog-speed);
}
.ki-blog__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ki-blog__date {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #d0d0d0;
}
.ki-blog__date::before {
  content: '';
  flex: 1;
  height: 3px;
  background:
    linear-gradient(currentColor, currentColor) right center / 3px 3px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 100% 1px no-repeat;
}

.ki-blog__title {
  margin: 28px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #2d2b2b;
}
:is(.ki-blog, .ki-feature) .ki-blog__title a,
:is(.ki-blog, .ki-feature) .ki-blog__title a:hover {
  color: #2d2b2b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ki-blog__row {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  margin-top: 30px;
}
.ki-blog__excerpt {
  flex: 1;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: #2e2c2c99;
}
.ki-blog .ki-blog__btn {
  flex: 0 0 40%;
  width: auto;
  margin-top: 0;
}

.ki-blog__thumbs {
  grid-area: thumbs;
  contain: inline-size;
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
  mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.ki-blog__strip {
  display: flex;
  gap: var(--ki-blog-gap);
  width: max-content;
  transition: transform var(--ki-blog-speed) var(--ki-blog-ease);
}
.ki-blog.is-jumping .ki-blog__strip {
  transition: none;
}
.ki-blog .ki-blog__thumb {
  flex: none;
  width: var(--ki-blog-thumb);
  height: calc(var(--ki-blog-thumb) * 9 / 16);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background-color: #f1f1f1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.ki-blog .ki-blog__thumb::before {
  display: none; /* bez animacji slide Betheme */
}
.ki-blog .ki-blog__thumb:hover {
  opacity: 0.8;
}
.ki-blog .ki-blog__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1239px) {
  .ki-blog__row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .ki-blog .ki-blog__btn {
    flex: none;
  }
}

@media only screen and (max-width: 959px) {
  .ki-blog {
    grid-template-columns: 1fr;
    grid-template-areas:
      'head'
      'nav'
      'card'
      'thumbs';
  }
  .ki-blog__media {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .ki-blog {
    --ki-blog-thumb: 86px;
    --ki-blog-gap: 16px;
  }
  .ki-blog__slide {
    padding: 30px 24px;
  }
  .ki-blog__title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ki-blog {
    --ki-blog-speed: 0s;
  }
}

/* formularz CF7 .ki-cf */
.ki-contact-section > .mcb-wrap-inner {
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
}

.ki-cf {
  --ki-cf-accent: #ff5c00;
  --ki-cf-text: #2d2b2b;
  --ki-cf-muted: #6b6b6b;
  --ki-cf-gap: 72px;
  --ki-cf-arrow-x: 72px;

  font-family: 'Montserrat', sans-serif;
}

.ki-cf__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #050202;
}
.ki-cf__intro {
  max-width: 700px;
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ki-cf-muted);
}

/* pola */
.ki-cf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px var(--ki-cf-gap);
  margin-top: 50px;
}
.ki-cf__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  cursor: text;
}
.ki-cf__field--full {
  grid-column: 1 / -1;
}
.ki-cf__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ki-cf-text);
}
.ki-cf__label::before {
  content: '';
  flex: none;
  width: 3px;
  height: 3px;
  background-color: currentColor;
}
.ki-cf__label .ki-cf__req {
  margin-left: -6px;
}
.ki-cf__req {
  color: var(--ki-error);
}

.ki-cf .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
}
.ki-cf input.wpcf7-text,
.ki-cf input.wpcf7-email,
.ki-cf input.wpcf7-tel,
.ki-cf textarea.wpcf7-textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--ki-cf-text);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ki-cf-text);
  transition: border-color 0.2s ease;
}
.ki-cf textarea.wpcf7-textarea {
  height: 130px;
  resize: vertical;
  border-bottom-color: #d9d9d9;
}
.ki-cf input.wpcf7-form-control:focus,
.ki-cf textarea.wpcf7-textarea:focus {
  outline: none;
  border-bottom-color: var(--ki-cf-accent);
}

/* walidacja */
.ki-cf .wpcf7-not-valid-tip {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  margin-top: 6px;
  padding: 0;
  transform: none;
  background: none;
  text-indent: 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ki-error);
}
.ki-cf .wpcf7-not-valid-tip::before,
.ki-cf .wpcf7-not-valid-tip::after {
  display: none;
}
.ki-cf input.wpcf7-not-valid,
.ki-cf textarea.wpcf7-not-valid {
  border-bottom-color: var(--ki-error);
  border-bottom-width: 2px;
}

/* zgody i przycisk */
.ki-cf__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: var(--ki-cf-gap);
  margin-top: 32px;
}
.ki-cf__consents {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ki-cf .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}
.ki-cf .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  cursor: pointer;
}
.ki-cf .wpcf7-acceptance .wpcf7-list-item-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ki-cf-muted);
}
.ki-cf .wpcf7-acceptance input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  padding: 0;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  background: #fff center / 12px 10px no-repeat;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.ki-cf .wpcf7-acceptance input[type='checkbox']::before,
.ki-cf .wpcf7-acceptance input[type='checkbox']::after {
  content: none;
}
.ki-cf .wpcf7-acceptance input[type='checkbox']:checked {
  border-color: var(--ki-cf-accent);
  background-color: var(--ki-cf-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.ki-cf .wpcf7-acceptance input[type='checkbox']:focus-visible {
  outline: 2px solid var(--ki-cf-accent);
  outline-offset: 2px;
}

.ki-cf__send {
  position: relative;
}
.ki-cf input.wpcf7-form-control.wpcf7-submit {
  display: block;
  width: 100%;
  height: 44px !important;
  margin: 0;
  padding: 0 36px 0 0;
  border: 0;
  border-radius: 0;
  background-color: var(--ki-cf-accent);
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 44px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ki-cf input.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #e25200;
}
/* strzałka – input bez ::after */
.ki-cf__send::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + var(--ki-cf-arrow-x));
  width: 22px;
  height: 21px;
  margin-top: -11px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='none'%3E%3Cpath d='M7.18 7a5.82 5.82 0 0 0-3.79 1.19A7.24 7.24 0 0 0 .97 11.6a8.5 8.5 0 0 0-.44 2.13L.47 16l-.19 4.5L.09 16 0 13.72a9.7 9.7 0 0 1 .25-2.33 8.1 8.1 0 0 1 2.42-4.06 7.1 7.1 0 0 1 4.51-1.86z' fill='%23000'/%3E%3Cpath d='M20.28 6.22H7.18M15.11.5l5.17 5.72-5.17 5.71' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='none'%3E%3Cpath d='M7.18 7a5.82 5.82 0 0 0-3.79 1.19A7.24 7.24 0 0 0 .97 11.6a8.5 8.5 0 0 0-.44 2.13L.47 16l-.19 4.5L.09 16 0 13.72a9.7 9.7 0 0 1 .25-2.33 8.1 8.1 0 0 1 2.42-4.06 7.1 7.1 0 0 1 4.51-1.86z' fill='%23000'/%3E%3Cpath d='M20.28 6.22H7.18M15.11.5l5.17 5.72-5.17 5.71' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
  transition: transform 0.2s ease;
}
.ki-cf__send:hover::after {
  transform: translateX(6px);
}
.ki-cf .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 12px;
  margin: -12px 0 0;
}
.ki-cf__note {
  margin: 20px 0 0;
  text-align: right;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ki-cf-muted);
}

.ki-cf .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 500;
}

@media only screen and (max-width: 767px) {
  .ki-cf__intro {
    font-size: 17px;
  }
  .ki-cf__grid,
  .ki-cf__bottom {
    grid-template-columns: 1fr;
  }
  .ki-cf__grid {
    row-gap: 40px;
    margin-top: 36px;
  }
  .ki-cf__bottom {
    row-gap: 30px;
  }
  .ki-cf__note {
    text-align: left;
  }
}

/* mapa [ki_map] */
.mcb-column-inner:has(.ki-map) {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.column_attr:has(.ki-map) > p:empty {
  display: none;
}

.ki-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: var(--ki-map-height, 575px);
  background-color: #f2f2f2;
  font-family: 'Montserrat', sans-serif;
}
/* wyszarzenie kafelków */
.ki-map .leaflet-tile-pane {
  filter: grayscale(1) contrast(0.92) brightness(1.04);
}
.ki-map img {
  max-width: none !important;
  max-height: none !important;
}

.ki-map__marker {
  overflow: visible;
}
.ki-map__marker-inner {
  position: absolute;
  bottom: 0;
  left: -12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  white-space: nowrap;
  color: #ff5c00;
  pointer-events: none;
}
.ki-map__pin {
  display: block;
  flex: none;
}
.ki-map__label {
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #ff5c00;
  text-shadow:
    0 0 3px #fff,
    0 0 6px #fff,
    0 0 10px #fff;
}

.ki-map .leaflet-bar a {
  color: #2d2b2b;
}
.ki-map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.7);
}

@media only screen and (max-width: 767px) {
  .ki-map {
    height: min(var(--ki-map-height, 575px), 420px);
  }
  .ki-map__label {
    font-size: 16px;
    line-height: 20px;
    margin-top: 5px;
  }
}

/* stopka [ki_widgets] – #mfn-footer-template przebija style BeBuildera */

#mfn-footer-template .ki-footer {
  padding: 144px 0 0;
}

#mfn-footer-template .ki-footer .mcb-wrap {
  align-self: stretch;
  width: auto;
  float: none;
}

#mfn-footer-template .ki-footer .mcb-wrap-inner,
#mfn-footer-template .ki-footer .mcb-column-inner,
#mfn-footer-template .ki-footer .widget {
  margin: 0;
}

#mfn-footer-template .ki-footer .mcb-column {
  width: 100%;
}

/* logo + kontakt */
#mfn-footer-template .ki-footer__contact .mcb-wrap-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

#mfn-footer-template .ki-footer__contact .column_image {
  margin-bottom: 24px;
}

#mfn-footer-template .ki-footer__contact .mfn-icon-box {
  align-items: center;
  gap: 16px;
}

#mfn-footer-template .ki-footer__contact .icon-wrapper {
  flex-shrink: 0;
  margin: 0;
}

#mfn-footer-template .ki-footer__contact .desc-wrapper .title,
#mfn-footer-template .ki-footer__contact .desc-wrapper .title a {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  transition: color 0.2s;
}

#mfn-footer-template .ki-footer__contact .desc-wrapper .title a:hover,
#mfn-footer-template .ki-footer__contact .mcb-column-inner > a:hover .title {
  color: #ff5c00;
}

#mfn-footer-template
  .ki-footer__contact
  .mcb-column-inner
  > a
  .icon-wrapper
  img {
  transition: transform 0.2s;
}

#mfn-footer-template
  .ki-footer__contact
  .mcb-column-inner
  > a:hover
  .icon-wrapper
  img {
  transform: scale(1.06);
}

/* kolumny z widgetami */
#mfn-footer-template
  .ki-footer__nav
  :is(
    .mcb-wrap-inner,
    .mcb-column,
    .mcb-column-inner,
    .column_attr,
    .ki-widgets,
    .widget
  ) {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#mfn-footer-template .ki-footer__nav .column_attr > p:empty {
  display: none;
}

#mfn-footer-template .ki-fnav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 40px;
  font-family: 'Montserrat', sans-serif;
}

#mfn-footer-template .ki-fnav__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#mfn-footer-template .ki-fnav .h3-w-stopce {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #d0d0d0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
  white-space: nowrap;
  color: #d0d0d0;
}

#mfn-footer-template .ki-fnav .h3-w-stopce::before {
  content: '';
  flex-shrink: 0;
  width: 3px;
  height: 3px;
  background: currentColor;
}

#mfn-footer-template .ki-fnav__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#mfn-footer-template .ki-fnav ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 0 16px;
  list-style: none;
}

#mfn-footer-template .ki-fnav li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

#mfn-footer-template .ki-fnav .ki-fnav__list {
  gap: 4px;
}

#mfn-footer-template .ki-fnav .ki-fnav__list--loose {
  gap: 8px;
}

#mfn-footer-template .ki-fnav .ki-fnav__list--flat {
  padding-left: 0;
}

#mfn-footer-template .ki-fnav a {
  display: block;
  width: fit-content;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

#mfn-footer-template .ki-fnav a:hover {
  color: #ff5c00;
}

#mfn-footer-template .ki-fnav .ki-fnav__title {
  font-size: 20px;
  color: #ff5c00;
}

#mfn-footer-template .ki-fnav .ki-fnav__title:hover {
  color: #fff;
}

#mfn-footer-template .ki-fnav .ki-fnav__sub a {
  font-size: 15px;
  font-weight: 400;
  color: #d0d0d0;
}

#mfn-footer-template .ki-fnav .ki-fnav__sub a:hover {
  color: #ff5c00;
}

#mfn-footer-template .ki-fnav .h3-w-stopce a {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

/* dane rejestrowe + linki prawne */
#mfn-footer-template .ki-footer__reg {
  --ki-reg-gap: 24px;
}

#mfn-footer-template .ki-footer__reg > .mcb-wrap-inner {
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 40px;
  margin: 72px 0 0;
  padding: 24px 0;
}

#mfn-footer-template .ki-footer__reg .mfn-nested-wrap > .mcb-wrap-inner,
#mfn-footer-template
  .ki-footer__reg:not(:has(.mfn-nested-wrap))
  > .mcb-wrap-inner {
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--ki-reg-gap);
}

#mfn-footer-template
  .ki-footer__reg:not(:has(.mfn-nested-wrap))
  > .mcb-wrap-inner
  > .mcb-column:not(.mcb-column ~ .mcb-column),
#mfn-footer-template
  .ki-footer__reg
  .mcb-wrap-background-overlay
  + .mfn-nested-wrap
  .mcb-column:not(.mcb-column ~ .mcb-column) {
  margin-right: calc(40px - var(--ki-reg-gap));
}

#mfn-footer-template .ki-footer__reg p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  white-space: nowrap;
  color: #fff;
}

#mfn-footer-template
  .ki-footer__reg:not(:has(.mfn-nested-wrap))
  > .mcb-wrap-inner
  > .mcb-column:not(.mcb-column ~ .mcb-column)
  p,
#mfn-footer-template
  .ki-footer__reg
  .mcb-wrap-background-overlay
  + .mfn-nested-wrap
  .mcb-column:not(.mcb-column ~ .mcb-column)
  p {
  color: #d0d0d0;
}

#mfn-footer-template .ki-footer__reg strong {
  font-weight: 500;
}

#mfn-footer-template .ki-footer__reg .mfn-nested-wrap + .mfn-nested-wrap a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.2s;
}

#mfn-footer-template
  .ki-footer__reg
  .mfn-nested-wrap
  + .mfn-nested-wrap
  a:hover {
  color: #ff5c00;
}

/* social media */
#mfn-footer-template .ki-footer__social .mcb-wrap-inner {
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 72px 0 144px;
}

#mfn-footer-template .ki-footer__social .mcb-column {
  width: auto;
}

/* układ */
#mfn-footer-template .ki-footer > .section_wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
}

#mfn-footer-template .ki-footer__contact,
#mfn-footer-template .ki-footer__reg,
#mfn-footer-template .ki-footer__social {
  grid-column: 1 / -1;
}

#mfn-footer-template .ki-footer__contact {
  margin-bottom: 16px;
}

#mfn-footer-template .ki-footer__reg > .mcb-wrap-inner {
  margin-top: 32px;
}

@media (min-width: 1240px) {
  #mfn-footer-template .ki-footer > .section_wrapper {
    grid-template-columns: 236px repeat(3, minmax(0, 1fr));
    gap: 0 40px;
    max-width: min(1268px, calc(100% - 24px));
  }

  #mfn-footer-template .ki-footer__contact {
    grid-column: auto;
    max-width: 236px;
    margin-bottom: 0;
  }

  #mfn-footer-template .ki-footer__reg {
    --ki-reg-gap: 12px;
  }

  #mfn-footer-template .ki-footer__reg > .mcb-wrap-inner {
    column-gap: 24px;
    margin-top: 72px;
  }
}

@media (min-width: 1310px) {
  #mfn-footer-template .ki-footer > .section_wrapper {
    grid-template-columns: 292px repeat(3, minmax(0, 1fr));
    column-gap: 48px;
  }

  #mfn-footer-template .ki-footer__reg {
    --ki-reg-gap: 16px;
  }

  #mfn-footer-template .ki-footer__reg > .mcb-wrap-inner {
    column-gap: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1239px) {
  #mfn-footer-template .ki-footer__contact .mcb-wrap-inner {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: 32px 48px;
  }

  #mfn-footer-template .ki-footer__contact .mcb-column {
    width: auto;
  }

  #mfn-footer-template .ki-footer__contact .column_image {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  #mfn-footer-template .ki-footer > .section_wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #mfn-footer-template .ki-footer__contact .mcb-wrap-inner {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
  }
}

@media (max-width: 767px) {
  #mfn-footer-template .ki-footer {
    padding-top: 72px;
  }

  #mfn-footer-template .ki-footer > .section_wrapper {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 33px;
  }

  #mfn-footer-template .ki-footer__social .mcb-wrap-inner {
    padding: 56px 0 72px;
  }
}

@media (max-width: 300px) {
  #mfn-footer-template .ki-footer__contact .mfn-icon-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* przycisk przezroczysty biały .bt-tr-white */

.bt-tr-white .button_theme {
  --mfn-button-theme-color: #fff;
  --mfn-button-theme-color-hover: #fff;
  --mfn-button-theme-border-color: #fff;
  --mfn-button-theme-border-color-hover: #fff;
  --mfn-button-theme-icon-color: #fff;
  --mfn-button-theme-icon-color-hover: #fff;
}

.bt-tr-white .mcb-column-inner {
  border-color: #fff;
}

.bt-tr-fix.bt-tr-white a span::after {
  color: #fff;
}

/* pasek kroków ol.ki-steps */

.mcb-column-inner:has(.ki-steps) {
  min-width: 0;
  margin-bottom: 0;
}

.column_attr:has(.ki-steps) > p:empty {
  display: none;
}

.column_attr .ki-steps {
  --ki-steps-color: #d0d0d0;
  --ki-steps-icon: 55px;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-steps .ki-steps__item {
  display: grid;
  grid-template-columns: max-content;
  align-content: start;
  row-gap: 10px;
  flex: none;
  margin: 0;
  padding: 0;
}

.ki-steps .ki-steps__item:not(:last-child) {
  grid-template-columns: var(--ki-steps-icon) minmax(95px, 1fr);
  flex: 1 1 0;
  min-width: min-content;
}

.ki-steps__item::before {
  display: none;
}

.ki-steps .ki-steps__icon {
  display: block;
  width: var(--ki-steps-icon);
  height: var(--ki-steps-icon);
  max-width: none;
}

.ki-steps__item:not(:last-child)::after {
  content: '';
  grid-area: 1 / 2;
  margin: 0 8px;
  background:
    linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) left center /
      5px 5px no-repeat,
    linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) right center /
      5px 5px no-repeat,
    linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) center / 100%
      1px no-repeat;
}

.ki-steps__label {
  grid-column: 1 / -1;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ki-steps-color);
}

@media (max-width: 959px) {
  .column_attr .ki-steps {
    flex-direction: column;
    align-items: center;
  }

  .ki-steps .ki-steps__item,
  .ki-steps .ki-steps__item:not(:last-child) {
    grid-template-columns: auto;
    justify-items: center;
    flex: none;
    min-width: 0;
  }

  .ki-steps .ki-steps__label {
    grid-area: 2 / 1;
    text-align: center;
    white-space: normal;
  }

  .ki-steps .ki-steps__item:not(:last-child)::after {
    grid-area: 3 / 1;
    width: 5px;
    height: 40px;
    margin: 0 0 10px;
    background:
      linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) center top /
        5px 5px no-repeat,
      linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) center
        bottom / 5px 5px no-repeat,
      linear-gradient(var(--ki-steps-color), var(--ki-steps-color)) center / 1px
        100% no-repeat;
  }
}

/* ilustracja z podpisami .ki-scene */

.mcb-column-inner:has(.ki-scene) {
  min-width: 0;
  margin-bottom: 0;
}

.column_attr:has(.ki-scene) > p:empty {
  display: none;
}

/* akapit nad ilustracją – z-index wrapu */
.mcb-wrap:has(+ .mcb-wrap .ki-scene) {
  z-index: 2;
}

.mcb-wrap:has(+ .mcb-wrap .ki-scene) .mcb-column:last-child .mcb-column-inner,
.mcb-wrap:has(+ .mcb-wrap .ki-scene)
  .mcb-column:last-child
  .column_attr
  > :last-child {
  margin-bottom: 0;
}

.ki-scene {
  --ki-scene-color: #2d2b2b;
  --ki-scene-row: 55px;
  position: relative;
  margin-top: -6.2%;
  margin-bottom: var(--ki-scene-row); /* margin – --y liczy się od obrazka */
}

.ki-scene__art {
  position: relative;
}

.ki-scene .ki-scene__base,
.ki-scene .ki-scene__accent {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.ki-scene__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 32.59%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.ki-scene .ki-scene__accent {
  position: absolute;
  inset: 0;
}

.ki-scene__point {
  position: absolute;
  top: var(--y);
  bottom: calc(-1 * var(--ki-scene-row));
  left: var(--x);
  width: 0;
  border-left: 1px solid var(--ki-scene-color);
  color: var(--ki-scene-color);
}

.ki-scene__point::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -3px;
  width: 5px;
  height: 5px;
  background: currentColor;
}

.ki-scene__label {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--ki-scene-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  color: var(--ki-scene-color);
}

@media (max-width: 959px) {
  .ki-scene__label {
    padding: 6px 10px;
    font-size: 14px;
    line-height: 18px;
  }

  .ki-scene {
    --ki-scene-row: 45px;
  }
}

@media (max-width: 767px) {
  .ki-scene {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 20px 0 0;
  }

  .ki-scene__art {
    flex: 0 0 100%;
    margin-bottom: 12px;
  }

  .ki-scene__point {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    border: 0;
  }

  .ki-scene__point::before {
    position: static;
    flex-shrink: 0;
    width: 3px;
    height: 3px;
    background: #ff5c00;
  }

  .ki-scene__label {
    position: static;
    padding: 0;
    border: 0;
    white-space: normal;
  }
}

/* FAQ [faq-widget] */

.mcb-column-inner:has(.ki-faq) {
  min-width: 0;
}

.column_attr:has(.ki-faq) > p:empty {
  display: none;
}

.ki-faq {
  --ki-faq-text: #050202;
  --ki-faq-line: #d9d9d9;
  --ki-faq-media: 180px;
  --ki-faq-open-gap: 26px;
  --ki-faq-speed: 0.35s;
}

.ki-faq__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  border-bottom: 1px solid var(--ki-faq-line);
}

.ki-faq__media {
  grid-row: 1 / span 2;
  width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    width var(--ki-faq-speed) ease,
    max-height var(--ki-faq-speed) ease,
    margin var(--ki-faq-speed) ease,
    opacity var(--ki-faq-speed) ease;
}

.ki-faq__item.is-open .ki-faq__media {
  width: var(--ki-faq-media);
  max-height: 240px;
  margin-right: 32px;
  opacity: 1;
}

/* <picture> z WebP Express */
.ki-faq__media picture {
  display: block;
  height: 100%;
}

.ki-faq .ki-faq__media img {
  display: block;
  width: var(--ki-faq-media);
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ki-faq .ki-faq__q {
  grid-column: 2;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ki-faq-text);
}

/* 3 klasy + all: unset – Betheme stylizuje każdy button */
.ki-faq .ki-faq__item .ki-faq__btn {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 0;
  cursor: pointer;
  transition:
    opacity var(--ki-faq-speed) ease,
    padding var(--ki-faq-speed) ease;
}

.ki-faq .ki-faq__item.is-open:not(.has-media) .ki-faq__btn,
.ki-faq .ki-faq__item.is-open + .ki-faq__item .ki-faq__btn {
  padding-top: var(--ki-faq-open-gap);
}

.ki-faq__item.has-media {
  transition: padding var(--ki-faq-speed) ease;
}

.ki-faq__item.has-media.is-open {
  padding-top: var(--ki-faq-open-gap);
}

.ki-faq .ki-faq__btn::before {
  display: none;
}

.ki-faq .ki-faq__btn:focus-visible {
  outline: 2px solid #ff5c00;
  outline-offset: 2px;
}

.ki-faq .ki-faq__btn::after {
  content: '';
  flex: none;
  width: 10px;
  height: 6px;
  margin-right: 4px;
  background-color: #6b6b6b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: opacity var(--ki-faq-speed) ease;
}

.ki-faq__item.is-open .ki-faq__btn::after {
  opacity: 0;
}

/* rozwijanie 0fr → 1fr */
.ki-faq__panel {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows var(--ki-faq-speed) ease,
    visibility 0s var(--ki-faq-speed);
}

.ki-faq__item.is-open .ki-faq__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows var(--ki-faq-speed) ease,
    visibility 0s;
}

.ki-faq__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.ki-faq__a {
  padding: 4px 0 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  color: var(--ki-faq-text);
}

.ki-faq__a > :last-child {
  margin-bottom: 0;
}

/* blaknięcie końca listy (od 5 pytań) */
.ki-faq__item:nth-child(n + 4):nth-last-child(4) .ki-faq__btn {
  opacity: 0.85;
}

.ki-faq__item:nth-child(n + 4):nth-last-child(3) .ki-faq__btn {
  opacity: 0.7;
}

.ki-faq__item:nth-child(n + 4):nth-last-child(2) .ki-faq__btn {
  opacity: 0.55;
}

.ki-faq__item:nth-child(n + 4):nth-last-child(1) .ki-faq__btn {
  opacity: 0.4;
}

.ki-faq .ki-faq__item.is-open .ki-faq__btn,
.ki-faq .ki-faq__item .ki-faq__btn:hover,
.ki-faq .ki-faq__item .ki-faq__btn:focus-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ki-faq {
    --ki-faq-speed: 0s;
  }
}

@media (max-width: 767px) {
  .ki-faq {
    --ki-faq-media: 120px;
  }

  .ki-faq .ki-faq__q {
    font-size: 20px;
  }

  .ki-faq__item.is-open .ki-faq__media {
    margin-right: 16px;
  }
}

@media (max-width: 479px) {
  .ki-faq__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .ki-faq__media {
    grid-row: auto;
  }

  .ki-faq .ki-faq__q,
  .ki-faq__panel {
    grid-column: 1;
  }

  .ki-faq__item.is-open .ki-faq__media {
    width: 100%;
    margin: 16px 0 0;
  }

  .ki-faq .ki-faq__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* kafle rozwijane .ki-more */

.ki-more {
  --ki-more-height: 400px;
  --ki-more-fade: 140px;
  --ki-more-pad: 20px;
  position: relative;
}

.mcb-wrap.ki-more {
  align-self: start;
}

.ki-more > .mcb-wrap-inner {
  min-height: var(--ki-more-height);
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* ucięcie przed startem JS */
.ki-more:not(.is-open) > .mcb-wrap-inner {
  max-height: var(--ki-more-height);
}

/* maska: zanikanie + ramka */
.ki-more.is-collapsible:not(.is-open) > .mcb-wrap-inner {
  -webkit-mask-image:
    linear-gradient(
      #000 calc(100% - var(--ki-more-fade)),
      transparent calc(100% - 24px)
    ),
    linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image:
    linear-gradient(
      #000 calc(100% - var(--ki-more-fade)),
      transparent calc(100% - 24px)
    ),
    linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: padding-box, padding-box, border-box;
  mask-clip: padding-box, padding-box, border-box;
  -webkit-mask-composite: source-over, xor;
  mask-composite: add, exclude;
}

/* 3 klasy – Betheme stylizuje każdy button */
.mcb-wrap.ki-more .ki-more__toggle {
  all: unset;
  position: absolute;
  right: var(--ki-more-pad);
  bottom: 12px;
  display: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.mcb-wrap.ki-more.is-collapsible .ki-more__toggle {
  display: block;
}

.mcb-wrap.ki-more .ki-more__toggle:focus-visible {
  outline: 2px solid #ff5c00;
  outline-offset: 2px;
}

.ki-more__toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 7px;
  background-color: #2d2b2b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.3s ease;
}

.ki-more.is-open .ki-more__toggle::after {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .ki-more > .mcb-wrap-inner,
  .ki-more__toggle::after {
    transition: none;
  }
}

/* oś etapów ol.ki-stages */

.section:has(.ki-stages) {
  overflow: hidden;
}

.mcb-column-inner:has(.ki-stages) {
  min-width: 0;
  margin-bottom: 0;
}

.column_attr:has(.ki-stages) > p:empty {
  display: none;
}

.column_attr .ki-stages {
  --ki-stages-color: #ff5c00;
  --ki-stages-marker: 16px;
  --ki-stages-line: 2px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 200px));
  grid-template-rows: auto var(--ki-stages-marker) auto;
  margin: 0;
  padding: 0 0 0 var(--ki-stages-indent, 64px);
  list-style: none;
}

.column_attr .ki-stages > li {
  position: relative;
  display: grid;
  grid-row: 1 / span 3;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-stages > li::before {
  content: '';
  z-index: 1;
  grid-area: 2 / 1;
  width: var(--ki-stages-marker);
  height: var(--ki-stages-marker);
  background: var(--ki-stages-color);
}

.ki-stages > li::after {
  content: '';
  grid-area: 2 / 1;
  align-self: center;
  width: calc(100% - var(--ki-stages-marker) / 2);
  height: var(--ki-stages-line);
  margin-left: calc(var(--ki-stages-marker) / 2);
  background: var(--ki-stages-color);
}

.ki-stages > li:last-child::after {
  width: 100vw;
}

.column_attr .ki-stages__title {
  grid-row: 1;
  align-self: end;
  margin: 0 0 21px;
  padding: 0 24px 0 var(--ki-stages-marker);
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
}

.column_attr .ki-stages__desc {
  grid-row: 3;
  margin: 26px 0 0;
  padding: 0 32px 0 var(--ki-stages-marker);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  color: #ffffffcc;
}

@media (max-width: 1239px) {
  .column_attr .ki-stages {
    --ki-stages-indent: 0px;
  }
}

/* oś pionowa */
@media (max-width: 1023px) {
  .column_attr .ki-stages {
    display: block;
    padding: 0;
  }

  .column_attr .ki-stages > li {
    display: block;
    padding: 0 0 32px calc(var(--ki-stages-marker) + 24px);
  }

  .ki-stages > li::before {
    position: absolute;
    top: 1px;
    left: 0;
  }

  .ki-stages > li::after {
    position: absolute;
    top: 9px;
    bottom: -9px;
    left: calc((var(--ki-stages-marker) - var(--ki-stages-line)) / 2);
    width: var(--ki-stages-line);
    height: auto;
    margin: 0;
    align-self: auto;
  }

  .ki-stages > li:last-child::after {
    bottom: -100vh;
    width: var(--ki-stages-line);
  }

  .column_attr .ki-stages__title {
    margin: 0;
    padding: 0;
  }

  .column_attr .ki-stages__desc {
    margin: 8px 0 0;
    padding: 0;
  }
}

/* .ki-custom-grid-auto – podwójna klasa, Customizer ładuje się później */

@media (min-width: 961px) {
  .ki-custom-grid.ki-custom-grid-auto > .mcb-wrap-inner {
    grid-template-columns:
      minmax(min-content, 250px) minmax(min-content, 250px)
      minmax(min-content, 1fr);
    column-gap: 70px;
  }

  .ki-custom-grid.ki-custom-grid-auto .mcb-column.ki-lead + .mcb-column {
    white-space: nowrap;
  }
}

@media (min-width: 961px) and (max-width: 1239px) {
  .ki-custom-grid.ki-custom-grid-auto > .mcb-wrap-inner {
    column-gap: 32px;
  }

  .ki-custom-grid.ki-custom-grid-auto
    .mcb-column.ki-lead
    + .mcb-column
    .column_attr {
    font-size: 72px;
  }
}

/* kafle produktów [ki_products] */

/* container-type – kolumna flex potrzebuje width */
.mcb-column-inner:has(.ki-products) {
  width: 100%;
  min-width: 0;
}

.column_attr:has(.ki-products) > p:empty {
  display: none;
}

.ki-products {
  --ki-prod-gap: 28px;
  --ki-prod-narrow: 32cqw;
  --ki-prod-wide: calc(100cqw - var(--ki-prod-narrow) - var(--ki-prod-gap));
  --ki-prod-height: 451px;
  --ki-prod-pad: 40px;
  --ki-prod-bg: #363434;
  --ki-prod-speed: 0.5s;
  width: 100%;
  container-type: inline-size;
  display: flex;
  gap: var(--ki-prod-gap);
}

.ki-product {
  --open: 0;
  position: relative;
  flex: 0 1
    calc(
      var(--ki-prod-narrow) + var(--open) *
        (var(--ki-prod-wide) - var(--ki-prod-narrow))
    );
  height: var(--ki-prod-height);
  overflow: hidden;
  background: var(--ki-prod-bg);
  transition: flex-basis var(--ki-prod-speed) ease;
}

@media (min-width: 1024px) and (hover: hover) {
  .ki-product:hover,
  .ki-product:focus-within,
  .ki-products:not(:has(.ki-product:hover, .ki-product:focus-within))
    > .ki-product:first-child {
    --open: 1;
  }
}

.ki-product .ki-product__img {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--ki-prod-wide);
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transform: translateX(
    calc((1 - var(--open)) * (var(--ki-prod-wide) - var(--ki-prod-narrow)) / 2)
  );
  transition: transform var(--ki-prod-speed) ease;
}

.ki-product::before,
.ki-product::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ki-product::before {
  background: linear-gradient(
    179.88deg,
    var(--ki-prod-bg) 0.11%,
    rgba(54, 52, 52, 0) 45.24%
  );
}

.ki-product::after {
  background: linear-gradient(
    90deg,
    var(--ki-prod-bg) 42%,
    rgba(54, 52, 52, 0) 72%
  );
  opacity: var(--open);
  transition: opacity var(--ki-prod-speed) ease;
}

.ki-product__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: var(--ki-prod-pad);
  box-sizing: border-box;
}

.ki-product .ki-product__title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: #fff;
}

.ki-product .ki-product__sub {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: #ff5c00;
}

.ki-product__more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: min(385px, calc(var(--ki-prod-wide) - 2 * var(--ki-prod-pad)));
  margin-top: 36px;
  opacity: var(--open);
  transition: opacity 0.25s ease calc(var(--open) * 0.25s);
}

.ki-product .ki-product__desc {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 18px;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ki-products {
    --ki-prod-speed: 0s;
  }
}

@media not all and (min-width: 1024px) and (hover: hover) {
  .ki-products {
    flex-direction: column;
    --ki-prod-gap: 24px;
  }

  .ki-product {
    --open: 1;
    flex: none;
    height: auto;
    min-height: var(--ki-prod-height);
  }

  .ki-product .ki-product__img {
    width: 100%;
    transform: none;
  }

  .ki-product__more {
    width: auto;
    max-width: 385px;
  }
}

@media (max-width: 599px) {
  .ki-products {
    --ki-prod-pad: 24px;
  }

  .ki-product::after {
    background: linear-gradient(
      90deg,
      rgba(54, 52, 52, 0.92),
      rgba(54, 52, 52, 0.75)
    );
  }
}

/* lista wpisów [ki_posts] */

.mcb-column-inner:has(.ki-posts) {
  min-width: 0;
}

.column_attr:has(.ki-posts) > p:empty {
  display: none;
}

.ki-posts {
  --ki-posts-accent: #ff5c00;
  --ki-posts-text: #050202;
  --ki-posts-muted: #747170;
  --ki-posts-line: #d0d0d0;
  --ki-posts-shadow: 4px 4px 10px 0 #2e2c2c40;
  --ki-posts-gap: 40px;
  --ki-posts-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 21' fill='none'%3E%3Cpath d='M7.18 7a5.82 5.82 0 0 0-3.79 1.19A7.24 7.24 0 0 0 .97 11.6a8.5 8.5 0 0 0-.44 2.13L.47 16l-.19 4.5L.09 16 0 13.72a9.7 9.7 0 0 1 .25-2.33 8.1 8.1 0 0 1 2.42-4.06 7.1 7.1 0 0 1 4.51-1.86z' fill='%23000'/%3E%3Cpath d='M20.28 6.22H7.18M15.11.5l5.17 5.72-5.17 5.71' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  scroll-margin-top: 120px;
  font-family: 'Montserrat', sans-serif;
}

/* wyszukiwarka */
.ki-posts__search {
  position: relative;
  margin: 0;
}

.ki-posts__search::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 32px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background-color: var(--ki-posts-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='7.5' cy='7.5' r='6.5'/%3E%3Cpath d='M12.2 12.2L17 17'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='7.5' cy='7.5' r='6.5'/%3E%3Cpath d='M12.2 12.2L17 17'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

.ki-posts .ki-posts__input {
  box-sizing: border-box;
  width: 100%;
  height: 73px;
  margin: 0;
  padding: 0 24px 0 72px;
  border: 1px solid var(--ki-posts-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ki-posts-text);
}

.ki-posts .ki-posts__input::placeholder {
  color: var(--ki-posts-muted);
  opacity: 1;
}

.ki-posts .ki-posts__input:focus {
  border-color: var(--ki-posts-accent);
  outline: none;
}

/* kategorie */
.column_attr ul.ki-posts__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 72px 0;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-posts__cats > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-posts__cats > li::before {
  display: none;
}

.ki-posts .ki-posts__cat,
.ki-posts__tag {
  display: block;
  padding: 6px 16px;
  border: 1px solid var(--ki-posts-muted);
  box-shadow: var(--ki-posts-shadow);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--ki-posts-muted);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.ki-posts .ki-posts__cat:hover,
.ki-posts .ki-posts__cat.is-active {
  border-color: var(--ki-posts-accent);
  color: var(--ki-posts-accent);
}

/* kafle */
.ki-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px var(--ki-posts-gap);
}

.ki-posts__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ki-posts-line);
  background: #fff;
}

.ki-posts__thumb {
  display: block;
  aspect-ratio: 1.8 / 1;
  overflow: hidden;
  background: #e9e9e9;
}

.ki-posts .ki-posts__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ki-posts__card:hover .ki-posts__img {
  transform: scale(1.04);
}

.ki-posts__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 40px 56px;
}

.ki-posts__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ki-posts__date {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  color: var(--ki-posts-accent);
  white-space: nowrap;
}

.ki-posts .ki-posts__title {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ki-posts-text);
}

.ki-posts .ki-posts__title a {
  color: inherit;
  text-decoration: none;
}

.ki-posts .ki-posts__title a:hover {
  color: var(--ki-posts-accent);
}

.ki-posts .ki-posts__excerpt {
  display: -webkit-box;
  margin: 0 0 40px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ki-posts-text);
}

.ki-posts .ki-posts__btn {
  --mfn-button-theme-color: var(--ki-posts-accent);
  --mfn-button-theme-color-hover: var(--ki-posts-accent);
  display: flex;
  width: 100%;
  margin-top: auto;
  box-shadow: inset 0 -2px 0 var(--ki-posts-accent);
}

.ki-posts .ki-posts__btn .button_label::after {
  color: var(--ki-posts-accent);
}

.ki-posts__empty {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 16px;
  color: var(--ki-posts-text);
}

/* stronicowanie */
.ki-posts__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 72px;
}

.ki-posts__pages .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 37px;
  padding: 8px;
  border: 1px solid var(--ki-posts-line);
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  color: var(--ki-posts-text);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.ki-posts__pages a.page-numbers:hover,
.ki-posts__pages .page-numbers.current {
  border-color: var(--ki-posts-accent);
  color: var(--ki-posts-accent);
}

.ki-posts__pages .prev,
.ki-posts__pages .next {
  border: 0;
}

.ki-posts__pages .prev {
  margin-right: 24px;
}

.ki-posts__pages .next {
  margin-left: 24px;
}

.ki-posts__pages .prev::after,
.ki-posts__pages .next::after {
  content: '';
  width: 22px;
  height: 21px;
  background-color: var(--ki-posts-accent);
  -webkit-mask: var(--ki-posts-arrow) center / contain no-repeat;
  mask: var(--ki-posts-arrow) center / contain no-repeat;
}

.ki-posts__pages .prev::after {
  transform: scaleX(-1);
}

@media (max-width: 1023px) {
  .ki-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .ki-posts__body {
    padding: 24px 24px 40px;
  }

  .column_attr ul.ki-posts__cats {
    margin: 40px 0;
  }
}

@media (max-width: 767px) {
  .ki-posts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ki-posts .ki-posts__input {
    height: 56px;
    padding-left: 56px;
  }

  .ki-posts__search::before {
    left: 22px;
  }

  .column_attr ul.ki-posts__cats {
    gap: 10px;
  }

  .ki-posts .ki-posts__title {
    font-size: 21px;
  }
}

/* lead hero .ki-lead-org */

.section:has(.ki-lead-org) {
  overflow: hidden;
}

.ki-lead-org .column_attr > p {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
}

.ki-lead-org .column_attr > p::after {
  content: '';
  flex: 1 0 auto;
  height: 6px;
  margin-right: calc(50% - 50vw);
  background:
    linear-gradient(#ff5d00, #ff5d00) left center / 6px 6px no-repeat,
    linear-gradient(#ff5d00, #ff5d00) 31px center / 100% 2px no-repeat;
}

/* pojedynczy wpis i case study */

.mcb-column-inner:has(
  > .column_attr > :is(.ki-post-head, .ki-author, .ki-sidebar)
) {
  min-width: 0;
}

.column_attr:has(> :is(.ki-post-head, .ki-author, .ki-sidebar)) > p:empty {
  display: none;
}

.section_wrapper:has(> .mcb-wrap .ki-sidebar) {
  justify-content: space-between;
}

.column_post_content h2[id] {
  scroll-margin-top: 140px;
}

/* [ki_post_head] */
.ki-post-head {
  --ki-post-accent: #ff5c00;
  --ki-post-muted: #747170;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
}

.ki-post-head__thumb {
  aspect-ratio: 683 / 356;
  overflow: hidden;
}

.ki-post-head .ki-post-head__img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ki-post-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 60px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ki-post-muted);
}

.ki-post-head__tag {
  padding: 6px 16px;
  border: 1px solid var(--ki-post-accent);
  color: var(--ki-post-accent);
}

.ki-post-head__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ki-post-head__time svg {
  flex: none;
}

/* treść wpisu */
.column_post_content .column_attr :is(p, li) {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #050202;
}

/* listy w treści */
.column_attr ul.ki-list {
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-list > li {
  position: relative;
  padding-left: 30px;
  list-style: none;
}

.column_attr ul.ki-list > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: url(/wp-content/uploads/2026/09/tick-icon.svg) no-repeat center /
    contain;
}

.column_attr ul.ki-list--b > li::before {
  background-image: url(/wp-content/uploads/2026/09/tick-icon-1.svg);
}

/* sidebar */
.ki-sidebar {
  --ki-post-accent: #ff5c00;
  --ki-post-text: #050202;
  --ki-post-muted: #747170;
  display: flex;
  flex-direction: column;
  gap: 60px;
  font-family: 'Montserrat', sans-serif;
}

.ki-sidebar__title {
  margin: 0 0 30px;
  font-family: 'Montserrat', sans-serif;
  padding-bottom: 8px;
  border-bottom: 1px solid #d0d0d0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #d0d0d0;
}

/* kategorie */
.column_attr ul.ki-cats__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-cats__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-cats__list > li::before {
  display: none;
}

.ki-cats__link {
  display: block;
  padding: 6px 16px;
  border: 1px solid var(--ki-post-muted);
  box-shadow: 4px 4px 10px 0 #2e2c2c26;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ki-post-muted);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.ki-cats__link:is(:hover, :focus-visible, .is-active) {
  border-color: var(--ki-post-accent);
  color: var(--ki-post-accent);
  text-decoration: none;
}

/* spis treści */
.ki-toc .ki-toc__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-toc .ki-toc__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-toc .ki-toc__item::before {
  display: none;
}

.ki-toc .ki-toc__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ki-post-text, #050202);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.ki-toc__num {
  flex: none;
  min-width: 18px;
}

.ki-toc__text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ki-toc .ki-toc__link:is(:hover, :focus-visible, .is-active) {
  color: var(--ki-post-text, #050202);
  opacity: 1;
}

/* spis zwijany – wąskie ekrany */
.ki-toc--inline {
  display: none;
  margin: 0 0 40px;
  padding: 16px 20px;
  border: 1px solid #d9d9d9;
  font-family: 'Montserrat', sans-serif;
}

.ki-toc__summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #d0d0d0;
}

.ki-toc--inline[open] .ki-toc__summary {
  margin-bottom: 20px;
}

/* [ki_post_author] */
.ki-author {
  --ki-post-accent: #ff5c00;
  margin-top: 60px;
  padding: 32px;
  border: 1px solid #d0d0d0;
  font-family: 'Montserrat', sans-serif;
}

.ki-author__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}

.ki-author__label {
  margin-bottom: 20px;
}

.ki-author .ki-author__label p {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: #d0d0d0;
}

.ki-author .ki-author__heading {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #2d2b2b;
}

.ki-author__accent {
  display: block;
  font-weight: 600;
  color: var(--ki-post-accent);
}

.ki-author__logo {
  flex: none;
}

.ki-author .ki-author__logo img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 90px;
}

.ki-author .ki-author__photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 628 / 261;
  object-fit: cover;
}

.ki-author__bio {
  margin-top: 30px;
}

.ki-author__bio p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #050202;
}

.ki-author__bio p:last-child {
  margin-bottom: 0;
}

.ki-author__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.ki-author .ki-author__btn {
  --mfn-button-theme-color: var(--ki-post-accent);
  --mfn-button-theme-color-hover: var(--ki-post-accent);
  box-shadow: inset 0 -2px 0 var(--ki-post-accent);
}

.ki-author .ki-author__btn .button_label::after {
  color: var(--ki-post-accent);
}

@media only screen and (min-width: 960px) {
  .mcb-section .section_wrapper > .mcb-wrap:has(.ki-sidebar) {
    width: calc(100% / 3 - 40px);
  }

  .mcb-wrap:has(.ki-sidebar) {
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
}

@media only screen and (max-width: 959px) {
  .ki-toc--side {
    display: none;
  }

  .ki-toc--inline {
    display: block;
  }

  .ki-post-head__meta {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .ki-author {
    padding: 24px 20px;
  }

  .ki-author__head {
    flex-direction: column-reverse;
  }
}

/* zdjęcie z warstw [ki_layers] – .ki-layers-section, --team, --photo */

.ki-layers-section {
  --ki-layers-max: 1374px;
  --ki-layers-vw: 71.5625vw;
  --ki-layers-ar: 1.7775;
  --ki-layers-bg-ar: 2.1204;
  --ki-layers-show: 0.75;
  --ki-layers-show-sm: 0.55;
}

.ki-layers-section.ki-layers--team {
  --ki-layers-max: 1193px;
  --ki-layers-vw: 62.1354vw;
  --ki-layers-ar: 1.8467;
  --ki-layers-bg-ar: 1.8467;
}

.ki-layers-section.ki-layers--photo {
  --ki-layers-ar: 2.1333;
  --ki-layers-bg-ar: 2.1333;
  --ki-layers-show: 1;
  --ki-layers-show-sm: 1;
}

.ki-layers {
  pointer-events: none;
}

.ki-layers__frame {
  position: relative;
  aspect-ratio: var(--ki-layers-ar);
}

.ki-layers .ki-layers__bg,
.ki-layers .ki-layers__fg {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
}

.ki-layers .ki-layers__fg {
  top: 0;
  height: 100%;
}

.ki-layers .ki-layers__bg {
  bottom: 0;
  height: auto;
  aspect-ratio: var(--ki-layers-bg-ar);
  object-fit: cover;
}

.mcb-column-inner:has(> .column_attr > .ki-layers) {
  min-width: 0;
  width: 100%;
}

.mcb-wrap:has(.ki-layers) .mcb-column-inner {
  margin-bottom: 0;
}

.column_attr:has(> .ki-layers) > p:empty {
  display: none;
}

.mcb-section.ki-layers-section {
  position: relative;
  z-index: 2;
}

@media only screen and (min-width: 1240px) {
  .section.mcb-section.ki-layers-section {
    --ki-layers-w: min(var(--ki-layers-max), var(--ki-layers-vw));
    --ki-layers-pad: 60px;
    padding-top: var(--ki-layers-pad);
    padding-bottom: var(--ki-layers-pad);
  }

  .ki-layers-section > .section_wrapper {
    min-height: calc(
      var(--ki-layers-w) / var(--ki-layers-bg-ar) - 2 * var(--ki-layers-pad)
    );
    align-content: center;
  }

  /* pozycja względem sekcji */
  .ki-layers-section
    :is(
      .section_wrapper,
      .mcb-wrap,
      .mcb-wrap-inner,
      .mcb-column,
      .mcb-column-inner
    ):has(.ki-layers) {
    position: static;
  }

  /* bez z-index wrapu – nie zasłania tekstu */
  .ki-layers-section .mcb-wrap:has(.ki-layers) {
    z-index: auto;
  }

  .ki-layers-section .mcb-wrap:not(:has(.ki-layers)) {
    position: relative;
    z-index: 1;
  }

  .ki-layers-section .ki-layers {
    position: absolute;
    right: 0;
    bottom: 0;
    width: var(--ki-layers-w);
  }

  /* --team */
  .ki-layers-section.ki-layers--team .ki-layers {
    top: 0;
  }

  .ki-layers-section.ki-layers--team .ki-layers__frame {
    height: 100%;
    aspect-ratio: auto;
  }

  .ki-layers-section.ki-layers--team .ki-layers .ki-layers__bg {
    top: 0;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  /* --photo */
  .section.mcb-section.ki-layers-section.ki-layers--photo {
    --ki-layers-w: calc(50vw - 60px);
  }

  .ki-layers-section.ki-layers--photo > .section_wrapper {
    min-height: 0;
  }

  .ki-layers-section.ki-layers--photo .ki-layers {
    top: 0;
  }

  .ki-layers-section.ki-layers--photo .ki-layers__frame {
    height: 100%;
    aspect-ratio: auto;
  }

  .ki-layers-section.ki-layers--photo .ki-layers .ki-layers__bg {
    top: 0;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
    mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  }
}

@media only screen and (max-width: 1239px) {
  .section.mcb-section.ki-layers-section {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .ki-layers {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-top: 40px;
    margin-left: calc(50% - 50vw);
    aspect-ratio: calc(var(--ki-layers-ar) * var(--ki-layers-show));
  }

  .ki-layers__frame {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100% / var(--ki-layers-show));
  }
}

@media only screen and (max-width: 767px) {
  .section.mcb-section.ki-layers-section {
    padding-top: 60px;
  }

  .ki-layers {
    --ki-layers-show: var(--ki-layers-show-sm);
  }
}

/* aktywna pozycja menu – mocniej niż Betheme */

.mcb-section
  .mcb-wrap
  .mcb-column
  .mfn-header-mainmenu
  > li.mfn-menu-li:is(.current-menu-item, .current-menu-ancestor)
  > a.mfn-menu-link {
  color: #ff5c00;
}

/* zastępstwo osadzeń Cookiebot .ki-consent */

.ki-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  aspect-ratio: 16 / 9;
  padding: 30px;
  box-sizing: border-box;
  background: #2d2b2b;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.ki-consent > * {
  flex-shrink: 0;
}

.ki-consent--cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  aspect-ratio: auto;
}

.ki-consent[hidden] {
  display: none;
}

.ki-consent .ki-consent__text {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}

.ki-consent .ki-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
}

.ki-consent .ki-consent__actions .button {
  margin: 0;
}

.ki-consent a.ki-consent__link {
  color: #fff;
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {
  .ki-consent {
    gap: 14px;
    padding: 16px;
    font-size: 14px;
  }

  .ki-consent .ki-consent__text {
    font-size: 15px;
    line-height: 1.4;
  }

  .ki-consent .ki-consent__actions {
    gap: 8px 20px;
  }
}

/* linki w treści wpisów – !important na kolory inline */

.column_post_content a[style*='color'],
.column_post_content a [style*='color'] {
  color: #ff5c00 !important;
}

/* lista ul.ki-checks */

:is(ul.ki-checks, .ki-hw__more ul) {
  --ki-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff5c00'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cpath d='M7.47 10.5l1.81 1.82 4.2-4.21'/%3E%3C/svg%3E");
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(ul.ki-checks, .ki-hw__more ul) > li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(5, 2, 2, 0.6);
}

:is(ul.ki-checks, .ki-hw__more ul) > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--ki-check) center / contain no-repeat;
}

:is(ul.ki-checks, .ki-hw__more ul) > li > strong:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #050202;
}

:is(ul.ki-checks, .ki-hw__more ul) > li > strong:first-child + br {
  display: none;
}

.column_attr:has(> ul.ki-checks) > p:empty {
  display: none;
}

/* --dark: punkty bez tytułu */
ul.ki-checks.ki-checks--dark > li {
  color: #050202;
}

/* kafle sprzętu [ki_hardware] */

.mcb-column-inner:has(.ki-hw) {
  min-width: 0;
  width: 100%;
}

.column_attr:has(> .ki-hw) > p:empty {
  display: none;
}

.ki-hw {
  --ki-hw-accent: #ff5c00;
  --ki-hw-dark: #2d2b2b;
  --ki-hw-muted: rgba(5, 2, 2, 0.6);
  --ki-hw-line: #d0d0d0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ki-hw__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    'media title'
    'media lead'
    'media .'
    'media btn';
  column-gap: 32px;
  padding: 40px;
  background-color: #fff;
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
}

.ki-hw__media {
  grid-area: media;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 265px;
  padding: 28px 24px;
  border: 1px solid var(--ki-hw-line);
}

/* <picture> z WebP Express */
.ki-hw__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ki-hw .ki-hw__img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.ki-hw .ki-hw__title {
  grid-area: title;
  margin: 0 0 32px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ki-hw-dark);
}

.ki-hw .ki-hw__lead {
  grid-area: lead;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ki-hw-muted);
}

/* 3 klasy – Betheme stylizuje każdy button */
.ki-hw .ki-hw__card .ki-hw__toggle {
  all: unset;
  grid-area: btn;
  align-self: end;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 12px 8px;
  border-bottom: 2px solid var(--ki-hw-accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  color: var(--ki-hw-accent);
  cursor: pointer;
}

.ki-hw .ki-hw__card .ki-hw__toggle:focus-visible {
  outline: 2px solid var(--ki-hw-accent);
  outline-offset: 4px;
}

.ki-hw .ki-hw__toggle .button_label::after {
  color: inherit;
  transform: rotate(90deg);
}

/* rozwinięty kafel */
.ki-hw__card.is-open {
  grid-template-columns: 95px minmax(0, 1fr);
  grid-template-rows: none;
  grid-template-areas:
    'media title'
    'lead lead'
    'more more'
    'btn btn';
  column-gap: 28px;
}

.ki-hw__card.is-open .ki-hw__media {
  height: 95px;
  padding: 8px;
}

.ki-hw .ki-hw__card.is-open .ki-hw__title {
  align-self: end;
  margin: 0;
}

.ki-hw__card.is-open .ki-hw__lead {
  margin-top: 32px;
}

.ki-hw__more {
  grid-area: more;
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #050202;
}

.ki-hw__more[hidden] {
  display: none;
}

.ki-hw__card {
  position: relative;
  align-content: start;
}

.ki-hw__card.is-animating {
  overflow: hidden;
}

.ki-hw__more.is-leaving {
  position: absolute;
  grid-area: auto;
  margin: 0;
  pointer-events: none;
}

.ki-hw__more p {
  margin: 0 0 16px;
}

.ki-hw__more p:has(+ ul) {
  color: #a8a7a7;
}

.ki-hw__more strong {
  font-weight: 500;
  color: #050202;
}

.ki-hw__more a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ki-hw__more ul {
  --ki-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5' fill='%23ff5c00' stroke='%23ff5c00'/%3E%3Cpath d='M7.47 10.5l1.81 1.82 4.2-4.21' stroke='%23fff'/%3E%3C/svg%3E");
  margin: 0 0 32px;
}

.ki-hw__more > :last-child {
  margin-bottom: 0;
}

.ki-hw .ki-hw__card.is-open .ki-hw__toggle {
  justify-self: end;
  margin-top: 24px;
  padding: 4px;
  border: 0;
  font-size: 0;
  color: #a8a7a7;
}

.ki-hw .ki-hw__card.is-open .ki-hw__toggle .button_label::after {
  margin-left: 0;
  transform: rotate(-90deg);
}

@media only screen and (max-width: 1239px) {
  .ki-hw {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .ki-hw__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      'media'
      'title'
      'lead'
      'btn';
    padding: 24px;
  }

  .ki-hw__media {
    height: 220px;
  }

  .ki-hw .ki-hw__title {
    margin: 24px 0 16px;
    font-size: 24px;
  }

  .ki-hw__card.is-open {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 16px;
  }

  .ki-hw__card.is-open .ki-hw__media {
    height: 72px;
    padding: 6px;
  }
}

/* wyróżniony wpis [ki_feature] */

.mcb-column-inner:has(.ki-feature) {
  min-width: 0;
  width: 100%;
}

.column_attr:has(> .ki-feature) > p:empty {
  display: none;
}

.ki-feature {
  --ki-cs-accent: #ff5c00;
  display: flex;
  flex-direction: column;
  padding: 54px 40px 40px;
  background-color: #f1f1f1;
  box-shadow: 4px 4px 10px 0 #2e2c2c40;
}

.ki-feature__media {
  display: block;
  align-self: flex-start;
  max-width: 100%;
}

.ki-feature .ki-feature__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: left center;
}

.ki-feature .ki-feature__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}

.ki-feature .ki-feature__date {
  margin-top: 28px;
  padding: 9px 0;
  color: #050202;
}

.ki-feature__body {
  margin-top: 28px;
}

.ki-feature .ki-feature__text {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(46, 44, 44, 0.6);
}

.ki-feature .ki-feature__text:first-child {
  color: #2e2c2c;
}

.ki-feature .ki-feature__text:last-child {
  margin-bottom: 0;
}

.ki-feature .ki-feature__btn {
  align-self: flex-end;
  width: 324px;
  max-width: 100%;
  margin-top: 16px;
}

@media only screen and (max-width: 767px) {
  .ki-feature {
    padding: 32px 24px 24px;
  }

  .ki-feature .ki-blog__title {
    font-size: 20px;
  }

  .ki-feature .ki-feature__btn {
    width: 100%;
  }
}

/* oferty pracy [ki_jobs] */

.ki-cs--jobs {
  --ki-job-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff5c00'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cpath d='M7.47 10.5l1.81 1.82 4.2-4.21'/%3E%3C/svg%3E");
  --ki-job-check-filled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5' fill='%23ff5c00' stroke='%23ff5c00'/%3E%3Cpath d='M7.47 10.5l1.81 1.82 4.2-4.21' stroke='%23fff'/%3E%3C/svg%3E");
}

.ki-cs--jobs .ki-job__branch {
  margin: 8px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ki-cs-accent);
}

.ki-cs--jobs .ki-job__extra {
  margin-top: 0;
}

.ki-cs--jobs .ki-job__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ki-cs--jobs .ki-job__tags > .ki-job__tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #d0d0d0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #d0d0d0;
}

.ki-job__tag svg {
  flex: none;
}

.ki-cs--jobs .ki-job__group {
  margin-top: 32px;
}

.ki-cs--jobs .is-featured .ki-job__group {
  margin-top: 28px;
}

.ki-cs--jobs .ki-job__label {
  margin: 0 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ki-cs-title);
  transition: color var(--ki-cs-speed) var(--ki-cs-ease);
}

.ki-cs--jobs .ki-job__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-cs--jobs .ki-job__list > li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ki-cs-title);
  transition: color var(--ki-cs-speed) var(--ki-cs-ease);
}

.ki-cs--jobs .ki-job__list > li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--ki-job-check) center / contain no-repeat;
}

.ki-cs--jobs .is-featured .ki-job__list > li::before {
  background-image: var(--ki-job-check-filled);
}

.ki-cs--jobs .ki-job__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  padding-top: 40px;
}

.ki-cs--jobs .ki-job__actions .button {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  justify-content: center;
  width: auto;
  min-width: max-content;
  margin: 0;
  padding: 12px 8px;
  font-size: 16px;
  white-space: nowrap;
}

.ki-cs--jobs .ki-job__actions .ki-job__more {
  font-weight: 600;
}

.ki-cs--jobs .ki-job__actions .ki-job__apply {
  display: flex;
  border-radius: 0; /* zerowanie a.pum-trigger */
  font-weight: 700;
  background-color: var(--ki-cs-accent);
  color: #fff;
}

.ki-cs--jobs .ki-job__actions .ki-job__apply:hover {
  background-color: #e25200;
  color: #fff;
}

.ki-cs--jobs .ki-job__actions .button .button_label::after {
  margin-left: 10px;
}

.ki-cs--jobs .ki-job__apply .button_label::after {
  color: inherit;
}

@media only screen and (max-width: 1599px) {
  .ki-cs--jobs .ki-job__actions {
    gap: 12px;
  }

  .ki-cs--jobs .ki-job__actions .button {
    font-size: 15px;
  }

  .ki-cs--jobs .ki-job__actions .button .button_label::after {
    margin-left: 8px;
  }
}

/* lista [ki_jobs layout="list"] */
.mcb-column-inner:has(.ki-jobs-list) {
  min-width: 0;
  width: 100%;
}

.column_attr:has(> .ki-jobs-list) > p:empty {
  display: none;
}

.column_attr ul.ki-jobs-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column_attr ul.ki-jobs-list > li {
  margin: 0;
  padding: 0;
}

/* zerowanie a.pum-trigger */
.ki-jobs-list .ki-jobs-list__link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.ki-jobs-list .ki-jobs-list__link:hover,
.ki-jobs-list .ki-jobs-list__link:focus-visible {
  border-color: #ff5c00;
}

.ki-jobs-list__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}

.ki-jobs-list__branch {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  color: #ff5c00;
}

.ki-jobs-list__arrow {
  flex: none;
  display: flex;
  margin-left: auto;
  color: #ff5c00;
  transition: transform 0.2s ease;
}

.ki-jobs-list__link:hover .ki-jobs-list__arrow {
  transform: translateX(4px);
}

@media only screen and (max-width: 767px) {
  .ki-jobs-list .ki-jobs-list__link {
    flex-wrap: wrap;
    gap: 4px 16px;
    position: relative;
    padding-right: 52px;
  }

  .ki-jobs-list__title {
    flex-basis: 100%;
    font-size: 17px;
  }

  .ki-jobs-list__arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }

  .ki-jobs-list__link:hover .ki-jobs-list__arrow {
    transform: translateY(-50%);
  }
}

/* etapy na jasnym tle .ki-stages--light */

.column_attr .ki-stages--light {
  --ki-stages-w: 260px;
  grid-template-columns: repeat(5, minmax(0, var(--ki-stages-w))) minmax(0, 1fr);
}

.column_attr .ki-stages--light:has(> li:nth-child(5):last-child) {
  grid-template-columns: repeat(4, minmax(0, var(--ki-stages-w))) minmax(0, 1fr);
}

.column_attr .ki-stages--light:has(> li:nth-child(4):last-child) {
  grid-template-columns: repeat(3, minmax(0, var(--ki-stages-w))) minmax(0, 1fr);
}

.column_attr .ki-stages--light:has(> li:nth-child(3):last-child) {
  grid-template-columns: repeat(2, minmax(0, var(--ki-stages-w))) minmax(0, 1fr);
}

@media (max-width: 1239px) {
  .column_attr .ki-stages--light {
    --ki-stages-w: 200px;
  }
}

.column_attr .ki-stages--light > li:last-child .ki-stages__desc {
  max-width: var(--ki-stages-w);
  box-sizing: border-box;
}

.column_attr .ki-stages--light .ki-stages__title {
  align-self: start;
  color: #050202;
}

@media (min-width: 1024px) {
  .column_attr .ki-stages--light .ki-stages__title {
    white-space: nowrap;
  }

  .column_attr .ki-stages--light .ki-stages__sub {
    white-space: normal;
  }
}

.column_attr .ki-stages--light .ki-stages__desc {
  color: rgba(5, 2, 2, 0.8);
}

.ki-stages .ki-stages__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  text-transform: none;
  color: #a8a7a7;
}

.ki-stages .ki-stages__note {
  color: #a8a7a7;
}

/* kafel-link .ki-ikonbox-link-wrapper */

.ki-ikonbox-link-wrapper > .mcb-wrap-inner {
  position: relative;
  transition: box-shadow 0.2s ease;
}

.ki-ikonbox-link-wrapper .mcb-column,
.ki-ikonbox-link-wrapper .mcb-column-inner {
  position: static;
}

.ki-ikonbox-link-wrapper .column_icon_box_2 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ki-ikonbox-link-wrapper > .mcb-wrap-inner:hover,
.ki-ikonbox-link-wrapper > .mcb-wrap-inner:has(a:focus-visible) {
  box-shadow: 4px 4px 10px 0 rgba(46, 44, 44, 0.25);
}

/* tabela porównawcza table.ki-compare – selektory (0,3,3) jak w be.css */

.mcb-section .mcb-column table.ki-compare {
  width: calc(100% + 24px);
  margin: -12px;
  border-collapse: separate;
  border-spacing: 12px;
  border-radius: 0;
  table-layout: fixed;
}

.mcb-section .mcb-column table.ki-compare tr > :is(th, td) {
  padding: 16px 20px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  color: #2d2b2b;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.mcb-section .mcb-column table.ki-compare thead tr > th {
  border-color: #ff5c00;
  background: #ff5c00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.mcb-section .mcb-column table.ki-compare thead tr > th:first-child {
  width: 26%;
  border-color: #747170;
  background: #747170;
}

.mcb-section .mcb-column table.ki-compare tbody tr > th {
  background: #f1f1f1;
  font-weight: 500;
}

.mcb-section .mcb-column table.ki-compare tbody tr > td {
  border-color: #ff5c00;
}

@media only screen and (max-width: 767px) {
  /* przewijanie w poziomie */
  .mcb-section .mcb-column :has(> table.ki-compare) {
    overflow-x: auto;
    margin: 0 -8px;
    -webkit-overflow-scrolling: touch;
  }

  .mcb-section .mcb-column table.ki-compare {
    width: 100%;
    min-width: 640px;
    margin: 0;
    border-spacing: 8px;
  }

  .mcb-section .mcb-column table.ki-compare tr > :is(th, td) {
    padding: 12px 14px;
    font-size: 14px;
  }

  .mcb-section .mcb-column table.ki-compare thead tr > th {
    font-size: 15px;
  }
}

/* nagłówek – pasek menu .ki-header */

@media (min-width: 960px) {
  .ki-header {
    --ki-g1: clamp(24px, calc(2.34vw - 6px), 39px);
    --ki-g0: clamp(24px, calc(1.625vw + 3.2px), 34.4px);
    --ki-gm: clamp(14px, calc(1vw + 15.2px), 34.4px);
    padding: 15px clamp(24px, 3vw, 64px) !important;
  }

  .ki-header.full-width > .section_wrapper.mcb-section-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    max-width: 1590px !important;
    margin: 0 auto !important;
  }

  .ki-header .mcb-wrap {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .ki-header .mcb-wrap:first-child {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .ki-header .mcb-wrap:last-child {
    margin-left: auto;
  }

  .ki-header .mcb-wrap-inner {
    flex-wrap: nowrap !important;
    align-items: center;
  }

  .ki-header .column {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .ki-header .mcb-column-inner {
    margin: 0 !important;
    padding: 0 !important;
  }

  .ki-header .logo-wrapper {
    padding: 0 !important;
  }

  .ki-header .column_header_menu {
    flex: 1 1 auto !important;
    min-width: 0;
    margin: 0 var(--ki-g0) 0 var(--ki-g1) !important;
  }

  .ki-header .column_header_menu .mfn-header-menu {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    column-gap: var(--ki-gm);
    width: 100%;
  }

  .ki-header .column_header_menu .mfn-header-menu > li > a {
    padding: 8px 0 !important;
  }

  .ki-header .column_header_menu .mfn-header-menu > li > a .menu-label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #050202 !important;
    white-space: nowrap;
  }

  .ki-header
    .column_header_menu
    .mfn-header-menu
    > li:is(:hover, .current-menu-item, .current-menu-ancestor)
    > a
    .menu-label {
    color: #ff5c00 !important;
  }

  .ki-header .column_header_menu .mfn-header-menu > li > a .mfn-menu-subicon {
    margin-left: 8px !important;
  }

  .ki-header .column_header_menu .mfn-header-menu > li > a .mfn-menu-subicon i {
    font-size: 10px !important;
  }

  .ki-header .column_button a {
    padding: 12px 24px !important;
    white-space: nowrap;
  }

  .ki-header .column_button + .column_image .mcb-column-inner {
    margin-left: 45px !important;
  }

  .ki-header .column_image + .column_image .mcb-column-inner {
    margin-left: 8px !important;
  }
}

@media (min-width: 1240px) and (max-width: 1699px) {
  .ki-header .column_image {
    display: none !important;
  }
}

@media (min-width: 1440px) and (max-width: 1699px) {
  .ki-header {
    --ki-gm: clamp(14px, calc(6.5vw - 74.8px), 34.4px);
  }
}

@media (min-width: 1240px) and (max-width: 1439px) {
  .ki-header {
    --ki-g1: 16px;
    --ki-g0: 16px;
    --ki-gm: clamp(10px, calc(3vw - 27.2px), 16px);
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .ki-header .column_header_menu .mfn-header-menu > li > a .mfn-menu-subicon {
    margin-left: 6px !important;
  }

  .ki-header .column_button a {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }
}

@media (min-width: 1240px) and (max-width: 1365px) {
  .ki-header .column_header_menu .mfn-header-menu > li > a .menu-label {
    font-size: 14px !important;
  }
}

@media (min-width: 960px) and (max-width: 1239px) {
  .ki-header .column_header_menu {
    display: none !important;
  }

  .ki-header .mcb-wrap:first-child {
    flex: 0 0 auto !important;
  }

  .ki-header .column_header_burger {
    display: block !important;
    margin-left: 24px;
  }
}

@media (max-width: 959px) {
  .ki-header .mcb-wrap:first-child {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .ki-header .mcb-wrap:last-child {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
  }

  .ki-header .mcb-wrap:last-child .mcb-wrap-inner {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    align-items: center;
  }

  .ki-header .column {
    flex: 0 0 auto !important;
    width: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .ki-header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 575px) {
  .ki-header .column_button {
    display: none !important;
  }
}

@media (max-width: 330px) {
  .ki-header .column_image {
    display: none !important;
  }
}

/* menu główne: przycisk rozwijania z ki-menu.js (klawiatura) */
.mfn-menu-submenu-on-hover .mfn-menu-li.ki-open > .mfn-menu-item-megamenu,
.mfn-menu-submenu-on-hover .mfn-menu-li.ki-open:not(.mfn-menu-item-has-megamenu) > .mfn-submenu {
  display: block;
}

/* cel 24 px (WCAG 2.5.8), ujemny margines trzyma układ jak przed zmianą */
.ki-header .mfn-header-menu > li > .ki-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 24px;
  margin: 0 -7px 0 1px;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #050202;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.ki-header .mfn-header-menu > li:is(:hover, .ki-open, .current-menu-item, .current-menu-ancestor) > .ki-menu-toggle {
  color: #ff5c00;
}

.ki-header .mfn-header-menu > li > .ki-menu-toggle .menu-sub {
  margin: 0;
}

.ki-header .mfn-header-menu > li > .ki-menu-toggle i {
  font-size: var(--mfn-header-submenu-icon-size, 10px);
  color: inherit;
}

/* megamenu [ki_megamenu] */

/* mysz tylko na panelu i pasie nad nim */
.mfn-menu-item-megamenu:has(.ki-mm) {
  padding-top: var(--ki-mm-top, 0px) !important;
  background: none !important;
  pointer-events: none;
}

.ki-mm {
  position: relative;
}

.ki-mm::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: var(--ki-mm-top, 0px);
  pointer-events: auto;
}

.ki-mm__panel {
  pointer-events: auto;
}

.mfn-menu-item-megamenu:has(.ki-mm)
  :is(
    .mfn-megamenu-tmpl-builder,
    .mcb-section,
    .section_wrapper,
    .mcb-wrap,
    .mcb-wrap-inner,
    .mcb-column,
    .mcb-column-inner,
    .column_attr
  ) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.mfn-menu-item-megamenu:has(.ki-mm) .column_attr > p {
  margin: 0;
}

/* przyciemnienie strony */
.mfn-menu-item-megamenu:has(.ki-mm)::after {
  content: '';
  position: fixed;
  top: var(--ki-mm-bar, 100px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.ki-mm {
  width: max-content;
  max-width: calc(100% - var(--ki-mm-x, 0px) - 24px);
  margin-left: var(--ki-mm-x, 0px);
  font-family: 'Montserrat', sans-serif;
  text-align: left;
}

.ki-mm__panel {
  display: flex;
  align-items: stretch;
  background: #fff;
}

.ki-mm__col {
  flex: 0 1 422px;
  width: 422px;
  min-width: 0;
}

.ki-mm__col[hidden] {
  display: none;
}

.ki-mm__col--1 {
  padding: 40px;
}

.ki-mm__col--2,
.ki-mm__col--3 {
  padding: 40px 0;
}

.ki-mm .ki-mm__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ki-mm .ki-mm__list[hidden] {
  display: none;
}

.ki-mm__col--2 .ki-mm__list,
.ki-mm__col--3 .ki-mm__list {
  height: 100%;
  padding: 0 40px;
  border-left: 1px solid #d0d0d0;
}

.ki-mm__col--3 .ki-mm__list {
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.ki-mm .ki-mm__item {
  margin: 0;
  padding: 0;
}

.ki-mm .ki-mm__item::before {
  display: none;
}

.ki-mm a.ki-mm__link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-left: 1px solid transparent;
  color: #2d2b2b;
  text-decoration: none;
}

.ki-mm__col--3 a.ki-mm__link {
  padding-top: 0;
  padding-bottom: 0;
}

.ki-mm .ki-mm__item.is-active > .ki-mm__link {
  border-left-color: #ff5c00;
  background: rgba(255, 92, 0, 0.04);
}

.ki-mm__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.ki-mm__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.ki-mm .ki-mm__list:has(.ki-mm__icon) .ki-mm__title {
  line-height: 30px;
}

.ki-mm .ki-mm__list:has(.ki-mm__icon) .ki-mm__link > .ki-mm__text:first-child {
  padding-left: 56px;
}

.ki-mm__item:not(.has-children) .ki-mm__title {
  text-decoration: underline;
}

.ki-mm__item:not(.has-children) > .ki-mm__link:hover .ki-mm__title {
  color: #ff5c00;
}

.ki-mm__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #a8a7a7;
}

.ki-mm__arrow {
  flex: none;
  align-self: center;
  color: #ff5c00;
}

.ki-mm__col--1 a.ki-mm__link {
  position: relative;
  display: block;
  min-height: 84px;
  padding-right: 54px;
}

.ki-mm__col--1 .ki-mm__title {
  line-height: 24px;
  text-transform: uppercase;
}

.ki-mm__col--1 .ki-mm__arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #a8a7a7;
}

.ki-mm__col--1 .ki-mm__item.is-active :is(.ki-mm__desc, .ki-mm__arrow) {
  color: #ff5c00;
}

/* ikona 40×30 */
.ki-mm__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 30px;
}

.ki-mm .ki-mm__icon img {
  width: auto;
  max-width: 40px;
  height: auto;
  max-height: 30px;
}

.ki-mm__icon--swap .ki-mm__icon-hover,
.ki-mm__item:is(:hover, .is-active)
  > .ki-mm__link
  .ki-mm__icon--swap
  .ki-mm__icon-base {
  display: none;
}

.ki-mm__item:is(:hover, .is-active)
  > .ki-mm__link
  .ki-mm__icon--swap
  .ki-mm__icon-hover {
  display: block;
}

/* lista bez kolumn */
.ki-mm--list .ki-mm__col--1 {
  width: auto;
  padding: 40px;
}

.ki-mm--list .ki-mm__col--1 a.ki-mm__link {
  display: flex;
  min-height: 0;
  padding-right: 12px;
}

.ki-mm--list .ki-mm__col--1 .ki-mm__title {
  line-height: 20px;
  text-transform: none;
}

/* menu w burgerze */

.ki-header .column_header_menu li.ki-menu-cta {
  display: none !important;
}

/* szerokość tylko zmienną Betheme – z niej liczy się przesunięcie panelu */
.ki-header .mfn-header-tmpl-menu-sidebar {
  --mfn-header-menu-sidebar-width: 350px;
  visibility: hidden;
  background: #fff !important;
  transition:
    right 0.5s ease-in-out,
    left 0.5s ease-in-out,
    visibility 0s linear 0.5s;
}

.ki-header .mfn-header-tmpl-menu-active .mfn-header-tmpl-menu-sidebar {
  visibility: visible;
  transition:
    right 0.5s ease-in-out,
    left 0.5s ease-in-out,
    visibility 0s;
}

@media (max-width: 430px) {
  .ki-header .mfn-header-tmpl-menu-sidebar {
    --mfn-header-menu-sidebar-width: 100vw;
  }
}

.ki-header .mfn-header-tmpl-menu-sidebar-wrapper {
  align-items: flex-start !important;
  padding: 72px 24px 40px !important;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-close-icon {
  top: 20px;
  right: 20px;
  color: #2d2b2b;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu {
  width: 100%;
  margin: 0;
  padding: 0;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu li {
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li {
  border-bottom: 1px solid #d0d0d0;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu li > a {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100%;
  min-height: 44px;
  padding: 10px 0 !important;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a {
  min-height: 56px;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu li > a .menu-label {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #2d2b2b !important;
  white-space: normal;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a .menu-label {
  font-size: 16px !important;
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  > li
  > ul
  > li
  > a
  .menu-label {
  font-size: 14px !important;
  text-transform: uppercase;
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  ul
  li:not(.menu-item-has-children)
  > a
  .menu-label {
  text-decoration: underline;
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  li:is(.mfn-li-hover, .current-menu-item, .current-menu-ancestor)
  > a
  .menu-label,
.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  li
  > a:hover
  .menu-label {
  color: #ff5c00 !important;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu ul {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 16px !important;
  background: none !important;
  box-shadow: none !important;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu .menu-sub {
  display: flex !important;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -12px -12px -12px auto !important;
  color: #a8a7a7;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu .menu-sub i {
  display: none;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu .menu-sub::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  li.mfn-li-hover
  > a
  .menu-sub {
  color: #ff5c00;
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  li.mfn-li-hover
  > a
  .menu-sub::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

/* .ki-menu-cta */
.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.ki-menu-cta {
  margin-top: 32px;
  border-bottom: 0;
}

.ki-header .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li.ki-menu-cta > a {
  justify-content: center !important;
  min-height: 0;
  padding: 12px 24px !important;
  background: #ff5c00;
  box-shadow: 4px 4px 10px rgba(46, 44, 44, 0.25);
}

.ki-header
  .mfn-header-tmpl-menu-sidebar
  .mfn-header-menu
  > li.ki-menu-cta
  > a
  .menu-label {
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none;
}

/* ikony pozycji */
.ki-header .mfn-header-tmpl-menu-sidebar .menu-label:has(.ki-menu-icon) {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ki-header .mfn-header-menu .ki-menu-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  width: 32px;
  height: 24px;
}

.ki-header .mfn-header-menu .ki-menu-icon img {
  width: auto;
  max-width: 32px;
  height: auto;
  max-height: 24px;
}

.ki-header .mfn-header-menu .ki-menu-icon--swap .ki-menu-icon__hover,
.ki-header
  .mfn-header-menu
  li:is(.mfn-li-hover, .current-menu-item)
  > a
  .ki-menu-icon--swap
  .ki-menu-icon__base {
  display: none;
}

.ki-header
  .mfn-header-menu
  li:is(.mfn-li-hover, .current-menu-item)
  > a
  .ki-menu-icon--swap
  .ki-menu-icon__hover {
  display: block;
}

/* przyciemnienie przy otwartym burgerze */
.ki-header .column_header_burger > .mcb-column-inner::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s,
    visibility 0s linear 0.5s;
}

.ki-header
  .column_header_burger.mfn-header-tmpl-menu-active
  > .mcb-column-inner::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.5s,
    visibility 0s;
}

/* wyszukiwarka w nagłówku [ki_search] */

.ki-header {
  --ki-search-line: #d0d0d0;
  --ki-search-text: #050202;
  --ki-search-muted: #747170;
  --ki-search-accent: #ff5c00;
}

@media (min-width: 1700px) {
  .ki-header:has(.ki-search) {
    --ki-gm: 28px;
  }
}

.ki-header .mcb-column:has(.ki-search) {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 7px 0 -9px !important;
}

.ki-header .mcb-column:has(.ki-search) > .mcb-column-inner {
  margin: 0 !important;
  padding: 0 !important;
}

.ki-header .mcb-column:has(.ki-search) p:empty {
  display: none;
}

.ki-header .ki-search {
  display: flex;
  align-items: center;
}

/* lupa */
.ki-header .ki-search .ki-search__toggle {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ki-search-text);
  cursor: pointer;
}

.ki-header .ki-search .ki-search__toggle:hover,
.ki-header .ki-search .ki-search__toggle[aria-expanded='true'] {
  color: var(--ki-search-accent);
  background-color: rgba(255, 92, 0, 0.06);
}

.ki-header .ki-search .ki-search__toggle:focus-visible {
  outline: 2px solid var(--ki-search-accent);
  outline-offset: 2px;
}

.ki-header .ki-search .ki-search__toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

.ki-header.ki-search-host:not(.mfn-header-sticky-section) {
  position: relative;
}

.ki-header .ki-search__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 32px clamp(24px, 3vw, 64px);
  border-top: 1px solid #f1f1f1;
  background: #fff;
  box-shadow: 0 12px 20px -12px rgba(46, 44, 44, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0s linear 0.2s;
}

.ki-header .ki-search__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0s;
}

.ki-header .ki-search__panel::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
}

.ki-header .ki-search__form {
  display: flex;
  align-items: stretch;
  gap: 16px;
  max-width: 1590px;
  margin: 0 auto;
}

.ki-header .ki-search__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.ki-header .ki-search__field::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 32px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background-color: var(--ki-search-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='7.5' cy='7.5' r='6.5'/%3E%3Cpath d='M12.2 12.2L17 17'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='7.5' cy='7.5' r='6.5'/%3E%3Cpath d='M12.2 12.2L17 17'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

.ki-header .ki-search__panel input.ki-search__input {
  box-sizing: border-box;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 24px 0 72px;
  border: 1px solid var(--ki-search-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ki-search-text);
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}

.ki-header .ki-search__panel input.ki-search__input::placeholder {
  color: var(--ki-search-muted);
  opacity: 1;
}

.ki-header .ki-search__panel input.ki-search__input:focus {
  border-color: var(--ki-search-accent);
  outline: none;
}

.ki-header
  .ki-search__panel
  input.ki-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.ki-header .ki-search__panel .ki-search__submit {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 64px;
  padding: 0 32px;
  background-color: var(--ki-search-accent);
  box-shadow: 4px 4px 10px rgba(46, 44, 44, 0.25);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ki-header .ki-search__panel .ki-search__submit:hover {
  background-color: #e25200;
}

.ki-header .ki-search__panel .ki-search__submit:focus-visible,
.ki-header .ki-search__panel .ki-search__close:focus-visible {
  outline: 2px solid var(--ki-search-accent);
  outline-offset: 2px;
}

.ki-header .ki-search__panel .ki-search__arrow {
  display: block;
  flex: none;
  width: 22px;
  height: 21px;
}

.ki-header .ki-search__panel .ki-search__close {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  color: var(--ki-search-muted);
  cursor: pointer;
}

.ki-header .ki-search__panel .ki-search__close:hover {
  color: var(--ki-search-accent);
}

.ki-header .ki-search__panel .ki-search__close svg {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 1239px) {
  .ki-header .mcb-column:has(.ki-search) {
    order: 9;
    margin: 0 0 0 15px !important;
  }

  .ki-header .column_header_burger {
    order: 10;
  }

  .ki-header:has(.ki-search) .column_header_burger {
    margin-left: 8px;
  }
}

/* bez logotypów – pasek się mieści */
@media (min-width: 576px) and (max-width: 679px) {
  .ki-header:has(.ki-search) .column_image {
    display: none !important;
  }
}

@media (max-width: 429px) {
  .ki-header:has(.ki-search) .column_image + .column_image {
    display: none !important;
  }
}

@media (min-width: 1240px) and (max-width: 1439px) {
  .ki-header .ki-search__panel {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 959px) {
  .ki-header .ki-search__panel {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .ki-header .ki-search__panel {
    padding: 16px 20px;
  }

  .ki-header .ki-search__form {
    gap: 8px;
  }

  .ki-header .ki-search__panel input.ki-search__input {
    height: 56px;
    padding-left: 52px;
    font-size: 16px; /* iOS bez zoomu */
  }

  .ki-header .ki-search__field::before {
    left: 20px;
  }

  .ki-header .ki-search__panel .ki-search__submit {
    width: 56px;
    height: 56px;
    padding: 0;
  }

  .ki-header .ki-search__panel .ki-search__submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ki-header .ki-search__panel .ki-search__close {
    width: 40px;
    height: 56px;
  }
}

/* wyniki wyszukiwania – search.php */

.ki-results .ki-results__summary {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ki-posts-text);
}

.ki-results .ki-results__summary strong {
  font-weight: 600;
  color: var(--ki-posts-accent);
}

.column_attr .ki-results ul.ki-results__types {
  margin: 24px 0 0;
}

.ki-results .ki-results__count {
  margin-left: 4px;
  font-weight: 300;
}

.ki-results .ki-posts__grid {
  margin-top: 72px;
}

.ki-results mark {
  padding: 0;
  background: rgba(255, 92, 0, 0.12);
  color: inherit;
}

/* kafel bez obrazka */
.ki-results .ki-posts__thumb.ki-results__thumb--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d2b2b;
}

.ki-results .ki-results__logo {
  display: block;
  width: 42%;
  max-width: 160px;
  height: auto;
  transition: transform 0.4s ease;
}

.ki-posts__card:hover .ki-results__logo {
  transform: scale(1.04);
}

.ki-results__empty {
  margin-top: 40px;
}

.ki-results__empty > p {
  margin: 0;
  font-size: 16px;
  color: var(--ki-posts-text);
}

@media (max-width: 1023px) {
  .ki-results .ki-posts__grid {
    margin-top: 40px;
  }
}

.ki-search-page {
  box-sizing: border-box;
  max-width: 1316px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.ki-search-page .ki-search-page__title {
  margin: 0 0 48px;
}

.ki-search-page__title strong {
  color: #ff5c00;
}

@media (max-width: 767px) {
  .ki-search-page {
    padding: 40px 20px 80px;
  }

  .ki-search-page .ki-search-page__title {
    margin-bottom: 32px;
  }
}

/* linki w opisie Icon box 2 – jak w tekście */
.column_icon_box_2
  .desc
  a:not(.button):not([href^='tel:']):not([href^='mailto:']) {
  color: #ff5c00;
}
.column_icon_box_2
  .desc
  a:not(.button):not([href^='tel:']):not([href^='mailto:']):hover {
  text-decoration: underline;
}
