/* ========== BLOG STYLES ========== */

.blog-header {
    background-color: #f8f8f8;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.blog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #222;
    margin: 0;
    letter-spacing: 4px;
}

.blog-header p {
    margin-top: 10px;
    color: #666;
    font-size: 1.1rem;
}

.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ccc;
}

.blog-info {
    padding: 25px;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.blog-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-info h2 a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-info h2 a:hover {
    color: #444;
}

.blog-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.btn-baca {
    display: inline-block;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    position: relative;
    padding-right: 20px;
}

.btn-baca::after {
    content: '→';
    position: absolute;
    right: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s;
}

.btn-baca:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIF */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-image {
        height: 200px;
    }
}