.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }

  .card {
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.3s ease-in-out;
    cursor: pointer;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  }

  .card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
  }

  .card-title {
    background: #2c5e8a; /* azul */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    min-height: 80px; /* para que todas queden del mismo tamaño */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card a {
    text-decoration: none;
    color: inherit;
    display: block;
  }

   .link-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* para que se estiren al ancho */
  }

  .link-box {
    background: #a9bdcc; /* azul claro */
    color: #004466; /* azul del texto */
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;

    width: 100%;     /* siempre ocupar todo el ancho */
    min-height: 70px; /* altura mínima más grande */
  }

 .link-box:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

  .link-box a {
    color: inherit;
    text-decoration: none;
  }

  .link-box i {
    font-size: 26px;
    color: #004466;
  }
.RSP {float:left;
	display:inline;
	
	list-style:none;
	margin-top:0px;	
	margin-bottom:0px;
	margin-left:0;
	margin-right:0;
}


.SP10 a{
	font-family:Myriad pro, Arial, Tahoma;
	font-size:20px; 
	color:#082f9d;
	display:block;
    text-align:center;
    background-color:#c0dbec;
	background-image:url('https://www.incmnsz.mx/investigacion/Btn-10.1.jpg'); 
    background-repeat:no-repeat;
	width:200px;
	height:150px;
	outline:0;
	border-radius:10px;
	text-decoration:none;
	padding: 20px 10px 5px 10px;
    box-shadow: 1px 2px 2px #acaeaf;
	text-shadow: 0px 0.5px 1px #005db0;
    background: linear-gradient(to bottom, transparent 30%, #a9bbca),
    url('');  -webkit-transition: color .4s linear; -moz-transition: color .4s linear; -ms-transition: color .4s linear; -o-transition: color .4s linear; transition: color .4s linear; }


.SP10 a:hover { 
    background-color: rgba(2,58,91);  
    color: white;  
    webkit-transition: color .4s linear; 
    -moz-transition: color .4s linear; 
    -ms-transition: color .4s linear; 
    -o-transition: color .4s linear; 
    transition: color .4s linear; }

 .btncuadrado{
    float:left;
	display:inline;	
	padding: 15px;
	font-family:Arial;
	
}



.btncuadrado a {
	font-family:Myriad pro, Arial, Tahoma;
	font-size:18px; 
    text-align:center;
	width:100%;
	height:100px;
	color:#fff;
	display:block;
	outline:0;
	text-decoration:none;
        padding: 20px;
         margin-bottom:0px;
	 border-radius: 15px;
	font-weight:100px;
        background: #526c9a; -webkit-transition: color .4s linear; -moz-transition: color .4s linear; -ms-transition: color .4s linear; -o-transition: color .4s linear; transition: color .4s linear; }


.btncuadrado a:hover { background: #a9bbca;  color: #023a5b; webkit-transition: color .4s linear; -moz-transition: color .4s linear; -ms-transition: color .4s linear; -o-transition: color .4s linear; transition: color .4s linear; }


Col{background: #d6bb70; color: white;}


.pleca{
    float:center;
	display:inline;
	background: #023a5b;
	padding:0px;
    width:100%;
	height:25px;
    border-radius: 30px;
	font-family:Arial;
	
}

/* Meses como h2 */
.accordion-button {
    font-size: 2rem;   /* ~h2 */
    font-weight: 600;
    padding: 0.5rem 1rem;
    background-color: #f0f7ff; 
    border: 1px solid #cce0ff;
}

/* Contenido */
.accordion-body {
    background-color: #f9fcff;
    border-left: 2px solid #cce0ff;
    border-right: 2px solid #cce0ff;
    border-bottom: 2px solid #cce0ff;
}
/* Estilo del link */
.link-anterior {
    color: #0d6efd;          /* azul bootstrap */
    text-decoration: none;   /* quita subrayado */
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Hover solo cambia el color, sin fondo */
.link-anterior:hover {
    color: #ff6600;          /* naranja al pasar mouse */
    background: none;        /* asegura que no tenga fondo */
    text-decoration: underline; /* opcional: subrayado en hover */
}
/*Estilo de Productividad*/
  .contador{
    height:100px;
    width: 300px;
    transform: rotate(180deg); 
    margin: 1px 1px;
    position: relative;
}
.numero{
    height: 100%;
    width: 100%;
    text-align: center;
    font-size: 3.8em;
    font-weight: bold;
    font-family:  sans-serif;
    color: #2b5c9e;
    position: absolute;
    transform: rotate(-180deg);
    mix-blend-mode: screen; 
    background-color: #fdfdfe;
    opacity: 1;
    display: block;
}
.color_fondo{
    transition: .05s;
    transform-origin: bottom;
    position: absolute;
    display: block;
    height: 0px;    width: 300px;
    background-color: #2b5c9e;
}
.contadorr{
    height:100px;
    width: 300px;
    transform: rotate(180deg); 
    margin: 1px 1px;
    position: relative;

}
.numeroo{
    height: 100%;
    width: 100%;
    text-align: center;
    font-size: 3.8em;
    font-weight: bold;
    font-family:  sans-serif;
    color: #2b5c9e;
    position: absolute;
    transform: rotate(-180deg);
    mix-blend-mode: screen; 
    background-color: #fdfdfe;
    opacity: 1;
    display: block;
}
.color_fondoo{
    transition: .1s;
    transform-origin: bottom;
    position: absolute;
    display: block;
    height: 0px;
    width: 300px;
    background-color: #2b5c9e;
 }


.contadorrr{
    height:100px;
    width: 300px;
    transform: rotate(180deg); 
    margin: 1px 1px;
    position: relative;
}
.numerooo{
    height: 100%;
    width: 100%;
    text-align: center;
    font-size: 3.8em;
    font-weight: bold;
    font-family:  sans-serif;
    color: #2b5c9e;
    position: absolute;
    transform: rotate(-180deg);
    mix-blend-mode: screen; 
    background-color: #fdfdfe;
    opacity: 1;
    display: block;
}
.color_fondooo{
    transition: .1s;
    transform-origin: bottom;
    position: absolute;
    display: block;
    height: 0px;
    width: 300px;
    background-color: #2b5c9e;
}
.contadorrrr{
    height:100px;
    width: 300px;
    transform: rotate(180deg); 
    margin: 1px 1px;
    position: relative;
}
.numeroooo{
    height: 100%;
    width: 100%;
    text-align: center;
    font-size: 3.8em;
    font-weight: bold;
    font-family:  sans-serif;
    color: #2b5c9e;
    position: absolute;
    transform: rotate(-180deg);
    mix-blend-mode: screen; 
    background-color: #fdfdfe;
    opacity: 1;
    display: block;
}
.color_fondoooo{
    transition: .15s;
    transform-origin: bottom;
    position: absolute;
    display: block;
    height: 0px;
    width: 300px;
    background-color: #2b5c9e;
}
/*Tablas Productividad*/
.h4{font-size:20px;}
tablep {
    table-layout: fixed;
    font-size:16px;
    width: 100%;
    border-collapse: collapse;
    text-align:center;
    border: 1px solid #023a5b;
    box-shadow: 10px 10px 60px #cbcbcd;
}
.tablep th {
    padding: 10px;
    text-align:center;
    background-color: #526c9a;
    color:#fff;
    font-size:10px;
}
.tablep td {
    padding: 20px 0px 20px 0px;
    text-align:center;
    border-collapse: separate;
    border-spacing: 30px;
    font-size: 15px;
}
.tablep tbody tr:nth-child(even) {
    background-color: #a9bbca;
}  
.tablep tr:nth-child(even) {
    background-color: #a9bbca;
}

/*Programas desplegables*/
.uno{
    font-size:16px;
    background-color:#f1f1f1;
    padding:13px 0 13px 0;
    border-top: 1px solid #333;
    font-weight:500;
    margin-top:40px;
}
.uno table {
    float:rigth;
    table-layout: fixed;
    font-size:15px;
    width: 100%;
    border-collapse: collapse;
    border: 3px solid black;
}
.uno thead th:nth-child(1) {
    width: 15%;
}
.uno thead th:nth-child(2) {
    width: 20%;
}
.uno thead th:nth-child(3) {
    width: 50%;
}
.uno thead th:nth-child(4) {
    width: 15%;
}
.uno th, td {
  padding: 20px;
    border-collapse: separate;
    border-spacing: 30px;
}
.uno tbody tr:nth-child(odd) {
    background-color: #f5f6f7;
}
.uno tbody tr:nth-child(even) {
    background-color: #cfd1d5;
}
.botonprograma a {
    font-size: 2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background-color: #f0f7ff;
    border: 1px solid #cce0ff;
}
.botonprograma a:hover {
    font-size:20px;
    color:#212529;
    font-weight: 600;
    font-family: Myriad pro, Arial, Tahoma;
    box-shadow: 3px 3px 3px #005db0;
    background: #b2d5f4;
}
/*Botones Charlas*/
#botonescharla {
    float: left;
    display: inline;
    font-family: Myriad pro, Arial, Tahoma;
    list-style: none;
    margin-top: 0px;
    margin-bottom: 50px;
    margin-left: 5px;
    margin-right: 20px;
}
#botonescharla li {
    float: left;
    display: inline;
    background-color: rgb(45, 123, 197);
    text-align: center;
    font-family: Myriad pro, Arial, Tahoma;
    padding: 15px 5px 15px 5px;
    margin-top: 0px;
    margin-bottom: 5px;
    margin-right: 20px;
    width: 200px;
}
#botonescharla li a {
    font-family: Myriad pro, Arial, Tahoma;
    font-size: 16px;
    color: #ffffff;
    display: block;
    outline: 0;
    text-decoration: none;
    font-weight: bold;
}