/* Contenedor general del blog */
.container-blog {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: 'Segoe UI', sans-serif;
    font-size: 2rem;
    line-height: 1.7;
}

/* Contenedor de posts */
#posts-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Tarjeta de post */
.post {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Título */
.post-head h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    text-align: center;
    color: #a10395;
    line-height: 1.3;
}

.post-head a {
    text-decoration: none;
    color: #a10395;
    transition: color 0.3s ease;
}

.post-head a:hover {
    color: #22215b;
}

/* Fecha y tiempo de lectura */
.post-date {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-date time::before {
    content: "📅 ";
}

/* Contenido */
.post-content {
    font-size: 1.1rem;
    color: #333;
    text-align: justify;
    margin-top: 1rem;
    line-height: 1.8;
}

/* Responsive tablet */
@media (max-width: 768px) {
    .container-blog {
        padding: 2rem 1rem;
        font-size: 1.05rem;
    }

    .post-head h2 {
        font-size: 1.5rem;
    }

    .post-content {
        font-size: 1rem;
    }
}

/* Responsive móvil */
@media (max-width: 480px) {
    .container-blog {
        padding: 1.5rem 0.5rem;
        font-size: 1rem;
    }

    .post-head h2 {
        font-size: 1.3rem;
    }

    .post-content {
        font-size: 0.95rem;
    }

    .post {
        padding: 1.2rem;
    }
}


