.project-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Kaanepilt */
.pc-cover-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
}
.pc-cover {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
}
.pc-cover-wrap:hover .pc-cover {
    transform: scale(1.03);
}
.pc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.pc-cover-wrap:hover .pc-overlay {
    opacity: 1;
}
.pc-total-badge {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: rgba(0,0,0,0.4);
    padding: 2px 10px;
    border-radius: 20px;
}

/* Pisipildid */
.pc-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.pc-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.pc-thumb:hover {
    opacity: 0.8;
    transform: scale(1.04);
}

/* "+X veel" viimane pisipilt */
.pc-thumb-more {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.pc-thumb-more img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.pc-thumb-more:hover .pc-more-overlay {
    background: rgba(0, 0, 0, 0.72);
}

/* Tekst */
.pc-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 4px 0 0;
}
.pc-sisu {
    line-height: 1.7;
    margin: 4px 0 0;
}
