/* Blog Card Design Pattern */
.blog-card {
    background-color: #ffffff;
    /* Soft, diffuse shadow for premium feel */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Proper vertical rhythm - generous bottom margin */
    margin-bottom: 3rem;
}

.blog-card:hover {
    /* Subtle hover shadow - still soft and diffuse */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Generous internal padding for premium feel */
.blog-card-content {
    padding: 2.5rem;
}

/* Metadata Styling */
.blog-metadata {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Blog list image styles */
.list-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 400px;
}

.list-featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

/* Ensure proper spacing in Latest Updates section */
.max-w-4xl .blog-card:not(:last-child) {
    margin-bottom: 3rem !important;
}

.max-w-4xl .blog-card:last-child {
    margin-bottom: 0 !important;
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .list-image-container {
        max-height: 250px;
    }
    
    .list-featured-image {
        max-height: 250px;
    }
    
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .max-w-4xl .blog-card:not(:last-child) {
        margin-bottom: 2rem !important;
    }
    
    /* Adjust padding for mobile but keep it generous */
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-metadata {
        font-size: 0.8rem;
    }
}