:root {
  --swiper-theme-color: #f39018;
  --n-primary-color: #f39018;
  --n-hover-primary-color: #f39018;
  --n-disable-primary-color: #F8A96E;
  --n-text-color: #000000;
  --bs-border-radius: 0;
  --swiper-navigation-size: 15px;
}
.list-group
{
    --bs-list-group-active-color: #fff;
    --bs-list-group-active-bg: var(--n-primary-color);
    --bs-list-group-active-border-color: var(--n-primary-color);;

    
} 
.btn {
  --bs-btn-padding-x: 3rem;
  --bs-btn-padding-y: .6rem;
  --bs-btn-font-size: .8rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-radius: 20px;
  text-transform: uppercase;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--n-primary-color);
  --bs-btn-border-color: var(--n-primary-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--n-hover-primary-color);
  --bs-btn-hover-border-color: var(--n-hover-primary-color);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--n-text-color);
  --bs-btn-active-bg: var(--n-hover-primary-color);
  --bs-btn-active-border-color: var(--n-hover-primary-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--n-text-color);
  --bs-btn-disabled-bg: var(--n-disable-primary-color);
  --bs-btn-disabled-border-color: var(--n-disable-primary-color);
}

    
body
{
    background: #efefef;
}
html
{
    /*
    scroll-snap-type: y mandatory;
    */
}

header.wp-block-template-part
{
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
}
.wp-block-site-logo img
{
    width: 130px !important;
    height: 52px;
}
header .wp-block-site-logo img
{
    filter: saturate(2) brightness(.7) invert(1) hue-rotate(180deg);
}
header.sticky .wp-block-site-logo img, header.sticky-perm .wp-block-site-logo img
{
    filter: saturate(1) brightness(1) invert(0) hue-rotate(0deg)
}

.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: auto;
    height: auto;
    margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px !important;
    color: #fff;
    outline: none !important;
    background: var(--swiper-theme-color) !important;
    transition: all .8s;
}


.swiper-button-next:hover, .swiper-button-prev:hover
{
    background: var(--swiper-theme-color);
    color: #fff;
    transition: all .2s;
    transform: scale(1.4);
}

a
{
    color: inherit;
    border: none !important;
    transition: all .3s;
}

a:hover
{
    color: var(--n-primary-color);
    transition: all .3s;
}
a:focus
{
    outline: none !important;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
}
.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none !important;
}
.accordion-button
{
    font-size: 1.2rem;
    
}
.swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    border-radius: 0;
    border: 2px solid var(--swiper-theme-color);
    background: none;
    opacity: 1;
    outline: none !important;
    transition: .3s all;
}
.swiper-pagination-bullet:hover
{
    transform: scale(1.2);
    transition: .3s all;

}
.swiper-pagination-bullet-active
{
    background: var(--swiper-theme-color);
}
.swiper-pagination {
    position: relative;
    text-align: center;
    transition: .3s opacity;
    z-index: 10;
    margin-top: 1rem;
}

