/* RUSENCOM v44 — journal poster media + repaired reference-card geometry. */

/*
 * Holiday artwork is a complete 16:9 composition, not a crop source.
 * Keep every logo, greeting and edge detail visible in archive cards.
 */
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-media{
  background:linear-gradient(180deg,#f4f6f7 0%,#e9edef 100%)!important;
}
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-media>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
}
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-media img{
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
html body .rsc-news-grid>li.rsc-news-poster:hover .rsc-news-card-media img{
  transform:none!important;
}
html body .rsc-news-grid>li.rsc-news-poster .rsc-news-card-media::before{
  background:linear-gradient(180deg,transparent 72%,rgba(7,16,24,.10) 100%)!important;
}

/* Work-post position reference cards: four concise facts, never one squeezed source paragraph. */
html body.single-post .rsc-news-facts{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
html body.single-post .rsc-news-facts>div{
  display:flex!important;
  min-width:0!important;
  min-height:118px!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  padding:18px!important;
}
html body.single-post .rsc-news-facts strong{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  font-size:clamp(16px,1.45vw,19px)!important;
  line-height:1.22!important;
}
html body.single-post .rsc-news-facts span{
  margin-top:12px!important;
}

@media(max-width:980px){
  html body.single-post .rsc-news-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:600px){
  html body.single-post .rsc-news-facts{
    grid-template-columns:1fr!important;
  }
  html body.single-post .rsc-news-facts>div{
    min-height:0!important;
  }
}
