.dg-ndbp-wrap {
  margin: 24px 0;
}

.dg-ndbp-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d96b6b;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition: transform .18s ease, box-shadow .18s ease;
}

.dg-ndbp-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.dg-ndbp-thumb {
  position: relative;
  display: block;
  width: 162px;
  min-width: 162px;
  background: #e9e9e9;
}

.dg-ndbp-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
}

.dg-ndbp-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  min-width: 0;
  flex: 1;
  background: #fff;
}

.dg-ndbp-label {
  display: block;
  margin-bottom: 6px;
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.dg-ndbp-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #222;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  word-break: break-word;
}

.dg-ndbp-placeholder {
  padding: 16px;
  border: 1px dashed #cfcfcf;
  background: #fafafa;
  border-radius: 4px;
  color: #444;
}

.dg-ndbp-placeholder.is-error {
  border-color: #d96b6b;
  background: #fff7f7;
}

.dg-ndbp-placeholder strong {
  display: block;
  margin-bottom: 6px;
}

.dg-ndbp-placeholder p {
  margin: 0;
}

@media (max-width: 640px) {
  .dg-ndbp-card {
    max-width: 100%;
  }

  .dg-ndbp-thumb {
    width: 140px;
    min-width: 140px;
  }

  .dg-ndbp-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .dg-ndbp-card {
    flex-direction: row;
  }

  .dg-ndbp-thumb,
  .dg-ndbp-thumb img {
    min-width: 20%;
	height: auto;
  }
}
