/* 
 * Blog Styles for Wealth Gap Calculator
 */

/* Article Cards on Homepage */
.article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-preview-image {
    height: 180px;
    object-fit: cover;
}

.article-image-link {
    overflow: hidden;
    display: block;
}

/* Single Blog Post */
.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-post-meta {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.blog-post-content blockquote {
    padding: 1rem 1.5rem;
    border-left: 4px solid #dc3545;
    background-color: #f8f9fa;
    margin: 1.5rem 0;
    font-style: italic;
}

/* Blog Index/Listing */
.blog-preview {
    transition: transform 0.2s ease;
}

.blog-preview:hover {
    transform: translateY(-3px);
}

.blog-preview-title a:hover {
    color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .article-preview-image {
        height: 200px;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
}