/* News cards: one consistent layout (the plugin sized each card to its own image).
   Only grids that hold blog posts; the photo gallery grid is left alone. */
.wpr-grid:has(> .wpr-grid-item.type-post){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;
  height:auto!important;max-width:960px;margin:0 auto!important}
.wpr-grid:has(> .wpr-grid-item.type-post) > .wpr-grid-item{
  position:static!important;left:auto!important;top:auto!important;width:auto!important;
  transform:none!important;margin:0!important;display:flex}
.wpr-grid-item.type-post .wpr-grid-item-inner{display:flex;flex-direction:column;width:100%;height:100%;
  border:1px solid #e7e2da;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 6px 24px rgba(40,30,20,.06)}
.wpr-grid-item.type-post .wpr-grid-media-wrap{aspect-ratio:3/2;overflow:hidden}
.wpr-grid-item.type-post .wpr-grid-image-wrap,.wpr-grid-item.type-post .wpr-grid-image-wrap img{width:100%;height:100%}
.wpr-grid-item.type-post .wpr-grid-image-wrap img{object-fit:cover;object-position:center top;display:block}
.wpr-grid-item.type-post .wpr-grid-item-below-content{display:flex;flex-direction:column;flex:1;padding:18px 22px 16px!important;border:0!important}
.wpr-grid-item.type-post .wpr-grid-item-category{margin-top:auto;padding-top:10px}
@media(max-width:767px){.wpr-grid:has(> .wpr-grid-item.type-post){grid-template-columns:1fr;gap:22px}}
/* the plugin's entrance animation starts cards at opacity 0 / scale .01 and waits for its own layout pass,
   which no longer runs on these grids: show them directly */
.wpr-grid-item.type-post .wpr-grid-item-inner{opacity:1!important;transform:none!important;transition:none!important}
