/* ==========================================================================
   Dar Sétif — Refonte « Presse éditoriale » (2026)
   ==========================================================================
   Objectif : casser le squelette du template AZNews (2018) et imposer un
   langage visuel de grand journal régional — sans toucher au PHP, au bilingue
   FR/AR ni à l'admin. Ce fichier est chargé EN DERNIER dans le <head> : il
   surcharge style.css, custom.css et arabicstyle.css.

   Principes
   ---------
   1. Papier chaud + encre : fond crème, texte encre presque noire.
   2. Zéro carte encadrée : des filets fins et de la respiration, pas d'ombres.
   3. Titrage en Cairo (même police que le menu), gras 700 FR / 800 AR.
   4. L'or #DDBE5E = SEULE couleur de marque, utilisée en signal (tick de
      section, soulignés, état actif, tag « À la une »), jamais en aplat massif.
   5. Catégorie = intitulé coloré en capitales, plus de pastille pastel.

   Repères de structure conservés du template (classes ciblées) :
   .header-top / .header-mid / .header-bottom.header-sticky · .trending-tittle
   .hero-slider · .trending-top / .trand-right-single · .section-tittle
   .single-what-news / .single-recent / .weekly-single / .weekly2-single
   .nav-tabs · .pagination-area · .single_sidebar_widget · .single-post · footer
   ========================================================================== */

/* ============================ 0. Jetons & polices ========================== */
:root {
    /* Marque — l'or est conservé à l'identique */
    --gold: #DDBE5E;          /* aplats fins, ticks, filets, contexte sombre  */
    --gold-soft: #F0DCA8;     /* surlignage, hover sur fond sombre            */
    --gold-ink: #7A5F16;      /* or lisible en TEXTE sur papier (contraste AA)*/

    /* Papier & encre */
    --paper: #FCFBF7;         /* fond de page, crème très clair               */
    --paper-2: #F4F1E8;       /* bandes alternées (sections « gris »)         */
    --surface: #FFFFFF;       /* fonds d'image / champs                       */
    --ink: #17140D;           /* titres, encre presque noire chaude          */
    --ink-soft: #464134;      /* corps de texte long                         */
    --ink-mute: #6E6553;      /* méta, dates, compteurs (contraste AA ~5:1)  */
    --line: #E7E2D4;          /* filet fin                                    */
    --line-strong: #D3CAB4;   /* filet appuyé (séparateurs de section)        */
    --footer-bg: #14110A;     /* noir chaud du pied de page                   */
    --footer-tx: #C7BFAC;

    /* Catégories — teintes éditoriales sobres, lisibles sur papier (AA) */
    --cat-1: #7A5F16;         /* or / général   */
    --cat-2: #9A3B1E;         /* brique         */
    --cat-3: #1F5C4D;         /* pin            */
    --cat-4: #7A2E4E;         /* prune          */
    --cat-5: #2E4A7A;         /* indigo         */

    /* Typo */
    --font-body: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Cairo', 'Segoe UI', system-ui, sans-serif; /* AR par défaut */
    --font-label: 'Cairo', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1180px;
}

/* Titres : Cairo partout, comme le menu (l'AR l'utilisait déjà). Aucun serif. */
html[dir="ltr"] {
    --font-display: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ============================ 1. Base & typographie ======================== */
html { scroll-behavior: smooth; }

body,
body.rtl {
    background-color: var(--paper) !important;
    color: var(--ink-soft) !important;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body, .navigation,
p, a, span, li, input, textarea, button, select {
    font-family: var(--font-body);
}

/* Titres : serif éditorial, contraste serré, pas de sur-graisse */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700 !important;
    letter-spacing: -0.005em;
    line-height: 1.3;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 1.4;
}

p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; transition: color .18s ease, background-size .3s ease; }
a:hover, a:focus { color: var(--gold-ink); text-decoration: none; }
img { max-width: 100%; height: auto; }

::selection { background: rgba(221, 190, 94, .32); color: var(--ink); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #CFC6B0; border: 3px solid var(--paper-2); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Conteneur un peu plus généreux */
@media (min-width: 1200px) {
    .container { max-width: var(--wrap); }
}

/* Rythme vertical homogène (remplace les pt-50/pb-20/section-padding du thème) */
.trending-area.fix { padding-top: 34px; }
.weekly-news-area.pt-50,
.whats-news-area.pt-50,
.recent-articles,
.youtube-area.video-padding,
.weekly2-news-area.weekly2-pading {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}
.blog_area.section-padding { padding: 56px 0 72px !important; }

/* Petit intitulé « œil-de-bœuf » réutilisable (kicker) */
.dsx-kicker,
.hero-slide-cat,
.trend-top-cap span,
.what-cap > span,
.weekly-caption > span,
.weekly2-caption > span,
.trend-bottom-cap > span,
.trand-right-cap > span,
.top-caption > span {
    font-family: var(--font-label) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .14em !important;
    line-height: 1 !important;
}

/* ================================ 2. Header =============================== */
/* 2a. Bandeau méta (ex-« black-bg ») : fin filet crème, plus de noir plein */
.header-area, .main-header { background: var(--paper) !important; }

.header-top.black-bg {
    background: var(--paper) !important;
    border-bottom: 1px solid var(--line);
    padding: 7px 0;
}
/* Le template force color:#fff ici (hérité de l'ancien bandeau noir) : illisible
   sur le crème. On repasse en encre douce, contraste franc, un poil plus grand. */
.header-top .header-info-left,
.header-top .header-info-right,
.header-top .header-info-left ul li,
.header-top .header-info-left ul li a { color: var(--ink-soft) !important; font-size: 13px; }
.header-top .header-info-left ul li { margin-right: 24px; letter-spacing: .01em; }
.header-top .header-info-left ul li i { color: var(--gold-ink) !important; margin-right: 6px; font-size: 13px; }

/* Sélecteur de langue : liens nus, or pour l'actif */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-right: 18px; }
.lang-switch a {
    color: var(--ink-mute); font-weight: 700; font-size: 12px;
    letter-spacing: .08em; padding: 2px 4px;
}
.lang-switch a.active { color: var(--gold-ink); }
.lang-switch span { color: var(--line-strong); }

/* Réseaux : petites icônes nues, pas de pastille */
.header-social { display: flex; align-items: center; }
.header-social a {
    background: transparent !important;
    border: 0 !important;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-mute) !important;
    font-size: 13px; margin-left: 6px;
}
.header-social a:hover { background: transparent !important; color: var(--gold-ink) !important; }
.header-social a i { color: inherit !important; margin: 0 !important; }

