.project-card {
    display: flex;
    width: min(340px, 100%);
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #EEE;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(44, 44, 44, 0.10);
}

.project-card-media {
    position: relative;
    width: 100%;
    height: 164px;
    overflow: hidden;
    border-radius: 8px;
    background: #F5F5F5;
}

.project-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-tags {
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-card-tags span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4px 10px;
    border-radius: 4px;
    background: #EBFFDF;
    color: #03492C;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.project-card-tags span+span {
    background: #EEE;
    color: #2C2C2C;
}

.project-card-body {
    width: 100%;
    min-width: 0;
}

.project-card-body h3 {
    display: -webkit-box;
    min-height: 56px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.project-card-meta {
    display: grid;
    gap: 5px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    list-style: none;
}

.project-card-meta li {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.project-card-meta li.is-empty svg,
.project-card-meta li.is-empty span {
    visibility: hidden;
}

.project-card-meta svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #2C2C2C;
}

.project-card-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: #009843;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.project-card-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.project-card-button:hover {
    background: #2F8840;
}
