/* Default style is for mobile view */


.collection-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.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:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.8); /* More intense white shadow on hover */
}

.collection-thumbnail img {
    width: 100%;
    height: 200px;
    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: center;
    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 */
    }
    
    .collection-thumbnail img {
        height: 300px !important;
    }
}

/* For desktops (min-width: 1024px) */
@media (min-width: 1024px) {
    .collection-container {
        grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
    }

    .collection-thumbnail img {
        height: 300px !important;
    }
}