/* 2b. Masthead : logo + emplacement pub, généreux, filet dessous */
.header-mid {
    background: var(--paper) !important;
    padding: 26px 0 24px;
    border-bottom: 1px solid var(--line);
}
.logo img,
.footer-logo img { object-fit: contain; }
.logo img { max-height: 78px !important; width: auto !important; transition: max-height .3s ease; }
.header-banner.f-right { display: flex; align-items: center; justify-content: flex-end; }
.header-banner img { border-radius: 0; }

/* 2c. Barre de navigation : nette, filets, sans ombre lourde */
.header-bottom {
    background: var(--paper) !important;
    border-bottom: 1px solid var(--line-strong);
}
.header-bottom .header-flex { display: flex; align-items: center; }
/* arabicstyle.css force ici flex-direction:row-reverse, ce qui (en RTL) tasse
   le menu à GAUCHE. On remet row + départ au bord droit → menu collé à droite. */
html[dir="rtl"] .header-bottom .header-flex {
    flex-direction: row !important;
    justify-content: flex-start !important;
}
/* Le thème met .main-menu{margin-right:30px} : en RTL c'est le côté tête (droite),
   ça décolle le menu du bord. On renvoie cette marge à gauche (côté fin). */
html[dir="rtl"] .header-bottom .header-flex .main-menu {
    margin-right: 0;
    margin-left: 30px;
}
.sticky-logo { display: none; margin-right: 26px; }
.sticky-logo img { max-height: 40px !important; width: auto !important; }

.main-menu nav > ul#navigation {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 0;
}
.main-menu ul#navigation > li > a {
    color: var(--ink) !important;
    font-family: var(--font-label) !important;
    font-weight: 700 !important;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 18px 14px !important;
    position: relative;
    display: block;
}
.main-menu ul#navigation > li > a::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 12px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
html[dir="rtl"] .main-menu ul#navigation > li > a::after { transform-origin: right; }
.main-menu ul#navigation > li:hover > a,
.main-menu ul#navigation > li.active > a { color: var(--ink) !important; }
.main-menu ul#navigation > li:hover > a::after,
.main-menu ul#navigation > li.active > a::after { transform: scaleX(1); }

/* Sous-menu « Catégories » : accessible au clavier (pas seulement au survol) */
.main-menu ul#navigation > li:focus-within > .submenu,
.main-menu ul#navigation > li:hover > .submenu {
    visibility: visible !important;
    opacity: 1 !important;
}
.main-menu ul#navigation > li:focus-within > a::after { transform: scaleX(1); }

/* Flèches de carrousel Owl : rendues focusables par JS -> contour visible */
.owl-nav .owl-prev:focus-visible,
.owl-nav .owl-next:focus-visible,
.slick-arrow:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 2px;
}

.main-menu ul#navigation .submenu {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-top: 2px solid var(--gold) !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 48px -24px rgba(23, 20, 13, .28) !important;
    padding: 6px 0 !important;
    min-width: 210px;
}
.main-menu ul#navigation .submenu li a {
    font-family: var(--font-label) !important;
    font-size: 12.5px !important;
    text-transform: none !important;
    letter-spacing: .01em;
    color: var(--ink-soft) !important;
    padding: 9px 20px !important;
}
.main-menu ul#navigation .submenu li a:hover {
    background: var(--paper-2) !important;
    color: var(--ink) !important;
    padding-left: 25px !important;
}

/* Recherche d'en-tête : CHAMP PERMANENT — DESKTOP UNIQUEMENT (≥992px, comme le
   d-lg-block d'origine du bloc). Le mobile a sa propre barre de recherche dédiée
   plus bas ; sans ce garde, ce bloc (display:flex !important, sans media query)
   l'emportait sur le d-none mobile de Bootstrap à toutes les tailles d'écran dès
   que l'en-tête devenait "sticky" au scroll — recherche desktop qui réapparaissait
   par-dessus le bandeau mobile logo+menu.
   Le template la cache (position:absolute; opacity:0; visibility:hidden) et ne
   la révèle qu'au survol, avec un input décalé (right:24px; top:-26px) — d'où
   la boîte vide qui « flottait » sous le menu. On neutralise tout ça : champ
   simple toujours visible, aligné à droite (à gauche en RTL). */
@media (min-width: 992px) {
    .header-right-btn {
        display: flex !important;
        align-items: center;
        gap: 8px;
        position: static !important;
        cursor: default;
        justify-content: flex-end;
    }
    html[dir="rtl"] .header-right-btn { justify-content: flex-start; }
    .header-right-btn .special-tag {          /* la loupe : petite icône fixe */
        order: -1;
        color: var(--ink-mute) !important;
        font-size: 14px !important;
        padding: 0 !important;
        pointer-events: none;
    }
    .header-right-btn .search-box,
    .header-right-btn:hover .search-box {
        position: static !important;
        right: auto !important; top: auto !important; left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        display: block !important;
        width: 100%;
        max-width: 190px;
        border: 1px solid var(--line-strong) !important;
        border-radius: 0 !important;
        background: var(--surface) !important;
        box-shadow: none !important;
    }
    .header-right-btn .search-box form { background: transparent !important; margin: 0; }
    .header-right-btn .search-box input,
    .header-right-btn:hover .search-box input {
        position: static !important;
        right: auto !important; top: auto !important; left: auto !important;
        width: 100% !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 8px 12px !important;
        font-size: 13px;
        color: var(--ink) !important;
    }
    .header-right-btn .search-box input:focus { outline: none; }
    .header-right-btn .search-box:focus-within { border-color: var(--gold) !important; }
}
/* 2d. État « collé » : une seule barre fine, fond translucide flouté */
.header-sticky.sticky-bar.sticky {
    padding: 0 !important;
    background: rgba(252, 251, 247, .92) !important;
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 10px 30px -18px rgba(23, 20, 13, .25) !important;
}
@media (min-width: 992px) {
    .header-sticky.sticky-bar.sticky .sticky-logo { display: block; }
    .header-sticky.sticky-bar.sticky .main-menu ul#navigation > li > a { padding: 14px 14px !important; }
    .header-sticky.sticky-bar.sticky .main-menu ul#navigation > li > a::after { bottom: 9px; }
    /* Le template masque la recherche en mode collé
       (.header-sticky.sticky-bar.sticky .header-right-btn{display:none!important}) :
       demandé qu'elle reste visible au scroll → on la ré-affiche. */
    .header-sticky.sticky-bar.sticky .header-right-btn { display: flex !important; align-items: center; }
    .header-sticky.sticky-bar.sticky .header-right-btn .search-box { max-width: 176px; }
}

/* 2e. Menu mobile (slicknav) */
/* Bouton hamburger + fond du panneau : stylés par assets/css/custom.css et
   assets/css/slicknav.css (refonte du header mobile) — ne pas les re-forcer ici, sous
   peine de figer le bouton en un carré uni (l'ancien padding/background !important
   écrasait la taille flex 42×42 et les couleurs or/noir de la refonte). */
