        /* CSS Variables */
        :root {
            --dark-brown: #3d2412;
            --medium-brown: #6a4025;
            --light-golden-brown: #c9a265;
            --golden-orange: #d89b4d;
            --almost-black: #1a0d08;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --shadow: rgba(61, 36, 18, 0.1  );
            --shadow-hover: rgba(61, 36, 18, 0.2);
        }

        /* Basic body and container styles */
        body {
            font-family: 'Cairo', sans-serif;
            color: var(--dark-brown);
            background: var(--white);
            margin: 0;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===================================================== */
        /* ===== 1. Hero Section (Title, Stats, Cover) ===== */
        /* ===================================================== */
        .hero {
            background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
            padding: 80px 0;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        /* DEVELOPMENT 1: Professional Intro Card (Light effect removed) */
        .intro-card {
            background: linear-gradient(145deg, var(--dark-brown), var(--almost-black));
            color: var(--white);
            padding: 2.5rem;
            border-radius: 25px; /* Rounded corners */
            text-align: center;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            position: relative;
            border: 1px solid var(--golden-orange);
            overflow: hidden;
            opacity: 0; /* For GSAP animation */
            transform: translateY(30px) scale(0.95); /* For GSAP animation */
        }
        /* The rotating light pseudo-element has been removed to allow text selection. */
        .intro-card .glowing-icon {
            font-size: 3rem;
            color: var(--golden-orange);
            margin-bottom: 1.5rem;
            text-shadow: 0 0 15px var(--golden-orange), 0 0 25px var(--golden-orange);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        .intro-card h1 {
            font-family: 'Amiri', serif;
            font-size: 3.5rem;
            color: var(--white);
            margin: 0 0 1rem 0;
            line-height: 1.2;
        }
        .intro-card .description {
            font-size: 1.19rem;
            color: var(--light-gray);
            line-height: 1.8;
            margin-bottom: 2rem;
        }
        .intro-card .license-section {
            border-top: 1px solid var(--medium-brown);
            padding-top: 1.5rem;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: var(--light-golden-brown);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .intro-card .license-section .fa-check-circle { /* Replaced stamp with check-circle */
            font-size: 1.2em;
            color: #28a745; /* Green color for approval */
            text-shadow: 0 0 8px rgba(40, 167, 69, 0.7);
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .stat-item {
            text-align: center;
            padding: 1.5rem 1rem;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 15px var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px var(--shadow-hover);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--golden-orange);
            display: block;
        }
        .stat-label {
            color: var(--medium-brown);
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }

        .hero-image {
            position: relative;
            perspective: 1500px;
        }
        .magazine-cover {
            background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
            border-radius: 20px;
            padding: 3rem 2rem;
            color: var(--white);
            text-align: center;
            box-shadow: 0 20px 40px var(--shadow-hover);
            opacity: 0;
            transform: rotateY(-30deg) rotateX(15deg) scale(0.9);
        }
        .issue-title, .issue-date, .issue-topics a {
            opacity: 0;
            transform: translateY(20px);
        }
        .issue-title {
            font-family: 'Amiri', serif;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }
        .issue-date {
            color: var(--light-golden-brown);
            margin-bottom: 2rem;
        }
        .issue-topics {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .btn-secondary {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background: transparent;
            border: 2px solid var(--light-golden-brown);
            color: var(--light-golden-brown);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-secondary:hover {
            background: var(--light-golden-brown);
            color: var(--white);
        }

        /* ===================================================== */
        /* ===== 2. "About" Section ===== */
        /* ===================================================== */
        .about {
            padding: 80px 0;
            background: var(--white);
        }
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }
        
        .editor-info {
            text-align: center;
            padding: 2rem;
            background: var(--white);
            border-radius: 15px;
            margin-bottom: 2rem;
            border: 1px solid #e0e0e0;
            box-shadow: 0 10px 25px var(--shadow);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .editor-info:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px var(--shadow-hover);
        }
        .editor-info::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--golden-orange), var(--light-golden-brown));
        }
        .editor-title {
            font-family: 'Amiri', serif;
            font-size: 1.5rem;
            color: var(--dark-brown);
            margin-bottom: 0.5rem;
        }
        .editor-name {
            color: var(--golden-orange);
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 0.5px;
        }

        /* DEVELOPMENT 2: Professional "About" Header (Modernized) */
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            opacity: 0; /* For animation */
            transform: translateY(20px); /* For animation */
        }
        .section-header h2 {
            font-family: 'Amiri', serif;
            font-size: 2.8rem; /* Larger font size */
            color: var(--dark-brown);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block; /* To contain the underline */
            padding-bottom: 10px;
        }
        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px; /* Thicker line */
            background: linear-gradient(135deg, var(--golden-orange), var(--light-golden-brown));
            border-radius: 2px;
            transition: width 0.4s ease;
        }
        .section-header:hover h2::after {
            width: 120px; /* Expand on hover */
        }
        .section-header p {
            color: var(--medium-brown);
            font-size: 1.2rem; /* Slightly larger */
            margin-top: 0.5rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
        .feature-item {
            text-align: center;
            padding: 2rem;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 15px var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        }
        .feature-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px var(--shadow-hover);
            background-color: var(--dark-brown);
        }
        .feature-icon {
            font-size: 3rem;
            color: var(--golden-orange);
            margin-bottom: 1rem;
            transition: color 0.3s ease;
        }
        .feature-item:hover .feature-icon {
            color: var(--white);
        }
        .feature-item h4 {
            color: var(--dark-brown);
            margin-bottom: 1rem;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }
        .feature-item:hover h4 {
            color: var(--light-golden-brown);
        }
        .feature-item p {
            font-size: 0.95rem;
            color: var(--medium-brown);
            margin: 0;
            transition: color 0.3s ease;
        }
        .feature-item:hover p {
            color: var(--light-gray);
        }

        .indexing-section {
            position: relative;
        }
        .indexing-section h3 {
            font-family: 'Amiri', serif;
            font-size: 1.8rem;
            color: var(--dark-brown);
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--light-golden-brown);
            padding-bottom: 0.5rem;
            display: inline-block;
        }
        .indexing-grid-wrapper {
            max-height: 260px;
            overflow: hidden;
            position: relative;
            transition: max-height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother ease */
        }

        .indexing-grid-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to top, var(--white) 20%, transparent 100%);
            pointer-events: none;
            transition: opacity 0.5s ease;
        }
        .indexing-grid-wrapper.expanded::after {
            opacity: 0;
        }
        .indexing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            padding-bottom: 4rem;
        }
        .index-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background-color: var(--white);
            border-radius: 12px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 4px 10px var(--shadow);
            text-decoration: none;
            color: var(--dark-brown);
            transition: all 0.3s ease;
        }
        .index-item:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 8px 20px var(--shadow-hover);
            border-color: var(--golden-orange);
        }
        .index-item img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
        .index-item span {
            font-family: 'Cairo', sans-serif;
            font-weight: 600;
            font-size: 1.1rem;
        }
        #show-more-btn {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            padding: 0.75rem 2rem;
            background-color: var(--dark-brown);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        #show-more-btn:hover {
            background-color: var(--medium-brown);
            transform: translateX(-50%) scale(1.05);
        }

        /* Responsive styles */
        @media (max-width: 992px) {
            .hero-content, .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            .hero-image { margin-top: 2rem; }
        }
        @media (max-width: 768px) {
            .intro-card h1 { font-size: 2.8rem; }
            .features-grid { grid-template-columns: 1fr; }
            .section-header h2 { font-size: 2.4rem; }
        }
        
        /*2011*/
        .index-item {
    text-decoration: none !important; /* يمنع الخط */
    color: inherit; /* يخلي اللون طبيعي من غير أزرق */
}

