/* Narrow, additive styles for Ghost editor cards.
   Only activates on gallery and bookmark blocks, never Wave's site layout. */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
}
.kg-gallery-image {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kg-bookmark-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.kg-bookmark-icon {
  width: 1rem;
  height: 1rem;
  max-width: 100%;
  object-fit: contain;
}
.kg-bookmark-author,
.kg-bookmark-publisher {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
