/*
Theme Name: Farooqico Child
Theme URI: https://g12digital.ae/
Template: hello-elementor
Author: Farooqico Team
Author URI: https://g12digital.ae/
Description: Farooqico Team
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1758025301
Updated: 2025-09-16 12:21:41

*/



/* ===============================================
   PROFESSIONAL BLOG SHOWCASE STYLES
   =============================================== */

.blog-showcase-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    align-items: start;
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px 0;
    line-height: 1.2;
}

.all-blogs-section .section-title {
    margin-bottom: 0px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    width: 100%;
}

.view-all-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.view-all-link:hover {
    color: #000000;
}

.view-all-link::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.view-all-link:hover::after {
    transform: translateX(4px);
}

/* Featured Blogs Section */
.featured-blogs-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.featured-blog-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    padding: 20px;
}

.featured-blog-card:hover {
    transform: translateY(-4px);
}

.featured-blog-card .blog-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.featured-blog-card .blog-content {
    padding-top: 26px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 16px;
    font-weight: 500;
}

.blog-meta .author {
    position: relative;
}

.blog-meta .author::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: #ddd;
}

.featured-blog-card .blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
    color: #1a1a1a;
    width: 100%;
}

.featured-blog-card .blog-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.featured-blog-card .blog-title a:hover {
    color: #000000;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-size: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #000000;
    transform: translateX(2px);
}

.read-more::after {
    content: ' →';
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* All Blogs Section */
.all-blogs-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #e8e8e8;
    width: 100%;
    padding: 20px;
    height: 100%;
}

.all-blogs-section {
    height: 100%;
}

.blog-card {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.blog-card:hover {
    transform: translateY(-2px);
}

.blog-image-small {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.blog-image-small img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-small img {
    transform: scale(1.1);
}

/* Category Badges */
.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #cdcdcd;
    color: #000;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.blog-category-small {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #cdcdcd;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.blog-image-small {
    position: relative;
}

.blog-content-small {
    flex: 1;
    min-width: 0;
}

.blog-content-small .blog-meta {
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.blog-title-small {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
}

.blog-title-small a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-title-small a:hover {
    color: #000000;
}




/* Responsive Design */
@media (max-width: 1024px) {
    .blog-showcase-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-blog-card .blog-image {
        height: 240px;
    }

    .featured-blog-card .blog-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .featured-blog-card .blog-image {
        height: 200px;
    }

    .featured-blog-card .blog-content {
        padding: 20px;
    }

    .featured-blog-card .blog-title {
        font-size: 1.25rem;
    }

    .blog-card {
        flex-direction: column;
        gap: 16px;
    }

    .blog-image-small {
        width: 100%;
        height: 160px;
        align-self: stretch;
    }

    .blog-meta {
        flex-direction: column;
        gap: 4px;
    }

    .blog-meta .author::after {
        display: none;
    }
}

@media (max-width: 480px) {

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .blog-showcase-container {
        gap: 36px;
    }

    .featured-blog-card .blog-content {
        padding: 16px;
    }

}