/* ================= VARIABLES ================= */
:root {
    --brand-green: #96d002;
    --brand-dark: #000000;
    --card-border: #f0f0f0;
    --card-radius: 8px;
}

/* ================= BARRE DE FILTRES & RECHERCHE ================= */
.blog-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.categories-filter-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.categories-filter-list .filter-btn {
    font-family: 'SF Pro Display' !important;
    border: none;
    background: transparent;
    color: #000;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: initial !important;
}

.categories-filter-list .filter-btn:hover {
    color: #000;
    background: #f4f4f4;
}

.categories-filter-list .filter-btn.active {
    background: var(--brand-green);
    color: #fff;
}

/* Barre de recherche */
.search-filter-box form {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 14px;
    background: #fff;
    width: 340px;
    transition: border-color 0.2s;
}

.search-filter-box form:focus-within {
    border-color: var(--brand-green);
}

.search-filter-box input {
    border: none;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: #333;
    background: transparent;
    padding: 0 !important;
    height: fit-content !important;
}

.search-filter-box .search-submit-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: #888;
}

/* ================= GRILLE D'ARTICLES (3 colonnes) ================= */
.articles-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .articles-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .articles-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ================= CARTE D'ARTICLE ================= */
.article-card {
    background: #fff;
    /* border: 1px solid var(--card-border); */
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.1);
    margin: 0 !important;
}

.article-card .card-thumbnail-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.article-card .card-badge-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--brand-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.article-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card .card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.article-card .card-title {
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

.article-card .card-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card .card-title a:hover {
    color: var(--brand-green);
}

.article-card .card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.article-card .card-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s;
}

.article-card .card-read-more:hover {
    /* transform: translateX(4px); */
    text-decoration: underline;
}

/* ================= BOUTON VOIR PLUS ================= */
.load-more-container {
    text-align: center;
    margin: 30px 0 20px;
}

.btn-voir-plus-articles {
    font-family: 'SF Pro Display' !important;
    background: #fff;
    border: 2px solid var(--brand-green);
    color: #111;
    padding: 8px 68px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: initial !important;
}

.btn-voir-plus-articles:hover {
    background: var(--brand-green);
    color: #fff;
}

.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}