.slicknav_nav {
    background: var(--surface) !important;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 0;
    box-shadow: 0 24px 48px -24px rgba(23, 20, 13, .3);
    padding: 6px;
    margin-top: 6px;
}
.slicknav_nav a {
    border-radius: 0; font-family: var(--font-label);
    font-weight: 700; text-transform: uppercase; font-size: 12.5px;
    letter-spacing: .08em; color: var(--ink) !important;
}
.slicknav_nav a:hover { background: var(--paper-2) !important; color: var(--gold-ink) !important; }
.slicknav_nav .slicknav_row:hover { background: var(--paper-2) !important; border-radius: 0; }
/* Ligne "Catégories" (sous-menu) : arabicstyle.css passe la flèche "+" en float:left pour
   la placer en RTL, mais comme elle suit le libellé dans le DOM, un float non précédé
   d'éléments flottants ne "colle" pas au texte — flèche collée au bord gauche, libellé au
   bord droit, grand vide entre les deux. On bascule la ligne en flex pour les recoller. */
html[dir="rtl"] .slicknav_row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    float: none !important;
}
html[dir="rtl"] .slicknav_row .slicknav_arrow {
    float: none !important;
    margin: 0 !important;
    position: static !important;
}

/* ============================ 2f. En-tête mobile (refonte complète) ===================== */
@media (max-width: 767px) {
    .header-bottom { padding: 0 !important; }
    .header-bottom .container { padding-left: 0; padding-right: 0; }
    .header-bottom .row { margin: 0; }

    .mobile-header-bar {
        padding: 10px 16px !important;
        background: var(--paper);
    }
    .mobile-logo img { height: 40px; width: auto; display: block; }

    /* Bouton hamburger : carré arrondi encre + barres or, cohérent avec les boutons
       du site (fond encre, or au survol/actif) plutôt que le carré plein hérité du
       thème d'origine — animé en croix à l'ouverture (voir slicknav.css). */
    .slicknav_btn {
        width: 44px !important;
        height: 44px !important;
        background: var(--ink) !important;
        border: 0 !important;
        border-radius: 8px !important;
        padding: 0 !important;
        /* style.css (thème d'origine) a un vieux ".header-area .slicknav_btn{top:-51px;
           right:17px}" pensé pour l'ancien bouton flottant en position absolue — plus
           spécifique que .slicknav_btn seul, il repositionnait le bouton hors écran une
           fois celui-ci repassé en position:relative dans le flux flex du nouveau
           bandeau mobile. On neutralise. */
        top: 0 !important;
        right: auto !important;
    }
    /* Le conteneur des 3 barres (slicknav.css) fait 18px de haut, mais 3 barres de 2px
       avec 3px de marge haut+bas chacune demandent 24px — le flex les écrasait à 0px
       de haut pour tenir dans l'espace disponible (barres invisibles). */
    .slicknav_menu .slicknav_icon { height: 24px !important; }
    .slicknav_btn .slicknav_icon-bar {
        background-color: var(--gold) !important;
        width: 20px;
        height: 2px !important;
        border-radius: 1px;
    }

    /* Barre de catégories mobile : scrollable horizontalement, sous le header */
    .mobile-cats-bar {
        background: var(--ink);
        border-bottom: none;
        padding: 0;
    }
    .mobile-cats-list {
        display: flex;
        gap: 0;
        margin: 0;
        padding: 0 8px;
        list-style: none;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: none;
        white-space: nowrap;
        cursor: grab;
    }
    .mobile-cats-list:active { cursor: grabbing; }
    .mobile-cats-list::-webkit-scrollbar { display: none; }
    .mobile-cats-list li { flex-shrink: 0; }
    .mobile-cats-list li a {
        display: inline-block;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 600;
        color: rgba(255,255,255,.7);
        text-decoration: none;
        border-bottom: 2px solid transparent;
        transition: color .18s ease, border-color .18s ease;
        letter-spacing: .02em;
    }
    .mobile-cats-list li a:hover,
    .mobile-cats-list li a.active {
        color: #fff;
        border-bottom-color: var(--gold);
    }

    /* Barre de recherche mobile : toujours visible (pas de survol sur tactile),
       pleine largeur, sous la ligne logo/menu. */
    .mobile-search-bar { margin-top: 14px; padding: 0 16px 14px; background: var(--paper); }
    .mobile-search-bar form {
        display: flex;
        border: 1px solid var(--line-strong);
        background: var(--surface);
        transition: border-color .18s ease;
    }
    .mobile-search-bar form:focus-within { border-color: var(--gold); }
    .mobile-search-bar input {
        flex: 1; min-width: 0;
        border: 0; background: transparent;
        padding: 11px 14px;
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--ink);
    }
    .mobile-search-bar input::placeholder { color: var(--ink-mute); }
    .mobile-search-bar input:focus { outline: none; }
    .mobile-search-bar button {
        flex-shrink: 0;
        width: 46px;
        border: 0;
        background: var(--ink);
        color: var(--gold);
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
    }

    /* Panneau du menu déroulant : pleine largeur, collé sous la barre de recherche. */
    .slicknav_nav { margin-top: 0 !important; border-radius: 0 !important; }
}

/* ============================ 3. « À la une » (ticker) =================== */
.trending-area .trending-tittle {
    display: flex; align-items: center; gap: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 11px 0;
    margin-bottom: 34px;
}
.trending-tittle strong {
    background: transparent !important;
    color: var(--ink) !important;
    font-family: var(--font-label);
    font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: .16em;
    padding: 0 0 0 16px !important;
    border-radius: 0 !important;
    position: relative; white-space: nowrap;
    display: inline-block;
}
.trending-tittle strong::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 8px; height: 8px; background: var(--gold);
    transform: translateY(-50%);
}
.trending-animated { flex: 1; min-width: 0; overflow: hidden; }
.trending-animated ul li,
.ticker-content, .ticker a {
    color: var(--ink-soft) !important;
    font-size: 14px; font-weight: 600;
}
.ticker a:hover { color: var(--gold-ink) !important; }
html[dir="rtl"] .trending-tittle strong { padding: 0 16px 0 0 !important; }
html[dir="rtl"] .trending-tittle strong::before { left: auto; right: 0; }

