.article-grid-layout {
    display: grid;
    /* CHANGEMENT : 15px = 0.9375rem */
    gap: 0.9375rem;
    margin-top: var(--space-sm);

    grid-template-columns: repeat(2, 1fr);

    justify-content: start;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    padding-bottom: 0;
}

/* ---------------------------------------------------- */
/* STYLE DE BASE DES CARTES */
/* ---------------------------------------------------- */
.article-resource-card {
    display: flex;
    position: relative;
    flex-direction: column;
    min-width: 0;
    padding: var(--space-md);
    background-color: var(--source-color-white-transparent) !important;
    border: 1px solid var(--color-book-resource-card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-z1);
    align-items: flex-start;
    align-self: start;
    margin-top: 0;
}

/* ---------------------------------------------------- */
/* 1. EN-TÊTE HORIZONTAL */
/* ---------------------------------------------------- */
.article-header-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    width: 100%;
}

.article-cover-container {
    /* CHANGEMENT : 250px / 16 = 15.625rem */
    width: 15.625rem;
    height: auto;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;

    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-z2);
}

.article-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

.article-info-base {
    flex-grow: 1;
    text-align: left;
    min-width: 0;
    margin-bottom: 0;
    margin-top: 0;
    margin-right: var(--space-md);
}

.article-title {
    font-size: var(--font-size-book-title);
    color: var(--source-color-accent-two);
    margin-top: 0;
    margin-bottom: var(--space-sm);
    /* CHANGEMENT : Utilisation de votre variable line-height */
    line-height: var(--line-height-heading);
}

.article-subtitle {
    /* CHANGEMENT : 1.1rem reste correct, ou var(--font-size-base-plus) */
    font-size: var(--font-size-base-plus);
    color: var(--color-article-subtitle);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    /* CHANGEMENT : 1.4rem / 16 = 0.875rem (ou valeur relative) */
    line-height: 1.4rem;
    font-weight: var(--fw-bold);
    background-color: var(--source-color-accent-two-very-light);
    border-radius: var(--radius-sm);
}

.article-read-link {
    font-size: var(--font-size-md);
    color: var(--color-link-to-be-view);
    font-weight: var(--fw-bold);
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 0;
}

.article-read-link:hover {
    transform: scale(var(--transform-scale-sm-plus));
}

/* ---------------------------------------------------- */
/* 2. SECTION CENTRÉE (Résumé et Expansion) */
/* ---------------------------------------------------- */
.article-center-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
}

.article-summary-wrapper {
    /* CHANGEMENT : 103px / 16 = 6.4375rem */
    max-height: 6.4375rem;
    overflow: hidden;
    position: relative;
    padding-bottom: 0;
    flex-grow: 1;
    min-height: 0;
    box-sizing: border-box;
    margin-top: 0;
}

/* --- DÉGRADÉ DE MASQUAGE --- */
.article-summary-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* CHANGEMENT : 55px / 16 = 3.4375rem */
    height: 3.4375rem;
    background: linear-gradient(to top,
    var(--color-white-bg) 0%,
    rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    opacity: 1;
    z-index: 5;
}

.article-summary-wrapper.expanded {
    max-height: none;
}

.article-summary-wrapper.expanded::after {
    opacity: 0;
}

.article-summary {
    margin-bottom: 0;
    height: 100%;
}

.article-description:last-child {
    margin-bottom: 0;
}

/*------------------------------------------------*/
/*------------------- @media ---------------------*/
/*------------------------------------------------*/

/* CHANGEMENT : 950px = 59.375rem */
@media (max-width: 59.375rem) {
    .article-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* CHANGEMENT : 992px = 62rem */
@media (max-width: 62rem) {
    .article-description {
        /* CHANGEMENT : Utilisation de 1.3rem au lieu de 1.3em pour la consistance */
        font-size: 1.3rem;
    }
}

/* CHANGEMENT : 785px = 49.0625rem */
@media (max-width: 49.0625rem) {
    .article-title {
        font-size: var(--font-size-md-plus);
    }
    .article-subtitle,
    .article-read-link,
    .tts-label {
        font-size: var(--font-size-base-plus);
    }
}

/* CHANGEMENT : 576px = 36rem */
@media (max-width: 36rem) {
    .article-cover-container {
        /* CHANGEMENT : 200px = 12.5rem */
        width: 12.5rem;
    }
}

/* CHANGEMENT : 480px = 30rem */
@media (max-width: 30rem) {
    .article-grid-layout {
        gap: 0.9375rem;
    }
    .article-header-content {
        flex-direction: column !important;
        align-items: center !important;
    }
    .article-info-base {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: var(--space-md) !important;
        text-align: center !important;
    }
    .article-cover-container {
        width: 12.5rem;
        margin-bottom: var(--space-sm) !important;
    }
}