 h1 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  
 /* Estilos para la vista de capítulos */

.entry-title {
  color: #002b5c;
  border-bottom: 2px solid #002b5c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.6;
}

.sidebar {
  background-color: #f8f9fa;
  border-left: 1px solid #dee2e6;
  padding: 20px;
  height: 100%;
}

.sidebar h3 {
  color: #002b5c;
  border-bottom: 2px solid #002b5c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.list-group-item.active {
  background-color: #002b5c;
  border-color: #002b5c;
}

.list-group-item:not(.active):hover {
  background-color: #e9ecef;
}

@media (max-width: 991px) {
  .sidebar {
    margin-top: 30px;
    border-left: none;
    border-top: 1px solid #dee2e6;
  }
}

.sidebar-container {
  position: relative;
}

#floating-sidebar {
  position: sticky;
  top: 20px; /* Ajusta este valor según sea necesario */
  max-height: calc(100vh - 40px); /* Altura máxima del sidebar */
  overflow-y: auto;
}

@media (max-width: 991px) {
  #floating-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* Estilos para breadcrumbs */
.breadcrumb-container {
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.breadcrumb-item a {
  color: #002b5c;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

.breadcrumb-label {
  font-weight: 600;
  color: #495057;
  margin-right: 0.5rem;
  white-space: nowrap;
}

/* Estilos responsivos para breadcrumbs */
@media (max-width: 767px) {
  .breadcrumb-container {
    padding: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb-label {
    margin-bottom: 0.25rem;
  }

  .breadcrumb {
    width: 100%;
  }

  .breadcrumb-item {
    max-width: 100%;
  }

  .breadcrumb-text {
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  /* Asegurar que el separador se muestre correctamente */
  .breadcrumb-item + .breadcrumb-item::before {
    float: none;
    display: inline-block;
    vertical-align: middle;
  }
}

