@charset "UTF-8";
/**
 * Light theme - Editorial serif aesthetic
 */
/**
 * Style variables
 */
/**
 * Global
 */
body {
  background-color: var(--background-color);
  margin: 0 auto;
  padding: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  color: var(--text-color);
  text-align: left;
  line-height: 1.65 !important;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0px;
  margin-top: 28px;
  font-weight: bold;
  color: var(--text-color);
  letter-spacing: 0.01em;
}

h1 {
  font-size: 1.6em;
}

h2 {
  font-size: 1.25em;
}

h3 {
  font-size: 1.05em;
}

p,
ul,
ol {
  margin: 0px;
  color: var(--text-color);
}

a {
  text-decoration: underline;
  color: var(--link-color);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--base-color);
  background-color: transparent;
  text-decoration: none;
}

@media (max-width: 500px) {
  body {
    font-size: 14px;
  }
}
/**
 * Layout
 */
.container {
  width: 90%;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

p {
  word-wrap: break-word;
  word-break: break-word;
  margin-bottom: 15px;
}

footer {
  color: var(--text-color);
  margin: 40px auto 20px;
  padding-top: 12px;
  border-top: var(--border);
  text-align: right;
  opacity: 0.65;
  font-size: 0.9em;
}

header {
  margin-top: 40px;
  margin-bottom: 10px;
}

header p {
  text-align: left;
  margin: 0;
}

footer {
  margin-bottom: 20px;
}

/**
 * Highlight/Markup
 */
::selection {
  background: var(--selection-background);
  color: var(--selection-text);
}

::-moz-selection {
  background: var(--selection-background);
  color: var(--selection-text);
}

/**
 * Lists
 */
:not(.menu) > ul {
  list-style: none;
  padding-left: 0;
}

:not(.menu) > ul {
  list-style-type: none;
}

:not(.menu) > ul > li:before {
  content: "-";
  margin-right: 9px;
}

/**
 * Header/Navigation
 */
.menu {
  border-top: var(--border);
  border-bottom: var(--border);
  margin-bottom: 25px;
}

.menu ul {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 0px;
  list-style-type: none;
  text-align: right;
}

.menu ul li {
  display: inline;
  margin-left: 10px;
}

.menu ul li a {
  text-decoration: none;
  color: var(--text-color);
}

.menu ul li a:hover {
  text-decoration: none;
  color: var(--base-color);
  background-color: transparent;
}

/**
 * Form
 */
input,
select,
textarea {
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border: none;
}

input[type=text],
select,
textarea {
  width: 100%;
  resize: none;
  background-color: var(--background-color);
  color: var(--text-color);
  caret-color: var(--text-color);
  font-size: 15px;
  font-family: "Lora", Georgia, serif;
  line-height: 1.65;
}

input,
select,
textarea,
textarea::-webkit-input-placeholder {
  text-indent: 0px;
}

::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--placeholder-color);
}

::-ms-input-placeholder {
  color: var(--placeholder-color);
}

input[type=submit] {
  font-size: 15px;
  font-family: "Lora", Georgia, serif;
  line-height: 1.65;
  cursor: pointer;
  color: var(--link-color);
  background-color: var(--background-color);
}

input[type=submit]:hover {
  color: var(--background-color);
  background-color: var(--base-color);
}

*:focus {
  outline: none;
}

textarea {
  vertical-align: top;
}

/**
 * Code and syntax highlighting
 */
.lineno {
  color: var(--code-color-1);
  margin-right: 15px;
}

figure.highlight {
  margin: 5px 0;
}

pre {
  background-color: var(--background-color);
  border: none;
  padding: 0;
  margin: 0;
  overflow: auto;
  font-size: 0.9em;
  color: var(--text-color);
  line-height: 1.7 !important;
  font-family: "Source Code Pro", monospace !important;
}

.highlight .hll {
  background-color: var(--code-color-2);
}

.highlight .c {
  color: var(--code-color-1);
  font-style: italic;
}

/* Comment */
.highlight .err {
  color: var(--code-color-3);
  background-color: var(--code-color-4);
}

/* Error */
.highlight .k {
  color: var(--code-color-5);
}

/* Keyword */
.highlight .cm {
  color: var(--code-color-1);
  font-style: italic;
}

/* Comment.Multiline */
.highlight .cp {
  color: var(--code-color-6);
}

/* Comment.Preproc */
.highlight .c1 {
  color: var(--code-color-1);
  font-style: italic;
}

