/* Estilos específicos para las guías */

/* Página índice de guías */
.guides-page {
  h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: var(--font-weight-7);
    line-height: var(--font-lineheight-1);
    color: var(--gray-9);
  }
}

/* Página de guía individual */
.guide-header {
  h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: var(--font-weight-7);
    line-height: var(--font-lineheight-2);
    color: var(--gray-9);
    margin: 0;
  }
}

/* Tipografía para contenido markdown de guías */
.guide-article {
  font-size: var(--font-size-1);
  line-height: var(--font-lineheight-4);
  color: var(--gray-8);

  h1, h2, h3 {
    color: var(--gray-9);
    font-weight: var(--font-weight-6);
    line-height: var(--font-lineheight-1);
  }

  h2 {
    font-size: var(--font-size-4);
    margin-top: var(--size-7);
    margin-bottom: var(--size-3);
    padding-bottom: var(--size-2);
    border-bottom: 1px solid var(--gray-2);

    @media (max-width: 768px) {
      font-size: var(--font-size-3);
    }
  }

  h3 {
    font-size: var(--font-size-2);
    margin-top: var(--size-5);
    margin-bottom: var(--size-2);
  }

  p {
    margin-bottom: var(--size-3);
  }

  ul, ol {
    margin-bottom: var(--size-3);
    padding-left: var(--size-5);
  }

  ul {
    list-style-type: disc;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    margin-bottom: var(--size-2);
  }

  img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-2);
    margin: var(--size-5) 0;
  }

  blockquote {
    border-left: 3px solid var(--blue-4);
    padding-left: var(--size-3);
    margin: var(--size-5) 0;
    color: var(--gray-7);
    font-style: italic;
  }

  pre {
    background-color: var(--gray-1);
    border-radius: var(--radius-2);
    padding: var(--size-3);
    overflow-x: auto;
    margin: var(--size-3) 0;
  }

  code {
    font-family: var(--font-mono);
    font-size: var(--font-size-0);
  }

  strong {
    font-weight: var(--font-weight-6);
    color: var(--gray-9);
  }
}
