:root {
            --color-text: #242b35;
            --color-subtext: #666;
            
            /* Colores Oficiales Visita Tepic (Sólidos) */
            --vt-blue: #005cb9;
            --vt-aqua: #009776;
            --vt-orange: #fd8204;
            --vt-pink: #ec3fa8;
        }

        .agenda-container {
            width: 100%;
            max-width: 900px; /* Un poco más ancho para acomodar el botón */
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding:50px 20px;
            background:#e5eaed;
        }

        #no-events-msg {
            display: none;
            text-align: center;
            color: var(--color-subtext);
            font-size: 1.2rem;
            padding: 20px;
        }

        /* Estilos de la Tarjeta */
        .event-card {
            display: flex;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: transform 0.2s ease, opacity 0.5s ease;
        }

        .event-card:hover {
            transform: translateY(-2px);
        }

        /* Fecha (Lado Izquierdo) */
        .date-badge {
            flex: 0 0 100px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            position: relative;
            padding: 10px;
            text-align: center;
        }

        .date-badge .day {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1;
        }

        .date-badge .month {
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: lowercase;
        }

        /* Flecha decorativa */
        .date-badge::after {
            content: '';
            position: absolute;
            right: -10px;
            top: 50%;
            transform: translateY(-50%);
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-left: 10px solid; 
        }

        /* Variantes de Color (Sólidos) */
        .event-blue .date-badge { background-color: var(--vt-blue); }
        .event-blue .date-badge::after { border-left-color: var(--vt-blue); }
        .event-blue .event-title { color: var(--vt-blue); }

        .event-aqua .date-badge { background-color: var(--vt-aqua); }
        .event-aqua .date-badge::after { border-left-color: var(--vt-aqua); }
        .event-aqua .event-title { color: var(--vt-aqua); }

        .event-orange .date-badge { background-color: var(--vt-orange); }
        .event-orange .date-badge::after { border-left-color: var(--vt-orange); }
        .event-orange .event-title { color: var(--vt-orange); }

        .event-pink .date-badge { background-color: var(--vt-pink); }
        .event-pink .date-badge::after { border-left-color: var(--vt-pink); }
        .event-pink .event-title { color: var(--vt-pink); }


        /* Contenedor Principal de Detalles (Centro + Derecha) */
        .event-details-container {
            flex: 1;
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-left: 10px solid transparent; /* Espacio para flecha */
        }

        /* Detalles Texto */
        .event-info {
            flex: 1;
            padding-right: 20px;
        }

        /* Área del Botón */
        .event-action {
            flex: 0 0 auto;
        }

        .btn-more-info {
            display: inline-block;
            background-color: var(--vt-blue);
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: background-color 0.2s;
            text-align: center;
            white-space: nowrap;
        }

        .btn-more-info:hover {
            background-color: #004a94; /* Un azul un poco más oscuro para hover */
        }

        .event-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0 0 8px 0;
            line-height: 1.3;
        }
        
        .event-title span {
            color: #333; 
            font-weight: 400; 
            font-size: 0.9em;
        }
        
        .info-row {
            display: flex;
            align-items: flex-start;
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: var(--color-subtext);
            line-height: 1.4;
        }

        .info-row svg {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            margin-top: 2px;
            flex-shrink: 0;
            opacity: 0.7;
        }

        .info-row strong {
            font-weight: 600;
            color: #444;
        }

        /* Responsividad */
        @media (max-width: 600px) {
            .event-details-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .event-info {
                padding-right: 0;
                margin-bottom: 15px;
                width: 100%;
            }

            .event-action {
                width: 100%;
                display: flex;
                justify-content: flex-end; /* Botón a la derecha en móvil también, o cambiar a center */
            }
        }

        @media (max-width: 480px) {
            /* Ajustes finos para pantallas muy pequeñas */
            .date-badge {
                flex: 0 0 80px;
            }
            .date-badge .day {
                font-size: 2rem;
            }
            .event-action {
                justify-content: center; /* Botón centrado en móvil muy pequeño */
            }
            .btn-more-info {
                width: 100%; /* Botón ancho completo */
            }
        }