/* Comment.Single */
.highlight .cs {
  color: var(--code-color-5);
  font-style: italic;
}

/* Comment.Special */
.highlight .gd {
  color: var(--code-color-7);
}

/* Generic.Deleted */
.highlight .ge {
  font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
  color: var(--code-color-7);
}

/* Generic.Error */
.highlight .gh {
  color: var(--code-color-8);
  font-weight: bold;
}

/* Generic.Heading */
.highlight .gi {
  color: var(--code-color-9);
}

/* Generic.Inserted */
.highlight .go {
  color: var(--code-color-10);
}

/* Generic.Output */
.highlight .gp {
  color: var(--code-color-11);
}

/* Generic.Prompt */
.highlight .gs {
  font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
  color: var(--code-color-12);
  font-weight: bold;
}

/* Generic.Subheading */
.highlight .gt {
  color: var(--code-color-7);
}

/* Generic.Traceback */
.highlight .kc {
  color: var(--code-color-5);
}

/* Keyword.Constant */
.highlight .kd {
  color: var(--code-color-5);
}

/* Keyword.Declaration */
.highlight .kn {
  color: var(--code-color-5);
}

/* Keyword.Namespace */
.highlight .kp {
  color: var(--code-color-5);
}

/* Keyword.Pseudo */
.highlight .kr {
  color: var(--code-color-5);
}

/* Keyword.Reserved */
.highlight .kt {
  color: var(--code-color-13);
}

/* Keyword.Type */
.highlight .m {
  color: var(--code-color-14);
}

/* Literal.Number */
.highlight .s {
  color: var(--code-color-15);
}

/* Literal.String */
.highlight .na {
  color: var(--code-color-16);
}

/* Name.Attribute */
.highlight .nb {
  color: var(--code-color-13);
}

/* Name.Builtin */
.highlight .nc {
  color: var(--code-color-9);
  text-decoration: underline;
}

/* Name.Class */
.highlight .no {
  color: var(--code-color-7);
}

/* Name.Constant */
.highlight .nd {
  color: var(--code-color-10);
}

/* Name.Decorator */
.highlight .ni {
  color: var(--code-color-17);
  font-weight: bold;
}

/* Name.Entity */
.highlight .nf {
  color: var(--code-color-9);
}

/* Name.Function */
.highlight .nn {
  color: var(--code-color-13);
  text-decoration: underline;
}

/* Name.Namespace */
.highlight .nt {
  color: var(--code-color-16);
  font-weight: bold;
}

/* Name.Tag */
.highlight .nv {
  color: var(--code-color-7);
}

/* Name.Variable */
.highlight .ow {
  color: var(--code-color-5);
}

/* Operator.Word */
.highlight .w {
  color: var(--code-color-18);
}

/* Text.Whitespace */
.highlight .mf {
  color: var(--code-color-14);
}

/* Literal.Number.Float */
.highlight .mh {
  color: var(--code-color-14);
}

/* Literal.Number.Hex */
.highlight .mi {
  color: var(--code-color-14);
}

/* Literal.Number.Integer */
.highlight .mo {
  color: var(--code-color-14);
}

/* Literal.Number.Oct */
.highlight .sb {
  color: var(--code-color-15);
}

/* Literal.String.Backtick */
.highlight .sc {
  color: var(--code-color-15);
}

/* Literal.String.Char */
.highlight .sd {
  color: var(--code-color-15);
}

/* Literal.String.Doc */
.highlight .s2 {
  color: var(--code-color-15);
}

/* Literal.String.Double */
.highlight .se {
  color: var(--code-color-15);
}

/* Literal.String.Escape */
.highlight .sh {
  color: var(--code-color-15);
}

/* Literal.String.Heredoc */
.highlight .si {
  color: var(--code-color-15);
}

/* Literal.String.Interpol */
.highlight .sx {
  color: var(--code-color-15);
}

/* Literal.String.Other */
.highlight .sr {
  color: var(--code-color-14);
}

/* Literal.String.Regex */
.highlight .s1 {
  color: var(--code-color-15);
}

/* Literal.String.Single */
.highlight .ss {
  color: var(--code-color-5);
}

/* Literal.String.Symbol */
.highlight .bp {
  color: var(--code-color-13);
}

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: var(--code-color-7);
}

/* Name.Variable.Class */
.highlight .vg {
  color: var(--code-color-7);
}

/* Name.Variable.Global */
.highlight .vi {
  color: var(--code-color-7);
}

