/* Structural card layout shared by catalogues, profiles and creator blogs. */
.live-card{padding:0;overflow:hidden}
.card-preview{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;background:var(--soft);border-bottom:1px solid var(--line);color:var(--green)}
.live-card[data-edition=java] .card-preview{background:#f4eade;color:#936442}
.live-card[data-edition=bedrock] .card-preview{background:#e6edf6;color:#536e9b}
.card-preview picture{display:block}
.card-preview-symbol picture{width:min(32%,112px);height:112px;display:flex;align-items:center;justify-content:center}
.card-preview-symbol img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:10px}
.card-preview-landscape picture,.card-preview-landscape img{width:100%;height:100%;display:block}
.card-preview-landscape img{object-fit:cover}
.card-preview-icon{display:grid;place-items:center;border:1px solid currentColor;border-radius:18px;width:76px;height:76px;opacity:.7}
.card-preview-icon .ui-icon{width:38px;height:38px}
.card-preview-label,.card-preview-edition{position:absolute;bottom:12px;font-size:10px;line-height:1.4;font-weight:700;background:#fffffff2;color:#42504a;border:1px solid #ffffff;border-radius:5px;padding:5px 8px;max-width:68%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-preview-label{left:12px}.card-preview-edition{right:12px;max-width:28%}
.card-body{padding:21px;display:flex;flex-direction:column;flex:1;min-width:0}
.card-heading h3{font-size:19px;line-height:1.35}
.card-author{margin:9px 0 12px;font-size:11px}
.card-summary{font-size:12px;line-height:1.8;-webkit-line-clamp:2;margin-bottom:18px}
.card-bottom{margin-top:auto;padding-top:14px}
.card-footnote{font-size:10px;min-height:30px}
.card-footnote>span:first-child{display:flex;align-items:center;gap:5px;min-width:0}
.card-footnote .ui-icon{width:13px;height:13px}
.card-bottom .badges>span{font-size:10px;white-space:normal;display:inline-flex;line-height:1.5}
@media(min-width:1180px){.catalog-layout:not(.catalog-wide) .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.live-card{padding:0}.card-preview{aspect-ratio:16/8.5}.card-body{padding:20px}.card-preview-symbol picture{height:98px}.card-summary{font-size:13px}.card-author{font-size:11px}.card-footnote{font-size:10px}.card-heading h3{font-size:20px}.card-bottom .badges>span{font-size:11px}}
