/* Down side category */
.down-side-container {
  padding: 1em 4em 1em 4em;
  background-color: #fbfbfb;
}

.down-side-category {
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-top: 1px solid #f7f7f7;
}

@media screen and (max-width: 1280px) {
  .down-side-container {
    padding: 3em 3em 1em 3em;
  }
}

@media screen and (max-width: 1080px) {
  .down-side-container {
    padding: 3em 2em 1em 2em;
  }
}

@media screen and (max-width: 980px) {
  .down-side-container {
    padding: 3em 1.5em 1em 1.5em;
  }
}

@media screen and (max-width: 736px) {
  .down-side-container {
    padding: 2em 1em 1em 1em;
  }
}

/* About Us Offer*/
.offer-about-us {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 1em;
}

.points {
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  width: 600px;
  justify-content: space-around;
}

.points .service-boxes {
  max-width: 250px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem;
}

.points .service-boxes p {
  font-size: 1.2em;
  text-align: left;
  margin: 1em .5em 2em 1em;
}

.points .service-boxes .service-image {
  margin: 0 auto 1rem;
  width: 75px;
  height: 83px;
}

.content {
  width: 600px;
  height: auto;
}

.content p {
  color: #468966;
  line-height: 1.6;
}

.main-contain {
  margin: 0.6em 0;
  font-size: 1.2em;
}

.main-contain:nth-child(3){
  margin-bottom: 3em;
}

.product-offer {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5em;
}

.product-offer-box p{
  font-size: 1.35em;
}

.product-offer h3 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0;
  color: #468966;
  margin: 5px 0;
  padding: 0;
}

.product-offer p::before {
  display: inline-block;
  content: "✓";
  color: #468966;
  font-weight: bold;
  margin-right: 0.5em;
}

.product-offer a:hover {
  opacity: 0.5;
}

.content .title-page{
  font-size: 1.2em;
  margin: 1em 0;
}

.content .title-page{
  font-size: 1.3em;
}

.offer-about-us .title-page{
  font-size: 1.6em;
}

#container-company-second .column ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
}

#container-company-second .column ul li::before {
  content: "\2714";
  margin-right: 8px;
  color: #468966;
}

#container-company-second .column p, #container-company-second .column h3 {
  line-height: 1.6;
}

#container-company-second .column h3 {
  margin: .5em 0;
}

#container-company-second .orange-bg {
  width: 1200px;
}

@media screen and (min-width: 1920px) {
	#container-company-second .column {
	  width: 800px;
	}
}

@media screen and (max-width: 1780px) {
	#container-company-second .orange-bg {
	  width: 900px;
	}
}

@media screen and (max-width: 1600px) {
	#container-company-second .orange-bg {
	  width: 600px;
	}

}

@media screen and (max-width: 1280px) {
	.content .title-page, 
	.product-offer-box p, .main-contain{
	  font-size: 1.1em;
	 }
	 
	.offer-about-us .title-page {
	  font-size: 1.4em;
	}
	
	.points .service-boxes p {
      font-size: 1.2em;
    }
}

@media screen and (max-width: 1080px) {
	.content .title-page, 
	.product-offer-box p, .main-contain{
	  font-size: .95em;
	  }
	.offer-about-us .title-page {
	  font-size: 1.35em;
	}
}

@media screen and (max-width: 980px) {
	.content {
	  width: 100%;
	  }
	
	.offer-about-us {
	  align-items: flex-start;
	  width: 100%;
	  }
	.points {
	  flex-wrap: wrap;
	}
	.points .service-boxes p {
	  font-size: 1.3em;
	  }
}

@media screen and (max-width: 736px) {
	.product-offer {
	  margin-bottom: 2em;
	}

	.product-offer-box p, .main-contain {
	  font-size: 1.3em;
	}
	  
	.offer-about-us .title-page{
	  font-size: 1.2em;
	}
	  
	.content .title-page{
	  font-size: .95em;
	}
	
	.points {
	  width: 100%;;
	}
	  
	.points .service-boxes p {
	  font-size: 1em;
	}
	
	#container-company-second .orange-bg {
	  width: 100%;
	  margin: 0 !important;
	}
	
	#container-company-second .column p, #container-company-second ul li{
	  font-size: 1.3em;
	}

}

@media screen and (max-width: 480px) {
	  
	.offer-about-us .title-page, 
	.content .title-page, 
	.product-offer-box p, .main-contain{
	  font-size: .9em;
	  }
	
	.points {
	  width: 300px;
	  }
	
	.points .service-boxes {
	  max-width: 200px;
	  }

	.points .service-boxes .service-image {
	  width: 80px;
	  height: 90px;
	}
	  
	.points .service-boxes p {
	  font-size: 1em;
	}
	
	#container-company-second .column p, #container-company-second ul li{
	  font-size: .9em;
	}

}

/* Sales page */
#main-sales {
  width: 100%;
  height: auto;
  align-self: center;
}

