/* Styles pour la page Actus/Blog V2 */
/* Date: 18/07/2025 */

.actus-page {
    min-height: 100vh;
    background: #ffffff; /* Fond blanc pur */
}

.actus-page .main-content-section {
    padding: 4rem 0;
    background: #ffffff; /* Fond blanc pur */
}

.actus-page .content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Colonne Principale */
.actus-page .main-column {
    background: transparent; /* Transparent pour laisser voir le fond gris */
    border-radius: 12px;
    overflow: hidden;
}

.actus-page .filters-section {
    background: #f8fafc;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.actus-page .filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.actus-page .search-box {
    width: 100%;
}

.actus-page .search-form {
    width: 100%;
}



.actus-page .filters-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.actus-page .filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.actus-page .filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
}

.actus-page .filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.actus-page .filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.actus-page .articles-section {
    padding: 2rem;
    background: transparent; /* Transparent pour laisser voir le fond gris */
}

.actus-page .articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Barre Latérale */
.actus-page .sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Réduire l'espacement entre les widgets */
}

.actus-page .sidebar-widget {
    background: #f8f9fa; /* Fond gris très clair pour les widgets */
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border: none;
    margin-bottom: 1rem; /* Réduire la marge entre les widgets */
    padding: 2.25rem; /* Padding x 1.5 (1.5rem * 1.5 = 2.25rem) */
}

.actus-page .widget-title {
    background: transparent;
    color: #333333;
    padding: 0 0 1rem 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: none;
}

.actus-page .widget_search {
    margin-bottom: 2rem;
}

.actus-page .widget_search .input-group {
    display: flex;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    align-items: center;
}

.actus-page .widget_search .input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.actus-page .widget_search .field.form-control {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    outline: none;
    border-radius: 25px 0 0 25px;
}

.actus-page .widget_search .input-group-append {
    display: flex;
    align-items: center;
}

.actus-page .widget_search .btn-search {
    padding: 0.75rem;
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    flex-shrink: 0;
}

.actus-page .widget_search .btn-search:hover {
    background: #5a67d8;
}

.actus-page .widget_search .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Widget Catégories */
.actus-page .widget-categories {
    padding: 0;
}

.actus-page .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actus-page .category-item {
    border-bottom: 1px solid #e5e7eb;
}

.actus-page .category-item:last-child {
    border-bottom: none;
}

.actus-page .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.actus-page .category-link:hover {
    color: #667eea;
}

.actus-page .category-count {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Widget Articles Populaires */
.actus-page .widget-popular-posts {
    padding: 0;
}

.actus-page .popular-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.actus-page .popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.actus-page .popular-post-item:first-child {
    padding-top: 0;
}

.actus-page .post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.actus-page .post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actus-page .post-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.5rem;
}

.actus-page .post-content {
    flex: 1;
    min-width: 0;
}

.actus-page .post-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.actus-page .post-title a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.actus-page .post-title a:hover {
    color: #667eea;
}

.actus-page .post-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Widget Archives */
.actus-page .widget-archives {
    padding: 0;
}

.actus-page .archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actus-page .archive-item {
    border-bottom: 1px solid #e5e7eb;
}

.actus-page .archive-item:last-child {
    border-bottom: none;
}

.actus-page .archive-link {
    display: block;
    padding: 0.75rem 0;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.actus-page .archive-link:hover {
    color: #667eea;
}

/* Widget Publicité */
.actus-page .widget-advertisement {
    padding: 0;
    display: none; /* Masquer le widget publicité pour le moment */
}

.actus-page .ad-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.actus-page .ad-banner h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.actus-page .ad-banner p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Pagination */
.actus-page .pagination-wrapper {
    text-align: center;
    padding: 2rem 0 0 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.actus-page .pagination-info {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.actus-page .load-more-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.actus-page .load-more-button:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* État vide */
.actus-page .no-articles {
    text-align: center;
    padding: 3rem 0;
}

.actus-page .no-articles-content {
    max-width: 400px;
    margin: 0 auto;
}

.actus-page .no-articles-content svg {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.actus-page .no-articles-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.actus-page .no-articles-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.875rem;
}

.actus-page .reset-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.actus-page .reset-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .actus-page .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .actus-page .sidebar-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    .actus-page .main-content-section {
        padding: 2rem 0;
    }
    
    .actus-page .filters-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .actus-page .filter-select {
        min-width: auto;
    }
    
    .actus-page .articles-list {
        gap: 1.5rem;
    }
    
    .actus-page .popular-post-item {
        gap: 0.75rem;
    }
    
    .actus-page .post-thumbnail {
        width: 50px;
        height: 50px;
    }
} 