/**
 * Entity detail (/pets/…, /pet-owners/…) mini feed banners.
 * Artwork IS the card (like curator --advice-bg / index feed --banner-bg).
 * Beats mobile-card-fixes contain + height:446|524 letterboxing.
 * Does not edit custom.css / custom.min.css / mobile-card-fixes / footer.php.
 * Index feed untouched (uses cotinder-feed-banner-embed.css).
 * Marker: entitybannerembed20260814a
 */

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-height: 0 !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-image: var(--banner-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (min-width: 768px) {
  .tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
    min-height: 446px !important;
  }
}

@media (max-width: 767.98px) {
  .tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
    min-height: 524px !important;
    height: 100% !important;
  }
}
