/* ===== ACTU Forces de l'Ordre — thème de nettoyage statique ===== */
*,*::before,*::after{box-sizing:border-box;}
body{margin:0!important;background:#f4f5f7;color:#1e2024;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;line-height:1.6;}
img{max-width:100%!important;height:auto!important;}
img.agp-broken,.agp-hide{display:none!important;}
a{color:#b31217;text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3,h4{line-height:1.25;color:#14161a;}

/* largeur de lecture centrée */
.elementor-section-boxed>.elementor-container{max-width:1180px!important;margin:0 auto!important;}
.elementor-widget-container{overflow-wrap:anywhere;}

/* ---- Header + menu ---- */
header.elementor-location-header{background:#fff!important;border-bottom:1px solid #e6e6e6;
 box-shadow:0 1px 8px rgba(0,0,0,.06);}
.elementor-nav-menu{display:flex!important;flex-wrap:wrap;gap:0;list-style:none;margin:0;padding:0;justify-content:center;align-items:center;}
.elementor-nav-menu li{list-style:none;margin:0;}
.elementor-nav-menu a,.elementor-item{display:block!important;padding:14px 16px!important;color:#20232a!important;
 font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.03em;border-radius:6px;}
.elementor-nav-menu a:hover,.elementor-nav-menu .current-menu-item>a{color:#b31217!important;background:#faeaea;text-decoration:none;}

/* ---- Icônes (social/svg/fontawesome) bridées ---- */
.elementor-social-icons-wrapper svg,.elementor-social-icon svg,.elementor-grid-item svg,
.elementor-icon svg,li>svg{width:20px!important;height:20px!important;vertical-align:middle;}
.elementor-social-icon,.elementor-grid-item>a,.elementor-grid-item>span{display:inline-flex;align-items:center;justify-content:center;
 width:38px;height:38px;border-radius:50%;background:#f0f0f0;margin:3px;}
.fa,.fas,.fab,.far,.elementor-icon i{font-size:18px!important;line-height:1;color:#333;}
svg:not([class*=logo i]):not([id*=logo i]){max-width:40px;max-height:40px;}

/* ---- Boutons ---- */
.elementor-button,.wp-block-button__link,button:not(.wdpgk-close-popup),input[type=submit]{
 background:#b31217!important;color:#fff!important;border:none!important;border-radius:8px!important;
 padding:11px 20px!important;font-weight:700!important;cursor:pointer;display:inline-block;}
.elementor-button:hover{filter:brightness(1.08);text-decoration:none;}

/* ---- Cartes / sections d'articles ---- */
.elementor-widget-theme-post-content,.elementor-post,.e-loop-item,article.post,article.type-post{
 background:#fff;border:1px solid #ececec;border-radius:12px;padding:18px 20px;margin:0 0 16px;box-shadow:0 1px 4px rgba(0,0,0,.04);}
.entry-title,.elementor-post__title{font-size:19px;font-weight:800;margin:.2em 0;}

/* ---- Contenu article (lecture) ---- */
.elementor-widget-theme-post-content p{margin:0 0 1em;font-size:17px;color:#2a2d33;}

/* ---- Footer ---- */
footer.elementor-location-footer{background:#14161a!important;color:#c9ccd2!important;margin-top:32px;}
footer.elementor-location-footer .elementor-container{max-width:1180px;margin:0 auto;padding:26px 16px;}
footer.elementor-location-footer a{color:#fff!important;}
footer .elementor-heading-title{color:#fff!important;}

/* ---- Masquer résidus JS (popup don, spinners, overlays) ---- */
[class*="wdpgk"],.pum-overlay,.pum,[id^="pum-"],.mfp-bg,.mfp-wrap,
.wc-block-components-spinner,[class*="loading-spinner"]{display:none!important;}

/* ---- Divers propreté ---- */
iframe[src*="googletagmanager"]{display:none;}
hr{border:none;border-top:1px solid #e2e2e2;margin:20px 0;}

/* ===== v2 — correctifs AnWP Post Grid & accessibilité ===== */
.anwp-pg-updated{display:none!important;}                         /* date de MAJ dupliquée */
.anwp-pg-icon{display:none!important;}                            /* icônes sprite manquantes (carrés vides) */
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;white-space:nowrap!important;}
.anwp-pg-post-teaser__bottom-meta,.anwp-pg-post-teaser__bottom-meta *{color:#6b7079!important;font-size:13px!important;}
.anwp-pg-post-teaser__bottom-meta-item{margin-right:14px!important;}
/* images très petites (placeholders lazy 1px) masquées */
img[src$=".gif"][width="1"],img[width="1"][height="1"]{display:none!important;}
/* espacements de listing plus nets */
.anwp-pg-post-teaser{margin-bottom:14px;}
