/* Nouvelles — 2-col card grid (cover on top, excerpt, actions) */

.nouvelles-page .landing-section-head {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: var(--dark, #1c4152);
    position: relative;
    padding-bottom: 0.75rem;
}

.nouvelles-page .landing-section-head::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: var(--secondary, #4ea35c);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.nouvelles-hero {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nouvelles-hero__title {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.06em;
}

.nouvelles-page__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 576px) {
    .nouvelles-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .nouvelles-page__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.nouvelle-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(28, 65, 82, 0.06);
    box-shadow: 0 8px 28px rgba(28, 65, 82, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    min-height: 0;
}

.nouvelle-card:hover {
    box-shadow: 0 16px 42px rgba(28, 65, 82, 0.12);
    transform: translateY(-2px);
}

.nouvelle-card__media {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #dfe9ef 0%, #b8ccd9 100%);
}

.nouvelle-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.nouvelle-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
    background: #fafcfd;
}

.nouvelle-card__date {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 0.45rem;
}

.nouvelle-card__title {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nouvelle-card__title a {
    color: var(--dark, #1c4152);
    text-decoration: none;
}

.nouvelle-card__title a:hover {
    color: var(--primary, #17a8eb);
}

.nouvelle-card__excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5a6e78;
}

.nouvelle-card__btn {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 8px;
    text-transform: uppercase;
}

.nouvelles-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6c757d;
    background: #f8fafb;
    border-radius: 12px;
    border: 1px dashed rgba(28, 65, 82, 0.12);
}