.index-item span {
    text-decoration: none !important;
    display: block;
}

/**/
.indexing-grid-wrapper.expanded {
    max-height: none; /* يخليها تتمدد حسب المحتوى */
}

/* fin */

    /* --- Base Variables & Scoped Reset --- */
    .tadabbur-widget-2011 {
      --dark-brown-2011: #3d2412;
      --medium-brown-2011: #6a4025;
      --light-golden-brown-2011: #c9a265;
      --golden-orange-2011: #d89b4d;
      --almost-black-2011: #1a0d08;
      --white-2011: #ffffff;
      --light-gray-2011: #f8f9fa;
      --success-green-2011: #1e6a52;
      --shadow-light-2011: rgba(61, 36, 18, 0.07);
      --shadow-medium-2011: rgba(61, 36, 18, 0.15);
      --slider-bg-2011: #fffaf3;
      box-sizing: border-box;
      font-family: 'Cairo', system-ui, sans-serif;
      color: var(--almost-black-2011);
      line-height: 1.8;
    }
    .tadabbur-widget-2011 *, .tadabbur-widget-2011 *::before, .tadabbur-widget-2011 *::after {
        box-sizing: border-box; margin: 0; padding: 0;
    }
    .tadabbur-widget-2011 a { color: var(--medium-brown-2011); text-decoration: none; }

    /* --- Container --- */
    .container2011 {
      width: 92vw;
      max-width: 1100px;
      margin: 24px auto 56px;
    }

    /* --- Section Title --- */
/* --- Section Title (New Decorated Style) --- */
.main-title2011 {
    --title-height: 80px; /* ارتفاع ثابت للقالب */
    
    background: linear-gradient(135deg, var(--dark-brown-2011), var(--medium-brown-2011));
    border-radius: 20px 20px 50px 50px / 20px 20px 30px 30px;
    /* شكل حواف مميز */
    padding: 10px;
    margin: 0 auto 40px; /* توسيط وتحديد المسافة السفلية */
    box-shadow: 0 8px 20px var(--shadow-medium-2011), inset 0 2px 4px rgba(255,255,255,0.1);
    position: relative;
    z-index: 10;
    max-width: 450px; /* تحديد عرض أقصى للقالب */
    
    /* إعدادات النص الداخلي */
    color: var(--white-2011);
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* حجم خط أكبر */
    font-weight: 800;
    text-align: center;
    line-height: var(--title-height); /* توسيط النص عمودياً */
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);

    /* إعدادات تأثير الحركة عند الظهور */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* حالة الظهور عند التمرير (سيتم تفعيلها بالجافاسكريبت) */
.main-title2011.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* إضافة زخرفة ذهبية فوق وأسفل العنوان */
.main-title2011::before,
.main-title2011::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--golden-orange-2011), transparent);
    opacity: 0.7;
}

.main-title2011::before {
    top: 15px; /* زخرفة علوية */
}

.main-title2011::after {
    bottom: 15px; /* زخرفة سفلية */
}

