/* Actualités Container */
.actualites-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 60px;
}

/* Header Styles */
.actualites-header {
    text-align: center;
    margin-bottom: 40px;
}

.actualites-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.actualites-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Elegant Filter Form Design */
.filter-form {
    margin: 50px auto;
    max-width: 800px;
}

.date-filters {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.filter-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFA500;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.form-control:focus {
    border-color: #FFA500;
    box-shadow: 0 5px 15px rgba(255,165,0,0.15);
    outline: none;
}

.filter-btn {
    background: #5da8ae;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px #7ec4c9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 48px;
    margin-bottom: 10px;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px #7ec4c9;
}

.filter-btn:active {
    transform: translateY(0);
}

.reset-btn {
    color: #FFA500;
    background: white;
    border: 1px solid #FFA500;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.reset-btn:hover {
    background: #fff9f0;
    box-shadow: 0 3px 10px rgba(255,165,0,0.2);
}

/* Floating Label Animation */
.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.7rem;
    color: #FF8C00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .date-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .filter-group {
        margin-bottom: 25px;
    }
    
    .filter-btn, .reset-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .reset-btn {
        margin-left: 0;
    }
}
/* Actualités Grid */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Actualité Card */
.actualite-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.actualite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.actualite-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.actualite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.actualite-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #5da8ae;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.actualite-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.actualite-date .month {
    font-size: 0.9rem;
    font-weight: 600;
}

.actualite-content {
    padding: 20px;
}

.actualite-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.actualite-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #5da8ae;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Nouveau style pour le pied de carte */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.source-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.source-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.source-link:hover {
    color: #FFA500;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
}

.no-results i {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.no-results p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .actualites-grid {
        grid-template-columns: 1fr;
    }
    
    .date-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .actualites-header h1 {
        font-size: 2rem;
    }
}