.page{padding:32px 0 64px;background:#F3F5F4;min-height:60vh}
.conteneur.etroit{max-width:820px}
.page h1{font-size:1.75rem;margin:0 0 16px;color:#061D18}
.fil a{color:#087F5B;text-decoration:none}
.chapeau-page,.note-page,.meta,.resume-statuts,.aide{color:#4a5a54;font-size:.95rem}
.alerte-page{background:#fff3cd;border:1px solid #e6c65c;color:#4d3b00;padding:10px 14px;border-radius:8px;margin:12px 0}
.alerte-page.ok{background:#e3f7ee;border-color:#58c49b;color:#06402d}
.formulaire-page fieldset{background:#fff;border:1px solid #d9e0dd;border-radius:12px;padding:18px;margin:0 0 18px}
.formulaire-page legend{font-weight:700;padding:0 8px;color:#061D18}
.champ{margin:0 0 14px}.champ label{display:block;font-weight:600;margin-bottom:4px;color:#202B27}
.champ input[type=text],.champ input[type=number],.champ input[type=date],.champ select,.champ textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #9aa8a2;border-radius:8px;font:inherit;background:#fff;color:#202B27}
.champ input:focus,.champ select:focus,.champ textarea:focus{outline:3px solid #C7FF54;outline-offset:1px;border-color:#087F5B}
.champ.en-erreur input,.champ.en-erreur select,.champ.en-erreur textarea{border-color:#b3261e}
.champ.case label{font-weight:400}
.erreur{color:#b3261e;font-size:.9rem;margin:4px 0 0}
.deux{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.actions-formulaire,.actions-carte{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.actions-carte form{margin:0}
.titre-ligne{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.liste-offres-page{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.carte-page{background:#fff;border:1px solid #d9e0dd;border-radius:12px;padding:16px}
.carte-tete{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.carte-tete h2{font-size:1.1rem;margin:0}.carte-tete a{color:#087F5B}
.badge{font-size:.8rem;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap;background:#e8ecea;color:#202B27}
.badge-publiee{background:#d7f5e6;color:#06402d}.badge-en_attente{background:#fff3cd;color:#4d3b00}
.badge-refusee{background:#fde2e0;color:#7a1710}.badge-retiree{background:#e8ecea;color:#4a5a54}
.onglets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.onglets a{padding:8px 14px;border-radius:99px;background:#fff;border:1px solid #d9e0dd;color:#202B27;text-decoration:none}
.onglets a.actif{background:#061D18;color:#C7FF54;border-color:#061D18}
.apercu{margin:10px 0}.apercu summary{cursor:pointer;color:#087F5B;font-weight:600}
.contenu-offre{padding:10px 0;overflow-wrap:anywhere}
.refus{display:flex;gap:8px;flex:1 1 280px}.refus input{flex:1;min-width:0;padding:8px 10px;border:1px solid #9aa8a2;border-radius:8px}
.bouton-danger{background:#b3261e;color:#fff;border:0}
.vide{background:#fff;border:1px dashed #9aa8a2;border-radius:12px;padding:24px;text-align:center}
.sr-seul{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:640px){.deux{grid-template-columns:1fr}.refus{flex-direction:column}}
.bouton-gris{background:#e8ecea;color:#202B27;border-color:#c9d2ce}
.page .bouton-contour{border-color:#087F5B;color:#087F5B;background:#fff}
.page .bouton{padding:.55rem 1rem}
.filtres{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;background:#fff;border:1px solid #d9e0dd;border-radius:12px;padding:16px;margin:0 0 18px}
.filtre label{display:block;font-weight:600;font-size:.9rem;margin-bottom:4px}
.filtre input,.filtre select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #9aa8a2;border-radius:8px;font:inherit;background:#fff}
.filtre input:focus,.filtre select:focus{outline:3px solid #C7FF54;outline-offset:1px;border-color:#087F5B}
.filtre-q{grid-column:1/-1}
.filtre-actions{display:flex;gap:8px;align-items:end}
.resultats-total{color:#4a5a54;margin:0 0 12px}
.aide-vide{color:#4a5a54}
.chargement{opacity:.5;transition:opacity .15s}
.pagination{display:flex;gap:16px;justify-content:center;align-items:center;margin:24px 0}
.pagination a{color:#087F5B;font-weight:700}
.etiquette-urgent{background:#C7FF54;color:#061D18}
.grille-modeles{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.grille-modeles a{display:block;text-decoration:none;color:#202B27;background:#fff;border:1px solid #d9e0dd;border-radius:10px;padding:8px;text-align:center}
.grille-modeles a:hover,.grille-modeles a:focus{border-color:#087F5B;outline:3px solid #C7FF54}
.grille-modeles img{width:100%;height:auto;display:block;border:1px solid #e4e9e7;background:#fff}
.grille-modeles span{display:block;margin-top:6px;font-size:.85rem;font-weight:600}
.choix-detail{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:28px;align-items:start}
.grande-vignette{margin:0}.grande-vignette img{width:100%;height:auto;border:1px solid #d9e0dd;background:#fff}
.grande-vignette figcaption{font-size:.85rem;color:#4a5a54;margin-top:6px}
.num-modele{color:#4a5a54;font-weight:400;font-size:1rem}
.conseils-cv{margin-top:36px;background:#fff;border:1px solid #d9e0dd;border-radius:12px;padding:16px 20px}
.conseils-cv h2{font-size:1.1rem;margin:0 0 8px}
.champ input[type=color]{width:64px;height:40px;padding:2px;border:1px solid #9aa8a2;border-radius:8px;background:#fff}
@media(max-width:640px){.choix-detail{grid-template-columns:1fr}}
.conseils-cv ul{margin:0;padding-left:20px;list-style:disc}.conseils-cv li{margin:4px 0}

.champ .ck-editor__editable{min-height:170px}
.champ .ck.ck-editor{max-width:100%}
.champ .ck-content h3{font-size:1.15rem}.champ .ck-content h4{font-size:1rem}
/* Publicités */
.etiquette-pub{display:inline-block;align-self:flex-start;margin:0 0 6px;padding:2px 8px;border-radius:999px;background:#fff4d6;color:#7a5200;border:1px solid #ecd28a;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.offre-pub{border:1px dashed #d1b25a;background:#fffdf5}
.offre-pub .etiquette-pub{margin-bottom:8px}
.pub-vignette{display:block;width:100%;max-height:140px;object-fit:cover;border-radius:10px;margin:0 0 10px}
.pub-texte{margin:6px 0 10px}
.cv-item-pub{border-style:dashed;border-color:#d1b25a;background:#fffdf5}
.cv-item-pub .cv-corps{display:flex;flex-direction:column;gap:2px}
.carte-pub{border-style:dashed;border-color:#d1b25a;background:#fffdf5}
.pub-bandeau{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:0 0 18px;padding:12px 16px;border:1px dashed #d1b25a;border-radius:14px;background:#fffdf5}
.pub-bandeau .etiquette-pub{margin:0;flex:none}
.pub-bandeau-img{width:64px;height:64px;object-fit:cover;border-radius:10px;flex:none}
.pub-bandeau-texte{display:flex;flex-direction:column;flex:1 1 220px;min-width:0}
.pub-bandeau-texte span{color:#40504a;font-size:.95rem}
.pub-bandeau .bouton{flex:none}
.pub-miniature{max-width:96px;height:auto;border-radius:8px;vertical-align:middle}
@media (max-width:560px){.pub-bandeau .bouton{width:100%;text-align:center}}
/* Offre : même espace sous le titre que dans le haut de la carte (16 px) */
.bloc-offre > h2{margin-bottom:16px}
.champ .ck-content h2{font-size:1.3rem}#cc-contenu + .ck-editor .ck-editor__editable,.champ .ck-editor__editable{min-height:260px}

/* Tous les champs de formulaire ont la même largeur et le même style, quelle que soit la feuille chargée (e-mail, téléphone, URL, mot de passe, recherche, heure…) */
.champ input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=hidden]):not([type=range]):not([type=submit]):not([type=button]),.champ select,.champ textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #9aa8a2;border-radius:8px;font:inherit;background:#fff;color:inherit;min-height:44px}
.champ textarea{min-height:0}
.champ input[type=file]{width:100%;box-sizing:border-box;font:inherit}
.champ input[type=date],.champ input[type=time]{max-width:100%}
.champ-ligne{display:flex;flex-wrap:wrap;gap:0 14px}.champ-ligne > .champ{flex:1 1 220px;min-width:0}

/* Tri des CV : champs alignés, actions à droite */
.filtres-cv{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.filtres-cv .filtre-q{grid-column:1/-1}
.filtres-cv .filtre-case{align-self:center}
.filtres-cv .case-ligne{display:flex;align-items:center;gap:10px;font-weight:600;margin:0}.filtres-cv .case-ligne input{width:22px;height:22px;flex:none;padding:0}
.filtres-cv .filtre-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.filtres-cv .filtre input,.filtres-cv .filtre select{min-height:44px}
@media (max-width:560px){.filtres-cv{grid-template-columns:1fr}.filtres-cv .filtre-actions{justify-content:stretch}.filtres-cv .filtre-actions .bouton{flex:1 1 100%;text-align:center}}

/* Listes des zones de texte riche (éditeur et affichage) : puces et numéros visibles */
.ck-content ul,.ck.ck-editor__editable ul,.corps-article ul,.bloc-offre ul,.contenu-offre ul{list-style:disc outside;padding-left:1.6em;margin:.6em 0}
.ck-content ol,.ck.ck-editor__editable ol,.corps-article ol,.bloc-offre ol,.contenu-offre ol{list-style:decimal outside;padding-left:1.8em;margin:.6em 0}
.ck-content li,.ck.ck-editor__editable li,.corps-article li,.bloc-offre li,.contenu-offre li{display:list-item;margin:.25em 0}
.ck-content ul ul,.corps-article ul ul,.bloc-offre ul ul{list-style-type:circle}
/* Titres des sections d'une offre (apercRecrut.php) */
.bloc-offre > h2{font-size:1.6rem;line-height:1.25;margin:0 0 16px}
.bloc-offre h3{font-size:1.2rem;margin:16px 0 6px}.bloc-offre h4{font-size:1.05rem;margin:12px 0 4px}
/* Champ en erreur : rouge bien visible (y compris l'éditeur de texte riche) */
.champ.en-erreur > label{color:#b3261e;font-weight:700}
.champ.en-erreur input,.champ.en-erreur select,.champ.en-erreur textarea{border:2px solid #b3261e;background:#fff5f4}
.champ.en-erreur .ck.ck-editor__main > .ck-editor__editable,.champ.en-erreur .ck.ck-editor__top .ck-toolbar{border-color:#b3261e}
.champ.en-erreur .ck.ck-editor__main > .ck-editor__editable{border-width:2px;background:#fff5f4}
.champ.en-erreur .erreur{color:#b3261e;font-weight:600}
/* Formulaires (nouvelle offre, etc.) : un fieldset ou l'éditeur de texte ne doit jamais élargir la page du téléphone */
fieldset{min-width:0;max-width:100%}
.formulaire-page,.formulaire-page .champ,.formulaire-page fieldset{min-width:0;max-width:100%}
.champ .ck.ck-editor{max-width:100%;min-width:0}
.champ .ck.ck-editor__editable{overflow-wrap:anywhere}
.champ input,.champ select,.champ textarea{max-width:100%}