/* ============================ 4. Hero (une principale) ================== */
.hero-slider-area { margin-bottom: 52px; }
.hero-slider .owl-stage-outer { border-radius: 0; overflow: hidden; }
.hero-slide-link {
    position: relative; display: block;
    height: clamp(420px, 62vh, 600px);
    background-size: cover; background-position: center;
    background-color: var(--ink);
}
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(15, 13, 8, .90) 0%,
        rgba(15, 13, 8, .55) 34%,
        rgba(15, 13, 8, .12) 62%,
        rgba(15, 13, 8, .32) 100%);
}
.hero-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 40px clamp(20px, 5vw, 64px) 46px;
    max-width: 900px;
    display: flex; flex-direction: column; gap: 14px;
}
.hero-slide-cat {
    color: var(--gold-soft) !important;
    align-self: flex-start;
}
.hero-slide-title {
    font-family: var(--font-display);
    color: #fff; font-weight: 600;
    font-size: clamp(1.9rem, 1rem + 2.7vw, 3.05rem);
    line-height: 1.12; letter-spacing: -0.015em;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .38);
}
html[dir="rtl"] .hero-slide-title { font-weight: 800; line-height: 1.32; letter-spacing: 0; }
.hero-slide-date { color: rgba(255, 255, 255, .78); font-size: 13px; letter-spacing: .04em; }

.hero-slider .owl-dots { position: absolute; right: clamp(20px, 5vw, 64px); bottom: 22px; display: flex; gap: 7px; }
html[dir="rtl"] .hero-slider .owl-dots { right: auto; left: clamp(20px, 5vw, 64px); }
.hero-slider .owl-dots .owl-dot span {
    width: 7px; height: 7px; margin: 0; border-radius: 0;
    background: rgba(255, 255, 255, .45); transition: all .3s ease;
}
.hero-slider .owl-dots .owl-dot.active span { background: var(--gold); width: 24px; }

.hero-slider .owl-nav .owl-prev,
.hero-slider .owl-nav .owl-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px !important; height: 46px !important; line-height: 44px !important;
    background: rgba(15, 13, 8, .28) !important;
    border: 1px solid rgba(255, 255, 255, .38) !important;
    border-radius: 0 !important;
    color: #fff !important; font-size: 16px !important;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s ease, background .25s ease, color .25s ease;
}
.hero-slider .owl-nav .owl-prev { left: 18px; }
.hero-slider .owl-nav .owl-next { right: 18px; }
.hero-slider-area:hover .owl-nav .owl-prev,
.hero-slider-area:hover .owl-nav .owl-next { opacity: 1; }
.hero-slider .owl-nav .owl-prev:hover,
.hero-slider .owl-nav .owl-next:hover { background: var(--gold) !important; color: var(--ink) !important; border-color: var(--gold) !important; }

/* ============================ 5. Titres de section ===================== */
/* Motif éditorial : intitulé capitales + tick or + filet qui file à droite */
.section-tittle { margin-bottom: 30px !important; }
.section-tittle h3, .section-tittle h1 {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-label) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--ink) !important;
    padding: 0 !important;
    white-space: nowrap;
}
.section-tittle h3::before, .section-tittle h1::before {
    content: ""; position: static; transform: none;
    width: 22px; height: 3px; background: var(--gold);
    flex: 0 0 auto;
}
.section-tittle h3::after, .section-tittle h1::after {
    content: ""; position: static; transform: none;
    height: 1px; width: auto; flex: 1 1 auto;
    background: var(--line-strong);
}
html[dir="rtl"] .section-tittle h3, html[dir="rtl"] .section-tittle h1 { padding: 0 !important; }

/* ============================ 6. Catégories (intitulés colorés) ======== */
/* Fini les pastilles : texte capitale coloré + petit tiret en tête */
.color1, .color2, .color3, .color4, .color5 {
    background: transparent !important;
    padding: 0 0 0 14px !important;
    border-radius: 0 !important;
    font-family: var(--font-label) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .14em !important;
    line-height: 1 !important;
    position: relative;
    display: inline-block;
}
.color1::before, .color2::before, .color3::before, .color4::before, .color5::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 2px;
}
.color1 { color: var(--cat-1) !important; }  .color1::before { background: var(--cat-1); }
.color2 { color: var(--cat-2) !important; }  .color2::before { background: var(--cat-2); }
.color3 { color: var(--cat-3) !important; }  .color3::before { background: var(--cat-3); }
.color4 { color: var(--cat-4) !important; }  .color4::before { background: var(--cat-4); }
.color5 { color: var(--cat-5) !important; }  .color5::before { background: var(--cat-5); }

html[dir="rtl"] :is(.color1, .color2, .color3, .color4, .color5) { padding: 0 14px 0 0 !important; }
html[dir="rtl"] :is(.color1, .color2, .color3, .color4, .color5)::before { left: auto; right: 0; }

/* Sur les fonds sombres (overlay image), on repasse en or lisible */
.trend-top-cap :is(.color1, .color2, .color3, .color4, .color5),
.hero-slide-cat.color1, .hero-slide-cat.color2, .hero-slide-cat.color3,
.hero-slide-cat.color4, .hero-slide-cat.color5,
.top-caption :is(.color1, .color2, .color3, .color4, .color5) {
    color: var(--gold-soft) !important;
}
.trend-top-cap :is(.color1,.color2,.color3,.color4,.color5)::before,
.top-caption :is(.color1,.color2,.color3,.color4,.color5)::before { background: var(--gold-soft); }

/* ============================ 7. Cartes articles ====================== */
/* On SUPPRIME le carton blanc flottant (.what-cap en position:absolute) et
   toutes les marges de compensation (mb-100). Carte = image + intitulé +
   titre serif, séparée par un simple filet, sans bord ni ombre. */
.single-what-news, .single-recent {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
    display: flex; flex-direction: column;
}
.single-what-news:hover, .single-recent:hover {
    transform: none !important;
    box-shadow: none !important;
}
.single-what-news.mb-100, .single-recent.mb-100,
.single-what-news.mb-30, .single-recent.mb-30 {
    margin-bottom: 40px !important;
}

.single-what-news .what-img, .single-recent .what-img {
    position: static !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    border-radius: 0 !important;
    background: var(--paper-2);
    overflow: hidden;
    margin-bottom: 16px;
}
.single-what-news .what-img img, .single-recent .what-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.single-what-news:hover .what-img img,
.single-recent:hover .what-img img { transform: scale(1.045); }

.single-what-news .what-cap, .single-recent .what-cap {
    position: static !important;
    width: auto !important; height: auto !important;
    inset: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex; flex-direction: column; gap: 9px;
}
.single-what-news .what-cap h4, .single-recent .what-cap h4 { margin: 0 !important; }
.single-what-news .what-cap h4 a, .single-recent .what-cap h4 a {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto !important;
    font-family: var(--font-display) !important;
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em;
    color: var(--ink) !important;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size .3s ease, color .18s ease;
}
html[dir="rtl"] .single-what-news .what-cap h4 a,
html[dir="rtl"] .single-recent .what-cap h4 a {
    font-weight: 800 !important; line-height: 1.5 !important; letter-spacing: 0;
    background-position: 100% 100%;
}
.single-what-news:hover .what-cap h4 a,
.single-recent:hover .what-cap h4 a {
    color: var(--ink) !important;
    background-size: 100% 2px;
}

