/* Styles for featured and tag-based article cards */
.fa-featured-blog-section {
    padding: 0px 20px;
    margin: 0;
}

.fa-featured-blog-section .fa-container {
    max-width: 1000px;
    margin: 0 auto;
}

.fa-featured-blog-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
}

/* Desktop Grid View */
.fa-featured-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.fa-featured-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.fa-featured-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.fa-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fa-article-card-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
}

.fa-article-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

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

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

.fa-article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.fa-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.fa-article-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
}

.fa-article-excerpt {
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.fa-article-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
    padding-top: 10px;
}

.fa-author {
    font-weight: 500;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fa-featured-blog-section {
        padding: 40px 15px;
    }
    
    .fa-featured-articles-grid {
        grid-template-columns: 1fr !important;
        grid-gap: 20px !important;
    }
    
    .fa-article-card-content {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    
    .fa-article-image {
        width: 100%;
        height: 160px;
        align-self: stretch;
    }
    
    .fa-article-content {
        min-height: auto;
    }
    
    .fa-article-content h3 {
        font-size: 1.25rem;
    }
    
    .fa-article-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .fa-article-card-content {
        padding: 12px;
        gap: 10px;
    }
    
    .fa-article-image {
        height: 140px;
    }
}
