/* ============================================================
   NOWISTECH — CSS Custom pour Jannah
   À coller dans : Jannah Theme Options → General → Custom CSS
   ============================================================ */

/* ---------- Variables couleurs (référence) ----------
   Violet profond : #090979
   Violet/Magenta : #9100AD
   Rose : #F774B6
   Bleu marine : #020024
   Bleu vif : #0015CD
   Bleu medium : #0076CD
   Bleu lien : #0000FF
   Texte body : #2c3049
   Fond pub : #f5f5ff
-------------------------------------------------------- */


/* ============================================================
   1. TITRE PRINCIPAL D'ARTICLE (H1)
   Gradient violet → magenta, centré, gros, gras
   ============================================================ */
.single .entry-title,
.single .post-title,
.single h1.entry-title,
.single-post .entry-title {
    background: linear-gradient(90deg, #020024 0%, #090979 0%, #9100AD 89%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 800;
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .single .entry-title,
    .single .post-title {
        font-size: 28px;
    }
}


/* ============================================================
   2. CHAPEAU / INTRO (premier paragraphe en bold violet centré)
   ============================================================ */
.single .entry-content > p:first-of-type {
    background: linear-gradient(90deg, #020024 0%, #090979 0%, #9100AD 89%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 30px;
}


/* ============================================================
   3. SOUS-TITRES H2 ET H3 DANS LES ARTICLES
   Gradient bleu profond → bleu, en CAPITALES
   ============================================================ */
.single .entry-content h2,
.single .entry-content h3 {
    background: linear-gradient(90deg, #020024 0%, #0015CD 0%, #0076CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
}

.single .entry-content h2 {
    font-size: 33px;
}

.single .entry-content h3 {
    font-size: 24px;
}

@media (max-width: 768px) {
    .single .entry-content h2 {
        font-size: 26px;
    }
    .single .entry-content h3 {
        font-size: 20px;
    }
}


/* ============================================================
   4. CORPS DE TEXTE
   ============================================================ */
.single .entry-content {
    color: #2c3049;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.single .entry-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    margin-top: 20px;
    color: #2c3049;
}

.single .entry-content strong {
    font-weight: 700;
    color: #000;
}


/* ============================================================
   5. LIENS DANS LES ARTICLES (bleu avec underline animé)
   ============================================================ */
.single .entry-content p a,
.single .entry-content li a {
    position: relative;
    color: #0000FF;
    font-weight: 500;
    text-decoration: none;
}

.single .entry-content p a::after,
.single .entry-content li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 20%;
    transition: width 0.45s ease-in-out;
    border-bottom: 1px solid #0000FF;
}

.single .entry-content p a:hover::after,
.single .entry-content li a:hover::after {
    width: 100%;
}


/* ============================================================
   6. LISTES À PUCES — LOSANGES BLEUS ◆ (ta signature)
   ============================================================ */
.single .entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.single .entry-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.65;
    color: #2c3049;
}

.single .entry-content ul li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #020024 0%, #0015CD 0%, #0076CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
}


/* ============================================================
   7. SIDEBAR "LES DERNIERS ARTICLES"
   Gradient violet → rose (ta signature côté sidebar)
   ============================================================ */
