.titulo {
    font-family: Avenir black;
    font-size: clamp(48px, 7vw, 82px);
    text-align: center;
    line-height: normal;
    margin-top: 1.5rem;

    background: var(--degradado-cdmx-invertido);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ------------- Grid CARDS -------------  */
.ponencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 1rem;
    justify-content: center;
    justify-items: center;
}

/* Layout base */
.layout-programa {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.contenedor-filtros-lateral {
    padding-left: 20px;
}

/* Barra buscador */
.barra-top {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-buscar {
    padding-left: 30px; /* espacio para el ícono */
    height: 36px;
    font-size: 14px;
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    /* Text */
    color: #808080;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.lupa-busqueda {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

@media (max-width: 874px) {
    .contenedor-filtros-lateral {
        padding-left: 0px;
        max-width: 350px;
        width: 100%;
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .layout-programa {
        grid-template-columns: 1fr;
    }
}

/* Filtros */
.barra-top-filtros {
    background: #f9f9f9;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    margin-top: 0.7rem;
    padding: 16px;
    padding-top: 10px;
    position: sticky;
    top: 16px;
    height: fit-content;
    max-width: 280px;
    width: 100%;
}

.filtros-header {
    position: relative;
    display: inline-block;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filtros-desplegable {
    padding-left: 30px;
    color: #808080;
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
}

.icon-filtros {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.btn-cerrar {
    color: transparent;
    background: transparent;
    font-size: 24px;
    border: 0;
    cursor: pointer;
}

/* Filtros */

.filtro > summary {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 0;

    color: #808080;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.filtro-body {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}

.filtro-body:last-child {
    margin-bottom: 15px;
}

.chk {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.hr-filtro {
    margin: 0;
    height: 2px;
}

/* Acciones */
.acciones-filtros {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-secundario {
    padding: 10px 14px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
}

.btn-secundario {
    background: #00a19b;
    color: #fff;
}

.filtro:open summary {
    background-color: #e9e9e9;
}

label span {
    color: #747474;

    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* Skeleton */
.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 1rem;
    justify-content: center;
    justify-items: center;
}

@media (max-width: 874px) {
    .skeleton-cards {
        grid-template-columns: 1fr;
    }
}

.skeleton-cards .sk {
    width: 265px;
    height: 480px;
    background: linear-gradient(90deg, #f2f3f5 25%, #e9eaec 37%, #f2f3f5 63%);
    background-size: 100% 100%;
    animation: shimmer 0.4s ease infinite;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Mostrar solo el header en móvil */
@media (max-width: 874px) {
    .barra-top-filtros {
        overflow: hidden;
    }
    .barra-top-filtros .filtros-header {
        cursor: pointer;
    }

    /* Oculto por defecto */
    .barra-top-filtros .filtro,
    .barra-top-filtros .hr-filtro,
    .barra-top-filtros .acciones-filtros {
        display: none;
    }

    /* Al abrir (clase .abierto en el contenedor) */
    .barra-top-filtros.abierto .filtro,
    .barra-top-filtros.abierto .hr-filtro,
    .barra-top-filtros.abierto .acciones-filtros {
        display: block;
    }

    /* (Opcional) transiciones suaves con max-height */
    .barra-top-filtros .cuerpo-filtros {
        max-height: 0;
        opacity: 0;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }
    .barra-top-filtros.abierto .cuerpo-filtros {
        max-height: 1200px; /* algo grande para cubrir el contenido */
        opacity: 1;
    }

    .btn-cerrar {
        color: #808080;
    }
}

/* Alert * CONFIRMAR CORREO *  */
.card-alet-correo {
    font-family: Avenir roman;
    color: #747474;
    font-size: 18px;
}
.titulo-alert-correo {
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 1rem;
}

.buscar-input.input-email {
    width: 100%;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    height: 43px;
    padding-left: 20px;
    border-color: transparent;
    outline: none;
}

.buscar-input.input-email:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.width-btn {
    padding: 0px 10px;
    height: 38px;
    font-size: 18px;
}
