.card{
  --backgrounnd-color:#fff;
  --border-radius: 4px;
  --body-padding: 30px;
  --shadow: 0 0 0 1px #DEDEDE, 0 0 0 rgba(0,0,0,0);
  --shadow-hover: 0 0 0 1px #DEDEDE, 0px 4px 20px rgba(0,0,0,.2);

  --image-background-color: rgba(0,0,0,.05);
  --image-height: 56.25%;
  --image-background-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 170'%3E%3Cpath style='fill:%23fff;' d='M0 169.9V0h220v169.9L0 169.9zM16 154h188V16H16V154z'/%3E%3Cpolygon style='fill:%23fff;' points='190 93.9 140 46 80 104 61 86 30 120.2 30 140 190 140 '/%3E%3Ccircle style='fill:%23fff;' cx='50' cy='50' r='20'/%3E%3C/svg%3E");

  --topic-color:rgba(0,0,0,.6);
  --topic-border-color:var(--topic-color);

}

@media (max-width: 758px){
  .card{
    --body-padding: 20px;
  }
}

.card{width:100%;}
.card__wrapper{width:100%; height:100%;border-radius: var(--border-radius);background: var(--backgrounnd-color);border: 0; box-shadow: var(--shadow); overflow:hidden; display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-webkit-box-direction: normal;-moz-box-direction: normal;-webkit-box-orient: vertical;-moz-box-orient: vertical;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;-webkit-flex-wrap: nowrap;-ms-flex-wrap: nowrap;flex-wrap: nowrap;-webkit-box-pack: start;-moz-box-pack: start;-webkit-justify-content: flex-start;-ms-flex-pack: start;justify-content: flex-start;-webkit-align-content: stretch;-ms-flex-line-pack: stretch;align-content: stretch;-webkit-box-align: stretch;-moz-box-align: stretch;-webkit-align-items: stretch;-ms-flex-align: stretch;align-items: stretch; -webkit-transition: all 200ms ease-in-out;-moz-transition: all 200ms ease-in-out;-ms-transition: all 200ms ease-in-out;-o-transition: all 200ms ease-in-out;transition: all 200ms ease-in-out;}
.card__wrapper--link{text-decoration:none; color:currentColor;}
.card__wrapper--link:hover{color:currentColor; box-shadow: var(--shadow-hover);}

