.cartelera-encabezado {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(var(--bs-primary-rgb), 0.16),
            transparent 28rem
        ),
        var(--bs-body-bg);
}

.cartelera-encabezado::after {
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    bottom: -160px;
    content: "";
    border-radius: 50%;
    background-color: rgba(var(--bs-warning-rgb), 0.2);
}

.cartelera-logo {
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.filtros-card {
    top: 1.5rem;
}

.filtros-opciones {
    max-height: 210px;
    padding-right: 0.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

.form-check-input:checked {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
}

.form-check-label {
    cursor: pointer;
}

.estado-icono {
    width: 80px;
    height: 80px;
}

#contenedorEventos > [class*="col-"] {
    display: flex;
}

#contenedorEventos .card {
    width: 100%;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#contenedorEventos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

#contenedorEventos .card-img-top,
#contenedorEventos .imagen-evento {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

#contenedorEventos .card-title a {
    color: var(--bs-body-color);
    text-decoration: none;
}

#contenedorEventos .card-title a:hover {
    color: var(--bs-primary);
}

#vistaLista,
#vistaGrid {
    min-width: 48px;
}

@media (min-width: 992px) {
    .filtros-card {
        position: sticky;
    }
}

@media (max-width: 991.98px) {
    .cartelera-encabezado {
        text-align: center;
    }

    .cartelera-logo {
        width: 110px;
        height: 110px;
    }

    #panelFiltros {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .cartelera-encabezado .display-4 {
        font-size: 2.25rem;
    }

    #contenedorEventos .card-img-top,
    #contenedorEventos .imagen-evento {
        height: 220px;
    }
}

.evento-card {
    width: 100%;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--bs-body-bg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.evento-card .event-title a,
.evento-card .card-title a {
    transition: color 0.2s ease;
}

.evento-card:hover .event-title a,
.evento-card:hover .card-title a {
    color: var(--bs-primary) !important;
}

.imagen-evento {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.evento-card-lista {
    min-height: 260px;
}

.imagen-evento-lista {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.descripcion-evento {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.vista-lista {
    row-gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .evento-card-lista {
        min-height: auto;
    }

    .imagen-evento-lista {
        height: 230px;
        min-height: 230px;
    }
}

.vista-grid .event-title {
    display: block;
    height: auto;
    min-height: 1.5rem;
    max-height: none;
    margin-bottom: 0.5rem;
    overflow: hidden;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vista-grid .event-title a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vista-grid .autor-evento {
    min-height: 1.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    line-height: 1.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vista-grid .descripcion-grid {
    display: -webkit-box;
    height: 3rem;
    max-height: 3rem;
    margin-bottom: 1rem;
    overflow: hidden;
    line-height: 1.2rem;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}