/* Estilos complementarios y tipografía */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Transiciones suaves entre modo claro y oscuro */
body, header, aside, main, footer, article, div {
    transition-property: background-color, border-color, color;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tipografía de lectura para artículos */
.post-content h1, .post-content h2, .post-content h3 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.post-content p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.post-content ul, .post-content ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.post-content pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

/* Scrollbar minimalista */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.4);
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.4);
}

/* Videos e imágenes incrustadas */
.post-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
}

.post-content figure {
    margin: 2rem 0;
}

.post-content figure img {
    border-radius: 1rem;
    margin: 0 auto;
    width: 100%;
}
