﻿


        :root {
            --primary-brown: #3E2D30;
            --gold: #CE9D72;
            --gold-dark: #B8865A;
            --light-blue: #4FC6E0;
            --dark-teal: #234449;
            --gray: #BCBEC0;
            --medium-teal: #3B6269;
            --cream: #F8F4F0;
            --white: #FFFFFF;
            --shadow-sm: 0 2px 10px rgba(62, 45, 48, 0.08);
            --shadow-md: 0 5px 25px rgba(62, 45, 48, 0.12);
            --shadow-lg: 0 15px 50px rgba(62, 45, 48, 0.15);
            --radius: 12px;
            --radius-lg: 20px;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background: var(--cream);
            color: var(--primary-brown);
            line-height: 1.7;
        }

        /* ===== Page Header / Hero ===== */
        .page-hero {
            background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-teal) 100%);
            padding: 120px 0 10px;
            position: relative;
            overflow: hidden;
            margin-top: 40px;
        }

        @media (max-width: 991px) {
            .page-hero {
                margin-top: 70px;
                padding: 80px 0 60px;
            }
        }

        .page-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40z' fill='none' stroke='%23CE9D72' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .page-hero .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .page-hero h1 {
            font-family: 'Amiri', serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            color: var(--white);
            margin-bottom: 15px;
        }

        .page-hero h1 span {
            color: var(--gold);
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            color: var(--gray);
            font-size: 15px;
        }

        .breadcrumb a {
            color: var(--gold);
            text-decoration: none;
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--light-blue);
        }

        .breadcrumb i {
            font-size: 10px;
            color: var(--gray);
        }

        /* ===== News Section ===== */
        .news-section {
            padding: 15px 0;
        }

        .news-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        /* Filter Tabs */
        .news-filter {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 12px 28px;
            border: 2px solid var(--gold);
            background: transparent;
            color: var(--primary-brown);
            border-radius: 50px;
            font-family: 'Tajawal', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--white);
            border-color: var(--gold);
        }

        .filter-btn i {
            font-size: 16px;
        }

        /* News Grid */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
        }

        /* News Card */
        .news-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        /* Card Media */
        .news-media {
            position: relative;
            height: 240px;
            overflow: hidden;
        }

        .news-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-media img {
            transform: scale(1.1);
        }

        /* Video Indicator */
        .video-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(206, 157, 114, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 28px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        }

        .video-indicator:hover {
            background: var(--gold);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-indicator i {
            margin-right: -4px;
        }

        /* Gallery Indicator */
        .gallery-count {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(62, 45, 48, 0.9);
            color: var(--white);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .gallery-count i {
            color: var(--gold);
        }

        /* Category Badge */
        .news-category {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--white);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        /* Card Content */
        .news-content {
            padding: 25px;
        }

        .news-date {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--medium-teal);
            font-size: 13px;
            margin-bottom: 12px;
            background-color:transparent;
        }

        .news-date i {
            color: var(--gold);
        }

        .news-title {
            font-family: 'Amiri', serif;
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-brown);
            margin-bottom: 12px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-title a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        .news-title a:hover {
            color: var(--gold);
        }

        .news-excerpt {
            color: var(--medium-teal);
            font-size: 14px;
            line-height: 1.8;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid rgba(206, 157, 114, 0.15);
        }

        .read-more {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--gold);
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
        }

        .read-more:hover {
            color: var(--gold-dark);
            gap: 12px;
        }

        .read-more i {
            transition: var(--transition);
        }

        .news-stats {
            display: flex;
            gap: 15px;
        }

        .news-stat {
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--gray);
            font-size: 13px;
        }

        .news-stat i {
            color: var(--gold);
            font-size: 14px;
        }

        /* ===== Featured News (Large) ===== */
        .featured-news {
            margin-bottom: 50px;
        }

        .featured-card {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        @media (max-width: 900px) {
            .featured-card {
                grid-template-columns: 1fr;
            }
        }

        .featured-media {
            position: relative;
            min-height: 400px;
        }

        .featured-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .featured-content {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--light-blue) 0%, #3BA8C4 100%);
            color: var(--white);
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            width: fit-content;
            margin-bottom: 20px;
        }

        .featured-title {
            font-family: 'Amiri', serif;
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--primary-brown);
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .featured-title a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        .featured-title a:hover {
            color: var(--gold);
        }

        .featured-excerpt {
            color: var(--medium-teal);
            font-size: 16px;
            line-height: 1.9;
            margin-bottom: 25px;
        }

        .featured-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .featured-date {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--medium-teal);
            font-size: 14px;
        }

        .featured-date i {
            color: var(--gold);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--white);
            padding: 14px 30px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 5px 20px rgba(206, 157, 114, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(206, 157, 114, 0.5);
        }

        /* ===== Pagination ===== */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 60px;
        }

        .page-link {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--white);
            color: var(--primary-brown);
            border-radius: var(--radius);
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }

        .page-link:hover,
        .page-link.active {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--white);
        }

        .page-link.nav-arrow {
            background: var(--primary-brown);
            color: var(--white);
        }

        .page-link.nav-arrow:hover {
            background: var(--gold);
        }

        /* ===== Lightbox Modal ===== */
        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(62, 45, 48, 0.97);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }

        .lightbox-overlay.active {
            display: flex;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: var(--gold);
            border: none;
            border-radius: 50%;
            color: var(--white);
            font-size: 24px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-close:hover {
            background: var(--gold-dark);
            transform: rotate(90deg);
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .lightbox-content img,
        .lightbox-content video {
            max-width: 100%;
            max-height: 85vh;
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid var(--gold);
            border-radius: 50%;
            color: var(--white);
            font-size: 20px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-nav:hover {
            background: var(--gold);
        }

        .lightbox-prev {
            left: -80px;
        }

        .lightbox-next {
            right: -80px;
        }

        @media (max-width: 768px) {
            .lightbox-prev {
                left: 10px;
            }
            .lightbox-next {
                right: 10px;
            }
        }

        .lightbox-counter {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--white);
            font-size: 14px;
        }

        /* ===== Sidebar (Optional) ===== */
        .news-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 40px;
        }

        @media (max-width: 1024px) {
            .news-layout {
                grid-template-columns: 1fr;
            }
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sidebar-widget {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 25px;
            box-shadow: var(--shadow-sm);
        }

        .widget-title {
            font-family: 'Amiri', serif;
            font-size: 20px;
            color: var(--primary-brown);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--gold);
            position: relative;
        }

        .widget-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 50px;
            height: 2px;
            background: var(--light-blue);
        }

        /* Categories Widget */
        .category-list {
            list-style: none;
        }

        .category-list li {
            margin-bottom: 12px;
        }

        .category-list a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--medium-teal);
            text-decoration: none;
            padding: 10px 15px;
            border-radius: var(--radius);
            transition: var(--transition);
        }

        .category-list a:hover {
            background: var(--cream);
            color: var(--gold);
            padding-right: 20px;
        }

        .category-list a i {
            color: var(--gold);
            margin-left: 10px;
        }

        .category-count {
            background: var(--cream);
            color: var(--primary-brown);
            padding: 3px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
        }

        /* Recent News Widget */
        .recent-news-item {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid rgba(206, 157, 114, 0.1);
        }

        .recent-news-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .recent-news-item:first-child {
            padding-top: 0;
        }

        .recent-thumb {
            width: 80px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .recent-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .recent-info h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-brown);
            margin-bottom: 5px;
            line-height: 1.4;
        }

        .recent-info h4 a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        .recent-info h4 a:hover {
            color: var(--gold);
        }

        .recent-info span {
            font-size: 12px;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .recent-info span i {
            color: var(--gold);
        }

        /* Newsletter Widget */
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-form p {
            color: var(--medium-teal);
            font-size: 14px;
            line-height: 1.7;
        }

        .newsletter-form input {
            padding: 14px 18px;
            border: 2px solid var(--cream);
            border-radius: var(--radius);
            font-family: 'Tajawal', sans-serif;
            font-size: 14px;
            transition: var(--transition);
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--gold);
        }

        .newsletter-form button {
            padding: 14px 25px;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--white);
            border: none;
            border-radius: var(--radius);
            font-family: 'Tajawal', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(206, 157, 114, 0.4);
        }

        /* ===== Responsive ===== */
        @media (max-width: 768px) {
            .news-section {
                padding: 50px 0;
            }

            .news-container {
                padding: 0 15px;
            }

            .filter-btn {
                padding: 10px 20px;
                font-size: 13px;
            }

            .featured-content {
                padding: 25px;
            }

            .pagination {
                gap: 8px;
            }

            .page-link {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
        }


        /* ===== تعديل بطاقة الخبر لعرض فيديو يوتيوب ===== */

/* جعل حاوية الفيديو متجاوبة بنسبة 16:9 */
.news-media-video {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* نسبة 16:9 */
    overflow: hidden;
}

.news-media-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* إبقاء شارة التصنيف فوق الفيديو */
.news-media-video .news-category {
    z-index: 2;
}

/* إلغاء تأثير الزوم عند التمرير لأن الفيديو iframe لا يدعمه */
.news-card:hover .news-media-video iframe {
    transform: none;
}


.featured-meta .btn-primary {
    position: relative;
    z-index: 10;
    cursor: pointer;
}


.news-content{
    position: relative;
    z-index: 5;
    background: #fff;
}

.news-date{
    position: relative;
    z-index: 6;
}

.news-media-video{
    position: relative;
    z-index: 1;
}