/* ZIRFLO v1.2.1 — image-preserving personalised cards
   Personalisation controls card size, but no longer suppresses an available image. */

.story-card.medium .story-image-compact,
.story-card.tall .story-image-compact,
.story-card.wide .story-image-compact{
  min-height:170px;
  margin:-24px -24px 18px;
}

.story-card.wide .story-image-compact{
  min-height:190px;
}

.story-card.small .story-image-compact{
  min-height:118px;
  margin:-21px -21px 15px;
}

.story-image-compact .image-tag{
  left:12px;
  top:12px;
  padding:5px 7px;
  font-size:.58rem;
}

/* When an image request itself fails, keep the card shape stable rather than
   collapsing the entire visual area. */
.story-image-compact.image-failed{
  min-height:96px;
}

@media(max-width:700px){
  .story-card.medium .story-image-compact,
  .story-card.tall .story-image-compact,
  .story-card.wide .story-image-compact{
    min-height:150px;
  }

  .story-card.small .story-image-compact{
    min-height:110px;
  }
}
