.collection-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 cards per row */
    gap: 10px;
}

.collection-card {
    background-color: #333; /* Card background */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid white; /* White border instead of shadow */
    transition: transform 0.3s ease, border-color 0.3s ease; /* Transition for border color */
    text-decoration: none; /* Remove the default underline */
    color: inherit; /* Ensure the text color is inherited from parent */
}

.collection-card.active {
    background-color: #FFFF00; /* Yellow background */
    color: #000; /* Optional: make text readable */
}

.collection-card:hover {
    background-color: #FFFF00; /* Card background */
}

.collection-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #000000;
}

.collection-info {
    padding: 10px;
}

.video-collection {
    background-color: #000000;
    font-size: 10px;
    text-align: left;
    font-weight: bold;
    padding: 2px 10px;  /* 2px top and bottom, 5px left and right */
    display: inline-block;
    white-space: normal;
    width: auto;
    border-radius: 10px;  /* Rounded corners */
}

.collection-title {
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* For tablets (up to 768px) */
@media (min-width: 768px) {
    .collection-container {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
}

/* For desktops (min-width: 1024px) */
@media (min-width: 1024px) {
    .collection-container {
        grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
    }
}