:root {
    --primary: #4fc19e;
    --secondary: #2a2a2a;
}
*{
    box-sizing: border-box;
}
.link{
    text-decoration: none;
    color:inherit;
}
.link2:hover{
    color:#fff;
  }
.swiper-btn{
    display:flex;
    gap:10px;
    justify-content:center;
    align-items:center;
}
.swiper-btn .link{
    display:flex;
    gap:10px;
    justify-content:center;
    align-items:center;
}
.btn2{
    background:#fff;
    color:#2a2a2a;
}
.btn2:hover{
    background:var(--primary);
    color:#fff;
}
.btn svg{
  color:#fff;
}
.btn2 svg{
  color:var(--primary);
}
.btn2:hover svg{
  color:inherit;
}
/* top menu kontakt */
.topmenu-icon-phone{
  margin-left:20px;
}
.topmenu-icon-envelope a, .topmenu-icon-phone a{
  position:relative;
}
.topmenu-icon-envelope a::before {
  content: url('../img/envelope.svg');
  position: absolute;
  left:-12px;
}
.topmenu-icon-phone a::before {
content: url('../img/phone.svg');
position: absolute;
left:-12px;
}
.site-header-top-section-left{
  margin-left:2rem;
}
.custom-box{
  position:relative;
  overflow:hidden;
}
.custom-box .wp-block-image:before{
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  content:"";
  transition: all 0.4s ease;
  background: url('../img/circle-plus.svg') no-repeat center;
}
.custom-box:hover .wp-block-image:before {
  top: 35%;
}
/*slider home*/
.swiper-box{
    height:70vh;
  }
.swiper-box .swiper-slide{
    display: flex;
    align-items: center;
    justify-content:center;
  }
  .swiper-box .swiper-button-prev, .swiper-button-next, .swiper-button-prev{
  color:#fff;
  }
  .swiper-box .swiper-button-prev:hover, .swiper-button-next:hover{
  color:var(--primary);
  }
  .swiper-box .slider-content{
    height:100%;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    width:620px;
  }
  .swiper-box .slider-title{
    color: #FFF;
    font-size: 58px;
    font-weight: 700;
    line-height: 66px; /* 100% */
    text-align:center;
  }
  .swiper-box .slider-desc{
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
    text-align:center;
  }
  .swiper-box .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary);
  }
  .swiper-box .btn-group{
    display:flex;
    gap:10px;
  }
  /* home realization slider */
.realization-swiper .swiper-slide {
    text-align: center;
}
.realization-swiper .realization-item {
  cursor:pointer;
  overflow:hidden;
}
.realization-swiper .realization-thumbnail {
  position:relative;
}
.realization-swiper .realization-item:hover .realization-thumbnail:before {
  top: 0%;
}
.realization-swiper .realization-item:hover .realization-thumbnail:after {
  top: 50%;
}
.realization-swiper .realization-thumbnail:before {
  background-color: #000;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  content:"";
  z-index:1;
  opacity:0.5;
  transition: all 0.4s ease;
}
.realization-swiper .realization-thumbnail:after {
position: absolute;
top: -100%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
content:"";
z-index:2;
transition: all 0.4s ease;
background: url('../img/circle-plus.svg') no-repeat center;
background-size: contain;
}
.realization-swiper .realization-thumbnail img {
  width:100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}
.realization-swiper .realization-title {
    padding: 12px;
    font-size: 18px;
    line-height:24px;
    margin:0;
    color:#fff;
    background:var(--primary);
}
 /* home blog */
.home-blog-section .entry-header{
    margin-bottom:0;
  }
.home-blog-section .entry-footer .post-more-link,
.blog .entry-footer .post-more-link{
    background:var(--primary);
    padding:8px 18px;
    color:#fff;
}
.content-area .home-blog-section .entry,
.blog .entry{
    position: relative;
}
.content-area .home-blog-section .loop-entry .entry-content-wrap{
    border:1px solid var(--primary);
    border-top:none;
    border-radius:0;
    padding:20px 20px 30px;
    text-align:center;
}
.home-blog-section .entry-meta .posted-on,
.blog .entry-content-wrap .posted-on{
    background:var(--primary);
    padding:6px 16px;
    color:#fff;
    position: absolute;
    top: 5%;
    left: 3%;
}
.blog .content-area {
    margin-top:4.5rem;
}
.blog.content-style-unboxed .wp-site-blocks .post-thumbnail{
    margin-bottom:0 !important;
}  
.blog .content-area .entry .entry-content-wrap{
    border:1px solid var(--primary);
    border-top:0; 
    padding:22px 16px;
}  
.content-area .home-blog-section .loop-entry .post-thumbnail{
    margin-bottom:0;
}
  /* single */
  .single-realizations .content-area .post-thumbnail.kadence-thumbnail-ratio-9-16,
  .single-post .content-area .post-thumbnail.kadence-thumbnail-ratio-9-16,
  .single-projects .content-area .post-thumbnail.kadence-thumbnail-ratio-9-16{
    padding-bottom: 45%;
    width: 75%;
    margin: 0 auto;
  }
  .single-post .content-area .entry{
    margin-top:40px;
  }
  .custom-related-section .entry-related{
    margin-bottom:0;
    margin-top:70px;
    background:#f7f7f7;
  }
  .custom-related-section .splide__pagination{
    display:none;
  }
  .custom-related-section .entry-related .entry-content-wrap{
     background:var(--primary);
     padding:16px;
  }
  .custom-related-section .entry-related .entry-content-wrap .entry-header{
    margin-bottom:0;
    text-align:center;
 }
 .custom-related-section .entry-related .entry-content-wrap .entry-header .entry-title{
  color:#fff;
  font-size:18px;
}
.custom-related-section .entry-related-title{
  padding:6px 32px;
  text-align:center;
  background:var(--primary);
  color:#fff;
  width:fit-content;
  margin:-85px auto 50px;
  font-size:22px;
}
.custom-related-section .entry-related .post-thumbnail:after{
  background-color: #000;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  content:"";
  z-index:1;
  opacity:0.5;
  transition: all 0.4s ease;
}
.custom-related-section .carousel-item:hover .post-thumbnail:after{
  top: 0%;
}
.custom-related-section .entry-related .post-thumbnail:before{
position: absolute;
top: -100%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
content:"";
z-index:2;
transition: all 0.4s ease;
background: url('../img/circle-plus.svg') no-repeat center;
background-size: contain;
}
.custom-related-section .carousel-item:hover .post-thumbnail:before{
  top: 50%;
}
  /* realizations, projects archive */
