.blog-banner img {
  width: 100%;
}
.blog-banner {
  position: relative;
}
.blog-banner .text {
  font-size: 42px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 12%;
  left: 16%;
}
.blog-banner .text span {
  font-size: 28px;
  font-weight: 200;
}
.blog-heading {
  margin-bottom: 2rem;
}
.blog-heading .heading {
  font-size: 28px;
  font-weight: 600;
  color: #0d578b;
  text-align: center;
  /* font-size: 20px ;
  border-bottom: 2px #d9d9d9 solid;
  padding-bottom: 0.5rem;
  cursor: pointer;
  position: relative; */
}
.blog-heading .heading:hover {
  color: #0d578b;
  transition: 0.3s ease-in-out;
}
.blog-heading .heading::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background-color: #0d578b;
  height: 2px;
  transition: all 0.3s ease-in-out;
}
.blog-heading .heading:hover::after {
  width: 100%;
}

.blog-heading .heading-active {
  font-size: 20px;
  color: #0d578b;
  border-bottom: 2px #0d578b solid;
  padding-bottom: 4%;
  text-align: center;
  cursor: pointer;
}

.blog .pagebox {
  padding: 3% 0 0 0;
}

@media (max-width: 991px) {
  .blog {
    padding: 2rem 0;
  }
  .blog-banner {
    padding: 0;
  }
  .blog-banner .text {
    font-size: 26px;
    bottom: 6%;
    left: 6%;
  }
  .blog-heading {
    margin: 1rem 0;
  }
  .blog-banner .text span {
    font-size: 16px;
  }
  .blog-heading .heading {
    font-size: 24px;
    text-align: center;
  }

  .blog-heading .heading-active {
    color: #0d578b;
  }
  .blog .blog-card .card .card-body {
    background-color: #f7f7f7;
  }
  .blog .blog-card .card {
    margin: 0 0 0 0;
  }

  .blog-card .card .card-body .title {
    height: 1.35rem;
  }
  .pagebox .pagination a i,
  .pagebox .pagination a {
    font-size: 18px;
  }
}
