/* ===================================================
   Layout: Blog section
   File:   template-parts/flexible/blog_section/blog_section.css
=================================================== */

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

.heading-row-post {
  padding-bottom: 50px;
}

.b-left-img img {
  height: 450px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 24px;
}

.b-left-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-section__container p {
  margin: 0 !important;
}

.blog-section__container .b-link {
  text-decoration: none;
  color: inherit;
}

.b-right-img {
  display: grid;
  grid-template-columns: 30% 70%;
  height: 180px;
}

.b-right-content-wrap {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.b-right-wrap-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.b-right-img img {
  border-radius: 20px;
height: 180px;
object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .heading-row-post {
    padding-bottom: 0;
  }
  .b-left-img,
  .b-right-img {
    display: grid;
    grid-template-columns: calc(40% - 10px) calc(60% - 10px);
    gap: 20px;
    height: auto;
    margin-bottom: 24px;
  }
  .b-left-img img,
  .b-right-img img {
    height: 140px;
    width: 100%;
    border-radius: 10px;
  }
  .b-right-content-wrap {
    padding-left: 0;
  }
  .b-left-img img,
  .b-right-img img {
    border-radius: 10px;
    margin: 0;
  }
  .blog-section .icon-heading {
    padding-bottom: 24px;
  }
}
