.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: 0 0 2rem 0;
  display: flex;
  justify-content: center;
}
.blog-heading .width {
  width: 62%;
}
.blog-heading .heading {
  font-size: 20px;
  text-align: center;
  border-bottom: 3px #ababab solid;
  color: #ababab;
  padding-bottom: 4%;
  cursor: pointer;
  position: relative;
}
.blog-heading .heading:hover {
  color: #d52926;
  transition: 0.3s ease-in-out;
}
.blog-heading .heading::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background-color: #d52926;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
.blog-heading .heading:hover::after {
  width: 100%;
}
.blog-heading .heading-active {
  font-size: 20px;
  color: #d52926;
  border-bottom: 3px #d52926 solid;
  padding-bottom: 4%;
  text-align: center;
  cursor: pointer;
}

.blog-card a {
  color: black;
}
.blog-card .card {
  border-radius: 0;
  border-color: white;
  margin: 0.75rem 0;
  border-bottom: 3px #ffffff solid;
}
.blog-card .card:hover {
  border-bottom: 3px #d52926 solid;
  transition: 0.3s ease-in-out;
}
.blog-card .card-img {
  overflow: hidden;
  border-radius: 0 0 0 0;
  position: relative;
}
.blog-card .card-img img {
  border-radius: 0 0 0 0;
}

.blog-card .card-body {
  background-color: #f2f2f2;
  padding: 1rem;
  border-radius: 0 0 0 0;
}
.blog-card .categ {
  font-size: 12px;
  background: #d52926;
  color: white;
  width: fit-content;
  padding: 0.2rem 0.5rem;
  position: absolute;
  left: 0;
  top: 10px;
}
.blog-card .card-body .title {
  font-size: 16px;
  font-weight: 400;
  height: 3rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.5rem 0;
}
.blog-card .card-body .detail {
  font-size: 14px;
  height: 2.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}
.blog-card .card-body .date i,
.blog-card .card-body .date .text {
  font-size: 14px;
  color: gray;
}

@media (max-width: 991px) {
  .blog-banner .text {
    font-size: 26px;
    bottom: 6%;
    left: 6%;
  }
  .blog-banner .text span {
    font-size: 16px;
  }
  .blog-heading .width {
    width: 100%;
  }
  .blog-heading .heading {
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    font-size: 18px;
  }
  .blog-heading {
    margin: 0.5rem 1rem;
  }
  .blog-card .card {
    margin: 0.5rem 0;
  }

  .pagebox .pagination a i,
  .pagebox .pagination a {
    font-size: 18px;
  }
}
