/* EPBD catalogue only. One complete image on a solid matte, never a blurred copy.
   Applies to the shared Student/Master card; reader and other courses are untouched. */
.academy-app .academy-ebd-card .academy-cover{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:280px auto auto;
  align-content:start;justify-content:normal;gap:0;width:100%;height:auto;
  min-height:0;aspect-ratio:auto;padding:0;overflow:hidden;
  background:#102638;color:#fff;border-radius:10px;text-align:left;
}
.academy-app .academy-ebd-card .academy-cover-photo{
  position:relative;inset:auto;display:block;grid-column:1;grid-row:1;
  width:100%;height:280px;min-height:280px;max-height:280px;
  padding:12px;box-sizing:border-box;object-fit:contain;object-position:center;
  background:#eae4d7;border-radius:0;transform:none!important;filter:none;
}
.academy-app .academy-ebd-card .academy-cover-shade{display:none}
.academy-app .academy-ebd-card .academy-cover-kicker{
  grid-column:1;grid-row:2;position:relative;margin:0;padding:12px 14px 0;
  font-size:10px;line-height:1.3;letter-spacing:2px;color:#e6c886;
}
.academy-app .academy-ebd-card .academy-cover-title{
  grid-column:1;grid-row:3;position:relative;width:auto;max-width:none;
  margin:0;padding:6px 14px 16px;font-size:20px;line-height:1.25;
  overflow-wrap:anywhere;text-shadow:none;color:#fff;
}
.academy-app .academy-ebd-card .academy-course-index{top:8px;left:8px;z-index:1}
.academy-app .academy-ebd-card .academy-play{display:none}
@media(max-width:767px){
  .academy-app .academy-ebd-card .academy-cover{grid-template-rows:250px auto auto}
  .academy-app .academy-ebd-card .academy-cover-photo{height:250px;min-height:250px;max-height:250px}
  .academy-app .academy-ebd-card .academy-cover-title{font-size:19px}
}

/* Only the Master's existing 3:1 opening artwork; no asset changes. */
.academy-epbd-folio[data-master=true][data-story=false] .folio-ink img[src="/academy-ebd-original/cover-wide.jpg"] {
  height:auto!important;
  min-height:0!important;
  max-height:62cqh!important;
  aspect-ratio:3/1;
  object-fit:contain!important;
}


