/* ============================================================
   Announcement Slider — Beps PuroOmega Widgets
   Fade puro: CSS grid stacking + opacity transition sin Swiper
   ============================================================ */

/* === WRAPPER: fila flex → flecha | track | flecha === */
.bas-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    box-sizing: border-box;
}

/* === TRACK: grid stacking — todos los slides en la misma celda === */
.bas-track {
    flex: 1;
    min-width: 0;
    display: grid;
}

/* === SLIDE: invisible por defecto, apilado en celda 1/1 === */
.bas-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition-property: opacity;
    transition-timing-function: ease;
    transition-duration: 600ms;   /* Elementor sobreescribe via selector */
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Slide activo: visible e interactuable */
.bas-slide.bas-active {
    opacity: 1;
    pointer-events: auto;
}

/* === CONTENIDO DEL SLIDE === */
.bas-slide-inner {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    box-sizing: border-box;
}

.bas-slide-text {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a.bas-slide-text {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a.bas-slide-text:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* === FLECHAS === */
.bas-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease;
    color: inherit;
    z-index: 2;
}

.bas-arrow:hover {
    background: rgba(0, 0, 0, 0.08);
}

.bas-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
    pointer-events: none;
}

/* === DOTS === */
.bas-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    flex-shrink: 0;
}

.bas-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bas-dot.bas-dot-active {
    background: currentColor;
    transform: scale(1.4);
}
