/* ============================================================
   Tipografía y contenido de las guías
   ============================================================ */
.guide-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #212529;
}

.guide-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  scroll-margin-top: 5rem;
}

.guide-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  scroll-margin-top: 5rem;
}

.guide-content p {
  margin-bottom: 1rem;
}

.guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.guide-content a {
  text-decoration: underline;
}

.guide-content blockquote {
  border-left: 4px solid #0d6efd;
  padding: 0.25rem 1rem;
  margin: 1.25rem 0;
  color: #495057;
  background: #f8f9fa;
  border-radius: 0 0.5rem 0.5rem 0;
}

.guide-content ul,
.guide-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.guide-content li {
  margin-bottom: 0.35rem;
}

.guide-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.guide-content th,
.guide-content td {
  padding: 0.6rem;
  border: 1px solid #dee2e6;
}

.guide-content th {
  background: #f8f9fa;
}

/* ============================================================
   Índice / tabla de contenidos
   ============================================================ */
.toc {
  font-size: 0.9rem;
}

.toc nav > ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.toc nav ul ul {
  list-style: none;
  padding-left: 1rem;
}

.toc li {
  margin-bottom: 0.25rem;
}

.toc a {
  color: #495057;
  text-decoration: none;
  display: block;
  padding: 0.15rem 0;
}

.toc a:hover {
  color: #0d6efd;
}

/* ============================================================
   Tarjetas de guías
   ============================================================ */
.guide-card-hover {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12) !important;
}
