/* =========================================================
   LWFG — Single Video
   ========================================================= */

.lwf-video-single-page {
    width: 100%;
    padding: 38px 0 70px;

    background: #f8fafc;
}

.lwf-video-single-container {
    width: min(1050px, calc(100% - 40px));

    margin: 0 auto;
}


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

.lwf-video-single-header {
   margin-top: 25px;

    text-align: right;
}

.lwf-video-single-eyebrow {
    display: inline-flex;

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

    border-radius: 7px;

   background: #087f3f;
    color: #ffffff;

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

.lwf-video-single-header h1 {
    margin: 0;

    color: #111827;

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

.lwf-video-single-meta {
    display: flex;

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

    gap: 10px;

    margin-top: 10px;

    color: #6b7280;

    font-size: 13px;
}


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

.lwf-video-single-type {
    display: inline-flex;

    padding: 5px 10px;

    border-radius: 6px;

    background: #087f3f;
    color: #ffffff;

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


/* =========================================================
   Player
   ========================================================= */

.lwf-video-single-player {
    width: 100%;

    overflow: hidden;

    border-radius: 16px;

   background: transparent;

}

.lwf-video-single-embed {
    position: relative;
    overflow: hidden;
border-radius: 16px;

    width: 100%;

    aspect-ratio: 16 / 10.5;

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

.lwf-video-single-embed iframe {
    position: absolute;
    border-radius: 16px;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

.lwf-video-single-embed iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    object-fit: contain;
}

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

.lwf-video-single-error {
    display: flex;

    flex-direction: column;

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

    min-height: 420px;

    padding: 30px;

    text-align: center;

    color: #9ca3af;
}

.lwf-video-single-error i {
    margin-bottom: 15px;

    font-size: 40px;
}

.lwf-video-single-error p {
    margin: 0 0 15px;

    font-size: 15px;
}

.lwf-video-single-error a {
    display: inline-flex;

    padding: 9px 16px;

    border-radius: 8px;

    background: #006633;
    color: #fff;

    text-decoration: none;

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


/* =========================================================
   Description
   ========================================================= */

.lwf-video-single-description {
    margin-top: 30px;

    padding: 24px;

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

    background: #fff;

    text-align: right;
}

.lwf-video-single-description h2 {
    margin: 0 0 14px;

    color: #111827;

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

.lwf-video-single-description__content {
    color: #4b5563;

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

/* =========================================================
   أحدث الفيديوهات
   ========================================================= */

.lwf-latest-videos {
    margin-top: 45px;
    text-align: right;
}

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

.lwf-latest-videos-header h2 {
    margin: 0;

    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

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

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

.lwf-latest-video-image {
    position: relative;

    display: block;

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

    overflow: hidden;

    border-radius: 12px;

    background: #e5e7eb;

    text-decoration: none;
}

.lwf-latest-video-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.lwf-latest-video-card:hover
.lwf-latest-video-image img {
    transform: scale(1.04);
}

.lwf-latest-video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 46px;
    height: 46px;

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

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

    border-radius: 50%;

    background: rgba(0, 0, 0, .72);

    color: #fff;

    font-size: 15px;

    pointer-events: none;
}

.lwf-latest-video-play i {
    margin-left: 2px;
}

.lwf-latest-video-placeholder {
    width: 100%;
    height: 100%;

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

    color: #9ca3af;

    font-size: 28px;
}

.lwf-latest-video-content {
    padding-top: 11px;
}

.lwf-latest-video-content time {
    display: block;

    margin-bottom: 5px;

    color: #9ca3af;

    font-size: 12px;
}

.lwf-latest-video-content h3 {
    margin: 0;

    color: #111827;

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

.lwf-latest-video-content h3 a {
    color: inherit;
    text-decoration: none;
}

.lwf-latest-video-content h3 a:hover {
    color: #006633;
}

/* =========================================================
   مشاركة الفيديو
   ========================================================= */

.lwf-news-share {
    width: min(1080px, calc(100% - 40px));
    margin: 38px auto 0;
    text-align: center;
}

.lwf-news-share h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
}

.lwf-share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: ltr;
}

.lwf-share-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid #d5d9df;
    border-radius: 50%;

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

    flex: 0 0 52px;
    cursor: pointer;
    text-decoration: none;

    background: #fff;
    color: #111827;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.lwf-share-btn:hover {
    transform: translateY(-2px);
    border-color: #aeb5bf;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
}

.lwf-share-btn::before,
.lwf-share-btn::after {
    content: none !important;
    display: none !important;
}

.lwf-share-btn svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.lwf-share-btn:nth-child(1) svg,
.lwf-share-btn:nth-child(4) svg {
    width: 25px;
    height: 25px;
}


/* =========================================================
   رسالة نسخ الرابط
   ========================================================= */

.lwf-copy-toast {
    position: fixed;
    top: 18px;
    right: 18px;

    min-width: 300px;
    max-width: calc(100vw - 36px);

    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    background: #e8f8ed;
    color: #111827;

    border: 1px solid #c8e8d2;
    border-radius: 7px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    direction: rtl;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 999999;
}

.lwf-copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lwf-copy-toast-check {
    width: 20px;
    height: 20px;

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

    color: #111827;
    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   Back
   ========================================================= */

.lwf-video-single-back {
    margin-top: 25px;

    text-align: right;
}

.lwf-video-single-back a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #006633;

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

    text-decoration: none;
}

.lwf-video-single-back a:hover {
    text-decoration: underline;
}


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

@media (max-width: 700px) {

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

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

    .lwf-video-single-header h1 {
        font-size: 23px;
    }

    .lwf-video-single-meta {
        font-size: 12px;
    }

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

    .lwf-video-single-description {
        padding: 18px;
    }

    .lwf-share-buttons {
    gap: 9px;
}

.lwf-share-btn {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
}

.lwf-share-btn svg {
    width: 21px;
    height: 21px;
}

.lwf-copy-toast {
    top: 12px;
    right: 12px;
    min-width: 0;
    width: calc(100vw - 24px);
}

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

.lwf-latest-videos-header h2 {
    font-size: 20px;
}

.lwf-latest-videos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
}

.lwf-latest-video-image {
    border-radius: 10px;
}

}

/* =========================================================
   French / LTR
   ========================================================= */

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

.lwf-video-single-page--fr .lwf-video-single-header {
    text-align: left;
}

.lwf-video-single-page--fr .lwf-video-single-meta {
    justify-content: flex-start;
}

.lwf-video-single-page--fr .lwf-video-single-description {
    text-align: left;
}

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

.lwf-video-single-page--fr .lwf-copy-toast {
    direction: ltr;
    left: 18px;
    right: auto;
}

.lwf-video-single-page--fr .lwf-video-single-back {
    text-align: left;
}

@media (max-width: 700px) {

    .lwf-video-single-page--fr .lwf-copy-toast {
        left: 12px;
        right: auto;
    }

}