
.blog-featured .heading-wrapper {
    margin-bottom: 60px;
}

.blog-featured h2 {
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.blog-featured .heading-subtext p {
    padding-bottom: 0;
}

.blog-featured .posts-repeater {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.blog-featured .posts-repeater .post-wrapper {
    flex: 0 0 calc(50% - 12px);
    text-decoration: none;
    transition: background-color 0.3s ease-in-out; 
}

.blog-featured .posts-repeater .post-card {
  overflow: hidden;
  padding: 20px;
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap:24px;
}

.blog-featured .posts-repeater .post-image {
  width: calc(50% - 12px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 375 / 270;
}

.blog-featured .posts-repeater .post-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 400ms ease;
    -moz-transition: transform 400ms ease;
    -webkit-transition: transform 400ms ease;
    -ms-transition: transform 400ms ease;
}

.blog-featured .posts-repeater .post-wrapper .post-card .post-image img:hover {
  transform: scale(1.1);
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transition: transform 400ms ease;
  }

.blog-featured .posts-repeater .post-info {
    width: calc(50% - 12px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-featured .posts-repeater .post-wrapper.featured {
  flex-basis: 100%;
}

.blog-featured .posts-repeater .post-wrapper.featured .post-card .post-image{
  flex: 0 0 calc(38% - 20px);
  aspect-ratio: 4/3;
} 

.blog-featured .posts-repeater .post-wrapper.featured .post-card .post-info {
  flex: 0 0 calc(62% - 20px);
} 

.blog-featured .posts-repeater .post-wrapper.featured .post-card {
  gap: 40px;
}

.blog-featured .posts-repeater .post-card .post-info .blog-tags-and-icon .svg-icon {
    width: 39px;
    height: 38px;
    display: block;
    background-size: cover;
    transition: all 0.4s ease-in-out;
    z-index: 1;
    transition: transform 0.3s ease-in-out, background-image 0.3s ease-in-out;
    float:right;
}

.blog-featured .posts-repeater .post-card .post-info .blog-tags-and-icon .svg-icon.active,
.blog-featured .posts-repeater .post-card .post-info .blog-tags-and-icon .svg-icon:hover {
    transform: rotate(-45deg);
    transition: all 0.4s ease-in-out;
    z-index: 1;
}

.blog-featured .posts-repeater .post-wrapper .post-card .post-title {
  text-decoration: none;
  line-height: 1.3;
}

.blog-featured .posts-repeater .post-card .post-title:hover {
    text-decoration: underline;
}

.blog-featured .posts-repeater a.topic-link {
  white-space: nowrap;
  line-height: 2.1;
}

.blog-featured .posts-repeater a.topic-link {
  padding: 4px 8px;
}
.blog-featured .posts-repeater a.topic-link:hover {
  text-decoration: none;
  color: var(--white-color) !important;
  background-color: var(--primary-color) !important;
}

.blog-featured .posts-repeater a.topic-link {
  transition: all .4s ;
}

.blog_featured-btn_container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

@media (max-width:1200px){
  .blog-featured .posts-repeater .post-wrapper .post-card {
    gap:12px;
  }

  .blog-featured .posts-repeater .post-wrapper.featured .post-card {
    gap: 24px;
  }

  .blog-featured .posts-repeater .post-image {
    width: 50%;
  }

  .blog-featured .posts-repeater .post-info {
      width: calc(50% - 12px);
  }

  .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-image {
      flex: 0 0 calc(38% - 12px)
  }

  .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-info {
      flex: 0 0 calc(62% - 12px)
  }

@media (max-width:1200px) and (min-width: 900px) {
  .blog-featured .posts-repeater .post-card {
    gap:8px;
    padding: 16px; 
  }

  .topic-link {
    font-size: 80%;
  }
}

@media (max-width: 850px) {
    .blog-featured .posts-repeater {
        flex-wrap: wrap;
        
    }
    .blog-featured .posts-repeater .post-wrapper {
        flex-basis: 100% !important;
    }

    .blog-featured .posts-repeater .post-wrapper .post-card,
    .blog-featured .posts-repeater .post-wrapper.featured .post-card {
        flex-direction: column;
        gap: 24px;
    }

    .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-title-and-desc {
      margin-bottom:30px;
    }

    .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-desc { 
      margin-right:10%;
    }

    .blog-featured .posts-repeater .post-wrapper .post-card .post-image,
    .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-image {
        width: 100%;
        aspect-ratio: 4/3;
        flex: unset;
        height:60%;
    }

    .blog-featured .posts-repeater .post-wrapper .post-card .post-image img {
      height:100%;
      object-fit:cover;
      max-width: unset;
      position: absolute;
      width: 100%;
    }

    .blog-featured .posts-repeater .post-wrapper .post-card .post-info,
    .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-info {
        width: 100%;
        flex: unset;
        height:40%;
    }
}

@media (max-width: 850px) { 

.blog-featured .posts-repeater .post-wrapper.featured .post-card .post-image {
        height:50%;
    }
  .blog-featured .posts-repeater .post-wrapper.featured .post-card .post-info {
        height:50%;
    }

}