/* ============================================================================
 * newsyemen-components.css — مكوّنات نيوزيمن (v4 — بنية الأصل بأسماء أصنافه)
 *
 * ⚠ منهج هذا الملف: **نسخ حرفي** من CSS الموقع الأصلي —
 *   app.rtl.css (11290-12140) + layout.rtl.css (428-506) + الـ<style> المضمّن
 *   للـcarousel — مع أسماء الأصناف الأصلية نفسها (NewContents، NewShortContent،
 *   newSource، Relateds، LatestModel، Share، itemFooter، sideSection…).
 *   لا قيم مخمَّنة. أي تعديل مستقبلي: قِس الأصل أولاً.
 *
 * حقائق حاسمة من القياس (2026-08-13):
 *   - متن الخبر: 13pt (17.33px) / line-height normal / وزن 500 — لا 14.4px!
 *   - .float-right في نسخة RTL = float:left (بوتستراب معكوس) — المشاركة يسار
 *     والتاريخ يمين داخل الهيرو.
 *   - العمودان يبقيان جنباً إلى جنب حتى 768px (col-md-*) — التكدّس تحت 767.98px.
 *   - عناوين متعلقات/آخر الأخبار: تدرّج نصي على span الداخلية + خط 3px خلفها.
 *   - بطاقة المتعلقات: صورة 4:3 + شريط عنوان أحمر #c03130 نص أبيض 12px.
 * ========================================================================== */

