body {
  background: var(--this-body-bg);
}
.blg-body {
  background: var(--white);
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.blog-card {
  --height: 350px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  height: var(--height);
  color: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
  transform: translateZ(0); /* prevents blur */
  will-change: transform; /* hint for smoother GPU rendering */
}

.blog-card:hover {
  transform: scale(1.03);
}
.blog-card::after {
  content: "";
  position: absolute;
  /* background: linear-gradient(
    177.29deg,
    rgba(255, 255, 255, 0) -2.01%,
    #ffffff 86.89%
  ); */
  background: var(--bg-shadow-gradient);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}
.blog-list-img {
  width: 100%;
  height: var(--height);
  object-fit: cover;
}
.blog-card .date-badge {
  position: absolute;
  top: 25px;
  right: 20px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--black);
  font-size: var(--font-xs);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-weight: 500;
  z-index: 10;
}
.blog-cont {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: var(--white);
  z-index: 10;
}

.blog-card {
  margin-bottom: 30px;
}
.bl-link,
.bl-link:hover {
  color: var(--white);
  font-size: var(--font-s);
  display: flex;
  margin-top: 5px;
}

.b-c-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px;
}

.bl-banner-cont {
  max-width: 70%;
}

.bl-text,
.bl-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}

.bl-title {
  position: relative;
  font-size: var(--font-xl);
  font-family: var(--pf-medium);
}
.bl-text * {
  color: var(--white) !important;
  font-size: var(--font-s) !important;
  font-family: var(--pf-light) !important;
  font-weight: 300;
}
.bl-text hr {
  display: none;
}
.pg-wrap {
  display: flex;
  justify-content: flex-end; /* change to center if you want */
  margin-top: 16px;
}

.pg {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  margin: 0;
}

.pg-item {
  display: flex;
}

.pg-item > a,
.pg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--gray);
  background: #fff;
  color: var(--hm-blue);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pg-item.active > span, .pg-item > a:hover {
  background: #1f5fae;
  color: #fff;
  border-color: #1f5fae;
}

.pg-item.disabled .pg-link {
  opacity: 0.45;
  pointer-events: none;
}
.pg-wrap {
  justify-content: center;
}
@media (min-width: 992px) {
  .blog-card {
    --height: 400px;
  }
}