#main-sales .container-page{
  background-color: #fbfbfb;
}

.wp-news {
  width: 100%;
  margin-top: 4em;
}

.news-thumb {
  margin: 2em;
  order: 2;
  align-self: center;
}

.news-content {
  order: 1;
  margin: 1em 0 !important;
}

.news-inner-wrap-view {
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;      
  border-radius: 18px;             
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); 
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.news-col-list .news-content {
  margin-left: 0% !important;
}

.news-col-list .news-inner-wrap-view{
  max-width: 1600px !important;
}

.news-col-list .news-thumb {
  margin-bottom: 2em !important;
}

.news-col-list .news-inner-wrap-view,
.type-news:last-child .news-inner-wrap-view {
  padding: 0 !important;
  border-bottom: none !important;
}

.news-short-content {
  line-height: 1.5 !important;
  color: #000;
  font-weight: 300;
  font-size: 1.5em !important;
}

.news .news-title a {
  color: #468966 !important;
  font-size: 2em !important;
  font-weight: 700;
  line-height: 1 !important;
}

.news .news-title {
  max-width: 1200px !important;
}

.grid-date-post a {
  color: #ffb03b !important;
  font-size: 1em !important;
}

.grid-date-post {
  font-size: 1.3em !important;
  color: #63b58a;
  margin-bottom: 10px !important;
}

.grid-news-thumb img {
  object-fit: fill !important;
}

.news-more-link {
  display: inline-block !important;
  padding: 10px 20px !important;
  background-color: #468966 !important; /* pastelowy, neutralny beż */
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 1.2em !important;
  border: none !important;
  border-radius: 999px !important;
  text-decoration: none;
  position: relative !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.news-more-link::after {
  content: '›' !important;
  display: inline-block !important;
  margin-left: 8px !important;
  transition: transform 0.3s ease !important;
}

.news-more-link:hover {
  background-color: #ffb03b !important; /* trochę ciemniejszy beż */
  color: #fff !important;
}

.news-thumb {
  width: 420px !important;
}

.grid-news-thumb {
  height: 100% !important;
  border-radius: 2em;
}

.news_pagination {
  color: #fff !important;
  margin: 80px 0px 80px 0px !important;
}

.news_pagination > .page-numbers:hover {
  color: #fff !important;
}

.page-numbers.current {
  background-color: #63b58a !important;
  color: #fff !important;
  border: none !important;
}

.news_pagination a {
  background: #468966 !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 16px !important;
}

.news_pagination a:hover {
  color: #fff !important;
  background-color: #ffb03b !important;
}

@media screen and (max-width: 980px) {
	
  .wp-news {
    margin: 0 0 1em 0;
  }

  .news-thumb {
    margin-top: 2em;
    order: 1;
    align-self: center;
	width: 100% !important;
	padding: 0 1.5em 1.5em 1.5em;
  }
  
  .grid-news-thumb {
	  height: 100% !important;
	}
  
  .news-col-list{
	margin-bottom: 2em;
  }

  .news-content {
    order: 2;
    margin-top: 0 !important;
	padding: 0 1.5em 1.5em 1.5em;
  }

  .news-inner-wrap-view {
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto !important;
    width: 86%;
	gap: 0px;
  }

  .news-col-list .news-content {
    margin-left: 0 !important;
    width: 100% !important;
    align-self: center;
  }
  
  .news-col-list .news-inner-wrap-view,
  .type-news:last-child .news-inner-wrap-view {
    padding: 0 !important;
	border-bottom: none !important;
  }

  .post-content-text {
    width: 100% !important;
  }

  .news_pagination {
    width: auto !important;
  }
}

@media screen and (max-width: 736px) {
  .news-inner-wrap-view {
    width: 100%;
  }
  
  .news-col-list .news-inner-wrap-view,
  .type-news:last-child .news-inner-wrap-view {
    padding: 0 !important;
    border-bottom: none !important;
  }

  .news-title {
    font-size: 1.05em !important;
  }
  
  .news-more-link {
	font-size: 1em !important;
    padding: 5px 10px !important;
   }
}

@media screen and (max-width: 640px) {
  .news-col-list .news-thumb {
    margin-bottom: 0 !important;
  }
  
   .news-more-link {
	font-size: 1em !important;
    padding: 5px 10px !important;
   }
  
}

@media screen and (max-width: 480px) {
	#main-sales .container-page .title-all-page{
	  font-size: 1.1em;
	}
	
	.grid-news-thumb img {
	  object-fit: fill !important;
	}
	  
	.news-col-list {
      width: 100%;
      float: left;
	  padding: 0 !important;
	 
	}

	.news-short-content {
	  font-size: 1.2em !important;
	}

	.news .news-title a {
	  font-size: 1.6em !important;
	}

	.grid-date-post a {
	  font-size: 1em !important;
	}

	.grid-date-post {
	  font-size: 1em !important;
	}

	.news-more-link {
	  font-size: 1em !important;
      padding: 5px 10px !important;
   }
 
}