/* ESTILO GENERAL DEL POST */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #333;
}

/* HEADER */
.header {
    background: #a8d4ff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #004a80;
}

.nav-btn {
    margin-left: 15px;
    text-decoration: none;
    color: #004a80;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #d7eaff;
}

/* CAJA DEL POST */
.post-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 0 12px #00000020;
}

/* TÍTULO Y FECHA */
.post-title {
    font-size: 32px;
    color: #005fa3;
    margin-top: 0;
}

.post-meta {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

/* CONTENIDO DEL POST */
.post-content h2 {
    color: #005fa3;
    margin-top: 30px;
}

.post-content p {
    line-height: 1.6;
    margin: 15px 0;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

/* CÓDIGO */
.post-content pre {
    background: #eef6ff;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #cfe2ff;
}

.post-content code {
    font-family: Consolas, monospace;
    color: #004a80;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #e9f3ff;
    color: #004a80;
    font-weight: bold;
}

/* RESPONSIVE MÓVILES */
@media (max-width: 768px) {
    /* HEADER */
    .header {
        text-align: center;
        padding: 20px;
    }

    /* LOGO */
    .logo {
        font-size: 24px;
        margin-bottom: 10px;
    }

    /* NAVEGACIÓN */
    .nav-btn {
        display: inline-block;
        margin: 8px 10px;
        padding: 10px 14px;
        font-size: 16px;
    }

    /* CAJA DEL POST */
    .post-container {
        margin: 15px;
        padding: 18px;
    }

    /* TÍTULO DEL POST */
    .post-title {
        font-size: 24px;
        text-align: center;
    }

    /* TEXTO DEL POST */
    .post-content p {
        font-size: 17px;
        line-height: 1.7;
    }

    /* LISTAS */
    .post-content ul,
    .post-content ol {
        padding-left: 20px;
    }

    /* CÓDIGO */
    .post-content pre {
        font-size: 14px;
        padding: 12px;
    }

    /* FOOTER */
    .footer {
        padding: 15px;
        font-size: 14px;
    }

    /* IMÁGENES */
.post-content img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
}
}
