.blog-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 1.3em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.blog-container {
    background: var(--warm-white);
    padding: 80px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Filtres et recherche */
.blog-filters {
    background: var(--primary-beige);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.filters-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--accent-green);
    outline: none;
}

.category-filter select {
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1em;
    background: white;
    min-width: 180px;
}

.sort-filter select {
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1em;
    background: white;
    min-width: 160px;
}

/* Articles grid */
.articles-grid {
    display: grid;
    gap: 40px;
}

.article-card {
    background: var(--warm-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.article-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, var(--accent-green), var(--secondary-green));
    position: relative;
    overflow: hidden;
}

.article-photo-credit a {
  color: #fff;            /* même couleur que ton texte */
  text-decoration: none;  /* pas de soulignement */
}

.article-photo-credit a:hover {
  text-decoration: underline; /* optionnel : souligné seulement au survol */
}

.article-photo-credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 11px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-style: italic;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    color: var(--primary-green);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.article-card-content {
    padding: 30px;
}

.article-card-meta {
    color: var(--medium-gray);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.article-card-title {
    color: var(--primary-green);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: var(--secondary-green);
}

.article-card-excerpt {
    color: var(--earth-brown);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px dotted var(--light-gray);
}

.article-read-time {
    color: var(--medium-gray);
    font-size: 0.9em;
}

.article-read-more {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-read-more:hover {
    color: var(--primary-green);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a {
    background: var(--primary-beige);
    color: var(--primary-green);
}

.pagination a:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--primary-green);
    color: white;
}

.pagination .dots {
    background: none;
    color: var(--medium-gray);
}

/* Sidebar blog */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--primary-beige);
    color: var(--earth-brown);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    background: var(--accent-green);
    color: white;
    transform: translateX(5px);
}

.category-count {
    background: rgba(0,0,0,0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--primary-beige);
    color: var(--earth-brown);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-green);
    color: white;
}


.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--warm-white);
}

.btn-primary:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.tags-cloud .tag.active {
    background: #4CAF50;
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
        order: -1;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box,
    .category-filter,
    .sort-filter {
        min-width: auto;
    }

    .blog-hero h1 {
        font-size: 2.2em;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
}