/* Container global */
.h-news-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
}

/* Header Section */
.h-news-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding: 0 10px;
}

.h-news-main-title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-title-pill {
    background-color: #e9f7f2; /* Vert très clair */
    color: #006b4d;           /* Vert foncé */
    padding: 4px 18px;
    border-radius: 40px;
    font-size: 30px;
}

.h-news-desc {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.h-view-all {
    color: #006b4d;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
}

.h-view-all:hover { opacity: 0.8; }

/* Grid System */
.h-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Card Style */
.h-news-item {
    background: transparent;
}

.h-news-thumb {
    width: 100%;
    height: 240px;
    border-radius: 25px; /* Coins très arrondis comme le modèle */
    overflow: hidden;
    margin-bottom: 20px;
}

.h-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.h-news-item:hover .h-news-thumb img {
    transform: scale(1.05);
}

/* Meta info */
.h-news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.h-category-tag {
    background-color: #e9f7f2;
    color: #006b4d;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.h-date {
    color: #999;
    font-size: 13px;
}

/* Typography article */
.h-item-title {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.h-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.h-item-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .h-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .h-news-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .h-news-grid { grid-template-columns: 1fr; }
    .h-news-main-title { font-size: 28px; }
    .h-title-pill { font-size: 24px; }
}