* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
}

/* HEADER */
.header {
    background-color: white;
    color: #003366;
    border-bottom: 3px solid #b38e5d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 🔥 HEADER FLEX (MODIFICADO) */
.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}





/* TEXTO PRINCIPAL */
.header-title {
    margin-top: 0;
    text-align: left;
    font-size: 1.4rem;
    font-weight: bold;
    color: #003366;
    letter-spacing: 0.5px;
}

/* 🔥 BLOQUES HEADER NUEVOS */
.menu {
    flex: 2;
    margin-top: 0;
}

.logo-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo-box img {
    height: 100px;
}

.contact-boxx {
    flex: 1;
    text-align: center;
    font-size: 13px;
}

.contact-box {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Lo empuja a la derecha */
    font-size: 13px;
}
}

.contact-box a {
    font-size: 12px;
    color: #003366;
    text-decoration: underline;
}

/* LOGOS (si aún usas esta clase en otras partes) */
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logos img {
    height: 60px;
}

/* MENU (navegación inferior si la tienes) */
.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.menu a {
    display: inline-block;
    padding: 10px 18px;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
    border-radius: 25px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.menu a:hover {
    background-color: #b38e5d;
    color: white;
    border: 1px solid #b38e5d;
}

.menu a.active {
    background-color: #003366;
    color: white;
}

/* MAIN */
.main {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* CONTENIDO */
.content {
    max-width: 1200px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

/* BOTÓN VOLVER */
.btn-volver {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 15px;
    background-color: #003366;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-volver:hover {
    background-color: #0b3d91;
}

.volver-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* TEXTO */
.content p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content li {
    text-align: justify;
    margin-bottom: 10px;
}

.content h1,
.content h2,
.content h3 {
    text-align: left;
}

/* SECCIONES */
.info-section {
    margin-bottom: 35px;
    line-height: 1.7;
}

/* TITULOS */
.titulo-principal {
    font-size: 2.2rem;
    color: #0b3d91;
    margin-bottom: 10px;
    border-left: 5px solid #b38e5d;
    padding-left: 10px;
}

.subtitulo {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.info-section h2 {
    color: #0b3d91;
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #b38e5d;
    padding-bottom: 5px;
}

.info-section ul {
    padding-left: 20px;
}

/* POSTER */


.poster {
    flex: 0 0 75%;
    min-width: 320px;
    width: 100%;
}


.poster img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}




/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    height: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
    border-top: 5px solid #b38e5d;
}

.card:hover {
    background-color: #f9f6f2;
    opacity: 0.95;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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


.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 2px; /* controla separación limpia */
}

.card h3 {
    margin-bottom: 10px;
    color: #003366;
}

.card p {
    font-size: 14px;
    color: #333;
}

.btn-card {
    display: inline-block;
    margin: 0px;
    margin-top: 5px;
    background-color: #b38e5d;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-card:hover {
    background-color: #8c6d45;
}

/* FOOTER */
.footer {
    background-color: #0b0636;
    color: white;
    padding: 25px 20px;
    margin-top: 30px;
    border-top: 4px solid #b38e5d;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 600px;
}

.footer-logos img {
    max-height: 90px;
    width: auto;
}

.footer-info {
    font-size: 14px;
}

.footer-legal {
    font-size: 12px;
    opacity: 0.85;
}

.footer-update {
    font-size: 12px;
    opacity: 0.7;
}


/* LOGO DEL EVENTO (IZQUIERDA) */
.evento-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evento-logo img {
    height: 100px;
    width: auto;
}





/* ==========================================================================
   NUEVOS BLOQUES: AVISOS Y COMITÉ (COLUMNA DERECHA)
   ========================================================================== */

/* Estilos base para los bloques laterales */
.bloque-avisos, .bloque-comite {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.3s ease; /* Suaviza el efecto hover */
    cursor: default;
}

/* Bloque de Avisos (Azul Institucional) */
.bloque-avisos {
    border-left: 5px solid #003366;
}

.bloque-avisos h3 {
    color: #003366;
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Bloque de Comité (Rojo Institucional) */
.bloque-comite {
    border-left: 5px solid #8B0000;
}

.bloque-comite h3 {
    color: #8B0000;
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Efectos HOVER (Al pasar el mouse) */
.bloque-avisos:hover {
    background-color: #f0f7ff !important; /* Fondo azul muy claro */
    transform: translateY(-4px); /* Se eleva un poco */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.bloque-comite:hover {
    background-color: #fff5f5 !important; /* Fondo rojo muy claro */
    transform: translateY(-4px); /* Se eleva un poco */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* Listas internas de los bloques */
.bloque-avisos ul, .bloque-comite ul {
    list-style-type: disc;
    padding-left: 18px;
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}


.bloque-avisos li {
    text-align: left;
}

.bloque-avisos ul {
    text-align: left;
}

.bloque-comite ul {
    list-style-type: none; /* Quitamos puntos al comité */
    padding-left: 0;
}

.bloque-comite li {
    margin-bottom: 12px;
}







/* BLOQUE CONVOCATORIA 100% */
.convocatoria-full {
    width: 100%;
    background-color: #ffffff;
    border-top: 5px solid #b38e5d; /* Dorado del header */
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block; /* Para que sea clickable todo el bloque */
}

.convocatoria-full:hover {
    background-color: #fdfaf5; /* Fondo crema suave */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.convocatoria-full h2 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.convocatoria-full p {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

/* ==========================================
   🔥 FIX LAYOUT SUPERIOR (SIN ROMPER NADA)
   ========================================== */

.top-layout {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    align-items: flex-start;
}



/* Respeta tu proporción original */
.poster {
    flex: 0 0 75%;
    min-width: 320px;
}

.lateral {
    flex: 0 0 23%;
    min-width: 240px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ✅ definición base */




/* VIDEOS (para reemplazar inline styles que tenías) */
.videos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

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




/* ==============================
   🎥 VIDEO SLIDER
   ============================== */

.video-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-track {
    display: flex;
    transition: transform 0.4s ease;
}

.video-slide {
    min-width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-slide iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

/* BOTONES */
.video-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.video-btn.prev {
    left: 10px;
}

.video-btn.next {
    right: 10px;
}






.img-sedes, .img_comite_organizador {
    display: block;
    margin: 0 auto;      /* centra horizontalmente */
    max-width: 100%;     /* se adapta al contenedor */
    height: auto;        /* mantiene proporción */
}



.img_convocatoria_datos {
    display: block;
    margin: 0 auto;      /* centra horizontalmente */
    max-width: 100%;     /* se adapta al contenedor */
    height: auto;        /* mantiene proporción */
}


.img_calendario_congreso {
    display: block;
    margin: 0 auto;      /* centra horizontalmente */
    max-width: 100%;     /* se adapta al contenedor */
    height: auto;        /* mantiene proporción */
}



/* ==========================================
   ESTILOS ESPECÍFICOS PARA LA TABLA
   ========================================== */

/* Contenedor con scroll para evitar que la tabla se salga en pantallas pequeñas */
.contenedor-tabla-responsiva {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
}

/* Estilo general de la tabla */
.tabla-custom {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Corta las esquinas para el border-radius */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}






/* Encabezado: Azul UNAM y borde Dorado */
.tabla-custom thead tr {
    background-color: #003366;
    color: #ffffff;
    text-align: left;
    border-bottom: 4px solid #b38e5d;
}

.tabla-custom th {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
}

/* Celdas del cuerpo */
.tabla-custom td {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    vertical-align: top;
}

/* Efecto al pasar el mouse por la fila */
.tabla-custom tbody tr:hover {
    background-color: #fdfaf5;
}

/* Resaltar siglas como FCPyS-UNAM */
.tabla-custom strong {
    color: #003366;
}




/* CONTENEDOR PARA HACER CUALQUIER TABLA RESPONSIVA */
.contenedor-tabla-responsiva {
    width: 100%;
    margin-bottom: 30px;
    overflow-x: auto;
}



/* ENCABEZADOS (AZUL INSTITUCIONAL) */
.tabla-custom thead tr {
    background-color: #003366;
    color: #ffffff;
    text-align: left;
}

.tabla-custom th {
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
}

/* CELDAS DEL CUERPO */
.tabla-custom td {
    padding: 10px 15px;
    border: 1px solid #ccc; /* Bordes internos visibles */
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* EFECTO CEBRA (Opcional, para imitar la imagen de convocatoria) */
.tabla-custom tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* TÍTULO OPCIONAL PARA SEPARAR TABLAS */
.titulo-tabla-secundario {
    color: #003366;
    margin: 20px 0 10px 0;
    font-size: 1.3rem;
    border-bottom: 2px solid #b38e5d;
    display: inline-block;
}



/* Estilos específicos para el Calendario */
.fila-modalidad td {
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 12px !important;
    text-align: center;
    border: 1px solid #ccc;
}

.fila-receso td {
    background-color: #e0e0e0;
    text-align: center;
    font-weight: bold;
    letter-spacing: 5px;
    padding: 5px !important;
    border: 1px solid #ccc;
}

.fila-jornada td {
    background-color: #cccccc;
    font-weight: bold;
    text-align: center;
    font-size: 13px;
    border: 1px solid #ccc;
}

.celda-vacia {
    background-color: #f9f9f9;
}

.tabla-calendario td {
    text-align: center; /* El calendario suele leerse mejor centrado */
    vertical-align: middle;
}

.tabla-calendario small {
    display: block;
    color: #666;
    line-height: 1.2;
    margin-top: 5px;
}




/* Estilos específicos para la Tabla de Sedes */
.tabla-sedes .col-fecha {
    background-color: #f2f2f2;
    text-align: center;
    width: 15%;
    font-size: 13px;
}

.tabla-sedes .col-actividad {
    background-color: #f2f2f2;
    text-align: center;
    width: 25%;
}

.tabla-sedes .col-direccion {
    text-align: center;
    padding: 15px !important;
}

.tabla-sedes small {
    display: block;
    margin-top: 5px;
    color: #555;
    line-height: 1.3;
}

.fila-invitadas td {
    background-color: #e0e0e0;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px !important;
    border: 1px solid #ccc;
}


/* CONTENEDOR SIMPLE Y CENTRADO */
.descarga-container-simple {
    display: flex;
    flex-direction: column; /* Alinea elementos uno arriba del otro */
    align-items: center;    /* Centra horizontalmente */
    justify-content: center;
    text-align: center;
    background-color: #fdfaf5; /* Tono crema suave para resaltar */
    border: 1px solid #e0e0e0;
    border-top: 3px solid #b38e5d; /* Franja dorada superior */
    padding: 30px 20px;
    margin: 30px auto;
    max-width: 800px;       /* Para que no sea tan ancho en pantallas grandes */
    border-radius: 8px;
    gap: 15px;              /* Espacio entre el texto y el botón */
}

.descarga-container-simple p {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* BOTÓN ESTILO PDF (Se mantiene igual, ahora centrado por el padre) */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    background-color: #003366; 
    color: white !important;
    text-decoration: none !important;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-pdf .icon {
    background-color: #cc0000;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-right: 10px;
    font-weight: bold;
}

.btn-pdf:hover {
    background-color: #0b3d91;
    transform: scale(1.05); /* Efecto ligero de crecimiento */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}







.contacto-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinea el texto a la derecha */
    gap: 2px;
}

.contacto-label {
    font-size: 11px;
    font-weight: bold;
    color: #b38e5d; /* Dorado UNAM/UAM */
    letter-spacing: 1px;
}

.contacto-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #003366; /* Azul Institucional */
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.icon-mail {
    width: 16px;
    height: 16px;
    stroke: #003366;
}

/* Efecto al pasar el mouse */
.contacto-link:hover {
    color: #b38e5d;
}

.contacto-link:hover .icon-mail {
    stroke: #b38e5d;
}





    /* Estilos específicos para este bloque de cronograma */
    .celda-naranja-fuerte {
        background-color: #e67e22 !important;
        color: white !important;
        text-align: center;
        font-weight: bold;
    }
    .celda-naranja-claro {
        background-color: #fbd7b5 !important;
        text-align: center;
    }
    .tabla-custom td {
        text-align: center;
    }
    /* Mantiene la actividad alineada a la izquierda */
    .tabla-custom td:nth-child(2) {
        text-align: left;
    }


/* Título secundario con el mismo diseño que el principal */
.subtitulo-con-borde {
    font-size: 1.5rem; /* Tamaño más chico que el h1 */
    color: #0b3d91;    /* Azul institucional */
    margin-bottom: 15px;
    margin-top: 30px;
    border-left: 5px solid #b38e5d; /* La franja dorada */
    padding-left: 10px;
    text-align: left;
    font-weight: bold;
    display: block;
}

/* Clase para imágenes responsivas al 90% */
.img-responsiva-90 {
    display: block;
    width: 90%;
    max-width: 100%; /* Evita que la imagen se desborde si el padre es muy pequeño */
    height: auto;    /* Mantiene la proporción original */
    margin: 20px auto; /* Separa las imágenes y las centra horizontalmente */
    border-radius: 8px; /* Opcional: para que combine con el estilo de tus tablas */
}


/* ========== PROGRAMA CONGRESO========= */

/* Estilo para el nombre principal del conversatorio o mesa */
  .nombre-actividad {
    font-family:  "Arial", Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #003366;
  }

/* Estilo para el título específico de la conferencia/trabajo */
  .titulo-actividad {
    display: block;
    font-family: "Arial", Helvetica, sans-serif;
    font-size: 14px;
    font-style: italic;
    color: #000000;
    display: block;
    margin: 4px 0;
  }

/* Estilo para los nombres de los ponentes */
  .ponentes {
    font-family: "Arial", Helvetica, sans-serif;
    font-size: 12px;
    color: #003366;
    display: block;
  }

  .ponentes strong {
    color: #003366;
  }

/* Estilo general para la lista de ponentes */
  .lista-ponentes {
      margin: 4px 0 0 0;
      padding-left: 15px; /* Da un pequeño margen a la izquierda */
      list-style-type: disc; /* Tipo de viñeta (puede ser circle, square, none, etc.) */
      font-family: "Arial", Helvetica, sans-serif;
      font-size: 12px;
      color: #003366;
  }

/* Estilo para cada ponente en la lista */
  .lista-ponentes li {
      margin-bottom: 3px; /* Espacio entre cada ponente */
  }

/* Para destacar el rol o el nombre */
  .rol-ponente {
      font-weight: bold;
      color: #003366;
  }



/* ===== RESPONSIVE ===== */

/* Ajuste responsivo extra para calendario (por tener muchas columnas) */
@media (max-width: 1000px) {
    .tabla-calendario td::before {
        white-space: normal; /* Permite que el nombre del día se rompa en dos líneas si es largo */
    }
}


@media (max-width: 1150px) {

 .top-layout {
        flex-direction: column;
    }

    .poster,
    .lateral {
        flex: 100%;
        width: 100%;
    }

}


@media (min-width: 1150px) {
 .poster {
        position: sticky;
        top: 20px;
        align-self: flex-start; /* 🔥 CRÍTICO en flex */
    }
}



@media (max-width: 1150px) {
    .poster {
        position: static;
    }
}


@media (max-width: 900px) {

 .top-layout {
        flex-direction: column;
    }

    .poster,
    .lateral {
        flex: 100%;
        width: 100%;
    }

}



@media (max-width: 768px) {

    /* 🔥 HEADER RESPONSIVE */
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }

    .menu,
    .logo-box,
    .contact-box {
        width: 100%;
        text-align: center;
    }

    .header-title {
        text-align: center;
        font-size: 1.1rem;
    }

    .logos img {
        height: 45px;
    }

    .menu ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-logos img {
        max-height: 45px;
    }

    .evento-logo img {
        height: 70px;
    }

    .contacto-item {
        align-items: center;
    }

    .img-responsiva-90 {
        width: 100%; /* En pantallas muy pequeñas, mejor que ocupen todo el ancho */
    }

    .tabla-custom thead {
        display: none; /* Esconde el encabezado original */
    }

    
    .tabla-custom, .tabla-custom tbody, .tabla-custom tr, .tabla-custom td {
        display: block;
        width: 100%;
    }




    .tabla-custom tr {
        margin-bottom: 15px;
        border: 1px solid #b38e5d;
        border-radius: 8px;
    }

    
    .tabla-custom td {
        text-align: right;
        padding-left: 45%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .tabla-custom td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 40%;
        text-align: left;
        font-weight: bold;
        color: #003366;
        white-space: nowrap;
    }

    .tabla-custom td:last-child {
        border-bottom: none;
    }

    .tabla-sedes td {
        text-align: center !important;
        padding-left: 20px !important; /* Resetea el padding del modo card anterior */
    }
    
    .tabla-sedes td::before {
        display: block;
        position: static;
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
    
    /* Estilos específicos para el Programa General */
    .tabla-programa-general th {
        text-align: center;
        vertical-align: middle;
        background-color: #003366;
        color: #ffffff;
        font-size: 13px;
        border: 1px solid #ffffff;
        padding: 10px 5px;
    }
    
    .tabla-programa-general .sub-sede {
        font-size: 11px;
        font-weight: normal;
        color: #f0f0f0;
        display: block;
        margin-top: 4px;
    }
    
    .tabla-programa-general .sub-col {
        background-color: #112244;
        font-size: 12px;
        text-transform: uppercase;
        padding: 6px;
    }
    
    .tabla-programa-general td {
        text-align: center;
        vertical-align: middle;
        font-size: 13px;
        padding: 12px 8px;
        border: 1px solid #ccc;
    }
    
    .tabla-programa-general .celda-destacada {
        background-color: #f9f9f9;
        font-weight: 500;
    }
    
    .tabla-programa-general .celda-taller {
        background-color: #fdfaf5;
        font-size: 1.1rem;
        letter-spacing: 1px;
        color: #003366;
    }
    
    .tabla-programa-general .detalle-actividad {
        display: block;
        font-style: italic;
        font-size: 12px;
        color: #444;
        margin-top: 4px;
    }
    
    .tabla-programa-general .lugar {
        display: block;
        font-size: 12px;
        color: #666;
        margin-top: 3px;
    }
    
    .fila-sub-header {
        display: none; /* Se oculta en desktop y se usa solo si se requiere adaptación móvil */
    }

/* Adaptación responsive para celulares */
@media (max-width: 768px) {
    .tabla-programa-general thead {
        display: table-header-group; /* Mantiene la cabecera legible en pantallas intermedias o ajusta según prefieras */
    }
}

    
}


@media (max-width: 600px) {



    .btn-card {
        width: 90%;
    }
}

