/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 13 2026 | 20:44:17 */
/* Ribat 9 — Pied de page et soutien du ministère
   Sections 9, 10, 27, 28 de l'ancien CSS additionnel (découpage du 30/10/2026).
   Ordre de chargement : priorité 9. */

/* ===== 9. Pied de page : les deux menus de la colonne du milieu =====
   « أبواب المجلة » (widget Catégories de Jannah) et « عن المجلة » (widget Menu) :
   même police que le texte du site (Markazi Text), même taille.
   Annule aussi, dans le footer, le style coufi gras de la section 3 (prévu pour
   la barre latérale) et rétablit les petites flèches ›. */
#footer .widget_nav_menu li {
    padding-right: 12px !important;
}
#footer .widget_nav_menu a,
#footer .tie-widget-categories li a {
    font-family: 'Markazi Text', serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 21px !important;
}
#footer .widget_nav_menu a::before {
    display: inline-block !important;
}
#footer .tie-widget-categories li > span { display: none !important; }

/* ===== 10. Pied de page : trois colonnes, traits de séparation =====
   Disposition « 3 colonnes » (Theme Options → Footer).
   Colonne du milieu : « أبواب المجلة » puis, en dessous, « عن المجلة » (#nav_menu-4),
   séparés par un filet or.
   Colonnes de même hauteur (flex) pour que les traits aient tous la même longueur.
   Sélecteurs [class*="tie-col-"] : valables quelle que soit la disposition choisie. */
@media (min-width: 992px) {
    #footer .footer-widget-area > .tie-row {
        display: flex !important;
        align-items: stretch;
    }
    #footer .footer-widget-area > .tie-row > [class*="tie-col-"] {
        float: none !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    #footer .footer-widget-area > .tie-row > [class*="tie-col-"]:not(:last-child) {
        border-left: 1px solid rgba(238, 197, 58, .25);
    }
}

/* Sur tablette et téléphone, les colonnes s'empilent :
   on les sépare par un trait horizontal */
@media (max-width: 991px) {
    #footer .footer-widget-area > .tie-row > [class*="tie-col-"]:not(:last-child) {
        border-bottom: 1px solid rgba(238, 197, 58, .25);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* Colonne du milieu : « عن المجلة » sous « أبواب المجلة », filet or entre les deux */
#footer #nav_menu-4 {
    margin-top: 24px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(238, 197, 58, .25);
}

/* « أحدث المقالات » : titres plus petits.
   Sélecteur par classe (.posts-list) et non par identifiant de widget :
   WordPress change l'identifiant quand on déplace le widget. */
#footer .posts-list .post-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
}

/* ===== 27. Soutien du ministère =====
   Codes courts [soutien_accueil] (bande sous le slider, page d'accueil 7299)
   et [soutien_pied] (colonne 1 du footer), extrait « Soutien du ministère ».
   Logo sur fond blanc : posé sur une bande blanche (accueil)
   ou dans un cartouche blanc (footer bleu nuit). */
.soutien {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    direction: rtl;
}
.soutien-texte {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}
.soutien-phrase {
    font-family: 'Markazi Text', serif;
    font-size: 20px;
    line-height: 1.5;
    color: #4a5a6b;
}
.soutien-annee {
    font-family: 'Alexandria', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #9a7230;
}
.soutien-filet {
    width: 1px;
    align-self: stretch;
    background: #eec53a;
    opacity: .6;
}
.soutien-cartouche { display: block; line-height: 0; }
.soutien-logo { display: block; max-width: 100%; height: auto; }

/* Accueil : bande blanche entre deux filets or */
.soutien-accueil {
    background: #ffffff;
    border-top: 2px solid #eec53a;
    border-bottom: 2px solid #eec53a;
    padding: 14px 24px;
}
.soutien-accueil .soutien-logo { width: 260px; }
/* Le bloc Custom Content de Jannah encadre la bande d'une carte blanche
   (bordure + 30 px de marge intérieure) : on la retire, la bande fait cadre */