/* ============================ 8. Bloc « Trending » =================== */
.trending-main .trending-top.mb-30 { margin-bottom: 26px !important; }
.trending-top { border-radius: 0; overflow: hidden; box-shadow: none; }
.trend-top-img { position: relative; overflow: hidden; }
.trend-top-img img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.trending-top:hover .trend-top-img img { transform: scale(1.03); }
.trend-top-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15,13,8,.92) 0%, rgba(15,13,8,.4) 55%, transparent 100%);
    padding: 30px clamp(20px, 4vw, 40px);
    display: flex; flex-direction: column; gap: 12px;
}
.trend-top-cap h2 { margin: 0; }
.trend-top-cap h2 a {
    color: #fff !important;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.2; letter-spacing: -0.012em;
}
html[dir="rtl"] .trend-top-cap h2 a { font-weight: 800 !important; line-height: 1.4; }
.trend-top-cap h2 a:hover { color: var(--gold-soft) !important; }

/* Les 3 « bottom » : filet supérieur, pas de carte */
.trending-bottom .single-bottom.mb-35 { margin-bottom: 0 !important; }
.trending-bottom > .row { border-top: 1px solid var(--line); padding-top: 24px; }
.single-bottom { display: flex; flex-direction: column; gap: 10px; }
.single-bottom .trend-bottom-img.mb-30 { margin-bottom: 6px !important; }
.trend-bottom-img { overflow: hidden; border-radius: 0; }
.trend-bottom-img img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.single-bottom:hover .trend-bottom-img img { transform: scale(1.045); }
.trend-bottom-cap { display: flex; flex-direction: column; gap: 8px; }
.trend-bottom-cap h4 { margin: 0; }
.trend-bottom-cap h4 a,
.trand-right-cap h4 a {
    font-family: var(--font-display);
    font-size: 1.06rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
html[dir="rtl"] .trend-bottom-cap h4 a,
html[dir="rtl"] .trand-right-cap h4 a { font-weight: 800; line-height: 1.5; }
.trend-bottom-cap h4 a:hover, .trand-right-cap h4 a:hover { color: var(--gold-ink); }

/* Colonne de droite : liste éditoriale à filets, plus de mini-cartes */
.trand-right-single {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 0 0 16px !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
    gap: 14px;
}
.trand-right-single:hover { box-shadow: none !important; }
.trand-right-single:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; }
.trand-right-img {
    flex: 0 0 104px; width: 104px; height: 78px; border-radius: 0; overflow: hidden;
}
.trand-right-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.trand-right-cap { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

/* ============================ 9. Onglets « Actualités » ============== */
.properties__button .nav-tabs, .nav-tabs {
    border-bottom: 1px solid var(--line) !important;
    gap: 4px;
}
.nav-tabs .nav-item.nav-link, .nav-tabs .nav-link {
    color: var(--ink-mute) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    font-family: var(--font-label) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 10px 12px !important;
}
.nav-tabs .nav-link:hover { color: var(--ink) !important; }
.nav-tabs .nav-link.active {
    color: var(--ink) !important;
    border-bottom: 2px solid var(--gold) !important;
}
html[dir="rtl"] .nav-tabs { flex-direction: row-reverse; }

/* ============================ 10. Carrousels (slick) ================= */
.weekly-single, .weekly2-single {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin: 0 14px;
}
.weekly-single:hover, .weekly2-single:hover { box-shadow: none !important; }
.weekly-img, .weekly2-img { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 14px; }
.weekly-img img, .weekly2-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.weekly-single:hover .weekly-img img, .weekly2-single:hover .weekly2-img img { transform: scale(1.045); }
.weekly-caption, .weekly2-caption { padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.weekly-caption h4, .weekly2-caption h4 { margin: 0; }
.weekly-caption h4 a, .weekly2-caption h4 a {
    font-family: var(--font-display);
    font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
html[dir="rtl"] .weekly-caption h4 a, html[dir="rtl"] .weekly2-caption h4 a { font-weight: 800; line-height: 1.5; }
.weekly-caption h4 a:hover, .weekly2-caption h4 a:hover { color: var(--gold-ink); }
.weekly2-caption p { color: var(--ink-mute); font-size: 12px; letter-spacing: .03em; margin: 0; }

/* Bande « une actu par catégorie » : filet plutôt qu'aplat gris */
.weekly2-news-area.gray-bg {
    background: var(--paper-2) !important;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Points des carrousels : tiret, actif = barre or */
.slick-dots { margin-top: 26px; }
.slick-dots li { margin: 0 4px; }
.slick-dots li button {
    width: 18px; height: 2px; border-radius: 0; padding: 0;
    background: var(--line-strong) !important;
    transition: all .3s ease;
}
.slick-dots li button::before { display: none !important; }
.slick-dots li.slick-active button { background: var(--gold) !important; width: 30px; }
.dot-style .slick-dots li button { background: var(--line-strong) !important; }

/* ============================ 11. Vidéothèque ======================= */
.video-thumb-link, .video-thumb-link-sm { border-radius: 0 !important; }
.single-video {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 8px;
}
.single-video:hover { box-shadow: none !important; }
.single-video.slick-current {
    border-color: var(--gold) !important;
    box-shadow: none !important;
}
.single-video.slick-current .video-intro h4 { color: var(--ink); }
.video-intro h4 {
    font-family: var(--font-display);
    font-size: 13.5px; font-weight: 600; line-height: 1.35;
    padding: 10px 4px 0; color: var(--ink-soft);
}
html[dir="rtl"] .video-intro h4 { font-weight: 800; }

.video-play-btn, .video-play-btn-sm {
    background: rgba(15, 13, 8, .35) !important;
    border: 1.5px solid rgba(255, 255, 255, .82);
    border-radius: 0 !important;
}
.video-thumb-link:hover .video-play-btn,
.video-thumb-link-sm:hover .video-play-btn-sm {
    background: var(--gold) !important; color: var(--ink) !important;
    transform: translate(-50%, -50%) scale(1.06);
}
.video-caption h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); color: var(--ink);
}
.video-caption p { color: var(--ink-soft); }
.testmonial-nav button.slick-next, .testmonial-nav button.slick-prev {
    background: var(--ink) !important; color: #fff !important; border-radius: 0 !important;
}
.testmonial-nav button.slick-next:hover, .testmonial-nav button.slick-prev:hover {
    background: var(--gold) !important; color: var(--ink) !important;
}

/* ============================ 12. Pagination ======================== */
.pagination-area {
    border-top: 1px solid var(--line-strong);
    padding-top: 30px; margin-top: 44px;
}
.pagination-area .pagination { gap: 4px; }
.pagination-area .page-item .page-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--ink-mute) !important;
    min-width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
    position: relative;
    border-radius: 0 !important;
}
.pagination-area .page-item .page-link:hover { color: var(--ink) !important; }
.pagination-area .page-item.active .page-link { color: var(--ink) !important; }
.pagination-area .page-item.active .page-link::before {
    content: ""; position: absolute; top: -31px; left: 50%; transform: translateX(-50%);
    width: 34px; height: 3px; background: var(--gold);
}
.pagination-area .single-wrap .right-arrow,
.pagination-area .single-wrap .roted { color: var(--gold-ink); }

