/**
 * ========================================
 * ESTILOS PARA EVENTOS CULTURALES
 * Casa de la Cultura
 * ========================================
 */

/* ===== RESET Y BASE ===== */
/* Fix header layering vs Hero content - REMOVED (Moved to bottom) */

.evento-wrapper,
.archivo-eventos-wrapper {
    background: #f5f5f5;
    min-height: 100vh;
    position: relative;
    /* z-index removed to fix sticky header overlap */
}

/* ===== BADGE DESTACADO (Estilo Viñeta de Libro - Premium) ===== */
.evento-badge-destacado {
    position: absolute;
    top: 20px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 12px 28px 12px 22px;
    border-radius: 0 50px 50px 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 9;
    box-shadow: 10px 5px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.evento-badge-destacado:hover {
    padding-left: 30px;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}

.evento-badge-destacado i {
    font-size: 18px;
    /* star pulse animation instead of bell shake */
    animation: starPulse 2s infinite;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO DEL EVENTO (SINGLE) ===== */
.evento-hero {
    position: relative;
    z-index: 0;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.evento-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.evento-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.breadcrumb-evento {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb-evento a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-evento a:hover {
    opacity: 0.7;
}

.breadcrumb-evento .separator {
    margin: 0 10px;
}

.evento-badges-top {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge-tipo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-estado {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.evento-hero-titulo {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 auto 25px auto;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
}

.evento-hero-subtitulo {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 40px auto;
    max-width: 850px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.evento-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.meta-item-hero {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item-hero i {
    font-size: 16px;
}

.precio-hero .precio-valor {
    font-size: 16px;
    font-weight: 800;
    color: #f39c12;
}

.evento-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

.btn-inscripcion,
.btn-compartir-evento {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-inscripcion {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.btn-inscripcion:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.btn-compartir-evento {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-compartir-evento:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.share-link {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    transform: translateY(-3px);
}

.share-link.facebook {
    background: #1877f2;
    color: #fff;
}

.share-link.xtwitter {
    background: #000;
    color: #fff;
}

.share-link.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-link.telegram {
    background: #0088cc;
    color: #fff;
}

/* ===== CONTENEDOR DEL EVENTO ===== */
.evento-contenedor {
    background: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    padding: 60px 0;
}

.evento-layout {
    display: flex;
    gap: 40px;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.evento-main {
    flex: 1;
    max-width: 800px;
}

/* ===== SIDEBAR ===== */
.evento-sidebar {
    width: 380px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .evento-layout {
        flex-direction: column;
    }

    .evento-sidebar {
        width: 100%;
    }
}

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #efefef;
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #efefef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: #3498db;
}

/* Lista de Categorías */
.categorias-list-blog {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categorias-list-blog li {
    margin-bottom: 12px;
}

.categorias-list-blog li:last-child {
    margin-bottom: 0;
}

.categorias-list-blog a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categorias-list-blog a:hover {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    margin-right: 12px;
}

.cat-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.cat-count {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
}

/* Entradas Recientes */
.entradas-recientes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entradas-recientes-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #efefef;
}

.entradas-recientes-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.entradas-recientes-list li:first-child {
    padding-top: 0;
}

.reciente-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.reciente-info {
    flex: 1;
}

.reciente-info a {
    color: #2c3e50;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.reciente-info a:hover {
    color: #3498db;
}

.reciente-fecha {
    font-size: 12px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab-empty-msg {
    text-align: center;
    padding: 30px 10px;
    color: #7f8c8d;
    font-size: 13px;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog-sin-relacionadas {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px dashed #ced4da;
    color: #6c757d;
}

.evento-section {
    margin-bottom: 50px;
}

.section-title-evento {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.evento-descripcion {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.evento-descripcion p {
    margin-bottom: 20px;
}

.evento-descripcion h2,
.evento-descripcion h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.evento-descripcion ul,
.evento-descripcion ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

/* ===== ARTISTA SECTION ===== */
.artista-section .artista-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid #9b59b6;
}

.artista-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.artista-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ===== FECHAS MÚLTIPLES ===== */
.fechas-multiples {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fecha-principal-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, #1a2a4a 0%, #0f1e35 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(52, 152, 219, 0.18);
}

.fecha-principal-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 82px;
    padding: 20px 14px;
    background: #3498db;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 0;
}

.fecha-principal-label i {
    font-size: 22px;
    opacity: 0.9;
}

.fecha-principal-valor {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #d6eaf8;
    line-height: 1.7;
    text-align: center;
}

.fechas-adicionales-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0eaf3;
    padding: 0;
}

.fechas-adicionales-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #2c3e50;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0;
}

.fechas-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    padding: 0 4px;
}

/* ===== PROGRAMA ===== */
.evento-programa {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
}

/* ===== SLIDER DE EVENTO ===== */
.evento-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.slider-container-evento {
    position: relative;
    height: 500px;
}

.slide-evento {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide-evento.active {
    opacity: 1;
}

.slide-evento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption-evento {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: #fff;
    font-size: 16px;
}

.slider-btn-evento {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #2c3e50;
}

.slider-btn-evento:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-btn-evento.prev {
    left: 20px;
}

.slider-btn-evento.next {
    right: 20px;
}

.slider-dots-evento {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot-evento {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-evento.active,
.dot-evento:hover {
    background: #fff;
    transform: scale(1.3);
}

/* ===== VIDEO ===== */
.evento-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.evento-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== REQUISITOS E INCLUYE ===== */
.req-incluye-grid {
    display: flex;
    gap: 24px;
}

.requisitos-box,
.incluye-box {
    flex: 1;
    padding: 0;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e9eef2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.requisitos-box {
    border-left: none;
}

.incluye-box {
    border-left: none;
}

.requisitos-box h3,
.incluye-box h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.requisitos-box h3 {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.incluye-box h3 {
    background: linear-gradient(135deg, #1e8449 0%, #27ae60 100%);
}

.requisitos-box p,
.incluye-box p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0 18px 16px;
}

/* ===== ARCHIVOS ===== */
.evento-archivos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archivo-evento-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.archivo-evento-card:hover {
    border-color: #3498db;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
    transform: translateY(-3px);
}

.archivo-icon-evento {
    width: 60px;
    height: 70px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.archivo-icon-evento.pdf {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.archivo-icon-evento span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.archivo-info-evento {
    flex: 1;
}

.archivo-info-evento h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.archivo-info-evento span {
    font-size: 13px;
    color: #999;
}

/* ===== ETIQUETAS ===== */
.evento-etiquetas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-evento {
    padding: 8px 18px;
    background: #fff;
    color: #555;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-evento:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
}

.evento-mobile-info-slot {
    margin-bottom: 30px;
}

.evento-mobile-info-slot:empty {
    display: none;
}

/* ===== SIDEBAR ===== */
.evento-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.evento-card-info {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 2px solid #f0f0f0;
}

.evento-card-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.info-content span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.info-content small {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.precio-item .precio-grande {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #27ae60 !important;
}

.precios-detalle {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 14px;
    color: #555;
}

.cupos-item .cupos-barra {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.cupos-progreso {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #229954 100%);
    transition: width 0.5s ease;
}

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.25s ease;
    margin-top: 8px;
    border: 1px solid #aed6f1;
    width: fit-content;
}

.btn-mapa:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.btn-inscripcion-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-inscripcion-sidebar:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.redes-evento {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.red-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.red-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.red-link.facebook {
    background: #1877f2;
    color: #fff;
}

.red-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.red-link.web {
    background: #34495e;
    color: #fff;
}

.red-link.twitter {
    background: #000;
    color: #fff;
}

.red-link.youtube {
    background: #ff0000;
    color: #fff;
}

.red-link.tiktok {
    background: #010101;
    color: #fff;
}

/* ===== FECHAS ADICIONALES GRID ===== */
.fechas-adicionales-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 12px 10px;
    background: #f8fafc;
}

.fecha-adicional-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 11px 8px;
    border-bottom: 1px solid #edf2f7;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.fecha-adicional-card:last-child {
    border-bottom: none;
}

.fecha-adicional-card:hover {
    background: #eaf4fb;
    box-shadow: none;
    border-color: transparent;
}

.fecha-adicional-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.fecha-adicional-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fecha-adicional-nombre {
    font-size: 12px;
    font-weight: 700;
    color: #1a252f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fecha-adicional-dt {
    font-size: 13px;
    color: #5d6d7e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fecha-adicional-dt i {
    color: #3498db;
    font-size: 11px;
}

/* ===== VIDEOS MÚLTIPLES ===== */
.videos-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.videos-grid.videos-multiples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* ===== PRECIOS DIFERENCIADOS (SIDEBAR) ===== */
.precios-diferenciados-sidebar {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.precio-cat-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    font-size: 12px;
    border: 1px solid #d6eaf8;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    cursor: default;
    user-select: none;
}

.precio-cat-row:hover {
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.25);
    transform: translateY(-2px);
}

.precio-cat-row .precio-cat-nombre {
    flex: 1;
    padding: 7px 14px;
    background: #2c3e50;
    color: #ecf0f1 !important;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.precio-cat-row .precio-cat-valor {
    padding: 7px 14px;
    background: #3498db;
    color: #fff !important;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ===== CLASIFICACIÓN DE EDAD ===== */
.edad-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: #e8f4f8;
    color: #2c3e50;
    border: 1px solid #bee3f8;
}

.edad-badge.todo-publico {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.edad-badge.mayor-edad {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* ===== PATROCINADORES CHIPS ===== */
.patrocinadores-chips {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.patroc-chip {
    display: inline-block;
    padding: 5px 13px;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.patroc-chip:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== CONTACTO BADGES ===== */
.contacto-badges {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 8px;
}

.contacto-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1.3;
}

.contacto-badge i {
    font-size: 12px;
    flex-shrink: 0;
    opacity: 0.75;
}

.contacto-badge-nombre {
    background: #f4f6f8;
    color: #2c3e50;
    border: 1px solid #dde1e7;
    font-weight: 600;
    cursor: default;
}

.contacto-badge-tel {
    background: #f0faf4;
    color: #1d6e3e;
    border: 1px solid #c3e6d0;
}

.contacto-badge-tel:hover {
    background: #dff5e8;
    color: #155d33;
}

.contacto-badge-email {
    background: #f0f5fb;
    color: #1a4f78;
    border: 1px solid #bdd5ec;
}

.contacto-badge-email:hover {
    background: #ddeaf6;
    color: #153d5e;
}

/* ===== ARCHIVO DE EVENTOS ===== */
.eventos-hero {
    position: relative;
    min-height: 100vh;
    background-color: #2c3e50;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.eventos-hero .eventos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.75) 100%);
    z-index: 1;
}

.eventos-hero .container {
    position: relative;
    z-index: 2;
}

.eventos-hero-content {
    color: #fff;
}

.eventos-hero-titulo {
    font-size: 52px;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.eventos-hero-titulo i {
    margin-right: 15px;
    color: #3498db;
}

.eventos-hero-descripcion {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BUSCADOR ===== */
.eventos-buscador-section {
    background: #fff;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.buscador-eventos-container {
    max-width: 700px;
    margin: 0 auto;
}

.buscador-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.buscador-icon {
    position: absolute;
    left: 20px;
    color: #7f8c8d;
    font-size: 18px;
    pointer-events: none;
}

.buscador-eventos-input {
    width: 100%;
    padding: 16px 55px 16px 55px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.buscador-eventos-input:focus {
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.buscador-eventos-input::placeholder {
    color: #95a5a6;
}

.buscador-clear-btn {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: #95a5a6;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.2s ease;
    padding: 0;
}

.buscador-clear-btn:hover {
    color: #e74c3c;
    transform: scale(1.2);
}

/* Contador de resultados */
.eventos-resultados {
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.eventos-resultados span {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(52, 152, 219, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

/* ===== FILTROS ===== */
.eventos-filtros-section {
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ===== FILTROS CON SLIDER ===== */
.eventos-filtros-section .container {
    padding: 0 20px;
}

.filtros-eventos-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.filtro-todos {
    flex-shrink: 0;
}

.filtros-slider-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.filtros-slider {
    flex: 1;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    margin: 0;
    padding: 5px 0;
}

.filtros-slider-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
}

.slider-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1d5695;
    background: white;
    color: #1d5695;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slider-nav-btn:hover {
    background: #1d5695;
    color: white;
    transform: scale(1.1);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.filtro-evento-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filtro-evento-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.filtro-evento-btn.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.filtro-icono {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filtro-icono i {
    font-size: 16px;
}

/* ===== TABS ===== */
.eventos-tabs-section {
    padding: 20px 0 0 0;
    margin: 0 0 30px 0;
}

.eventos-tabs-section>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 15px;
}

.eventos-tabs-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.destacados-star-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.destacados-star-btn:hover {
    border-color: #f39c12;
    color: #f39c12;
    transform: scale(1.05);
}

.destacados-star-btn.active {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-color: #e67e22;
    color: #fff;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.eventos-tabs-left .eventos-resultados {
    margin: 0;
    padding: 0;
    text-align: left;
}

.eventos-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tab-btn {
    padding: 15px 40px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.tab-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.tab-btn.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== SIDEBAR LAYOUT (Pasados / Proximos) ===== */
.eventos-body-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.eventos-sidebar-column {
    display: contents;
}

.eventos-grid-wrapper {
    flex: 1;
    min-width: 0;
    order: 1;
    padding: 0 16px;
}

.eventos-sidebar-btn {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 56px;
    height: 220px;
    padding: 20px 6px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #aaa;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.eventos-sidebar-btn:hover {
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 4px 20px rgba(52,152,219,0.2);
}

.eventos-sidebar-btn.active,
.eventos-mode-btn.active {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 4px 20px rgba(52,152,219,0.35);
}

.sidebar-pasados-btn {
    order: 0;
}

.sidebar-proximos-btn {
    order: 2;
}

.eventos-sidebar-icon {
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eventos-sidebar-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sidebar-proximos-btn .eventos-sidebar-text {
    transform: rotate(180deg);
}

/* En tablet/móvil: botones horizontales arriba del grid */
@media (max-width: 768px) {
    .eventos-body-layout {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-items: flex-start;
    }

    .eventos-sidebar-column {
        display: flex;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .eventos-grid-wrapper {
        order: 1;
        flex: 0 0 100%;
        padding: 0;
    }

    .sidebar-pasados-btn {
        order: 0;
    }

    .sidebar-proximos-btn {
        order: 0;
    }

    .eventos-sidebar-btn {
        position: static;
        transform: none;
        margin-top: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 8px 16px;
        writing-mode: initial;
    }

    .eventos-sidebar-text {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.6rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .eventos-sidebar-text .st-l1,
    .eventos-sidebar-text .st-l2 {
        display: block;
    }

    /* Anular el rotate(180deg) del modo escritorio vertical */
    .sidebar-proximos-btn .eventos-sidebar-text {
        transform: none !important;
    }
}

/* ===== GRID DE EVENTOS ===== */
.eventos-listado-section {
    padding: 5px 0 60px 0;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== TARJETA DE EVENTO ===== */
.evento-card {
    min-height: 650px;
    max-height: 650px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.evento-destacado-card {
    border: 3px solid #f39c12;
}

.badge-destacado-card {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
}

.evento-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* HEADER: Imagen fija 280px */
.evento-card-imagen {
    position: relative;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.evento-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-card-imagen img {
    transform: scale(1.1);
}

.evento-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.badge-estado-card {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fecha-badge-card {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fecha-dia {
    font-size: 28px;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1;
}

.fecha-mes {
    font-size: 12px;
    font-weight: 700;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BODY: Contenido flexible - llena espacio entre imagen y footer */
.evento-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.evento-card-header {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.tipo-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.evento-card-titulo {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 52px;
    flex-shrink: 0;
}

.evento-card:hover .evento-card-titulo {
    color: #3498db;
}

.evento-card-descripcion {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 63px;
    flex-shrink: 0;
}

.evento-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: auto;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.meta-item-card {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.meta-item-card svg {
    flex-shrink: 0;
}

/* FOOTER: Altura fija - SIEMPRE VISIBLE */
.evento-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    flex-shrink: 0;
    flex-grow: 0;
    min-height: 70px;
    max-height: 70px;
    height: 70px;
    background: #fafafa;
    margin-top: auto;
}

.precio-card .precio-gratuito {
    font-size: 16px;
    font-weight: 700;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 6px;
}

.precio-card .precio-gratuito i {
    font-size: 18px;
}

.precio-card .precio-valor {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
}

.ver-mas-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.evento-card:hover .ver-mas-link {
    gap: 10px;
}

/* ===== EVENTOS PASADOS ===== */
.evento-pasado {
    opacity: 0.85;
}

.evento-pasado:hover {
    opacity: 1;
}

/* ===== NO HAY EVENTOS ===== */
.no-eventos-mensaje {
    text-align: center;
    padding: 100px 20px;
}

.no-eventos-icon {
    margin-bottom: 30px;
}

.no-eventos-icon svg {
    opacity: 0.2;
}

.no-eventos-mensaje h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.no-eventos-mensaje p {
    font-size: 18px;
    color: #666;
}

/* ===== LISTAS DE CHECKS (REQUISITOS E INCLUYE) ===== */
.lista-checks {
    list-style: none;
    padding: 14px 18px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lista-checks li {
    position: relative;
    padding: 10px 14px 10px 42px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #3d4c5a;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e8eef3;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.incluye-box .lista-checks li:hover {
    background: #eafaf1;
    border-color: #a9dfbf;
}

.requisitos-box .lista-checks li:hover {
    background: #fdf2f2;
    border-color: #f5b7b1;
}

.lista-checks li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.requisitos-box .lista-checks li::before {
    background: #e74c3c;
    content: '!';
}

/* Lista de fechas adicionales */
.lista-fechas {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.lista-fechas li {
    padding: 10px 15px;
    background: #fff;
    border-left: 3px solid #3498db;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 15px;
    color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lista-fechas li:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* ===== NAVEGACIÓN ENTRE EVENTOS (Estilo Blog) ===== */
.evento-navegacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 0 0;
    padding-top: 30px;
    border-top: 2px solid #efefef;
    gap: 20px;
}

.nav-evento-item {
    flex: 1;
    min-width: 0;
}

.nav-evento-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-evento-link:hover {
    background: #fff;
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
}

.nav-evento-link.prev {
    flex-direction: row;
}

.nav-evento-link.next {
    flex-direction: row;
    text-align: right;
}

.nav-evento-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.nav-evento-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.nav-evento-content .nav-label {
    font-size: 12px;
    font-weight: 700;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-evento-content .nav-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.nav-evento-link:hover .nav-title {
    color: #3498db;
}

.nav-evento-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    color: #95a5a6;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-evento-center:hover {
    background: #3498db;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .evento-navegacion {
        flex-direction: column;
        gap: 15px;
    }

    .nav-evento-item {
        width: 100%;
    }

    .nav-evento-link.prev,
    .nav-evento-link.next {
        flex-direction: row;
        text-align: left;
    }

    .nav-evento-center {
        margin-bottom: 10px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .evento-card {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 1024px) {
    .evento-layout {
        flex-direction: column;
    }

    .evento-sidebar {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .evento-card {
        min-height: 600px;
        max-height: 600px;
    }

    .evento-card-imagen {
        min-height: 250px;
        max-height: 250px;
    }

    .evento-card-body {
        flex-shrink: 1;
    }

    .evento-card-titulo {
        font-size: 18px;
        max-height: 47px;
    }

    .evento-card-descripcion {
        font-size: 13px;
        max-height: 59px;
    }
}

@media (max-width: 768px) {
    .evento-hero {
        min-height: 500px;
    }

    .evento-hero-titulo {
        font-size: 36px;
    }

    .evento-hero-subtitulo {
        font-size: 18px;
    }

    .evento-badge-destacado span {
        display: none;
    }

    .evento-hero-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
    }

    .evento-hero-meta .meta-item-hero {
        flex: 0 1 auto;
        justify-content: flex-start;
        text-align: left;
        padding: 8px 14px;
    }

    .fechas-multiples .fecha-principal-box {
        flex-direction: column;
    }

    .fecha-principal-label {
        width: 100%;
        flex-direction: row;
        padding: 12px;
    }

    .fecha-principal-valor {
        padding: 15px;
        text-align: center;
        width: 100%;
    }

    .evento-hero-actions {
        flex-direction: column;
    }

    .btn-inscripcion,
    .btn-compartir-evento {
        width: 100%;
        justify-content: center;
    }

    .slider-container-evento {
        height: 350px;
    }

    .req-incluye-grid {
        flex-direction: column;
    }

    .eventos-hero {
        min-height: 100vh;
        background-attachment: scroll;
    }

    .eventos-hero-titulo {
        font-size: 36px;
    }

    .eventos-hero-descripcion {
        font-size: 16px;
    }

    /* Buscador responsive */
    .eventos-buscador-section {
        padding: 20px 0;
    }

    .buscador-eventos-input {
        padding: 14px 50px 14px 50px;
        font-size: 15px;
    }

    .buscador-icon {
        font-size: 16px;
        left: 18px;
    }

    .buscador-clear-btn {
        right: 18px;
    }

    /* Filtros responsive */
    .filtros-eventos-container {
        gap: 10px;
    }

    .slider-nav-btn {
        display: none;
    }

    .filtros-slider {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filtros-slider::-webkit-scrollbar {
        display: none;
    }

    .filtro-evento-btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .eventos-tabs {
        flex-direction: column;
    }

    .evento-card {
        flex: 1 1 100%;
        min-width: 100%;
        min-height: 580px;
        max-height: 580px;
    }

    .evento-card-imagen {
        min-height: 220px;
        max-height: 220px;
    }

    .evento-card-body {
        padding: 20px;
        overflow: hidden;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .evento-card-titulo {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 1.5em;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .evento-card-descripcion {
        font-size: 13px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
        /* 3 lines * 1.5 line-height */
        margin-bottom: auto;
    }

    .evento-card-footer {
        padding: 15px 20px;
        min-height: 60px;
        max-height: 60px;
        height: 60px;
        flex-shrink: 0;
        flex-grow: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .precio-card .precio-gratuito {
        font-size: 14px;
    }

    .precio-card .precio-valor {
        font-size: 18px;
    }

    .ver-mas-link {
        font-size: 13px;
    }
}

/* =========================================
   FIX FILTROS STICKY Y MOBILE FOOTER 
   ========================================= */
.eventos-filtros-section {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100000 !important;
    transition: all 0.3s ease;
}

/* FIX FINAL: Header Hero Overlap */
header,
.site-header,
#masthead,
.main-header {
    position: relative;
    z-index: 99999 !important;
}

@media (max-width: 768px) {

    /* Estado inicial relativo */
    .eventos-filtros-section {
        position: relative;
        bottom: auto;
        top: auto;
        z-index: 1 !important;
        box-shadow: none;
        padding: 5px 0;
        border-top: none;
    }

    /* Clase activa vía JS */
    .eventos-filtros-section.sticky-bottom-mobile {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100000 !important;
        background: #fff;
        padding: 5px 0;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        animation: slideUpMobile 0.3s ease-out forwards;
    }

    .filtros-eventos-container {
        padding: 0 0 0 10px;
    }

    .filtro-todos {
        order: 2;
    }

    .filtros-slider-wrapper {
        order: 1;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 580px) {
    /* Mobile Filters Redesign inherited from 768px */

    .filtros-slider-wrapper {
        flex: 1;
        /* Ensure it takes available space */
        width: auto;
        /* Allow it to shrink/grow */
        min-width: 0;
        /* Crucial for flex child scroll */
    }

    .slider-nav-btn {
        display: none;
    }

    .filtros-slider {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filtros-slider::-webkit-scrollbar {
        display: none;
    }

    .filtro-evento-btn {
        font-size: 13px;
        padding: 9px 16px;
    }

    .evento-card {
        min-height: 550px;
        max-height: 550px;
    }

    .evento-card-imagen {
        min-height: 200px;
        max-height: 200px;
    }

    .evento-card-body {
        padding: 18px;
        overflow: hidden;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .tipo-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .evento-card-titulo {
        font-size: 17px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 1.5em;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .evento-card-descripcion {
        font-size: 13px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
        margin-bottom: auto;
    }

    .meta-item-card {
        font-size: 12px;
    }

    .meta-item-card svg {
        width: 12px;
        height: 12px;
    }

    .evento-card-footer {
        padding: 12px 18px;
        min-height: 60px;
        max-height: 60px;
        height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
        flex-grow: 0;
        gap: 0;
    }

    .precio-card .precio-gratuito {
        font-size: 13px;
    }

    .precio-card .precio-valor {
        font-size: 16px;
    }

    .ver-mas-link {
        font-size: 12px;
        align-self: center;
    }

    .fecha-badge-card {
        padding: 8px 12px;
    }

    .fecha-dia {
        font-size: 24px;
    }

    .fecha-mes {
        font-size: 11px;
    }

    .badge-destacado-card {
        font-size: 10px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .evento-contenedor {
        padding: 40px 0;
    }

    .evento-hero-titulo {
        font-size: 28px;
    }

    .eventos-hero-titulo {
        font-size: 28px;
    }

    .eventos-hero-descripcion {
        font-size: 15px;
    }

    .section-title-evento {
        font-size: 22px;
    }

    .evento-card-imagen {
        height: 220px;
    }

    .slider-container-evento {
        height: 250px;
    }
}

/* ===== CONTACTO INFO ===== */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    word-break: break-word;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    background: #e9ecef;
}

.contacto-item i {
    color: #3498db;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.contacto-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ===== PRINT ===== */
@media print {

    .evento-hero-actions,
    .compartir-popup-evento,
    .btn-inscripcion-sidebar,
    .eventos-filtros-section,
    .eventos-tabs-section {
        display: none !important;
    }

    .evento-hero {
        height: auto;
        min-height: 300px;
    }
}

/* ========================================
 * SHORTCODE [mostrar_eventos] - Grid Cards
 * ======================================== */

.eventos-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* El shortcode usa los mismos estilos de .evento-card definidos arriba */

/* Empty state */
.eventos-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 16px;
}

.eventos-empty p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* ===== FIX Z-INDEX PARA MENÚ MÓVIL Y POPUPS ===== */
/* Asegurar que el menú móvil siempre esté por encima */
.evento-wrapper {
    isolation: isolate;
}

/* ===== BARRA LATERAL DE COMPARTIR (HERO) ===== */
.compartir-sidebar {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.compartir-sidebar-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 5px;
}

.compartir-sidebar-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.compartir-sidebar-link.facebook {
    background: rgba(24, 119, 242, 0.8);
}

.compartir-sidebar-link.twitter {
    background: rgba(29, 161, 242, 0.8);
}

.compartir-sidebar-link.xtwitter {
    background: rgba(0, 0, 0, 0.7);
}

.compartir-sidebar-link.whatsapp {
    background: rgba(37, 211, 102, 0.8);
}

.compartir-sidebar-link.telegram {
    background: rgba(0, 136, 204, 0.8);
}

.compartir-sidebar-link.copy-url {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.compartir-sidebar-link.copy-url.copiado {
    background: rgba(39, 174, 96, 0.8);
    border-color: rgba(39, 174, 96, 0.8);
}

.compartir-sidebar-link:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.compartir-sidebar-link.facebook:hover {
    background: #1877f2;
}

.compartir-sidebar-link.twitter:hover {
    background: #1da1f2;
}

.compartir-sidebar-link.xtwitter:hover {
    background: #000;
}

.compartir-sidebar-link.whatsapp:hover {
    background: #25d366;
}

.compartir-sidebar-link.telegram:hover {
    background: #0088cc;
}

.compartir-sidebar-link.copy-url:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Asegurar que botones de acción no interfieran */
.evento-hero-actions {
    z-index: 10;
}

/* ===== NAVEGACIÓN ENTRE EVENTOS ===== */
.nav-eventos {
    background: #fff;
    padding: 50px 20px;
    margin-top: 60px;
}

.nav-eventos .nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-eventos .nav-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 120px;
}

.nav-eventos .nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.nav-eventos .nav-content {
    flex: 1;
    text-align: center;
}

.nav-eventos .nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3498db;
    margin-bottom: 8px;
}

.nav-eventos .nav-content h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-eventos .nav-archive {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    min-height: 120px;
}

.nav-eventos .nav-archive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.nav-eventos .nav-archive i {
    font-size: 32px;
}

.nav-eventos .nav-archive span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-eventos .nav-empty {
    min-height: 120px;
    background: transparent;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
}

/* Fix para menú móvil del tema */
@media (max-width: 768px) {

    /* El wrapper del evento debe estar debajo del menú de navegación */
    .evento-wrapper {
        position: relative;
        z-index: 1;
    }

    .archivo-eventos-wrapper {
        position: relative;
    }

    /* Asegurar que el hero no bloquee el menú y se alinee arriba en móvil */
    .evento-hero {
        z-index: 1;
        min-height: 90vh;
        display: flex;
        align-items: flex-start;
        padding: 40px 0 60px;
    }

    .evento-hero .container {
        width: 100%;
        margin-top: 0;
    }

    .evento-hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    /* Contenedor no debe tapar la barra de compartir */
    .evento-contenedor {
        position: relative;
        z-index: 2;
    }

    /* Barra compartir en móvil: fija en la parte inferior de la pantalla */
    .compartir-sidebar {
        position: fixed;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 8px;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        padding: 10px 15px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    .compartir-sidebar-label {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        margin-bottom: 0;
        margin-right: 5px;
        font-size: 10px;
        display: none;
    }

    .compartir-sidebar-link {
        width: 38px;
        height: 38px;
    }

    /* Navegación responsive */
    .nav-eventos {
        padding: 30px 15px;
    }

    .nav-eventos .nav-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .nav-eventos .nav-card {
        min-height: auto;
    }

    .nav-eventos .nav-content h4 {
        font-size: 14px;
    }

    .nav-eventos .nav-archive {
        min-height: auto;
        padding: 20px;
    }

    /* Mobile Filters Redesign */
    .eventos-filtros-section .container {
        padding: 0 10px;
    }

    .filtros-eventos-container {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .filtro-todos {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        margin: 0;
    }

    .filtro-todos span:not(.filtro-icono) {
        display: none;
    }

    .filtro-todos .filtro-icono i {
        margin: 0;
        font-size: 1.2rem;
    }

    .filtros-slider-wrapper {
        flex: 1;
        width: auto;
        min-width: 0;
    }

}
