/* =========================================================
   LWFG — Videos Archive
   ========================================================= */

.lwf-videos-page {
    width: 100%;
    padding: 34px 0 60px;
    background: #f8fafc;
}

.lwf-videos-container {
    width: min(
        var(--site-max-width),
        calc(100% - (var(--site-side-space) * 2))
    );

    max-width: none;
    margin: 0 auto;
}


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

.lwf-videos-header {
    margin-bottom: 30px;
}

.lwf-videos-header__text {
    text-align: right;
}

.lwf-videos-header__eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;
    padding: 5px 11px;

    border-radius: 7px;

  background: #087f3f;
    color: #ffffff;

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

.lwf-videos-header h1 {
    margin: 0;

    color: #111827;

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

.lwf-videos-header p {
    margin: 8px 0 0;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.8;
}


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

.lwf-videos-grid {
    display: grid;

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

    gap: 34px 22px;
}


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

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

.lwf-video-card__media {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 14px;

    background: #111827;

    text-decoration: none;
}

.lwf-video-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

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


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

.lwf-video-card__play {
    position: absolute;

    top: 50%;
    left: 50%;

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

    width: 52px;
    height: 52px;

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

    border-radius: 50%;

    background: #ef4444;
    color: #fff;

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

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

.lwf-video-card__play i {
    font-size: 17px;

    margin-left: 3px;
}

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


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

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

    width: 100%;
    height: 100%;

    background: #1f2937;

    color: #9ca3af;
}

.lwf-video-card__fallback i {
    font-size: 42px;
}


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

.lwf-video-card__content {
    padding-top: 10px;

    text-align: right;
}

.lwf-video-card__type {
    display: inline-flex;

    margin-bottom: 7px;
    padding: 4px 9px;

    border-radius: 5px;

    background: #087f3f;
    color: #ffffff;

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

.lwf-video-card__title {
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
    font-weight: 800;
}

.lwf-video-card__title a {
    color: #111827;
    text-decoration: none;

    transition: color .2s ease;
}

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

.lwf-video-card__date {
    display: block;

    margin-top: 5px;

    color: #6b7280;

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


/* =========================================================
   Pagination
   ========================================================= */

.lwf-videos-pagination {
    margin-top: 45px;

    text-align: center;
}

.lwf-videos-pagination ul {
    display: flex;

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

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.lwf-videos-pagination a,
.lwf-videos-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

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

    background: #fff;
    color: #374151;

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

    text-decoration: none;
}

.lwf-videos-pagination .current {
    border-color: #006633;

    background: #006633;
    color: #fff;
}


/* =========================================================
   Empty
   ========================================================= */

.lwf-videos-empty {
    padding: 70px 20px;

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

    background: #fff;

    text-align: center;
}

.lwf-videos-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #f3f4f6;
    color: #9ca3af;
}

.lwf-videos-empty__icon i {
    font-size: 25px;
}

.lwf-videos-empty h2 {
    margin: 0;

    color: #111827;

    font-size: 20px;
}

.lwf-videos-empty p {
    margin: 8px 0 0;

    color: #6b7280;

    font-size: 14px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1000px) {

    .lwf-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 600px) {

    .lwf-videos-page {
        padding: 25px 0 45px;
    }

    .lwf-videos-container {
        width: calc(100% - 24px);
    }

    .lwf-videos-header {
        margin-bottom: 22px;
    }

    .lwf-videos-header h1 {
        font-size: 24px;
    }

    .lwf-videos-header p {
        font-size: 13px;
    }

    .lwf-videos-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .lwf-video-card__media {
        border-radius: 12px;
    }

    .lwf-video-card__play {
        width: 48px;
        height: 48px;
    }

    .lwf-video-card__title {
        font-size: 14px;
    }

}

/* =========================================================
   FRENCH / LTR
   ========================================================= */

.lwf-videos-page--fr {
    direction: ltr;
}

.lwf-videos-page--fr .lwf-videos-header__text {
    text-align: left;
}

.lwf-videos-page--fr .lwf-videos-header h1,
.lwf-videos-page--fr .lwf-videos-header p {
    text-align: left;
}

.lwf-videos-page--fr .lwf-video-card {
    direction: ltr;
}

.lwf-videos-page--fr .lwf-video-card__content {
    text-align: left;
}

.lwf-videos-page--fr .lwf-video-card__type {
    direction: ltr;
}

.lwf-videos-page--fr .lwf-video-card__title,
.lwf-videos-page--fr .lwf-video-card__title a,
.lwf-videos-page--fr .lwf-video-card__date {
    text-align: left;
}

.lwf-videos-page--fr .lwf-videos-pagination {
    direction: ltr;
}

.lwf-videos-page--fr .lwf-videos-empty {
    direction: ltr;
    text-align: center;
}