/* MentorOnline Master Prompts v4.7 — exact 9:16 poster frame.
   Loaded after all legacy card CSS to prevent previous contain/blur styles. */
.momp-library .momp-card {max-width:270px!important;justify-self:start!important}
.momp-library .momp-card>.momp-art{
  display:block!important;position:relative!important;width:100%!important;
  height:auto!important;min-height:0!important;aspect-ratio:9/16!important;
  overflow:hidden!important;border:0!important;padding:0!important;
  background:#121c2d!important;border-radius:0!important;
}
.momp-library .momp-card>.momp-art .momp46-poster-img,
.momp-library .momp-card>.momp-art img:not(.momp46-poster-backdrop){
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center!important;
  background:transparent!important;padding:0!important;margin:0!important;
  transform:none!important;filter:none!important;border:0!important;box-shadow:none!important;
}
.momp-library .momp-card>.momp-art::after{content:none!important;display:none!important}
.momp-library .momp-card>.momp-art .momp46-poster-backdrop,
.momp-library .momp-card .momp-art-top,
.momp-library .momp-card .momp-art-video{display:none!important}
.momp-library .momp-card>.momp-art:hover .momp46-poster-img {transform:none!important;filter:none!important}
.momp-library .momp-card-body{padding:13px 13px 14px!important;gap:6px!important}
.momp-library .momp-card-body h3{font-size:14px!important;min-height:38px!important;max-height:41px!important;line-height:1.32!important}
.momp-library .momp-card-excerpt{min-height:32px!important;max-height:35px!important;font-size:11.5px!important;line-height:1.48!important}
.momp-library .momp45-card-stat{min-height:26px!important;gap:6px!important;flex-wrap:wrap!important}
.momp-library .momp45-card-stat span:not(.momp45-stat-empty){font-weight:750!important;color:#38465d!important}
.momp-library .momp47-figure-disclosure{cursor:help!important;color:#8794a7!important;font-size:13px!important;margin-left:1px!important}
.momp-library .momp47-video-note{display:inline-flex;align-items:center;width:max-content;max-width:100%;font:750 10.5px/1.3 var(--mo-body);color:#b52245;background:#fff1f4;border-radius:6px;padding:4px 6px}
.momp-library .momp-card-actions{padding-top:5px!important}
.momp-library .momp-card-actions .momp-btn{min-height:42px!important}
/* Four columns without widening a portrait beyond its intended dimensions. */
.momp-library .momp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
@media(max-width:1199px){
 .momp-library .momp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .momp-library .momp-card>.momp-art{height:auto!important;aspect-ratio:9/16!important}
}
@media(max-width:899px){
 .momp-library .momp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .momp-library .momp-card>.momp-art{height:auto!important;aspect-ratio:9/16!important}
}
@media(max-width:599px){
 .momp-library .momp-grid{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important}
 .momp-library .momp-card{width:min(100%,315px)!important;max-width:315px!important;justify-self:center!important}
 .momp-library .momp-card>.momp-art{height:auto!important;aspect-ratio:9/16!important}
}
@media(max-width:390px){.momp-library .momp-card>.momp-art{height:auto!important;aspect-ratio:9/16!important}}
