* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            transition: background-color 300ms ease, color 300ms ease;
        }
        *:focus {
            background-color: rgba(4, 91, 163, .2);
            outline: none;
        }
        :root {
            --primary-color: #045ba3;
            --light-color: #f4f4f6;
            --dark-color: #242526;
        }
        .bg-azul { background-color: #045ba3 !important;}
        html, body {
            color: rgba(33, 37, 41, 1);
            font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
            font-optical-sizing: auto;
            font-size: 14px;
            font-style: normal;
            font-weight: 300;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }
        header {
            /* background-color: rgba(244,244,244, 1); */
            background: url(https://spm.xxxviicongreso.ciqa.mx/img/001_b_af.jpg) 50% 30% no-repeat;
            background-color: rgba(247, 248, 249, 1);
            background-size: 100% auto;
            /* padding: .4rem 0 0; */
        }
        header .top-logos {
            background: #fff;
            width:100%;
        }
        header .top-logos img {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        header .menu-container {
            background-color: rgba(247, 248, 249, 1);
            /* background-color: rgba(230, 224, 232, 1); */
            margin: 0 !important;
            padding: 0 !important;
            /* position: fixed; */
            /* top: 0; */
            width: 100%;
        }
        header .menu-container.transparent {
            background-color: rgba(247, 248, 249, 0.5); /* Color semi-transparente */
        }
        .menu {
            padding: .4rem 2rem;
        }
        .sticky {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000 !important;
        }
        .sticky + .heroe {
            padding-top: 70px;
        }
        header ul {
            border-bottom: 1px solid rgba(242, 242, 242, 1);
            list-style-type: none;
            margin: 0;
            overflow: hidden;
            padding: 0;
            text-align: right;
        }
        header li {
            display: inline-block;
        }
        header li a {
            border-radius: 5px;
            color: rgba(0, 0, 0, .5);
            display: block;
            height: 44px;
            text-decoration: none;
        }
        header li.menu-item a {
            border-radius: 5px;
            margin: 5px 0;
            height: 38px;
            line-height: 36px;
            padding: .4rem .65rem;
            text-align: center;
        }
        header li.menu-item a:hover,
        header li.menu-item a:focus {
            background-color: rgba(4, 91, 163, .2);
            color: rgba(4, 91, 163, 1);
        }
        header .logo {
            float: left;
            height: 44px;
            padding: .4rem .5rem;
        }
        header .menu-toggle {
            display: none;
            float: right;
            font-size: 2rem;
            font-weight: bold;
        }
        header .menu-toggle button {
            background-color: rgba(4, 91, 163, .6);
            border: none;
            border-radius: 3px;
            color: rgba(255, 255, 255, 1);
            cursor: pointer;
            font: inherit;
            font-size: 1.3rem;
            height: 36px;
            padding: 0;
            margin: 11px 0;
            overflow: visible;
            width: 40px;
        }
        header .menu-toggle button:hover,
        header .menu-toggle button:focus {
            background-color: rgba(4, 91, 163, .8);
            color: rgba(255, 255, 255, .8);
        }
        header .heroe {
            margin: 60px auto;
            max-width: 960px;
            min-width: 80%;
            padding: 1rem 1.75rem 1.75rem 1.75rem;
        }
        header .heroe h1 {
            font-size: 2.5rem;
            font-weight: 500;
        }
        header .heroe h2 {
            font-size: 1.5rem;
            font-weight: 300;
        }
        header .presentation {
            margin: 80px auto;
            margin-bottom: 0;
        }
        header .presentation img {
            display: block;
            min-height: auto;
            max-width: 100%;
        }
        header .presentation .theme {
            color: #004f00;
            max-width: 618px;
            text-align: center;
        }
        /* Nuevos estilos para la transición */
        .banner, .video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: opacity 1s ease;
        }

        .banner img {
            /* display: block;
            max-height: 360px;
            max-width: 100%; */
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .video-container {
            align-items: flex-end;
            display: flex;
            flex-direction: column;
            opacity: 0;
            pointer-events: none; /* Permitir la interacción con elementos detrás del video */
            transition: opacity 1s ease;
        }

        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .video-container.active {
            pointer-events: auto; /* Activar interacción solo cuando el video está visible */
        }
        .controls {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 2;
            display: flex;
            gap: 5px;
        }

        .controls span {
            background: rgba(0, 0, 0, 0.5);
            border: none;
            color: whitesmoke;
            cursor: pointer;
            font-size: 1.5rem;
            padding: 5px;
        }

        .controls span:hover {
            background: rgba(0, 0, 0, 0.7);
        }
        section {
            margin: 0 auto;
            max-width: 960px;
            min-width: 80%;
            padding: 2.5rem 1.75rem 3.5rem 1.75rem;
        }
        section h1 {
            margin-bottom: 2.5rem;
        }
        section h2 {
            font-size: 120%;
            line-height: 2.5rem;
            padding-top: 1.5rem;
        }
        section pre {
            background-color: rgba(247, 248, 249, 1);
            border: 1px solid rgba(242, 242, 242, 1);
            display: block;
            font-size: .9rem;
            margin: 2rem 0;
            padding: 1rem 1.5rem;
            white-space: pre-wrap;
            word-break: break-all;
        }
        section code {
            display: block;
        }
        section a {
            color: rgba(4, 91, 163, 1);
        }
        section svg {
            margin-bottom: -5px;
            margin-right: 5px;
            width: 25px;
        }
        .plenaries, .seat, .contest {
            background-color: rgba(247, 248, 249, 1);
            border-bottom: 1px solid rgba(242, 242, 242, 1);
            border-top: 1px solid rgba(242, 242, 242, 1);
        }
        .plenaries, .seat, .contest h2:first-of-type {
            padding-top: 0;
        }
        footer {
            background-color: rgba(4, 91, 163, .8);
            text-align: center;
        }
        footer .banding {
            color: rgba(255, 255, 255, 1);
            padding: 2rem 1.75rem;
        }
        footer .copyrights {
            background-color: rgba(62, 62, 62, 1);
            color: rgba(200, 200, 200, 1);
            padding: .25rem 1.75rem;
        }

        .section-container {
            /* max-width: 1100px; */
            margin: 0 auto;
            padding: 0 30px;
        }
        .boxes .section-container {
            display: flex;
            justify-content: space-between;
        }

        .box {
            flex: 1;
            background: #045ba3;
            color: #fff;
            border-radius: 10px;
            margin: 20px 10px;
            box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
            padding: 15px 20px;
        }
        .box i {
            margin-right: 10px;
        }
        .box h2 {
            margin-bottom: 15px;
            padding-top: unset;
        }
        .box ul {
            margin-left: 10px;
            padding: 3px 5px;
        }
        .box ul li:last-of-type {
            margin-bottom: 8px;
        }
        .box p {
            font-size: 0.9rem;
            line-height: 1.3;
            font-weight: 600;
            margin: 10px 0 5px;
        }

        /* Card */
        .card {
            background: var(--light-color);
            border-radius: 10px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7);
            color: #000;
            margin-top: 10px;
            padding: 20px;
            text-align: center;
            user-select: none;
        }

        .card p {
            margin-bottom: 8px;
        }
        .card p:last-child {
            font-weight: bold;
        }
        .cover-photo {
            position: relative;
            border-radius: 5px 5px 0 0;
        }
        .profile {
            position: absolute;
            width: 120px;
            bottom: -60px;
            left: 15px;
            border-radius: 50%;
            border: 2px solid var(--light-color);
            background: var(--light-color);
            padding: 5px;
        }
        .profile-name {
            font-size: 20px;
            margin: 25px 0 0 120px;
            color: var(--dark-color);
        }
        .about {
            margin-top: 30px;
            line-height: 1.6;
        }
        .plenarists .btn {
            background-color: white; 
            border: 2px solid #008CBA;
            border-radius: 4px;
            color: black;
            cursor: pointer;
            font-size: 13px;
            font-weight: bold;
            display: inline-block;
            margin: 30px 12px;
            padding: 10px 28px;
            text-align: center;
            text-decoration: none;
            transition-duration: 0.4s;
        }
        .plenarists .btn {
            background-color: white; 
            color: black; 
            border: 2px solid #008CBA;
        }
        .plenarists .btn:hover {
            background-color: var(--primary-color);
            color: white;
        }
        .icons {
            width: 180px;
            margin: 0 auto 10px;
            display: flex;
            justify-content: space-between;
            gap: 15px;
        }
        .icons i {
            cursor: pointer;
            padding: 5px;
            font-size: 1.9rem;
            transition: 0.2s;
        }
        .icons i:hover {
            color: var(--primary-color);
        }
        /* Plenarists */
        .plenarists {
            padding: 40px 0;
        }
        .plenarist .plenarist-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 15px;
        }
        .plenarists .plenarists-heading {
            /* width: 700px; */
            margin-bottom: 40px;
        }
        .plenarists .plenarists-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        .gutter {
            margin: 1rem 0;
            padding: 3rem 0;
        }
        .separator {
            margin-top: 6rem; 
            background-color: rgba(18, 18, 18, 0.3);
        }
        .profile-photo-img {
            position: absolute; z-index: 1; 
            background-color: rgba(18, 18, 18, 0.3); 
            border: 2px solid rgba(18, 18, 18, 0.3);
        }
        .cover-outline {
            position: relative; 
            float: left; 
            margin-top: 2rem;
        }
        .plenarists .card p:nth-child(2) {
            margin-top: 30px;
            font-weight: bold;
        }
        /* Pricing */
        .pricing .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }
        .pricing .pricing-card-subheading {
            margin-bottom: 0px;
        }
        .pricing .pricing-card-price {
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid #ccc;
        }
        .pricing ul {
            margin: 5px 0;
            list-style: none;
        }
        .pricing ul li {
            margin-bottom: 20px;
        }
        .pricing ul li i {
            margin-right: 10px;
        }
        .pricing .pricing-footer {
            margin: 30px 0;
        }
        .pricing .pricing-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Distribuye el espacio entre los hijos */
        }
        .pricing .content {
            flex-grow: 1; /* Toma el espacio disponible */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .pricing .content p {
            flex-grow: 1; /* Permite que el párrafo crezca */
        }

        .pricing .button {
            align-self: flex-end; /* Alinea el botón al final */
        }
        /* Background */
        .bg-primary {
            background: var(--primary-color);
            color: #fff;
        }
        .bg-light {
            background: var(--light-color);
            color: #333;
        }
        .bg-dark {
            background: var(--dark-color);
            color: #fff;
        }
        .bg-black {
            background: #000;
            color: #fff;
        }
        /* Text Classes */
        .text-xxl {
            font-size: 2.8rem;
            line-height: 1.2;
            font-weight: 600;
            margin: 40px 0 20px;
        }
        .text-xl {
            font-size: 2rem;
            line-height: 1.4;
            font-weight: normal;
            margin: 40px 0 20px;
        }
        .text-lg {
            font-size: 1.8rem;
            line-height: 1.4;
            font-weight: normal;
            margin: 30px 0 20px;
        }
        .text-md {
            font-size: 1.4rem;
            line-height: 1.4;
            font-weight: normal;
            margin: 20px 0 10px;
        }
        .text-nm {
            font-size: 1.1rem;
            line-height: 1.4;
            font-weight:400;
            margin: 20px 0 10px;
        }
        .text-sm {
            font-size: 0.9rem;
            line-height: 1.4;
            font-weight: normal;
            margin: 10px 0 5px;
        }
        .text-center {
            text-align: center;
        }
        .text-reset {
            text-align:unset;
        }
        .fw6 {
            font-weight:600;
        }
        .fw5 {
            font-weight:500;
        }
        /* Utility Classes */
        .spn-txt {
            font-weight: 400 !important;
            margin: 0 !important;
            padding-bottom: 5px;
            /* display:block; */
        }
        .container-sm {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Buttons */
        .btn {
            display: inline-block;
            padding: 13px 20px;
            background: var(--light-color);
            color: #333;
            font-weight: 600;
            text-decoration: none;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            text-align: center;
            transition: 0.5s;
        }
        .btn:hover {
            opacity: 0.8;
        }
        .btn-primary {
            background: var(--primary-color);
            color: #fff;
        }
        .btn-dark {
            background: var(--dark-color);
            color: #fff;
        }
        .btn-block {
            display: block;
            width: 100%;
        }

        /* Settings: convocatoria */
        .bg-svg {
            position: relative; /* Necesario para que el pseudo-elemento se posicione correctamente */
            width: 100%;
            height: auto;
            z-index: 1; /* Asegúrate de que el contenido esté encima */
        }

        .bg-svg::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url(https://spm.xxxviicongreso.ciqa.mx/img/006_f_mp.svg);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center center;
            opacity: 0.4; /* Ajusta el valor de opacidad según tus necesidades */
            z-index: -1; /* Coloca el pseudo-elemento detrás del contenido */
        }
        
        /* Overlay and video popup container */
        /* Estilos para mini-videos */
        .mini-video {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .mini-video img {
            cursor: pointer;
        }
        .mini-video p {
            margin-top: 0.5em;
            color: #f4f4f6;
        }
        .mini-video button, #main-program .btn-dwn {
            margin-top: 0.5em;
            padding: 0.5em 1em;
            background-color: #045ba3;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .mini-video button:hover, #main-program .btn-dwn:hover {
            background-color: #033d75;
        }

        #main-program .btn-dwn {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 13.33px;
            margin-right: 5px;
            text-decoration: none;
        }

        /* Estilos para el overlay y popup-video */
        .overlay {
            align-items: center;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            height: 100%;
            justify-content: center;
            left: 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
        }
        .popup-video-container {
            background-color: rgba(0, 0, 0, 0.9);
            border-radius: 20px;
            display: none; /* Oculto por defecto, se mostrará al activar */
            height: auto; /* Asegura que la altura sea automática */
            left: 50%;
            max-height: 720px; /* Establece un límite máximo para pantallas más grandes */
            max-width: 1280px; /* Establece un límite máximo para pantallas más grandes */
            position: fixed;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 90vw; /* Ajusta esto para que siempre ocupe el 90% del ancho del viewport */
            z-index: 2000;
        }
        .popup-video-container video {
            border-radius: 20px;
            height: auto;
            width: 100%;
        }
        .popup-video-container .sound-toggle,
        .popup-video-container .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            color: #fff;
            font-size: 1.5em;
            cursor: pointer;
            padding: 5px;
        }
        .popup-video-container .sound-toggle {
            right: 50px;
        }
        /* Media Queries  */
        @media (max-width: 790px) {
            header ul {
                padding: 0;
            }
            header .menu-toggle {
                padding: 0;
            }
            header .menu-item {
                background-color: rgba(244, 245, 246, 1);
                border-top: 1px solid rgba(242, 242, 242, 1);
                margin: 0 15px;
                width: calc(100% - 30px);
            }
            header .menu-toggle {
                display: block;
            }
            header .hidden {
                display: none;
            }
            header li.menu-item a {
                background-color: rgba(4, 91, 163, .1);
            }
            header li.menu-item a:hover,
            header li.menu-item a:focus {
                background-color: rgba(4, 91, 163, .7);
                color: rgba(255, 255, 255, .8);
            }

            header #top-logos {
                height: auto;
                max-width: 100% !important;
            }

            .popup-video-container {
                transform: translate(-50%, -50%);
                width: 90%; /* Asegura que el contenedor del video no se desborde en pantallas pequeñas */
            }
            header .menu-container {
                flex-direction: column;
                align-items: flex-start;
            }

            section {
                flex-direction: column;
            }

            .boxes .section-container {
                display: block;
                text-align: center;
            }

            .plenarists .plenarists-grid,
            .pricing .pricing-grid {
                grid-template-columns: 1fr;
            }

            .plenarists>h1, .plenarists-heading {
                margin-left: 1.5rem;
            }

            .plenarists-grid {
                display: block;
                margin: 15px;
            }

            .plenarists-grid>.card {
                margin-bottom: 1rem;
                
            }

            .gutter {
                padding: .5rem 0;
            }

            .contest h3, .contest h4 {
                font-size: 1.4rem;
                line-height: 1.4;
                font-weight: normal;
                margin: 20px 0 10px;
            }
            
            .mini-video {
                flex-direction: column;
                align-items: flex-start;
            }

            .mini-video img {
                width: 100%;
                height: auto;
            }

            .mini-video-content {
                margin-left: 0;
            }

            .popup-video-container video {
                border-radius: 10px;
            }

            .contributors>.contributors-section {
                display: block;
            }

            .contributors > .contributors-section > div {
                border-right: none !important;
            }

            .patron {
                padding: 0 !important;
            }

            .head, .head > .card {
                display: block !important;
            }

            .section-container {
                flex-direction: column; /* Cambia a apilado en pantallas pequeñas */
                align-items: stretch;  /* Ajusta los elementos al ancho completo */
            }

            .section-container > div {
                margin-bottom: 1.5em; /* Añade espacio entre las secciones */
                width: 100%; /* Asegura que cada sección ocupe el ancho completo */
            }

            .mini-video {
                max-width: 100%; /* Asegura que las vistas previas de video se ajusten al ancho */
                margin-top: 1em; /* Espacio entre videos */
            }

            .mini-video img {
                max-width: 100%; /* Asegura que la imagen del video no desborde el contenedor */
            }

            .menu {
                max-width: 100%; /* Evita que el menú se desborde en pantallas pequeñas */
            }
            .info_si {
                align-items: start !important; 
                margin-left: 0 !important; 
                padding-left: 0 !important; 
                border-left: 0 !important;
            }
        }