/**
 * Estilos del carrusel de eventos (frontend).
 * Pensados para replicar visualmente las cards actuales: imagen arriba,
 * título en azul institucional, descripción en gris y enlace "Conocé más".
 * Si el tema ya define estos mismos estilos, estos actúan solo como respaldo.
 */

.fide-eventos {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
}

.fide-eventos__viewport {
    overflow: hidden;
    flex: 1 1 auto;
    width: 100%;
}

.fide-eventos__pista {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}

.fide-eventos__slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
}

@media (min-width: 768px) {
    .fide-eventos__slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1100px) {
    .fide-eventos__slide {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.fide-eventos-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .06), 0 10px 24px rgba(16, 24, 40, .06);
    border: 1px solid #eef0f4;
}

.fide-eventos-card__imagen {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.fide-eventos-card__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fide-eventos-card__imagen-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #eceef1 10px, #eceef1 20px);
}

.fide-eventos-card__contenido {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.fide-eventos-card__titulo {
    color: #000f9f;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.fide-eventos-card__descripcion {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.fide-eventos-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.fide-eventos-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid #cdd4ff;
    background: #f0f3ff;
    color: #000f9f;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.fide-eventos-card__boton {
    margin-top: auto;
    display: block;
    text-align: center;
    background: #000f9f;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    transition: background-color .15s ease, transform .1s ease;
}

.fide-eventos-card__boton:hover {
    background: #000c80;
    color: #ffffff;
}

.fide-eventos-card__boton:active {
    transform: scale(.98);
}

/* Flechas de navegación */
.fide-eventos__flecha {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #9aa1ac;
    font-size: 24px;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease;
}

.fide-eventos__flecha:hover {
    color: #020E9C;
    background: #f0f3ff;
}

.fide-eventos__flecha:disabled {

    cursor: default;
    background: #020E9C;
    color: white;
    opacity: 1!important;}

/* Puntos de paginación */
.fide-eventos__puntos {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -34px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.fide-eventos__puntos button.fide-eventos__punto {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-block;
    flex: 0 0 auto;
    width: 8px !important;
    height: 8px !important;
    min-width: 0;
    min-height: 0;
    line-height: 0;
    border-radius: 50% !important;
    border: none !important;
    background: #d7dae0 !important;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
}

.fide-eventos__puntos button.fide-eventos__punto.is-active {
    background: #9aa1ac !important;
}

.fide-eventos-vacio {
    color: #6b7280;
    font-style: italic;
}
