.blog-feed {
  position: relative;
  min-height: 100px;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url(./loading.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.blog-item {
  position: relative;
  margin-bottom: 40px;
  max-width: 1086px;
}
.blog-item .item-container {
  display: grid;
  grid-template-columns: 388px 1fr;
  column-gap: 96px;
}
.blog-item a {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
}
.blog-item:hover h4 {
  text-decoration: underline;
}
.blog-item h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  color: #393045;
  margin-bottom: 0;
}
.blog-item p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 28px;
}

.blog-item .meta {
  border-top: solid 1px #6f7938;
  padding-top: 6px;
  margin-top: 14px;
}

.blog-item .date {
  margin-bottom: 4px;
}
.blog-item .date,
.blog-item .terms {
  font-size: 14px;
  line-height: 24px;
}
.blog-item .featured-image {
  min-height: 266px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.blog-item .blog-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-right: 137px;
}
.blog-item svg {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -22px;
}
.blog-item g {
  fill: #6f7938;
  stroke: none;
}
.blog-item:hover g {
  fill: rgb(57, 48, 68);
}

.blog-load-more {
  position: relative;
  margin-top: 59px;
}
.blog-load-more.loading a {
  opacity: 0;
}
.blog-load-more,
.blog-load-more a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-load-more a {
  flex-direction: row;
}
.blog-load-more a {
  width: 164.39px;
  height: 49px;
  border-radius: 25px;
  border: solid 2px #393044;
  text-decoration: none !important;
}
.blog-load-more a span {
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #393044;
  margin-right: 11px;
}
.blog-load-more svg {
  margin-top: 1px;
}
.blog-load-more a:hover {
  background-color: #393044;
}
.blog-load-more a:hover span {
  color: #fff;
}
.blog-load-more a:hover path {
  stroke: #fff;
}

.no-more-post {
  text-align: center;
  color: red;
  font-size: 18px;
  font-weight: 600;
  margin: 59px 0;
}

.blog-category {
  position: relative;
  display: inline-block;
  width: auto;
}
.blog-category svg {
  position: absolute;
  top: 15px;
  right: 21px;
  z-index: 5;
  width: 9px;
}
#blog-category {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: solid 1px #393044 !important;
  border-radius: 21px !important;
  background-color: #fff !important;
  padding: 9px 34px 10px 21px !important;
  cursor: pointer;
}
.blog-category:hover #blog-category {
  background-color: #393044 !important;
  color: #fff !important;
}
.blog-category:hover path {
  stroke: #fff !important;
}

@media only screen and (max-width: 1024px) {
  .blog-item .item-container {
    grid-template-columns: 188px 1fr;
    grid-column-gap: 30px;
  }
  .blog-item .featured-image {
    min-height: 200px;
  }
  .blog-item .blog-details {
    padding-right: 80px;
  }
}
@media only screen and (max-width: 767px) {
  .blog-item {
    margin-bottom: 60px;
  }
  .blog-item .item-container {
    grid-template-columns: 1fr;
  }
  .blog-item .featured-image {
    margin-bottom: 40px;
  }
  .blog-item .blog-details {
    padding-right: 0;
  }

  .blog-item .meta {
    margin-top: 20px; 
  }

  .blog-item svg {
    margin-top: 60px;
  }
}