/* Homepage slots extend the canonical directory card; shell, typography and padding come from places.css. */
.app--home .beamii-entity-card .beamii-places-quick__thumb{height:168px;flex:0 0 168px;}
.app--home .beamii-entity-card .has-primary-logo{background:#edf2f5;isolation:isolate;}
/* Extend a tiny original corner, not the artwork. Transparent corners expose
 * the neutral base; only this decorative layer is enlarged, never the logo. */
.app--home .beamii-entity-card__logo-backdrop{position:absolute;top:0;left:0;display:block;width:2%;height:2%;object-fit:none;object-position:left top;transform:scale(64);transform-origin:top left;pointer-events:none;}
.app--home .beamii-entity-card__logo{z-index:1;}
.app--home .beamii-entity-card .beamii-places-quick__body{display:flex;flex-direction:column;flex:1;justify-content:flex-start;gap:8px;}
.app--home .beamii-entity-card .beamii-places-quick__top{flex:0 0 auto;align-items:start;align-content:start;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);}
.app--home .beamii-entity-card .beamii-places-quick__name{flex:0 0 auto;min-height:0;margin:0;line-height:1.22;}
.app--home .beamii-entity-card .beamii-places-quick__excerpt{flex:0 0 auto;min-height:0;margin:0;}
.app--home .beamii-entity-card .beamii-places-quick__bottom{min-width:0;margin-top:auto;}
.app--home .beamii-entity-card .beamii-places-quick__meta{min-width:0;}
.app--home .beamii-entity-card .beamii-places-quick__meta > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.app--home .beamii-entity-card .beamii-places-quick__cats{flex-wrap:nowrap;min-width:0;overflow:hidden;}
.app--home .beamii-entity-card .beamii-places-quick__dist{justify-self:end;min-width:0;max-width:100%;}
.app--home .beamii-entity-card .place-pill{
  display:inline-flex;align-items:center;gap:5px;box-sizing:border-box;
  min-width:0;max-width:100%;min-height:26px;padding:3px 8px;
  border-radius:999px;font-size:.68rem;line-height:1.3;font-weight:700;
}
/* Role-based colours, never carousel/category-specific status inventions. */
.app--home .beamii-entity-card .place-pill--cat,
.app--home .beamii-entity-card .place-pill--cat-more{
  background:#e6f2fa;color:var(--places-title,#102033);border:1px solid #cde3f0;
}
.app--home .beamii-entity-card:not(.beamii-home__quick-card--event) .place-pill--dist:not(.place-pill--current):not(.is-loading){
  background:#edf2f7;color:#2f4b66;border:1px solid rgba(16,32,51,.12);
}
.app--home .beamii-entity-card.beamii-home__quick-card--event .place-pill--dist{
  background:#e6f2fa;color:#155b7f;border:1px solid #cde3f0;
}
.app--home .beamii-entity-card .place-pill.is-loading{
  background:#fff9ef;color:var(--bm-warning,#9a5d08);border:1px solid #efd6af;
}
.app--home .beamii-entity-card .place-pill i{color:inherit;}
.app--home .beamii-entity-card .place-pill > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.app--home .beamii-entity-card .place-pill--dist > span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.25;}
/* Dates wrap only when their complete text needs more room. No empty rows. */
.app--home .beamii-entity-card.beamii-home__quick-card--event .beamii-places-quick__top{
  display:flex;flex-wrap:wrap;align-items:start;gap:8px;
}
.app--home .beamii-entity-card.beamii-home__quick-card--event .beamii-places-quick__dist{width:auto;max-width:100%;margin-left:auto;}
.app--home .beamii-entity-card.beamii-home__quick-card--event .place-pill--dist{
  border-radius:10px;align-items:flex-start;white-space:normal;
}
.app--home .beamii-entity-card.beamii-home__quick-card--event .place-pill--dist > span{
  display:block;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip;
  white-space:normal;line-height:1.4;text-wrap:pretty;
}
.app--home .beamii-entity-card.beamii-home__quick-card--event .place-pill--dist i{flex:0 0 auto;line-height:1.4;}
.app--home .beamii-entity-card .has-home-image{background:#f1f5f7;}
.app--home .beamii-entity-card .has-home-image::before{display:none;}
.app--home .beamii-entity-card__image{display:block;width:100%;height:100%;}
/* Complete posters/producer photos; routes opt into photographic fill. Logo policy stays shared. */
.app--home .has-home-contained-image .beamii-entity-card__image{object-fit:contain;}
.app--home .has-home-photo .beamii-entity-card__image{object-fit:cover;object-position:center;}
