/* ============================================
   BLOG FOOTER STYLESHEET
   ============================================ */

#blog-footer-container {
    width: 100%;
    background: #f9f9f9;
    padding: 60px 0;
    margin-top: 60px;
}

.blog-footer-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-footer-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.related-blog-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.related-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.related-blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-blog-card:hover .related-blog-image img {
    transform: scale(1.1);
}

.related-blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-blog-title {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.related-blog-card:hover .related-blog-title {
    color: #007bff;
}

.related-blog-excerpt {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.6;
}

.read-more-link {
    color: #007bff;
    font-weight: 600;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.related-blog-card:hover .read-more-link {
    color: #0056b3;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    #blog-footer-container {
        padding: 50px 0;
        margin-top: 50px;
    }

    .blog-footer-section {
        padding: 0 20px;
    }

    .related-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .related-blog-image {
        height: 180px;
    }

    .related-blog-content {
        padding: 20px;
    }

    .related-blog-title {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    #blog-footer-container {
        padding: 40px 0;
        margin-top: 40px;
    }

    .blog-footer-section {
        padding: 0 15px;
    }

    .related-blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-footer-section h2 {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .related-blog-image {
        height: 200px;
    }

    .related-blog-content {
        padding: 18px;
    }

    .related-blog-title {
        font-size: 0.95em;
    }

    .related-blog-excerpt {
        font-size: 0.9em;
    }
}
