/* Editorial surrounds; every demonstration remains one native Post Cards widget. */
.nps-post-cards-presentation,.nps-post-cards-presentation *{box-sizing:border-box}
.nps-post-cards-presentation .elementor-widget{min-width:0;max-width:100%;margin-bottom:0}
.nps-post-cards-presentation .elementor-heading-title{overflow-wrap:anywhere}
.nps-post-cards-presentation .elementor-widget-text-editor p{margin:0}
.nps-post-cards-presentation .nps-pc-inside>.e-con-inner{width:100%;min-width:0}
.nps-post-cards-presentation .nps-pc-row>.e-con{min-width:0}
.nps-post-cards-presentation .neo-premium-post-cards{width:100%;max-width:100%;margin:0 auto;padding:0}
.nps-post-cards-presentation .neo-premium-post-cards :is(.left-col,.right-col,.center-col,.side-posts,.left-top,.top-row,.bottom-row,.post,.main-post){min-width:0}
.nps-post-cards-presentation .neo-premium-post-cards :is(.article-title a,.category,.badge,.neo-button span){overflow-wrap:anywhere}
.nps-post-cards-presentation .neo-premium-post-cards .neo-button{max-width:100%;white-space:normal}
.nps-post-cards-presentation :is(.elementor-button,a):focus-visible{outline:2px solid currentColor;outline-offset:4px}
/* Native mobile height:auto + percentage-height image wrappers can collapse.
   Give text its own grid row and let real image links fill the resulting card. */
@media(max-width:992px){
 .nps-post-cards-presentation .neo-premium-post-cards :is(.left-col,.right-col,.center-col,.left-top,.left-bottom,.top-row,.bottom-row,.side-posts){height:auto!important}
 .nps-post-cards-presentation .neo-premium-post-cards :is(.post,.main-post){display:grid!important;grid-template-rows:minmax(140px,1fr) auto;min-height:400px;height:auto!important;flex-shrink:0}
 .nps-post-cards-presentation .neo-premium-post-cards :is(.post,.main-post)>a{position:absolute;inset:0;width:100%;height:100%}
 .nps-post-cards-presentation .neo-premium-post-cards .post-content{position:relative;grid-row:2;align-self:end}
 .nps-post-cards-presentation .neo-premium-post-cards .post-content a{height:auto}
}
@media(max-width:1023px){
 .nps-post-cards-presentation .nps-pc-row{flex-wrap:wrap}
 .nps-post-cards-presentation .nps-pc-mast-meta{width:40%!important}
}
@media(max-width:767px){
 .nps-post-cards-presentation .nps-pc-row{flex-direction:column;align-items:flex-start}
 .nps-post-cards-presentation .nps-pc-row>.e-con{width:100%!important}
 .nps-post-cards-presentation .nps-pc-mast-meta{width:100%!important}
 .nps-post-cards-presentation .nps-pc-rail{border-left-width:0!important;padding-left:0!important}
}
@media(prefers-reduced-motion:reduce){.nps-post-cards-presentation .neo-premium-post-cards *{transition:none!important}}
