/* Estilos generales para tablas académicas */
.table-cursos {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 10px;
  color: #2c2c2c;
  background-color: #fdfdfc; /* blanco cálido */
}

/* Celdas */
.table-cursos th,
.table-cursos td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #bbb;
}

/* Encabezado */
.table-cursos th {
  background-color: #2a3f5f; /* azul clásico institucional */
  color: #f1f1f1; /* texto claro */
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

/* Hover sobre filas */
.table-cursos tr:hover {
  background-color: #ececec; /* gris muy claro */
}

/* Responsive para móviles */
@media screen and (max-width: 600px) {
  .table-cursos thead {
    display: none;
  }

  .table-cursos,
  .table-cursos tbody,
  .table-cursos tr,
  .table-cursos td {
    display: block;
    width: 100%;
  }

  .table-cursos tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    background-color: #fff;
  }

  .table-cursos td {
    text-align: right;
    padding-left: 55%;
    position: relative;
    color: #2c2c2c;
    font-size: 15px;
  }

  .table-cursos td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-left: 10px;
    font-weight: bold;
    text-align: left;
    color: #4a4a4a;
    text-transform: uppercase;
    font-size: 13px;
  }
}

/* Estilo para caja tipo "linktree" institucional */
.linktree-box {
  text-align: center;
  margin: 20px auto;
  padding: 12px;
  background-color: #f4f6f8;
  border: 1px solid #c5cbd5;
  border-radius: 8px;
  max-width: 480px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  font-family: Arial, sans-serif;
}

.linktree-box a {
  display: inline-block;
  padding: 10px 22px;
  background-color: #2a3f5f;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin: 5px;
}

.linktree-box a:hover {
  background-color: #1d2d45;
}
