/* =========================================================
   LWFG — Home Latest Videos
   ========================================================= */

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


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

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

    margin-bottom: 22px;
}

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

    color: #111827;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.lwf-home-latest-videos__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-videos__header a:hover {
    color: #006633;
}


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

.lwf-home-latest-videos .lwf-video-card {
    min-width: 0;
}

.lwf-home-latest-videos .lwf-video-card__media {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 12px;

    background: #111827;

    text-decoration: none;
}

.lwf-home-latest-videos .lwf-video-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.lwf-home-latest-videos
.lwf-video-card:hover
.lwf-video-card__media img {
    transform: scale(1.035);
}


/* =========================================================
   Play Button
   ========================================================= */

.lwf-home-latest-videos .lwf-video-card__play {
    position: absolute;

    top: 50%;
    left: 50%;

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

    width: 50px;
    height: 50px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #ef4444;
    color: #fff;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);

    transition:
        transform .25s ease,
        background .25s ease;
}

.lwf-home-latest-videos
.lwf-video-card__play i {
    margin-left: 3px;

    font-size: 16px;
}

.lwf-home-latest-videos
.lwf-video-card:hover
.lwf-video-card__play {
    transform: translate(-50%, -50%) scale(1.08);
}


/* =========================================================
   Fallback
   ========================================================= */

.lwf-home-latest-videos
.lwf-video-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #1f2937;

    color: #9ca3af;
}

.lwf-home-latest-videos
.lwf-video-card__fallback i {
    font-size: 38px;
}


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

.lwf-home-latest-videos .lwf-video-card__content {
    padding-top: 9px;

    text-align: right;
}

.lwf-home-latest-videos .lwf-video-card__type {
    display: inline-flex;

    margin-bottom: 6px;

    padding: 4px 9px;

    border-radius: 5px;

    background: #087f3f;
    color: #fff;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.lwf-home-latest-videos .lwf-video-card__title {
    margin: 0;

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

.lwf-home-latest-videos .lwf-video-card__title a {
    color: #111827;

    text-decoration: none;

    transition: color .2s ease;
}

.lwf-home-latest-videos .lwf-video-card__title a:hover {
    color: #006633;
}

.lwf-home-latest-videos .lwf-video-card__date {
    display: block;

    margin-top: 5px;

    color: #6b7280;

    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

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

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

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


    .lwf-home-latest-videos
    .lwf-video-card__media {
        border-radius: 15px;
    }

}

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

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

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

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


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

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

.lwf-home-latest-videos--fr
.lwf-home-latest-videos__header h2 {
    text-align: left;
}


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

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


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

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

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

.lwf-home-latest-videos--fr
.lwf-video-card__date {
    direction: ltr;
    text-align: left;
}


/* =========================
   Play icon
========================= */

.lwf-home-latest-videos--fr
.lwf-video-card__play i {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 600px) {

    .lwf-home-latest-videos__grid {
        grid-template-columns: 1fr;
    }

}