        /* Estilos globales */
        body {
            /*font-family: 'Montserrat', sans-serif;*/
            background-color: #f9f3ee;
            color: #333;
            margin: 0;
            padding: 0;
            font-family: 'Roboto', sans-serif;
        }

        /* Estilos para la descripción colapsada/expandida */
        .description-container {
            position: relative;
            overflow: hidden;
        }

        .description-text {
            margin: 0;
            transition: max-height 0.3s ease;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .description-collapsed {
            display: -webkit-box;
            -webkit-line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Estilos para elementos HTML dentro de la descripción */
        .description-text p {
            margin-bottom: 0.75rem;
        }
        
        .description-text p:last-child {
            margin-bottom: 0;
        }
        
        .description-text b, .description-text strong {
            font-weight: 600;
        }
        
        .description-text ul, .description-text ol {
            margin: 0.75rem 0;
            padding-left: 1.5rem;
        }
        
        .description-text ul li, .description-text ol li {
            margin-bottom: 0.5rem;
        }
        
        .description-text span {
            display: inline;
        }

        .read-more-btn, .read-less-btn {
            display: inline-block;
            margin-top: 0.5rem;
            cursor: pointer;
            font-weight: 500;
            transition: opacity 0.2s ease;
        }

        .read-more-btn:hover, .read-less-btn:hover {
            opacity: 0.8;
        }
        
        /* Restablecer el line-clamp para modo expandido */
        .description-text:not(.description-collapsed) {
            display: block;
            -webkit-line-clamp: unset;
            -webkit-box-orient: unset;
        }

        /* Estilos para chips de categorías */
        .event-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 1rem;
        }

        .category-badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.6rem;
            font-weight: 500;
        }

        /* Header styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 1.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-overflow: ellipsis;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            z-index: 50;
            transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
        }

        .header-banner {
            position: fixed;
            background-color: transparent;
        }

        .header-no-banner {
            position: sticky;
        }

        .header-no-banner {
            background-color: #f9f3ee;
        }

        /* Modificación: header inicialmente transparente y elevado */
        .header {
            box-shadow: none;
            transform: translateY(0);
            opacity: 1;
        }

        /* Cuando se hace scroll, el header se vuelve visible con fondo y sombra */
        .header-scrolled {
            padding: 1rem;
            background-color: #f9f3ee;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* Banner de imagen para el evento */
        .event-banner {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 300px;
            background-size: cover;
            background-position: center;
            z-index: 10;
        }

        /* Gradiente oscuro sobre el banner para mejorar legibilidad */
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);*/
            z-index: 11;
        }

        /* Ajuste del botón de regreso para que sea visible sobre el banner */
        .back-button {
            position: relative;
            z-index: 60;
            background-color: #f9f3ee;
            /*backdrop-filter: blur(5px);*/
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: background-color 0.3s;
            margin-right: 1rem;
        }

        .back-button:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

        /* Ajuste para el contenedor principal considerando el banner */
        .main-container {
            padding-top: 300px; /* Altura del banner */
        }

        .main-container-no-banner {
            margin-top: 1rem;
        }

        /* Ajuste para el título del evento en el banner */
        .banner-title {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            color: #fff;
            z-index: 12;
            font-size: 2rem;
            font-weight: 700;
        }

        .event-section .event-date-badge {
            position: relative;
        }

        /* Ajustes responsivos */
        @media (max-width: 768px) {
            .banner-title {
                font-size: 1.5rem;
            }
        }

        /* Base styles */
        body {
            background-color: #f9f3ee;
            font-family: 'Roboto', sans-serif;
        }

        /* Header styles */
        .header .header-title {
            transition: opacity 0.3s ease; /* Smooth transition for title change */
            font-size: 1.25rem; /* text-lg */
            font-weight: 700; /* font-bold */
            color: #000; /* text-black */
            margin: 0;
        }

        .header-banner .header-title{
            display: none;
        }

        .header-banner.header-scrolled .header-title{
            display: block;
        }

        .event-section {
            padding: 1rem;
            border-radius: 1.5rem 1.5rem 0 0;
            /*background-color: white;*/
            position: relative;
            z-index: 40;
        }

        .event-section-banner {
            top: -1.5rem;
            margin-bottom: -1.5rem;
        }

        .event-section-no-banner {
            top: 0;
            margin-bottom: 0;
        }

        .event-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            gap: 1rem;
        }

        .event-section .event-title {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
        }

        .event-content-section {
            background-color: white;
            padding: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 41;
            border-radius: 1.5rem 1.5rem 0 0;
            top: -1.5rem;
        }

        .event-image-container {
            width: 100%;
            border-radius: 1rem;
            overflow: hidden;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .event-image {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .event-info-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .info-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .info-icon i {
            font-size: 1.2rem;
        }

        .info-content {
            flex: 1;
        }

        .info-title {
            font-weight: 600;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .info-text {
            color: #666;
            line-height: 1.6;
        }

        .location-link {
            transition: all 0.2s ease;
            display: inline-block;
        }

        .location-link:hover {
            transform: translateX(2px);
            text-decoration: underline !important;
        }

        .date-badge {
            /*display: inline-flex;*/
            align-items: center;
            padding: 0.5rem 1rem;
            border-radius: 0.75rem;
            background-color: #f8f9fa;
            margin-bottom: 0.75rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .date-badge i {
            /*color: #3498db;*/
            margin-right: 0.5rem;
        }

        .date-text {
            font-weight: 500;
            color: #333;
        }

        .time-text {
            /*color: #3498db;*/
            font-weight: 600;
            margin-left: 0.5rem;
        }

        .action-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            /*background-color: #3498db;*/
            color: white;
            text-decoration: none;
            border-radius: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
            transition: all 0.2s ease;
            text-align: center;
            border: none;
            cursor: pointer;
            /*margin-top: 1rem;*/
            /*box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);*/
        }

        .action-button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            /*box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);*/
        }

        .action-button i {
            margin-left: 0.75rem;
        }

        .map-container {
            width: 100%;
            height: 300px;
            border-radius: 1rem;
            overflow: hidden;
            margin-top: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Alert styles */
        .alert {
            padding: 1rem;
            border-radius: 0.75rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .alert-info {
            background-color: rgba(52, 152, 219, 0.1);
            border-left: 4px solid #3498db;
        }

        .alert-warning {
            background-color: rgba(243, 156, 18, 0.1);
            border-left: 4px solid #f39c12;
        }

        .alert-danger {
            background-color: rgba(231, 76, 60, 0.1);
            border-left: 4px solid #e74c3c;
        }

        .alert-icon {
            color: #3498db;
            font-size: 1.2rem;
        }

        .alert-warning .alert-icon {
            color: #f39c12;
        }

        .alert-danger .alert-icon {
            color: #e74c3c;
        }

        .alert-content {
            flex: 1;
        }

        .alert-text {
            color: #333;
            line-height: 1.5;
        }

        /* Modal for fullscreen image view */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            cursor: default;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: transparent;
            border: none;
            box-shadow: none;
        }

        .modal img {
            max-width: 95%;
            max-height: 95vh;
            object-fit: contain;
            cursor: default;
        }

        .close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 1001;
            -webkit-tap-highlight-color: transparent;
        }

        .close-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
        }

        .close-button::before,
        .close-button::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 2px;
            background-color: white;
            transform-origin: center;
        }

        .close-button::before {
            transform: rotate(45deg);
        }

        .close-button::after {
            transform: rotate(-45deg);
        }

        /* Responsive styles */
        @media (min-width: 768px) {
            .header, .event-section, .event-content-section {
                max-width: 90%;
                margin-left: auto;
                margin-right: auto;
            }

            .event-content-section {
                padding: 2rem;
            }

            .event-info-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .event-image-container {
                margin-bottom: 2rem;
            }
        }

        @media (min-width: 1024px) {
            .header, .event-section, .event-content-section {
                max-width: 1000px;
            }

            .event-content-section {
                padding: 2.5rem;
            }

            .event-details-container {
                display: grid;
                grid-template-columns: 2fr 1fr;
                gap: 2.5rem;
                align-items: start;
            }

            .event-image-container {
                margin-bottom: 0;
            }

            .sticky-sidebar {
                position: sticky;
                top: 2rem;
            }
        }

        @media (max-width: 768px) {
            .event-section .event-title {
                font-size: 20px;
            }

            .info-icon {
                width: 36px;
                height: 36px;
            }

            .info-icon i {
                font-size: 1rem;
            }

            .action-button {
                width: 100%;
                padding: 0.875rem 1.5rem;
            }

            .fixed-action-button {
                position: fixed;
                bottom: 1.5rem;
                left: 1rem;
                right: 1rem;
                z-index: 100;
            }

            .fixed-action-button .action-button {
                width: 100%;
                /*box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);*/
            }

            /* Add padding at the bottom when fixed button is present */
            .has-fixed-button {
                padding-bottom: 5rem;
            }
        }

        /* Los botones para mostrar/ocultar fechas */
        .date-toggle-btn {
            font-weight: 500;
            cursor: pointer;
            transition: opacity 0.2s ease;
            display: inline-block;
            margin-top: 0.5rem;
        }

        .date-toggle-btn:hover {
            opacity: 0.8;
        }

        /* Estilos para badges de programación diaria */
        .schedule-day-badge {
            padding: 0.5rem 1rem;
            /*border-radius: 1rem;
            border: 2px solid;*/
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s ease;
            /*background-color: transparent;*/
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        .schedule-day-badge:focus {
            outline: none;
        }

        .schedule-day-badge:hover {
            opacity: 0.8;
        }

        /* Estilos para imágenes de programación */
        .schedule-image {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .schedule-image:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            color: #555;
            background-color: transparent;
            position: relative;
            z-index: 41;
        }
        .breadcrumbs ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem 0.5rem;
            padding: 0;
            margin: 0;
        }
        .breadcrumbs li { display: inline-flex; align-items: center; }
        .breadcrumbs li + li::before { content: "›"; margin: 0 0.5rem; color: #999; }
        .breadcrumbs a { color: #555; text-decoration: underline; }
        .breadcrumbs [aria-current="page"] { color: #111; font-weight: 600; }

        /* Related events section */
        .related-events {
            background-color: white;
            padding: 1.5rem 1rem;
            margin: 0 auto;
            border-radius: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }
        .related-events h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
            color: #333;
        }
        .related-events .events-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        @media (min-width: 768px) {
            .related-events .events-list {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 1.25rem;
            }
            .related-events {
                max-width: 90%;
            }
        }
        @media (min-width: 1024px) {
            .related-events { max-width: 1000px; }
        }
