/* =========================================================
   أحدث الألبومات
========================================================= */

.lwf-home-latest-albums {
    width: 100%;
    margin-top: 28px;
}

.lwf-home-latest-albums__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.lwf-home-latest-albums__header h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.lwf-home-latest-albums__header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border: 1px solid #dfe7e2;
    border-radius: 7px;
    background: #fff;
    color: #087f3f;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.lwf-home-latest-albums__header a:hover {
    background: #087f3f;
    border-color: #087f3f;
    color: #fff;
}


/* Grid */

.lwf-home-latest-albums__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* Card */

.lwf-home-album-card {
    min-width: 0;
}

.lwf-home-album-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #eef2f0;
    text-decoration: none;
}

.lwf-home-album-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lwf-home-album-card__media:hover img {
    transform: scale(1.025);
}


/* Fallback */

.lwf-home-album-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #087f3f;
    font-size: 28px;
}


/* Content */

.lwf-home-album-card__content {
    padding-top: 9px;
    text-align: right;
}

.lwf-home-album-card__type {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 4px 8px;
    background: #087f3f;
    color: #fff;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
}

.lwf-home-album-card__title {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

.lwf-home-album-card__title a {
    color: #111827;
    text-decoration: none;
}

.lwf-home-album-card__title a:hover {
    color: #087f3f;
}

.lwf-home-album-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 700px) {

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

    .lwf-home-album-card__media {
        aspect-ratio: 16 / 9;
    }

}

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

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


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

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


/* =========================
   Grid
========================= */

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


/* =========================
   Card content
========================= */

.lwf-home-latest-albums--fr
.lwf-home-album-card__content {
    direction: ltr;
    text-align: left;
}


/* =========================
   Type
========================= */

.lwf-home-latest-albums--fr
.lwf-home-album-card__type {
    direction: ltr;
}


/* =========================
   Title
========================= */

.lwf-home-latest-albums--fr
.lwf-home-album-card__title {
    direction: ltr;
    text-align: left;
}


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

.lwf-home-latest-albums--fr
.lwf-home-album-card__meta {
    direction: ltr;
    justify-content: flex-start;
    text-align: left;
}