.block-custom-content .container-wrapper:has(.soutien-accueil) {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Footer : sous le texte de présentation, logo dans un cartouche blanc */
.soutien-pied {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(238, 197, 58, .35);
}
.soutien-pied .soutien-texte { align-items: flex-start; text-align: right; }
.soutien-pied .soutien-phrase { font-size: 16px; color: #d9cfbf; }
.soutien-pied .soutien-annee { color: #eec53a; }
.soutien-pied .soutien-filet { display: none; }
.soutien-pied .soutien-cartouche {
    background: #ffffff;
    border-radius: 6px;
    padding: 8px 10px;
}
.soutien-pied .soutien-logo { width: 200px; }

/* Téléphone : bande d'accueil empilée (phrase, petit filet, logo) */
@media (max-width: 767px) {
    .soutien-accueil { flex-direction: column; gap: 10px; padding: 14px 16px; }
    .soutien-accueil .soutien-filet { width: 60px; height: 1px; align-self: center; }
    .soutien-accueil .soutien-logo { width: 220px; }
}

/* ===== 28. Pied de page : colonne 1 centrée (titre, logo, présentation, soutien) =====
   Titre « عن رباط الكتب », logo du site dans un cartouche blanc (comme celui du
   ministère), paragraphe justifié avec la dernière ligne centrée, et mention
   « تم تحيين… » (18 px) + logo du ministère centrés (complète la section 27).
   Sélecteurs par position (première colonne) et non par identifiant de widget,
   qui change si l'on déplace le bloc. */

/* Titre */
#footer .footer-widget-area > .tie-row > [class*="tie-col-"]:first-child .wp-block-heading {
    text-align: center !important;
}

/* Logo du site */
#footer .footer-widget-area > .tie-row > [class*="tie-col-"]:first-child .wp-block-image {
    text-align: center;
}
#footer .footer-widget-area > .tie-row > [class*="tie-col-"]:first-child .wp-block-image img {
    width: 130px !important;
    height: auto !important;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 6px;
    padding: 8px 10px;
    box-sizing: content-box;
}

/* Paragraphe de présentation */
#footer .footer-widget-area > .tie-row > [class*="tie-col-"]:first-child .wp-block-paragraph {
    font-size: 17px !important;
    line-height: 1.9 !important;
    text-align: justify !important;
    text-align-last: center;
    text-justify: inter-word;
}

/* Mention du ministère : phrase (18 px) et logo centrés */
#footer .soutien-pied {
    align-items: center;
}
#footer .soutien-pied .soutien-texte {
    align-items: center;
    text-align: center;
}
#footer .soutien-pied .soutien-phrase {
    font-size: 18px;
}


/* ===== 43. Bande d'accueil « تصدرها / بدعم من » + chiffres clés (31/10/2026 ; logos agrandis le 13/11/2026 : revue 100px, ministère 300px) =====
   Code court [soutien_accueil], extrait « Soutien du ministère » (fonction rk_chiffres_revue).
   Remplace l'ancienne bande .soutien-accueil (règles de la section 27 conservées, inutilisées). */
.block-custom-content .container-wrapper:has(.rk-edition) {
    padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.rk-edition {
    background: #ffffff;
    border-top: 2px solid #eec53a;
    border-bottom: 2px solid #eec53a;
    padding: 16px 24px 12px;
    direction: rtl;
    font-family: 'Alexandria', sans-serif;
}
.rk-ed-haut { display: flex; align-items: center; justify-content: center; gap: 36px; }
.rk-ed-bloc { display: flex; align-items: center; gap: 14px; }
.rk-ed-label { font-size: 13px; color: #7a828d; white-space: nowrap; }
.rk-ed-nom { font-size: 15px; font-weight: 500; color: #0f3a73; white-space: nowrap; }
.rk-edition img.rk-ed-logo-revue { width: auto; height: 100px; display: block; }
.rk-edition img.rk-ed-logo-min { width: 300px; height: auto; display: block; }
.rk-ed-sep { width: 1px; align-self: stretch; min-height: 60px; background: #e3d6a8; }
.rk-ed-chiffres {
    margin-top: 14px; padding-top: 10px; border-top: 1px solid #eef1f5;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 0;
    font-size: 13px; color: #7a828d;
}
.rk-ed-chiffres b { font-weight: 500; color: #0f3a73; font-size: 14px; }
.rk-ed-chiffres i { font-style: normal; color: #eec53a; font-size: 9px; margin: 0 12px; position: relative; top: -1px; }
@media (max-width: 767px) {
    .rk-edition { padding: 14px 12px 10px; }
    .rk-ed-haut { flex-direction: column; gap: 12px; }
    .rk-ed-sep { width: 60px; min-height: 0; height: 1px; align-self: center; }
    .rk-edition img.rk-ed-logo-revue { height: 80px; }
    .rk-edition img.rk-ed-logo-min { width: 250px; }
    .rk-ed-chiffres { font-size: 12px; }
    .rk-ed-chiffres i { margin: 0 8px; }
}
