

body { 
  padding-top: 70px;    /* altura de tu header */
}

.blog {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem  1.5rem;
}

.blog__titulo {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #1a1a1a;
    display: inline-block;
} 

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-card {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e2e2e2;
    align-items: flex-start;
}

.blog-card__media {
    flex: 0 0 45%;
}

.blog-card__img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.blog-card__img--placeholder {
    background: #eee;
}

.blog-card__content {
    flex: 1;
    padding-top: 0.25rem;
}

.blog-card__titulo {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.6rem;
    color: #1a1a1a;
}

.blog-card__fecha {
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
    margin: 0 0 1rem;
}

.blog-card__extracto {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1.5rem;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4a7c2f;
    text-decoration: none;
    font-size: 1rem;
}

.blog-card__link:hover .blog-card__arrow {
    transform: translateX(4px);
}

.blog-card__arrow {
    transition: transform 0.2s ease;
}

/* Responsive: imagen arriba, texto abajo, ancho completo */
@media (max-width: 768px) {
    .blog__titulo {
        font-size: 2rem;
    }

    .blog-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 2rem 0;
    }

    .blog-card__media {
        flex: 1 1 100%;
        width: 100%;
    }

    .blog-card__img {
        height: 220px;
    }

    .blog-card__titulo {
        font-size: 1.35rem;
    }
}




/* Vista individual del post */
.blog-post__hero {
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}

.blog-post__hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.blog-post__wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.blog-post__titulo {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}

.blog-post__fecha {
    font-size: 1rem;
    font-weight: 300;
    color: #888;
    margin: 0 0 2rem;
}

.blog-post__contenido {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #2a2a2a;
}

.blog-post__contenido p {
    margin: 0 0 1.5rem;
}

/* Imágenes insertadas dentro del contenido vía Quill */
blog-post__contenido img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
    margin: 2rem 0;
    display: block;
    background-color: #f0f0f0; /* placeholder mientras carga */
}

.blog-post__contenido a {
    color: #4a7c2f;
    font-weight: 600;
    text-decoration: underline;
}

.blog-post__contenido h2,
.blog-post__contenido h3 {
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.blog-post__categorias {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e2e2;
    font-size: 0.95rem;
    color: #555;
}

.blog-post__notfound {
    text-align: center;
    padding: 5rem 1.5rem;
    font-size: 1.2rem;
    color: #888;
}

/*Estilos para boton de play en blog*/
.shofar-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.3rem;
    font-size: 1rem;
    cursor: pointer;
    margin: 1rem 0;
}

.shofar-play-btn:hover {
    background: #1a2733;
}

.shofar-play-btn i {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post__hero img {
        height: 240px;
    }

    .blog-post__titulo {
        font-size: 1.6rem;
    }

    .blog-post__contenido {
        font-size: 1.05rem;
    }
}