/* =========================================================
   LWFG — Home Latest Documents
   ========================================================= */

.lwf-home-latest-documents {
    width: 100%;
    margin-top: 18px;
}


/* =========================================================
   Header
   ========================================================= */

.lwf-home-latest-documents__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.lwf-home-latest-documents__header h2 {
    margin: 0;

    color: #111827;

    font-size: 20px;
    font-weight: 800;
}

.lwf-home-latest-documents__header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 34px;
    padding: 0 14px;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    background: #fff;
    color: #008f4c;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;

    transition: .2s ease;
}

.lwf-home-latest-documents__header a:hover {
    color: #006633;
}


/* =========================================================
   List
   ========================================================= */

.lwf-home-latest-documents__list {
    display: grid;

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

    gap: 12px;
}


/* =========================================================
   Document
   ========================================================= */

.lwf-home-document {
    display: flex;
    align-items: center;

    min-width: 0;

    padding: 14px;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    background: #fff;
}


/* =========================================================
   Icon
   ========================================================= */

.lwf-home-document__icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 12px;

    border-radius: 10px;

    background: #00843d;
    color: #ffffff;

    font-size: 20px;
}


/* =========================================================
   Content
   ========================================================= */

.lwf-home-document__content {
    flex: 1;
    min-width: 0;
}

.lwf-home-document__content h3 {
    margin: 0 0 5px;

    color: #111827;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.lwf-home-document__meta {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #9ca3af;

    font-size: 10px;
    font-weight: 600;
}

.lwf-home-document__meta span + span::before {
    content: "•";
    margin-left: 8px;
    color: #d1d5db;
}


/* =========================================================
   Read
   ========================================================= */

.lwf-home-document__read {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    height: 34px;
    padding: 0 11px;

    border-radius: 9px;

  background: #00843D;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.lwf-home-document__read:hover {
   background: #017035;
    color: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .lwf-home-latest-documents {
        margin-top: 32px;
    }

    .lwf-home-latest-documents__header {
        margin-bottom: 18px;
    }

    .lwf-home-latest-documents__header h2 {
        font-size: 19px;
    }

    .lwf-home-latest-documents__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lwf-home-document {
        padding: 12px;
    }

    .lwf-home-document__icon {
        flex-basis: 38px;

        width: 38px;
        height: 38px;

        margin-left: 10px;
    }

    .lwf-home-document__content h3 {
        font-size: 12px;
    }

    .lwf-home-document__read {
        height: 32px;
        padding: 0 9px;
    }

}

/* =========================================================
   HOME LATEST DOCUMENTS — FRENCH LTR
   ========================================================= */

.lwf-home-latest-documents--fr {
    direction: ltr;
}


/* =========================
   Header
========================= */

.lwf-home-latest-documents--fr
.lwf-home-latest-documents__header {
    direction: ltr;
}


/* =========================
   List
========================= */

.lwf-home-latest-documents--fr
.lwf-home-latest-documents__list {
    direction: ltr;
}


/* =========================
   Document
========================= */

.lwf-home-latest-documents--fr
.lwf-home-document {
    direction: ltr;
    flex-direction: row;
}


/* =========================
   Icon
========================= */

.lwf-home-latest-documents--fr
.lwf-home-document__icon {
    margin-left: 0;
    margin-right: 12px;
}


/* =========================
   Content
========================= */

.lwf-home-latest-documents--fr
.lwf-home-document__content {
    direction: ltr;
    text-align: left;
}

.lwf-home-latest-documents--fr
.lwf-home-document__content h3 {
    text-align: left;
}


/* =========================
   Meta
========================= */

.lwf-home-latest-documents--fr
.lwf-home-document__meta {
    direction: ltr;
    justify-content: flex-start;
}


/* =========================
   Read button
========================= */

.lwf-home-latest-documents--fr
.lwf-home-document__read {
    direction: ltr;
}