.mp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mp-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: #0263aa;
  box-shadow: 0 12px 26px rgba(8, 27, 64, 0.12);
}

.mp-card__media {
  position: relative;
  background: #d7dde6;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.mp-card__media-bg,
.mp-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.mp-card__media-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mp-card__placeholder {
  background: linear-gradient(135deg, #cfd6df, #e9eef5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-card__fallback {
  max-width: 70%;
  height: auto;
  padding: 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(8, 27, 64, 0.18);
}

.mp-card__label {
  position: absolute;
  right: 16px;
  top: 14px;
  background: #f28c28;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.mp-card__content {
  padding: 18px 20px 22px;
  color: #fff;
}

.mp-card__title {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: inherit;
}

.mp-card__meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.mp-empty {
  padding: 16px 0;
}

.mp-pagination {
  margin-top: 26px;
}

.mp-pagination ul {
  list-style: none;
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.mp-pagination li {
  margin: 0;
  list-style: none;
}

.mp-pagination li::marker {
  content: "";
}

.mp-pagination a,
.mp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 0.95rem;
  text-decoration: none;
  background: #f2f4f8;
  color: #1e2a3a;
}

.mp-pagination .current {
  background: #344454;
  color: #fff;
}

.mp-pagination a:hover {
  background: #dfe5ef;
}

@media (max-width: 1024px) {
  .mp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .mp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mp-card__content {
    padding: 16px 16px 20px;
  }

  .mp-card__title {
    font-size: 1.1rem;
  }
}
.single-project .probu-news .col.no-spacing {
  width: 100%;
}

.single-project .probu-news > .col-sm-3 {
  display: none;
}
