.volver-atras {
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.cuerpo-post {
    max-width: var(--max-width);
    line-height: 1.8;
}

.cuerpo-post h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.cuerpo-post h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.cuerpo-post p {
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.cuerpo-post ul, .cuerpo-post ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.cuerpo-post li {
    margin-bottom: 0.5rem;
}

/* Bloques de código tipo terminal */
.cuerpo-post pre {
    background-color: #0d0918;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.cuerpo-post code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #38f83e; 
}

/* Código inline dentro de un texto normal */
.cuerpo-post p code {
    background-color: var(--card-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* =======================================
   IMÁGENES DINÁMICAS DENTRO DEL POST
======================================= */
.cuerpo-post img {
    display: block;
    width: 100%;             /* En celular ocupa el ancho disponible */
    max-width: 580px;        /* En compu no se va de mambo */
    height: auto;            /* Mantiene la proporción perfecta sin deformar */
    margin: 1.5rem auto;     /* La centra horizontalmente */
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* =========================================
    PARA EL SCROLL PIOLA
==========================================*/
/* Firefox */
.cuerpo-post pre {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

/* Chrome, Edge, Safari, Brave */
.cuerpo-post pre::-webkit-scrollbar {
    height: 6px; /* Muy finita */
}

.cuerpo-post pre::-webkit-scrollbar-track {
    background: transparent;
}

.cuerpo-post pre::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

.cuerpo-post pre::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent); /* Se ilumina violeta al tocarla */
}