/* ============================================================================
 * custom.css — Ajustes finos sobre eafit.scss
 * Estilo Swiss Clean · Carga DESPUÉS del theme principal
 * ============================================================================
 * Componentes nuevos:
 *   - Patrón "Dos sentidos" (Columna A clásica / Columna B aumentada)
 *   - Eyebrow / Course-code prefix
 *   - Section divider minimalista
 *   - Slide divisor de bloque
 * ============================================================================
 */

/* === Fuentes desde Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Source+Serif+Pro:ital,wght@0,400;0,600;1,400&display=swap');

/* === Footer minimal (sustituye footer multi-columna anterior) === */
.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.42em;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  color: #666666;
  letter-spacing: 0.06em;
  padding: 0 2em;
  text-transform: uppercase;
}

.footer-left   { text-align: left;   flex: 1; color: #000000; }
.footer-center { text-align: center; flex: 1; opacity: 0.6; }
.footer-right  { text-align: right;  flex: 1; opacity: 0.6; }

/* === Eyebrow / metadato superior de slide ===
   Uso en .qmd: .eyebrow encima del H2 da un metadato pequeño en mono
*/
.reveal .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666666;
  margin: 0 0 0.2em 0;
  display: block;
}

.reveal .eyebrow-blue {
  color: #146AEF;
  font-weight: 600;
}

/* === Slide-divider — divisor de bloque minimalista ===
   Reemplaza los `# Bloque X {background-color="..."}` con estilo limpio
*/
.reveal section.slide-divider {
  background: #000000;
  color: #FFFFFF;
}

.reveal section.slide-divider h1,
.reveal section.slide-divider h2 {
  color: #FFFFFF;
  border-bottom: 2px solid #146AEF;
  font-size: 1.6em;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 24ch;
  padding-bottom: 0.25em;
}

.reveal section.slide-divider .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.reveal section.slide-divider p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95em;
  max-width: 50ch;
}

/* === Patrón "Dos sentidos" — Columna A (clásica) / Columna B (aumentada) ===
   Limpio, sin fondos saturados. Diferenciación con etiqueta superior + borde fino.
   Uso en .qmd:
     ::: {.columns .dos-sentidos}
     ::: {.column .sentido-clasico}
     ### Sentido clásico
     ...
     :::
     ::: {.column .sentido-aumentado}
     ### Sentido aumentado IA²
     ...
     :::
     :::
*/
.reveal .dos-sentidos {
  gap: 2.5em;
  margin-top: 0.6em;
}

.reveal .sentido-clasico,
.reveal .sentido-aumentado {
  position: relative;
  padding-top: 1.5em;
}

.reveal .sentido-clasico::before {
  content: "A · SENTIDO CLÁSICO";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  border-bottom: 2px solid #000000;
  padding-bottom: 0.3em;
  width: 100%;
}

.reveal .sentido-aumentado::before {
  content: "B · SENTIDO AUMENTADO IA²";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #146AEF;
  border-bottom: 2px solid #146AEF;
  padding-bottom: 0.3em;
  width: 100%;
}

.reveal .sentido-clasico h3,
.reveal .sentido-aumentado h3 {
  display: none;  /* el ::before sustituye el h3 redundante */
}

.reveal .sentido-clasico ul li::marker {
  color: #000000;
}

.reveal .sentido-aumentado ul li::marker {
  color: #146AEF;
}

/* === Pregunta de decisión (cierra el patrón dos sentidos) === */
.reveal .decision-investigador {
  margin-top: 1.5em;
  padding: 0.9em 1.2em;
  background: #F6F6F6;
  border-left: 3px solid #146AEF;
  font-family: "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 0.92em;
  color: #171717;
  max-width: none;
}

.reveal .decision-investigador strong {
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  color: #146AEF;
  display: block;
  margin-bottom: 0.3em;
}

/* === Hero slide — primera diapositiva con frase rectora === */
.reveal section.hero {
  background: #000000;
  color: #FFFFFF;
  text-align: left;
}

.reveal section.hero p {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.10;
  font-size: 1.6em;
  max-width: 22ch;
  margin: 0.25em 0;
}

.reveal section.hero strong {
  color: #146AEF;
  font-weight: 900;
}

/* Si se usa .r-fit-text dentro de .hero, limitar el escalado máximo */
.reveal section.hero .r-fit-text {
  font-size: 5vw !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.10;
  color: #FFFFFF;
  max-width: 90%;
}

/* === Tabla de "lo que se llevan" — más compacta === */
.reveal .takeaway-table table {
  font-size: 0.7em;
}

/* === Bloque mini-AIAS / chip / metric (etiquetas pequeñas con valor) === */
.reveal .chip {
  display: inline-block;
  padding: 0.1em 0.6em;
  background: #146AEF;
  color: #FFFFFF;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
  margin: 0 0.2em;
}

.reveal .chip-outline {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

/* === Print/PDF tuning === */
@media print {
  .reveal .slide-number { display: none; }
  .reveal .progress     { display: none; }
}

/* === Scrollable === */
.reveal .slide.scrollable {
  overflow-y: auto;
}

/* === Logo en title slide === */
.reveal .slide-logo {
  width: 110px;
  max-height: 44px;
}

.reveal .title-slide .logo {
  position: absolute;
  bottom: 1.5em;
  right: 2em;
  width: 110px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

/* === Highlight class .kw (keyword del curso) === */
.kw {
  background: linear-gradient(180deg, transparent 65%, rgba(20, 106, 239, 0.20) 65%);
  padding: 0 0.15em;
  font-weight: 600;
  color: #171717;
}

/* === Quita la cita de bloque de fondo amarillo de blockquote default cuando va dentro de callouts === */
.reveal .callout blockquote {
  background: transparent;
  margin: 0.4em 0;
  padding: 0 0 0 1em;
  border-left-color: currentColor;
}
