.md-grid {
  max-width: 100%;
}

h1 {
  
  font-weight: 700;
  font-weight: 600 !important; /* Fuerza el grosor al máximo (Ultra-Bold) */
  text-align: center;
}

/* Títulos H2 (##): estilo de banda azul, definido en seccion.css */

/* Resaltar los títulos H3 (###) */
h3 {
  color: #1f5fb8;       /* Azul medio ATECA */
  font-weight: 600 !important; /* Fuerza el grosor al máximo (Ultra-Bold) */
  margin-top: 22px;
}

/*Justificación del texto de las listas y los párrafos*/
.md-typeset p {
  text-align: justify;
}

.md-typeset ul li,
.md-typeset ol li {
  text-align: justify;
}

/*Centrar imágenes*/
img {
  display: block;
  margin: 0 auto;
}

/*Centrar Tablas*/
.md-typeset__table {
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

.md-typeset__table table {
  display: table !important;
  width: auto !important;
}

/* ============================================
   BLOQUES DE CÓDIGO (```bash, ```python, etc.)
   ============================================ */

/* Bloque de código general */
.md-typeset pre {
  background-color: #eee;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  border-left: 5px solid #1f5fb8;
  box-shadow: 0 4px 12px #000;
  margin: 1.2rem 0;
}

/* El texto dentro del bloque */
.md-typeset pre code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.70rem;
  line-height: 1.5;
  color: #000;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
/* ============================================
   COMENTARIOS EN BLOQUES DE CÓDIGO
   ============================================ */
.md-typeset pre code .c,   /* Comment */
.md-typeset pre code .c1,  /* Comment.Single */
.md-typeset pre code .cm,  /* Comment.Multiline */
.md-typeset pre code .cs,  /* Comment.Special */
.md-typeset pre code .cp,  /* Comment.Preproc */
.md-typeset pre code .ch { /* Comment.Hashbang */
  color: #2e9c32fd; /* Verde típico */
  font-style: bold; /* Opcional, estilo clásico */
}

/* ============================================
   MENÚ NAVEGACIÓN (NAV)
   ============================================ */

.nav-toggle-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--md-primary-bg-color);
  padding: 0 .4rem;
}

.nav-toggle-btn.is-expanded {
  transform: rotate(180deg);
}

/*--------------------------------------------------------------------------------------------------------------------
Importa la fuente si quieres usar Roboto Mono 
--------------------------------------------------------------------------------------------------------------------*/
.md-typeset code.yercod {
  font-family: 'JetBrains Mono', monospace;
  background-color: #383838;
  color: #ffc20e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/*--------------------------------------------------------------------------------------------------------------------
Clase específica para negrita en Arial Negra y Mayúsculas
--------------------------------------------------------------------------------------------------------------------*/
.md-typeset strong.yerbold {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 900;           /* Hace la fuente más gruesa / negra */
  text-transform: uppercase;  /* Convierte todo el texto a mayúsculas */
  color: #ffc20e;
  background-color: #383838;
  padding: 2px 6px;
  border-radius: 4px;
}