/*
Theme Name: Clim'Elle
Theme URI: https://abdoulayecisse.com
Author: Abcisse Group Sn
Author URI: https://abdoulayecisse.com
Description: Thème de la Coalition Nationale Genre & Changements Climatiques (Clim'Elle Network). Conçu pour Elementor : header, footer et sections sont des widgets entièrement éditables.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: climelle
Tags: elementor, one-column, custom-menu, featured-images, translation-ready
*/

/* =====================================================================
   Socle du thème — la mise en forme des sections vit dans le plugin
   Clim'Elle Elements (assets/css/widgets.css).
   ================================================================== */

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--ce-header-h,74px) + 10px);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:#fff;
  color:#16092F;
  font-family:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}
a{color:#6141C3}
svg{display:block}

h1,h2,h3,h4,h5,h6{
  font-family:"Bricolage Grotesque","Instrument Sans",system-ui,sans-serif;
  font-weight:700;line-height:1.08;letter-spacing:-.022em;margin:0 0 .5em;
}

:focus-visible{outline:3px solid #F8B606;outline-offset:3px;border-radius:6px}

.screen-reader-text{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.ce-skip{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:#F8B606;color:#16092F;padding:12px 18px;font-weight:600;text-decoration:none;
}
.ce-skip:focus{left:12px;top:12px}

/* ---------- contenu éditorial (articles, pages sans Elementor) ---------- */
.ce-article{max-width:760px;margin-inline:auto;padding:clamp(40px,6vw,80px) clamp(18px,5vw,40px)}
.ce-article h2{font-size:1.7rem;margin-top:1.6em}
.ce-article h3{font-size:1.3rem;margin-top:1.4em}
.ce-article p,.ce-article ul,.ce-article ol{margin:0 0 1.1em}
.ce-article img,.ce-article figure{border-radius:14px;margin-block:1.6em}
.ce-article blockquote{
  margin:1.8em 0;padding:4px 0 4px 22px;border-left:4px solid #F8B606;
  font-size:1.1rem;color:#5B5072;
}
.ce-article .ce-meta{color:#5B5072;font-size:.9rem;margin-bottom:2em}

/* ---------- listes d'archives ---------- */
.ce-archive{max-width:1220px;margin-inline:auto;padding:clamp(40px,6vw,80px) clamp(18px,5vw,60px)}
.ce-archive__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
@media (max-width:900px){.ce-archive__grid{grid-template-columns:1fr}}

.ce-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:40px}
.ce-pagination .page-numbers{
  display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;
  border:1px solid #E4DEF4;border-radius:12px;text-decoration:none;color:#16092F;
}
.ce-pagination .current{background:#6141C3;border-color:#6141C3;color:#fff}

/* ---------- 404 ---------- */
.ce-404{min-height:66vh;display:grid;place-items:center;text-align:center;padding:80px 20px;
  background:#130734;color:#fff}
.ce-404 h1{font-size:clamp(2rem,6vw,3.6rem);color:#fff}
.ce-404 p{color:#CFC4EE;max-width:46ch;margin:0 auto 26px}