.post-type-archive-realizations.content-width-fullwidth .content-area,
.post-type-archive-projects.content-width-fullwidth .content-area{
  margin:70px 0;
}
.post-type-archive-realizations .content-area .grid-cols,
.post-type-archive-projects .content-area .grid-cols{
  column-gap: 0;
  row-gap: 0;
}
.archive.post-type-archive-realizations.content-style-unboxed .content-area .post-thumbnail,
.archive.post-type-archive-projects.content-style-unboxed .content-area .post-thumbnail{
  margin-bottom:0;
  position: relative;
}
.archive.post-type-archive-realizations.content-style-unboxed .content-area .post-thumbnail:before,
.archive.post-type-archive-projects.content-style-unboxed .content-area .post-thumbnail:before{
  background-color: #000;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  content:"";
  z-index:1;
  opacity:0.5;
  transition: all 0.4s ease;
}
.archive.post-type-archive-realizations.content-style-unboxed .content-area .post-thumbnail:after,
.archive.post-type-archive-projects.content-style-unboxed .content-area .post-thumbnail:after{
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  content:"";
  z-index:1;
  transition: all 0.4s ease;
  background: url('../img/circle-plus.svg') no-repeat center;
  background-size: contain;
}
.post-type-archive-realizations .content-area .entry-content-wrap,
.post-type-archive-projects .content-area .entry-content-wrap{
  text-align:center;
  margin-bottom:0;
  padding:16px;
  transition: all 0.3s ease;
}
.post-type-archive-realizations .content-area .entry-content-wrap .entry-header,
.post-type-archive-projects .content-area .entry-content-wrap .entry-header{
  margin-bottom:0;
  padding:16px;
}
.post-type-archive-realizations .content-area .entry:hover .post-thumbnail:before,
.post-type-archive-projects .content-area .entry:hover .post-thumbnail:before{
  top:0;
}
.post-type-archive-realizations .content-area .entry:hover .post-thumbnail:after,
.post-type-archive-projects .content-area .entry:hover .post-thumbnail:after{
  top:50%;
}
.post-type-archive-realizations .content-area .entry:hover .entry-content-wrap,
.post-type-archive-projects .content-area .entry:hover .entry-content-wrap{
  background:var(--primary);
}
.post-type-archive-realizations .content-area .entry:hover .entry-title,
.post-type-archive-projects .content-area .entry:hover .entry-title{
  color:#fff;
}
.post-type-archive-realizations .content-area .pagination,
.post-type-archive-projects .content-area .pagination,
.blog .content-area .pagination{
  text-align:center;
}
.post-type-archive-realizations .content-area .pagination .page-numbers,
.post-type-archive-projects .content-area .pagination .page-numbers,
.blog .content-area .pagination .page-numbers{
  border-radius:0;
}
/* footer */
.site-footer .menu-menu-stopka-container li {
  background:#393939;
  padding:4px 12px;
  border-left:2px solid var(--primary);
  margin-bottom:3px;
}
  @keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  .animated-left {
    animation: slideInLeft 0.7s ease-in-out;
  }
@media only screen and (max-width: 1024px) {
  .swiper-box{
    height:45vh;
  }
  .swiper-box .slider-title{
    font-size: 42px;
    line-height: 46px;
  }
  .realization-swiper .realization-title {
    font-size: 16px;
}
.home-blog-section .entry:last-child{
  display:none;
}
.video-modal-content {
  width:86%;
  }
}
@media only screen and (max-width: 768px) {
  .swiper-box{
    height:65vh;
  }
  .swiper-box .slider-content{
    width:86%;
    margin:0 auto;
  }
  .swiper-box .slider-title{
    font-size: 32px;
    line-height: 36px;
  }
.swiper-button-next::after, .swiper-button-prev::after {
  display:none;
}
.swiper-box .btn-group{
  flex-direction:column;
}
.video-modal-content {
  width:96%;
  }
}
@media only screen and (max-width: 340px) {
  .swiper-box{
    height:80vh;
  }
}