.card__header{width:100%;}
.card__image-wrapper{width:100%; height:0; padding-bottom:var(--image-height); position:relative; background: var(--image-background-color) no-repeat center center var(--image-background-url); background-size:25%;}
.card__image{position:absolute; top:0; left:0; width:100%; height:100%; object-fit:contain;background-color:#fff;}
.card__image--contain{object-fit:contain;}

.card__body{width:100%; padding:var(--body-padding);}
.card__meta{font-size:1.2rem; line-height:1.4; color:#7ea69d; text-transform: uppercase;}
.card__title{font-size:2rem; color: #00483a; margin:0 0 1.6rem 0; overflow-wrap: break-word;word-wrap: break-word;-ms-hyphens: auto;-moz-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;}
.card__title-link{text-decoration:none;}
.card__title-link:hover{text-decoration:underline;}
.card__topics{margin-bottom:6px; font-size:1.3rem; line-height:1;}
.card__topic{margin:0 .4rem .4rem 0; display:inline-block; color:var(--topic-color);white-space:nowrap; padding:.4rem .5rem; border:1px solid var(--topic-border-color); border-radius:3px;}
.card__functions{font-weight:bold;}
.card__function + *:before{content:', ';}
.card__email-link{text-decoration:none;}
.card__email-link:hover{text-decoration:underline;}
.card__email-icon{height:11.71px; width:auto; margin-right:15.25px;}
.card__phone--link{text-decoration:none;}
.card__phone--link:hover{text-decoration:underline;}
.card__phone-icon{height:15.93px; width:auto; margin-right:14.07px;}

.card__footer{margin-top:auto;width:100%;padding: 0 var(--body-padding) var(--body-padding) var(--body-padding); color:var(--secondary-color); text-align:right; line-height:0;}
.card__footer-icon {max-height: 16.5px;}
.pagination{
  margin: 50px 0 60px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap:30px;
}

.pagination a{
  margin: 0 2px;
  padding: 4px 6px;
  display: inline-block;
  color: currentColor;
  text-decoration: none;

}

.pagination a:hover{
  color: #330c33;
}

.pagination a.active{
  font-weight: bold;
  pointer-events: none;
}

.pagination .pagination__next-link svg, .pagination .pagination__prev-link svg {
  height: 15px;
}
.breadcrumbs__wrapper{
  font-size: 1.4rem;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #7ea69d;
}
.breadcrumbs{
  margin: 0;
  display: inline-flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}
.breadcrumbs li a{
  color: #7ea69d;
  text-decoration: none;
}
.breadcrumbs li a:hover{
  text-decoration: underline;
}
.breadcrumbs li:last-child span{
  color: #48766c;
}


/* Page header listing */
.page-header-listing{
  padding-block: 100px;
  position: relative;
}

.page-header-listing__sub-heading{
  margin:0;
  font-size: clamp(1.6rem, 7vw, 2.8rem);
}

.page-header-listing__heading{
  margin:0;
}

.page-header-listing__content{
  max-width: 768px;
}

.page-header-listing__content * + *{
  margin-top: 2.5rem;
}

.page-header-listing__description{
  max-width: 620px;
}

.page-header-listing__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
    height: calc(200% - -1px);
  z-index: -1;
  overflow: hidden;
}

.page-header-listing{
  --bg-color: #fff;
}

.page-header-listing__bg-color-white{
  --bg-color: #fff;
}

.page-header-listing__bg-color-light-gray{
  --bg-color: var(--light_gray);
}

.page-header-listing__bg-color-primary{
  --bg-color: var(--primary);
}

.page-header-listing__bg-color-secondary{
  --bg-color: var(--secondary);
}

.page-header-listing__bg:before{
  --width: 30000px;
  --offset: -52.5%;
  --width: 10000px;
  --offset: -56.5%;
  content:'';
  display: block;
  width: var(--width);
  aspect-ratio: 1;
  background: var(--bg-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(var(--offset));
  border-radius: 50%;
  z-index: 2;
}

.page-header-listing__bg-image{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@media(max-width: 1800px){
  .page-header-listing__bg:before{
    --width: 10000px;
    --offset: -55%;
  }
}

@media(max-width: 1200px){
  .page-header-listing__bg:before{
    --width: 10000px;
    --offset: -57%;
  }
}

@media(max-width: 992px){
  .page-header-listing__bg:before{
    --width: 4000px;
    --offset: -57%;
  }
}

@media(max-width: 768px){
  .page-header-listing__bg:before{
    --width: 400%;
    --offset: -60%;
  }
}




/* Page header single */

.page-header-single{
  padding-block: 100px;
  position: relative;
}

.page-header-single__sub-heading{
  margin:0;
  font-size: clamp(1.6rem, 7vw, 2.8rem);
}

.page-header-single__heading{
  margin:0;
}

.page-header-single__content{
  max-width: 768px;
}

.page-header-single__content * + *{
  margin-top: 2.5rem;
}

.page-header-single__description{
  max-width: 620px;
}

.page-header-single__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
    height: calc(200% - -1px);
  z-index: -1;
  overflow: hidden;
}

.page-header-single{
  --bg-color: #fff;
}

.page-header-single__bg-color-white{
  --bg-color: #fff;
}

.page-header-single__bg-color-light-gray{
  --bg-color: var(--light_gray);
}

.page-header-single__bg-color-primary{
  --bg-color: var(--primary);
}

.page-header-single__bg-color-secondary{
  --bg-color: var(--secondary);
}

.page-header-single__bg:before{
  --width: 30000px;
  --offset: -52.5%;
  --width: 10000px;
  --offset: -56.5%;
  content:'';
  display: block;
  width: var(--width);
  aspect-ratio: 1;
  background: var(--bg-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(var(--offset));
  border-radius: 50%;
  z-index: 2;
}

.page-header-single__bg-image{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@media(max-width: 1800px){
  .page-header-single__bg:before{
    --width: 10000px;
    --offset: -55%;
  }
}

@media(max-width: 1200px){
  .page-header-single__bg:before{
    --width: 10000px;
    --offset: -57%;
  }
}

@media(max-width: 992px){
  .page-header-single__bg:before{
    --width: 4000px;
    --offset: -57%;
  }
}

@media(max-width: 768px){
  .page-header-single__bg:before{
    --width: 400%;
    --offset: -60%;
  }
}



body.hs-blog-listing{
  background-color:var(--white);
}



/* Blog listing */
.blog-listing{

}

.blog-listing .envipco-banner-home {
  margin-bottom: -141px;
}

.blog-listing .envipco-banner-home__content {
  max-width: 100%;
}
.blog-filter {
  background: var(--light_gray);
  padding: 40px;
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  position: relative;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  flex-direction: row;
  flex-wrap: wrap;
}

.blog-filter__list {
  padding: 15px;
  width: 525px;
  margin-right: 20px;
}
.blog-listing__title{
  margin:0;
  color: #00483a;
  font-weight:300;
  line-height:1.4;
  overflow:hidden;
}

.blog-listing__title span{
  display: inline-block;
  position: relative;
}

.blog-listing__title span:before {
  position: absolute;
  width: 1000px;
  left: 100%;
  margin-left: 15px;
  height: 1px;
  border-top: 2px solid transparent;
  border-color: #c3dbd6!important;
  top: 38px;
  content: "";
}

.blog-listing__breadcrumb-last{
  color: #48766c;
}

.blog-listing__grid {
  margin: 45px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(381px,100%),1fr));
  justify-items: center;
  justify-content: center;
  column-gap: 45px;
  row-gap: 90px;
  padding-bottom: 100px;
}

.pagination__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  background: var(--white);
  padding: 7px 44px;
  border-radius: 25px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.pagination .pagination__center a {
  margin: 0 auto ;
  width: 36px;
  height: 36px;
  padding:0;
  text-align: center;
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  border-radius: 100%;
  border: 1px solid var(--primary);
}

.pagination .pagination__center a.active {
  background-color: var(--primary);
  color: #fff;
}

.pagination .pagination__next-link svg {
  margin-left:10px;
}

.pagination .pagination__prev-link svg {
  margin-right:10px;
  transform: rotate(-180deg);
}



/* Blog post */

.blog-post{
  padding:40px 0;
}

.blog-post__wrapper{
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap:40px;
  margin-top: 100px;
}



.blog-post__sidebar-sticky{
  position: sticky;
  top:40px;
  left:0;
  background: #efefef;
  display:flex;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  gap:40px;
}



/********** Related blogs **********/
.related-blogs{
  padding: 100px 0;
  background-color: var(--light-gray-300);
}


.related-blogs__grid{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(330px,100%),1fr));
  justify-items: center;
  justify-content: center;
  gap:50px;
  column-gap: 50px;
  row-gap: 50px;
}



@media (max-width:768px){
  .blog-post__wrapper{
    grid-template-columns: 1fr;
  }
}



/* Blog post */
/*
.blog-post .breadcrumbs__wrapper{
max-width:750px;
margin:40px auto 30px auto;
}
.blog-post__featured-image{
max-width:850px;
margin:0 auto 40px auto;
}

.blog-post__featured-image picture{
display: block;
position: relative;
width: 100%;
height: 0;
/* 850 x 360 format */
/*padding-bottom: 42.3529411764706%;*/
}
/*
.blog-post__featured-image picture img{
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
object-fit: cover;
}

.blog-post__title{
font-size:4.8rem;
line-height: 1.4;
color: #00483a;
font-weight: 300;
overflow: hidden;
}

.blog-post__title span{
display: inline-block;
position: relative;
}

.blog-post__title span:before{
position: absolute;
width: 1000px;
left: 100%;
margin-left: 15px;
height: 1px;
border-top: 2px solid transparent;
border-color: #c3dbd6!important;
top: 38px;
content: "";
}

.blog-post__main{
max-width:750px;
margin:0 auto 120px auto;
}

.blog-post__meta{
font-size:1.2rem;
line-height:1.4;
color:#7ea69d;
text-transform: uppercase;
}
.blog-post__meta a{
color:currentColor;
text-decoration: none;
}
.blog-post__meta a:hover{
text-decoration: underline;
}

.blog-post__comments{
margin:50px 0 0 0;
padding:20px;
background:#fff;
}

*/