/**
 * ستايلز مخصصة - شبكة أخباركم
 * الإصدار: 1.0.0
 * يحتوي على جميع الأنماط المخصصة للمقالات
 */

/* ============================================
   1. قسم أخبار المصارعة والسينما (Results & News)
   ============================================ */

/* بطاقة الأحداث */
.custom-event-card {
    background: #f8fafc;
    border-right: 4px solid #dc2626;
    padding: 18px 22px;
    margin: 15px 0;
    border-radius: 10px;
    line-height: 1.8;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: all .3s ease;
}
.custom-event-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(220,38,38,.15);
    border-right-width: 6px;
}
.custom-event-card p {
    margin: 0;
    color: inherit;
}

/* صندوق التمييز */
.custom-highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    padding: 20px 25px;
    margin: 15px 0;
    border-radius: 12px;
    line-height: 1.8;
    color: #78350f;
    position: relative;
    box-shadow: 0 4px 12px rgba(245,158,11,.2);
}
.custom-highlight-box::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: 20px;
    background: #f59e0b;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(245,158,11,.4);
}
.custom-highlight-box p {
    margin: 0;
    color: inherit;
}

/* أحداث أخرى */
.custom-other-events {
    background: #f0f9ff;
    border-right: 4px solid #0ea5e9;
    padding: 16px 20px;
    margin: 12px 0;
    border-radius: 8px;
    line-height: 1.7;
    color: #0c4a6e;
    transition: all .3s ease;
}
.custom-other-events:hover {
    background: #e0f2fe;
    transform: translateX(-3px);
}
.custom-other-events p {
    margin: 0;
}

/* الخاتمة */
.custom-conclusion {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #fff;
    padding: 22px 28px;
    border-radius: 15px;
    margin: 25px 0;
    line-height: 1.8;
    box-shadow: 0 8px 25px rgba(220,38,38,.3);
    position: relative;
    overflow: hidden;
}
.custom-conclusion p {
    margin: 0;
    color: #fff;
    position: relative;
    z-index: 1;
}
.custom-conclusion strong {
    color: #fbbf24;
    font-weight: 800;
}

/* الوضع الداكن - قسم أخبار المصارعة والسينما */
.dark-skin .custom-event-card {
    background: #1f2937 !important;
    border-right-color: #ef4444 !important;
    color: #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.3) !important;
}
.dark-skin .custom-event-card:hover {
    box-shadow: 0 4px 15px rgba(239,68,68,.2) !important;
}
.dark-skin .custom-highlight-box {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%) !important;
    border-color: #fbbf24 !important;
    color: #fef3c7 !important;
    box-shadow: 0 4px 12px rgba(251,191,36,.3) !important;
}
.dark-skin .custom-highlight-box::before {
    background: #fbbf24 !important;
    color: #78350f !important;
}
.dark-skin .custom-other-events {
    background: #0c4a6e !important;
    border-right-color: #38bdf8 !important;
    color: #e0f2fe !important;
}
.dark-skin .custom-other-events:hover {
    background: #075985 !important;
}
.dark-skin .custom-conclusion {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%) !important;
    box-shadow: 0 8px 25px rgba(185,28,28,.4) !important;
}

/* ============================================
   2. قسم مشاهدة العروض (Events Watch)
   ============================================ */

/* بطاقة معلومات الحدث */
.event-info-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-family: Tajawal, sans-serif;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
}
.event-info-card table {
    width: 100%;
    border-collapse: collapse;
    line-height: 1.8;
}
.event-info-card td {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,.05);
}
.event-info-card td:first-child {
    font-weight: bold;
    color: #475569;
    width: 30%;
}

