.cmr-spotlight-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.cmr-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* No gaps. We use negative margins to overlap 1px borders seamlessly */
}

/* Common Cell Styles */
.cmr-spotlight-cell {
    background: #fff;
    border: 1px solid #EAEAEA;
    margin-right: -1px;
    margin-bottom: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    position: relative; /* So borders layer correctly */
    z-index: 1;
}

.cmr-spotlight-cell:hover {
    z-index: 2; /* Bring border above others on hover if needed */
}

.cmr-spotlight-cell img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: transform 0.3s ease;
}

.cmr-spotlight-cell:hover img {
    transform: scale(1.08);
}

/* Title Cell spans the first 3 columns of row 1 */
.cmr-spotlight-title-cell {
    grid-column: 1 / 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
    /* No borders on the title cell */
}

.cmr-spotlight-title-cell h2 {
    font-size: 40px;
    font-weight: 600;
    color: #111;
    margin: 0;
    letter-spacing: -1px;
}

/* Specific Placements for Logos */
.r1-c4 { grid-column: 4; grid-row: 1; }
.r1-c5 { grid-column: 5; grid-row: 1; }

.r2-c1 { grid-column: 1; grid-row: 2; }
.r2-c2 { grid-column: 2; grid-row: 2; }
.r2-c3 { grid-column: 3; grid-row: 2; }
.r2-c4 { grid-column: 4; grid-row: 2; }
.r2-c5 { grid-column: 5; grid-row: 2; }
.r2-c6 { grid-column: 6; grid-row: 2; }

.r3-c2 { grid-column: 2; grid-row: 3; }
.r3-c3 { grid-column: 3; grid-row: 3; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .cmr-spotlight-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cmr-spotlight-title-cell {
        grid-column: 1 / 5;
        grid-row: auto;
        padding-bottom: 20px;
        padding-left: 0;
    }
    
    /* Reset all explicit placements to auto-flow for mobile */
    .cmr-spotlight-cell {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 600px) {
    .cmr-spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cmr-spotlight-title-cell {
        grid-column: 1 / 3;
    }
    .cmr-spotlight-title-cell h2 {
        font-size: 28px;
    }
}