/* Name.Variable.Instance */
.highlight .il {
  color: var(--code-color-14);
}

/* Literal.Number.Integer.Long */
/* ========================================================================= */
/* TIPOGRAFÍA EN CONTENIDO                                                   */
/* ========================================================================= */
body .container main h2 {
  color: var(--base-color);
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  opacity: 0.9;
}

body .container main h3 {
  margin-bottom: 0.6rem;
  color: var(--text-color);
  opacity: 0.85;
}

body .container main h3 + p,
body .container main h3 + ul {
  margin-top: 0.6rem;
}

body .container main ul {
  margin: 1.2rem 0;
  line-height: 1.85;
}

body .container main ul li {
  margin: 0.5rem 0;
}

body .container main hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
  opacity: 0.3;
}

body .container main a {
  color: var(--base-color);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

body .container main a:hover {
  opacity: 0.7;
  text-decoration: underline;
  background-color: transparent;
  color: var(--base-color);
}

body .container main strong {
  color: var(--accent-warm);
  font-weight: 600;
}

body .container main em {
  color: var(--accent-muted);
  font-style: italic;
  opacity: 0.9;
}

/* ========================================================================= */
/* LAYOUT Y ESPACIADO GENERAL                                                */
/* ========================================================================= */
body .container footer {
  margin: 3rem 0 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.82em;
  opacity: 0.45;
  border-top: var(--border);
}

body .container footer a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 1;
}

header {
  margin-top: 40px !important;
  margin-bottom: 0 !important;
}

body .container main {
  padding-top: 2.5rem !important;
  padding-bottom: 1rem;
}

/* Reset del primer elemento de main en cualquier página */
body .container main > *:first-child,
body .container main > *:first-child > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body .container main p {
  line-height: 1.75;
  margin: 0 0 1rem 0;
}

/* ========================================================================= */
/* SEGURIDAD GLOBAL MOBILE                                                   */
/* ========================================================================= */
img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 768px) {
  body .container main {
    overflow-x: clip;
  }
}
/* ========================================================================= */
/* NAVEGACIÓN                                                                */
/* ========================================================================= */
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: var(--border);
}

.menu .brand {
  margin: 0;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
  font-family: "Lora", Georgia, serif;
  font-size: 1.05em;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.menu .brand:hover {
  opacity: 0.6;
  color: var(--text-color);
  background: transparent;
  text-decoration: none;
}

.menu .menu-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.menu-nav {
  min-width: 0;
}

.menu ul li a[aria-current=page] {
  color: var(--base-color);
  text-decoration: none;
}

.menu ul li a:hover {
  box-shadow: none;
  color: var(--base-color);
}

@media (max-width: 768px) {
  .menu .menu-links li a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
  }
}
/* ========================================================================= */
/* MARCA CON AVATAR                                                          */
/* ========================================================================= */
.menu .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.brand-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.78em;
  font-weight: 400;
  color: var(--accent-muted);
  letter-spacing: 0.06em;
}

.menu .menu-links {
  align-items: center;
  font-size: 0.92em;
}

.menu .menu-links .menu-item-feed::before {
  display: none;
}

.menu-feed {
  display: inline-flex;
  align-items: center;
}

.menu-feed svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  transform: translateY(2px);
  transition: opacity 0.15s ease;
}

.menu-feed:hover svg {
  opacity: 1;
}

/* ========================================================================= */
/* NOTAS                                                                     */
/* ========================================================================= */
.nota {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.notas > .nota:first-child {
  padding-top: 0;
}

.notas > .nota:last-child,
main > .nota {
  border-bottom: none;
}

main > .nota {
  padding: 0;
}

body .container main .nota-titulo {
  font-size: 1.2em;
  margin: 0 0 0.7rem !important;
  color: var(--text-color);
  opacity: 1;
}

body .container main .nota-titulo a {
  color: inherit;
}

.nota-cuerpo > :last-child {
  margin-bottom: 0 !important;
}

.nota-cuerpo h2,
.nota-cuerpo h3 {
  font-size: 1.05em;
}

body .container main .nota-cuerpo h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.nota-cuerpo blockquote {
  margin: 1.2rem 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 2px solid var(--base-color);
  color: var(--accent-muted);
}

.nota-cuerpo blockquote p:last-child {
  margin-bottom: 0;
}

.nota-cuerpo img {
  display: block;
  margin: 1.2rem auto;
  border-radius: 4px;
}

.nota-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin-top: 1rem;
  font-size: 0.8em;
}