/* ============================ 13. Liste d'articles (actualite.php) === */
.blog_area .blog_left_sidebar > h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
    font-weight: 600; color: var(--ink);
    padding-bottom: 18px; margin-bottom: 30px;
    border-bottom: 1px solid var(--line-strong);
}
html[dir="rtl"] .blog_area .blog_left_sidebar > h3 { font-weight: 800; }

.blog_item {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 0 0 34px !important;
    margin-bottom: 34px !important;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}
.blog_item .blog_item_img { position: relative; overflow: hidden; }
.blog_item .blog_item_img .card-img {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.blog_item:hover .blog_item_img .card-img { transform: scale(1.04); }
/* Pastille de date : le thème (style.css) la place en bottom:-20px;left:40px
   avec un gros padding, et arabicstyle.css la repositionne à gauche même en RTL.
   On reprend la main (spécificité .blog_item .blog_item_img .blog_item_date +
   !important) : petite pastille dans le coin bas de l'image, sans débord. */
.blog_item .blog_item_img .blog_item_date {
    position: absolute !important;
    left: 0 !important; right: auto !important;
    bottom: 0 !important; top: auto !important;
    margin: 0 !important;
    padding: 7px 11px 6px !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
    border-radius: 0 !important;
    text-align: center;
    line-height: 1;
    display: block;
    z-index: 2;
}
html[dir="rtl"] .blog_item .blog_item_img .blog_item_date {
    left: auto !important; right: 0 !important;
}
.blog_item .blog_item_img .blog_item_date h3 {
    color: var(--ink) !important;
    font-family: var(--font-display);
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}
html[dir="rtl"] .blog_item .blog_item_img .blog_item_date h3 { font-weight: 800 !important; }
.blog_item .blog_item_img .blog_item_date p {
    color: var(--ink) !important;
    font-family: var(--font-label);
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1 !important;
    margin: 3px 0 0 !important;
}
html[dir="rtl"] .blog_item .blog_item_img .blog_item_date p {
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px !important;
}
.blog_details { padding: 0; }
.blog_details h2, .blog_details h2 a {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem) !important;
    font-weight: 700 !important; line-height: 1.25; color: var(--ink) !important;
    letter-spacing: -0.01em;
}
html[dir="rtl"] .blog_details h2, html[dir="rtl"] .blog_details h2 a { font-weight: 800 !important; line-height: 1.5; }
.blog_details h2 a:hover { color: var(--gold-ink) !important; }
.blog_details > p { color: var(--ink-soft); margin: 10px 0 14px; }
.blog-info-link li a, .blog-info-link li span { color: var(--ink-mute); font-size: 12.5px; letter-spacing: .02em; }
.blog-info-link li a:hover { color: var(--gold-ink); }

html[dir="rtl"] .blog_item { grid-template-columns: 300px 1fr; direction: rtl; }

@media (max-width: 575px) {
    /* html[dir="rtl"] .blog_item (ci-dessus) est plus spécifique que .blog_item seul :
       sans le répéter ici, cette règle mobile perdait toujours face à elle en arabe (langue
       par défaut du site) et la carte gardait sa colonne image fixe de 300px sur un écran
       de ~360-400px de large — texte écrasé dans le reste. */
    .blog_item, html[dir="rtl"] .blog_item { grid-template-columns: 1fr; gap: 16px; }

    /* Bouton d'envoi du formulaire newsletter (pied de page) : le thème le positionne en
       absolu à 20px EN DEHORS du champ (right:-20px, ou left:-20px en RTL via
       arabicstyle.css) — pensé pour une colonne desktop avec de la marge autour. Sur mobile,
       la colonne newsletter est en pleine largeur : ce débord de 20px sort de l'écran et le
       bouton se retrouve à moitié coupé par le bord. On le ramène dans le champ. */
    .footer-form .form-icon button { right: 0; }
    html[dir="rtl"] .footer-form .form-icon button { left: 0; right: auto; }
}

/* Bannière de catégorie */
.categorie-banniere { border-radius: 0; overflow: hidden; }
.categorie-banniere img { width: 100%; height: 300px; object-fit: cover; display: block; }

/* ============================ 14. Article (actu_detail.php) ========= */
.single-post {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.single-post .feature-img { border-radius: 0; overflow: hidden; margin-bottom: 28px; }
.single-post .feature-img img { width: 100%; display: block; }
.blog_details h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1rem + 2.4vw, 2.9rem) !important;
    font-weight: 700 !important; line-height: 1.15; letter-spacing: -0.018em;
    color: var(--ink) !important; margin-bottom: 6px;
}
/* Le h1 de l'article (promu depuis h2 pour le SEO) : règle plus spécifique que
   .blog_details h2 ci-dessus pour ne pas dépendre de l'ordre du fichier, et sans
   toucher au h2 des vignettes d'articles (qui réutilisent aussi .blog_details). */
.single-post .blog_details h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1rem + 2.4vw, 2.9rem) !important;
    font-weight: 700 !important; line-height: 1.15; letter-spacing: -0.018em;
    color: var(--ink) !important; margin-bottom: 6px;
}
html[dir="rtl"] .single-post .blog_details h2,
html[dir="rtl"] .single-post .blog_details h1 { font-weight: 800 !important; line-height: 1.45; letter-spacing: 0; }

.single-post .blog-info-link {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0; margin: 18px 0 28px !important;
}
.single-post .blog-info-link li a,
.single-post .blog-info-link li span {
    font-family: var(--font-label); text-transform: uppercase;
    letter-spacing: .08em; font-size: 11.5px; color: var(--ink-mute);
}

/* Corps de texte : largeur de lecture confortable */
.blog_details p,
.single-post p, .about-prea p {
    color: var(--ink-soft);
    font-size: 1.12rem;
    line-height: 1.75;
}
.single-post .blog_details > p,
.single-post .blog_details > h2 ~ *,
.single-post .blog_details > h1 ~ * { max-width: 68ch; }
html[dir="rtl"] .blog_details p, html[dir="rtl"] .single-post p { line-height: 1.95 !important; }

.blog_details h3, .blog_details h4 {
    font-family: var(--font-display);
    margin: 1.6em 0 .5em; color: var(--ink);
}