.card-img, .card-img-bottom, .card-img-top {
    height: auto;
}
.card .thumbnail
{
    height: 200px;
    overflow: hidden;
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card .thumbnail img
{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0;
}

a.card, a.card:hover
{
    color: inherit;
    transition: all .3s;
}
a.card
{
    position: relative;
    z-index: 0;
    display: block;
}
a.card:hover
{
    z-index: 2;
}


a.card .thumbnail img
{
    transition: all .3s;
}
a.card:hover .thumbnail img
{
    transition: all .3s;
    transform: scale(1.2);
}

a.card .person
{
    height: 180px;
    display: flex;
    align-items: flex-end;
    transition: all .5s ease; 
        filter: grayscale(1);
    padding: 1rem 1rem 0 1rem;
    background: #fff;
    justify-content: center;
}
a.card:hover .person
{
    
    
    transition: all .5s ease;
        filter: grayscale(0);
}

a.card .person img
{
    width: 80%;
    margin: 0 10%;
    height: 100%;
    object-fit: contain; 
    object-position: bottom;
    transition: all .5s ease;
    transform-origin: bottom center;
} 
a.card:hover .person img
{
    transform-origin: bottom center;
    transition: all .5s ease;
    transform: scale(1.2);
}


a.card .other-thumbnail
{
    height: 100px;
    display: flex;
    align-items: flex-end;
    transition: all .5s ease; 
    padding: 1rem;
    justify-content: flex-start;
}
a.card .other-thumbnail img
{
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: all .5s ease;
    object-position: left;
    transform-origin: bottom left;
} 
a.card:hover .other-thumbnail img
{
    transition: all .5s ease;
    transform: scale(1.2);
}


.team-section .card .card-body
{
    position: relative;
    z-index: 1;
}

.posts-swiper a
{
    display: block;
    text-decoration: none;
    transition: all .3s ease !important;
    margin-top: 50px;
    margin-bottom: 100px;
}
.posts-swiper a .caption
{
    background: #fff;
}
.posts-swiper a .caption h5
{
    height: 72px;
}
.posts-swiper .thumbnail
{
    height: 200px;
    overflow: hidden;
    transition: all .3s ease !important;
}
.posts-swiper a:hover .thumbnail
{
    height: 250px;
    padding-top: 0;
}
.posts-swiper .thumbnail img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.posts-swiper a:hover
{
    margin-top: 0;
    /*
    background: #222;
    color: #fff;
    */
    color: inherit;
    transition: all .3s ease !important;
    margin-bottom: 0;
}

.posts-swiper a .excerpt
{
    height: 0;
    overflow: hidden;
    transition: all .3s ease;
    margin-bottom: 1rem;
}
.posts-swiper a:hover .excerpt
{
    height: 100px;
    transition: all .3s ease;
}

.form-control
{
    background: #fff;
    color: inherit;
}
.form-floating>label
{
    background: none;
}
.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after {
    position: absolute;
    inset: 1rem 0.375rem;
    z-index: -1;
    height: 1.5em;
    content: "";
    background: none !important;
    border-radius: var(--bs-border-radius);
    opacity: .4;
}
.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label
{
    color: inherit;
}
.form-control:focus {
    color: inherit;
    background: none;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
}


.cards-variant-1 .card
{
    display: block;
}
.cards-variant-1 .card .card-body
{
    position: relative;
}
.cards-variant-1 .card:hover
{
    z-index: 5;
    transition-delay: 0;
}
.cards-variant-1 .card .video
{
    margin-top: .8rem;
    transition: all .5s; 
}
.cards-variant-1 .card .video video
{
    width: 70px !important;
}
.cards-variant-1 .card h4
{
    font-size: 1.2rem;
}
.cards-variant-1 .card:hover .video
{
    transition: all .5s; 
    transform: scale(1.3);
    
}
.cards-variant-1 .card .card-text
{
    max-height: 0;
    transition: all .5s;
    z-index: 2;
    overflow: hidden;
    position: absolute;
    background: rgba(10,10,10,0.90);
    color: #fff;
    left: 0;
    padding: 0 1.6rem;
    width: 100%;
    margin-top: .6rem;
}
.cards-variant-1 .card:hover .card-text
{
    max-height: 400px;
    padding: 1.6rem 1.6rem;
    z-index: 10;
    transition: all .5s;  
    transition-delay: .5s;
    position: absolute;
}   
.cards-variant-1 .subpage-item, .cards-variant-1 .card-wrapper
{
    transition: all .5s;
    position: relative;
    z-index: 1;
    transition-delay: .5s;
    mix-blend-mode: multiply;
}
.cards-variant-1 .subpage-item:hover, .cards-variant-1 .card-wrapper:hover
{
    /*
    transform: scale(1.05);
    */
    transition: all .5s;
    position: relative;
    z-index: 4;
}

/* .cards-variant-2 */
.cards-variant-2 .card
{
    position: relative;
}
.cards-variant-2 .card .card-body
{
    position: absolute;
    bottom: 0;
    height: auto !important;
    background: #F5F5F5;
    padding: 1rem;
    transition: all .8s ease;
}
.cards-variant-2 .card:hover .card-body
{
    background: rgba(255,255,255,.95);
}
.cards-variant-2 .card .card-text
{
    max-height: 0;
    overflow: hidden;
    transition: all .8s ease;
}
.cards-variant-2 .card:hover .card-text
{
    max-height: 230px;
    transition: all .8s ease;
}
.cards-variant-2 .thumbnail
{
    height: 240px;
}

/* .cards-variant-3 */
.cards-variant-3 .card
{
    background: none;
    border: none;
}
.cards-variant-3 .card .card-body
{
    background: none;
    padding: 1rem 0;
}

.cards-variant-3 .card .card-title
{
    margin-bottom: 1rem;
    font-size: 1.2rem;
}


.card-text
{
    font-size: .9rem;
}
.card .video
{
    mix-blend-mode: multiply;
}

.section-fullpage
{
 /*   
    height: 100vh;
    
    scroll-snap-align: start;
    */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin-block-start: 0 !important; 
}
footer
{
    /*
    scroll-snap-align: start;
    */
}

.main-menu a
{
    text-transform: uppercase;
    text-decoration: none;
    font-size: .8rem;
    padding: .5rem 1.5rem;
    border-radius: 100px;
}
.main-menu a:hover
{
    background: rgba(255,255,255,1);
    color: var(--n-primary-color) !important;
}
.special-btn a
{
    display: block;
    background: var(--n-primary-color);
    color: #fff !important;
    padding: .5rem 1.5rem;
    border-radius: 2rem;
    opacity: 1;
}
.special-btn a:hover
{
    background: var(--n-primary-color);
    transform: scale(1.1);
    color: #fff !important;
}
.main-menu ul
{
    gap: 2px !important;
}

header a
{
    color: #fff;
}
header
{
    transition: all .3s ease;
    z-index: 50;
    background: none;
    color: #fff;
}
header.sticky, header.sticky-perm
{
    color: inherit;
    background: rgba(239,239,239,0.7);
    box-shadow: 0 0 6px rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
}
header.sticky .wp-block-group, header.sticky-perm .wp-block-group
{
    border-color: rgba(255,255,255,1) !important;
}
header.sticky a, header.sticky-perm a
{
    color: inherit;
}

.main-header-inner
{
    padding: 20px 0;
    transition: all .5s ease;
}
header.sticky .main-header-inner, header.sticky-perm .main-header-inner
{
    padding: 7px 0;
}
.team-section
{
    width: 90%;
    margin: 0 auto;
}
.team-section .card, .team-section .card-body
{
    background: none !important;
}

.section-hero
{
    
    height: calc(100vh);
    /*
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    */
}

.section-hero .wp-block-cover
{
    height: 79vh !important;
}

.cards-variant-4
{
    width: 90vw;
    margin: 50px auto 0 auto !important;
}
.section-hero .offer-btn
{
    position: absolute;
    bottom: 3vw;
}
.cards-variant-4 .row
{
    align-items: flex-end !important;
}

.cards-variant-4 .card
{
    display: flex;
    flex-direction: column-reverse;
    height: auto !important;
    background: #fff;
    padding-top: 0;
    transition: all .5s ease;
    position: relative;
    margin-bottom: 60px;
}
.cards-variant-4 .card:hover
{
    transition: all .5s ease;
    margin-bottom: 0;
}
.cards-variant-4 .card-body
{
    height: auto !important;
    position: absolute;
    bottom: 100%;
    background: #fff;
    padding-top: 25px;
}

.cards-variant-4 .card .card-title
{
    font-size: .9rem;
    text-transform: uppercase;
}
.cards-variant-4 .card .card-text
{
    max-height: 0;
    overflow: hidden;
    transition: all .8s ease;
}
.cards-variant-4 .card:hover .card-text
{
    max-height: 230px;
    transition: all .8s ease;
}

.cards-variant-4 .card .thumbnail
{
    background: #000;
    height: 140px;
    transition: all .5s ease;
}
.cards-variant-4 .card:hover .thumbnail
{
    height: 200px;
}
.cards-variant-4 .card .thumbnail img
{
    opacity: .9;
}
.cards-variant-4 .card:hover .thumbnail img
{
    opacity: 1;
}
.cards-variant-5 .card .card-body
{
    transition: all .5s ease;
}

.cards-variant-5 .card:hover
{
    background: rgba(255,255,255,.9) !important;
}
.cards-variant-5 .card .card-text
{
    margin-bottom: 130px;
    height: 0;
    overflow: hidden;
    transition: all .8s ease;
}
.cards-variant-5 .card:hover .card-text
{
    margin-bottom: 0;
    height: 130px;
    transition: all .8s ease;
}



.section-technologie
{
    
}

.section-fullpage .section-bg
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    opacity: 1;
    z-index: -2;
    
}
.section-fullpage .section-bg img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    max-height: none;
}
.section-fullpage .section-bg.section-bg-left img
{
    object-fit: contain;
    object-position: left;
}
.section-fullpage .section-bg.section-bg-right img
{
    object-fit: contain;
    object-position: right;
}
.section-fullpage .section-bg.section-bg-center
{
    
}
.section-fullpage .section-bg.section-bg-center img
{
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: auto;
}
.section-fullpage .section-bg.section-bg-center-bottom img
{
    object-fit: cover;
    object-position: bottom;
    height: 100%;
    width: 100%;
}