/* نطاق الممثلين للحدث */
.event-scope .movie-info-card {
    border: 1px solid currentColor;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.event-scope .actor-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(128,128,128,0.2);
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
    margin: 4px 6px 4px 0;
    border: 1px solid rgba(128,128,128,0.3);
    transition: all .3s ease;
}
.event-scope .actor-item:hover {
    background: rgba(128,128,128,0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.event-scope .actor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.event-scope .actor-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    cursor: pointer;
}
.event-scope .actor-item:hover .actor-link {
    border-bottom: 2px solid currentColor;
}

/* نتيجة المباراة */
.match-result {
    background: rgba(0,86,214,.05);
    border: 1px solid rgba(0,86,214,.2);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all .2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.03);
}
.match-result:hover {
    background: rgba(0,86,214,.08);
    transform: translateX(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,.06);
}
.match-result-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.match-result p {
    margin: 0 !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* الوضع الداكن - قسم مشاهدة العروض */
.dark-skin .event-info-card {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
}
.dark-skin .event-info-card td {
    border-color: rgba(255,255,255,.1);
}
.dark-skin .event-info-card td:first-child {
    color: #9ca3af !important;
}
.dark-skin .match-result {
    background: rgba(96,165,250,.08) !important;
    border-color: rgba(96,165,250,.25) !important;
    color: #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.dark-skin .match-result:hover {
    background: rgba(96,165,250,.15) !important;
    box-shadow: 0 4px 12px rgba(96,165,250,.1);
}
.dark-skin .match-result p {
    color: #e5e7eb !important;
}

/* ============================================
   3. قسم مشاهدة الأفلام (Movies Watch)
   ============================================ */

/* بطاقة معلومات الفيلم */
.movie-info-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-family: Tajawal, sans-serif;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
}
.movie-info-card table {
    width: 100%;
    border-collapse: collapse;
    line-height: 1.8;
}
.movie-info-card td {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,.05);
}
.movie-info-card td:first-child {
    font-weight: bold;
    color: #475569;
    width: 30%;
}

/* نطاق الممثلين للفيلم */
.movie-scope .movie-info-card {
    border: 1px solid currentColor;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.movie-scope .actor-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(128,128,128,0.2);
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
    margin: 4px 6px 4px 0;
    border: 1px solid rgba(128,128,128,0.3);
    transition: all .3s ease;
}
.movie-scope .actor-item:hover {
    background: rgba(128,128,128,0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.movie-scope .actor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.movie-scope .actor-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    cursor: pointer;
}
.movie-scope .actor-item:hover .actor-link {
    border-bottom: 2px solid currentColor;
}

/* الوضع الداكن - قسم مشاهدة الأفلام */
.dark-skin .movie-info-card {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
}
.dark-skin .movie-info-card td {
    border-color: rgba(255,255,255,.1);
}
.dark-skin .movie-info-card td:first-child {
    color: #9ca3af !important;
}

/* ============================================
   4. قسم مشاهد وأحداث الأفلام (Movie Scenes)
   ============================================ */

/* مشهد من الفيلم */
.movie-scene {
    background: rgba(0,86,214,.05);
    border: 1px solid rgba(0,86,214,.2);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all .2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.03);
}
.movie-scene:hover {
    background: rgba(0,86,214,.08);
    transform: translateX(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,.06);
}
.movie-scene-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.movie-scene p {
    margin: 0 !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* الوضع الداكن - مشاهد الأفلام */
.dark-skin .movie-scene {
    background: rgba(96,165,250,.08) !important;
    border-color: rgba(96,165,250,.25) !important;
    color: #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.dark-skin .movie-scene:hover {
    background: rgba(96,165,250,.15) !important;
    box-shadow: 0 4px 12px rgba(96,165,250,.1);
}
.dark-skin .movie-scene p {
    color: #e5e7eb !important;
}

/* ============================================
   5. مقدمة المحتوى الرئيسية (Main Content Intro)
   ============================================ */

.main-content-intro {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    color: #fff !important;
    padding: 20px 25px !important;
    border-radius: 15px !important;
    margin: 20px 0 !important;
    line-height: 1.8 !important;
    box-shadow: 0 8px 25px rgba(30,58,138,.3) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255,255,255,.1) !important;
}
.main-content-intro p {
    margin: 0 !important;
    color: #fff !important;
    position: relative !important;
    z-index: 1 !important;
}
.main-content-intro strong {
    color: #fbbf24 !important;
    font-weight: 800 !important;
}

/* الوضع الداكن */
.dark-skin .main-content-intro {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    border-color: rgba(96,165,250,.3) !important;
    box-shadow: 0 8px 25px rgba(37,99,235,.4) !important;
}