@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('navigation.css');
@import url('icons.css');
@import url('slider.css');

html {
    text-rendering: optimizeLegibility;
}
body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color:#000;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*
 * Default WP Alignment Classes
 *****************************************************************************/

 .aligncenter,
 .alignleft,
 .alignright {
     display: block;
     padding: 0;
 }
 
 .aligncenter {
     float: none;
     margin: .5em auto 1.5em;
 }
 
 .alignright {
     float: right;
     margin: .5em 0 1.5em .5em;
 }
 
 .alignleft {
     float: left;
     margin: .5em 1.5em 1em 0;
 }
 
 .wp-caption {
     padding: 5px 0;
     text-align: center;
     max-width: 100%;
 }
 
 .wp-caption img {
     display: inline;
 }
 
 .wp-caption p.wp-caption-text {
     margin: 5px 0 0;
     line-height: normal;
     padding: 0;
     text-align: center;
     font-size: 75%;
     font-weight: 100;
     color: #515151;
 }
 .gallery img {
    border: none!important;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    max-height: 230px;
 }
 .gallery {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    justify-content: flex-start;
    margin-bottom: 30px!important;
  }
  .shop-section .gallery {
    justify-content: space-between;
  }
  .gallery br {
    display: none;
  }
  @media (min-width: 992px) {
  .gallery.gallery-columns-1 .gallery-item { width: calc(100% - 20px)!important; }
  .gallery.gallery-columns-2 .gallery-item { width: calc(50% - 20px)!important; }
  .gallery.gallery-columns-3 .gallery-item { width: calc(33.3333% - 20px)!important; }
  .gallery.gallery-columns-4 .gallery-item { width: calc(25% - 20px)!important; }
  .gallery.gallery-columns-5 .gallery-item { width: calc(20% - 20px)!important; }
  .gallery.gallery-columns-6 .gallery-item { width: calc(16.6667% - 20px)!important; }
  /* Można dodać więcej kolumn jeśli trzeba */
  }
  .gallery-item {
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 10px;
  }
  .gallery-item:hover img {
    transition: all 0.5s;
  }
  .gallery-item:hover img {
    transform: scale(1.05);
    transition: all 0.5s;
    -webkit-box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.15);
    -moz-box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.15);
    box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.15);
  }
  .gallery-caption {
    text-align: center;
    color: #91CA40;
    font-size: 1em;
    font-weight: 600;
}
.gallery-icon img {
    margin-bottom: 11px;
    max-width: 100%;
}
img {
max-width: 100%;
height: auto;
} 
h1 {
    font-size: 1.875em;
    font-weight: 700;
    line-height: 120%;
}
h2 {
    font-size: 1.625em;
    line-height: 120%;
    font-weight: 600;
}
h3 {
    font-size: 1.325em;
    font-weight: 700;
}
h4 {
    font-size: 1.25em;
    font-weight: 700;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover{
    color: #91CA40;
    cursor: pointer;
    text-decoration: none;
}
section, .main-post, .single-main {
    padding: 40px 0;
position: relative;
z-index: 0;
}
.main-post {
position: relative;
    background-color: #F9FBFF;
}
.c-green {
    color:#91CA40;
}
.c-blue {
    color:#1916C8;
}
.c-white {
    color:#fff;
}
.green-btn {
    background-color: #91CA40;
    color: #fff;
    display: inline-flex;
    padding: 11px 13px;
    font-size: 0.75em;
    border-radius: 8px;
    align-items: center;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1.5px solid #91CA40;
    line-height: 100%;
    text-transform: lowercase;
    text-decoration: none;transition: all 0.5s;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
}
.green-btn:hover {
text-decoration: none;
transition: all 0.5s;
/* transform: translateY(-2px) scale(1.02);
box-shadow: 0 0 20px 2px rgba(168, 159, 216, 0.715); */
color: #fff;
cursor: pointer;
}
.btn-border {
    background-color: transparent;
    color: #fff;
    display: inline-flex;
    padding: 11px 13px;
    font-size: 0.75em;
    border-radius: 8px;
    align-items: center;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1.5px solid #fff;
    line-height: 100%;
    text-transform: lowercase;
    width: fit-content;
    text-decoration: none;transition: all 0.5s;
}
.btn-border:hover {
    text-decoration: none;
    transition: all 0.5s;
/* transform: translateY(-2px) scale(1.02);
box-shadow: 0 0 20px 2px rgba(168, 159, 216, 0.715); */
color: #fff;
cursor: pointer;
}
.btn-border .icon-arrow-right {
    background-color: #fff;
}
.green-btn .icon-arrow-right {
    background-color: #fff;
}

.white-btn {
    background-color: #fff;
    color: #91CA40;
    display: inline-flex;
    padding: 11px 13px;
    font-size: 0.75em;
    border-radius: 8px;
    align-items: center;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1.5px solid #fff;
    line-height: 100%;
    text-transform: lowercase;
    text-decoration: none;transition: all 0.5s;
    width: fit-content;
}
.white-btn:hover {
    /* transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px 2px rgba(168, 159, 216, 0.715); */
    transition: all 0.5s;
text-decoration: none;
}
.btn-more-article {
    mask-image: url('../img/icons/arrow-more.svg');   
    width:36px;
    height:36px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    mask-size: cover;
    mask-repeat: no-repeat;
    background-color: #91CA40;
}
.trim {
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .trim:before {
    content: "";
    position: absolute;
    border: white solid 1.5px;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    opacity: 0;
    transition-duration: 0.3s;
    transition-property: opacity;
    border-radius: 8px;
  }
  .trim:hover:before {
    opacity: 1;
  }
  /* Outline Outward */
.outline-outward {
 
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .outline-outward:before {
    content: "";
    position: absolute;
    border: #fff solid 1.5px;
    border-radius: 8px;
    top: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    left: -1.5px;
    transition-duration: 0.3s;
    transition-property: top right bottom left;
  }
  .outline-outward:hover:before {
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
  }
  
  header-top {
    padding: 15px 0;
    background-color: #fff;
    z-index: 9;
    transition: transform 0.3s ease-in-out;
}
#mobile-nav .green-btn {
    margin: 5px 15px;
    width: calc(100% - 30px);
}
/* offer */
.offer {
    position: relative;
}
.offer::before {
    content: '';
    position: absolute;
    background: url(../img/nasza-ofera-before.png);
    width: 170px;
    height: 270px;
    background-repeat: no-repeat;
    background-size: contain;
    top: 75px;
    left: 0;
    background-position: top;
    z-index: -1;
}
.offer::after {
    content: '';
    position: absolute;
    background: url(../img/nasza-ofera-after.png);
    width: 270px;
    height: 390px;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0px;
    background-position: right bottom;
    right: 0;
    z-index: -1;
}
.offer-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: fit-content;
    overflow:hidden;
    margin-bottom: 40px;
}
.offer-item img {
    height: 240px;
    margin-bottom: 32px;
    min-width: 100%;
    overflow: hidden;
    display: block;
    object-fit: cover;
}
.offer-item h3 {
    margin-bottom: 24px;
}
.offer-item p {
    margin-bottom: 32px;
}
.offer-item .offer-text {
    min-height: 200px;
}
.btn-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
/* Section about*/
.about {
    background-color: #FAF5FF;
}
.about-img {
    width: 100%;
    height:340px;
    background-position: center;
    background-size: cover;
    display: block;
    background-repeat: no-repeat;
    margin-bottom: 30px;
    position: relative;
    border-radius: 60px;
}
.about-bg, .bg-about-2 {
    position: relative;
}
.about-bg:after {
    content: '';
    position: absolute;
    background: url(../img/o-nas-bg.png);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    top: -30px;
    left: -20px;
    background-position: left top;
}
.about:after {
    content: '';
    position: absolute;
    background: url(../img/onas-bg.png);
    width: 110px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: contain;
    top: auto;
    bottom: 0;
    right: 0;
    z-index: -1;
    background-position: right center;
}
/* Pge contact*/
.map-content {
    width: 100%;
    height: 440px;
    position: relative;
    z-index: 0;
    left: 0;
    right: 0;
}

.contact-info {
    padding: 65px 0 0;
    position: relative;
    font-size: 0.875em;
}
.contact-desc {
    width: 100%;
}
.contact-career {
    margin: 50px 0;
}
.leaflet-tile {
    filter: grayscale(100%) !important;
}

.contact-wrapper {
    margin-bottom: 20px;
}
/*** To top *****/
#scroll {
    position:relative;
    left:auto;
    top:auto;
    cursor:pointer;
    width:36px;
    height:36px;
    text-indent:-9999px;
    display:none;
}
#scroll span {
    position:relative;
    top:0;
    left:0;
    mask-image: url('../img/arrow-top.svg');   
    width:36px;
    height:36px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    mask-size: cover;
    mask-repeat: no-repeat;
    background-color: #fff;
}
#scroll:hover span {
    
    background-color: #91CA40;
}
/**** News *******/
.article-list {
    background-color: #fff;
    border: 1px solid #E1E1E1;
    overflow: hidden;
    height: fit-content;
    /* max-height: 510px; */
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transition: all .3s;
}
.article-list:hover {
    cursor: pointer;    
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: scale(1.01);
}
.article-list img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.article-list .article-date {
    font-size: .75em;
    color: #BDBDBD;
    margin-bottom: 5px;
}
.article-list h3 {
color: #91CA40;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height:fit-content;
    font-size: 1.2em;
}

