/* Breadcrumb simple */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}
.breadcrumb .container {
    color: #64748b;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #0ea5e9;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

/* Titre principal */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    text-align: center;
}

/* Grille d'articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte article */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Image article */
.article-image {
    display: block;
    overflow: hidden;
    height: 200px;
}
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* Contenu article */
.article-content {
    padding: 1.5rem;
}
.article-meta {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.article-title {
    margin: 0.5rem 0;
}
.article-title a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}
.article-title a:hover {
    color: #0ea5e9;
}
.article-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.article-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.article-link:hover {
    gap: 0.8rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}
.page-link {
    background: #0ea5e9;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.page-link:hover {
    background: #0284c7;
}
.page-info {
    color: #64748b;
}

/* Article single */
.article-single {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.article-header {
    padding: 2.5rem;
}
.article-header h1 {
    font-size: 2.2rem;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.article-featured-image {
    margin: 0;
}
.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .article-featured-image img {
        max-height: 300px;
    }
}
.article-featured-image figcaption {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

/* Contenu article */
.article-body {
    padding: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #334155;
}
.article-body p {
    margin-bottom: 1.25rem;
}
.article-body h2 {
    margin: 2rem 0 1rem;
    color: #1e293b;
    font-size: 1.6rem;
}
.article-body a {
    color: #0ea5e9;
    text-decoration: none;
}
.article-body a:hover {
    text-decoration: underline;
}
.article-body ul, .article-body ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}

/* Source */
.article-source {
    color: #64748b;
    margin-left: 1rem;
}
.article-source-link {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}
.article-source-link a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
}

/* Articles similaires */
.related-articles {
    padding: 3rem 0;
    background: #f8f9fa;
    margin-top: 3rem;
}
.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 1.8rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-header { padding: 1.5rem; }
    .article-header h1 { font-size: 1.6rem; }
    .article-body { padding: 1.5rem; font-size: 1.125rem; }
}
