    .video-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 1rem;
    }

    .video-modal.active {
        opacity: 1;
        visibility: visible;
    }

    .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
    }

    .modal-content {
        position: relative;
        width: 100%;
        max-width: 1200px;
        background: #000;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        transform: scale(0.9);
        transition: transform 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .video-modal.active .modal-content {
        transform: scale(1);
    }


    #modalVideoContainer {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
        background: #000;
    }

    #modalVideoContainer .video-js {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 1.5rem;
    }


    .modal-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 10;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .modal-close:hover {
        background: rgba(239, 68, 68, 0.8);
        transform: rotate(90deg);
    }


    .video-js {
        border-radius: 1.5rem;
        overflow: hidden;
    }

    .video-js .vjs-tech {
        border-radius: 1.5rem;
    }

    .video-js .vjs-control-bar {
        border-radius: 0 0 1.5rem 1.5rem !important;
    }


    .video-js.vjs-has-started .vjs-poster,
    .video-js.vjs-playing .vjs-poster {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .video-js.vjs-has-started .vjs-big-play-button,
    .video-js.vjs-playing .vjs-big-play-button {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .video-js.vjs-has-not-started .vjs-poster {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .video-js .vjs-poster {
        transition: opacity 0.3s ease, visibility 0.3s ease;
        border-radius: 1.5rem;
    }

    .video-js .vjs-big-play-button {
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease !important;
    }


    @media (max-width: 768px) {
        .video-modal {
            padding: 0.5rem;
        }

        .modal-content {
            border-radius: 1rem;
        }

        .modal-close {
            top: 0.5rem;
            right: 0.5rem;
            width: 35px;
            height: 35px;
        }
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .group:hover .group-hover\:w-full {
        width: 100%;
    }

    /* استایل پایه منوی موبایل - با پشتیبانی از RTL/LTR */
    .mobile-menu {
        position: fixed;
        top: 0;
        width: 280px;
        max-width: 85%;
        height: 100%;
        background: white;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
        overflow-y: auto;
    }

    /* حالت RTL (فارسی) - منو از راست میاد */
    .mobile-menu[data-dir="rtl"] {
        right: -100%;
        left: auto;
    }

    .mobile-menu[data-dir="rtl"].open {
        right: 0;
    }

    /* حالت LTR (انگلیسی) - منو از چپ میاد */
    .mobile-menu[data-dir="ltr"] {
        left: -100%;
        right: auto;
    }

    .mobile-menu[data-dir="ltr"].open {
        left: 0;
    }

    /* اورلی یکسان برای هر دو حالت */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        cursor: pointer;
    }

    .mobile-overlay.show {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

    @media (min-width: 768px) {

        .mobile-menu,
        .mobile-overlay {
            display: none;
        }
    }

    /* تنظیم متن لیست منو بر اساس جهت زبان */
    .mobile-menu[data-dir="rtl"] .mobile-nav-link {
        text-align: right;
    }

    .mobile-menu[data-dir="ltr"] .mobile-nav-link {
        text-align: left;
    }