.article-list .article-wrap {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    /* align-items: flex-end; */
}
.article-list .article-desc p {
    display: -webkit-box;
  -webkit-line-clamp: 5; /* Ogranicza tekst do 5 linii */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  
  font-size: 0.875em;
  line-height: 100%;
  height: fit-content;
}
.single-main {
    padding: 50px 0;
    position: relative;
}
.single-main:after, .blog .main-post:after {
    content: '';
    position: absolute;
    background: url(../img/Oferta-bg.png);
    width: 100%;
  top: 0;
    height:100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: -1;
}
/*Single article*/
.single-post-wrap {
    margin-bottom: 50px;
}
.single-excerpt p {
    font-size: 1.25em;
    font-weight: 700;
    line-height: 24px;
}
.entry-title {
      margin-bottom: 25px;
      font-weight: 700;
}
.date {
    font-size: .875em;
    color: #BDBDBD;
    margin-bottom: 7px;
    font-weight: 400;
    display: block;
}

/********** Custom pagination ***********/
.custom-pagination {
    list-style: none !important;
    padding: 0;
    /* margin: 30px 0 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.custom-pagination li {
    margin: 0 5px;
}

.custom-pagination a,
.custom-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    width: 38px;
    height: 38px;
    background-color: #fff;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: 1.5px solid #fff;
    font-size: 0.75em;
}

.custom-pagination a:hover {
    color: #91CA40;
    cursor: pointer;
    border: 1.5px solid #91CA40;
}

.custom-pagination .current {
    background-color: #91CA40;
    border: 2px solid #91CA40;
    color: #fff;
    font-weight: bold;
}

.custom-pagination span {
    cursor: default;
}

/**** Why Chose Us - section *****/
.why-chose-us {
    background-color: #FAF5FF;
}
.box-wrap {
    width: 100%;
    display: flex;
    column-gap: 20px;
    row-gap: 20px;
    flex: 1;
    flex-wrap: wrap;
    padding: 50px 20px 0;
    justify-content: center;
}

.box-item {
    border-radius: 8px;
    background: #A89FD8;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-basis: 100%;
    text-align: center;
    padding: 60px 40px 30px;
}
.box-item img {
    width: 100%;
    height: 100px;
    margin-bottom: 35px;
}
.box-item h5 {
    font-size:1.125em;
    font-weight: 700;
}
.box-item p {
    font-size: .875em;
    font-weight: 400;
}
/**** Section realization ****/
.realization {
    background-color: #9bdc3a;
    position: relative;
    overflow: hidden;
    padding: 0;
    color: white;
    height: fit-content;
  }
  .realization:after {
    display: none;
    content: '';
    position: absolute;
    background: url(../img/realizacje-bg.png);
    width: 230px;
    height: 331px;
    left: 0;
    top: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    z-index: -1;
  }
  .realization .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .realization-bg {
    width: 100%;
    height: 440px;
    position: relative;
    z-index: 0;
    left: 0;
    right: 0;
  }
  .realization-bg img {
    object-fit: cover;
    height: 100%;
  }
.wrap-content-home {
    padding: 40px 15px;
	z-index:1;
}
/****Page catalog ****/
.catalog-wrapper a {
    display: flex;
    padding-right: 45px;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: start;
    font-size:1.375em;
    color: #5F50AD;
    font-weight: 400;
    padding-bottom: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #868686;
}
.catalog-wrapper a:before {
    content: '';
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 35px;
    background-image: url(../img/icons/icon-book.svg);
    background-position: center;
    background-size: contain;
}
.catalog-wrapper a::after {
    content: "";
    position: absolute;
    right: 0;
        mask-image: url('../img/icons/arrow-more.svg');   
        width:36px;
        height:36px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        display: block;
        mask-size: cover;
        mask-repeat: no-repeat;
        background-color: #5F50AD;
}
/**** Page reference ****/
.reference {
    background:#F9FBFF;
    position: relative;
}
.reference:before {
    content: '';
    position: absolute;
    background: url(../img/referencje-stripe.png);
    width: 325px;
    left: -40px;
    bottom: 0;
    height: 285px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    
    display: none;
}
.reference:after {
    content: '';
    position: absolute;
    background: url(../img/referencje-stripe-after.png);
    width: 100%;
    right: 0;
    bottom: 0;
    height:150px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.reference-content {
    position: relative;
}
.reference-content:after {
    content: '';
    position: absolute;
    background: url(../img/main-bg.png);
    width: 100%;
  top: 0;
    height:100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.reference-content .gallery-icon {
border:1px solid #cdcdcd;
margin-bottom: 20px;
}
.reference-content .gallery-icon  img {
    object-fit: cover;
    aspect-ratio: 3 / 4;
    max-height: 230px;
}
.reference-content .gallery-caption {
    text-align: left;
    color: #6D6D6D;
    font-size: 1em;
}
.reference-img {
    position: relative;
}
.reference-img img {
    width: 100%;
    height:340px;
    border-radius: 60px;
  object-fit: cover;
    margin-bottom: 30px;
    position: relative;
}
.reference-img:before {
    content: '';
    position: absolute;
    background: url(../img/referencje-bg-before.png);
    width: 50%;
    left: -40px;
    top: -20px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    z-index: 1;
}

/***Page Realization */
.realization-wrapper {
    background-color: #F9FBFF;
}
.realizacje-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 40px;
  }
  
  .realizacja-item {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
  }
  
  .realizacje-grid .realizacja-item:hover {
    transform: translateY(-5px);
  }
  
  .realizacja-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    height: 218px;
  }
  
  .realizacja-title {
    margin-top: 10px;
    text-align: center;
    color: #91CA40;
    font-size: 1em;
    font-weight: 600;
  }
  /* RESPONSYWNOŚĆ */
@media (max-width: 1200px) {
    .realizacje-grid-wrapper {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (max-width: 768px) {
    .realizacje-grid-wrapper {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 480px) {
    .realizacje-grid-wrapper {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 1023px) {

    .custom-pagination a,
    .custom-pagination span {
        padding: 6px 8px;
        width: 30px;
        height: 30px;
    }

    .custom-pagination li {
        margin: 0 8px;
    }
}
/*offer ****/
.offer-content .gallery {
    max-width: 85%;
    margin: auto;
}
.offer-content  .gallery-icon img {
        object-fit: cover;
        aspect-ratio: 1 / 1;
        height: 218px;
        border-radius: 8px;
        margin-bottom: 11px;
        width: auto;
        max-width: 100%;
}
.offer-content .gallery-caption {
    text-align: center;
    color: #91CA40;
    font-size: 1em;
    font-weight: 600;
}
/*** SHop ****/
.shop-section {
    padding: 25px 0;
    background: #A3CF3E;
background: linear-gradient(90deg,rgba(163, 207, 62, 1) 0%, rgba(79, 185, 73, 1) 100%);
color: #fff;
}
.shop-section  .gallery-icon  img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
    width: auto;
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    margin-bottom: 11px;
}
.shop-section  .gallery-caption {
    text-align: center;
    color: #fff;
    font-size: .875em;
    font-weight: 600;
}
.header-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.header-section h3 .icon-shop {
    width: 20px;
    min-width: 20px;
    height: 26px;
    margin-right: 10px;
    margin-left: 0;
}
.header-section h3 {
    display: flex;
    align-items: center;
}
.custom-logo-link img {
    height: 30px;
    width: 100%;
}
/**** Footer *****/
.footer-top {
    background: #343434;
    color: #fff;
    padding: 25px 0;
}
.footer-data-wrap {
    color: #fff;
    font-size: .75em;
    font-weight: 400;
}
.footer-top a {
    color: #fff;	
}
.footer-data-wrap {
    display: flex;
}
.widget-right .footer-data-wrap {
    align-items: center;
}
.widget-right ul {
	padding-left:0;
}
.footer i {
    display: block;
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 17px;
}
.footer-data-wrap .icon-pin {
    background-image: url('../img/pin-white.svg');
}
.footer-data-wrap .icon-envelope {
    background-image: url('../img/envelope-white.svg');
    display: block;
    width: 11px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;    
    margin-right: 17px;
}
.footer-data-wrap .icon-phone {
    background-image: url('../img/phone-white.svg');
    display: block;
    width: 11px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 17px;
}
.footer-data-wrap .icon-cellphone {
    background-image: url('../img/kom-white.svg');
    display: block;
    width: 11px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 17px;
}
.footer-data-wrap .icon-facebook {
    background-image: url('../img/facebook-icon.svg');
    display: block;
    width: 11px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 17px;
	margin-top:5px;
}
.footer-data-wrap .icon-instagram {
    background-image: url('../img/instagram-icon.svg');
    display: block;
    width: 11px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 17px;
	margin-top:5px;
}
#footer-logotype {
    width: auto;
    max-width: 100%;
    height: 42px;
    margin-bottom: 20px;
}
.footer-bottom {
    padding: 7px 0;
    background-color: #fff;
    color: #000;
    display: flex;
}
.footer-bottom p {
    display: inline-block;
    margin:0;
    font-size: .75em;
    margin-bottom: 0;
}
.footer-bottom-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: center;
    column-gap: 5px;
    row-gap: 5px;
}
.footer-bottom-link a {    
    font-size: .75em;
    display: inline-block;
}
.footer-bottom-link a img {    
    display: inline-block;
}
@media (max-width: 991.98px) {
    
  }
  

@media (max-width: 991px) {

    .gallery .gallery-item {
        width: 50%!important;
      }
      .reference-content .gallery-item {
        width: 33%!important;
    }
}
  /* Telefon: max 768px → 1 kolumna */
  @media (max-width: 7678px) {
    .gallery .gallery-item {
      width: 100%!important;
    }
    .reference-content .gallery-item {
        width: 50%!important;
    }
  }
@media (min-width: 576px) {
    
    .article-list img {
        height: 150px;
        min-height: 150px;
    }
}
@media (min-width: 768px) {
    .article-list img {
        width: 100%;
        height: 180px;
        min-height: 180px;
        object-fit: cover;
    }
    .header-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;     
}
.header-section h3 {
    margin-bottom: 0;
}

.box-item {
    flex-basis: calc((100% - 60px) / 3);
}
}
@media (min-width: 992px) {
    /*Contact*/
    .contact-wrapper {
        margin-bottom: 45px;
    }
    .contact-info {
        padding: 80px 0;
    }
    .contact-desc {
        width: 50%;
    }
    .contact-career {
        margin-bottom: 0;
    }
    .map-content {
        width: 50%;
        height: 100%;
        position: absolute;
        z-index: 0;
        top: 0;
        right: 0;
        left: auto;
        padding: 0 0 0 15px;
    }
    .article-list {
        height: 440px;
    }
    
    .article-list img {
        width: 100%;
        height: 190px;
        min-height: 190px;
        object-fit: cover;
    }
    .article-list h3 {
        height: 80px;
    }
    .article-list .article-desc p {
        -webkit-line-clamp: 3;
    }
    .realization {
        min-height: 700px;
        display: flex;
      }
    .realization-bg {
        width: 50%;
        height: 100%;
        position: absolute;
        z-index: 0;
        top: 0;
        right: 0;
        padding-left: 15px;
        left: auto;
    }
    .offer-item {
        height: 500px;
        margin-bottom: 0;
    }
    .about-img {
        height: 510px;
        width: 510px;
        max-width: 100%;
        margin-bottom: 0;
    }
    .about:after {
        width: 199px;
        height: 170px;
        z-index: 1;
    }
    .btn-wrap a {
        min-width: 170px;
    }
    .reference-img img {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: 540px;    
        margin-bottom: 0;
    }
    .realization:after {
        display: block;
    }
    .reference:before {        
        display: block;
    }
    .reference:after {
        right: 10%;
        height: 277px;
    }
    .reference-img:before {
     top:-70px;
    }

}
@media (min-width: 1200px) {
    .box-item {
        flex-basis: calc((100% - 100px) / 3);
    }
    .custom-logo-link img {
        height: 40px;
        width: 100%;
    }
    .container {
        max-width: 1190px;
    }
    h2 {
        font-size: 2.5em;
        line-height: 120%;
    }
    h3 {
        font-size: 1.5em;
        line-height: 130%;
    }
    section, .main-post, .single-main {
        padding: 90px 0;
    }
    .page-template-page-offer .single-main {
        padding-bottom: 0;
    }
    .shop-section {
        padding:40px 0;
    }
    
    .article-list h3 {
        -webkit-line-clamp: 2;
        height: 50px;
    }
    .article-list img {
        width: 100%;
        min-height: 200px;
        height: 200px;
        object-fit: cover;
    }
}
@media (min-width: 1560px) {
    /*Article */
    .article-list {
      height: 480px;
      max-height: 480px;
  }
  .article-list .article-desc p {
    -webkit-line-clamp: 2;
  }
  .article-list img {
      width: 100%;
      min-height: 230px;
      height: 230px;
      object-fit: cover;
  }
  .box-item {
    flex-basis: calc((100% - 80px) / 5);
}
}
/*back*/
.back {
    background: #E5E5E5;
    border-radius: 10px;
    padding: 12px 17px;
    color: #1D3557;
    font-weight: 700;
    margin-right: 15px;
    text-decoration: none !important;
    width: 132px;
    height: 42px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    bottom: -72px;
    top: auto;
    font-size: 0.889rem;
}

.back:hover {
    background: #4FAF5E;
    color: #fff;
    cursor: pointer;
}
