.caja13b {
	width: 80%;
	margin-left: 10%;
        background-image: url("../images/audicion_podcast.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

.gemini {
	width:540px;
	background-color: #F0F9FF;
	border-radius:25px;
	background-image: url("../images/gemini_color_160.png");
	background-repeat: no-repeat;
	padding: 15px;
	color: black;
	background-size:40px 40px;
	background-position:10px 10px;
	padding-top:55px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 2px 1px 3px black;
	
}

.caja39 {
	width: 90%;
        text-align: justify;
	margin-left: 5%;
        background-image: url("../images/investigamos.png");
	background-repeat: no-repeat; 
	background-color: rgba(215,236,252,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 5px;
	padding-top:10px;
	font-size: 18px;
}

.caja39b {
	width: 90%;
        text-align: justify;
	margin-left: 5%;
        background-image: url("../images/aplicamoscv2.png");
	background-repeat: no-repeat; 
	background-color: rgba(215,236,252,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 5px;
	padding-top:10px;
	font-size: 17px;
}

.pensamos {
	width: 65%;
        text-align:center;
	text-indent: 0px;
        font-size: 150%;
        font-weight: bold;
	margin-left: 80px;
}




.gpt {
	width:500px;
	background-color: #10A37F;
	border-radius:25px;
	background-image: url("../images/gpt.png");
	background-repeat: no-repeat;
	padding: 15px;
	color: white;
	background-size:40px 40px;
	background-position:10px 10px;
	padding-top:55px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 2px 1px 3px black;
	
}

.sin_borde {
  border: none;
}
.sin_borde .btn_expand {
  display: none;
}



.caja44 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../interactivos/infografia/iconos/infografia_logo.png");
	background-repeat: no-repeat; 
	background-color: rgba(165,199,190,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 25px;
	padding-top:70px;
	font-size: 17px;
}

/* Ajustes para que se presente igual que en la primera edición */
section, 
.caja_menu,
.caja0,
.caja1,
.caja2,
.caja2b,
.caja3,
.caja3b,
.caja4,
.caja5,
.caja6,
.caja7,
.caja8,
.caja9,
.caja10,
.caja11,
.caja12,
.caja13,
.caja14,
.caja15 {
  box-sizing: content-box;
}

.caja_menu .toc_link {
  color: aqua;
  padding: 6px 2px;
}
.toc_link > * {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
}
.toc_link .pageref_number {
  font-size: 10px;
}
.toc_link .pageref_postfix {
  margin-left: 15px;
  font-size: 10px;
}
.toc_link::before {
  border-bottom: none;
}
.toc_link:hover, .toc_link:hover a, .toc_link:hover .toc_number, .toc_link:hover a > span:first-child {
  background-color: rgba(7, 158, 95,0.2);
}

/* estilo para los enlaces en la tabla de contenidos */
#table_of_content .toc_link {
  color: var(--toc-text-color) !important;
}
#table_of_content .toc_link:hover,
#table_of_content .toc_link:hover *{
  background-color: var(--toc-over-color) !important;
}
#table_of_content .toc_selected *,
#table_of_content .toc_selected:hover,
#table_of_content .toc_selected:hover * {
  background-color: var(--toc-text-color) !important;
  color: var(--toc-over-color) !important;
}
.tabla_ejemplo {
  border: 1px solid black;
}

video {
  margin: 0 auto;
}
p {
  line-height: 1.2;
}
.footnote {
  line-height: 1.15;
}
table, tr, td {
  vertical-align: middle;
}

/*Aquí he puesto estilos para la revista */

/*Para el volumne y número de la revista */
.portada {
   position:absolute;
	left:400px;
	top:500px;
	text-align:right;
	width: 180px;
	font-size: 1.3em;
	font-weight:bold;
	color:#0099cd;
}

/* Color de fondo para las páginas */
.page {
  background-color: white;
}
body.dark .page {
  background-color: #000;
}

/* Caja para insertar los contenidos (índice) */
.caja_menu {
  position: relative;
  left: 215px;
  width: 330px;
  height: 750px;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: -15px;
  padding: 10px;
  float: left;
  overflow: hidden;
  color: seagreen;
}

.caja_menu p {
  font-size: 1.4em;
  line-height: 1.3;
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin: 0px;
}

.caja_menu h2 {
  color: brown;
  font-size: 0.8em;
  background: rgba(176, 75, 80, 0.0);
  padding: 3px;
  text-align: left;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.caja_menu a {
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin-left: 0px;
}

/* Caja llamada "section", que podemos usar para cambiar tamaño de fuente, fondos, etc., o combina con la caja 0 */
section {
  width: 512px;
  padding: 15px 15px 10px 10px;
  font-size: 0.9em;
  text-align: left;
}
section p {
  padding-top: 0;
  margin-top: 0;
}

section h1 {
  color: #f22;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja0 {
  margin-top: 15px;
  background-color: rgba(0, 165, 255,0.55);
  box-shadow: 0px 2px 5px #1c1a19;
  border-radius: 5px;
  padding:15px 25px 30px 15px;
  font-size: 1em;
}

/* Para las pestañas de página */

.pestana_izq {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: left;
  padding: 5px;
  margin-top: -30px;
  margin-left: -50px;
  padding-top:2px;
  background-color: rgba(125, 9, 220, 0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

.pestana_izq2 {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: left;
  padding: 5px;
  margin-top: 0px;
  margin-left: 2px;
  padding-top: 2px;
  background-color: rgba(125, 9, 220, 0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

.pestana_der {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: right;
  padding: 5px;
  margin-top: -30px;
  margin-left: 450px;
  padding-top: 2px;
  padding-right: -20px;
  background-color: rgba(25, 119, 20, 0.0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

article {
  width: 230px;
  margin-bottom: 0px;
  padding: 15px 25px 30px 15px;
  font-size: 0.9em;
  text-align: left;
}

aside {
  position: relative;
  width: 210px;
  display: inline-block;
  background-color: rgba(180, 200, 255, 0.3);
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0px 25px 10px 25px;
  font-size: 0.9em;
  text-align: right;
}

aside p {
  padding: 0px 0px 0px 0px;
  font-size: 1.2em;
  text-align: right;
  color:Maroon;
  margin: 10px;
}

article, aside {
  display: inline-block;
  vertical-align: top;
  box-sizing: content-box;
}

.caja1 {
	width: 45%;
	background-color: rgba(255, 102, 0,0.9);
    border-radius: 10px;
    padding: 12px;
	padding-bottom:12px;
	font-size: 12px;
	margin-bottom:0px;
	margin-top: 10px;
	color:white;
	font-family: verdana;
	font-weight:600;
	text-align:left;
}

.caja1 h1 {
  color: #f22;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja2 {
	width: 40%;
	background-color: rgba( 0, 51, 102,1);
    border-radius: 10px;
    padding: 12px;
	font-size: 12px;
	margin-bottom:0px;
	margin-top: 10px;
	color: #99CC99;
	font-family: verdana;
	font-weight:630;
	text-align:left;
}
.caja2 h1 {
  color: 	#4169E1;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
}

.caja2 p {
  color: 	#4169E1;
  font-size: 0.7em;
  color:white;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
  margin-top: 5px;
  margin-bottom: 5px;
}

.caja2b {
  margin-top: 15px;
  margin-left: 65px;
  background-color: rgba(255, 69, 0,0.55);
  box-shadow: 0px 2px 5px #1c1a19;
  border-radius: 5px;
  font-size: 2em;
  width: 70%;
  padding-top: 3px;
  padding-bottom: 8px;
  margin-top: 25px;
}

.caja2b h1 {
  color: rgba(255, 69, 0);
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja3 {
  background: hsl(250 30% 90%);
  border-radius: .3rem;
  overflow: hidden;
  margin: 1em 0;
  margin-left: auto;
  margin-right: auto;
  

}

.caja3 h5 {
  padding: .3rem .5rem;
  margin: 0;
  background: hsl(250 30% 40%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.caja3 .content {
  padding: 0 .5rem;
  color: var(--h2-color);
}

.caja3 .alt {
  background: hsl(190 40% 40%);
}

.caja3b {
  position:absolute;
  margin-left: 0px;
  width: 290px;
  font-size: 1.2em;
}

.caja4 {
  background-color: #fafafa;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 30px 20px 6px 20px;
  
  color: #333;
  max-width: 700px;
  margin: 40px auto;
  margin-bottom: 20px;
}

body.dark .caja4 p {
	color: black;
}

.caja4 p {
	
	font-size: 20px;
  line-height: 1.2;
}

.titulo4 {
  display: inline-block;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  font-size: 22px;
  padding: 6px 12px;
  border-radius: 4px;
  position: relative;
  top: -48px;
  left: 0;
}
.caja5 {
  background: hsl(250 30% 90%);
  border-radius: .3rem;
  overflow: hidden;
  margin: 0.65em 0;
  
  width:80%;
  margin-left:10%;
  
}
   
.caja5 h5 {
  padding: .3rem .5rem;
  margin: 0;
  background: hsl(250 80% 90%);
  color: white;
  font-size: 20px;
  text-align: center;
  
}

.caja5 .content {
  padding: 20px;
  background-image: linear-gradient(-225deg, #FF7F11 0%, #FFB733 40%, #00FF73 80%, #00D656 100%);
	border: 1px solid orange;

}

.caja5 .modo5 {
  text-shadow: 2px 2px 3px black;
  padding: 5px 0 5px 5px;
  background-image: url("../images/logodescartes.png");
  background-repeat: no-repeat;
 
  
  
}

body.dark .caja5 .content {
	color: white;
}

.caja55 {
	width: 95%;
	margin-left: 2%;
        
	background-repeat: no-repeat; 
	background-color: rgba(180,100,180,0.25);
    box-shadow: 6px 6px 6px #777;
    border-radius: 10px;
    padding: 10px;
	padding-top:10px;
	font-size: 18px;
}

body.dark .caja9, .caja8, .caja4 {
	color: black;
}

.caja6 {
  position: relative;
  width: 510px;
  font-size: 29px;
  text-align: center;
  border: 2px solid white;
  border-radius: 10px;
  padding: 5px;
}

.caja7 {
  position: relative;
  width: 510px;
  font-size: 29px;
  text-align: center;
  padding: 5px;
}

 .caja8 {
   width:100%;
   margin-left: 1%;
     background-image: url("../images/interac.png");
   background-repeat: no-repeat;
   background-color: rgba(1,1,1,0);
     box-shadow: 0px 0px 0px   #68cea9  ;
     border-radius: 0;
     padding: 12px;
   padding-top:56px;
   font-size: 16px;
   }

.caja9 {
	width:100%;
	margin-left: 1%;
    background-image: url("../images/est_prop.png");
	background-repeat: no-repeat;
	background-color: rgba(1,1,1,0);
    box-shadow: 0px 0px 0px   #68cea9  ;
    border-radius: 0;
    padding: 12px;
	padding-top:45px;
	font-size: 16px;
 }

.image {
  position: relative;
  display: block;
  transition: transform 0.07s ease-in-out;
}

.image:hover {
  transform: scale(1.5);
}

.vertical-menu {
  width: 300px;
}

.vertical-menu a {
  background-color: bisque;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
}

.vertical-menu a.active {
  background-color: #4CAF50;
  color: white;
}

.caja10 h1 {
  color: OrangeRed;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
}

.caja11 {
  width: 80%;
  margin-left: 8%;
  background-color: rgba(0,0,100,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 5px;
  padding: 15px;
}

.caja12 {
  width: 50%;
  margin-left: 40%;
  background-image: url("../images/ejercicios.png");
  background-repeat: no-repeat; 
  background-color: rgba(200,200,200,0.45);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 70px;
  font-size: 20px;
}

.caja13 {
  width: 50%;
  margin-left: 40%;
  background-image: url("../images/ejemplo.png");
  background-repeat: no-repeat; 
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 70px;
  padding-bottom: 10px;
  font-size: 20px;
}

.caja14 {
  width: 60%;
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 15px 25px 10px 15px;
  font-size: 20px;
  color:white;
}
.caja14 a {
  color: orange;
}

.caja15 {
  width: 90%;
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 10px;
  font-size: 20px;
  color:white;
}
.caja15 a {
  color: orange;
}

    .caja20 {
    	width:100%;
    	margin-left: 1%;
        background-image: url("../images/caja10video.png");
    	background-repeat: no-repeat;
    	background-color: rgba();
        box-shadow: 0px 0px 0px   #68cea9  ;
        border-radius: 0;
        padding: 12px;
    	padding-top:60px;
    	font-size: 16px;
      }
	  
	  .caja50 {
	width:100%;
	margin-left: 1%;
    background-image: url("../images/est_prop.png");
	background-repeat: no-repeat;
	background-color: rgba();
    box-shadow: 0px 0px 0px   #68cea9  ;
    border-radius: 0;
    padding: 12px;
	padding-top:45px;
	font-size: 16px;
}

  .caja90 {
  	width:100%;
  	margin-left: 1%;
      background-image: url("../images/interac.png");
  	background-repeat: no-repeat;
  	background-color: rgba();
      box-shadow: 0px 0px 0px   #68cea9  ;
      border-radius: 0;
      padding: 12px;
  	padding-top:56px;
  	font-size: 16px;
    }
	
	.caja120 {
	width:100%;
	margin-left: 1%;
    background-image: url("../images/problema1.png");
	background-repeat: no-repeat;
	background-color: rgba(0.55);
    box-shadow: 0px 0px 0px #c2dbf5;
    border-radius: 15px;
    padding: 8px;
	padding-top:70px;
	font-size: 16px;
  color: #2F343A  ;
}
	
.cajapodcast {
	width: 80%;
	margin-left: 10%;
    background-image: url("../imagenes/entrevista.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

/* Para el texto de imágenes */
.fig {
  color:#000;
  font-size:15px;
  padding:0; 
}

/* Estilos para listas con imágenes */
.lista1 li {
	padding-top: 0px;
	padding-left: 45px;
	list-style: none;
	background-image: url("listas/ai2.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
	margin-left:-10px;
}

.listaJA  li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top: 5px;
	list-style: none;
	background-image: url("../images/x_lista.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
}

.lista2 li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top:5px;
	list-style: none;
	background-image: url("../images/logodescartes.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
}

.sonic {
	width:500px;
	background-color: #4932EA;
	border-radius:25px;
	background-image: url("../images/sonic.png");
	background-repeat: no-repeat;
	padding: 15px;
	color: white;
	background-size:140px 40px;
	background-position:10px 10px;
	padding-top:55px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 2px 1px 3px black;
	
}

.lista2 li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top:5px;
	list-style: none;
	background-image: url("../images/logodescartes.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
	
}

.lista11 li {
	padding-top: 0px;
	padding-left: 45px;
	list-style: none;
	background-image: url("listas/cristal.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
	margin-left:-35px;
}

.lista12 li {
	padding-top: 0px;
	padding-left: 45px;
	list-style: none;
	background-image: url("listas/vineta_economia.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
	margin-left:-10px;
}

.lista10 li {
	padding-top: 0px;
	padding-left: 45px;
	list-style: none;
	background-image: url("listas/vineta_100_trans.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
	margin-left:-10px;
}

.lista3 li {
	padding-top: 0px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/ok.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}

.lista3b li {
	padding-top: 0px;
	padding-left: 30px;
	list-style: none;
	background-image: url("../images/logo.png");
	background-repeat: no-repeat;
	background-position: left top;
	margin-left: -40px;
	background-size: 20px;
}

.lista4 li {
	padding-top: 0px;
	padding-left: 35px;
	margin-left:-30px;
	list-style: none;
	background-image: url("../images/punto.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 25px;
}
  
.lista5 li {
	padding-top: 0px;
	padding-left: 40px;
	list-style: none;
	background-image: url("listas/ai3.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 35px;
	margin-left:-10px;
}

#tool_calculadora {
  width: 35px;
  height: 35px;
  background-image: url("iconos/icono_claro.svg");
}
body.dark #tool_calculadora {
  background-image: url("iconos/icono_oscuro.svg");
}

#tool_editor {
  width: 35px;
  height: 35px;
  background-image: url("iconos/editor_claro.svg");
}
body.dark #tool_editor {
  background-image: url("iconos/editor_oscuro.svg");
}

#tool_katex {
  width: 88px;
  height: 32px;
  background-image: url("iconos/katex_claro.svg");
}
body.dark #tool_katex {
  background-image: url("iconos/katex_oscuro.svg");
}

/* Estilos para la etiqueta audio */

/* Color del fondo */
audio::-webkit-media-controls-panel {
  background-color: #56AEFF;
}

audio::-webkit-media-controls-timeline {
  background-color: #B1D4E0;
  border-radius: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

/* Estilo para el botón play */	
audio::-webkit-media-controls-play-button {
  background-color: #B1D4E0;
  border-radius: 50%;
}
audio::-webkit-media-controls-play-button:hover {
  background-color: rgba(177,212,224, .7);
}

/* Estilo para el tiempo transcurrido */
audio::-webkit-media-controls-current-time-display {
  color: #fff;
}

table, th, td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: left;
}
th, td {
	padding: 2px 3px 2px 3px;
}
table {
	width:100%;
}
th {
	background: rgb(79,112,197);
	color: white;
	text-align: center;
}
tr:nth-child(even) {background-color: #d2e2d2;}



body.dark tr:nth-child(even) {
  color: #555;
}

  /** Estilos para el sumario  **/

.col_sum4 {
	position:absolute; 
	left:50px;
	top:100px;
	
	width:540px;
	padding:10px;
	
	padding-top:-20px;
	border-right: 1px solid rgba(100,100,100,0.4);
}
.col_izquierda2 {
	position:absolute; 
	left:30px;
	top:100px;
	width:580px;
	padding:10px;
	font-size: 15px;
	color:white;
	padding-top:-20px;
}

.consejo {
    position: absolute;
    left: 60px;
    top: 60px;
    height: 720px;
    width: 400px;
    background-image: linear-gradient(
        225deg,
        #1565C0 0%,
        #0288D1 50%,
        #40E0D0 100%
    );
    background-size: 400px 720px;
    background-position: 0px 0px;
    padding: 15px;
    font-size: 15px;
    color: #FFFFFF;
    padding-top: 0px;
    opacity: 0.8;
}

.editorial {
    position: absolute;
    left: 180px;
    top: 60px;
    height: 720px;
    width: 460px;
    background-image: linear-gradient(
        -225deg,
        #1565C0 0%,
        #0288D1 50%,
        #40E0D0 100%
    );
    background-size: 460px 720px;
    background-position: 0px 0px;
    padding: 15px;
    font-size: 15px;
    color: #FFFFFF;
    padding-top: 0px;
    opacity: 0.9;
}

.page_number {
  font-size:30px;
  color:white;
  width: 70px;
  height: 70px;
  background-color: #fb8615;  
  border-radius: 50%; 
}

.page:nth-child(even) .page_number {
  padding-top:17px;
  bottom:-15px;
  text-shadow: 2px 2px 0px black;
  left: 575px;
  
}
.page:nth-child(odd) .page_number {
   padding-top:17px;
   bottom:-15px;
   text-shadow: 2px 2px 0px black;
   left:-7px;
}

.numero_revista {
  position: absolute;
  color: white;
  left: 0;
  right: 0;
  bottom: -8px;
  text-align: center;
  font-weight: bold;
  font-size: 80%;
  line-height: 2em;
  padding: 0.2em 3.75em 0.2em 3.75em;
  margin-bottom: 8px;
  
  
} 
.page:nth-child(even) .numero_revista {
  text-align: left;
  margin-left: 0px;
  margin-bottom: 9px;
  background-color: #FF3CAC;
	background-image: linear-gradient(-225deg, #FF7F11 0%, #FFB733 40%, #00FF73 80%, #00D656 100%);
	background-size: 150% 300%;
  animation: gradientMove 5s ease infinite;
}
.page:nth-child(odd) .numero_revista {
  text-align: right;
  margin-left: 0px;
  margin-bottom: 9px;
  padding-right:52px;
  background-color: #FF3CAC;
	background-image: linear-gradient(225deg, #FF7F11 0%, #FFB733 40%, #00FF73 80%, #00D656 100%);
	background-size: 150% 300%;
  animation: gradientMove 5s ease infinite;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.columna1 {
	
	width:250px;
	font-size:18px;	
}
.columna2 {
	position:absolute;
	top:50px;
	left:340px;
	width:250px;
	font-size:18px;	
}

.button1 {
  background-color: white; 
  color: black; 
  border: 2px solid #4CAF50;
  font-size: 18px;
}

.button1:hover {
  background-color: #4CAF50;
  color: white;
  
}

.button2 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
  font-size: 18px;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

.button3 {
  background-color: white; 
  color: black; 
  border: 2px solid #f44336;
  font-size: 18px;
}

.button3:hover {
  background-color: #f44336;
  color: white;
}

.button4 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
  font-size: 18px;
}

.button4:hover {background-color: #e7e7e7;}

.button5 {
  background-color: white;
  color: black;
  border: 2px solid #555555;
  font-size: 18px;
}

.button5:hover {
  background-color: #555555;
  color: white;
}

/* Incorporación de imagen flotando a la izquierda o derecha, se diseñó para ocupar un ancho del 50%, con ancho de imagen del 100% (para valores menores, hay que poner un estilo que modifique las márgenes */
.flota_i {
	float: left;
    margin: 0px 10px -15px -5px;
	padding: 5px;
	border: 1px solid rgba(1,1,1,0);
	width: 50%;
	margin-top:5px;
}

.flota_i .figcaption {
	text-align: center;
	margin-bottom:-10px;
	color: var(--text-color);
}

.flota_d {
	float: right;
    margin: 0px -10px 0px 15px;
	padding: 5px;
	border: 1px solid rgba(1,1,1,0);
	width: 50%;
	margin-top:5px;
		
}

.flota_d .figcaption {
	text-align: center;
	margin-bottom:-10px;
	color: var(--h2-color);
}

.caja36 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../images/presentacion3.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

.postit {
	position: absolute;
	left:5px;
	top: 90px;
	width: 430px;
	height: 380px;
	transform: rotate(-90deg);
	text-align: right;
}

.postit2 {
	position: absolute; 
	width: 120px; 
	height: 795px; 
	top: 0px; 
	left: 0px; 
	background-image: linear-gradient(-225deg, #FF7F11 0%, #FFB733 40%, #00FF73 80%, #00D656 100%);
	font-size: 45px;
	font-weight: 900;
	color: white;
	text-shadow: 3px 2px 2px black;
	border-left: 5px solid #FF7F11;
}

.subtitulo_paper {
	color:var(--h1-color);
	font-size: 20px;
	font-weight: 900;
	
}

.sin_boton2 {
	border: 0px; background-color: rgba(1,1,1,0);
	
}

.sin_boton2 .btn_expand {
border: 0px solid red;
background-color: rgba(1,1,1, 0);
background-image: url("");
}

body.dark .sin_boton2 .btn_expand {
background-image: url("");
}

.caja21 {
	font-family: Amaranth;	
	width: 90%;
	background-color: rgba(128,40,20, 0.8);
	padding: 25px;
	font-size: 22px;
	text-align: left;
	margin: auto;
	color: white;
	border: 2px solid gray;
	border-radius: 15px;
	box-shadow: 4px 3px 2px black;
	align-items:center;
    justify-content:center;
	font-size: 22px;
}

.caja22 {
	font-family: Amaranth;	
	width: 90%;
	background-color: rgba(128,40,120, 0.8);
	padding: 25px;
	font-size: 22px;
	text-align: left;
	margin: auto;
	color: white;
	border: 2px solid gray;
	border-radius: 15px;
	box-shadow: 4px 3px 2px black;
	align-items:center;
    justify-content:center;
	font-size: 22px;
}

.caja27 {
	width: 90%;
        text-align: justify;
	margin-left: 5%;
        background-image: url("../images/hacemos.png");
	background-repeat: no-repeat; 
	background-color: rgba(215,236,252,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 5px;
	padding-top:10px;
	font-size: 18px;
}

.caja19 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../images/pensar_circulo_2.png");
	background-repeat: no-repeat; 
	background-color: rgba(215,236,252,0.45);
        box-shadow: 6px 6px 10px #000;
        border-radius: 10px;
        padding: 5px;
	padding-top:10px;
	font-size: 18px;
}

.sin_boton {
border: 0px; 
background-color: rgba(1,1,1,0);
}

.sin_boton .btn_expand {
border: 0px solid red;
background-color: rgba(1,1,1, 0);
opacity: 0.1;
}

/* Estilo para contenedor */
.contenedor {
  width: 90%;
  margin: 0 auto;
  background-color: rgba(255, 0, 0, 0.7); /* Fondo semitransparente al 70% */
  background-image: conic-gradient(red, orange, yellow, green, blue, indigo, violet); /* Degradado de fondo del arco iris */
  border: 10px solid brown; /* Borde marrón de 10 px */
  border-radius: 15px; /* Esquinas redondeadas con 15px */
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5); /* Sombra hacia la derecha y hacia abajo */
  text-align: center;
  padding: 10px;
}

.contenedor h1 {
  font-size: 36px; /* Tamaño de letra de 36 px para el título principal */
  color: lightgreen; /* Título en verde claro */
}

.contenedor h2 {
  font-size: 32px; /* Tamaño de letra de 32 px para el título secundario */
  color: yellow;
}

.contenedor p {
  font-size: 28px; /* Tamaño de letra de 28 px para el texto */
  color: lightgray;
}

 table.content-table {
    width: 100%;
    border-collapse: collapse;
 }

/* Estilos de las celdas */
table.content-table td, table.content-table th {
    border: 1px solid red; /* Cambio de borde a rojo */
    padding: 5px;
    transition: all 0.5s; /* Retardo de 0.5 segundos */
}

/* Cambio de color al pasar el ratón */
table.content-table td:hover {
    background-color: blue; /* Cambio de fondo a azul */
    color: gray; /* Cambio de letra a gris */
    border-width: 8px; /* Cuadruplicar el grosor del borde */
    font-size: 200%; /* Cambio de tamaño de letra al doble */
}	

/* Estilo para el contenedor de imágenes*/
   .container {
    position: relative;
    width: 540px;
    height: 540px;
    margin: auto;
    overflow: hidden;
    border: 10px solid #000;
    border-radius: 20px;
    transition: border-color 1s ease, border-width 1s ease;
  }

  .container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease;
  }

  .container img.second {
    opacity: 0;
  }

  .container:hover img.first {
    opacity: 0;
  }

  .container:hover img.second {
    opacity: 1;
  }

  .container:hover {
    border-color: #f00;
    border-width: 20px;
  }
  
 /* Estilos pregunta-respuesta*/
        .contendor10 {
            position: relative;
            cursor: pointer;
            padding: 20px;
            border: 1px solid #ccc;
            background-color: #f9f9f9; /* Color de fondo inicial */
            transition: background-color 0.5s ease; /* Transición suave para el fondo */
        }

        .respuesta {
            visibility: hidden;
            height: 0;
            margin-top: 10px;
            font-size: 2em; /* Doble tamaño de fuente */
            color: #006400; /* Color verde oscuro */
            opacity: 0;
            transition: visibility 0s 0.5s, height 0.5s ease, opacity 0.5s ease; /* Transición suave para la visibilidad, altura y opacidad */
        }

        .contendor10:hover {
            background-color: #e0f7fa; /* Nuevo color de fondo al pasar el cursor */
        }

        .contendor10:hover .respuesta {
            visibility: visible;
            height: auto;
            opacity: 1;
            transition-delay: 0s, 0s, 0.5s; /* Sin retardo para visibilidad y altura, retardo para opacidad */
        }
  
  
  /* Estilos para aparición de textos*/
        .contenedor1 {
            position: relative;
            width: 200px;
            height: 100px;
            background-color: #f0f0f0;
            overflow: hidden;
        }

        .texto-original {
            font-size: 40px;
            color: #333;
            transition: transform 0.5s ease;
        }

        .contenedor1:hover .texto-original {
            transform: translateY(-100%);
        }

        .texto-nuevo {
            position: absolute;
            top: 100%;
            font-size: 20px;
            color: #ff5733;
        }  
		
		
  /* Estilos para reemplazo de texto*/
  
        .contenedor-texto {
            position: relative;
            display: inline-block;
            text-align: center;		
            width: 100%; /* Asegura que el contenedor tome el 100% del ancho del padre */
        }

        .texto-original, .texto-cambiado {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
        }

        .texto-original {
            color: green;
            font-size: 40px;
        }

        .texto-cambiado {
            color: red;
            font-size: 30px;
            visibility: hidden;
        }

        .contenedor-texto:hover .texto-original {
            visibility: hidden;
        }

        .contenedor-texto:hover .texto-cambiado {
            visibility: visible;
        }		
		

  /* Primera letra grande*/		
        .primera-letra-grande::first-letter {
            font-size: 60px;
        }		
		
  /* Texto en 3D*/	
        .texto-3d {
           font-size: 50px;
            font-weight: bold;
            color: #FF0000; /* Color base */
            text-shadow: 1px 1px 0 #FF7F00,
                         2px 2px 0 #FFFF00,
                         3px 3px 0 #7FFF00,
                         4px 4px 0 #00FF00,
                         5px 5px 0 #00FF7F,
                         6px 6px 0 #00FFFF,
                         7px 7px 0 #007FFF,
                         8px 8px 0 #0000FF,
                         9px 9px 0 #7F00FF,
                         10px 10px 0 #FF00FF;
        }		
		
  /* Texto animado deslizante1*/		
  
.animated-text {
  overflow: hidden;
  font-size: 40px; /* Tamaño inicial del texto */  
  white-space: nowrap;
  animation: slide 10s linear infinite;
}

@keyframes slide {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

  /* Texto animado deslizante2*/	
        .contenedor16 {
            overflow: hidden;
            white-space: nowrap;
        }

        .texto-deslizante {
            display: inline-block;
            font-size: 40px;
            padding-left: 100%;
            animation: deslizar 15s linear infinite; /* Duración de animación más larga */
        }

        @keyframes deslizar {
            0% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(-200%); /* Aumenta el valor para hacerlo más lento */
            }
        }

        /* Segundo texto deslizante */
        .texto-deslizante:nth-child(2) {
            animation-delay: 7.5s; /* Retraso entre iteraciones */
        }
		
  /* Texto en movimiento*/			
          .animated-text3 {
            font-size: 40px; /* Tamaño inicial del texto */
            animation: shrink-grow-rotate 4s infinite alternate;
        }

        @keyframes shrink-grow-rotate {
            0% {
                transform: scale(1); /* Tamaño normal */
            }
            50% {
                transform: scale(0.5); /* Tamaño reducido a la mitad */
            }
            100% {
                transform: scale(1) rotate(360deg); /* Tamaño normal y rotación completa */
            }
        }
		
  /* Texto que cambia de color*/			
        .random-color-text {
            animation: changeColor 5s infinite alternate;
            font-size: 40px; /* Tamaño inicial del texto */			
        }

        @keyframes changeColor {
            0% {
                color: #ff0000; /* Rojo */
            }
            25% {
                color: #00ff00; /* Verde */
            }
            50% {
                color: #0000ff; /* Azul */
            }
            75% {
                color: #ff00ff; /* Magenta */
            }
            100% {
                color: #ffff00; /* Amarillo */
            }
        }		
		
  /* Efecto chulo*/			
        .texto-chulo {
            font-size: 40px;
            color: #4CAF50; /* Color principal del texto */
            text-shadow: 2px 2px 2px #000000; /* Sombra del texto */
            animation: chulo 2s ease-in-out infinite alternate; /* Animación */
        }

        @keyframes chulo {
            from {
                text-shadow: 2px 2px 2px #000000; /* Sombra inicial */
            }
            to {
                text-shadow: 6px 6px 6px #4CAF50, -2px -2px 6px #FF5722; /* Sombra final */
            }
        }	

  /* Efecto chulo 2*/			
.mi-texto-animado {
  animation: rebote 1s infinite alternate;
            font-size: 40px;  
}

@keyframes rebote {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.caja-formula,
.caja-ford {
  background: #f4f8fc;
  border: 1px solid #dbeafe;
  border-left: 4px solid #0089cd;
  border-radius: 6px;
  padding: 10px 18px !important;
  margin: 14px 0 12px 0 !important;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.caja-ford {
  background: #f0f7fd;
  border-color: #dbeafe;
  border-left-color: #2363ad;
}

.caja-formula .simbolo,
.caja-ford .formula-destacada {
  font-size: 16.5px;
  color: #0b457b;
  margin-bottom: 4px;
  line-height: 1.25;
}

.caja-formula .katex-display,
.caja-ford .katex-display {
  margin: 4px 0 !important;
}

.caja-solin,
.caja-solin-azul {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0089cd;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.caja-solin-azul .titulo,
.caja-solin .titulo {
  font-size: 14.5px;
  font-weight: bold;
  color: #0b457b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Caja estilo Verde Esmeralda (Para propiedades, lemas o ideas clave) */
.caja-solin-verde {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-left: 4px solid #10b981;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.caja-solin-verde .titulo {
  font-size: 14.5px;
  font-weight: bold;
  color: #065f46;
  margin-bottom: 4px;
}

/* Caja estilo Ámbar / Dorado (Para teoremas, Fibonacci y proporciones áureas) */
.caja-solin-oro {
  background: #fffdf5;
  border: 1px solid #fef3c7;
  border-left: 4px solid #d97706;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.caja-solin-oro .titulo {
  font-size: 14.5px;
  font-weight: bold;
  color: #92400e;
  margin-bottom: 4px;
}

/* Caja estilo Morado / Violeta (Para reflexiones pedagógicas y citas) */
.caja-solin-morado {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  border-left: 4px solid #8b5cf6;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.caja-solin-morado .titulo {
  font-size: 14.5px;
  font-weight: bold;
  color: #5b21b6;
  margin-bottom: 4px;
}

/* ==========================================================================
   3. CAJA TIPO TARJETA FLOTANTE (Card minimalista)
   ========================================================================== */
.caja-tarjeta {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 10px 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.caja-tarjeta .cabecera {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   4. CAJA DE EJEMPLO MATEMÁTICO (Con badge pill)
   ========================================================================== */
.caja-ejemplo {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  position: relative;
}

.caja-ejemplo .insignia {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

body.dark .caja-solin,
body.dark .caja-solin-azul {
  background: #1e222b;
  border-color: #2e3440;
  border-left-color: #38bdf8;
  color: #e5e9f0;
}

body.dark .caja-solin-verde {
  background: #1c2724;
  border-color: #234237;
  border-left-color: #34d399;
  color: #e5e9f0;
}

body.dark .caja-solin-oro {
  background: #29241b;
  border-color: #4a3e20;
  border-left-color: #fbbf24;
  color: #e5e9f0;
}

body.dark .caja-solin-morado {
  background: #241e2e;
  border-color: #3f2f54;
  border-left-color: #c084fc;
  color: #e5e9f0;
}

body.dark .caja-tarjeta,
body.dark .caja-ejemplo {
  background: #252830;
  border-color: #3b4252;
  color: #e5e9f0;
}




.caja-formula .glosa,
.caja-ford .glosa {
  font-size: 12.5px;
  color: #334e68;
  font-style: italic;
  margin-top: 3px;
  line-height: 1.3;
}

body.dark .formula {
  background: #1e2430;
  border-left-color: #38bdf8;
  color: #e5e9f0;
}

body.dark .sequence span,
body.dark .chip-fraccion {
  background: #252c3d;
  border-color: #3b4252;
  color: #93c5fd;
}

body.dark .chip {
  background: #1e293b;
  color: #60a5fa;
}

body.dark .note {
  color: #94a3b8;
}

body.dark .tabla-farey th {
  background-color: #242c3d;
  color: #60a5fa;
  border-color: #3b4252;
}

body.dark .tabla-farey td {
  border-color: #3b4252;
  color: #e5e9f0;
}

.destacado-autor {
  font-size: 16px;
  color: #2363ad;
  font-weight: bold;
  margin-bottom: 3px;
}

.subtitulo-art {
  font-size: 14px;
  color: #555;
  margin-top: -3px;
  margin-bottom: 12px;
  font-style: italic;
}

.tabla-farey {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-radius: 5px;
  overflow: hidden;
}

.tabla-farey th,
.tabla-farey td {
  border: 1px solid #d8e2ec;
  padding: 6px 8px;
  text-align: center;
}

.tabla-farey th {
  background-color: #edf4fa;
  color: #174b8b;
  font-weight: bold;
}

.formula {
  background: #f0f5fd;
  padding: 8px 16px;
  border-left: 4px solid #3680d1;
  border-radius: 8px;
  overflow-x: auto;
  margin: 12px 0;
  text-align: center;
  line-height: 1;
}

.formula .katex-display {
  margin: 2px 0 !important;
  padding: 0 !important;
}

.formula .katex {
  line-height: 1.15;
}

.sequence {
  line-height: 2.5;
  overflow-wrap: anywhere;
  text-align: center;
  margin: 8px 0;
}

.sequence span,
.chip-fraccion {
  display: inline-block;
  background: #edf4fe;
  border: 1px solid #c9dbf2;
  border-radius: 6px;
  padding: 2px 7px;
  margin: 2px 3px;
  font-size: 13px;
  font-weight: 600;
  font-family: monospace;
  color: #154c88;
}

.chip {
  display: inline-block;
  background: #eaf2ff;
  border-radius: 20px;
  padding: 4px 12px;
  color: #154c88;
  margin: 3px;
  font-weight: 600;
  font-size: 12.5px;
}

.stage {
  border: 1px solid #d4deed;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  margin: 8px 0;
}

.pie-laboratorio {
  text-align: center;
  font-size: 12.5px;
  color: #53647b;
  margin: 6px auto 8px auto;
  line-height: 1.35;
  font-style: italic;
  max-width: 560px;
}

.pie-laboratorio b,
.pie-laboratorio .lab-num {
  font-weight: bold;
  color: #174b8b;
  font-style: normal;
}

body.dark .pie-laboratorio {
  color: #94a3b8;
}

body.dark .pie-laboratorio b,
body.dark .pie-laboratorio .lab-num {
  color: #60a5fa;
}

/* ==========================================================================
   6. REDISEÑO LIMPIO DE LISTAS (.lista1, .lista2, .lista3)
   Elimina los iconos antiguos (libros.png, platano.png, dance.png) y los
   sustituye por viñetas vectoriales modernas, elegantes y proporcionadas.
   ========================================================================== */
ul.lista1,
ul.lista2,
ul.lista3,
ul.lista-solin {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 8px 0 !important;
}

ul.lista1 li,
ul.lista-solin li {
  position: relative !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 22px !important;
  margin-left: 0 !important;
  margin-bottom: 5px !important;
  background-image: none !important;
  line-height: 1.45;
}

/* Viñeta circular azul moderna con halo sutil (Sustituye libros.png) */
ul.lista1 li::before,
ul.lista-solin li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0089cd;
  box-shadow: 0 0 0 2px rgba(0, 137, 205, 0.25);
}

/* Viñeta verde de verificación ✓ (Sustituye platano.png) */
ul.lista2 li {
  position: relative !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 22px !important;
  margin-left: 0 !important;
  margin-bottom: 5px !important;
  background-image: none !important;
  line-height: 1.45;
}

ul.lista2 li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 1px;
  color: #10b981;
  font-weight: bold;
  font-size: 13px;
}

/* Viñeta rombo geométrica azul oscuro (Sustituye dance.png) */
ul.lista3 li {
  position: relative !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 22px !important;
  margin-left: 0 !important;
  margin-bottom: 5px !important;
  background-image: none !important;
  line-height: 1.45;
}

ul.lista3 li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: #185a9d;
  transform: rotate(45deg);
}

body.dark ul.lista1 li::before,
body.dark ul.lista-solin li::before {
  background: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

body.dark ul.lista2 li::before {
  color: #34d399;
}

body.dark ul.lista3 li::before {
  background: #60a5fa;
}

/* ==========================================================================
   7. ESTILOS PROPIOS DEL ARTÍCULO FAREY A FIBONACCI (farey_indentado.html)
   ========================================================================== */

.destacado-autor {
  font-size: 16px;
  color: #2363ad;
  font-weight: bold;
  margin-bottom: 3px;
}

.subtitulo-art {
  font-size: 14px;
  color: #555;
  margin-top: -3px;
  margin-bottom: 12px;
  font-style: italic;
}

.tabla-farey {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-radius: 5px;
  overflow: hidden;
}

.tabla-farey th,
.tabla-farey td {
  border: 1px solid #d8e2ec;
  padding: 6px 8px;
  text-align: center;
}

.tabla-farey th {
  background-color: #edf4fa;
  color: #174b8b;
  font-weight: bold;
}

.caja3 {
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin: 14px auto 12px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.caja3 h5 {
  margin: 0;
  padding: 8px 16px;
  background: linear-gradient(135deg, #185a9d 0%, #2980b9 100%);
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  text-align: left !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.caja3 h5.alt {
  background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
}

.caja3 h5.oro {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.caja3 h5.morado {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.caja3 .content {
  padding: 12px 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
}

.caja3 .content p:last-child {
  margin-bottom: 0;
}

body.dark .caja3 {
  background: #252830;
  border-color: #3b4252;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark .caja3 .content {
  color: #e5e9f0;
}

body.dark .caja-solin,
body.dark .caja-solin-azul {
  background: #1e222b;
  border-color: #2e3440;
  border-left-color: #38bdf8;
  color: #e5e9f0;
}

body.dark .caja-solin-verde {
  background: #1c2724;
  border-color: #234237;
  border-left-color: #34d399;
  color: #e5e9f0;
}

body.dark .caja-solin-oro {
  background: #29241b;
  border-color: #4a3e20;
  border-left-color: #fbbf24;
  color: #e5e9f0;
}

body.dark .caja-solin-morado {
  background: #241e2e;
  border-color: #3f2f54;
  border-left-color: #c084fc;
  color: #e5e9f0;
}

body.dark .caja-tarjeta,
body.dark .caja-ejemplo {
  background: #252830;
  border-color: #3b4252;
  color: #e5e9f0;
}

========================================================================== */
.caja3 {
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin: 14px auto 12px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.caja3 h5 {
  margin: 0;
  padding: 8px 16px;
  background: linear-gradient(135deg, #185a9d 0%, #2980b9 100%);
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  text-align: left !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.caja3 h5.alt {
  background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
}

.caja3 h5.oro {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.caja3 h5.morado {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.caja3 .content {
  padding: 12px 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
}

.caja3 .content p:last-child {
  margin-bottom: 0;
}

.video-container {
  text-align: center;
  margin: 14px auto;
}

.video-container video {
  width: 100%;
  max-width: 530px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  background: #000000;
  display: block;
  margin: 0 auto;
}

p, ol, ul {
    hyphens: auto;
}

.lista  li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top: 5px;
	list-style: none;
	background-image: url("../images/x_lista.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
}

.tabla-solin {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 14.5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  overflow: hidden;
}

.tabla-solin th,
.tabla-solin td {
  border: 1px solid #d4deeb;
  padding: 5px 6px;
  text-align: center;
}

.tabla-solin th {
  background-color: #e9f0f8;
  color: #1a446c;
  font-weight: bold;
}

body.dark .tabla-solin th,
body.dark .tabla-solin td {
  border-color: #3b4252;
}

body.dark .tabla-solin th {
  background-color: #2e3440;
  color: #88c0d0;
}

body.dark .tabla-solin td {
  background-color: #252830;
  color: #e5e9f0;
}

.pie-tabla {
  text-align: center;
  font-size: 12.5px;
  color: #53647b;
  margin: 4px auto 10px auto;
  line-height: 1.35;
}

.pie-tabla b {
  font-weight: bold;
  color: #174b8b;
}

body.dark .pie-tabla {
  color: #94a3b8;
}

body.dark .pie-tabla b {
  color: #60a5fa;
}

.tabla-edgar {
    overflow-x:auto;
    margin:22px 0;
    border:1px solid var(--line);
    border-radius:3px;
    width:100%;
    border-collapse:collapse;
    font-size:14px;
    background:var(--paper-light);
  }
.tabla-edgar th {
    font-size: 12px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    background:rgba(0,0,0,0.8);
    color:white;
    padding:11px 14px;
    text-align:center;
  }
.tabla-edgar td {
    padding: 7px 14px;
    border-top: 1px solid black;
    color: var(--p-color);
  }
.tabla-edgar td.word {
    font-style: italic;
    font-weight: 700;
    color: brown;
  }
.tabla-edgar td.pretension {
    color: var(--h1-color);
    font-weight:600;
  }
  
 pre{
    background:rgba(0,0,0,0.9);
    color:var(--h1-color);
    font-size:16px;
    line-height:1.6;
    padding:18px 20px;
    border-radius:4px;
    overflow-x:auto;
    margin:18px 0;
	text-wrap: wrap;  
  }
  pre .cm{ color:#9fae9f; }
  pre .kw{ color:#e0b866; }
  pre .st{ color:#c9a3a0; }

  .step-label{
    font-family:'JetBrains Mono', monospace;
    font-size:16px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--h1-color);
    margin-bottom:6px;
    display:block;
  }