/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 10 2026 | 08:30:22 */
/* Ribat 3 — Barre latérale
   Sections 3, 8, 15 de l'ancien CSS additionnel (découpage du 30/10/2026).
   Ordre de chargement : priorité 3. */

/* ===== 3. Menu vertical de la barre latérale (widget Menu) ===== */

/* Police coufique pour tous les liens du menu */
.widget_nav_menu a {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* Catégories principales : collées à droite, en gras */
.widget_nav_menu .menu > .menu-item > a,
.widget_nav_menu .menu-item-has-children > a {
    padding-right: 0 !important;
    font-weight: 700 !important;
}

/* Sous-catégories : en retrait vers la gauche, un peu plus petites */
.widget_nav_menu .sub-menu {
    padding-right: 18px !important;
    padding-left: 0 !important;
}
.widget_nav_menu .sub-menu a {
    font-size: 13px;
    font-weight: 400 !important;
}

/* Titre du widget en coufi également (barre latérale uniquement) */
.sidebar .widget_nav_menu .widget-title,
.sidebar .widget_nav_menu .the-subtitle {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
}

/* ===== 8. Menu des rubriques dans la barre latérale (widget Menu) =====
   Carte blanche (comme les articles) sur le fond papier du site.
   Couleurs : bleu nuit #0f3a73, or #eec53a / #9a7230, sable #fbeab0 au survol. */

.sidebar .widget_nav_menu,
#nav_menu-2 {
    background: #ffffff !important;
    border: 1px solid #dbe4f0 !important;
    border-top: 4px solid #eec53a !important;
    border-radius: 6px;
    padding: 18px 16px !important;
}

/* Catégories principales : bandeau bleu nuit, liseré or */
.sidebar .widget_nav_menu .menu > li > a,
#nav_menu-2 .menu > li > a {
    display: block;
    background: #0f3a73;
    color: #ffffff !important;
    padding: 7px 12px !important;
    border-radius: 4px;
    border-right: 3px solid #eec53a;
    margin-top: 10px;
    transition: background .2s;
}
.sidebar .widget_nav_menu .menu > li:first-child > a,
#nav_menu-2 .menu > li:first-child > a { margin-top: 0; }

/* Sous-catégories */
.sidebar .widget_nav_menu .sub-menu,
#nav_menu-2 .sub-menu { padding: 6px 18px 2px 0 !important; }
.sidebar .widget_nav_menu .sub-menu a,
#nav_menu-2 .sub-menu a {
    color: #0f3a73 !important;
    padding: 4px 6px !important;
    display: block;
    border-radius: 3px;
    transition: background .2s, color .2s;
}

/* Survol */
.sidebar .widget_nav_menu .menu > li > a:hover,
#nav_menu-2 .menu > li > a:hover { background: #245a9e; }
.sidebar .widget_nav_menu .sub-menu a:hover,
#nav_menu-2 .sub-menu a:hover {
    background: #fbeab0;
    color: #9a7230 !important;
}

/* Rubrique en cours */
.sidebar .widget_nav_menu .current-menu-item > a,
#nav_menu-2 .current-menu-item > a {
    font-weight: 700 !important;
    text-decoration: underline;
    text-decoration-color: #eec53a;
    text-underline-offset: 4px;
}

/* Retirer les flèches du thème */
.sidebar .widget_nav_menu li::before,
#nav_menu-2 li::before { display: none !important; }

/* Menu des rubriques (widget #nav_menu-2 uniquement) : lignes resserrées */
#nav_menu-2 a {
    line-height: 1.65 !important;
}
#nav_menu-2 .menu > li > a {
    padding: 6px 12px !important;
    margin-top: 8px;
    background: #3d6bb0;          /* bleu allégé (au lieu de #0f3a73) */
}
#nav_menu-2 .menu > li > a:hover {
    background: #0f3a73;          /* bleu nuit au survol */
}
#nav_menu-2 .sub-menu { padding: 4px 18px 2px 0 !important; }
#nav_menu-2 .sub-menu a { padding: 3px 6px !important; }
#nav_menu-2 li {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}

/* ===== 15. Barre latérale : archives en liste déroulante =====
   Bloc Archives avec la classe CSS « archives-ribat ». */
