.elementor-4331 .elementor-element.elementor-element-2d9ce62{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:100px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4331 .elementor-element.elementor-element-0e8a0c8{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:00px;}.elementor-4331 .elementor-element.elementor-element-9bf95f8{text-align:center;}.elementor-4331 .elementor-element.elementor-element-9bf95f8 .elementor-heading-title{font-weight:700;letter-spacing:1px;word-spacing:1px;color:#8A70E8;}.elementor-4331 .elementor-element.elementor-element-504f491{text-align:center;font-size:16px;color:#C9C7D3;}.elementor-4331 .elementor-element.elementor-element-153b0f6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4331 .elementor-element.elementor-element-f59ff70{--display:flex;--min-height:620px;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;border-style:none;--border-style:none;--border-radius:20px 20px 20px 20px;--padding-top:0px;--padding-bottom:50px;--padding-left:50px;--padding-right:50px;}.elementor-4331 .elementor-element.elementor-element-f59ff70:not(.elementor-motion-effects-element-type-background), .elementor-4331 .elementor-element.elementor-element-f59ff70 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#000310;}.elementor-4331 .elementor-element.elementor-element-799bd62{--display:flex;--min-height:380px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--flex-wrap:nowrap;}.elementor-4331 .elementor-element.elementor-element-fa3a7ff{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:14px 14px;--row-gap:14px;--column-gap:14px;}.elementor-4331 .elementor-element.elementor-element-6bc828f{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:14px 14px;--row-gap:14px;--column-gap:14px;}.elementor-4331 .elementor-element.elementor-element-0062adc{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:13px 13px;--row-gap:13px;--column-gap:13px;}.elementor-4331 .elementor-element.elementor-element-7be8162{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:24px 24px;--row-gap:24px;--column-gap:24px;--flex-wrap:nowrap;}.elementor-4331 .elementor-element.elementor-element-67e9f54{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-4331 .elementor-element.elementor-element-67e9f54 .elementor-icon-wrapper{text-align:center;}.elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-stacked .elementor-icon{background-color:#FFFFFF;color:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-framed .elementor-icon, .elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-default .elementor-icon{color:#FFFFFF;border-color:#FFFFFF;}.elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-framed .elementor-icon, .elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-default .elementor-icon svg{fill:#FFFFFF;}.elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-framed .elementor-icon{background-color:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-67e9f54.elementor-view-stacked .elementor-icon svg{fill:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-67e9f54 .elementor-icon{font-size:18px;}.elementor-4331 .elementor-element.elementor-element-67e9f54 .elementor-icon svg{height:18px;}.elementor-4331 .elementor-element.elementor-element-ad2447b{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:8px 8px;--row-gap:8px;--column-gap:8px;}.elementor-4331 .elementor-element.elementor-element-1de7261{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:7px 7px;--row-gap:7px;--column-gap:7px;}.elementor-4331 .elementor-element.elementor-element-b758445{--display:flex;}.elementor-4331 .elementor-element.elementor-element-c81e713{--display:flex;}.elementor-4331 .elementor-element.elementor-element-8396c0c{--display:flex;}.elementor-4331 .elementor-element.elementor-element-41820e0{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-4331 .elementor-element.elementor-element-41820e0 .elementor-icon-wrapper{text-align:center;}.elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-stacked .elementor-icon{background-color:#FFFFFF;color:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-framed .elementor-icon, .elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-default .elementor-icon{color:#FFFFFF;border-color:#FFFFFF;}.elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-framed .elementor-icon, .elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-default .elementor-icon svg{fill:#FFFFFF;}.elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-framed .elementor-icon{background-color:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-41820e0.elementor-view-stacked .elementor-icon svg{fill:#FFFFFF00;}.elementor-4331 .elementor-element.elementor-element-41820e0 .elementor-icon{font-size:18px;}.elementor-4331 .elementor-element.elementor-element-41820e0 .elementor-icon svg{height:18px;}.elementor-4331 .elementor-element.elementor-element-5bfef64{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-4331 .elementor-element.elementor-element-0218640{text-align:center;}.elementor-4331 .elementor-element.elementor-element-0218640 .elementor-heading-title{font-weight:700;letter-spacing:1px;word-spacing:1px;color:#8A70E8;}.elementor-4331 .elementor-element.elementor-element-2d49402{text-align:center;font-size:16px;color:#C9C7D3;}@media(max-width:1024px){.elementor-4331 .elementor-element.elementor-element-2d9ce62{--padding-top:200px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-4331 .elementor-element.elementor-element-0e8a0c8{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4331 .elementor-element.elementor-element-f59ff70{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:35px;--padding-bottom:35px;--padding-left:35px;--padding-right:35px;}}@media(max-width:767px){.elementor-4331 .elementor-element.elementor-element-f59ff70{--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}}@media(min-width:768px){.elementor-4331 .elementor-element.elementor-element-0e8a0c8{--width:100%;}.elementor-4331 .elementor-element.elementor-element-fa3a7ff{--width:33.33%;}.elementor-4331 .elementor-element.elementor-element-6bc828f{--width:33.33%;}.elementor-4331 .elementor-element.elementor-element-0062adc{--width:33.33%;}}/* Start custom CSS for container, class: .elementor-element-f59ff70 *//* =========================================
   NORIVI – PORTFOLIO SLIDER
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* =========================================
   SCENA Z PROJEKTAMI
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-stage {
    position: relative;
    width: 100%;
    min-height: 430px;
    perspective: 1400px;
    overflow: visible;
}

/* =========================================
   WSZYSTKIE PROJEKTY
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48%;

    transform-origin: center center;

    transition:
        transform 0.65s cubic-bezier(.2,.8,.2,1),
        opacity 0.5s ease,
        filter 0.5s ease;

    will-change: transform;
    cursor: pointer;
}

/* LEWY */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-left {
    transform:
        translate(-115%, -50%)
        scale(0.68)
        rotateY(10deg);

    opacity: 0.50;

    filter:
        brightness(0.75)
        saturate(0.8);

    z-index: 2;
}

/* AKTYWNY */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-active {
    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 1;
    filter: none;
    z-index: 5;
}

/* PRAWY */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-right {
    transform:
        translate(15%, -50%)
        scale(0.68)
        rotateY(-10deg);

    opacity: 0.50;

    filter:
        brightness(0.75)
        saturate(0.8);

    z-index: 2;
}

/* =========================================
   OBRAZY
   ========================================= */

/*
   Bez wymuszania wysokości kontenera.
   Obraz jest wymiarowany osobno w CSS strony 4331.
*/

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* GLOW AKTYWNEGO */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .project-active img {
    filter:
        drop-shadow(0 22px 35px rgba(0,0,0,.45))
        drop-shadow(0 0 18px rgba(109,79,211,.25));
}

/* =========================================
   STEROWANIE
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-controls {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 28px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* STRZAŁKI */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-prev,
.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-next {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;

    flex: 0 0 42px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-prev .elementor-icon,
.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-next .elementor-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #7E63F2;
    border-radius: 50%;

    color: #F7F7FA;
    background: rgba(109,79,211,0.04);

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-prev .elementor-icon:hover,
.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-next .elementor-icon:hover {
    background: rgba(109,79,211,0.16);

    transform: scale(1.06);

    box-shadow:
        0 0 16px rgba(109,79,211,.20);
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-prev svg,
.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-next svg {
    width: 16px;
    height: 16px;
}

/* =========================================
   LICZNIK + PASKI
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-status {
    width: auto !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    flex: 0 0 auto !important;

    padding: 0 !important;
    margin: 0 !important;
}

/* LICZNIK */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-counter {
    width: auto !important;
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-counter .elementor-heading-title {
    margin: 0;
    padding: 0;

    white-space: nowrap;

    font-family: Inter, sans-serif;

    font-size: 18px;
    line-height: 1;

    font-weight: 700;
    color: #F7F7FA;
}

/* PASKI */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-progress {
    width: auto !important;
    min-height: 0 !important;

    display: flex !important;
    flex-direction: row !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-progress-bar {
    width: 16px !important;
    height: 3px !important;

    min-width: 16px !important;
    min-height: 3px !important;

    max-width: 16px !important;
    max-height: 3px !important;

    flex: 0 0 16px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 100px;

    background: rgba(255,255,255,0.18);

    transition:
        width 0.35s ease,
        flex-basis 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-progress-bar.is-active {
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;

    flex-basis: 27px !important;

    background: #7E63F2;

    box-shadow:
        0 0 8px rgba(126,99,242,.40);
}

/* =========================================
   INFORMACJE O PROJEKCIE
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-info {
    width: 100% !important;
    max-width: 680px;

    align-self: center;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    text-align: center;

    gap: 7px !important;

    margin: 32px auto 0 !important;
    padding: 0 20px !important;
}

/* MAŁY PODPIS */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-type {
    margin: 0 !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-type .elementor-heading-title {
    font-family: Inter, sans-serif;

    color: #8A70E8;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 700;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

/* NAZWA PROJEKTU */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-title {
    margin: 2px 0 0 !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-title .elementor-heading-title {
    font-family: Inter, sans-serif;

    color: #F7F7FA;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

/* OPIS */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-description {
    max-width: 620px;
    margin: 3px 0 0 !important;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-description .elementor-widget-container {
    font-family: Inter, sans-serif;

    color: #B8B5C7;

    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;

    text-align: center;
}

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-description p {
    margin: 0;
}

/* =========================================
   PRZYCISK
   ========================================= */

/*
   Brak stylowania przycisku.
   .portfolio-link pozostaje dla JavaScriptu.
   Wygląd przycisku ustawiamy w Elementorze.
*/

/* =========================================
   SKRYPT
   ========================================= */

.elementor-4331 .elementor-element.elementor-element-f59ff70 .portfolio-script {
    display: none !important;
}/* End custom CSS */
/* Start custom CSS *//* =========================================
   NORIVI — REALIZACJE 4331
   DESKTOP / LAPTOP
   ========================================= */

@media (min-width: 1025px) {

  body:is(.page-id-4331, .postid-4331) {
    --norivi-gutter: clamp(
      20px,
      calc(29.268293vw - 301.95122px),
      260px
    );

    --realizacje-side: clamp(
      24px,
      calc(2.905vw - 5.78px),
      50px
    );

    --realizacje-gallery-side: clamp(
      20px,
      calc(2.235vw - 2.91px),
      40px
    );

    --realizacje-gallery-card-side: clamp(
      24px,
      calc(1.788vw + 5.67px),
      40px
    );
  }

  /* =====================================
     FLUID WIDTH + HEADER
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  #header [data-device="desktop"]
  [data-row="middle:boxed"] > .ct-container,

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .elementor-element-2d9ce62 > .e-con-inner,

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .elementor-element-153b0f6 > .e-con-inner {
    width: min(
      1400px,
      calc(
        100% -
        var(--norivi-gutter) -
        var(--norivi-gutter)
      )
    );

    max-width: 1400px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  body:is(.page-id-4331, .postid-4331)
  #header [data-device="desktop"]
  [data-row="middle:boxed"] > .ct-container {
    padding-inline: clamp(
      12px,
      1.041667vw,
      20px
    );
  }

  body:is(.page-id-4331, .postid-4331)
  #header nav#header-menu-1 {
    margin-inline-start: 0;
  }

  /* =====================================
     NAGŁÓWKI I OPIS
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 [data-id="61e9899"] {
    font-size: clamp(
      30px,
      calc(1.1173vw + 18.55px),
      40px
    );

    line-height: 1.5;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-504f491,

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .portfolio-description .elementor-widget-container {
    font-size: clamp(
      14px,
      calc(.22346vw + 11.71px),
      16px
    );
  }

  /* =====================================
     ODSTĘPY SEKCJI
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-153b0f6 {
    margin-block-end: clamp(
      32px,
      calc(2.011vw + 11.4px),
      50px
    );
  }

  /* =====================================
     KONTENER KARUZELI
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .portfolio-showcase {
    padding-inline: var(--realizacje-side) !important;
    padding-block-end: var(--realizacje-side) !important;
    min-height: 0 !important;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .portfolio-stage {
    padding-inline:
      var(--realizacje-gallery-side) !important;

    min-height: clamp(
      290px,
      22.4vw,
      430px
    ) !important;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .project-card {
    padding-inline:
      var(--realizacje-gallery-card-side) !important;
  }

  /* =====================================
     STEROWANIE KARUZELĄ
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .portfolio-controls {
    gap: clamp(
      18px,
      calc(1.117vw + 6.55px),
      28px
    ) !important;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 [data-id="ddec69a"] {
    font-size: clamp(
      26px,
      calc(1.0056vw + 15.69px),
      35px
    );

    line-height: 1.5;
  }

  /* =====================================
     INFORMACJE O PROJEKCIE
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .portfolio-info {
    width: 100% !important;
    max-width: 680px;

    margin-block-start: clamp(
      22px,
      calc(1.1173vw + 10.55px),
      32px
    ) !important;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 [data-id="61aaf0b"] {
    font-size: clamp(
      30px,
      calc(1.1173vw + 18.55px),
      40px
    );

    line-height: 1.5;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .portfolio-info .portfolio-description {
    width: 100%;
    max-width: 620px;
  }

  /* =====================================
     PRZYCISK PROJEKTU
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .portfolio-link .elementor-button {
    font-size: clamp(
      14px,
      calc(.11173vw + 12.85px),
      15px
    );

    padding-block: clamp(
      12px,
      calc(.3352vw + 8.56px),
      15px
    );

    padding-inline: clamp(
      22px,
      calc(.6704vw + 15.13px),
      28px
    );
  }

  /* =====================================
     PUSTY OBRAZ / PLACEHOLDER
     ===================================== */

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .portfolio-showcase
  .project-card:has(> img:not([src])) {
    background: rgba(109,79,211,0.16);
    border-radius: 16px;
  }

  body:is(.page-id-4331, .postid-4331)
  .elementor-4331
  .portfolio-showcase
  .project-card > img:not([src]) {
    visibility: hidden;
  }

}

/* =========================================
   OBRAZY — ATOMIC V4
   Z LINKIEM I BEZ LINKU
   ========================================= */

/*
   Link może opakowywać obraz.

   Nie narzucamy height:100% na wrappery,
   nie zmieniamy wysokości .project-card.

   Proporcja 1296/807 dotyczy samego obrazu.
*/

/* LINK OTACZAJĄCY OBRAZ */

body:is(.page-id-4331, .postid-4331)
.elementor-4331
.portfolio-showcase
.project-card a:has(img) {
    display: block;
    width: 100%;
    margin: 0;
    line-height: 0;
}

/* ZDJĘCIA */

body:is(.page-id-4331, .postid-4331)
.elementor-4331
.portfolio-showcase
.project-card img {
    display: block;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 1296 / 807 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 16px;

    background: rgba(109,79,211,0.04);
}

/* Blocksy footer on test page 4331: keep contact readable at desktop/laptop zoom. */
@media (min-width: 1025px) {
  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] .ct-container {
    column-gap: clamp(32px, calc(13.75vw - 109px), 155px);
  }
  body:is(.page-id-4331, .postid-4331) #footer [data-column="contacts"] .ct-contact-info {
    margin-inline-start: clamp(0px, calc(11.1732vw - 114.525px), 100px);
  }
}

/* Realizacje 4331: tablet i telefon; desktop od 1025 px bez zmian. */
@media (max-width: 1024px) {
  body.page-id-4331 .elementor-4331 .elementor-element-153b0f6 {
    animation: none !important;
    transform: none !important;
    visibility: visible !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-showcase {
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage {
    height: clamp(220px, 29vw, 290px) !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage > .project-card {
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage .project-card > :is(a,img,.elementor-widget) {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage .project-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1296 / 807 !important;
    object-fit: cover !important;
  }
  body.page-id-4331 #footer [data-row="top"] > .ct-container {
    row-gap: clamp(20px, 3vw, 32px) !important;
    column-gap: clamp(20px, 3vw, 32px) !important;
  }
  body.page-id-4331 #footer [data-column="contacts"] .ct-contact-info {
    margin-inline-start: 0 !important;
  }
  body.page-id-4331 #footer .ct-contact-info :is(a,span) {
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (max-width: 767px) {
  body.page-id-4331 .elementor-4331 .portfolio-showcase {
    padding: clamp(14px, 4vw, 24px) !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage {
    height: auto !important;
    aspect-ratio: 1296 / 807 !important;
    overflow: hidden !important;
    perspective: none !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage > .project-card {
    width: 100% !important;
    top: 50% !important;
    left: 50% !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage > .project-active {
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translate(-50%, -50%) !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-stage > :is(.project-left,.project-right) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body.page-id-4331 .elementor-4331 .portfolio-info {
    margin-block-start: clamp(18px, 4vw, 28px) !important;
    padding-inline: 0 !important;
  }
}

/* SEO 3B: keep the existing project-title typography after changing H1 to H2. */
@media (max-width: 1024px) {
  body.page-id-4331 .elementor-4331 [data-id="61aaf0b"] {
    font-size: 40px;
    line-height: 1.5;
  }
}

/* HOME 4261 — dodatkowa regulacja odstępu wierszy stopki,
   przeniesiona bez zmian wartości na Realizacje 4331. */
@media (max-width: 767px) {
  body:is(.page-id-4331, .postid-4331) #footer [data-row] > .ct-container {
    row-gap: clamp(18px, 5vw, 28px) !important;
  }
}

/* ========================================================
   NORIVI — REALIZACJE 4331 — WYRÓWNANIE STOPKI NA TELEFONIE
   Zakres: wyłącznie stopka / szerokość <= 767px.
   Nie wpływa na inne sekcje ani desktop/laptop.
   ======================================================== */
@media (max-width: 767px) {
  /* Nie rozciągaj pustych wierszy i używaj jednej kolumny. */
  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] > .ct-container {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: max-content !important;
    align-content: start !important;
    justify-items: stretch !important;
    row-gap: clamp(22px, 5.5vw, 30px) !important;
    column-gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Logo/opis, menu i kontakt — pełna szerokość, jedna lewa krawędź. */
  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] > .ct-container > [data-column] {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    justify-self: stretch !important;
    align-self: start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Blocksy: wyłącz centrowanie samego widgetu menu. */
  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] :is(.ct-footer-menu, nav) {
    width: 100% !important;
    margin-inline: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Linki menu ustaw pionowo od tej samej lewej krawędzi. */
  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] :is(.ct-footer-menu, nav) ul {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    gap: 10px !important;
    text-align: left !important;
  }

  body:is(.page-id-4331, .postid-4331) #footer [data-row="top"] :is(.ct-footer-menu, nav) li {
    width: auto !important;
    margin-inline: 0 !important;
    text-align: left !important;
  }

  /* Nie przenoś kontaktu względem pozostałych bloków. */
  body:is(.page-id-4331, .postid-4331) #footer [data-column="contacts"] .ct-contact-info {
    margin-inline-start: 0 !important;
  }
}

/* ==========================================================
   NORIVI — REALIZACJE 4331 — WYRÓWNANIE GÓRNEGO ODSTĘPU
   Tak samo jak na stronie Oferta 4307.
   Dotyczy tylko sekcji wprowadzającej, nie karuzeli.
   Telefon: 78px od góry; tablet: 96px od góry.
   Desktop/laptop >=1025px pozostaje bez zmian.
   ========================================================== */

@media (max-width: 1024px) {

  /* Sekcja wprowadzenia: usunięcie dużej wysokości i centrowania. */
  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-2d9ce62 {
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    padding: 96px 0 28px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  /* Wewnętrzny kontener nie może wymuszać pustej przestrzeni. */
  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-2d9ce62 > .e-con-inner {
    min-height: 0 !important;
    height: auto !important;
    margin-block: 0 !important;
    padding-block: 0 !important;
    justify-content: flex-start !important;
    align-content: start !important;
  }
}

/* Telefon — identyczny górny offset jak na Ofercie. */
@media (max-width: 767px) {
  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-2d9ce62 {
    padding-top: 78px !important;
    padding-bottom: 24px !important;
  }
}

/* Tablet — identyczny górny offset jak na Ofercie. */
@media (min-width: 768px) and (max-width: 1024px) {
  body:is(.page-id-4331, .postid-4331)
  .elementor-4331 .elementor-element-2d9ce62 {
    padding-top: 96px !important;
    padding-bottom: 32px !important;
  }
}

/*
 * NORIVI — Portfolio Laptop Mockup
 *
 * Based on "laptop mockup" by seeme
 * Source: https://codepen.io/seeme/pen/MWeqqEg
 * Original code licensed under MIT License.
 *
 * Modified and adapted for norivi.pl
 *
 * Retain the original MIT copyright and
 * permission notice with this code.
 */

body:is(.page-id-4331, .postid-4331) .elementor-4331 .portfolio-showcase {
  --nv-laptop-glow: rgba(109, 79, 211, .21);
}

/* Makieta: rozmiar liczony od istniejacej karty. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-macbook {
  display: block;
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: 0;
  box-sizing: border-box;
  isolation: isolate;
  transition: filter .45s ease;
}

/* Oryginalny schemat CodePen: ekran jest waszy od podstawy. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-screen {
  position: relative;
  width: 80%;
  margin-inline: auto;
  padding: 0;
  background: #080910;
  border: 2px solid #b5b4bf;
  border-bottom: 2px solid #777783;
  border-radius: 3% 3% .5% .5% / 5%;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .75),
    inset 0 0 2px 2px rgba(255, 255, 255, .18),
    0 16px 38px rgba(0, 0, 0, .30);
  box-sizing: border-box;
  overflow: hidden;
}

/* 67% — proporcja obudowy wykorzystana w CodePen. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-screen::before {
  content: '';
  display: block;
  padding-top: 67%;
}

/* Delikatna refleksyjna krawedz dolnego ekranu. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-screen::after {
  content: '';
  position: absolute;
  bottom: .7%;
  left: .6%;
  width: 98.8%;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}

/* Viewport jak w CodePen: osadzony wewnatrz czarnego ekranu. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-viewport {
  position: absolute;
  inset: 4.3% 3.2%;
  display: block;
  overflow: hidden;
  background: #11131c;
  border-radius: 2px;
  line-height: 0;
}

/* Dziala dla <a><img></a> i samego <img>. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-viewport > :is(a, img, picture),
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-viewport > a > picture {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-viewport img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
  background: #11131c;
}

/* Metalowa podstawa — ten sam sposob budowania co w CodePen. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-base {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0 0 10% 10% / 0 0 50% 50%;
}

body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-base::before {
  content: '';
  display: block;
  padding-top: 3.3%;
  background: linear-gradient(
    to bottom,
    #e4e5ea 0%,
    #d8d9df 49%,
    #fafafa 54%,
    #85858d 56%,
    #96969f 61%,
    #45454b 84%,
    #1c1c25 94%,
    rgba(0, 0, 0, .01) 100%
  );
  border-radius: 0 0 10% 10% / 0 0 50% 50%;
}

body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-base::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.38), rgba(255,255,255,.65) 1%,
    rgba(0,0,0,.35) 3%, transparent 15%,
    rgba(255,255,255,.55) 50%, transparent 85%,
    rgba(0,0,0,.35) 97%, rgba(255,255,255,.65) 99%,
    rgba(0,0,0,.38)
  );
  pointer-events: none;
}

/* Wciecie pod touchpadem — element .notch z CodePen. */
body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-notch {
  position: relative;
  z-index: 1;
  width: 14%;
  margin: -3.5% auto 0;
  padding: 0;
  border-radius: 0 0 8% 8% / 0 0 95% 95%;
  background: #d9d9df;
  box-shadow: inset -4px -1px 3px rgba(0,0,0,.18),
              inset 4px -1px 3px rgba(0,0,0,.18);
}

body:is(.page-id-4331, .postid-4331) .elementor-4331
.portfolio-showcase .nv-notch::before {
  content: '';
  display: block;
  padding-top: 10%;
}

/* Desktop: wolna przestrzen na podstawe urzadzenia. */
@media (min-width: 1025px) {
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-stage {
    overflow: visible !important;
  }

  /* Przesuwanie dlugiego zrzutu strony na hover — jak w CodePen.
     Przy zwyklym obrazie 1296x807 przesuniecie jest zerowe. */
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-viewport img {
    height: auto !important;
    min-height: 100% !important;
    transition: transform 3s ease;
    will-change: transform;
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .project-active .nv-viewport:hover img {
    transform: translateY(var(--nv-scroll-negative, 0px));
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .project-active .nv-macbook {
    filter: drop-shadow(0 22px 25px rgba(0, 0, 0, .33))
            drop-shadow(0 6px 22px var(--nv-laptop-glow));
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .project-active .nv-screen {
    border-color: #b9b4c6;
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  :is(.project-left, .project-right) .nv-macbook {
    filter: brightness(.73) saturate(.78);
  }

  /* Karty juz maja animacje i perspektywe w istniejacym sliderze.
     Nie nakladamy na nie dodatkowego rotateY / scale. */
}

/* Tablet i telefon: istniejące stage ma stała geometrię;
   wyswietlamy tylko ekran bez metalowej podstawy. */
@media (max-width: 1024px) {
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-screen {
    width: 100%;
    border: 1px solid rgba(178,138,255,.35);
    border-radius: 12px;
    background: #070914;
    box-shadow: 0 12px 28px rgba(0,0,0,.24);
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-screen::before {
    padding-top: 62.2685%;
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-screen::after,
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-base,
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-notch {
    display: none !important;
  }

  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-viewport {
    inset: 0;
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-macbook,
  body:is(.page-id-4331, .postid-4331) .elementor-4331
  .portfolio-showcase .nv-viewport img {
    transition: none !important;
  }
}

/* ==========================================
   NORIVI — REALIZACJE v3
   LAPTOP RESPONSIVE FIX
   TELEFON + TABLET
   ========================================== */

@media (max-width: 1024px) {

  /* Główna konstrukcja laptopa */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-macbook {
    display: block !important;
    position: relative;
    width: 100% !important;
    max-width: 800px;
    overflow: visible !important;
    margin-inline: auto;
  }

  /* Przywrócenie ekranu laptopa */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-screen {
    display: block !important;
    width: 84% !important;
    margin-inline: auto !important;

    background: #080910 !important;

    border: 2px solid #a8a7b4 !important;
    border-bottom: 2px solid #777783 !important;

    border-radius:
      3% 3% .5% .5% / 5% !important;

    overflow: hidden !important;

    box-shadow:
      inset 0 0 0 1px rgba(0,0,0,.75),
      0 12px 30px rgba(0,0,0,.3) !important;
  }

  /* Proporcje ekranu */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase
  .nv-screen::before {
    display: block !important;
    padding-top: 67% !important;
  }

  /* Przywrócenie obramowania ekranu */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase
  .nv-screen::after {
    display: block !important;
  }

  /* Obszar wyświetlania strony */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-viewport {
    position: absolute !important;
    inset: 4.3% 3.2% !important;

    border-radius: 2px !important;
    overflow: hidden !important;
  }

  /* Przywrócenie podstawy laptopa */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-base {
    display: block !important;
    position: relative;
    width: 100% !important;
  }

  /* Przywrócenie wycięcia */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-notch {
    display: block !important;
    position: relative;
    width: 14%;
  }

  /* Cień aktywnego laptopa */

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .project-active .nv-macbook {
    filter:
      drop-shadow(0 12px 20px rgba(0,0,0,.35))
      drop-shadow(0 3px 12px rgba(109,79,211,.16));
  }
}

/* ==========================================
   TABLET 768–1024 PX
   ========================================== */

@media (min-width: 768px) and (max-width: 1024px) {

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331 .portfolio-stage {
    overflow: visible !important;
  }

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .project-active .nv-macbook {
    transform: scale(1.12);
    transform-origin: center center;
  }
}

/* ==========================================
   TELEFON DO 767 PX
   ========================================== */

@media (max-width: 767px) {

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331 .portfolio-stage {
    overflow: visible !important;
  }

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .portfolio-showcase .nv-screen {
    width: 82% !important;
  }

  body:is(.page-id-4331,.postid-4331)
  .elementor-4331
  .project-active .nv-macbook {
    transform: none !important;
  }
}/* End custom CSS */