.carouseld10-cell {
    position: relative;
    width: 40%;
    height: 200px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none!important;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

.carouseld10-cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,var(--overlay-opacity,0)); /* default 0 */
    transition: background 0.3s;
    pointer-events: none;
}

/* HOVER: remove overlay → lighten the image */
.carouseld10-cell:hover::before {
    background: rgba(0,0,0,0); /* fully transparent = NO darkening */
}

.carouseld10-cell:hover {
    cursor: pointer;
}

.carouseld10-html {
    position: relative; /* so text stays above overlay */
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 900;
    color: black;
}