/*Fin-code*/

    @keyframes fadeInDown2011 {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* --- Control Panel --- */
    .hero2011 {
      border-radius: 24px;
      padding: 20px;
      background: linear-gradient(135deg, var(--dark-brown-2011), var(--medium-brown-2011));
      color: var(--white-2011);
      box-shadow: 0 8px 16px var(--shadow-light-2011), 0 16px 32px var(--shadow-medium-2011);
      margin-bottom: 24px;
    }
    .brand2011 { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
    .brand-mark2011 {
      width: 50px; height: 50px; border-radius: 14px;
      background: conic-gradient(from 120deg, var(--golden-orange-2011), var(--light-golden-brown-2011));
      box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
    }
    .brand2011 h2 { font-size: 1.5rem; font-weight: 700; }
    .brand2011 p { font-size: 0.9rem; opacity: 0.9; }

    /* --- Quick Actions --- */
    .quick-actions2011 { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .action-link2011 {
      display: block; width: 100%; text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.1);
      color: var(--white-2011) !important;
      padding: 12px; border-radius: 12px;
      font-weight: 700; cursor: pointer;
      transition: background-color 0.25s, transform 0.25s;
    }
    .action-link2011:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-3px) scale(1.02);
      color: var(--white-2011);
    }

    /* --- Filter Chips --- */
    .filter-chips2011 {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px;
    }
    .filter-link2011 {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff !important; padding: 6px 12px; border-radius: 999px;
      font-size: 0.8rem; cursor: pointer; transition: all 0.3s;
      text-decoration: none; position: relative;
    }
    .filter-link2011 .chip-count2011 {
        position: absolute; top: -8px; right: -8px;
        background: var(--golden-orange-2011); color: var(--almost-black-2011);
        border-radius: 50%; font-size: 10px; font-weight: 700;
        width: 18px; height: 18px; display: grid; place-items: center;
        transform: scale(0); transition: transform 0.3s ease;
    }
    .filter-link2011:hover .chip-count2011 { transform: scale(1); }
    .filter-link2011.active, .filter-link2011:hover {
      background: var(--golden-orange-2011); color: var(--almost-black-2011) !important;
      border-color: var(--golden-orange-2011);
      transform: translateY(-2px);
    }

    /* --- Breaking News Section --- */
    .breaking-news2011 {
        background: linear-gradient(135deg, var(--golden-orange-2011), var(--light-golden-brown-2011));
        color: var(--almost-black-2011); border-radius: 16px;
        padding: 16px; margin-bottom: 24px; display: flex;
        align-items: center; gap: 16px;
        box-shadow: 0 8px 24px rgba(216, 155, 77, 0.3);
        animation: pulse-glow2011 2s infinite;
    }
    @keyframes pulse-glow2011 {
        0%, 100% { box-shadow: 0 8px 24px rgba(216, 155, 77, 0.3); transform: scale(1); }
        50% { box-shadow: 0 12px 32px rgba(216, 155, 77, 0.5); transform: scale(1.01); }
    }
    .news-content2011 { flex-grow: 1; }
    
    .news-content2011 p { font-size: 1.15rem;
    font-weight: 600; line-height: 1.6; margin: 0; }
    
    .news-content2011 strong {
        display: block;
         font-size: 1.50rem; 
         font-weight: 800;
        color: var(--success-green-2011); margin-bottom: 4px; text-transform: uppercase;
    }
    .news-logo-link2011 {
        flex-shrink: 0; display: block; width: 80px; height: 80px;
        border-radius: 12px; background-color: rgba(255, 255, 255, 0.5);
        border: 2px solid var(--white-2011); overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .news-logo-link2011:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
    .news-logo-link2011 img { width: 100%; height: 100%; object-fit: contain; }

    /* --- Slider Section --- */
    .slider-wrapper2011 { position: relative; }
    .slider2011 {
      position: relative; border-radius: 18px;
      background: var(--slider-bg-2011);
      box-shadow: 0 8px 16px var(--shadow-light-2011), 0 16px 32px var(--shadow-medium-2011);
      overflow: hidden;
    }
    .slides-area2011 {
      position: relative; min-height: 420px;
      transition: height 0.5s ease-in-out, opacity 0.4s ease;
      cursor: grab;
    }
    .slides-area2011.grabbing { cursor: grabbing; }
    .slides-area2011.is-filtering { opacity: 0; }

    .slide2011 {
      position: absolute; inset: 0; padding: 24px;
      opacity: 0; transform: scale(0.98);
      transition: opacity 0.6s ease, transform 0.6s ease;
      pointer-events: none;
      background-size: cover; background-position: center;
    }
    .slide2011::before { /* Overlay for background image */
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(255, 250, 243, 0.8), var(--slider-bg-2011) 70%);
        z-index: 0;
    }
    .slide-inner-content2011 { position: relative; z-index: 1; }

    .slide2011.active {
      opacity: 1; transform: scale(1);
      pointer-events: auto; z-index: 2; position: relative;
    }
    /* Staggered animation for active slide content */
    .slide2011.active .slide-anim-item2011 {
        opacity: 0; transform: translateY(20px);
        animation: slideUpItem2011 0.6s ease forwards;
    }
    .slide2011.active .slide-header2011 { animation-delay: 0.1s; }
    .slide2011.active .slide-content2011 { animation-delay: 0.2s; }
    .slide2011.active .slide-actions2011 { animation-delay: 0.3s; }

    @keyframes slideUpItem2011 {
        to { opacity: 1; transform: translateY(0); }
    }

    .slide-header2011 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .slide-icon2011 {
        width: 40px; height: 40px; border-radius: 10px;
        display: grid; place-items: center;
        background: linear-gradient(135deg, var(--dark-brown-2011), var(--medium-brown-2011));
        color: var(--white-2011); font-size: 20px; flex-shrink: 0;
    }
    .slide-title-group2011 h3 { font-size: 1.3rem; color: var(--dark-brown-2011); line-height: 1.4; margin: 0; }
    .badge-date2011 { font-weight: 700; font-size: 0.8rem; color: var(--medium-brown-2011); }
    .slide-content2011 { padding-right: 15px; border-right: 3px solid var(--golden-orange-2011); }
    .slide-content2011 p { margin-bottom: 12px; }
    .slide-content2011 .list2011 { list-style-type: '✓'; padding-right: 20px; }
    .slide-content2011 .list2011 li { margin-bottom: 8px; padding-right: 8px; }

    .slide-actions2011 { display: flex; gap: 10px; margin-top: 20px; }
    .action-btn2011 {
      border: none;
      background: linear-gradient(135deg, var(--golden-orange-2011), var(--light-golden-brown-2011));
      color: var(--almost-black-2011); padding: 12px 24px;
      border-radius: 12px; font-weight: 700; cursor: pointer;
      text-align: center; transition: transform 0.3s, box-shadow 0.3s;
      display: inline-flex; align-items: center; gap: 8px;
      box-shadow: 0 4px 8px rgba(216, 155, 77, 0.2);
    }
    .action-btn2011:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(216, 155, 77, 0.3);
    }
    .action-btn2011 svg { width: 16px; height: 16px; }

    /* --- Controls --- */
    .controls2011 {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px; background: rgba(255,255,255,0.6);
      border-top: 1px solid #eee; backdrop-filter: blur(5px);
    }
    .arrow2011 {
      width: 44px; height: 44px; border-radius: 50%;
      border: 1px solid #ddd; display: grid; place-items: center;
      cursor: pointer; background: #fff; font-size: 20px; color: var(--dark-brown-2011);
      position: absolute; top: 50%; transform: translateY(-50%);
      z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: all 0.3s;
    }
    .arrow2011:hover { background: #f5f5f5; transform: translateY(-50%) scale(1.1); }
    #prevBtn2011 { left: -22px; }
    #nextBtn2011 { right: -22px; }

    .dots2011 { display: flex; gap: 8px; }
    .dot2011 {
      width: 10px; height: 10px; border-radius: 50%;
      background: #ccc; cursor: pointer; transition: all 0.3s;
    }
    .dot2011.active { background: var(--dark-brown-2011); transform: scale(1.2); }

    .autoplay-controls2011 { display: flex; gap: 8px; align-items: center; }
    .autoplay-btn2011 {
      padding: 6px 12px; border: 1px solid #ddd; background: #fff;
      border-radius: 6px; cursor: pointer; font-size: 0.8rem;
      color: var(--dark-brown-2011); transition: all 0.2s;
    }
    .autoplay-btn2011:hover { background: #f5f5f5; }
    .autoplay-btn2011.active { background: var(--dark-brown-2011); color: #fff; border-color: var(--dark-brown-2011); }

    /* Autoplay Progress Bar */
    .progress-bar-container2011 {
        position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
        background-color: rgba(0, 0, 0, 0.1); z-index: 3;
    }
    .progress-bar2011 {
        height: 100%; width: 0;
        background-color: var(--golden-orange-2011);
    }
    .slide2011.active .progress-bar2011 {
        transition: width 5s linear; /* 5s matches autoplay interval */
        width: 100%;
    }

    /* --- Responsive Styles --- */
    @media (max-width: 767px) {
        #prevBtn2011 { left: 10px; }
        #nextBtn2011 { right: 10px; }
        .controls2011 { flex-direction: column; gap: 12px; }
    }
    @media (min-width: 768px) {
      .hero2011 { padding: 28px; }
      .quick-actions2011 { flex-direction: row; }
      .slide2011 { padding: 28px; }
      .controls2011 { padding: 12px 18px; }
      .dot2011 { width: 12px; height: 12px; }
    }
    
    
    /*Pr-Bu*/
@media (max-width: 767px) {

    .slide-actions2011 {
        flex-direction: column;
        align-items: center; 
        width: 100%;        
        margin-top: 24px;   
    }

    .action-btn2011 {
        width: 80%;           
        justify-content: center;
        max-width: 300px;     
    }
}
    /* --- Fin-code   --- */

                /* --- base.css --- */
        @import url('https://fonts.googleapis.com/css2?family=Marhey:wght@300..700&display=swap' );

        /* متغيرات الألوان والهوية البصرية */
        :root {
            --dark-brown: #3d2412;
            --medium-brown: #6a4025;
            --light-golden-brown: #c9a265;
            --golden-orange: #d89b4d;
            --almost-black: #1a0d08;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --shadow: rgba(61, 36, 18, 0.1);
            --shadow-hover: rgba(61, 36, 18, 0.2);
            
            /* متغيرات إضافية للتصميم المحسن */
            --gradient-primary: linear-gradient(135deg, var(--golden-orange), var(--light-golden-brown));
            --gradient-secondary: linear-gradient(135deg, var(--dark-brown), var(--medium-brown));
            --border-radius-sm: 8px;
            --border-radius-md: 12px;
            --border-radius-lg: 16px;
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            --font-primary: 'Amiri', 'Noto Naskh Arabic', serif; /* خطوط عربية أنيقة */
            --font-secondary: 'Cairo', sans-serif;
            --font-body: 'Amiri', 'Noto Naskh Arabic', serif;
        }



        /* تصميم الحاوي الرئيسي */
        .main-container147 {
            max-width: 1300px; /* زيادة العرض قليلاً */
            margin: 0 auto;
            padding: 40px 50px;
            position: relative;
            z-index: 2;
        }

        /* رسومات جانبية */
        .decorative-element147 {
            position: fixed;
            top: 0;
            width: 200px; /* عرض ثابت */
            height: 100vh;
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 1;
            opacity: 0.1; /* شفافية خفيفة */
            transition: transform 0.5s ease-out;
        }

        .decorative-left147 {
            left: 0;
            background-image: url('https://tadabburmag.sa/public/journals/1/cover_issue_25_ar.jpg'); /* صورة كتاب أو مخطوطة */
            background-position: left center;
        }

        .decorative-right147 {
                    width: 200px; /* عرض ثابت */

            right: 0;
            background-image: url('https://tadabburmag.sa/public/journals/1/submission_187_188_coverImage_ar.jpg'); /* صورة كتاب أو مخطوطة */
            background-position: right center;
        }

        /* تصميم الزخرفة العلوية */
        .section-decorator147 {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 4rem 0 3rem; /* زيادة الهامش العلوي */
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp147 0.8s ease-out forwards;
        }

        .decorator-line147 {
            height: 2px;
            background: var(--gradient-primary);
            flex: 1;
            max-width: 250px; /* زيادة طول الخط */
            position: relative;
            overflow: hidden;
            border-radius: 1px;
        }

        .decorator-line147::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
            animation: shimmer147 2s infinite;
        }

        .decorator-text147 {
            font-family: var(--font-secondary);
            font-size: 1.6rem; /* تكبير الخط */
            font-weight: 700; /* جعل الخط أثقل */
            color: var(--dark-brown);
            margin: 0 2.5rem; /* زيادة الهامش الجانبي */
            padding: 0.8rem 2rem; /* زيادة المساحة الداخلية */
            background: var(--white);
            border-radius: var(--border-radius-lg); /* حواف أكثر استدارة */
            box-shadow: 0 6px 25px var(--shadow); /* ظل أوضح */
            position: relative;
            z-index: 2;
            transition: var(--transition-smooth);
            letter-spacing: 1px; /* تباعد الحروف */
            text-transform: uppercase;
        }

        .decorator-text147:hover {
            transform: translateY(-3px) scale(1.02); /* تأثير تحويم أكثر وضوحاً */
            box-shadow: 0 10px 35px var(--shadow-hover);
            color: var(--golden-orange); /* تغيير لون النص عند التحويم */
        }

        /* تصميم القسم الرئيسي */
        .current-issue-container147 {
            background: var(--white);
            border-radius: var(--border-radius-lg); /* حواف مستديرة */
            box-shadow: 0 12px 45px var(--shadow); /* ظل أعمق */
            padding: 3.5rem; /* زيادة المساحة الداخلية */
            margin: 2.5rem 0;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp147 1s ease-out 0.2s forwards;
            border: 1px solid rgba(201, 162, 101, 0.3); /* حدود خفيفة */
        }

        .current-issue-container147::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px; /* خط علوي أسمك */
            background: var(--gradient-primary);
        }

        /* تصميم رأس الصفحة */
        .page-header147 {
            text-align: center;
            margin-bottom: 3rem; /* زيادة الهامش السفلي */
            position: relative;
        }

        .page-header147 h2 {
            font-family: var(--font-secondary);
            font-size: 2.8rem; /* تكبير الخط */
            font-weight: 700;
            color: var(--dark-brown);
            margin-bottom: 1.2rem;
            position: relative;
            display: inline-block;
            letter-spacing: 1.5px;
        }

        .page-header147 h2 small {
            font-size: 0.6em;
            color: var(--medium-brown);
            display: block;
            margin-top: 0.5rem;
            font-weight: 400;
        }

        .page-header147 h2::after {
            content: '';
            position: absolute;
            bottom: -15px; /* أسفل العنوان */
            left: 50%;
            transform: translateX(-50%);
            width: 80px; /* خط أطول */
            height: 4px; /* خط أسمك */
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        /* تصميم عنوان العدد الرئيسي */
        .issue-main-title147 {
            font-size: 1.5rem; /* تكبير الخط */
            font-weight: 600;
            color: var(--medium-brown);
            text-align: center;
            margin-bottom: 3rem; /* زيادة الهامش السفلي */
            padding: 1.8rem; /* زيادة المساحة الداخلية */
            background: linear-gradient(135deg, #faf8f5, var(--light-gray));
            border-radius: var(--border-radius-md);
            border: 1px solid rgba(201, 162, 101, 0.2);
            position: relative;
            overflow: hidden;
            line-height: 1.6;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .issue-main-title147::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(216, 155, 77, 0.1), transparent);
            animation: slideIn147 3s infinite;
        }

        /* تصميم شبكة تفاصيل العدد */
        .issue-details-grid147 {
            display: grid;
            grid-template-columns: 350px 1fr; /* زيادة عرض الغلاف */
            gap: 3.5rem; /* زيادة المسافة بين العناصر */
            margin-bottom: 3.5rem;
            align-items: start;
        }

        /* تصميم غلاف العدد */
        .issue-cover147 {
            position: relative;
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: 0 18px 55px var(--shadow); /* ظل أعمق */
            transition: var(--transition-bounce);
            transform-origin: center;
            border: 3px solid var(--light-golden-brown); /* إطار حول الغلاف */
        }

        .issue-cover147:hover {
            transform: scale(1.03) rotateY(3deg); /* تأثير تحويم أكثر نعومة */
            box-shadow: 0 28px 75px var(--shadow-hover);
        }

        .issue-cover147 img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition-smooth);
        }

        .issue-cover147::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(61, 36, 18, 0.1) 100%);
            opacity: 0;
            transition: var(--transition-smooth);
        }

        .issue-cover147:hover::after {
            opacity: 1;
        }

        /* تصميم معلومات العدد */
        .issue-meta147 {
            padding: 1rem 0;
        }

        .issue-description147 {
            font-size: 1.60rem; /* تكبير الخط */
            line-height: 1.9; /* زيادة تباعد الأسطر */
            color: var(--dark-brown);
            margin-bottom: 2.5rem;
            text-align: justify; /* ضبط النصوص */
        }

        .issue-description147 p {
            margin-bottom: 1.8rem;
        }

        .issue-description147 strong {
            color: var(--medium-brown);
            font-weight: 700;
        }

        .issue-description147 a {
            color: var(--golden-orange);
            text-decoration: none;
            font-weight: 600;
            position: relative;
            transition: var(--transition-smooth);
        }

        .issue-description147 a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--golden-orange);
            transition: var(--transition-smooth);
        }

        .issue-description147 a:hover::after {
            width: 100%;
        }

        .issue-published-date147 {
            font-size: 1.40rem;
            color: var(--medium-brown);
            font-weight: 600;
            padding: 1.2rem 1.5rem;
            background: linear-gradient(135deg, #faf8f5, var(--light-gray));
            border-radius: var(--border-radius-sm);
            border-right: 5px solid var(--golden-orange); /* خط جانبي أسمك */
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }

        /* تصميم قسم التنزيلات */
        .full-issue-downloads147 {
            background: linear-gradient(135deg, #faf8f5, var(--light-gray));
            border-radius: var(--border-radius-lg);
            padding: 3rem; /* زيادة المساحة الداخلية */
            margin: 2.5rem 0;
            border: 1px solid rgba(201, 162, 101, 0.2);
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0,0,0,0.05);
        }

        .full-issue-downloads147::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(216, 155, 77, 0.05) 0%, transparent 70%);
            animation: rotate147 20s linear infinite;
        }

        /* تصميم مجموعة الأزرار */
        .btn-group147 {
            display: flex;
            gap: 1.2rem; /* زيادة المسافة بين الأزرار */
            flex-wrap: wrap;
            margin-top: 2rem;
            position: relative;
            z-index: 2;
            justify-content: center; /* توسيط الأزرار */
        }

        .btn147 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1.1rem 2.5rem; /* زيادة حجم الأزرار */
            border-radius: var(--border-radius-md);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            transition: var(--transition-bounce);
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
            min-height: 55px;
            letter-spacing: 0.5px;
        }

        .btn147::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease-out; /* انتقال أبطأ للموجة */
            z-index: 0;
        }

        .btn147:hover::before {
            width: 350px; /* موجة أكبر */
            height: 350px;
        }

        .btn-download147 {
            background: var(--gradient-primary);
            color: var(--white);
            box-shadow: 0 6px 20px rgba(216, 155, 77, 0.4); /* ظل أوضح */
        }

        .btn-download147:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 30px rgba(216, 155, 77, 0.5);
        }

        .btn-view147 {
            background: var(--white);
            color: var(--dark-brown);
            border: 2px solid var(--golden-orange);
            box-shadow: 0 6px 20px var(--shadow);
        }

        .btn-view147:hover {
            background: var(--golden-orange);
            color: var(--white);
            transform: translateY(-4px);
            box-shadow: 0 10px 30px rgba(216, 155, 77, 0.4);
        }

        /* تصميم عداد التنزيلات */
        .downloads-count147 {
            display: block;
            font-size: 0.9rem;
            margin-top: 0.6rem;
            opacity: 0.9;
            font-weight: 500;
            color: inherit; /* يرث اللون من الزر */
        }

        /* تصميم قسم المقالات */
        .articles-section147 {
            background: var(--white);
            border-radius: var(--border-radius-lg);
            box-shadow: 0 12px 45px var(--shadow);
            padding: 3.5rem;
            margin: 3.5rem 0;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp147 1s ease-out 0.4s forwards;
            border: 1px solid rgba(61, 36, 18, 0.1);
        }

        .articles-section147::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--gradient-secondary);
        }

        /* تصميم قائمة المقالات */
        .articles-list147 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* عرض مرن للمربعات */
            gap: 2.5rem;
        }

        /* تصميم ملخص المقال */
        .article-summary147 {
            display: flex; /* استخدام فليكس بوكس لتخطيط أفضل */
            flex-direction: column;
            padding: 1.8rem; /*تصغير المساحة الداخلية */
            background: linear-gradient(135deg, #fafafa, var(--light-gray));
            border-radius: var(--border-radius-lg);
            border: 1px solid rgba(201, 162, 101, 0.15);
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            text-align: right;
        }

        .article-summary147::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(216, 155, 77, 0.05), transparent);
            transition: all 0.6s ease-out;
        }

        .article-summary147:hover {
            transform: translateY(-7px);
            box-shadow: 0 18px 45px var(--shadow-hover);
            border-color: var(--golden-orange);
        }

        .article-summary147:hover::before {
            left: 100%;
        }

        /* تصميم غلاف المقال */
        .article-cover147 {
            border-radius: var(--border-radius-md);
            overflow: hidden;
            box-shadow: 0 10px 30px var(--shadow);
            transition: var(--transition-bounce);
            margin-bottom: 1.5rem; /* مسافة أسفل الصورة */
            flex-shrink: 0;
            height: 200px; /*ارتفاع ثابت للصور*/
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--light-gray);
        }

        .article-cover147:hover {
            transform: scale(1.03);
        }

        .article-cover147 img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* <<-- التغيير هنا */
            display: block;
            transition: var(--transition-smooth);
        }


        /* تصميم محتوى المقال */
        .article-body147 {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-grow: 1;
        }

        .article-title147 {
            font-size: 1.35rem; /* تكبير الخط */
            font-weight: 700;
            margin-bottom: 0.8rem;
            line-height: 1.6;
        }

        .article-title147 a {
            color: var(--dark-brown);
            text-decoration: none;
            transition: var(--transition-smooth);
            position: relative;
        }

        .article-title147 a:hover {
            color: var(--golden-orange);
        }

        .article-authors147 {
            font-size: 1.05rem;
            color: var(--medium-brown);
            margin-bottom: 0.6rem;
            font-weight: 500;
        }

        .article-pages147 {
            font-size: 0.95rem;
            color: var(--medium-brown);
            margin-bottom: 0.6rem;
            font-weight: 400;
        }

        .article-stats147 {
            font-size: 0.95rem;
            color: var(--medium-brown);
            margin-bottom: 1.5rem;
            padding: 0.6rem 1.2rem;
            background: rgba(201, 162, 101, 0.1);
            border-radius: var(--border-radius-sm);
            display: inline-block;
            width: fit-content;
        }

        /* تصميم حاوي DOI */
        .doi-container147 {
            justify-content: center; /* يوسّط أفقياً */
            margin-top: 1.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, #faf8f5, var(--light-gray));
            border-radius: var(--border-radius-sm);
            border-right: 4px solid var(--golden-orange);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .doi-container147 strong {
            color: var(--dark-brown);
            font-weight: 600;
            flex-shrink: 0;
        }

        .doi-button147 {
            display: inline-block;
            padding: 0.6rem 1.2rem;
            background: var(--golden-orange);
            color: var(--white);
            text-decoration: none;
            border-radius: var(--border-radius-sm);
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition-smooth);
            box-shadow: 0 2px 8px rgba(216, 155, 77, 0.3);
        }

        .doi-button147:hover {
            background: var(--medium-brown);
            box-shadow: 0 4px 12px rgba(61, 36, 18, 0.3);
            transform: translateY(-2px);
        }

        /* الرسوم المتحركة */
        @keyframes fadeInUp147 {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes shimmer147 {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }

        @keyframes slideIn147 {
            0% {
                left: -100%;
            }
            50% {
                left: 100%;
            }
            100% {
                left: 100%;
            }
        }

        @keyframes rotate147 {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes pulse147 {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.03);
            }
        }

        @keyframes spin147 {
            to { transform: rotate(360deg); }
        }

        /* تأثيرات التمرير */
        .scroll-reveal147 {
            opacity: 0;
            transform: translateY(60px);
            transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .scroll-reveal147.revealed147 {
            opacity: 1;
            transform: translateY(0);
        }

        /* التصميم المتجاوب */
        @media (max-width: 1200px) {
            .main-container147 {
                max-width: 960px;
            }
            .decorative-element147 {
                width: 150px;
            }
        }

        @media (max-width: 992px) {
            .main-container147 {
                max-width: 720px;
                padding: 1.5rem;
            }
            .issue-details-grid147 {
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: center;
            }
            .issue-cover147 {
                max-width: 300px;
                margin: 0 auto;
            }
            .articles-list147 {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
            .decorative-element147 {
                width: 100px;
                opacity: 0.08;
            }
            .decorator-text147 {
                font-size: 1.4rem;
                margin: 0 1.5rem;
                padding: 0.7rem 1.8rem;
            }
            .page-header147 h2 {
                font-size: 2.4rem;
            }
            .issue-main-title147 {
                font-size: 1.3rem;
            }
            .current-issue-container147, .articles-section147 {
                padding: 3rem;
            }
        }

        @media (max-width: 768px) {
            .main-container147 {
                padding: 1rem;
            }
            .issue-details-grid147 {
                gap: 2rem;
            }
            .article-summary147 {
                padding: 1.5rem;
            }
            .btn-group147 {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
            .btn147 {
                width: 100%;
                max-width: 320px;
                padding: 1rem 2rem;
                font-size: 1rem;
            }
            .decorative-element147 {
                display: none; /* إخفاء الرسومات الجانبية على الجوالات الصغيرة */
            }
            .decorator-text147 {
                font-size: 1.2rem;
                margin: 0 1rem;
                padding: 0.6rem 1.5rem;
            }
            .page-header147 h2 {
                font-size: 2rem;
            }
            .issue-main-title147 {
                font-size: 1.15rem;
                padding: 1.2rem;
            }
            .current-issue-container147, .articles-section147 {
                padding: 2.5rem;
            }
            .article-title147 {
                font-size: 1.2rem;
            }
            .article-cover147 {
                height: 180px;
            }
        }

        @media (max-width: 480px) {
            .current-issue-container147,
            .articles-section147 {
                padding: 1.5rem;
            }
            .issue-main-title147 {
                font-size: 1rem;
                padding: 1rem;
            }
            .article-title147 {
                font-size: 1.1rem;
            }
            .decorator-line147 {
                max-width: 80px;
            }
            .decorator-text147 {
                font-size: 1rem;
                margin: 0 0.8rem;
                padding: 0.5rem 1.2rem;
            }
            .page-header147 h2 {
                font-size: 1.8rem;
            }
            .article-cover147 {
                height: 150px;
            }
            .issue-description147, .article-authors147, .article-pages147, .article-stats147 {
                font-size: 0.9rem;
            }
            .doi-button147 {
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }
        }

        /* تحسينات إضافية للأداء */
        .article-cover147 img,
        .issue-cover147 img {
            will-change: transform, opacity;
        }

        .btn147 {
            will-change: transform, box-shadow;
        }

        /* تأثيرات التركيز للوصولية */
        .btn147:focus,
        .article-title147 a:focus,
        .doi-button147:focus {
            outline: 3px solid var(--golden-orange);
            outline-offset: 3px;
            border-radius: var(--border-radius-sm);
        }

        /* تحسين الطباعة */
        @media print {
            .btn-group147,
            .article-stats147,
            .decorative-element147 {
                display: none;
            }
            
            .current-issue-container147,
            .articles-section147 {
                box-shadow: none;
                border: 1px solid #ccc;
                page-break-inside: avoid;
            }
            
            .article-summary147 {
                break-inside: avoid;
                border: 1px solid #eee;
                margin-bottom: 1rem;
            }
            body {
                background: none;
                color: #000;
            }
            .page-header147 h2::after {
                background: #ccc;
            }
            .decorator-line147 {
                background: #ccc;
            }
            .decorator-text147 {
                box-shadow: none;
                border: 1px solid #ccc;
            }
        }

        /* أنماط مؤشر التحميل */
        .loading-spinner147 {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin147 1s ease-in-out infinite;
            margin-left: 8px;
        }

        /* أنماط فتح الصورة */
        .image-modal147 {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1000; /* Sit on top */
            padding-top: 50px; /* Location of the box */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
            backdrop-filter: blur(5px); /* تأثير ضبابي */
            -webkit-backdrop-filter: blur(5px);
        }

        .image-modal-content147 {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
            animation-name: zoom147;
            animation-duration: 0.6s;
            border-radius: var(--border-radius-lg);
            box-shadow: 0 5px 25px rgba(0,0,0,0.6);
        }

        @keyframes zoom147 {
            from {transform: scale(0.1)}
            to {transform: scale(1)}
        }

        .image-modal-caption147 {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
            text-align: center;
            color: var(--light-gray);
            padding: 10px 0;
            height: 150px;
            font-size: 1.1rem;
        }

        .image-modal-close147 {
            position: absolute;
            top: 15px;
            right: 35px;
            color: var(--white);
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }

        .image-modal-close147:hover,
        .image-modal-close147:focus {
            color: var(--golden-orange);
            text-decoration: none;
            cursor: pointer;
        }

        @media only screen and (max-width: 700px){
            .image-modal-content147 {
                width: 100%;
            }
        }


        /* أضف هذا الكود إلى قسم CSS */
img[loading="lazy"] {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}


/* زر المعاينة */
.archive-link-container {
    max-width: 1100px;
    margin: 40px auto; /* مسافة بين الأقسام */
    padding: 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

/* 6. تنسيق الجزء السفلي */
.archive-link-container {
    text-align: center;
    background: none;
    box-shadow: none;
    margin-top: 0;
}

/* العنوان */
/* --- CSS الجديد للقالب المزخرف الفاخر --- */

.section-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px auto 40px auto; /* زودنا المسافة عشان التصميم الجديد ياخد راحته */
    max-width: 1100px;
}
/* الخطوط الجانبية اللي عجبتك (زي ما هي) */
.decorator-line {
    height: 2px;
    flex-grow: 1;
    background: linear-gradient(to left, var(--light-golden-brown), transparent);
}

.section-decorator .decorator-line:first-child {
    background: linear-gradient(to right, var(--light-golden-brown), transparent);
}
/* 
   القالب الجديد لكلمة "العدد الحالي"
   ده بقى الشغل كله، ركز هنا
*/
.decorator-text {
    /* 1. الخط والحجم */
    font-family: 'Marhey', cursive; /* الخط الزخرفي اللي اخترته */
    font-size: 2.8rem; /* حجم كبير وواضح */
    font-weight: 600;
    color: var(--dark-brown);
    
    /* 2. الشكل والتصميم (القالب) */
    background-color: var(--white); /* خلفية بيضاء عشان تعزله عن الخطوط */
    padding: 10px 40px; /* مساحات داخلية عشان الكلمة تتنفس */
    margin: 0 15px; /* مسافة بينه وبين الخطوط الجانبية */
    border: 2px solid var(--light-golden-brown); /* إطار ذهبي */
    border-radius: 50px / 140px; /* حركة عبقرية بتدي شكل بيضاوي منحوت ومميز */
    box-shadow: 0 5px 15px var(--shadow); /* ظل خفيف يدي عمق */
    position: relative; /* مهم عشان الزخرفة اللي جاية */
    z-index: 10; /* عشان يفضل فوق الخطوط الجانبية */
}

/* 
   اللمسة السحرية: إضافة زخرفة تشبه الجوهرة فوق وتحت القالب
*/
.decorator-text::before,
.decorator-text::after {
    content: '✦'; /* شكل نجمة أو جوهرة (أجمل من المعين) */
    font-size: 1.2rem;
    color: var(--golden-orange);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white); /* خلفية عشان تظهر فوق الإطار */
    padding: 0 5px;
}

/* الجوهرة اللي فوق */
.decorator-text::before {
    top: -15px; /* بنطلعها فوق الإطار */
}

/* الجوهرة اللي تحت */
.decorator-text::after {
    bottom: -15px; /* بننزلها تحت الإطار */
}


/* تعديل بسيط للشاشات الصغيرة */
@media (max-width: 600px) {
    .decorator-text {
        font-size: 1.8rem; /* بنصغر الخط شوية عشان يناسب الموبايل */
        padding: 5px 25px;
    }

    .decorator-text::before {
        top: -12px;
    }

    .decorator-text::after {
        bottom: -12px;
    }
}

                               
 /* تحسينات على .img-DOI */
.img-DOI {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.img-DOI img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.img-DOI:hover,
.img-DOI:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  filter: brightness(1.03);
  outline: none;
}

.img-DOI:active {
  transform: translateY(-1px) scale(0.995);
}

.img-DOI:focus-visible {
  outline: 3px solid rgba(59,130,246,0.25);
  outline-offset: 3px;
}

.img-DOI.round { border-radius: 50%; }
.img-DOI.small { width: 32px; height: 32px; }
.img-DOI.medium { width: 72px; height: 72px; }
.img-DOI.large  { width: 120px; height: 120px; }

.img-DOI .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.article-stats147 i {
    color: #555;   /* لون الأيقونة */
    margin-left: 4px; /* مسافة بسيطة قبل الرقم */
    font-size: 2.1em; /* تكبير الأيقونة قليلاً */
}



/* تصميم أيقونة التنزيلات */
.downloads-count147 {
    display: inline-flex;          /* يجعل الأيقونة والرقم بجانب بعض */
    align-items: center;           /* محاذاة عمودية متوسطة */
    gap: 4px;                      /* مسافة صغيرة بين الأيقونة والرقم */
    background: #f0f0f0;           /* لون خلفية خفيف */
    border: 1px solid #ccc;        /* حدود خفيفة */
    border-radius: 6px;            /* زوايا دائرية */
    padding: 2px 6px;              /* مساحة داخلية */
    margin-left: 6px;              /* مسافة يسار قبل النص */
    font-size: 0.9em;              /* تصغير بسيط */
    color: #333;                   /* لون النص والرقم */
    transition: background 0.3s;
}

.downloads-count147:hover {
    background: #e2e2e2;           /* تأثير عند المرور */
}

.downloads-count147 i {
    color: #007bff;                /* لون الأيقونة */
    font-size: 1em;
}

/* fin */

        /* CSS Variables */
        :root {
            --dark-brown1: #3d2412;
            --medium-brown1: #6a4025;
            --light-golden-brown1: #c9a265;
            --golden-orange1: #d89b4d;
            --almost-black1: #1a0d08;
            --white1: #ffffff;
            --light-gray1: #f8f9fa;
            --shadow1: rgba(61, 36, 18, 0.1  );
            --shadow-hover1: rgba(61, 36, 18, 0.2);
        }

        /* Main Container */
        .categories-container1 {
            font-family: 'Cairo', sans-serif;
            text-align: center;
            padding: 50px 20px;
            background-color: var(--light-gray1);
            overflow: hidden; /* لمنع ظهور أي عناصر خارج الحدود أثناء التحريك */
        }

        /* --- Decorated Title Section --- */
        .decorated-title-container1 {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 25px;
            margin-bottom: 15px;
            animation: fadeIn1 1s ease-out;
        }

        .main-title1 {
            font-family: 'Marhey', cursive; /* خط زخرفي مميز للعنوان */
            font-size: 42px;
            font-weight: 700;
            color: var(--white1);
            background: linear-gradient(145deg, var(--medium-brown1), var(--dark-brown1));
            padding: 15px 40px;
            border-radius: 10px;
            box-shadow: 0 8px 20px var(--shadow-hover1), inset 0 2px 4px rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .title-decorator1 {
            height: 2px;
            width: 100px;
            background: linear-gradient(to left, var(--light-golden-brown1), transparent);
        }

        .title-decorator1.right1 {
            background: linear-gradient(to right, var(--light-golden-brown1), transparent);
        }
        /* --- End of Decorated Title Section --- */


        /* Subtitle: "الفئات" - The only element with the new style */
        .subtitle1 {
            font-family: 'Marhey', cursive; /* خط متناسب مع الفخامة */
            font-size: 28px; /* حجم أكبر للبروز */
            font-weight: 700;
            color: var(--dark-brown1);
            margin-bottom: 50px;
            animation: fadeIn1 1s ease-out 0.3s;
            animation-fill-mode: both; /* لتبقى الحالة النهائية للتحريك */
            
            /* --- Creative Glassmorphism Style --- */
            display: inline-block; /* للسماح بالـ padding والـ background */
            background: rgba(255, 255, 255, 0.2); /* خلفية زجاجية شفافة */
            backdrop-filter: blur(5px); /* تأثير الضبابية للخلفية */
            -webkit-backdrop-filter: blur(5px);
            padding: 10px 30px; /* هوامش داخلية */
            border-radius: 50px; /* حواف دائرية جداً */
            border: 1px solid rgba(255, 255, 255, 0.3); /* حدود شفافة */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* ظل ناعم */
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); /* ظل للنص لسهولة القراءة */
        }

        /* Grid for the links */
        .categories-grid1 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
            justify-content: center; /* لتوسيط الشبكة نفسها */
            justify-items: center; /* لتوسيط العناصر داخل الشبكة */
        }

        /* Category Link Style */
        .category-link1 {
            background-color: var(--white1);
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 25px 20px;
            width: 100%; /* لجعل كل الروابط بنفس العرض داخل الشبكة */
            max-width: 250px; /* تحديد عرض أقصى */
            
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            
            color: var(--dark-brown1);
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            
            box-shadow: 0 4px 10px var(--shadow1);
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
            
            /* تأثير حركة عند التحميل */
            opacity: 0;
            transform: translateY(20px);
            animation: popIn1 0.5s ease-out forwards;
        }

        .category-link1:hover {
            transform: translateY(-8px) scale(1.03); /* تكبير بسيط مع الرفع */
            box-shadow: 0 12px 25px var(--shadow-hover1);
            background-color: var(--dark-brown1);
            color: var(--white1);
        }

        /* تطبيق تأخير متتالي على حركة الأزرار */
        .category-link1:nth-child(1) { animation-delay: 0.4s; }
        .category-link1:nth-child(2) { animation-delay: 0.5s; }
        .category-link1:nth-child(3) { animation-delay: 0.6s; }
        .category-link1:nth-child(4) { animation-delay: 0.7s; }
        .category-link1:nth-child(5) { animation-delay: 0.8s; }
        .category-link1:nth-child(6) { animation-delay: 0.9s; }
        .category-link1:nth-child(7) { animation-delay: 1.0s; }
        .category-link1:nth-child(8) { animation-delay: 1.1s; }
        .category-link1:nth-child(9) { animation-delay: 1.2s; }

        /* Icon Style */
        .category-icon1 {
            width: 48px;
            height: 48px;
            color: var(--golden-orange1);
            transition: color 0.3s ease;
        }

        .category-link1:hover .category-icon1 {
            color: var(--white1);
        }

        /* Keyframe Animations */
        @keyframes fadeIn1 {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes popIn1 {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
/* fin */