﻿.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: #666 #333;
}

#thumbnailList:after, #thumbnailList:before {
    content: '';
    margin: auto;
}

.thumbnail-item {
    flex: 0 0 100px;
    height: 65px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    width: 100px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .thumbnail-item.active {
        opacity: 1;
        border-color: #0d6efd;
        transform: scale(1.1);
        background-color: #1a1a1a;
    }

.view-toggle .btn {
    padding: 0.375rem 0.75rem;
    border-color: #dee2e6;
    color: #6c757d;
}

    .view-toggle .btn.active {
        background-color: #6c757d;
        color: #fff;
        border-color: #6c757d;
    }

.card-heritage {
    cursor: pointer;
    transition: transform 0.2s;
}

    .card-heritage:hover {
        transform: translateY(-3px);
    }