/* === CARTES D'ARTICLES === */
.article-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.3);
}

.article-card a {
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* === IMAGES DES CARTES === */
.article-card-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
}

/* === CONTENU DES CARTES === */
.article-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.article-card-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* === FOOTER DES CARTES === */
.article-card-footer {
    padding: 0.75rem 1rem;
    background-color: transparent;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-card-meta small {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}