.quote-wrapper .quotes {
    background: transparent !important;
    border: 0 !important;
    border-left: 3px solid var(--gold) !important;
    border-radius: 0 !important;
    padding: 6px 0 6px 26px !important;
    margin: 28px 0;
    font-family: var(--font-display);
    font-size: 1.4rem; line-height: 1.4; font-style: italic;
    color: var(--ink) !important;
}
html[dir="rtl"] .quote-wrapper .quotes {
    border-left: 0 !important;
    border-right: 3px solid var(--gold) !important;
    padding: 6px 26px 6px 0 !important;
    font-style: normal;
}

/* Articles liés : réutilise la carte éditoriale */
.navigation-area h4, .navigation-top + * h4 {
    font-family: var(--font-label); text-transform: uppercase;
    letter-spacing: .16em; font-size: 14px; color: var(--ink);
    padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px;
}
.social-icons { display: flex; gap: 8px; }
.social-icons li a {
    background: transparent !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 0 !important;
    color: var(--ink-mute) !important;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
}
.social-icons li a:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; }

/* ============================ 15. Sidebar =========================== */
.single_sidebar_widget {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 38px !important;
}
.widget_title {
    font-family: var(--font-label) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line-strong) !important;
    padding: 0 0 12px 16px !important;
    position: relative;
    margin-bottom: 16px;
}
.widget_title::before {
    content: ""; position: absolute; left: 0; top: 4px;
    width: 8px; height: 8px; background: var(--gold);
}
.widget_title::after { display: none !important; }
html[dir="rtl"] .widget_title { padding: 0 16px 12px 0 !important; }
html[dir="rtl"] .widget_title::before { left: auto; right: 0; }

.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 11px 2px !important;
    transition: padding .2s ease;
}
.cat-list a:hover { padding-left: 10px !important; color: var(--gold-ink); }
html[dir="rtl"] .cat-list a:hover { padding-left: 2px !important; padding-right: 10px !important; }
.cat-list a p { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink); }
.cat-list a p:last-child { color: var(--ink-mute); font-variant-numeric: tabular-nums; font-weight: 500; }
.cat-list a:hover p { color: var(--gold-ink); }

.post_item, .media.post_item {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 0 14px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid var(--line);
    box-shadow: none !important;
    display: flex; gap: 13px;
}
.post_item:last-child { border-bottom: 0; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.post_item img,
.popular_post_widget .post_item img {
    width: 74px !important; height: 74px !important;
    object-fit: cover !important; border-radius: 0 !important;
    background: var(--paper-2);
}
.post_item .media-body { min-width: 0; }
.post_item h3 { margin: 0; }
.post_item h3 a {
    font-family: var(--font-display);
    font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
html[dir="rtl"] .post_item h3 a { font-weight: 800; line-height: 1.5; }
.post_item h3 a:hover { color: var(--gold-ink); }
.post_item p { color: var(--ink-mute); font-size: 12px; margin: 5px 0 0; }

/* ============================ 16. Boutons & champs ================== */
.button, .boxed-btn, .primary-bg, .btn_1,
button[type="submit"], input[type="submit"], .btns,
.button-contactForm {
    background: var(--ink) !important;
    color: #fff !important;
    border: 1px solid var(--ink) !important;
    border-radius: 0 !important;
    font-family: var(--font-label) !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-transform: uppercase;
    letter-spacing: .12em !important;
    padding: 15px 30px !important;
    box-shadow: none !important;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .2s ease !important;
}
.button:hover, .boxed-btn:hover, .primary-bg:hover, .btn_1:hover,
button[type="submit"]:hover, input[type="submit"]:hover, .btns:hover {
    background: var(--gold) !important;
    color: var(--ink) !important;
    border-color: var(--gold) !important;
    transform: none !important;
}
.btns { padding: 0 18px !important; height: 100%; }

.btn-unsubscribe {
    background: transparent !important;
    color: var(--ink) !important;
    border: 1px solid var(--line-strong) !important;
}
.btn-unsubscribe:hover { border-color: var(--gold) !important; color: var(--gold-ink) !important; background: transparent !important; }

/* Champs : filet bas, pas de boîte */
.single_sidebar_widget input, .single_sidebar_widget textarea,
.form-contact input, .form-contact textarea,
.footer-form input, .search_widget input.form-control,
input.form-control, textarea.form-control {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line-strong) !important;
    border-radius: 0 !important;
    color: var(--ink) !important;
    padding: 10px 2px !important;
    box-shadow: none !important;
}
input.form-control:focus, textarea.form-control:focus,
.single_sidebar_widget input:focus, .form-contact input:focus, .form-contact textarea:focus {
    border-bottom-color: var(--gold) !important;
    box-shadow: none !important;
    outline: none;
}
::placeholder { color: var(--ink-mute) !important; opacity: 1; }
.input-group { border-bottom: 1px solid var(--line-strong); }
.input-group .form-control { border-bottom: 0 !important; }

/* Page Recherche : bandeau encre + champ unique.
   L'input porte class="form-control" → la règle générique des champs lui
   imposait padding:10px 2px et fond transparent (d'où le rendu cassé). On le
   pilote ici avec une spécificité supérieure (.search-hero-area .search-hero-form …)
   et tout en !important pour l'isoler complètement. */
.search-hero-area {
    background: var(--ink) !important;
    padding: 76px 0 66px; margin-bottom: 46px;
}
.search-hero-title { color: #fff; font-family: var(--font-display); }
html[dir="rtl"] .search-hero-title { font-weight: 800; }
.search-hero-sub { color: rgba(255, 255, 255, .66); }

.search-hero-form {
    display: flex !important;
    max-width: 620px;
    margin: 0 auto !important;
}
.search-hero-area .search-hero-form input,
.search-hero-area .search-hero-form input.form-control {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--ink) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}
.search-hero-area .search-hero-form input:focus { outline: none !important; }
.search-hero-area .search-hero-form input::placeholder { color: var(--ink-mute) !important; opacity: 1; }
.search-hero-area .search-hero-form button {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-size: 17px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.search-hero-area .search-hero-form button:hover { background: var(--gold-soft) !important; }

/* ============================ 17. Footer =========================== */
footer, .footer-area, .footer-bottom-area {
    background: var(--footer-bg) !important;
}
.footer-area.footer-padding { padding-top: 64px !important; padding-bottom: 14px !important; }
.footer-area { border-top: 1px solid rgba(221, 190, 94, .22); }
.footer-logo img { max-height: 84px !important; }
.footer-tittle h4 {
    color: #F2E9D4 !important;
    font-family: var(--font-label) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-bottom: 20px;
    position: relative; padding-left: 16px;
}
.footer-tittle h4::before {
    content: ""; position: absolute; left: 0; top: 3px;
    width: 8px; height: 8px; background: var(--gold);
}
html[dir="rtl"] .footer-tittle h4 { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .footer-tittle h4::before { left: auto; right: 0; }

.footer-pera p, .footer-tittle p { color: var(--footer-tx) !important; }
.footer-contact-info li, .footer-contact-info li a { color: var(--footer-tx) !important; }
.footer-contact-info li i { color: var(--gold) !important; margin-right: 8px; }
html[dir="rtl"] .footer-contact-info li i { margin-right: 0; margin-left: 8px; }
.footer-contact-info li a:hover { color: var(--gold) !important; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 0 !important;
    color: #E7DEC9 !important;
    width: 38px; height: 38px; margin: 0 !important;
    display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a i { color: inherit !important; margin: 0 !important; font-size: 14px; }
.footer-social a:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; }
.footer-social a:hover i { color: var(--ink) !important; }

.footer-form .relative { position: relative; }
.footer-form input {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, .28) !important;
}
.footer-form input::placeholder { color: rgba(255, 255, 255, .5) !important; }
.footer-form .form-icon button, #newsletter-submit {
    background: var(--gold) !important;
    border: 0 !important; border-radius: 0 !important;
    height: 42px; padding: 0 20px !important;
}
.footer-form .form-icon button:hover, #newsletter-submit:hover { background: var(--gold-soft) !important; }

.footer-border { border-top: 1px solid rgba(255, 255, 255, .12) !important; padding-top: 22px; }
.footer-copy-right p { color: var(--footer-tx) !important; font-size: 12.5px; }
.footer-menu ul li a {
    color: var(--footer-tx) !important;
    font-family: var(--font-label); text-transform: uppercase;
    font-size: 11.5px; letter-spacing: .1em;
}
.footer-menu ul li a:hover { color: var(--gold) !important; }

/* ============================ 18. Divers ========================== */
.alert { border-radius: 0; margin-top: 26px; margin-bottom: 20px; }

#scrollUp {
    background: var(--ink) !important;
    color: #fff !important;
    border-radius: 0 !important;
    right: 24px; bottom: 24px;
    width: 44px; height: 44px; line-height: 44px;
    font-size: 16px;
}
#scrollUp:hover { background: var(--gold) !important; color: var(--ink) !important; }
html[dir="rtl"] #scrollUp { right: auto; left: 24px; }

