
.WPDListBlock {
    display: flex;
    flex-direction: row;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    height: 150px;
    overflow: hidden;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.WPDListImageWrapper {
    width: 150px;
    height: 150px;
    background-color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.WPDListImage {
    max-width: 135px;
    max-height: 135px;
    object-fit: contain;
}

.WPDListContent {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.WPDListTitleBox {
    background-color: #999;
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

.WPDListDescription {
    font-size: 0.9em;
    color: #111;
    line-height: 1;
    padding: 8px 10px 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.WPDListMeta {
    background-color: #999;
    color: #fff;
    padding: 3px 8px;
    font-size: 0.75em;
    line-height: 1;
    text-align: right;
    align-self: flex-end;
    border-top-left-radius: 5px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .WPDListBlock {
        flex-direction: column;
        height: auto;
    }
    .WPDListImageWrapper {
        width: 100%;
        height: auto;
    }
    .WPDListImage {
        width: 100%;
        height: auto;
    }
    .WPDListTitleBox, .WPDListMeta {
        position: relative;
        width: 100%;
        border-radius: 0;
    }
}
