/* ==========================================
   giseleso.fr - Blog Styles
   ========================================== */

.blog-hero {
    padding-top: calc(var(--header-height) + 50px);
    min-height: 50vh;
    background: linear-gradient(135deg, var(--azure-sea) 0%, var(--ocean-depth) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* === FILTER SECTION === */
.filter-section {
    background: white;
    padding: var(--spacing-lg) 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.filter-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.filter-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--ocean-depth);
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.filter-button {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--azure-sea);
    color: var(--azure-sea);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-button:hover {
    background: var(--azure-sea);
    color: white;
    transform: translateY(-2px);
}

.filter-button.is-active {
    background: linear-gradient(135deg, var(--coral-sunset), #ff8787);
    border-color: var(--coral-sunset);
    color: white;
    box-shadow: var(--shadow-medium);
}

/* === ARTICLES GRID === */
.articles-container {
    padding: var(--spacing-xl) 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.article-card[style*="display: none"] {
    display: none !important;
}

.article-category {
    display: inline-block;
    background: var(--coral-sunset);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
}

.article-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--azure-sea), var(--mint-breeze));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.article-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.3rem;
    color: var(--ocean-depth);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--soft-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--soft-gray);
    margin-bottom: var(--spacing-sm);
}

.article-footer {
    padding-top: var(--spacing-sm);
    border-top: 1px solid #eee;
}

.read-more-button {
    display: inline-block;
    color: var(--azure-sea);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.read-more-button:hover {
    color: var(--coral-sunset);
    transform: translateX(5px);
}

.read-more-button::after {
    content: " →";
}

/* === NO RESULTS MESSAGE === */
.no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--soft-gray);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-button {
        width: 100%;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .article-thumbnail {
        height: 150px;
    }
    
    .article-icon {
        font-size: 3rem;
    }
}