/* ── الخطوط (روابط جوجل الأصلية نفسها من fonts.css الأصلي + GE_SS محلي) ──── */
@font-face {
    font-family: 'Droid Arabic Kufi';
    font-style: normal; font-weight: 400; font-display: swap;
    src: url(https://fonts.gstatic.com/s/droidarabickufi/v19/Jqz55SSYU-eQEShJr-lgfq7iVlT4aJ9Dayo.woff2) format('woff2');
}
@font-face {
    font-family: 'Droid Arabic Kufi';
    font-style: normal; font-weight: 700; font-display: swap;
    src: url(https://fonts.gstatic.com/s/droidarabickufi/v19/Jqz85SSYU-eQEShJr-lgfq7iVlT4aJf9Tj8LVyw.woff2) format('woff2');
}
@font-face {
    font-family: 'GE_SS_Two_Medium';
    font-display: swap;
    src: url('/assets/fonts/GE_SS_Two_Medium.woff2') format('woff2'),
         url('/assets/fonts/GE_SS_Two_Medium.woff') format('woff');
}

/* ══════════════════════════════════════════════════════════════════════════
 * شبكة بوتستراب مصغّرة (فقط الأعمدة المستعملة في صفحة الخبر)
 * gutter 30px (15+15) — الأصل bootstrap 4. الكسر عند 767.98px (md).
 * ═══════════════════════════════════════════════════════════════════════════ */
.ny-page {                       /* .container الأصلية */
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 15px;
}
.ny-row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.ny-row > * { padding-inline: 15px; width: 100%; }
.ny-row-0 { display: flex; flex-wrap: wrap; margin: 0; align-items: center; }
.ny-col-3  { flex: 0 0 25%;      max-width: 25%;      padding: 0; }
.ny-col-9  { flex: 0 0 75%;      max-width: 75%;      padding: 0; }
@media (min-width: 768px) {
    .ny-col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; }
    .ny-col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .ny-col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .ny-col-md-6 { flex: 0 0 50%;     max-width: 50%; }
    .ny-offset-md-1 { margin-right: 8.333%; }   /* RTL: offset من اليمين */
}
.rounded { border-radius: .25rem; }
.ny-m0 { margin-inline: 0 !important; }
.ny-p0 { padding-inline: 0 !important; }
.ny-stretch { align-items: stretch; }
@media (min-width: 768px) {
    .ny-col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .ny-col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .ny-order-last { order: 13; }
}

/* ══════════════════════════════════════════════════════════════════════════
 * صفحة الخبر — app.rtl.css:11967-12047 حرفياً
 * ═══════════════════════════════════════════════════════════════════════════ */
.News_Item .Show a { color: inherit; text-decoration: none; }

.News_Item .Show .NewContents {
    background-color: white;
    border-top: 6px #a42e2e solid;
    margin-bottom: 1rem;
}

.News_Item .Show .NewContents .NewShortContent {
    background-color: #072446;
    padding: 5%;
    display: block;
}
/* التصنيف والتاريخ داخل الهيرو — 7.5pt tahoma رمادي فاتح */
.News_Item .Show .NewContents .NewShortContent > span {
    color: #d8d8d8;
    display: inline-block;
    font-family: tahoma;
    font-size: 7.5pt;
}
.News_Item .Show .NewContents .NewShortContent > span a { color: #d8d8d8; }
/* العنوان: أبيض 16pt وزن عادي داخل الكحلي */
.News_Item .Show .NewContents .NewShortContent > h1 {
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
    color: #ffffff;
    font-family: 'Droid Arabic Kufi';
    font-size: 16pt;
    font-weight: normal;
    line-height: 160%;
}

/* صورة الخبر — الـ<style> المضمّن الأصلي: .carousel{bg #072446; padding 10px}
 * .carousel-inner{width calc(100% - 40px)} + object-fit contain */
.NewShortContent .bd-example { position: relative; }
.NewShortContent .bd-example .news-figure {
    background-color: #072446;
    padding: 10px;
    margin: 0;
    position: relative;
}
.NewShortContent .bd-example .news-figure img {
    display: block;
    width: calc(100% - 40px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
/* تعليق الصورة — يظهر على الحاسوب فقط (d-none d-md-block الأصلية) */
.NewShortContent .carousel-caption {
    position: absolute;
    inset-inline: 15%;
    bottom: 20px;
    text-align: center;
    display: none;
}
@media (min-width: 768px) { .NewShortContent .carousel-caption { display: block; } }
.NewShortContent .carousel-caption h5 {
    display: inline-block;
    margin: 0;
    padding: 8px 48px;
    border-radius: .25rem;
    background-color: rgba(20, 20, 20, 0.5);
    font-size: 11px;
    color: #fff;
    font-weight: normal;
}

/* سطر المشاركة داخل الهيرو — ul.Share (app.rtl.css:11290-11335)
 * .float-right في RTL = float يسار؛ التاريخ يبقى يميناً */
.itemFooter {
    font-size: 10px;
    line-height: 4px;
    min-height: 10px;
    overflow: hidden;
    display: inline-block;
    float: left;
}
ul.Share {
    margin: 0; padding: 0;
    list-style: none;
    text-align: center;
    height: auto;
    font-size: 0;
    display: inline-block;
}
ul.Share li {
    display: inline-block;
    margin: 3px;
    height: 18px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}
ul.Share li > span {
    color: #d6d6d6;
    line-height: 14px;
    font-size: 12px;
    position: relative;
    margin: 0 0 0 10px;
    padding: 0 5px;
}
ul.Share li a {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    background-color: transparent !important;
}
/* الأصل: أيقونة كحلية بإطار أبيض (text-shadow) — drop-shadow رباعي حاد
 * (تقنية stroke السابقة كانت تقطّع المسارات المعقدة) */
ul.Share li a svg {
    position: absolute;
    top: 50%; right: 50%;
    transform: translate(50%, -50%);
    width: 13px; height: 13px;
    fill: #072446;
    filter: drop-shadow(-1px 1px 0 #fff) drop-shadow(1px -1px 0 #fff)
            drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff);
}
.NewShortContent::after { content: ''; display: block; clear: both; }

/* ── سطر المصدر: الشعار بجوار النص يميناً + مدة القراءة يساراً ─────────────── */
.newSource-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}
.newSource {
    /* كان #ec1e25 وتباينه على الأبيض 4.39 (دون حد AA=4.5) — درجة أغمق تحفظ
     * الهوية اللونية وترفعه إلى 5.14 */
    color: #d81a20;
    font-family: monospace;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.newSource img { width: 50px; height: auto; flex-shrink: 0; }
.ny-read-time {
    font-family: 'Droid Arabic Kufi';
    font-size: 12px;
    color: #6e6e6e;   /* كان #777 بتباين 4.47 — دون حد AA بفارق ضئيل */
    white-space: nowrap;
}

/* زر نسخ الرابط في شريط المشاركة — نفس أسلوب أيقونات الأصل */
ul.Share li .ny-copy-btn {
    display: block;
    position: relative;
    width: 18px; height: 18px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
ul.Share li .ny-copy-btn svg {
    position: absolute;
    top: 50%; right: 50%;
    transform: translate(50%, -50%);
    width: 13px; height: 13px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(-1px 1px 0 #fff) drop-shadow(1px -1px 0 #fff)
            drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff);
}
ul.Share li .ny-copy-btn.copied svg { stroke: #25d366; }

/* ── متن الخبر — .News_Item .NewContents > h2 الأصلية (12022-12034):
 *    13pt kufi justify، line-height normal، الأبناء 13pt قسراً.
 *    الأصل يغلّف المتن بـ<h2 class="mt-3 p-2"> (وزن 500 من بوتستراب) —
 *    نستخدم div.newBody بالقيم المحسوبة نفسها. ─────────────────────────────── */
.News_Item .NewContents .newBody {
    color: #000000;
    font-family: 'Droid Arabic Kufi' !important;
    font-size: 13pt !important;
    font-weight: 500;
    overflow: hidden;
    text-align: justify;
    line-height: normal;
    margin-top: 1rem;      /* mt-3 */
    padding: .5rem;        /* p-2  */
}
.News_Item .NewContents .newBody * { max-width: 100% !important; font-size: 13pt !important; }
.News_Item .NewContents .newBody p { margin: 0 0 1rem; }
.News_Item .NewContents .newBody a { color: #072f52; }
.News_Item .NewContents .newBody img { height: auto; }
.News_Item .NewContents .newBody iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.News_Item .NewContents .newBody table { display: block; overflow-x: auto; }

/* ══════════════════════════════════════════════════════════════════════════
 * متعلقات + آخر الأخبار (12049-12113) — عنوان متدرّج بخط خلفي
 * ═══════════════════════════════════════════════════════════════════════════ */
.Relateds > h3, .LatestModel > h3 {
    position: relative;
    margin: 0 0 20px;
    font-family: 'Droid Arabic Kufi';
    font-size: 20px;
    font-weight: 500;
    z-index: 0;            /* حاضنة للسياق كي يعمل z-index:-1 للخط */
}
.Relateds > h3 span, .LatestModel > h3 span {
    background-color: white;
    padding: 0 10px 0 0;
}
.Relateds > h3 span span, .LatestModel > h3 span span {
    background-image: linear-gradient(-90deg, #072f52 80%, #a42e2e 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: bold;
    padding: 0;
}
.Relateds > h3:before, .LatestModel > h3:before {
    content: '';
    height: 3px;
    background-color: #072f52;
    display: block;
    position: absolute;
    right: 0; left: 0; top: 50%;
    z-index: -1;
}

/* بطاقة متعلقات (11743-11768): صورة 4:3 + شريط أحمر بعنوان أبيض */
.News_Item .Short {
    position: relative;
    margin-bottom: 2px;
    margin-right: 2px;
}
.News_Item .Short a { text-decoration: none; }
.News_Item .Short a:not(.img-fill) {
    background-color: #c03130;
    padding: 10px;
    display: block;
}
.News_Item .Short h2 {
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    line-height: 130%;
    font-size: 12px;
    height: 30px;
    color: white;
    text-align: justify;
    overflow: hidden;
    margin: 0;
    font-weight: normal;
}

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 1: NewsSlider (13778-13833) + Block_Over (11909-11965)
 * + Title2 (11703-11741) حرفياً
 * ═══════════════════════════════════════════════════════════════════════════ */
.NewsSlider .All-Main { overflow: hidden; }
.NewsSlider .Display {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.82, 0, 0.03, 1) 0s;
}
.NewsSlider .Display .slider-element {
    position: relative;
    width: 100%;
    top: 0; right: 0;
    float: right;
}
.NewsSlider .NewsList {
    font-size: 14px;
    padding: 0 3px;
    overflow: scroll;
    height: 100%;
    scrollbar-width: none;
}
.NewsSlider .NewsList::-webkit-scrollbar { display: none; }
.NewsSlider ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #0b4373;
    color: white;
    min-height: 100%;
}
.NewsSlider ul li {
    padding: 10px;
    cursor: pointer;
    transition: 0.3s ease-in-out all;
    font-family: 'Droid Arabic Kufi';
}
.NewsSlider ul li span {
    line-height: 20px;
    height: 40px;
    display: block;
    overflow: hidden;
}
.NewsSlider ul li.active {
    background-color: #c03130;
    transform: scale(1.02);
}

/* بطاقة السلايدر: صورة بعنوان متدرّج فوقها */
.News_Item .Block_Over { position: relative; overflow: hidden; }
.News_Item .Block_Over a { text-decoration: none; }
.News_Item .Block_Over .Image_Block_Over {
    position: absolute;
    bottom: 0; right: 0;
    width: 100%;
    padding: 5px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 5%, rgba(7,47,82,0.76) 40%, rgba(0,0,0,0.85) 90%);
}
.News_Item .Block_Over .Image_Block_Over span {
    color: #dedede;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 0 5px;
}
.News_Item .Block_Over h2 {
    color: white;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    margin: 0;
    font-size: 17pt;
    font-weight: normal;
    margin-top: 10px;
    line-height: 120%;
    height: 55px;
    overflow: hidden;
}
.News_Item .Block_Over h3 {
    color: white;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    margin: 0;
    font-size: 12pt;
    margin-top: 30px;
    overflow: hidden;
}
.News_Item .Block_Over .sec-link span { transition: 0.2s ease-in-out; float: left; }
.News_Item .Block_Over .sec-link span:hover { transform: scale(1.05); }

/* عنصر عنوان بزمن نسبي (Title2) — عمود TitleNews */
.News_Item .Title2 {
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}
.News_Item .Title2 a {
    text-decoration: none;
    padding: 2px 0;
    margin-bottom: 10px;
    display: block;
}
.News_Item .Title2 h2 {
    color: black;
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
    margin: 0;
    padding: 0 10px;
    font-family: 'Droid Arabic Kufi';
    transition: 0.2s ease-in-out;
    font-weight: 500;
}
.News_Item .Title2 h2 span {
    color: #d43b32;
    font-size: 10px;
    transition: 0.2s ease-in-out;
    font-weight: bold;
}
.News_Item .Title2:hover h2 { color: #d43b32 !important; }
.News_Item .Title2:hover h2 span { color: #072446; }

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 2: شريط الكتّاب المتحرك (Carousel-Article)
 * الأصل: خلايا col-lg-3 بحشوة px-1، أسهم 30×30 على الحافتين في المنتصف
 * (من الـ<style> المضمّن في الصفحة الأصلية)، تقدّم بعنصر واحد كل 5 ثوانٍ.
 * ═══════════════════════════════════════════════════════════════════════════ */
.ny-col-12 { flex: 0 0 100%; max-width: 100%; }
.ny-mt-2 { margin-top: .5rem; }
/* الأصل: حاوية .Carousel كحلية دائماً — البطاقات شفافة فوقها،
 * عنوان المقال أبيض والاسم أحمر، والأسهم بيضاء نصف شفافة */
.ny-art-car { position: relative; background-color: #072446; }
.ny-art-car .Article_Item .Short .Contents h2 { color: #ffffff; }
.ny-art-car .Article_Item .Short:hover { background-color: transparent; }
.ny-art-car .Article_Item .Short:hover h2 { color: #ffffff; }
.ny-car-viewport { overflow: hidden; margin-inline: 30px; }
.ny-car-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}
.ny-car-cell { flex: 0 0 100%; max-width: 100%; padding: 0 4px; box-sizing: border-box; }
@media (min-width: 576px)  { .ny-car-cell { flex: 0 0 50%;      max-width: 50%; } }
@media (min-width: 768px)  { .ny-car-cell { flex: 0 0 33.333%;  max-width: 33.333%; } }
@media (min-width: 992px)  { .ny-car-cell { flex: 0 0 25%;      max-width: 25%; } }
.ny-art-car .carousel-control-prev,
.ny-art-car .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;                /* الأصل: أبيض على الحاوية الكحلية */
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.15s ease;
    z-index: 1;
}
.ny-art-car .carousel-control-prev { right: 0; }
.ny-art-car .carousel-control-next { left: 0; }
.ny-art-car .carousel-control-prev:hover,
.ny-art-car .carousel-control-next:hover { opacity: 0.9; color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 3: بطاقات Info2 (11803-11827) + الملفات الخاصة
 * (private_file 13079-13106 + أسهم دائرية حمراء من الـstyle المضمّن)
 * ═══════════════════════════════════════════════════════════════════════════ */
.News_Item .Info2 {
    position: relative;
    transition: 0.2s ease-in-out;
}
.News_Item .Info2 a { text-decoration: none; }
.News_Item .Info2 a:not(.img-fill) { padding: 10px 0; display: block; }
.News_Item .Info2 h2 {
    font-family: 'Droid Arabic Kufi';
    font-size: 14px;
    height: 33px;
    color: #d43b32;
    overflow: hidden;
    margin: 0;
    padding: 0 10px;
    text-align: justify;
    font-weight: 500;
    line-height: 1.2;
}

/* بطاقة القسم الصغير (Info — 11770-11801): صورة 4:3 + عنوان أحمر */
.News_Item .Info {
    position: relative;
    transition: 0.2s ease-in-out;
}
.News_Item .Info a { text-decoration: none; }
.News_Item .Info a:not(.img-fill) { padding: 10px; display: block; }
.News_Item .Info h2 {
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    line-height: 130%;
    font-size: 12px;
    height: 30px;
    color: #d43b32;
    text-align: justify;
    overflow: hidden;
    margin: 0;
    font-weight: normal;
    transition: 0.2s ease-in-out;
}
.News_Item .Info:hover { background-color: #072446; }
.News_Item .Info:hover h2 { color: white !important; }

/* الملفات الخاصة: صورة 4:2.8 + عنوان أبيض على تدرّج، أسهم حمراء دائرية أسفل */
.ny-pf-car { position: relative; padding: 0; margin-bottom: 40px; }
.ny-pf-viewport { overflow: hidden; }
.ny-pf-track { display: flex; transition: transform 0.5s ease; will-change: transform; }
.ny-pf-cell { flex: 0 0 100%; max-width: 100%; padding: 0 4px; box-sizing: border-box; }
.private_file .Block { position: relative; }
.private_file .Block a { text-decoration: none; color: inherit; }
.private_file .Block h2 {
    height: 70px;
    overflow: hidden;
    margin: 0;
    padding: 20px 10px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 5%, rgba(7,47,82,0.76) 40%, rgba(0,0,0,0.85) 90%);
    position: absolute;
    bottom: 0; right: 0;
    width: 100%;
}
.private_file .Block h2 a {
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    color: white;
    font-size: 12px;
    line-height: 140%;
    display: block;
    height: 32px;
    font-weight: normal;
}
.ny-pf-car .carousel-control-prev,
.ny-pf-car .carousel-control-next {
    position: absolute;
    top: auto;
    bottom: -40px;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    background-color: #c03130;
    opacity: 1;
    text-decoration: none;
    z-index: 1;
}
.ny-pf-car .carousel-control-prev { right: 30%; left: auto; }
.ny-pf-car .carousel-control-next { left: 30%; right: auto; }
/* نسخة الشريط الجانبي (إعلان الواتساب…) — نفس الودجت بهامش سفلي للأسهم */
.sideSection .ny-pf-side { margin-bottom: 50px; }

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 4: HomeNewsSection1/2 (13158-13230) + بطاقة Link (11829-71)
 * ═══════════════════════════════════════════════════════════════════════════ */
.HomeNewsSection1 > h2,
.HomeNewsSection2 > h2 {
    position: relative;
    margin: 0 0 20px;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    z-index: 0;
}
/* توحيد حجم عناوين الأقسام (طلب المستخدم — الأصل كان يكبّر المخا تهامة) */
.HomeNewsSection1 > h2,
.HomeNewsSection2 > h2 { font-size: 20px; }
.HomeNewsSection1 > h2 span,
.HomeNewsSection2 > h2 span {
    background-color: white;
    padding: 0 10px 0 0;
}
.HomeNewsSection1 > h2 a,
.HomeNewsSection2 > h2 a {
    background-image: linear-gradient(-90deg, #072f52 80%, #d43b32 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}
.HomeNewsSection2 > h2 a { background-image: linear-gradient(-90deg, #072f52 75%, #d43b32 75%); }
.HomeNewsSection1 > h2:before,
.HomeNewsSection2 > h2:before {
    content: '';
    height: 3px;
    background-color: #072f52;
    display: block;
    position: absolute;
    right: 0; left: 0; top: 50%;
    z-index: -1;
}
.HomeNewsSection1 .News_Item {
    border-bottom: 1px solid rgba(7, 36, 70, 0.2);
    margin-bottom: 10px;
    padding-bottom: 10px;
}
/* المخا تهامة: الوصف على سطرين لموازنة العرض (طلب المستخدم)
 * التخصيص الثلاثي يلزم لأن قاعدة .News_Item .Link h3 العامة تأتي لاحقاً في الملف */
.HomeNewsSection1 .News_Item .Link h3 { max-height: 36px; }

/* بطاقة Link: صورة 15:10 يمين + عنوان 9.5pt وسطر ثانٍ 7pt */
.News_Item .Link {
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}
.News_Item .Link a { text-decoration: none; }
.News_Item .Link h2 {
    color: black;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-size: 9.5pt;
    line-height: 120%;
    padding: 2px 0 0;
    margin: 0 0 1px;
    max-height: 32px;
    overflow: hidden;
    font-weight: normal;
}
.News_Item .Link h3 {
    color: #072f52;
    font-size: 7pt;
    max-height: 18px;
    margin: 0;
    overflow: hidden;
    font-weight: normal;
}
.News_Item .Link:hover { background-color: #072446; }
.News_Item .Link:hover h2 { color: white; }
.News_Item .Link:hover h3 { color: #b3b3b3; }
.ny-link-row { align-items: center; }
.ny-link-row .ny-col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.ny-link-row .ny-col-8 { flex: 0 0 66.667%; max-width: 66.667%; padding: 0 15px; }

/* هوامش الصف 4 — pr-4/pl-3/mt-5 معكوسة RTL كما في بوتستراب الأصل */
.ny-mt-3 { margin-top: 1rem; }
@media (min-width: 768px) {
    .ny-pr-4 { padding-left: 1.5rem !important; }
    .ny-pl-3 { padding-right: 1rem !important; }
    .ny-mt-5 { margin-top: 3rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 5: HomeNewsSection3 + بطاقة Block/Image_Block (11873-11908)
 * ═══════════════════════════════════════════════════════════════════════════ */
.HomeNewsSection3 > h2 {
    position: relative;
    margin: 0 0 20px;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    z-index: 0;
}
.HomeNewsSection3 > h2 span { background-color: white; padding: 0 10px 0 0; }
.HomeNewsSection3 > h2 a {
    background-image: linear-gradient(-90deg, #072f52 80%, #d43b32 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
}
.HomeNewsSection3 > h2:before {
    content: '';
    height: 3px;
    background-color: #072f52;
    display: block;
    position: absolute;
    right: 0; left: 0; top: 50%;
    z-index: -1;
}
.News_Item .Block { position: relative; overflow: hidden; }
.News_Item .Block a { text-decoration: none; color: inherit; }
.News_Item .Block .Image_Block {
    bottom: 0; right: 0;
    width: 100%;
    padding: 20px 10px 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 5%, rgba(7,47,82,0.76) 40%, rgba(0,0,0,0.85) 90%);
    color: white;
    position: absolute;
}
.News_Item .Block .Image_Block h2 {
    font-size: 12px;
    line-height: 120%;
    height: 27px;
    max-height: 45px;
    overflow: hidden;
    color: inherit;
    margin: 0;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-weight: normal;
}
@media (min-width: 992px) {
    .ny-col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .ny-col-lg-5 { flex: 0 0 41.667%; max-width: 41.667%; }
}

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 6: Carousel-New (أسهم دائرية بيضاء بأيقونة كحلية على
 * الحافتين — من الـstyle المضمّن) — البطاقات Short الحمراء نفسها
 * ═══════════════════════════════════════════════════════════════════════════ */
/* الحاوية كحلية كالأصل (مقيسة من #Carousel-New الحي: bg #072446 + padding 20/10) */
.ny-new-car { position: relative; padding: 20px 10px; background-color: #072446; }
.ny-new-car .carousel-control-prev,
.ny-new-car .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #072446;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 4px rgba(0,0,0,.25);
    opacity: 1;
    text-decoration: none;
    z-index: 1;
}
.ny-new-car .carousel-control-prev { right: 1px; }
.ny-new-car .carousel-control-next { left: 1px; }
.ny-new-car .ny-car-viewport { margin-inline: 0; }

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 7: HomeVideos (style مضمّن) + HomeInfoGraphic (13294-13325)
 * + Video_Item .Short (12666-12726)
 * ═══════════════════════════════════════════════════════════════════════════ */
.HomeVideos {
    background-color: white;
    padding: 45px 7px 15px;
    margin-top: 110px;
    position: relative;
    box-shadow: 0px 0px 5px 2px #c03130;
}
.HomeVideos > h2 {
    position: absolute;
    text-align: center;
    background-color: #c03130;
    padding: 20px 0;
    left: 50%;
    transform: translate(-50%, 0);
    top: -40px;
    white-space: nowrap;
    margin: 0;
}
.HomeVideos > h2 a {
    background-color: inherit;
    padding: 0 20px;
    display: inline-block;
    color: white;
    position: relative;
    text-decoration: none;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-size: 25px;
    font-weight: normal;
}
.HomeVideos .Video_Item { margin-bottom: 10px; }
.ny-col-12v { flex: 0 0 100%; max-width: 100%; padding: 0 4px; }
.ny-col-6v  { flex: 0 0 100%; max-width: 100%; padding: 0 4px; }
@media (min-width: 768px) { .ny-col-6v { flex: 0 0 50%; max-width: 50%; } }

.Video_Item .Short { position: relative; overflow: hidden; }
.Video_Item .Short a { position: relative; text-decoration: none; display: block; }
.Video_Item .Short a span.playicon {
    width: 15%;
    position: absolute;
    right: 4%;
    bottom: 4%;
    margin: 0;
    z-index: 1;
}
.Video_Item .Short a span.playicon svg { width: 100%; height: auto; display: block; transition: 0.15s ease-in-out; }
.Video_Item .Short a.img-fill { overflow: hidden; }
.Video_Item .Short a.img-fill:before {
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%) rotate(-45deg);
    position: absolute;
    background-image: linear-gradient(#072446 15%, transparent 35%, transparent 60%, #072446 80%);
}
.Video_Item .Short h2 {
    color: black;
    padding: 0 5px;
    font-size: 12px;
    line-height: 15px;
    height: 30px;
    overflow: hidden;
    font-family: 'Droid Arabic Kufi';
    font-weight: 500;
    margin: 8px 0 0;
}
.Video_Item .Short:hover a h2 { color: #a42e2e; font-weight: bold; }
.Video_Item .Short:hover a span.playicon svg { transform: scale(1.1); }

.HomeInfoGraphic {
    background-color: #c03130;
    padding: 40px 8px 15px;
    text-align: center;
    margin-top: 40px;
    position: relative;
}
.HomeInfoGraphic > h2 {
    position: absolute;
    background-color: #072446;
    padding: 20px 0;
    right: 50%;
    transform: translate(50%, 0);
    top: -40px;
    white-space: nowrap;
    margin: 0;
}
.HomeInfoGraphic > h2 a {
    background-color: inherit;
    padding: 0 20px;
    display: inline-block;
    color: white;
    position: relative;
    text-decoration: none;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-size: 25px;
    font-weight: normal;
}
.ny-w100 { width: 100%; height: auto; display: block; }

/* ══════════════════════════════════════════════════════════════════════════
 * الرئيسية — الصف 8: HomeNewsSection4 (13261-13292) — عنوان أحمر متمركز
 * ═══════════════════════════════════════════════════════════════════════════ */
.HomeNewsSection4 { padding-top: 15px; }
.HomeNewsSection4 > h2 {
    position: relative;
    margin: 0 0 20px;
    text-align: center;
    background-color: #c03130;
    padding: 5px 0;
    z-index: 0;
}
.HomeNewsSection4 > h2 a {
    background-color: inherit;
    padding: 0 10px;
    display: inline-block;
    color: white;
    position: relative;
    text-decoration: none;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-weight: normal;
    font-size: 20px;
}
.HomeNewsSection4 > h2:before {
    content: '';
    height: 3px;
    background-color: #072f52;
    display: block;
    position: absolute;
    right: 0; left: 0; top: 50%;
    z-index: -1;
}

/* أعمدة auto (col-md بلا رقم) + هوامش */
.ny-mb-2 { margin-bottom: .5rem; }
@media (min-width: 768px) {
    .ny-col-md { flex: 1 0 0%; max-width: 100%; min-width: 0; }
    .ny-col-md-5 { flex: 0 0 41.667%; max-width: 41.667%; }
}

/* عنصر آخر الأخبار (11673-11701): نص فقط 13px بأسطر مقصوصة */
.News_Item .Title {
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}
.News_Item .Title a {
    text-decoration: none;
    padding: 2px 0;
    margin-bottom: 10px;
    display: block;
}
.News_Item .Title h2 {
    color: black;
    font-size: 13px;
    line-height: 17px;
    height: 40px;
    overflow: hidden;
    margin: 0;
    padding: 5px 10px;
    font-family: 'Droid Arabic Kufi';
    transition: 0.2s ease-in-out;
    text-align: justify;
    font-weight: 500;
}
.News_Item .Title:hover h2 { color: #d43b32 !important; }

/* .img-fill (10813) — صورة خلفية بنسبة عبر padding-top مضمّن */
.img-fill {
    display: block;
    width: 100%;
    height: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* الصف السفلي: col-md-7 (متعلقات) + offset-md-1 + col-md-4 (آخر الأخبار) */
.ny-bottom-row { margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════════════════
 * الشريط الجانبي — layout.rtl.css:428-506 حرفياً (صندوق أبيض بظل كحلي
 * وعنوان كحلي بارز فوقه) + عناصر Article_Item/Video_Item من app.rtl.css
 * ═══════════════════════════════════════════════════════════════════════════ */
.sideSection .SideArticles,
.sideSection .SideVideos {
    background-color: #ffffff;
    padding: 40px 6px 2px;
    margin-top: 40px;
    position: relative;
    box-shadow: 0px 0px 5px 2px #072446;
}
.sideSection .SideArticles > h2,
.sideSection .SideVideos > h2 {
    position: absolute;
    text-align: center;
    background-color: #072446;
    padding: 10px 0;
    left: 10px;
    top: -40px;
    white-space: nowrap;
    margin: 0;
}
.sideSection .SideArticles > h2 a,
.sideSection .SideVideos > h2 a {
    background-color: inherit;
    padding: 0 20px;
    display: inline-block;
    color: white;
    position: relative;
    text-decoration: none;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-size: 25px;
    font-weight: normal;
}
.sideSection .SideArticles .Article_Item { margin-bottom: 10px; }
.sideSection .SideVideos  .Video_Item   { margin-bottom: 10px; }

/* عنصر مقالات جانبي (12194-12228): صورة كاتب مدوّرة + اسم أحمر + عنوان كحلي */
.Article_Item .Short {
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
    margin: 0; background: none; border: 0;
}
.Article_Item .Short a { text-decoration: none; }
.Article_Item .Short a:not(.img-fill) { background: none; padding: 0; }
.Article_Item .Short .Contents h2 {
    font-size: 12px;
    color: #072446;
    padding: 0px 5px;
    line-height: 15px;
    font-family: 'Droid Arabic Kufi';
    height: 30px;
    overflow: hidden;
    margin: 0;
    font-weight: 500;
    text-align: start;
}
.Article_Item .Short .Contents h3 {
    color: #c5302b;
    font-size: 12px;
    margin: 5px 10px;
    font-family: 'Droid Arabic Kufi';
    font-weight: 500;
}
.Article_Item .Short:hover { background-color: #072446; }
.Article_Item .Short:hover h2 { color: white; }
.Article_Item .Short:hover h3 { color: #b3b3b3; }

/* عنصر فيديو جانبي (12753-12821): صورة بتدرّج كحلي + زر تشغيل + عنوان فوقها */
.Video_Item .Block { position: relative; background-color: white; }
.Video_Item .Block a {
    position: relative;
    text-decoration: none;
    display: block;
}
.Video_Item .Block a span.playicon {
    width: 15%;
    position: absolute;
    right: 4%;
    bottom: 5%;
    margin: 0;
    z-index: 1;
}
.Video_Item .Block a span.playicon svg { width: 100%; height: auto; display: block; transition: 0.15s ease-in-out; }
.Video_Item .Block a h2 {
    color: #f0f0f0;
    font-size: 10pt;
    line-height: 120%;
    height: 50px;
    font-weight: bold;
    padding: 10px;
    margin: 0;
    overflow: hidden;
    transition: 0.15s ease-in-out;
    font-family: 'Droid Arabic Kufi';
}
.Video_Item .Block a.img-fill { overflow: hidden; }
.Video_Item .Block a.img-fill:before {
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%) rotate(-45deg);
    position: absolute;
    background-image: linear-gradient(#072446 15%, transparent 35%, transparent 60%, #072446 80%);
}
.Video_Item .Block a.VBlockTitle {
    position: absolute;
    right: 0; left: 0; bottom: 0;
    z-index: 1;
    overflow: hidden;
    margin-right: 20%;
}
.Video_Item .Block:hover a h2 { color: #a42e2e; }
.Video_Item .Block:hover a span.playicon svg { transform: scale(1.1); }

/* ══════════════════════════════════════════════════════════════════════════
 * الهيدر — layout.rtl.css:56-129 + 153-269 حرفياً (كحلي لاصق، شريط أحمر
 * 22px بالقائمة عبر inset shadow، شعار كبسولة كحلية يطفو فوق الشريطين)
 * ═══════════════════════════════════════════════════════════════════════════ */
.sticky-top { position: sticky; top: 0; z-index: 1020; }
header.ny-header {
    background-color: #072446;
    margin-bottom: 10px;
    -webkit-user-select: none;
    user-select: none;
}
.ny-header .navbar {
    padding: 0;
    box-shadow: 0px -22px #a42e2e inset;
    transform: translate(0, 12px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
@keyframes ny-logo-move {
    20% { transform: translate(-3px, -3px) scale(1.03) rotateZ(5deg); }
    40% { transform: translate(3px, -6px)  scale(1.06) rotateZ(-5deg); }
    60% { transform: translate(0px, -6px)  scale(1.09) rotateZ(0deg); }
    70% { transform: translate(0px, -6px)  scale(1.09) rotateZ(0deg); }
}
.navbar-brand {
    background-color: #072446;
    border-radius: 50px;
    margin-left: 1rem;
    margin-bottom: 2px;
    padding: 0px 12px !important;
    display: inline-block;
}
.navbar-brand img { max-width: 150px; max-height: 40px; display: block; }
.navbar-brand:hover img { animation: ny-logo-move 1s; filter: drop-shadow(5px 5px 5px #222); }

/* px-3 الأصلية على الـcollapse — تُنهي القائمة قبل الشعار بـ~32px كالأصل */
.ny-header .navbar-collapse { flex: 1; min-width: 0; position: relative; padding-inline: 16px; }

/* الصف العلوي: بحث + تواصل — .float-right في RTL bootstrap = يسار */
.nav-topbar { overflow: hidden; }
.nav-topbar .float-right { float: left; }
ul.Social {
    margin: 0;
    padding: 0 10px;
    list-style: none;
    height: fit-content;
    font-size: 0;
    width: fit-content;
    direction: rtl;
    display: block;
}
ul.Social li {
    display: inline-block;
    padding: 0;
    width: 15px;
    height: 15px;
    text-align: center;
    transition: 0.2s ease-in-out;
}
ul.Social li:not(:last-child) { margin: 0 0 0 5px; }
ul.Social li a {
    border-radius: 50%;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: #072446;
}
/* الأيقونة: كحلية بإطار أبيض — بتقنية الأصل (text-shadow رباعي) عبر drop-shadow
 * بدل stroke الذي كان يقطّع المسارات المعقدة ويكسرها */
ul.Social li a svg {
    width: 10px; height: 10px;
    position: absolute;
    top: 50%; right: 50%;
    transform: translate(50%, -50%);
    fill: #072446;
    filter: drop-shadow(-1px 1px 0 #fff) drop-shadow(1px -1px 0 #fff)
            drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff);
}
ul.Social li:hover { transform: scale(1.1); }
/* شريحة EN النصية — تتمركز داخل خليتها تماماً كالأيقونات (محاذاة منظمة) */
ul.Social li a .ny-social-txt {
    position: absolute;
    top: 50%; right: 50%;
    transform: translate(50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: #072446;
    line-height: 1;
    text-shadow: -1px 1px 0px #fff, 1px -1px 0px #fff, 1px 1px 0px #fff, -1px -1px 0px #fff;
    font-family: Arial, sans-serif;
}

.SearchSection {
    display: block;
    width: 80px;
    position: relative;
    overflow: hidden;
    direction: ltr;
    height: 11px;
    background-color: white;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    margin: 2px auto 0;
    transition: 0.2s ease-in-out;
}
.SearchSection svg {
    position: absolute;
    right: 50%; top: 50%;
    transform: translate(50%, -50%);
    width: 8px; height: 8px;
}
.SearchSection:hover { transform: scale(1.1); }

/* صف القائمة داخل الشريط الأحمر */
.ny-menu-row { display: flex; align-items: flex-start; }
.ny-header ul.navbar-nav {
    display: flex;
    overflow: hidden;
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
    min-width: 0;
}
.ny-header .nav-link {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Droid Arabic Kufi';
    font-size: 16px;
    white-space: nowrap;
    line-height: 33px;
    padding: 0 10px;
    height: 27px;
    min-height: 0;             /* يبطل هدف اللمس 48px من main.css */
    transition: ease-in-out 0.3s;
    position: relative;
    display: block;
    text-decoration: none;
}
.ny-header .nav-link:hover,
.ny-header .nav-link:focus,
.ny-header .nav-item.active .nav-link {
    color: #072446 !important;
    background: none;          /* يبطل خلفية hover الذهبية من main.css */
}
.ny-header .nav-link::after { content: none !important; }   /* يبطل الخط الذهبي من main.css */
.ny-header .nav-item { position: relative; }
/* الفاصل النقطي قبل كل عنصر — على li (الرسم على .nav-link كان يُبتلع بقواعد زامن) */
.ny-header .nav-item:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 10px;
    right: 0;
    position: absolute;
    top: 40%;
    background-color: black;
    z-index: 1;
}

/* لوحة البحث المنسدلة — app.rtl.css:13599-13623 (.ResultMain) حرفياً */
.ResultMain {
    position: absolute;
    right: 0; left: 0;
    top: 100%;
    background-color: rgb(164, 46, 46);
    z-index: 20;
    border-top: 1px solid #072446;
    padding: 15px;
    border-radius: 0 0 5px 5px;
    box-shadow: -2px 2px 9px 0px #484848;
    display: none;
}
.ResultMain.show { display: block; }
.ResultMain .SearchOptions { max-width: 289px; }   /* col-md-3 الأصلية */
.ResultMain .SearchFor {
    width: 100%;
    border: none;
    border-radius: 5px;
    line-height: 20px;
    padding: 5px 25px 5px 10px;
    color: #555;
    font-size: 14px;
    height: 25px;
    outline: none;
    margin-bottom: 0;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}
.ResultMain .SearchFor::placeholder { color: #bfbfbf; }
@media (max-width: 767.98px) { .ResultMain .SearchOptions { max-width: none; } }

/* قائمة الأقسام المنسدلة (AddedMenu) — layout.rtl.css:186-269
 * تظهر في الجوال فقط (طلب المستخدم — الأصل يتركها فارغة على سطح المكتب) */
.AddingMenu { width: 77px; position: relative; flex-shrink: 0; padding-top: 4px; }
@media (min-width: 992px) { .AddingMenu { display: none; } }
.AddedmenuToggle {
    position: absolute;
    right: 0;
    color: white;
    height: 20px;
    width: 20px;
    cursor: pointer;
    margin-top: 4px;
    display: block;
}
.AddedmenuToggle i {
    width: 20px;
    height: 1px;
    background-color: white;
    display: inline-block;
    position: absolute;
    transition: ease-in-out 0.3s;
    top: 50%;
}
.AddedmenuToggle:not(.active) i:nth-child(1) { top: 20%; }
.AddedmenuToggle:not(.active) i:nth-child(3) { top: 80%; }
.AddedmenuToggle.active i:nth-child(1) { transform: rotate(-45deg); }
.AddedmenuToggle.active i:nth-child(2) { opacity: 0; }
.AddedmenuToggle.active i:nth-child(3) { transform: rotate(-135deg); }
.AddedMenu {
    position: absolute;
    right: 0;
    top: 30px;
    background-color: #a42e2e;
    list-style: none;
    padding: 0;
    width: 200px;
    border-radius: 2px;
    display: none;
    z-index: 10;
    margin: 0;
}
.AddedMenu.show { display: block; }
.AddedMenu:before {
    content: '';
    width: 0; height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 5px solid #a42e2e;
    position: absolute;
    top: 0; right: 0;
    transform: translate(-50%, -100%);
}
.AddedMenu li { display: block; }
.AddedMenu li a {
    color: #e4e4e4;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-size: 13.5pt;
    line-height: 25px !important;
    padding: 5px 10px;
    display: block;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}
.AddedMenu li a:hover { color: #ffd881; }

/* زر البرغر — يظهر تحت 992px (navbar-expand-lg الأصلية) */
.navbar-toggler {
    display: none;
    background-color: #a42e2e;
    border: 0;
    padding: 5px 9px;
    border-radius: 4px;
    cursor: pointer;
    margin: 6px 0 6px 6px;
}
@media (max-width: 991.98px) {
    .navbar-toggler { display: block; }
    .ny-header .navbar { flex-wrap: wrap; align-items: center; }
    .ny-header .navbar-collapse { display: none; flex-basis: 100%; width: 100%; }
    .ny-header .navbar-collapse.show { display: block; padding-bottom: 8px; }
    .ny-header ul.navbar-nav { flex-direction: column; overflow: visible; }
    .ny-header .nav-link { height: auto; line-height: 2.2; }
    .ny-header .nav-item:not(:last-child) .nav-link:after { display: none; }
    .ny-menu-row { display: block; }
    .AddingMenu { width: 100%; padding: 6px 10px; }
    .AddedmenuToggle { position: static; display: block; margin: 0; }
    .AddedMenu { position: static; width: 100%; margin-top: 8px; }
}
/* جوال ضيق — layout.rtl.css:115-151 حرفياً */
@media (max-width: 500px) {
    header.ny-header { margin-bottom: 0px; }
    .ny-header .navbar {
        padding: 0.5rem 1rem;
        padding-bottom: 25px;
        box-shadow: none;
    }
    .ny-header .navbar-collapse.show {
        margin-top: 10px;
        border-top: 2px solid #a42e2e;
        padding-top: 10px;
    }
    .nav-topbar { text-align: center; }
    .nav-topbar .float-right { float: none !important; margin: 6px auto; }
    .ny-header .nav-link:hover,
    .ny-header .nav-link:focus,
    .ny-header .nav-item.active .nav-link { color: #a42e2e !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
 * الفوتر — layout.rtl.css:271-320 حرفياً (كحلي، عمودان متمركزان)
 * ═══════════════════════════════════════════════════════════════════════════ */
footer.ny-footer {
    padding: 20px 0;
    background-color: #072446;
    overflow: hidden;
    margin-top: 24px;
    font-family: 'Droid Arabic Kufi';   /* خط الأصل — كان يرث GE_SS من زامن */
}
/* الأصل: العمودان يتدفقان من اليمين (الثلث الأيسر فارغ) — لا توسيط */
.ny-footer-row { align-items: center; }
.ny-text-center { text-align: center; }
.ny-footer .navbar-brand { margin: 0 auto; }
.ny-footer .navbar-brand:hover img { animation: none; }
.ny-footer .navbar-brand img {
    width: 150px;
    height: auto;
    max-width: none;
    max-height: none;
}
.ny-footer .SearchSection { width: 100px; height: 15px; margin-top: 8px; }
.ny-footer .SearchSection:hover { transform: scale(1); }
.ny-footer ul.Social { margin: 10px auto 0; }
.ny-footer .footer-nav {
    width: 100%;
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}
.ny-footer .footer-nav li { display: inline-block; margin-right: 20px; }
.ny-footer .footer-nav .nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Droid Arabic Kufi';
    font-size: 15px;
    min-height: 0;
    display: inline-block;
    padding: 0;
}
.ny-footer .footer-nav .nav-link:hover { color: #ffd881; background: none; }
.ny-footer .footer-nav .nav-link::after { content: none; }
.ny-footer-copy {
    color: white;
    font-size: 10px;
    margin: 8px 0 0;
    display: block;
    width: 100%;
    text-align: center;
}
.ny-footer-copy a { color: #ffd881; }
@media (max-width: 767.98px) {
    .ny-footer .ny-col-md-4 { margin-bottom: 16px; }
}

/* ══════════════════════════════════════════════════════════════════════════
 * صفحة المقال — app.rtl.css:12267-12358 حرفياً: صندوق كاتب كحلي 400px
 * عائم يميناً بحد أحمر علوي، والمتن يلتف حوله
 * ═══════════════════════════════════════════════════════════════════════════ */
.Article_Item .Show .ArticleContents { padding-inline: .5rem; }
.Article_Item .Show .ArticleContents::after { content: ''; display: block; clear: both; }
.Article_Item .Show .ArticleContents .ArticleShortContent {
    width: 400px;
    max-width: 100%;
    float: right;
    background-color: #072446;
    margin-left: 20px;
    margin-bottom: 20px;
    border-top: 6px #a42e2e solid;
}
.Article_Item .Show .ArticleContents .ArticleShortContent > a { color: #888888; text-decoration: none; }
.Article_Item .Show .ArticleContents .ArticleShortContent > h1 {
    padding: 0 20px;
    margin: 0 0 20px;
    color: #ffffff;
    font-family: 'Droid Arabic Kufi';
    font-size: 13pt;
    font-weight: normal;
    line-height: 140%;
}
.Article_Item .Show > .ArticleContents .ArticleShortContent img {
    width: 100%;
    height: auto;
    padding: 20px 20px 5px;
    display: block;
    box-sizing: border-box;
}
.Article_Item .Show > .ArticleContents .ArticleShortContent a h3 {
    font-size: 12px;
    line-height: 24px;
    color: #ffffff;
    font-family: 'GE_SS_Two', sans-serif;
    font-weight: 400;
    display: inline-block;
    background-color: #a42e2e;
    padding: 0 10px 0 40px;
    position: relative;
    margin: 0 0 6px;
}
.Article_Item .Show > .ArticleContents .ArticleShortContent a h3 .ny-writer-ico {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    fill: #fff;
}
/* «تابعنى على» + الأيقونات: تطفو يساراً بمحاذاة شريط الاسم (float-right معكوس RTL)
 * الأيقونات بيضاء 13px بلا إطار — فيسبوك ثم تويتر (قياس الأصل الحي) */
.Article_Item .Show .ArticleShortContent .writerSocial {
    float: left;
    color: #d8d8d8;
    font-family: tahoma;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 12px;
    margin-top: 2px;
}
.Article_Item .Show .ArticleShortContent .writerSocial .social { display: inline-flex; gap: 4px; }
.Article_Item .Show .ArticleShortContent .writerSocial .social a {
    color: #fff;
    display: inline-flex;
    margin: 2px;
    transition: 0.15s ease-in-out;
}
.Article_Item .Show .ArticleShortContent .writerSocial .social svg { width: 13px; height: 13px; fill: currentColor; }
.Article_Item .Show .ArticleShortContent .writerSocial .social a:hover { transform: scale(1.15); }
.Article_Item .Show .ArticleContents .ArticleShortContent::after { content: ''; display: block; clear: both; }
/* سطر التاريخ والمشاركة داخل الصندوق */
.Article_Item .ArticleShortContent .ny-p2 { padding: .5rem 20px .75rem; }
.Article_Item .ArticleShortContent .ny-p2 > span {
    color: #d8d8d8;
    display: inline-block;
    font-family: tahoma;
    font-size: 7.5pt;
}
.Article_Item .ArticleShortContent .itemFooter { float: left; }
.Article_Item .ArticleShortContent .ny-p2::after { content: ''; display: block; clear: both; }
/* المتن — 13pt kufi يلتف حول الصندوق العائم */
.Article_Item .ArticleContents .artBody {
    color: #000000;
    font-family: 'Droid Arabic Kufi' !important;
    font-size: 13pt !important;
    font-weight: 500;
    text-align: justify;
    line-height: normal;
}
.Article_Item .ArticleContents .artBody * { max-width: 100% !important; font-size: 13pt !important; }
.Article_Item .ArticleContents .artBody p { margin: 0 0 1rem; }
.Article_Item .ArticleContents .artBody a { text-decoration: none !important; color: #ffaa08; }
.Article_Item .ArticleContents .artBody img { height: auto; }
/* آخر المقالات (Article_Item .Title — 12230-12259) */
.Article_Item .Title {
    position: relative;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}
.Article_Item .Title a { text-decoration: none; padding: 10px 0; display: block; }
.Article_Item .Title h2 {
    color: #a42e2e;
    font-size: 13px;
    line-height: 15px;
    height: 28px;
    overflow: hidden;
    margin: 0;
    padding: 0 10px;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-weight: normal;
    transition: 0.2s ease-in-out;
}
.Article_Item .Title:hover { background-color: #072446; }
.Article_Item .Title:hover h2 { color: white !important; }
/* الجوال: الصندوق يملأ العرض ولا التفاف */
@media (max-width: 575.98px) {
    .Article_Item .Show .ArticleContents .ArticleShortContent {
        float: none;
        width: 100%;
        margin-left: 0;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
 * بطاقة صفحات السرد (pagination_page — 11585-11627): تُستخدم لصفحة القسم
 * وصفحة الكاتب والبحث. إطار أحمر + ترويسة كحلية بشريط اسم أحمر.
 * ═══════════════════════════════════════════════════════════════════════════ */
.card.pagination_page {
    border: 2px solid #c03130;
    font-size: 10px;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 1rem;
}
.pagination_page .card-header {
    padding: 10px;
    height: auto;
    background-color: #072446;
    margin: 0;
    border-radius: 4px 4px 0 0;
}
.pagination_page .card-header h1 {
    display: inline-block;
    margin: 0 -16px 0 0;
    padding: 10px;
    background-color: #c03130;
    color: white;
    font-family: 'GE_SS_Two_Medium', 'GE_SS_Two';
    font-weight: normal;
    font-size: 24px;
    border-radius: 3px 0 0 3px;
    padding-inline-end: 1.5rem;   /* pr-4 الأصلية */
}
.pagination_page .card-header h1 .pagination_image {
    height: 80px;
    width: 80px;
    display: inline;
    object-fit: cover;
    border-radius: .25rem;
    vertical-align: middle;
    margin-inline-end: 8px;
}
.pagination_page .card-header .itemFooter { float: left; margin-top: 10px; }
.pagination_page .card-header .searchIn { color: white; font-size: 14px; padding: 0 1rem; margin-top: 10px; }
.pagination_page .card-header .searchIn input {
    width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-family: 'Droid Arabic Kufi';
    outline: none;
    box-sizing: border-box;
}
.pagination_page .card-header::after { content: ''; display: block; clear: both; }
.pagination_page .card-body { padding: 1rem; }
.pagination_page .pagination-row:not(:last-child) .pagination-item {
    border-bottom: 1px solid rgba(7, 36, 70, 0.2);
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.pagination_page .pagination-item { min-height: 70px; }
/* عناصر الكاتب: صورة دائرية + عنوان واسم رماديان (12145-12193) */
.rounded-circle { border-radius: 50% !important; }
.Article_Item .Link .Contents { margin-bottom: 0; }
/* عنوان المقال أسود داكن حقيقي على سطرين مرتاحين، واسم الكاتب/المقتطف
 * رمادي أسفله بفاصل واضح — line-height 14px الأصلية كانت لخط لاتيني؛
 * الكوفي يتراكب عندها (مراجعة المستخدم 2026-08-16) */
.Article_Item .Link .Contents h2 {
    color: #000000;
    padding: 0px 3px;
    font-size: 14px;
    line-height: 21px;
    max-height: 42px;
    overflow: hidden;
    margin: 0 0 5px;
    font-family: 'Droid Arabic Kufi';
    font-weight: 500;
}
.Article_Item .Link .Contents h3 {
    color: #555555;
    padding: 0px 3px;
    font-size: 12px;
    line-height: 19px;
    max-height: 19px;
    overflow: hidden;
    margin: 0;
    font-family: 'Droid Arabic Kufi';
    font-weight: normal;
}
.Article_Item .Link:hover { background-color: rgba(255, 248, 191, 0.39); }
/* تذييل البطاقة: ترقيم سابق/تالي كما الأصل (bootstrap) */
.pagination_page .card-footer { padding: .75rem 1rem; border-top: 1px solid rgba(7,36,70,.1); }
.pagination_page .pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.pagination_page .page-link {
    display: block;
    padding: .5rem .75rem;
    color: #072f52;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    font-family: 'Droid Arabic Kufi';
    font-size: 13px;
    line-height: 1.25;
}
.pagination_page .page-item:first-child .page-link { border-radius: 0 4px 4px 0; }
.pagination_page .page-item:last-child .page-link { border-radius: 4px 0 0 4px; }
.pagination_page .page-item.disabled .page-link { color: #6c757d; pointer-events: none; }
.pagination_page .page-link:hover { background-color: #e9ecef; }
/* أعمدة العناصر داخل الصفوف */
.ny-pag-col4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 10px; }
.ny-pag-col8 { flex: 0 0 66.667%; max-width: 66.667%; padding: 0 10px; }
.ny-pag-col3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.ny-pag-col9 { flex: 0 0 75%; max-width: 75%; padding: 0 10px; }
.ny-ph-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ny-col-md-6h { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
@media (min-width: 768px) { .ny-col-md-6h { flex: 0 0 50%; max-width: 50%; } }
.ny-empty { font-family: 'Droid Arabic Kufi'; color: #666; text-align: center; padding: 30px 0; font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════════
 * صندوق الكاتب (ميزة زامن — غير موجود في الأصل، تنسيق محايد هادئ)
 * ═══════════════════════════════════════════════════════════════════════════ */
.tpl-news .author-box {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px; background: #f7f8fa; border-top: 2px solid #072446;
    margin: 20px 0;
}
.tpl-news .author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tpl-news .author-name { font-weight: 700; font-size: 15px; color: #072446; }
.tpl-news .author-name a { color: inherit; text-decoration: none; }
.tpl-news .author-bio { font-size: 13px; color: #555; line-height: 1.8; }
.tpl-news .author-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12px; }
.tpl-news .author-links a { display: inline-flex; align-items: center; gap: 4px; color: #072f52; text-decoration: none; }

/* ══════════════════════════════════════════════════════════════════════════
 * بطاقة البحث المتقدم .full-search (app.rtl.css:12797-12856) — تُبنى فوق
 * pagination_page (نفس الإطار/الترويسة/التذييل) وتضيف: نموذج البحث
 * (مربعات اختيار + حقل نصي) وتبويبات nav-tabs ونتائج لكل تبويب.
 * الترميز: <div class="card pagination_page full-search">
 * ═══════════════════════════════════════════════════════════════════════════ */

/* صفوف النتائج — فاصل سفلي بين الصفوف كما الأصل */
.full-search .full-search-row:not(:last-child) .full-search-column {
    border-bottom: 1px solid rgba(7, 36, 70, 0.2);
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.full-search span.empty-result {
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'Droid Arabic Kufi';
    font-size: 14px;
    color: #666;
    padding: 25px 0;
}

/* ── نموذج البحث داخل الترويسة الكحلية ── */
.full-search .card-header form { clear: both; padding-top: 10px; }
.full-search .ny-form-row { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.full-search .control-label {
    color: white;
    font-family: 'Droid Arabic Kufi';
    font-size: 14px;
    margin: 0;
    padding: 0 5px;
}
.full-search .ny-col-sm-3 { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
.full-search .ny-col-sm-9 { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
@media (min-width: 576px) {
    .full-search .ny-col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .full-search .ny-col-sm-9 { flex: 0 0 75%; max-width: 75%; }
}
.full-search .ny-chk-row { display: flex; flex-wrap: wrap; margin: 0; }
.full-search .ny-chk-row .ny-colf { flex: 1 0 0%; padding: 0 5px; }

/* مربعات الاختيار custom-checkbox (app.rtl.css — نسخة RTL حرفية) */
.full-search .custom-control {
    position: relative;
    display: block;
    min-height: 1.44rem;
    padding-right: 1.5rem;
}
.full-search .custom-control-input { position: absolute; z-index: -1; opacity: 0; }
.full-search .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    color: white;
    font-family: 'GE_SS_Two_Light', 'Droid Arabic Kufi';
    font-size: 13px;
    cursor: pointer;
}
.full-search .custom-control-label::before {
    position: absolute;
    top: 0.22rem;
    right: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: 1px solid #adb5bd;
    border-radius: 0.25rem;
}
.full-search .custom-control-label::after {
    position: absolute;
    top: 0.22rem;
    right: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50% center / 50% 50% no-repeat;
}
.full-search .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #c03130;
    background-color: #c03130;
}
.full-search .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* حقل «البحث عن» */
.full-search .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    font-family: 'Droid Arabic Kufi';
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}

/* ── التبويبات — أبيض على الكحلي، النشط بخلفية حمراء ── */
.full-search .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 15px;
    text-align: center;
}
.full-search .nav-tabs .nav-link {
    flex: 1 1 0;
    display: block;
    padding: 8px 5px;
    line-height: 30px;
    color: #ffffff;
    font-family: 'Droid Arabic Kufi';
    text-decoration: none;
    border: none;
    cursor: pointer;
    /* تحييد قواعد main.css العامة على .nav-link (min-height 48px + خط ذهبي) */
    min-height: 0;
    background: none;
}
.full-search .nav-tabs .nav-link::after { content: none !important; }
.full-search .nav-tabs .nav-link:hover { color: #ffffff; border: none; background: none; }
.full-search .nav-tabs .nav-link.active {
    background-color: #c03130;
    color: white;
    border-radius: 5px;
}

/* ── أجسام التبويبات ── */
.full-search .tab-content > .tab-pane { display: none; }
.full-search .tab-content > .active { display: block; }

/* عنصر نتيجة «كاتب» — Writer_Item (app.rtl.css:12586-12608) */
.Writer_Item .Link { transition: 0.2s ease-in-out; display: block; text-decoration: none; }
.Writer_Item .Link a { text-decoration: none; }
.Writer_Item .Link h2 {
    color: #c5302b;
    font-family: 'Droid Arabic Kufi';
    font-size: 12px;
    padding: 0 5px;
    margin: 0 0 4px;
    display: inline-block;
}
.Writer_Item .Link ul.WriterSocial {
    list-style: none;
    margin: 0;
    display: inline-block;
    background-color: #c6cacd;
    padding: 5px 10px;
    border-radius: 0 5px 5px 0;
}
.Writer_Item .Link ul.WriterSocial li { display: inline-block; margin: 0 3px; }
.Writer_Item .Link ul.WriterSocial svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.Writer_Item .Link ul.WriterSocial a.ny-w-fb { color: #4267b2; }
.Writer_Item .Link ul.WriterSocial a.ny-w-tw { color: #33d0e6; }
.Writer_Item .Link ul.WriterSocial a.ny-w-in { color: #0077b5; }
.Writer_Item .Link:hover { background-color: #072446; }
.Writer_Item .Link:hover h2 { color: #b3b3b3; }
.Writer_Item .Link:hover .WriterSocial { background-color: #a42e2e; }
.Writer_Item .Link:hover .WriterSocial a { color: white !important; }

/* ══════════════════════════════════════════════════════════════════════════
 * صفحة الفيديو المفرد (app.rtl.css:12610-12664) — كتلة كحلية بإطار أحمر علوي:
 * مشغّل 16:9 + عنوان أبيض + تاريخ + مشاركة، ثم شريط القناة وصف متعلقات/الأحدث.
 * ═══════════════════════════════════════════════════════════════════════════ */
.Video_Container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 3px;
    overflow: hidden;
}
.Video_Container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.Video_Item .VideoContent { background-color: white; border-top: 6px solid #a42e2e; }
.Video_Item .VideoShortContent { background-color: #072446; padding: 45px; }
@media (max-width: 767.98px) { .Video_Item .VideoShortContent { padding: 15px; } }
.Video_Item .VideoShortContent h1 {
    padding: 0;
    margin: 40px 0;
    color: #ffffff;
    font-family: 'Droid Arabic Kufi';
    font-size: 16pt;
    font-weight: normal;
    line-height: 160%;
}
.Video_Item .VideoShortContent > span {
    color: #d8d8d8;
    display: inline-block;
    font-family: tahoma;
    font-size: 7.5pt;
}
.Video_Item .VideoShortContent .itemFooter { float: left; }
.Video_Item .VideoShortContent::after { content: ''; display: block; clear: both; }
/* شريط القناة الأم */
.ShowParent { text-decoration: none !important; }
.Video_Item .VideoContent h3 {
    color: #d81a20;   /* نفس تصحيح تباين .newSource */
    font-family: monospace;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
    display: block;
    padding: 0 10px;
}
.Video_Item .VideoContent h3 img {
    margin: 0 1px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    vertical-align: middle;
    margin-inline-end: 8px;
}
/* وصف الفيديو */
.Video_Item .Show .VideoContent > h2 {
    color: #000;
    line-height: 220%;
    overflow: hidden;
    text-align: justify;
    font-family: 'Droid Arabic Kufi' !important;
    font-size: 13pt !important;
    font-weight: normal;
    padding: 8px;
    margin: 0;
}
/* عناصر «اخر الفيديوهات» — عنوان بأيقونة تشغيل رمادية */
.Video_Item .Title { padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, 0.15); }
.Video_Item .Title a { text-decoration: none; }
.Video_Item .Title a h2 {
    font-size: 14px;
    line-height: 39px;
    height: 39px;
    overflow: hidden;
    margin: 0;
    color: black;
    font-family: 'Droid Arabic Kufi';
    font-weight: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.Video_Item .Title a h2 .ny-play {
    color: #ba2011;
    background-color: #cfcfcf;
    display: inline-block;
    width: 39px;
    height: 39px;
    text-align: center;
    vertical-align: top;
    margin-inline-end: 5px;
}
.Video_Item .Title a h2 .ny-play svg { width: 15px; height: 15px; fill: currentColor; vertical-align: middle; }
/* (إزاحة ny-offset-md-1 معرّفة في أعلى الملف ضمن مساعدات الشبكة) */

/* ══════════════════════════════════════════════════════════════════════════
 * بطاقة اتصل بنا .card.Privates (الأصل: بطاقة بيضاء بإطار خفيف + نموذج) 
 * ═══════════════════════════════════════════════════════════════════════════ */
.card.Privates {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    background: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 14px;
    margin-bottom: 16px;
}
.Privates .card-body { padding: 16px; }
.Privates h1 {
    color: #454545;
    font-family: 'Droid Arabic Kufi';
    font-size: 25px;
    font-weight: normal;
    padding: 15px;
    margin: 0 0 8px;
}
.Privates p { font-size: 14px; line-height: 1.6; color: #212529; margin: 0 0 1rem; }
.Privates .ny-form-row { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.Privates .control-label { font-size: 14px; color: #212529; padding: 0 5px; margin: 0; }
.Privates .ny-col-sm-3 { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
.Privates .ny-col-sm-9 { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
@media (min-width: 576px) {
    .Privates .ny-col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .Privates .ny-col-sm-9 { flex: 0 0 75%; max-width: 75%; }
}
.Privates .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    font-family: 'Droid Arabic Kufi';
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}
.Privates textarea.form-control { height: auto; min-height: 120px; resize: vertical; }
.Privates .text-danger { color: #e3342f; }
.Privates .ny-btn-dark {
    color: #fff;
    background-color: #343a40;
    border: 1px solid #343a40;
    padding: 6px 12px;
    font-size: 14px;
    font-family: 'Droid Arabic Kufi';
    border-radius: 4px;
    float: left;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}
.Privates .ny-btn-dark:hover { background-color: #23272b; border-color: #1d2124; }
.Privates form::after { content: ''; display: block; clear: both; }
.Privates .ny-alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; font-size: 13px; }
.Privates .ny-alert-error { background: #fdecea; color: #a42e2e; border: 1px solid #f5c6cb; }
.Privates .ny-alert-success { background: #eaf7ef; color: #1e7e34; border: 1px solid #c3e6cb; }

/* ══════════════════════════════════════════════════════════════════════════
 * صفحات بلا نظير في الأصل — مصمّمة بلغة نيوزيمن البصرية:
 * الإطار الأحمر، الترويسة الكحلية بالشريط النازف، تدرج العناوين 80/20،
 * والانقلاب الكحلي عند التحويم (سلوك Info/Writer_Item/Article_Item المعتمد).
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── فهرس القنوات /channels ── */
.ny-ch-cell { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
@media (min-width: 576px) { .ny-ch-cell { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 768px) { .ny-ch-cell { flex: 0 0 33.3333%; max-width: 33.3333%; } }
.ny-ch-card {
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(7, 36, 70, 0.15);
    border-radius: 6px;
    padding: 26px 14px 20px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: background-color .2s ease-in-out, transform .2s ease-in-out;
}
/* التدرج المميز 80/20 حداً علوياً */
.ny-ch-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(-90deg, #072f52 80%, #a42e2e 80%);
}
.ny-ch-logo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #072446;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(192, 49, 48, 0.12);
    transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.ny-ch-logo-fallback {
    width: 84px; height: 84px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #072446; color: #fff;
    font-family: 'GE_SS_Two_Medium', 'Droid Arabic Kufi'; font-size: 30px;
    border: 3px solid #072446;
    box-shadow: 0 0 0 5px rgba(192, 49, 48, 0.12);
}
.ny-ch-name {
    font-family: 'Droid Arabic Kufi';
    color: #072446;
    font-size: 15px;
    margin: 14px 0 10px;
    transition: color .2s ease-in-out;
}
.ny-ch-count {
    display: inline-block;
    background: #c03130;
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 11px;
    line-height: 1;
    padding: 5px 14px;
    border-radius: 3px;
}
.ny-ch-card:hover { background-color: #072446; transform: translateY(-3px); }
.ny-ch-card:hover .ny-ch-name { color: #fff; }
.ny-ch-card:hover .ny-ch-logo { border-color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15); }

/* ── الموسوعة: بطاقات التصنيفات في الفهرس ── */
.ny-wk-cat-cell { flex: 0 0 100%; max-width: 100%; padding: 0 5px; }
@media (min-width: 576px) { .ny-wk-cat-cell { flex: 0 0 50%; max-width: 50%; } }
.ny-wk-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(7, 36, 70, 0.15);
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 10px;
    transition: background-color .2s ease-in-out;
}
.ny-wk-cat-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: #072446;
    color: #fff;
    font-size: 24px;
    border-radius: 6px;
    border-bottom: 3px solid #c03130;
}
.ny-wk-cat-name {
    font-family: 'Droid Arabic Kufi';
    color: #072446;
    font-size: 14px;
    margin: 0 0 4px;
    transition: color .2s ease-in-out;
}
.ny-wk-cat-count {
    font-family: tahoma;
    font-size: 11px;
    color: #a42e2e;
    transition: color .2s ease-in-out;
}
.ny-wk-cat-card:hover { background-color: #072446; }
.ny-wk-cat-card:hover .ny-wk-cat-name { color: #fff; }
.ny-wk-cat-card:hover .ny-wk-cat-count { color: #d8d8d8; }

/* ── الموسوعة: ترويسة المدخل (الكتلة الكحلية بالحد الأحمر — لغة صفحة الخبر) ── */
.ny-wk-hero {
    background-color: #072446;
    border-top: 6px solid #a42e2e;
    padding: 30px 45px 26px;
    margin-bottom: 16px;
}
@media (max-width: 767.98px) { .ny-wk-hero { padding: 18px 15px; } }
.ny-wk-hero .ny-wk-chip {
    display: inline-block;
    background: #c03130;
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 12px;
    padding: 6px 18px;
    /* الشريط النازف لليمين — توقيع البطاقات */
    margin-right: -45px;
    padding-right: 45px;
    border-radius: 3px 0 0 3px;
    text-decoration: none;
}
@media (max-width: 767.98px) { .ny-wk-hero .ny-wk-chip { margin-right: -15px; padding-right: 15px; } }
.ny-wk-hero h1 {
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 22px;
    font-weight: normal;
    line-height: 160%;
    margin: 16px 0 10px;
}
.ny-wk-hero .ny-wk-updated { color: #d8d8d8; font-family: tahoma; font-size: 7.5pt; display: inline-block; }

/* بطاقة التعريف — pagination_page مصغّرة تطفو يساراً والنص يلتفّ حولها */
.ny-wk-infobox {
    border: 2px solid #c03130;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    margin: 0 0 14px;
}
@media (min-width: 768px) {
    .ny-wk-infobox { float: left; width: 340px; margin: 0 20px 14px 0; }
}
.ny-wk-infobox-title {
    background: #072446;
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 13px;
    padding: 8px 12px;
}
.ny-wk-infobox dl { margin: 0; }
.ny-wk-infobox .ny-wk-row { display: flex; border-bottom: 1px solid rgba(7, 36, 70, 0.1); }
.ny-wk-infobox .ny-wk-row:nth-child(even) { background: rgba(7, 36, 70, 0.04); }
.ny-wk-infobox dt {
    flex: 0 0 38%;
    font-family: 'Droid Arabic Kufi';
    font-size: 11px;
    color: #072446;
    padding: 7px 10px;
    border-inline-end: 1px solid rgba(7, 36, 70, 0.1);
}
.ny-wk-infobox dd {
    flex: 1;
    font-family: 'Droid Arabic Kufi';
    font-size: 11px;
    color: #444;
    padding: 7px 10px;
    margin: 0;
}
/* متن المدخل — نفس اعتماد متن الخبر */
.ny-wk-body {
    font-family: 'Droid Arabic Kufi';
    font-size: 13pt;
    line-height: 220%;
    text-align: justify;
    color: #000;
    overflow: hidden;
}
.ny-wk-body * { max-width: 100% !important; }
.ny-wk-body p { margin: 0 0 1rem; }
.ny-wk-body a { color: #072f52; }
.ny-wk-body img { height: auto; border-radius: 3px; }
.ny-wk-body::after { content: ''; display: block; clear: both; }
.ny-wk-figure { margin: 0 0 14px; }
.ny-wk-figure img { width: 100%; height: auto; border-radius: 3px; }

/* ── صفحة 404 ── */
.ny-404-wrap { max-width: 860px; margin: 30px auto; }
.ny-404-body { text-align: center; padding: 30px 16px 10px; }
.ny-404-code {
    font-family: 'GE_SS_Two_Medium', 'Droid Arabic Kufi';
    font-size: 110px;
    line-height: 1;
    letter-spacing: 6px;
    color: #072f52;           /* كحلي، والرقم الأخير أحمر — انقسام عناوين الأقسام */
    margin-bottom: 6px;
}
.ny-404-code b { color: #a42e2e; font-weight: inherit; }
.ny-404-msg { font-family: 'Droid Arabic Kufi'; color: #666; font-size: 14px; margin: 0 0 22px; }
.ny-404-search { max-width: 420px; margin: 0 auto 26px; }
.ny-404-search input {
    width: 100%;
    border: 2px solid #072446;
    border-radius: 4px;
    padding: 9px 14px;
    font-family: 'Droid Arabic Kufi';
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s ease-in-out;
}
.ny-404-search input:focus { border-color: #c03130; }
.ny-404-home {
    display: inline-block;
    background: #072446;
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 13px;
    padding: 9px 26px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color .2s ease-in-out;
}
.ny-404-home:hover { background: #c03130; color: #fff; }
.ny-404-suggest { text-align: right; padding: 10px 6px 0; }

/* ── الصفحات الثابتة — بطاقة Page_Card الأصلية (h1 كحلي غامق + متن بإطار أحمر) ── */
.card.Page_Card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 4px;
    margin: 16px 0;
}
.Page_Card h1 {
    color: #0a005f;
    font-family: 'Droid Arabic Kufi';
    font-size: 25px;
    font-weight: normal;
    padding: 15px;
    margin: 0 0 8px;
}
.Page_Card .card-body { padding: 16px; }
.Page_Card .Content {
    border: 1px solid #ed1c24;
    padding: 10px;
    overflow: hidden;
    box-shadow: -1px 1px 6px -2px #000;
    font-family: 'Droid Arabic Kufi';
    font-size: 14px;
    line-height: 1.6;
    color: #212529;
}
.Page_Card .Content p { margin: 0 0 1rem; }
.Page_Card .Content img { max-width: 100%; height: auto; }
.Page_Card .Content a { color: #072f52; }

/* صفحات السرد (تصنيف الخبر/البحث/الموسوعة): المقتطف على سطرين كاملين
 * والعنوان أسود مرتاح — القاعدة العامة (سطر واحد 18px) تخص أعمدة الرئيسية */
.pagination_page .News_Item .Link h2 {
    color: #000000;
    line-height: 150%;
    max-height: 40px;
    margin: 0 0 4px;
}
.pagination_page .News_Item .Link h3 {
    line-height: 18px;
    max-height: 36px;
}

/* ══════════════════════════════════════════════════════════════════════════
 * إمكانية الوصول — تصحيحات مقيسة بـLighthouse (لا تغيّر الهوية البصرية)
 * ═══════════════════════════════════════════════════════════════════════════ */

/* روابط التذييل خارج .ny-footer-copy (سطر المطوّر) كانت ترث لون زامن الداكن
 * #14171c على الكحلي → تباين 1.15، أي نص غير مقروء عملياً. */
.ny-footer p a { color: #ffd881; }

/* مساحة اللمس: أيقونات التذييل 15px بأيقونة 10px، والمسافة بين مراكزها 20px —
 * دون حد 24px. صندوق الرابط وحده يكبر إلى 24×24 مع بقاء الأيقونة 10px تماماً،
 * فالشكل ثابت والهدف يصير مطابقاً للمعيار. (::after لا يكفي — Lighthouse يقيس
 * صندوق العنصر نفسه لا زخارفه.) */
.ny-footer ul.Social li a {
    width: 24px;
    height: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.ny-footer ul.Social li {
    width: 24px !important;    /* كان 15px فيتجاوزه الرابط وتتداخل الأهداف */
    height: 24px !important;
    margin-left: 0 !important;
}

/* الأيقونات الأخرى (الهيدر والمشاركة): توسعة منطقة النقر بلا تغيير التخطيط */
ul.Social li a,
ul.Share li a,
ul.Share li .ny-copy-btn { position: relative; }
ul.Social li a::after,
ul.Share li a::after,
ul.Share li .ny-copy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

/* ══════════════════════════════════════════════════════════════════════════
 * البحث الفوري في الترويسة (app.rtl.css: .ResultMain .SearchOptions/.Results)
 * الأصل: عمود خيارات ضيّق يميناً (col-md-3) ولوحة نتائج بتبويبات يساراً،
 * تُملأ عبر /ajaxsearch أثناء الكتابة.
 * ═══════════════════════════════════════════════════════════════════════════ */
.ResultMain .ny-rm-row { align-items: flex-start; gap: 12px; flex-wrap: nowrap; }
.ResultMain .SearchOptions { flex: 0 0 25%; max-width: 289px; }
.ResultMain .Results { flex: 1 1 auto; min-width: 0; }
@media (max-width: 767.98px) {
    .ResultMain .ny-rm-row { flex-wrap: wrap; }
    .ResultMain .SearchOptions { flex: 0 0 100%; max-width: 100%; }
    .ResultMain .Results { flex: 0 0 100%; }
}
.ResultMain .ny-rm-chk { gap: 0; }
.ResultMain .ny-rm-chk .ny-colf { flex: 1 0 50%; padding: 0; }
.ResultMain .custom-control {
    position: relative;
    display: block;
    min-height: 1.44rem;
    padding-right: 1.5rem;
}
.ResultMain .custom-control-input { position: absolute; z-index: -1; opacity: 0; }
.ResultMain .custom-control-label {
    position: relative;
    margin-bottom: 0;
    color: #fff;
    font-family: 'Droid Arabic Kufi';
    font-size: 12px;
    cursor: pointer;
}
.ResultMain .custom-control-label::before {
    position: absolute;
    top: 0.22rem;
    right: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-color: #fff;
    border: 1px solid #adb5bd;
    border-radius: 0.25rem;
    pointer-events: none;
}
.ResultMain .custom-control-label::after {
    position: absolute;
    top: 0.22rem;
    right: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50% center / 50% 50% no-repeat;
}
/* المحدَّد كحلي — لون الأصل داخل اللوحة الحمراء */
.ResultMain .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #072446;
    background-color: #072446;
}
.ResultMain .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* لوحة النتائج */
.ResultMain .Results:empty { background-color: #fff; border-radius: 5px; min-height: 25px; }
.ResultMain .Results .nav-tabs {
    display: flex;
    padding: 0 10px;
    margin: 0;
    border: none;
    list-style: none;
}
.ResultMain .Results .nav-tabs .nav-link {
    flex: 1 1 0;
    color: #fff;
    line-height: 8px;
    text-align: center;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 12px;
    font-family: 'Droid Arabic Kufi';
    text-decoration: none;
    cursor: pointer;
    min-height: 0;      /* تحييد قاعدة main.css على .nav-link */
    background: none;
}
.ResultMain .Results .nav-tabs .nav-link::after { content: none !important; }
.ResultMain .Results .nav-tabs .nav-link.active { color: #fff; background-color: #072446; }
.ResultMain .Results .tab-content {
    background-color: #f1f1f1;
    min-height: 160px;
    border: 1px solid #072446;
    padding: 10px;
    box-shadow: inset 0 0 5px 0 #072446;
    border-radius: 5px;
}
.ResultMain .Results .tab-content > .tab-pane { display: none; max-height: 400px; overflow: hidden auto; }
.ResultMain .Results .tab-content > .tab-pane.active { display: block; }
.ResultMain .search-main-row:not(:last-child) .search-main-column {
    border-bottom: 1px solid rgba(7, 36, 70, 0.2);
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.ResultMain .empty-result {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Droid Arabic Kufi';
    font-size: 13px;
    color: #666;
    padding: 20px 0;
}

/* ── الشريط السفلي للتذييل ──────────────────────────────────────────────────
 * الحقوق بادئةً (يمين في RTL) بالأبيض · الرصيد التقني خاتمةً (يسار) بالأصفر،
 * وكلاهما يرث font-size من .ny-footer-copy فيتطابق حجمهما بالبناء لا بالتكرار.
 * يلتفّان إلى سطرين متمركزين على الجوال بدل أن ينضغطا. */
.ny-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.ny-footer-bottom .ny-footer-copy {
    width: auto;
    margin: 0;
    text-align: start;
}
.ny-footer-bottom .ny-footer-rights { color: #fff; }
/* المحدِّدات الأخيرة تغلب `.ny-footer p a` (سطر 2303) الذي يلوّن كل روابط التذييل */
.ny-footer-bottom .ny-footer-credit,
.ny-footer-bottom .ny-footer-credit p,
.ny-footer-bottom .ny-footer-credit a { color: #ffd881; }
.ny-footer-bottom .ny-footer-credit a { text-decoration: none; }
.ny-footer-bottom .ny-footer-credit a:hover { text-decoration: underline; }
/* الرصيد قد يصل من حقل نصّي غنيّ ملفوفاً بـ<p> — حيّده حتى لا يكسر المحاذاة */
.ny-footer-bottom .ny-footer-credit p { display: inline; margin: 0; font-size: inherit; }
@media (max-width: 575.98px) {
    .ny-footer-bottom { justify-content: center; }
    .ny-footer-bottom .ny-footer-copy { text-align: center; }
}
