body {
  font-family: Arial, sans-serif;
  margin: 0; padding: 0;
  background: #f8f9fa;
}

.site-header {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* mostrar solo en móviles si quieres */
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
}

.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1rem;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}

.nav ul li.has-children > ul {
  display: none;
  position: absolute;
  background: #333;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 10;
  padding: 0.5rem 0;
  border-radius: 0 0 4px 4px;
}

.nav ul li.has-children:hover > ul {
  display: block;
}

.nav ul li.has-children ul li {
  width: 100%;
}

.nav ul li.has-children ul li a {
  padding: 0.5rem 1rem;
  color: white;
}

.nav ul li.has-children ul li.has-children > ul {
  left: 100%;
  top: 0;
  display: none;
  position: absolute;
}

.nav ul li.has-children ul li.has-children:hover > ul {
  display: block;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav {
    display: none;
    flex-direction: column;
    background: #222;
  }
  .nav.open {
    display: flex;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
  }
}

.list-group-item {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #333;
}

.list-group-item:hover {
  background-color: #f0f0f0;
}

.lcomandos {
  color: #d6336c;      /* un rosa oscuro, cambia por el color que quieras */
  font-family: monospace; /* fuente de máquina */
  background-color: #f0f0f0; /* fondo claro para que resalte */
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}

/* --- Mejoras para contenido tipo listas y comandos en sección --- */

section ul {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
  line-height: 1.5;
}

section ul li {
  margin-bottom: 0.5rem;
}

section header h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

section header p.text-muted {
  color: #6c757d;
  font-style: italic;
  margin-top: 0;
}

section code {
  background-color: #e9ecef;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 600;
  color: #d6336c;
  white-space: nowrap;
  user-select: all;
  display: inline-block;
  margin-top: 0.2rem;
}

section p code {
  display: block;
  background-color: #e9ecef;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: monospace;
  color: #d6336c;
  margin-top: 0.5rem;
}

section p code a {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}