.widget-title,
.sidebar .widget h3,
.sidebar .widget-title,
.sidebar h3 {
    background: linear-gradient(90deg, #9100AD 0%, #F774B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}


/* ============================================================
   8. ZONE PUBLICITÉ (fond mauve clair)
   ============================================================ */
.ad-zone,
.advertisement,
.banner-ad,
.entry-content .wp-block-shortcode + p,
.adsbygoogle {
    background-color: #f5f5ff;
    text-align: center;
    border-radius: 12px;
    padding: 10px;
}


/* ============================================================
   9. BOUTON FLOTTANT "HAUT DE PAGE"
   Pilule blanche, ombrée, bleu profond
   ============================================================ */
#scroll-top,
.scroll-to-top,
.back-to-top {
    background-color: #FFFFFF !important;
    color: rgb(9, 9, 121) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    box-shadow: 0 4px 16px rgba(9, 9, 121, 0.15) !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

#scroll-top:hover,
.scroll-to-top:hover,
.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 9, 121, 0.25) !important;
}


/* ============================================================
   10. CATÉGORIES & TAGS — Couleurs signature par catégorie
   Adapte les slugs à tes vraies catégories WP
   ============================================================ */

/* iPhone (anciennement Actu) - violet */
.cat-iphone .post-cat,
.cat-iphone .entry-categories a,
.category-iphone .post-cat {
    background-color: #7F24FB !important;
    color: white !important;
}

/* Astuces / Guides - magenta */
.cat-astuces .post-cat,
.cat-guides .post-cat,
.category-astuces .post-cat {
    background-color: #cb0562 !important;
    color: white !important;
}

/* Tests / Bons plans - orange */
.cat-tests .post-cat,
.cat-bonplans .post-cat,
.category-tests .post-cat {
    background-color: #cf4a03 !important;
    color: white !important;
}

/* Tutos - bleu */
.cat-tutos .post-cat,
.category-tutos .post-cat {
    background-color: #0361c8 !important;
    color: white !important;
}


/* ============================================================
   11. NAVIGATION HEADER — Couleurs par catégorie au survol
   ============================================================ */
.main-nav li a {
    font-weight: 600;
    transition: color 0.2s ease;
}


/* ============================================================
   12. CARTES D'ARTICLES (grille listing)
   Hover effect : couleur du titre selon catégorie
   ============================================================ */
.post-listing article,
.posts-items article,
.latest-listing article {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-listing article:hover,
.posts-items article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* ============================================================
   13. IMAGES — Coins arrondis + hover scale
   ============================================================ */
.single .entry-content img {
    border-radius: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single .entry-content img:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    transform: scale(1.02);
}


/* ============================================================
   14. SOMMAIRE / TABLE OF CONTENTS
   Pilule arrondie noire (style de ton ancien site)
   ============================================================ */
.toc_wrap_left,
#toc_container,
.ez-toc-counter {
    border-radius: 50px !important;
    border: 1px solid #000 !important;
    padding: 8px 24px !important;
    background: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}


/* ============================================================
   15. LOGO HEADER (cliquable, font logo personnalisée si besoin)
   ============================================================ */
.tie-logo a,
.logo a {
    font-weight: 900;
    letter-spacing: -1px;
}


/* ============================================================
   16. AJUSTEMENTS RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .single .entry-content p,
    .single .entry-content ul li {
        font-size: 16px;
    }
    
    .single .entry-content > p:first-of-type {
        font-size: 18px;
    }
}
/* ============================================================
   17. SUPPRIMER LES "BOÎTES" — Layout transparent
   On enlève les fonds blancs, bordures et ombres
   pour avoir un look épuré comme ton ancien site
   ============================================================ */
.main-content,
#main-content,
.site-content,
.content-wrap,
.container-wrapper,
.tie-container,
.entry,
.post-content,
.theiaStickySidebar,
#sidebar,
.sidebar,
.widget,
.tie-col-md-8,
.tie-col-md-4 {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Le body et la zone principale en blanc pur */
body,
.background-overlay,
#wrapper {
    background-color: #FFFFFF !important;
}

/* Les widgets de sidebar : pas de fond, juste un padding propre */
.sidebar .widget {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 40px !important;
    border: none !important;
}


/* ============================================================
   18. WIDGET "RÉCENT/POPULAIRE/COMMENTAIRES"
   Titres d'articles : petits, noirs/gris, police classique
   ============================================================ */

/* Titres des articles dans la sidebar */
.sidebar .widget .post-title,
.sidebar .widget .entry-title,
.sidebar .widget h2.post-title,
.sidebar .widget h3.post-title,
.sidebar .posts-list-items .post-title,
.sidebar .tabs-widget .post-title,
.sidebar li .post-title,
.sidebar .latest-posts-widget .post-title,
.sidebar a.post-title {
    /* On annule le gradient violet du H3 hérité */
    background: none !important;
    -webkit-text-fill-color: #2c3049 !important;
    color: #2c3049 !important;
    
    /* Taille petite et propre */
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    
    /* Reset des marges */
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar .widget .post-title:hover,
.sidebar .widget a:hover .post-title {
    color: #090979 !important;
}

/* Miniatures plus petites dans la sidebar */
.sidebar .widget .post-thumbnail,
.sidebar .widget .post-thumb,
.sidebar .posts-list-items img {
    max-width: 80px !important;
    height: auto !important;
    border-radius: 8px !important;
}

/* Onglets "Récent / Populaire / Commentaires" : look épuré */
.sidebar .tabs-widget-tabs li a,
.tabs-wrap .tabs li a {
    background: transparent !important;
    border: none !important;
    color: #6B6B6B !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: none !important;
}

.sidebar .tabs-widget-tabs li.active a,
.tabs-wrap .tabs li.active a {
    color: #090979 !important;
    border-bottom: 2px solid #090979 !important;
}
/* ============================================================
   19. FOOTER NOWISTECH — Gradient orange → magenta
   Style minimaliste centré, signature
   ============================================================ */

/* Le footer Jannah complet → fond en gradient signature */
.site-footer,
#footer,
.main-footer,
.footer-bottom,
.copyright-text-wrap {
    background: linear-gradient(90deg, #E8A23A 0%, #E91E63 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 0 !important;
}

/* On supprime les bordures et séparateurs Jannah par défaut */
.site-footer *,
#footer * {
    border-color: transparent !important;
}

/* Le copyright Jannah natif (s'il s'affiche) : on le masque, on a le nôtre */
.footer-bottom,
.copyright-text-wrap {
    display: none !important;
}

/* Container du widget Footer 1 : pleine largeur, sans padding latéral */
.site-footer .widget,
#footer .widget {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* ----- Bloc footer custom ----- */
.nowis-footer {
    text-align: center;
    padding: 60px 20px 40px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Logo NOWISTECH */
.nowis-footer__logo {
    color: #FFFFFF !important;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    background: none !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Bloc "Rejoignez nos réseaux" + icônes */
.nowis-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nowis-footer__social p {
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.nowis-footer__social__icons {
    display: flex;
    gap: 16px;
}

.nowis-footer__social__icons a {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.nowis-footer__social__icons a:hover {
    transform: scale(1.15);
    opacity: 1;
    color: #FFFFFF;
}

.nowis-footer__social__icons svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
}

/* Menu de catégories en bas */
.nowis-footer__menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nowis-footer__menu a {
    color: #FFFFFF !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nowis-footer__menu a:hover {
    opacity: 0.8;
    color: #FFFFFF !important;
}

.nowis-footer__menu a::after {
    display: none !important;
}

/* Copyright */
.nowis-footer__copyright {
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    opacity: 0.85;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .nowis-footer {
        padding: 40px 16px 30px;
    }
    
    .nowis-footer__logo {
        font-size: 32px;
    }
    
    .nowis-footer__social {
        flex-direction: column;
        gap: 16px;
    }
    
    .nowis-footer__menu {
        gap: 20px;
    }
}
/* /* ============================================================
   23. CARTES D'ARTICLES JANNAH — Version chirurgicale
   Classes réelles : .post-item, .post-thumb, .post-details
   ============================================================ */

/* Container global : pas de fond, espace propre */
.mag-box-container,
.posts-items,
#posts-container {
    background: transparent !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ----- LA CARTE D'ARTICLE ----- */
.post-item.post,
li.post-item {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    
    margin-bottom: 24px !important;
    padding: 20px !important;
    
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    
    list-style: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-item.post:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
}

/* Cache les puces de liste éventuelles */
.post-item::before,
.post-item::marker {
    display: none !important;
    content: none !important;
}

/* ----- THUMBNAIL À GAUCHE ----- */
.post-item .post-thumb {
    flex: 0 0 auto !important;
    width: 220px !important;
    max-width: 30% !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

.post-item .post-thumb img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
}

/* Masquer le badge catégorie violet par-dessus la thumbnail */
.post-item .post-thumb .post-cat,
.post-item .post-thumb .cat,
.post-item .post-thumb .post-cat-wrap,
.post-item .post-thumb span[class*="cat-"] {
    display: none !important;
}

/* ----- ZONE TEXTE À DROITE ----- */
.post-item .post-details {
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* ----- META : on simplifie (pas d'auteur, juste date) ----- */
.post-item .post-meta {
    order: -1 !important; /* La meta passe AVANT le titre */
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1E3FFF !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Masquer auteur, commentaires, vues, durée de lecture */
.post-item .post-meta .post-author,
.post-item .post-meta .post-comments,
.post-item .post-meta .post-views,
.post-item .post-meta .meta-views,
.post-item .post-meta .reading-time,
.post-item .post-meta i.fa-eye,
.post-item .post-meta i.fa-comment,
.post-item .post-meta i.fa-user {
    display: none !important;
}

/* Masquer aussi les liens auteur dans la meta */
.post-item .post-meta a[rel="author"],
.post-item .post-meta .author-name {
    display: none !important;
}

/* La date dans la meta : style propre */
.post-item .post-meta .post-date,
.post-item .post-meta time,
.post-item .post-meta .date {
    color: #1E3FFF !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.post-item .post-meta .post-date::before,
.post-item .post-meta time::before {
    content: "" !important;
}

/* ----- TITRE DE L'ARTICLE ----- */
.post-item .post-title,
.post-item h2.post-title,
.post-item h3.post-title {
    background: none !important;
    -webkit-text-fill-color: #0a0a0a !important;
    color: #0a0a0a !important;
    
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.post-item .post-title a {
    color: #0a0a0a !important;
    background: none !important;
    -webkit-text-fill-color: #0a0a0a !important;
    text-decoration: none !important;
}

.post-item .post-title a:hover {
    color: #1E3FFF !important;
    -webkit-text-fill-color: #1E3FFF !important;
}

/* TRAIT BLEU SIGNATURE sous le titre */
.post-item .post-title::after {
    content: "" !important;
    display: block !important;
    width: 60px !important;
    height: 3px !important;
    background: #1E3FFF !important;
    margin-top: 12px !important;
    border-radius: 2px !important;
}

/* ----- BOUTON "LIRE LA SUITE" — on masque, le titre est cliquable ----- */
.post-item .more-link,
.post-item a.more-link,
.post-item .button.more-link,
.post-item .more-link.button {
    display: none !important;
}

/* ----- EXTRAIT — masqué (déjà désactivé dans Jannah mais sécurité) ----- */
.post-item .post-excerpt,
.post-item .entry {
    display: none !important;
}

/* ----- COMPTEURS ICONS (0 commentaires, 0 vues) DANS LA META ----- */
.post-item .post-meta > span:not(.post-date):not(time) {
    display: none !important;
}


/* ============================================================
   24. RESPONSIVE MOBILE — Carte verticale sur petit écran
   ============================================================ */
@media (max-width: 640px) {
    .post-item.post,
    li.post-item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 16px !important;
    }
    
    .post-item .post-thumb {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .post-item .post-thumb img {
        height: 200px !important;
    }
    
    .post-item .post-title {
        font-size: 19px !important;
    }
}


/* ============================================================
   25. MASQUER LA "BREAKING NEWS" BAR
   La bande rouge en haut avec "Article 8"
   ============================================================ */
.breaking-news,
.news-ticker,
#breaking-news,
.breaking-news-wrapper {
    display: none !important;
}


/* ============================================================
   26. SIDEBAR "ARTICLES RÉCENTS" / "POPULAR POSTS"
   Bonus : on garde le style cohérent
   ============================================================ */
.sidebar .widget,
#sidebar .widget {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 32px !important;
}

/* Titres de widgets : gradient violet→rose */
.sidebar .widget-title,
.sidebar h4.widget-title,
.sidebar .widget h3,
.sidebar .widget h4 {
    background: linear-gradient(90deg, #9100AD 0%, #F774B6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-transform: none !important;
    font-weight: 800 !important;
    font-size: 22px !important;
    border: none !important;
    margin-bottom: 16px !important;
}

/* Liens dans la sidebar : couleur normale */
.sidebar .widget a,
.sidebar .widget li a {
    color: #0a0a0a !important;
    background: none !important;
    -webkit-text-fill-color: #0a0a0a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.sidebar .widget a:hover {
    color: #1E3FFF !important;
    -webkit-text-fill-color: #1E3FFF !important;
}
/* ============================================================
   27. FINITIONS FINALES — méta, catégorie, sidebar
   ============================================================ */

/* ----- MÉTA : on force l'affichage de la date, on cache les commentaires ----- */
.post-item .post-meta .post-comments,
.post-item .post-meta .comments-link,
.post-item .post-meta span.comments,
.post-item .post-meta .meta-comments,
.post-item .post-meta i.tie-icon-comments,
.post-item .post-meta .fa-comments {
    display: none !important;
}

/* Force l'affichage de la date dans la meta */
.post-item .post-meta .date,
.post-item .post-meta .post-date,
.post-item .post-meta time {
    display: inline-block !important;
    color: #1E3FFF !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Si la meta est vide (que des choses cachées), on cache toute la div */
.post-item .post-meta:empty {
    display: none !important;
}


/* ============================================================
   28. CATÉGORIE EN HAUT — Remettre en texte bleu capitales
   ============================================================ */

/* On crée un pseudo-element avec la catégorie depuis l'attribut */
/* Solution simple : remettre la pilule mais la styler proprement en haut du texte */

/* Restaurer le badge catégorie mais en mode "texte bleu" */
.post-item .post-thumb .post-cat-wrap,
.post-item .post-thumb .post-cat,
.post-item .post-thumb span[class*="cat-"] {
    display: none !important;
}

/* Si Jannah affiche la catégorie ailleurs, on la style */
.post-item .post-details .post-cat-wrap,
.post-item .post-details .post-cat,
.post-item .post-details .cat-links {
    display: block !important;
    background: transparent !important;
    color: #1E3FFF !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    order: -2 !important;
}

.post-item .post-details .post-cat a,
.post-item .post-details .cat-links a {
    color: #1E3FFF !important;
    background: transparent !important;
    padding: 0 !important;
    text-decoration: none !important;
}

.post-item .post-details .post-cat a::after,
.post-item .post-details .cat-links a::after {
    content: " ›" !important;
    margin-left: 4px !important;
}


/* ============================================================
   29. SIDEBAR — Largeur correcte, pas de débordement
   ============================================================ */

/* Container principal en flex/grid sain */
.main-content,
#main-content,
.container-wrapper,
.tie-container {
    overflow: visible !important;
}

/* Sidebar : largeur fixe propre */
.sidebar,
#sidebar,
.tie-col-md-4,
.tie-col-lg-4 {
    width: 300px !important;
    max-width: 300px !important;
    padding-left: 20px !important;
    overflow: visible !important;
}

/* Zone principale : on laisse de la place pour la sidebar */
.main-content > .container-wrapper,
.posts-items-wrap,
.tie-col-md-8,
.tie-col-lg-8 {
    overflow: visible !important;
}

/* Sur mobile, sidebar en dessous (full width) */
@media (max-width: 992px) {
    .sidebar,
    #sidebar,
    .tie-col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        margin-top: 40px !important;
    }
}
/* ============================================================
   30. HERO HOMEPAGE — Bloc gradient avec recherche
   Apparaît uniquement sur la page d'accueil
   ============================================================ */

.nowis-hero {
    background: linear-gradient(135deg, #090979 0%, #9100AD 50%, #F774B6 100%);
    border-radius: 24px;
    padding: 64px 24px;
    margin: 24px 0 40px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Effet lumineux subtil en arrière-plan */
.nowis-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.nowis-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

/* ----- SURLIGNE ----- */
.nowis-hero__overline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
}

/* ----- TITRE PRINCIPAL ----- */
.nowis-hero__title {
    color: #FFFFFF !important;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0 0 36px 0;
    font-family: 'Montserrat', sans-serif;
    background: none !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-transform: none;
}

.nowis-hero__title span {
    color: #FFFFFF;
    opacity: 0.92;
    font-weight: 800;
}

/* On annule le pseudo-élément trait bleu du titre dans le hero */
.nowis-hero__title::after {
    display: none !important;
}

/* ----- BARRE DE RECHERCHE ----- */
.nowis-hero__search {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 60px;
    padding: 6px 6px 6px 22px;
    max-width: 560px;
    margin: 0 auto 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    gap: 12px;
}

.nowis-hero__search__icon {
    color: #9100AD;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nowis-hero__search__input {
    flex: 1 1 auto;
    min-width: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 500;
    color: #2c3049;
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    box-shadow: none !important;
}

.nowis-hero__search__input::placeholder {
    color: #6B6B6B;
    font-weight: 400;
}

.nowis-hero__search__button {
    background: #090979 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 60px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.nowis-hero__search__button:hover {
    background: #060649 !important;
    transform: translateY(-1px);
}

/* ----- TAGS SUGGÉRÉS ----- */
.nowis-hero__tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.nowis-hero__tags a {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-text-fill-color: #FFFFFF !important;
    background-clip: border-box !important;
}

.nowis-hero__tags a:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px);
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Annule l'animation underline héritée du CSS articles */
.nowis-hero__tags a::after {
    display: none !important;
}

/* ----- RESPONSIVE MOBILE ----- */
@media (max-width: 768px) {
    .nowis-hero {
        padding: 48px 20px;
        margin: 16px 0 32px;
        border-radius: 18px;
    }
    
    .nowis-hero__title {
        font-size: 32px;
        margin-bottom: 28px;
    }
    
    .nowis-hero__overline {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    /* Sur mobile, on transforme la barre de recherche pour qu'elle reste utilisable */
    .nowis-hero__search {
        padding: 6px;
        flex-wrap: wrap;
    }
    
    .nowis-hero__search__icon {
        margin-left: 12px;
    }
    
    .nowis-hero__search__input {
        font-size: 14px;
        flex: 1 1 60%;
        padding: 10px 4px;
    }
    
    .nowis-hero__search__button {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
    
    .nowis-hero__tags {
        gap: 8px;
    }
    
    .nowis-hero__tags a {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 480px) {
    .nowis-hero__title {
        font-size: 26px;
    }
    
    /* Sur très petit écran, le bouton "Chercher" devient une icône */
    .nowis-hero__search__button {
        padding: 10px 14px !important;
    }
}
/* ============================================================
   31. FOOTER NOWISTECH — Section légale (mentions, RGPD, etc.)
   ============================================================ */

.nowis-footer__legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px auto 30px;
    flex-wrap: wrap;
    max-width: 800px;
}

.nowis-footer__legal a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    -webkit-text-fill-color: #FFFFFF !important;
}

.nowis-footer__legal a:hover {
    opacity: 1;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-decoration: underline;
}

/* Annule l'animation underline héritée */
.nowis-footer__legal a::after {
    display: none !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .nowis-footer__legal {
        gap: 12px;
        font-size: 12px;
    }
    
    .nowis-footer__legal a {
        font-size: 12px;
    }
}
/* ============================================================
   32. Footer pleine largeur — étend ton footer custom sur 100%
   ============================================================ */

/* Force le footer Jannah à être pleine largeur, sans container max-width */
#footer,
.site-footer,
.tie-footer,
.footer-widget-area {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Étend ton footer custom NowisTech sur 100% de largeur */
.nowis-footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: none !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Cache l'éventuel "Back to top" qui apparaît au-dessus */
.go-to-top-container {
    display: none !important;
}

/* ============================================================
   33. Désactive le "Check Also" (articles sous footer) en CSS
   au cas où le theme option ne marcherait pas
   ============================================================ */

.check-also-box,
#check-also-box,
.check-also,
.more-from-category,
.related-posts,
.more-stories-box,
#more-stories-box {
    display: none !important;
}