
#artefacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.artefact-card {
    background-color: var(--surface);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg-3);
}

.artefact-card .image-carousel {
    width: 100%;
    height: 200px;
    background-color: var(--bg-2);
}

.artefact-card .image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artefact-card .artefact-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.artefact-card h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.artefact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.uploader-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.uploader-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.artefact-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto; /* Pushes buttons to the bottom */
}
