.hp-thumb {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 96px;
    height: 66px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #dce2dc;
    border-radius: 10px;
    vertical-align: middle;
    background: #f3f5f2;
}
.hp-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}
.hp-thumb--cover { display: grid; width: 100%; height: 100%; }
.hp-thumb__label {
    position: absolute;
    left: 6px;
    bottom: 5px;
    border-radius: 5px;
    background: #ffefae;
    color: #302b1c;
    padding: 2px 5px;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.25;
}
.hp-file-preview, .hp-file-description {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    overflow-wrap: anywhere;
}
.hp-file-preview { margin-top: .5rem; font-size: .85rem; }
.hp-file-preview:empty { display: none; }
.hp-file-description > span:last-child { min-width: 0; }
@media (max-width: 550px) {
    .hp-thumb { width: 78px; height: 56px; }
    .hp-thumb--cover { width: 100%; height: 100%; }
}

.hp-thumb--project { width: 100%; height: 112px; }
.hp-thumb--project[hidden] { display: none; }
.hp-thumb--project svg { display: block; width: 100%; height: 100%; }
