.l40-efemerides-widget-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.l40-carousel-slides {
    position: relative;
    width: 100%;
    display: flex; /* Ayuda a alinear al principio */
}
.l40-carousel-slide {
    display: none;
    width: 100%;
    animation: fadeEffect 1s;
}
.l40-carousel-slide.active {
    display: block;
}
@keyframes fadeEffect {
    from { opacity: .4 } 
    to { opacity: 1 }
}
.l40-carousel-slide img {
    width: 100%;
    display: block;
}
.l40-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
}
.l40-carousel-caption span { display: block; }
.l40-carousel-caption .year { font-size: 1.2em; font-weight: bold; }
.l40-carousel-caption .title { font-size: 1em; }
.l40-carousel-caption .artist { font-size: 0.9em; opacity: 0.8; }

.l40-carousel-prev, .l40-carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}
.l40-carousel-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.l40-carousel-prev:hover, .l40-carousel-next:hover {
    background-color: rgba(0,0,0,0.8);
}
.l40-carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 45px; /* Ajusta según el alto del caption */
    left: 50%;
    transform: translateX(-50%);
}
.l40-carousel-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.l40-carousel-dot.active {
    background-color: #717171;
}