/* Collection hierarchy (Is Part Of / Has Part) navigation on item set pages. */

.collection-trail .breadcrumb {
    background: none;
    padding: 0;
    flex-wrap: wrap;
}

.collection-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.collection-card-img {
    height: 160px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-card-img img,
.collection-card-img .thumbnail,
.collection-card-img .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.collection-card .card-title a {
    color: #212529;
    font-weight: 600;
}

.collection-card .card-title a:hover {
    color: #0d6efd;
}

.collection-unlinked li + li {
    margin-top: 0.25rem;
}
