.blog-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-content > div {
  width: 23.8%;
}
.blog-content img {
  height: 200px;
  object-fit: cover;
  overflow: hidden;
}
.blog-index__post {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
}
.blog-tabs{
  position: absolute;
  height: auto;
  top: 128px;
  background: rgba(0, 0, 0, 0.03);
  left: 0;
  width: 100%;
  list-style: none;
  padding: 0 20px;
}
.blog-tabs__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 75px;
}
.blog-tabs__container li {
  padding: 23px 0;
  margin-bottom: 0px;
}
.blog-tabs__container li:has(> a.active) {
  border-bottom: 8px solid #F0B151;
}
.blog-tabs__container li > a.active {
  text-decoration: none;
  font-weight: 700;
}
@media(max-width: 992px){
  .blog-tabs__container {
    padding: 0px 20px;
    gap: 25px;
  }

  .blog-content > div {
    width: 48.5%;
  }
  .blog-tabs{
    padding: 0px;
  }
}
@media(max-width: 767px){
  .blog-tabs__container {
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
  }
  .blog-content > div {
    width: 100%;
  }
  .blog-tabs__container {
    gap: 0px;
    flex-direction: column;
  }
  .blog-tabs__container li {
    padding: 5px 0;
    margin-bottom: 0px;
  }
  .blog-tabs__container li:has(> a.active) {
    border-bottom: 2px solid #F0B151;
    width: fit-content;
  }
  .blog-tabs {
    top: 152px;
  }
}
{# Styles for featured post #}
.blog-index__featured-post{
  margin-bottom: 64px;
  max-width: 820px;
  width: 100%;
  box-shadow: -4px 9px 25px -6px rgba(0, 0, 0, 0.1);
}
.blog-index__featured-post .blog-index__post-content-image{
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.blog-index__featured-post-content{
  padding: 40px;
}
.blog-index__post-tags{
  margin-bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
a.blog-post__tag-link{
  margin-right: 8px;
  margin-bottom: 8px;
  color: #973041;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 110.023%;
  text-transform: capitalize;
}
.blog-index__post-title>h3>a{
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  color: #000000;
  text-transform: uppercase;
}
.blog-index__post-content-summary{
  margin-bottom: 0.5em;
}

.blog-index__custom-description {
  width: 50%;
  margin-bottom: 40px;
}

.blog-index__sort {
  display: flex;
  justify-content: right;
  margin-bottom: 60px;
  color: #000000;
  width: 100% !important;
}

.blog-index__sort select {
  border: none;
  font-weight: 700;
  background: transparent;
}

.blog-index__sort select:focus-visible {
  border: none;
}

.blog-index__post-tags h4 {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 110.023%;
  color: #973041;
}

.blog-index__post-title h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; 
  color: #000000;
  text-transform: capitalize;
}
.blog-content__heading p {
  width: 40%;
  font-size: 12px;
}
.blog-index__sort {
  display: flex;
  justify-content: right;
  margin-bottom: 60px;
  color: #000000;
  width: 100%;
}
.blog-index__sort select {
  border: none;
  font-weight: 700;
  background: transparent;
}
.blog-index__sort select:focus-visible {
  border: none;
}
@media(max-width: 992px){
  .blog-content__heading p {
    width: 100%;
  }
}
{# Styles for featured post #}
.blog-index__wrapper{
  margin: 0 auto;
  margin-bottom: 85px;
  display: grid;     
  justify-content: center;
  grid-auto-rows: minmax(30px, auto);
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
@media (max-width: 992px) {  
  .blog-index__wrapper{
    grid-template-columns: repeat(1, 1fr);
  }
  .blog-index__custom-description {
    width: 100%;
    margin-bottom: 50px;
  }
}
.blog-index__post{
  margin-bottom: 0;
  max-width: 820px;
  width: 100%;
  background: #FFFFFF;
}
.blog-index__wrapper .blog-index__post-content-image{
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.blog-index__post-container{
  padding: 20px;
}

.blog-index__post-author-name {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 13.203px;
}


.blog-author-heading,
.blog-tag-heading {
  padding-right: 1rem;
  margin-bottom: 0;
}

.blog-index {
  display: flex;
  flex-wrap: wrap;
}

.blog-index__post {
  flex: 0 0 100%;
  padding: 1.4rem 1rem;
}

@media screen and (min-width: 768px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-index__post--small {
    flex: 0 0 calc(100% / 3);
  }
}

@media screen and (min-width: 768px) {
  .blog-index__post--large {
    display: flex;
    flex: 1 0 100%;
  }
}

.blog-index__post-image {
  height: auto;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .blog-index__post-image-wrapper--large {
    flex: 1 1 48%;
  }

  .blog-index__post-content--large {
    flex: 1 1 48%;
    padding-left: 2rem;
  }

  .blog-index__post-content--full-width {
    flex: 1 1 100%;
    padding-left: 0;
  }
}

.blog-index__post-title {
  font-size: 1.25rem;
  height: 100px;
}

.blog-index__post-timestamp {
  display: block;
}

.blog-index__post-author {
  align-items: center;
  display: flex;
}

.blog-index__post-author-image {
  border-radius: 50%;
  height: auto;
  margin-right: 0.35rem;
  width: 30px;
}

.blog-index__post-title,
.blog-index__post-timestamp,
.blog-index__post-author,
.blog-index__post-image--small {
  margin: 0 0 0.7rem;
}

.blog-index__date-time-read{
  display: flex;
  justify-content: space-between;
}