/* Gradient wtopienia */
/*
.section-fullpage:before,
.section-fullpage:after {
    top: 0;
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, #F5F5F5, transparent);
    z-index: -1;
    pointer-events: none;
    opacity: .8;
}
*/
/*
.section-fullpage:after {
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, #F5F5F5, transparent);
}
*/
.opacity-5
{
    opacity: .7 !important;
}
.opacity-1
{
    opacity: .1 !important;
    filter: grayscale(.5) !important;
}

.opacity-3
{
    opacity: .3 !important;
}
.g-1, .gy-1 {
    --bs-gutter-y: 1px !important;
}

.g-1, .gx-1 {
    --bs-gutter-x: 1px !important;
}

.cards-variant-4 .row
{
    --bs-gutter-y: 20px !important;
}
.wp-element-button:hover
{
    background: var(--n-primary-color) !important;
    color: #fff !important;
    transform: scale(1.1);
}
.h-120
{
    height: 120%;
}
.btn-xl
{
    font-size: 1.4rem;
    border-radius: 100px;
}

.technologie .card .thumbnail
{
    height: auto;
}
.technologie .card .thumbnail img
{
    height: auto;
    object-fit: contain !important;
}

.technologie .card-title
{
    font-size: 1.6rem;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
header.wp-block-template-part .wp-block-lazyblock-lista-innych-dzialow
header.wp-block-template-part .wp-block-lazyblock-lista-innych-dzialow
{
    display: inline-block;
}
header.wp-block-template-part .departments
{
    display: inline-flex;
    gap: 2px;
}

.departments a
{
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
}

header.wp-block-template-part .departments a
{
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 4px;
    padding: 1px 6px 1px 0;
    font-size: .7rem;
}

header.wp-block-template-part .departments a .icon img
{
    height: 22px;
    width: auto;
    transition: all .3s;
}
header.wp-block-template-part.sticky .departments a
{
    background: #fff;
    border: 1px solid rgba(255,255,255,1) !important;
}
header.wp-block-template-part .departments a:hover
{
    background: var(--n-primary-color);
    color: #fff;
    border: 1px solid var(--n-primary-color) !important;
}
header.wp-block-template-part .departments a:hover .icon img
{
    filter: brightness(0) invert(1);
}
footer
{
    position: relative;
}
footer .departments a .icon img
{
    height: 34px;
    width: auto;
    transition: all .3s;
}
.light-logo
{
        filter: saturate(2) brightness(.7) invert(1) hue-rotate(180deg);
}
footer i
{
    color: var(--n-primary-color);
}
footer .wp-block-navigation-link::before {
    content: '';                 /* Pusty element */
    display: inline-block;       /* Blok w linii */
    width: 8px;                  /* Średnica kropki */
    height: 8px;
    border-radius: 50%;          /* Zaokrąglenie – pełne koło */
    margin-right: 8px;           /* Odstęp między kropką a tekstem */
    vertical-align: middle;      /* Wyrównanie */
    background-color: var(--n-primary-color);
}
footer-content
{
    position: relative;
    z-index: 10;
}

.main-footer-content::before {
    content: '';                        /* Pusty element */
    display: block;                     /* Blokowy element */
    position: absolute;                 /* Pozycjonowanie względem rodzica */
    top: 0;
    width: 1340px;                        /* Pełna szerokość */
    height: 100%;                       /* Pełna wysokość */
    background: url('/wp-content/themes/twentytwentyfour/assets/images/footer.png') no-repeat;  /* Ścieżka do tła */
    background-size:contain;           /* Dopasowanie tła */
    background-position: right;        /* Wyśrodkowanie tła */
    z-index: -1;                        /* Tło za elementem */
    max-width: 1400px;
    left: calc((100vw - 1340px) / 2) ;
}
.main-footer a:hover
{
    text-decoration: none;
}
.footer-menu ul
{
    gap: 0;
    width: 100%;
}
.footer-menu ul li
{
    width: 100%;
}
.footer-menu a
{
    padding: .3rem .5rem;
    width: 100%;
    text-decoration: none !important;
}
.footer-menu a:hover
{
    color: var(--n-primary-color) !important;
}
.footer-menu
{
    background-color: rgba(255,255,255,.9) !important;
        backdrop-filter: blur(10px);
}
main
{
    margin-block-start: 0 !important;
    margin: 0 !important;
}

.section-other .thumbnail
{
    max-height: 300px;
    overflow: hidden;
    width: 100%;
}

.section-other .thumbnail img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: all .3s;
}
.section-other a:hover .thumbnail img
{
    transform: scale(1.2);
}
.section-other .item
{
    position: relative;
}
.section-other a
{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
}
.section-other .name
{
    position: absolute;
    top: 10px;
    left: 10px;
}
.section-other .icon img
{
    width: 85px;
    height: auto;
}
.wp-block-lazyblock-scrollspy
{
    height: 100%;
}
.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--primary-color);
    --bs-nav-link-hover-color: var(--primary-color);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: var(--n-primary-color);
}



