.cr-hover-reveal-list {
    position: relative;
    width: 100%;
    z-index: 1;
}

.cr-reveal-items {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.cr-reveal-item {
    position: relative;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cr-reveal-item:first-child {
    border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.cr-reveal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none; /* Let clicks pass to the link overlay */
}

.cr-reveal-item-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cr-reveal-item-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    transition: color 0.3s ease;
}

.cr-reveal-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Images Container */
.cr-reveal-images-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    visibility: hidden; /* Hidden by default, JS handles visibility */
}

/* In Fixed Mode, we might want it absolute to the widget if preferred, but usually fixed background is cooler */
/* Let's keep it fixed viewport for the "Cursor Follow" effect to work easily across page */

.cr-reveal-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s ease, transform 0.4s ease-out;
    will-change: transform, opacity;
    border-radius: 8px; /* Optional default */
    overflow: hidden;
}

.cr-reveal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Active State managed by JS */
.cr-reveal-image.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10;
}

/* Mobile: Disable hover effects mostly, just show list */
@media (max-width: 767px) {
    .cr-reveal-images-container {
        display: none;
    }
}