body .container main .nota-fecha {
  color: var(--accent-warm);
  opacity: 0.75;
}

body .container main .nota-tema {
  color: var(--accent-muted);
}

/* Navegación entre notas */
.nota-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: var(--border);
  font-size: 0.85em;
}

.nota-nav-siguiente {
  margin-left: auto;
  text-align: right;
}

.vacio {
  opacity: 0.5;
}

/* ========================================================================= */
/* TEMAS                                                                     */
/* ========================================================================= */
.tema-cabecera {
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: var(--border);
}

body .container main .tema-titulo {
  font-size: 1.4em;
  margin: 0 0 0.4rem;
}

body .container main .tema-desc {
  margin: 0 0 0.5rem;
  color: var(--accent-muted);
}

.tema-feed {
  font-size: 0.8em;
}

body .container main .temas-lista {
  margin: 0;
}

body .container main .temas-lista li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.7rem;
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.temas-lista li::before {
  display: none;
}

body .container main .temas-lista li:last-child {
  border-bottom: none;
}

.temas-cantidad {
  font-size: 0.8em;
  color: var(--accent-muted);
}

.temas-desc {
  flex-basis: 100%;
  font-size: 0.85em;
  opacity: 0.6;
}

/* ========================================================================= */
/* LATEX (MathJax)                                                           */
/* ========================================================================= */
mjx-container[display=true] {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem 0.5rem;
  margin: 1rem 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap !important;
}

mjx-container[display=true] mjx-math {
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.MathJax_Display {
  display: block !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin: 1.5rem 0 !important;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

.MathJax_Display > * {
  display: inline-block;
  white-space: nowrap;
}

/* ========================================================================= */
/* BLOQUES DE CÓDIGO                                                         */
/* ========================================================================= */
div.highlight {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

div.highlight pre.highlight {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  overflow-x: auto;
  transition: border-color 0.2s ease;
  font-family: "Source Code Pro", monospace;
}

div.highlight pre.highlight:hover {
  border-color: rgba(6, 95, 70, 0.3);
}

div.highlight pre.highlight code {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.9em;
  line-height: 1.5;
  font-family: "Source Code Pro", monospace;
}

code {
  font-family: "Source Code Pro", monospace;
  font-size: 0.9em;
}

/* ========================================================================= */
/* Animations & Smooth Transitions                                           */
/* ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

body.fade-out {
  opacity: 0;
}

:root {
  /* Primary palette */
  --base-color: #065f46; /* Verde Esmeralda oscuro - acento primario */
  --background-color: #ffffff; /* Blanco puro */
  --text-color: #1e293b; /* Azul marino profundo */
  /* Accent colors */
  --accent-warm: #0f766e; /* Cerceta / Teal oscuro */
  --accent-muted: #64748b; /* Gris pizarra medio */
  /* UI elements */
  --border-color: #e2e8f0; /* Gris frío claro */
  --border: solid 1px #e2e8f0;
  --selection-background: rgba(6, 95, 70, 0.25);
  --selection-text: #1e293b;
  --placeholder-color: rgba(30, 41, 59, 0.4);
  --link-color: var(--base-color);
  /* Code syntax highlighting - light theme (GitHub-style) */
  --code-color-1: #9e9e9e; /* Comments */
  --code-color-2: #fff8e1; /* Highlight background */
  --code-color-3: #d73a49; /* Errors */
  --code-color-4: rgba(215, 58, 73, 0.08); /* Error background */
  --code-color-5: #0033b3; /* Keywords */
  --code-color-6: #0550ae; /* Preprocessor */
  --code-color-7: #d73a49; /* Deleted/Constants */
  --code-color-8: #5c3e2a; /* Headings */
  --code-color-9: #008000; /* Functions/Inserted/Strings */
  --code-color-10: #9e9e9e; /* Generic.Output */
  --code-color-11: #6b6b67; /* Generic.Prompt */
  --code-color-12: #2c4a3e; /* Subheading */
  --code-color-13: #6f42c1; /* Types/Builtins */
  --code-color-14: #1750eb; /* Numbers */
  --code-color-15: #008000; /* Strings */
  --code-color-16: #0550ae; /* Attributes */
  --code-color-17: #d73a49; /* Name.Entity */
  --code-color-18: #1c1c1a; /* Default code text */
}

/*# sourceMappingURL=main.css.map */