/* Page « À propos » / Contact */
.about-area { padding: 56px 0 64px; }
.about-prea h1, .about-prea h2, .contact-title {
    font-family: var(--font-display); font-weight: 600; color: var(--ink);
}
html[dir="rtl"] .about-prea h1, html[dir="rtl"] .about-prea h2, html[dir="rtl"] .contact-title { font-weight: 800; }
.contact-info__icon {
    background: transparent !important;
    color: var(--gold-ink) !important;
    border: 1px solid var(--line-strong);
    border-radius: 0 !important;
}
.contact-info .media-body h3 { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.contact-info .media-body p, .contact-info .media-body p a { color: var(--ink-soft); }

/* Map / iframes : filet sobre */
iframe[src*="google"], .contact-map iframe { border: 1px solid var(--line) !important; border-radius: 0; filter: grayscale(.2) contrast(1.02); }

/* ================= 18-bis. Titres FR = police du menu (Cairo) =========== */
/* Plusieurs composants forçaient font-weight:600 sur le <a> du titre : on les
   aligne sur la graisse du menu (700), casse normale conservée (titres longs).
   Portée : LTR uniquement — l'arabe garde son Cairo 800 tel quel. */
html[dir="ltr"] :is(h1, h2, h3, h4, h5, h6),
html[dir="ltr"] .hero-slide-title,
html[dir="ltr"] .trend-top-cap h2 a,
html[dir="ltr"] .single-what-news .what-cap h4 a,
html[dir="ltr"] .single-recent .what-cap h4 a,
html[dir="ltr"] .trend-bottom-cap h4 a,
html[dir="ltr"] .trand-right-cap h4 a,
html[dir="ltr"] .weekly-caption h4 a,
html[dir="ltr"] .weekly2-caption h4 a,
html[dir="ltr"] .video-intro h4,
html[dir="ltr"] .video-caption h2,
html[dir="ltr"] .blog_details h2,
html[dir="ltr"] .blog_details h2 a,
html[dir="ltr"] .post_item h3 a,
html[dir="ltr"] .blog_area .blog_left_sidebar > h3,
html[dir="ltr"] .search-hero-title,
html[dir="ltr"] .about-prea h1,
html[dir="ltr"] .about-prea h2,
html[dir="ltr"] .contact-title {
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    letter-spacing: -0.005em;
}

/* Citation : Cairo (plus de faux-italique serif), gras léger, filet or gardé */
html[dir="ltr"] .quote-wrapper .quotes {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
}

/* ================= 18-ter. Accessibilité (skip-link, focus) ============ */
.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 100000;
    background: var(--ink); color: #fff; padding: 10px 16px;
    border-radius: 0; font-weight: 700; font-size: 14px;
    transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #fff; outline: 3px solid var(--gold); }
#contenu:focus { outline: none; }
html[dir="rtl"] .skip-link { left: auto; right: 8px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible,
.page-link:focus-visible, summary:focus-visible {
    outline: 2px solid var(--gold-ink) !important;
    outline-offset: 2px;
}

/* ============================ 19-bis. Page 404 ====================== */
.error-404-num {
    font-family: var(--font-display);
    font-weight: 700 !important;
    font-size: clamp(72px, 18vw, 160px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--gold);
    margin: 0 0 6px;
}
html[dir="rtl"] .error-404-num { font-weight: 800 !important; }
.error-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 46px 0 64px; }
.button-ghost {
    background: transparent !important;
    color: var(--ink) !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 0 !important;
    font-family: var(--font-label) !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-transform: uppercase;
    letter-spacing: .12em !important;
    padding: 15px 30px !important;
    display: inline-block;
    transition: background .22s ease, color .22s ease, border-color .22s ease !important;
}
.button-ghost:hover {
    background: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink) !important;
}

/* ============================ 19. Responsive ===================== */
@media (max-width: 991px) {
    .trend-top-cap { padding: 22px; }
    .trand-right-single { padding-bottom: 14px !important; margin-bottom: 14px !important; }
}
@media (max-width: 767px) {
    body { font-size: 16px; }
    .hero-slide-cap { padding: 24px 20px 30px; gap: 10px; }
    .hero-slide-title { font-size: clamp(1.4rem, 1rem + 4vw, 1.9rem); }
    .section-tittle h3, .section-tittle h1 { font-size: 13px !important; letter-spacing: .14em; }
    .single-what-news.mb-100, .single-recent.mb-100 { margin-bottom: 32px !important; }
    .blog_details p, .single-post p { font-size: 1.05rem; }
    .quote-wrapper .quotes { font-size: 1.2rem; }
    .header-mid { padding: 18px 0; }
}
