/* Tipografía */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

/* Encabezado principal */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  background-color: white !important;
}

/* Títulos */
a {
    color: #1E88E5;
}
h1 {
  color: #1E88E5;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}
/*h1 {
    color: #1E88E5;
    font-weight: 500;
    font-size: xx-large;
}*/
h2 {
  color: #1E88E5;
  border-bottom: 2px solid #dbe8ff;
  padding-bottom: .4rem;
  margin-top: 2rem;
}
/*h2 {
    color: #f15a24;
    font-weight: 500;
    font-size: x-large;
}*/
h3 {
  color: #1E88E5;
}
/*h3 {
    color: #f15a24;
    font-weight: 400;
    font-size: large;
}*/
h4 {
  color: #f15a24;
}
h5 {
  color: #1E88E5;
}
h6 {
  color: #f15a24;
}
main.content p {
  text-align: justify;
}

/* Blindaje específico para gt */
.gt_table,
.gt_table * {
  text-align: initial;
}

.gt_table p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gt_table .gt_from_md p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gt_table .visually-hidden,
.gt_table .sr-only {
  display: none !important;
}
/*
.gt_table td[headers="concepto"] > p:not([style]),
.gt_table td[headers="concepto"] > ul:not([style]),
.gt_table td[headers="concepto"] > ol:not([style]) {
  display: none !important;
}
*/
/* Panel lateral izquierdo */
.sidebar-navigation {
  background: #f7f9fc;
}

/* Tabla de contenido derecha */
#TOC {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* Bloques de cita */
blockquote {
  border-left: 5px solid #2d6cdf;
  background: #f8fbff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-style: italic;
}

/* Figuras */
.figure {

}
.figure {
  background: white;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 3px 15px rgba(0,0,0,.08);
  text-align: center;
  display: block;
  justify-content: center;
  align-items: center;
}

/* Tablas */
table:not(.gt_table) {
  border-radius: 10px;
  overflow: hidden;
}
/*
.reactable {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  background: white;
}

.reactable .rt-thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.reactable-search-input {
  border-radius: 8px !important;
}

.reactable-pagination {
  margin-top: 1rem;
}

.reactable table {
  font-size: 14px;
}
*/

/*footer*/
.footer-center {
  text-align: center;
}

.nav-footer {
    width: 100%;
    max-width: 100%;
}

.nav-footer {
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

footer {
    display: flex;
    unicode-bidi: isolate;
}

.link { color: #1E88E5; }
.link:hover { color: darkgray; }


.img-container {
    text-align: center;
}

.double-column-list {
  columns: 2; /* Divide en dos columnas */
  -webkit-columns: 2; /* Para navegadores webkit (Safari, Chrome, etc.) */
  -moz-columns: 2; /* Para navegadores Mozilla (Firefox) */
}