.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Domyślnie jedna kolumna */
  gap: 3rem 1rem; /* Odstępy między kolumnami i wierszami */
}

/* Breakpoint dla średnich ekranów (>=768px) */
@media (min-width: 768px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr); /* Dwie kolumny */
  }
}

/* Breakpoint dla dużych ekranów (>=992px) */
@media (min-width: 992px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny */
  }
}

.wp-block-post-featured-image.sticky
{
    position: sticky;
    top: 130px;
}
.wp-block-query .wp-block-post-template > .wp-block-post
{
    margin-block-start: 0;
    padding: 0;
}

.wp-block-post {
  position: relative; /* Ustawienie pozycji jako bazowej dla linku */
}

.wp-block-post a::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Wyłączenie podkreślenia tekstu lub domyślnego stylu linku */
.wp-block-post a:hover,
.wp-block-post a:focus {
  text-decoration: none;
}
.wp-block-post a
{
    color: inherit;
}

.wp-block-post figure
{
    overflow: hidden;
}
.wp-block-post figure img
{
    transition: all .3s;
}
.wp-block-post:hover figure img 
{
    transition: all .3s;
    transform: scale(1.1);
}
.wp-block-post:hover a
{
    color: var(--wp--preset--color--accent-1);
}
.wp-block-query h3.wp-block-post-title
{
    font-size: 1.4rem;
}
.subpage-header
{
  /*      background-size: cover;
    background-attachment: fixed;
    background-position: center center !important; */
}
.sticky-top
{
    top: 150px; position: sticky;
    z-index: 2;
}
.category-block .list-group
{
    font-size: 1.2rem;
}
.category-block .list-group .list-group-item
{
    transition: all .3s;
}
.category-block .list-group .list-group-item:hover
{
    transition: all .3s;
    color: var(--n-primary-color);
    background: #fff;
}
.btn
{
    transition: all .3s;
}

