.cpg-gallery-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 30px 10px;
    overflow-x: auto;
    scroll-behavior: smooth; /* Makes TV scrolling look fluid */
    width: 100%;
}

.cpg-item {
    position: relative;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 4px solid transparent; /* Placeholder for the focus ring */
    outline: none;
}

/* MOUSE HOVER AND TV REMOTE FOCUS */
/* When you hover with mouse OR select with TV Remote button */
.cpg-item:hover, 
.cpg-item:focus,
.cpg-item:focus-within {
    transform: scale(1.1); /* Image gets bigger */
    border-color: #ffcc00; /* Bright yellow border like Netflix/YouTube TV */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 10;
}

.cpg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Hide scrollbar but keep scrolling active for clean TV look */
.cpg-gallery-container::-webkit-scrollbar { display: none; }
.cpg-gallery-container { -ms-overflow-style: none; scrollbar-width: none; }