
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #000;
    }

    .container--black {
        background: #000;
        color: #fff;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .container__inner {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .live-stream-container {
        grid-template-columns: 1fr 300px;
        gap: 30px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .aj-video-player {
        width: 100% !important;
        max-width: 100%;
    }

    @media (max-width: 768px) {
        .live-stream-container {
            padding: 0 10px;
        }
    }



    @media (max-width: 1024px) {
        .live-stream-container {
            grid-template-columns: 1fr;
        }

        .container--ads-vertical-stretch {
            display: none;
        }
    }

    .live-stream-container__player {
        flex: 1;
    }

    .live-stream-player__widget-header h1 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #fff;
    }

    /* مشغل الفيديو */
    .aj-video-player {
        position: relative;
        width: 100%;
        background: #000;
        margin-bottom: 20px;
    }

    .aj-video-player video-js {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    /* أزرار التحكم */
    .live-stream__buttons_container {
        display: flex;
        gap: 20px;
        margin: 20px 0;
        flex-wrap: wrap;
    }

    .live-stream-player__audio-link {
        background: transparent;
        border: 1px solid #c00;
        color: #fff;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .live-stream-player__audio-link:hover {
        background: rgba(204, 0, 0, 0.1);
    }

    .epg-container__schedule__link {
        text-decoration: none;
    }

    .epg-container__next__schedule {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        color: white;
        border-radius: 4px;
        font-weight: 500;
    }

    .epg-container__next__schedule:hover {
        background: #a00;
    }

    /* جدول البث */
    .epg-container {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 20px;
        margin-top: 20px;
    }

    .epg-container__now-playing,
    .epg-container__next {
        margin-bottom: 15px;
    }

    .epg-container__now-playing__header,
    .epg-container__next__header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        font-size: 18px;
    }

    .epg-container__status__indicator {
        color: #c00;
    }

    .epg-container__label {
        font-weight: bold;
        color: #ccc;
    }

    .epg-container__now-playing__title,
    .epg-container__next__title {
        color: #fff;
        font-weight: 500;
    }

    /* تحذير الفلاش */
    .live-stream__three-flash-warning {
        background: rgba(255, 193, 7, 0.1);
        border-left: 4px solid #ffc107;
        padding: 10px 15px;
        margin: 15px 0;
        color: #ffc107;
        font-size: 14px;
    }

    /**** الإعلانات ****/
    .ads {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 15px;
    }

    .ads__title {
        display: block;
        font-size: 12px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-align: center;
    }

    .u-hidden--mobile {
        display: block;
    }

    @media (max-width: 768px) {
        .u-hidden--mobile {
            display: none !important;
        }


    }

    .container--grid.container--white {
        background: #fff;
        color: #000;
    }

    .container--live-page-videos {
        margin-top: 40px;
    }

    .curated-feed-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .gc {
        display: flex;
        gap: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .gc__content {
        flex: 1;
    }

    .gc__title {
        margin: 10px 0;
        font-size: 20px;
    }

    .gc__title a {
        color: #000;
        text-decoration: none;
    }

    .gc__title a:hover {
        color: #c00;
    }

    .gc__excerpt {
        color: #666;
        line-height: 1.6;
        margin: 10px 0;
    }

    .gc__footer {
        margin-top: 15px;
    }

    .gc__date {
        color: #888;
        font-size: 14px;
    }

    .gc__image-wrap {
        width: 300px;
        flex-shrink: 0;
    }

    .article-card__image {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

    .post-icon-parent {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .post-icon__container {
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
    }

    .card-collection {
        margin: 30px 0;
    }

    .card-collection__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .branded-collection-title {
        font-size: 24px;
        margin: 0;
        color: #000;
    }

    .branded--bar {
        padding-bottom: 10px;
        border-bottom: 3px solid #c00;
    }

    .carousel-navigation {
        display: flex;
        gap: 10px;
    }

    .carousel-navigation__btn {
        background: #c00;
        color: white;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .carousel-navigation__btn:hover:not(:disabled) {
        background: #a00;
    }

    .carousel-navigation__btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .card-collection__carousel {
        overflow: hidden;
    }

    .swiper-wrapper {
        display: flex;
        gap: 15px;
    }

    .swiper-slide {
        width: 222px;
        flex-shrink: 0;
    }

    .playlist-item-container {
        width: 100%;
    }

    .playlist-item-image-container {
        position: relative;
        margin-bottom: 10px;
    }

    .playlist-item-image {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

    .playlist-item-title {
        margin: 8px 0;
        font-size: 16px;
    }

    .playlist-item-title a {
        color: #000;
        text-decoration: none;
    }

    .playlist-item-title a:hover {
        color: #c00;
    }

    .card-collection__footer {
        text-align: center;
        margin-top: 20px;
    }

    .card-collection__more-link {
        display: inline-block;
        background: #c00;
        color: white;
        padding: 10px 30px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 500;
    }

    .card-collection__more-link:hover {
        background: #a00;
    }

    .show-more-button {
        display: block;
        width: 100%;
        background: #f5f5f5;
        border: 1px solid #ddd;
        color: #333;
        padding: 15px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        margin-top: 20px;
        border-radius: 4px;
    }

    .show-more-button:hover {
        background: #e5e5e5;
    }

    @media (max-width: 768px) {
        .gc {
            flex-direction: column;
        }

        .gc__image-wrap {
            width: 100%;
        }

        .swiper-slide {
            width: 200px;
        }

        .branded-collection-title {
            font-size: 20px;
        }
    }



    .ads.livestream-ad-rail__right {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .ad-grid-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .ad-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e0e0e0;
        width: 100%;
    }

    .ad-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    .ad-image {
        position: relative;
        height: 150px;
        overflow: hidden;
    }

    .ad-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .ad-item:hover .ad-image img {
        transform: scale(1.05);
    }

    .ad-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .ad-content {
        padding: 15px;
    }

    .ad-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 8px 0;
        line-height: 1.3;
    }

    .ad-desc {
        font-size: 13px;
        color: #666;
        margin: 0 0 12px 0;
        line-height: 1.4;
    }

    .ad-cta {
        display: inline-block;
        background: #c00;
        color: white;
        padding: 8px 16px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        transition: background 0.3s ease;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .ad-cta:hover {
        background: #a00;
        color: white;
        text-decoration: none;
    }

    .ads__title {
        display: block;
        font-size: 12px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 15px;
        text-align: center;
        letter-spacing: 1px;
        font-weight: 600;
    }


    @media (min-width: 768px) and (max-width: 1023px) {
        .ad-grid-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .ad-item {
            margin: 0;
        }

        .ad-image {
            height: 140px;
        }
    }

    @media (min-width: 1024px) {
        .ad-grid-container {
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .ad-item {
            margin: 0;
            min-height: 280px;
            display: flex;
            flex-direction: column;
        }

        .ad-image {
            height: 120px;
            flex-shrink: 0;
        }

        .ad-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            padding: 12px;
        }

        .ad-desc {
            flex-grow: 1;
            margin-bottom: 10px;
        }

        .ad-title {
            font-size: 14px;
            min-height: 36px;
        }

        .ad-cta {
            margin-top: auto;
        }
    }

    @media (min-width: 1200px) {
        .ad-grid-container {
            gap: 20px;
        }

        .ad-item {
            min-height: 300px;
        }

        .ad-image {
            height: 140px;
        }

        .ad-content {
            padding: 15px;
        }

        .ad-title {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .ad-grid-container {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .ad-item {
            max-width: 100%;
            margin: 0 auto;
        }
    }

/** videos section **/
    /* أنماط القسم الجديد */
    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        font-weight: 600;
        margin: 0;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* أنماط grid الفيديوهات */
    .videos-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .video-card {
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .video-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .video-card__image {
        position: relative;
        height: 180px;
        overflow: hidden;
    }

    .video-image-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .video-card:hover .video-thumbnail {
        transform: scale(1.05);
    }

    .video-duration {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    .video-card__content {
        padding: 15px;
    }

    .video-program {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .video-program a:hover {
        text-decoration: underline;
    }

    .video-title {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 10px 0;
        line-height: 1.3;
    }

    .video-title a:hover {
        color: #c00 !important;
    }

    .video-excerpt {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 0 10px 0;
    }

    .video-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
    }

    /* أنماط Pagination */
    .pagination-container {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pagination-list {
        display: flex;
        align-items: center;
        gap: 8px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .pagination-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dark-mode .pagination-link {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .pagination-link:hover:not(.disabled) {
        background: rgba(204, 0, 0, 0.1);
    }

    .pagination-item.active .pagination-link {
        background: #c00;
        color: white !important;
        border-color: #c00;
    }

    .pagination-item.disabled .pagination-link {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .pagination-ellipsis {
        padding: 8px 12px;
        color: inherit;
    }

    .pagination-info {
        font-size: 14px;
        text-align: center;
    }

    /* زر Show More */
    .show-more-container {
        margin-top: 30px;
        text-align: center;
    }

    .show-more-button {
        padding: 12px 30px;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

    .show-more-button:hover {
        background: {{ $buttonHoverBg }} !important;
    }

    /* Responsive */
    @media (min-width: 576px) {
        .videos-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 768px) {
        .videos-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .section-title {
            font-size: 28px;
        }
    }

    @media (min-width: 992px) {
        .videos-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .video-card__image {
            height: 160px;
        }
    }

    @media (min-width: 1200px) {
        .videos-grid {
            gap: 25px;
        }

        .video-card__image {
            height: 180px;
        }
    }

    .container--dark .video-card:hover {
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
    }

    .live-stream-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    color: white;
}

.live-stream-info h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.category-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.stream-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.live-indicator {
    color: #e74c3c;
}

.upcoming-indicator {
    color: #3498db;
}

.blinking-dot {
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #95a5a6;
}

.icon--eye {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.no-stream-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    color: white;
}

.no-stream-message .icon--tv {
    width: 60px;
    height: 60px;
    fill: #95a5a6;
    margin-bottom: 20px;
}

.no-stream-message h3 {
    margin: 0 0 10px 0;
    color: #ecf0f1;
}

.no-stream-message p {
    color: #bdc3c7;
    margin: 0;
}

.live-stream-title {
    margin-top: 10px;
}

.live-stream-title h2 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.stream-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 5px;
}

.no-ads-message {
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ccc;
    font-style: italic;
}