.archives-ribat select {
    width: 100%;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 14px;
    color: #0f3a73;
    line-height: 1.6 !important;
    height: auto !important;      /* Jannah fixe une hauteur trop basse */
    min-height: 40px;
    background-color: #e9f0fa;    /* bleu très pâle (au lieu du fond papier) */
    border: 1px solid #cfdcef;
    border-right: 3px solid #eec53a;
    border-radius: 4px;
    padding: 6px 12px !important;
    cursor: pointer;
}
.archives-ribat select:hover,
.archives-ribat select:focus {
    border-color: #eec53a;
    outline: none;
}

/* ===== 30. Barre latérale : onglets du widget (الأخيرة، الأشهر، تعليقات) =====
   Police des menus (Alexandria) au lieu de celle du texte (Markazi Text),
   qui paraissait trop petite depuis le changement de police du 30/10. */
.tabs-container-wrapper .tabs a {
    font-family: 'Alexandria', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}


/* ===== 31. Barre latérale : carte du dernier dossier (code court [malafat_lateral]) =====
   Classeur de la page « ملفات المجلة » (section 24 du bloc Ribat 7), en plus petit,
   suivi du lien « كل الملفات ». Extrait n° 18. */
.rk-lat-malaf a { text-decoration: none !important; }
.rk-lat-malaf .malafat-carte {
    max-width: 270px;
    margin: 0 auto;
}
.rk-lat-malaf .malaf-chemise { padding: 14px 12px 10px !important; }
.rk-lat-malaf .malaf-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.rk-lat-malaf .malaf-etiquette { margin-top: 10px !important; }
.rk-lat-malaf a.rk-lat-tous {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-family: 'Alexandria', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #9a7230 !important;
}
.rk-lat-malaf a.rk-lat-tous:hover { color: #0f3a73 !important; }

/* ===== 32. Barre latérale : encadré « دعوة إلى الكتابة » (widget HTML block-28, en tête) =====
   Version « nuit étoilée » (31/10) : fond bleu nuit, motif géométrique or discret,
   filet or en haut, plume or, bouton or « أرسل مقالك » (page 2373),
   liens « شروط النشر · اتصل بنا » (pages 2373 et 78). Texte modifiable dans le widget. */
.rk-appel {
    position: relative;
    overflow: hidden;
    background: #0f3a73;
    border-top: 3px solid #eec53a;
    border-radius: 6px;
    padding: 24px 22px 18px;
    text-align: center;
    direction: rtl;
    box-shadow: 0 6px 18px rgba(15, 58, 115, .18);
}
/* Motif géométrique or, très discret */
.rk-appel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .12;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23eec53a' stroke-width='1'%3E%3Crect x='12' y='12' width='16' height='16'/%3E%3Crect x='12' y='12' width='16' height='16' transform='rotate%2845 20 20%29'/%3E%3C/g%3E%3C/svg%3E") repeat center / 40px;
}
.rk-appel > * { position: relative; }
.rk-appel a { text-decoration: none !important; }
.rk-appel-plume {
    display: block;
    margin: 0 auto 6px;
    color: #eec53a;
}
.rk-appel-sur {
    display: block;
    font-family: 'Alexandria', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.rk-appel .rk-appel-texte {
    font-family: 'Markazi Text', serif;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #d9cfbf !important;
    margin: 0 0 16px !important;
    text-align: center !important;
}
.rk-appel a.rk-appel-btn {
    display: inline-block;
    background: #eec53a;
    color: #0f3a73 !important;
    font-family: 'Alexandria', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 26px;
    border-radius: 24px;
    transition: background .2s, transform .2s;
}
.rk-appel a.rk-appel-btn:hover {
    background: #f7d65c;
    transform: translateY(-1px);
}
.rk-appel-liens {
    display: block;
    margin-top: 12px;
    font-family: 'Alexandria', sans-serif;
    font-size: 12px;
    color: #eec53a;
}
.rk-appel-liens a { color: #eec53a !important; }
.rk-appel-liens a:hover { color: #ffffff !important; }
/* Le widget qui contient l'encadré : sans carte blanche autour */
.sidebar .widget:has(.rk-appel) {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* ===== 35. Barre latérale : menu des rubriques avec icônes (code court [rubriques_laterales]) =====
   Widget « أبواب المجلة » (block-30), extrait n° 19. Icône or dans une pastille sable,
   nombre d'articles à gauche ; rubrique en cours et survol : fond sable,
   pastille bleu nuit à icône or. Remplace l'ancien widget Menu (nav_menu-2, inactif). */
.rk-rub {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rk-rub li {
    margin: 0 0 2px !important;
    padding: 0 !important;
}
.rk-rub li::before { display: none !important; }
.rk-rub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px;
    border-radius: 6px;
    color: #0f3a73 !important;
    font-family: 'Alexandria', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background .2s;
}
.rk-rub-ic {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fdf3cf;
    color: #9a7230;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}
.rk-rub-ic svg {
    width: 17px;
    height: 17px;
}
.rk-rub-nb {
    margin-inline-start: auto;
    font-size: 11px;
    font-weight: 400;
    color: #7d8a97;
    background: #f3f5f8;
    border-radius: 10px;
    padding: 1px 8px;
    min-width: 26px;
    text-align: center;
}
.rk-rub a:hover,
.rk-rub a.on {
    background: #fdf3cf;
}
.rk-rub a:hover .rk-rub-ic,
.rk-rub a.on .rk-rub-ic {
    background: #0f3a73;
    color: #eec53a;
}
.rk-rub a.on .rk-rub-nom { font-weight: 700; }


/* ===== 38. Barre latérale : nuage « كلمات مفتاحية » lisible (bloc de classe nuage-ribat) =====
   WordPress donne à chaque mot une taille de 8 pt à 22 pt selon sa fréquence ;
   en Markazi, les plus petits étaient illisibles. Police Alexandria et tailles
   resserrées entre 13 et 19 px, en gardant la hiérarchie (mots fréquents plus grands). */
.nuage-ribat a {
    font-family: 'Alexandria', sans-serif !important;
    font-weight: 500;
    line-height: 1.9 !important;
    margin: 0 4px 4px 4px !important;
    color: #0f3a73 !important;
    text-decoration: none !important;
    display: inline-block;
}
.nuage-ribat a:hover { color: #c44c33 !important; }
.nuage-ribat a[style*="font-size: 8pt"],
.nuage-ribat a[style*="font-size: 9."],
.nuage-ribat a[style*="font-size: 10."],
.nuage-ribat a[style*="font-size: 11."] { font-size: 13px !important; font-weight: 400; color: #4a5a72 !important; }
.nuage-ribat a[style*="font-size: 12."],
.nuage-ribat a[style*="font-size: 13."] { font-size: 14px !important; }
.nuage-ribat a[style*="font-size: 14."],
.nuage-ribat a[style*="font-size: 15."] { font-size: 15px !important; }
.nuage-ribat a[style*="font-size: 16."],
.nuage-ribat a[style*="font-size: 17."] { font-size: 16px !important; }
.nuage-ribat a[style*="font-size: 18."],
.nuage-ribat a[style*="font-size: 19."] { font-size: 17px !important; font-weight: 600; }
.nuage-ribat a[style*="font-size: 2"] { font-size: 19px !important; font-weight: 600; }

/* ===== 50. Barre latérale — onglets enrichis (الأحدث · الأكثر قراءة · من الأرشيف · تعليقات) =====
   HTML produit par le snippet 26, code court [onglets_lateraux]. */
.rk-ong { direction: rtl; background: #fff; border: 1px solid #e3e9f2; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(15,58,115,.05); }
.rk-ong-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #f3f7fc; border-bottom: 1px solid #e3e9f2; }
.rk-ong .rk-ong-tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 0; margin: 0; padding: 11px 2px 9px; background: transparent !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; color: #6b7a8f !important; font-family: 'Alexandria', sans-serif; font-size: 12px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: color .2s, background .2s; }
.rk-ong .rk-ong-tabs button svg { width: 19px; height: 19px; }
.rk-ong .rk-ong-tabs button:hover { color: #0f3a73 !important; }
.rk-ong .rk-ong-tabs button.on { color: #0f3a73 !important; background: #fff !important; border-bottom-color: #eec53a !important; }
.rk-ong-p { display: none; padding: 4px 16px 12px; }
.rk-ong-p.on { display: block; animation: rkOng .25s ease; }
@keyframes rkOng { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rk-ong a.rk-ong-it { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed #edf1f6; text-decoration: none !important; }
.rk-ong a.rk-ong-it:last-of-type { border-bottom: 0; }
.rk-ong-img { flex: none; width: 62px; height: 62px; border-radius: 9px; object-fit: cover; background: #f0ece3; margin: 0 !important; }
.rk-ong-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rk-ong-tx b { font-family: 'Alexandria', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.6; color: #22272e; transition: color .2s; }
.rk-ong a.rk-ong-it:hover b { color: #0f3a73; }
.rk-ong-tx i { font-style: normal; font-family: 'Alexandria', sans-serif; font-size: 11.5px; color: #6b7a8f; }
.rk-ong-rang { flex: none; width: 34px; text-align: center; font-family: 'Alexandria', sans-serif; font-size: 24px; font-weight: 600; color: #c9d3e1; line-height: 1; }
.rk-ong-rang.r1 { color: #c44c33; } .rk-ong-rang.r2 { color: #e0a81c; } .rk-ong-rang.r3 { color: #14a8c4; }
.rk-ong-an { flex: none; min-width: 52px; text-align: center; padding: 5px 6px; border-radius: 8px; background: #fdf3cf; color: #8a6d1d; font-family: 'Alexandria', sans-serif; font-size: 13px; font-weight: 600; }
.rk-ong-intro { margin: 10px 0 2px !important; font-family: 'Alexandria', sans-serif; font-size: 12.5px; color: #6b7a8f; }
.rk-ong-com .rk-ong-tx b { font-family: 'Alexandria', sans-serif; font-size: 13px; color: #0f3a73; }
.rk-ong-cit { display: block; font-family: 'Markazi Text', serif; font-size: 16.5px; line-height: 1.55; color: #3d4654; }
.rk-ong a.rk-ong-tout { display: block; margin-top: 8px; padding: 8px; text-align: center; border-radius: 20px; background: #f3f7fc; font-family: 'Alexandria', sans-serif; font-size: 13px; color: #0f3a73 !important; text-decoration: none !important; }
.rk-ong a.rk-ong-tout:hover { background: #0f3a73; color: #fff !important; }

/* ===== 50 bis. Onglets enrichis — présentation « en escalier » (un onglet par ligne, bande de couleur à gauche) ===== */
.rk-ong { border-color: #efe1bd; border-radius: 16px; padding: 12px 12px 4px; }
.rk-ong .rk-ong-tabs { display: flex !important; flex-direction: column; gap: 6px; background: none !important; border: 0 !important; padding: 0 0 10px; }
.rk-ong .rk-ong-tabs button, .rk-ong .rk-ong-tabs button.on { display: block !important; width: 100%; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.rk-ong .rk-ong-tabs button.k1 { padding-right: 26px !important; }
.rk-ong .rk-ong-tabs button.k2 { padding-right: 52px !important; }
.rk-ong .rk-ong-tabs button.k3 { padding-right: 78px !important; }
.rk-ong-row { display: flex; align-items: stretch; height: 40px; border-radius: 10px; overflow: hidden; background: var(--band); transition: box-shadow .2s, transform .2s; }
.rk-ong-lab { flex: none; display: flex; align-items: center; gap: 8px; width: 148px; padding: 0 14px 0 22px; background: var(--lab); color: var(--txt); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); font-family: 'Alexandria', sans-serif; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: filter .2s; }
.rk-ong .rk-ong-lab svg { width: 18px !important; height: 18px !important; flex: none; }
.rk-ong .k0 { --lab: #0f3a73; --txt: #fff; --band: #f6e7b8; }
.rk-ong .k1 { --lab: #2a5d9f; --txt: #fff; --band: #d6e5f5; }
.rk-ong .k2 { --lab: #6f92bf; --txt: #fff; --band: #e2ebf6; }
.rk-ong .k3 { --lab: #c3d1e3; --txt: #0f3a73; --band: #edf1f7; }
.rk-ong .rk-ong-tabs button:hover .rk-ong-lab { filter: brightness(1.08); }
.rk-ong .rk-ong-tabs button.on .rk-ong-row { box-shadow: 0 3px 8px rgba(15,58,115,.18); transform: translateX(-3px); }
.rk-ong .rk-ong-tabs button.on .rk-ong-lab { box-shadow: inset -5px 0 0 #eec53a; }
.rk-ong .rk-ong-tabs button:not(.on) .rk-ong-row { opacity: .88; }
.rk-ong-p { padding: 0 4px 8px; }
.rk-ong p.rk-ong-info { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px !important; padding: 8px 12px; background: #fdf6e3; border: 1px solid #f1e3bb; border-radius: 10px; font-family: 'Alexandria', sans-serif !important; font-size: 12.5px !important; line-height: 1.5 !important; color: #6b5a3a; }
.rk-ong p.rk-ong-info::before { content: "i"; flex: none; width: 20px; height: 20px; border: 1.5px solid #c99400; border-radius: 50%; color: #c99400; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }

/* ===== 50 ter. Onglets enrichis — onglets « classeur » aux bords courbes, superposés ===== */
.rk-ong { border: 1.5px solid #ecd28a; border-radius: 18px; padding: 14px 12px 4px; background: linear-gradient(#fff, #fffdf8); box-shadow: 0 6px 18px rgba(15,58,115,.08), inset 0 -3px 0 #f3dc94; }
.rk-ong .rk-ong-tabs { gap: 0; padding: 0 0 12px; }
.rk-ong .rk-ong-tabs button { position: relative; }
.rk-ong .rk-ong-tabs button + button { margin-top: -7px !important; }
.rk-ong .rk-ong-tabs button.k0 { z-index: 4; } .rk-ong .rk-ong-tabs button.k1 { z-index: 3; } .rk-ong .rk-ong-tabs button.k2 { z-index: 2; } .rk-ong .rk-ong-tabs button.k3 { z-index: 1; }
.rk-ong .rk-ong-row { height: 44px; border-radius: 22px 14px 14px 22px; background: linear-gradient(180deg, var(--band) 0%, var(--band2, var(--band)) 100%); box-shadow: 0 2px 5px rgba(15,58,115,.12), inset 0 1px 0 rgba(255,255,255,.7); opacity: 1 !important; }
.rk-ong .rk-ong-lab { width: 156px; padding: 0 16px 0 30px; border-radius: 0 14px 14px 0; background: linear-gradient(180deg, var(--lab2, var(--lab)) 0%, var(--lab) 100%); clip-path: path('M 30 0 H 156 V 44 H 0 C 16 44 14 0 30 0 Z'); font-size: 14px; }
.rk-ong .k0 { --lab: #0b3266; --lab2: #1c4f8f; --band: #fbefc8; --band2: #f3dc94; }
.rk-ong .k1 { --lab: #2a5d9f; --lab2: #4479bd; --band: #e3eefa; --band2: #c9dcf2; }
.rk-ong .k2 { --lab: #6489b8; --lab2: #85a6cf; --band: #eaf1f9; --band2: #d6e3f2; }
.rk-ong .k3 { --lab: #b3c6de; --lab2: #cdd9ea; --txt: #0f3a73; --band: #f1f4f9; --band2: #e2e8f1; }
.rk-ong .rk-ong-tabs button.on .rk-ong-row { transform: none; box-shadow: 0 5px 12px rgba(15,58,115,.22), inset 0 1px 0 rgba(255,255,255,.7); }
.rk-ong .rk-ong-tabs button.on .rk-ong-lab { box-shadow: none; }
.rk-ong .rk-ong-tabs button.on .rk-ong-row::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 5px; border-radius: 0 14px 14px 0; background: #eec53a; }
.rk-ong .rk-ong-tabs button .rk-ong-row { position: relative; }
.rk-ong .rk-ong-tabs button:not(.on) .rk-ong-lab { filter: saturate(.85); }
.rk-ong .rk-ong-tabs button:hover .rk-ong-row { box-shadow: 0 4px 10px rgba(15,58,115,.2); }
.rk-ong .rk-ong-img-p { width: 54px; height: 54px; }
.rk-ong .rk-ong-rang { width: 22px; font-size: 22px; }
/* Le widget qui contient les onglets n'a pas de cadre propre : le cadre est celui de .rk-ong */
.container-wrapper.widget_block:has(.rk-ong) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }

/* ===== 51. Barre latérale — titres et cadres des widgets assortis aux onglets « classeur » (section 50 ter) =====
   Concerne les widgets qui ont un titre (أبواب المجلة، ملفات المجلة، أرشيف المجلة، كلمات مفتاحية…). */
aside.sidebar .container-wrapper.widget:has(> .widget-title) { border: 1.5px solid #ecd28a !important; border-radius: 18px !important; padding: 14px 16px 18px !important; background: linear-gradient(#fff, #fffdf8) !important; box-shadow: 0 6px 18px rgba(15,58,115,.08), inset 0 -3px 0 #f3dc94 !important; }
aside.sidebar .container-wrapper.widget > .widget-title { position: relative; display: flex !important; align-items: stretch; height: 44px; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; border-radius: 22px 14px 14px 22px; background: linear-gradient(180deg, #fbefc8 0%, #f3dc94 100%) !important; box-shadow: 0 3px 8px rgba(15,58,115,.14), inset 0 1px 0 rgba(255,255,255,.7); overflow: visible; }
aside.sidebar .container-wrapper.widget > .widget-title::before, aside.sidebar .container-wrapper.widget > .widget-title::after { display: none !important; }
aside.sidebar .container-wrapper.widget > .widget-title .the-subtitle { position: relative; display: flex !important; align-items: center; margin: 0 0 0 30px !important; padding: 0 16px 0 10px !important; border: 0 !important; border-radius: 0 14px 14px 0; background: linear-gradient(180deg, #1c4f8f 0%, #0b3266 100%) !important; color: #fff !important; font-family: 'Alexandria', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1 !important; box-shadow: inset -5px 0 0 #eec53a; }
aside.sidebar .container-wrapper.widget > .widget-title .the-subtitle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -30px; width: 30px; background: linear-gradient(180deg, #1c4f8f 0%, #0b3266 100%); clip-path: path('M 30 0 V 44 H 0 C 16 44 14 0 30 0 Z'); }
aside.sidebar .container-wrapper.widget > .widget-title .the-subtitle::after { display: none !important; }

/* ===== 52. Barre latérale — vidéos de la chaîne YouTube (snippet [videos_majalla]) ===== */
.rk-vid { direction: rtl; }
.rk-vid .rk-vid-ecran { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; border: 0 !important; border-radius: 12px !important; overflow: hidden; cursor: pointer; background: linear-gradient(135deg, #0f3a73 0%, #0a2a55 55%, #14a8c4 140%) !important; box-shadow: 0 4px 12px rgba(15,58,115,.18); }
.rk-vid .rk-vid-ecran::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(238,197,58,.28), transparent 55%); }
.rk-vid-play { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); width: 64px; height: 46px; border-radius: 14px; background: #c44c33; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.rk-vid-play svg { width: 26px; height: 26px; }
.rk-vid .rk-vid-ecran:hover .rk-vid-play { transform: translate(-50%,-50%) scale(1.08); background: #d65a3f; }
.rk-vid-txt { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-family: 'Alexandria', sans-serif; font-size: 14px; font-weight: 600; }
.rk-vid .rk-vid-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.rk-vid a.rk-vid-chaine { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 8px; border-radius: 20px; background: #f3f7fc; color: #0f3a73 !important; font-family: 'Alexandria', sans-serif; font-size: 13px; text-decoration: none !important; }
.rk-vid a.rk-vid-chaine svg { width: 20px; height: 20px; color: #c44c33; }
.rk-vid a.rk-vid-chaine:hover { background: #0f3a73; color: #fff !important; }

/* 52 bis. Vidéos : le lecteur occupe toute la largeur du cadre, en format plus haut */
aside.sidebar .container-wrapper.widget:has(.rk-vid) { padding-left: 10px !important; padding-right: 10px !important; }
aside.sidebar .container-wrapper.widget:has(.rk-vid) > .widget-title { margin-left: 4px !important; margin-right: 4px !important; }
.rk-vid .rk-vid-ecran, .rk-vid .rk-vid-frame { aspect-ratio: 4 / 3 !important; }
.rk-vid-play { width: 76px; height: 54px; }
.rk-vid-txt { font-size: 15px; bottom: 18px; }

/* 52 ter. Méga-menu « أنشطة علمية » — aperçu des vidéos au survol de « فيديوهات » */
.rk-mega-vthumb { position: relative; display: block; }
.rk-mega-vthumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rk-mega-vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 42px; height: 30px; border-radius: 9px; background: rgba(196,76,51,.92); box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.rk-mega-vplay::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%,-50%); border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.rk-mega-vids::after { content: ""; display: table; clear: both; }
.rk-mega-vids .mega-menu-post { opacity: 1 !important; animation: rkMegaV .35s ease both; }
.rk-mega-vids .mega-menu-post:nth-child(2) { animation-delay: .08s; } .rk-mega-vids .mega-menu-post:nth-child(3) { animation-delay: .16s; } .rk-mega-vids .mega-menu-post:nth-child(4) { animation-delay: .24s; }
@keyframes rkMegaV { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ===== 54. Barre latérale — widget « بواسطة … » (articles du même auteur) :
   titres de même taille que les onglets « الأحدث » (section 50) ===== */
.widget_author_posts .post-widget-body .post-title {
    font-family: 'Alexandria', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}