.btn:hover
{
    transform: scale(1.2);
}
.homepage-link a
{
    text-decoration: none;
}
.referencje .item
{
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.referencje .title
{
    margin: 1rem 0;
}
.referencje .scope
{
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    
}
.referencje .caption
{
    padding: 1rem;
}
.referencje .description
{
    overflow: hidden;
}
.referencje .item .thumbnail
{
    height: 300px;
    background: #fff;
    padding: 1rem 2rem;
}
.referencje .item img
{
    transition: all .3s;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.referencje .item:hover img
{
    transform: scale(.8);
}

.realizacje .item
{
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.realizacje .title
{
    font-size: 1.4rem;
    line-height: 1.6;
}
.realizacje .caption
{
    padding: 1rem 0;
}
.realizacje .description
{
    overflow: hidden;
}
.realizacje .item .thumbnail
{
    height: 300px;
    overflow: hidden;
}
.realizacje .item img
{
    transition: all .3s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realizacje .item:hover img
{
    transform: scale(1.2);
}

.fancy-ico span {
    border: 2px solid #000 !important;
    border-radius: 50%;
    background: #000;
    box-shadow: none !important;
    transition: transform .25s ease-in-out;
    display: flex !important;
}
form br
{
    display: none;
}
.subpage-item a
{
    text-decoration: none;
    display: block;
}
.subpage-item a:hover
{
    color: inherit;
}
.poradnik .subpage-item a
{
    padding: 1rem;
}
.poradnik .subpage-item a .card-text
{
    display: none;
}
.poradnik .subpage-item a h5
{
    font-size: 1.3rem;
    margin: 0;
}
.poradnik .subpage-item a:hover
{
    background: var(--n-primary-color);
    color: #fff;
}
.wp-block-query-pagination a, .wp-block-query-pagination .current, .wp-block-query-pagination a:hover
{
    padding: .5rem .8rem;
    background: rgba(0,0,0,.05);
    text-decoration: none;
}
.wp-block-query-pagination a:hover
{
    background: none;
    color: var(--n-primary-color);
}
.wp-block-query-pagination .current
{
    background: none;
}
.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-previous:first-child {
    margin-inline-end: 0 !important;
}
.wp-block-query-pagination
{
    display: flex;
    justify-content: flex-end
}
.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type {
    margin-inline-start: 0 !important;
}