.npg-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.npg-card {
  width: calc(33.33333% - 20px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.npg-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.npg-content {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.npg-content h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 26px;
  line-height: 32px;
  margin-top: 0px;
}

.npg-content p {
  font-weight: 400;
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 48px;
}

.npg-button {
  display: inline-block;
  background: #bbca63;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  transition: 0.2s;
  font-size: 18px;
  font-weight: 700;
}

.npg-button:hover {
  background: #183847;
}

.npg-pagination {
  margin-top: 100px;
  text-align: center;
  height: 54px;
}

.npg-pagination a {
  text-decoration: none;
  color: #18384759 !important;
  font-size: 22px;
  font-weight: 700;
  height: 54px;
  line-height: 54px; 
}

.npg-pagination .page-numbers.dots {
  text-decoration: none;
  color: #18384759 !important;
  font-size: 22px;
  font-weight: 700;
}

.npg-pagination .current {
  font-size: 22px;
  font-weight: 700;
  color: #183847;
}

.npg-pagination .page-numbers:not(.prev):not(.next):not(:last-child):not(:nth-last-child(2))::after {
  content: "|";
  margin-left: 16px;
  margin-right: 16px;
  color: #18384759;
}


.npg-pagination .prev.page-numbers {
  float: left;
  padding: 12px 50px;
  font-size: 20px;
  font-weight: 700;
  background-color: #183847;
  border-radius: 50px;
  color: white !important;
  line-height: 30px;
}

.npg-pagination .next.page-numbers {
  float: right;
  padding: 12px 50px;
  font-size: 20px;
  font-weight: 700;
  background-color: #183847;
  border-radius: 50px;
  color: white !important;
  line-height: 30px; 
}

.npg-pagination .page-numbers.disabled {
  background-color: transparent;
  color: transparent !important;
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 1024px) {
.npg-card {
  width: calc(50% - 15px);

}
}

@media screen and (max-width: 991px) {
  .npg-pagination .next.page-numbers,
  .npg-pagination .prev.page-numbers {
    display: none;
  }
}


@media screen and (max-width: 768px) {
.npg-card {
  width: 100%;
}

.npg-image img {
  height: 275px;
}

.npg-content {
  padding: 36px;
}

.npg-content h3 {
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 12px;
}

.npg-content p {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 48px;
}

}
