/**
 * Mini feed banners: artwork IS the card (like curator --advice-bg).
 * Beats .card { background: var(--card-background) } gradient + img contain
 * letterboxing ("фон отдельно, баннер отдельно").
 *
 * Loaded after last-tall / canals-tall / equal-tablet contain rules.
 * Does not change injection / random rotation / neighbor-height matching.
 * Does not edit custom.css / custom.min.css / mobile-card-fixes / footer.php.
 * Marker: feedbannerembed20260814a
 */

html body .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full),
html body .tabs__content.tabs__content_active .cotinder-index-feed .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full),
html body .cotinder-index-feed .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
  background-image: var(--banner-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  overflow: hidden !important;
}

html body .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img,
html body .tabs__content.tabs__content_active .cotinder-index-feed[data-cotinder-feed-tab="last"] .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img,
html body .tabs__content.tabs__content_active .cotinder-index-feed[data-cotinder-feed-tab="canals"] .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img,
html body .tabs__content.tabs__content_active .cotinder-index-feed[data-cotinder-feed-tab="comunity"] .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img,
html body .tabs__content.tabs__content_active .cotinder-index-feed[data-cotinder-feed-tab="nko"] .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img,
html body .cotinder-index-feed .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;
}
