/* Base gallery layout */
.nhll-fbpp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Card */
.nhll-fbpp-photo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow .2s ease;
}
.nhll-fbpp-photo-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Grid for multiple images */
.nhll-fbpp-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.nhll-fbpp-photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Single image fallback */
.nhll-fbpp-photo-card > .nhll-fbpp-photo-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Content */
.nhll-fbpp-photo-content {
  padding: 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nhll-fbpp-photo-message {
  margin-bottom: 12px;
  font-size: 1.05em;
  line-height: 1.5;
}
.nhll-fbpp-photo-meta {
  font-size: .95em;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nhll-fbpp-photo-link {
  text-decoration: none;
  font-weight: 500;
}
.nhll-fbpp-photo-link:hover {
  text-decoration: underline;
}

/* Empty / Error states */
.nhll-fbpp-empty,
.nhll-fbpp-error {
  margin: 1em 0;
}
