        #blog-posts {
            display: flex;
            flex-wrap: wrap;
        }
        .post {
            flex: 1 0 30%; /* Se adapta a 3 columnas */
            box-sizing: border-box;
            margin: 10px;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        .post img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }
        .post h2 {
            font-size: 1.2em;
            margin: 10px 0;
        }
        .post p {
            font-size: 1em;
            color: #333;
        }
        .post .read-more {
            display: inline-block;
            margin-top: 10px;
            padding: 5px 10px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 5px;
        }
        .post .read-more:hover {
            background-color: #0056b3;
        }
        @media (max-width: 768px) {
            .post {
                flex: 1 0 45%; /* Se adapta a 2 columnas en pantallas más pequeñas */
            }
        }
        @media (max-width: 480px) {
            .post {
                flex: 1 0 100%; /* Se adapta a 1 columna en pantallas muy pequeñas */
            }
        }
