/*
Theme Name: MonParrainage Premium
Theme URI: https://www.monparrainage.fr/
Author: MonParrainage.fr
Description: Thème WordPress natif pour un annuaire de codes et offres de parrainage.
Version: 3.7.0
Text Domain: monparrainage
*/

:root{--ink:#142033;--muted:#6c7888;--green:#08a66a;--green2:#087d53;--bg:#f5f7f9;--line:#e2e7ec;--gold:#f4b942}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}.wrap{max-width:1200px;margin:auto;padding:0 22px}
header{background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.nav{height:72px;display:flex;align-items:center;gap:25px}.brand{font-size:21px;font-weight:950;text-decoration:none;color:var(--ink)}.brand i{font-style:normal;color:var(--green)}.links{display:flex;gap:22px;margin-left:auto}.links a{color:#526071;text-decoration:none;font-size:14px}.cta,.btn{border:0;text-decoration:none;border-radius:11px;padding:12px 16px;font-weight:850;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}.cta,.green{background:var(--green);color:#fff!important}.dark{background:var(--ink);color:#fff}.soft{background:#e9edf1;color:#697685}
.hero{padding:72px 0;background:radial-gradient(circle at 80% 10%,#caffdf 0,transparent 28%),linear-gradient(135deg,#ecfff6,#f8fbff)}.heroGrid{display:grid;grid-template-columns:1.3fr .7fr;gap:45px;align-items:center}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.4px;color:#078b59}.hero h1,.pagehero h1{font-size:50px;line-height:1.04;letter-spacing:-2px;margin:12px 0 18px}.hero h1 em{font-style:normal;color:var(--green)}.hero p,.pagehero p{color:#637185;font-size:17px;line-height:1.65}.heroBox{background:var(--ink);color:#fff;padding:28px;border-radius:22px;box-shadow:0 22px 60px #13203525}.heroBox p{color:#c6d0dc;font-size:14px}.heroBox .metric{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ffffff16}.heroBox .metric:last-child{border:0}.heroactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.section{padding:56px 0}.head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.head h2{font-size:32px;margin:5px 0}.muted{color:var(--muted)}.featured{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature{background:#fff;border:1px solid var(--line);border-radius:19px;padding:22px;position:relative;overflow:hidden}.feature:before{content:"★ À LA UNE";position:absolute;right:14px;top:14px;color:#916b0d;background:#fff3c9;padding:6px 8px;border-radius:99px;font-size:10px;font-weight:900}.logo{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#e5fff2,#eaf3ff);color:#087d53;font-weight:950}.feature h3{margin:13px 0 4px}.rewardbig{font-size:25px;font-weight:950;margin:16px 0}
.catgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.catbox{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;text-decoration:none;color:var(--ink);transition:.18s}.catbox:hover{transform:translateY(-2px);border-color:#a8d8c2}.catbox b{display:block}.catbox small{color:#84909d}
.toolbar{display:grid;grid-template-columns:1fr 190px 190px 150px;gap:9px;margin-bottom:18px}.toolbar input,.toolbar select{background:#fff;border:1px solid #dce3e8;border-radius:11px;padding:13px;font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;position:relative}.rank{position:absolute;right:17px;top:17px;color:#8b96a2;font-size:11px;font-weight:900}.cardtop{display:flex;gap:11px;align-items:center}.card h3{margin:0}.cat{font-size:12px;color:#84909e}.badges{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.badge{font-size:10.5px;font-weight:900;padding:6px 9px;border-radius:99px}.verified{background:#e4fff1;color:#087b50}.invite{background:#e9f4ff;color:#286895}.capped{background:#fff0e8;color:#a14c1e}.review{background:#f0f2f5;color:#65717e}.forbid{background:#ffe8e8;color:#a32b2b}.card p{font-size:13px;color:#667486;line-height:1.55}.reward{margin-top:auto;border-top:1px solid #edf0f2;padding-top:13px}.reward small{display:block;color:#8b96a3}.reward b{font-size:18px}.cardactions{display:grid;grid-template-columns:1fr 42px;gap:7px;margin-top:13px}.fav{border:1px solid var(--line);background:#fff;border-radius:10px;font-size:18px;cursor:pointer}.fav.on{background:#fff3c9}
.pagehero{background:#fff;padding:55px 0;border-bottom:1px solid var(--line)}.breadcrumbs{font-size:12px;color:#7c8997;margin-bottom:20px}.breadcrumbs a{color:#078b59;text-decoration:none}.twocol{display:grid;grid-template-columns:1.4fr .65fr;gap:26px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.facts{display:grid;gap:10px}.fact{background:#f7f9fb;border-radius:10px;padding:13px}.fact small{display:block;color:#8793a0}.copyrow{display:flex;gap:8px}.copyrow input{min-width:0;flex:1;border:1px solid var(--line);padding:11px;border-radius:9px}.faq details{border:1px solid var(--line);border-radius:12px;padding:14px;margin:9px 0}.faq summary{font-weight:850;cursor:pointer}.faq p,.seoText p{color:#667486;line-height:1.7}.notice{padding:14px;border-radius:12px;background:#fff7e8;border:1px solid #f0d8a4;color:#785a1e}.danger{background:#fff0f0;border-color:#efc1c1;color:#842c2c}
footer{background:var(--ink);color:#c3ccd7;padding:35px 0;font-size:12px}.footergrid{display:flex;justify-content:space-between;gap:20px}footer a{color:#fff;text-decoration:none}
@media(max-width:850px){.links{display:none}.cta{margin-left:auto}.heroGrid,.twocol{grid-template-columns:1fr}.heroBox{display:none}.hero h1,.pagehero h1{font-size:38px}.featured,.cards{grid-template-columns:1fr}.catgrid{grid-template-columns:repeat(2,1fr)}.toolbar{grid-template-columns:1fr}.head{flex-direction:column;align-items:start}.footergrid{flex-direction:column}}

/* v1.2 - logos issus des images mises en avant */
.logo.logo-image{width:84px;height:84px;padding:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px}
.logo.logo-image img{width:100%;height:100%;object-fit:contain;display:block}
.feature .logo.logo-image,.card .logo.logo-image{margin-bottom:14px}
@media(max-width:700px){.logo.logo-image{width:72px;height:72px}}


/* v1.3 — mini logo en haut à droite des cartes */
.feature, .card, article.feature, article.card {
  position: relative;
}

/* Quand une image mise en avant existe, elle devient un petit logo discret */
.feature .logo.logo-image,
.card .logo.logo-image,
article.feature .logo.logo-image,
article.card .logo.logo-image {
  position: absolute;
  top: 18px;
  right: 18px;
  left: auto;
  margin: 0;
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 5px 18px rgba(0,0,0,.07);
  z-index: 2;
}

.feature .logo.logo-image img,
.card .logo.logo-image img,
article.feature .logo.logo-image img,
article.card .logo.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Laisse un peu d'espace pour éviter que le titre touche le mini logo */
.feature h3, .card h3,
article.feature h3, article.card h3 {
  padding-right: 64px;
}

@media (max-width:700px){
  .feature .logo.logo-image,
  .card .logo.logo-image,
  article.feature .logo.logo-image,
  article.card .logo.logo-image {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    padding: 5px;
    border-radius: 12px;
  }
  .feature h3, .card h3,
  article.feature h3, article.card h3 {
    padding-right: 54px;
  }
}


/* =========================================================
   v1.4 — CORRECTION FORCÉE : MINI LOGO EN HAUT À GAUCHE
   ========================================================= */

/* La carte reste la référence de positionnement */
.feature,
.card,
article.feature,
article.card {
    position: relative !important;
    overflow: hidden;
}

/* L'image mise en avant ne doit JAMAIS remplir la carte */
.feature > .logo.logo-image,
.card > .logo.logo-image,
article.feature > .logo.logo-image,
article.card > .logo.logo-image {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    bottom: auto !important;

    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 5px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
    overflow: hidden !important;
    z-index: 20 !important;
}

/* Force réellement l'image à rester dans le carré miniature */
.feature > .logo.logo-image img,
.card > .logo.logo-image img,
article.feature > .logo.logo-image img,
article.card > .logo.logo-image img,
.feature > .logo.logo-image .attachment-medium,
.card > .logo.logo-image .attachment-medium {
    position: static !important;
    width: 38px !important;
    min-width: 0 !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 0 !important;
    max-height: 38px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Le nom commence après le mini-logo */
.feature > h3,
.card > h3,
article.feature > h3,
article.card > h3 {
    padding-left: 62px !important;
    padding-right: 0 !important;
    min-height: 48px;
}

/* Mobile */
@media (max-width:700px) {
    .feature > .logo.logo-image,
    .card > .logo.logo-image,
    article.feature > .logo.logo-image,
    article.card > .logo.logo-image {
        top: 12px !important;
        left: 12px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 4px !important;
    }

    .feature > .logo.logo-image img,
    .card > .logo.logo-image img,
    article.feature > .logo.logo-image img,
    article.card > .logo.logo-image img {
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }

    .feature > h3,
    .card > h3,
    article.feature > h3,
    article.card > h3 {
        padding-left: 54px !important;
    }
}


/* =========================================================
   v1.5 — MINI LOGO RÉEL : élément image dédié
   Ne dépend plus des anciennes règles .logo / .logo-image.
   ========================================================= */
.card, .feature, article.card, article.feature { position:relative !important; }

/* Image dédiée : toujours miniature */
img.mp-mini-logo {
    position:absolute !important;
    top:16px !important;
    left:16px !important;
    right:auto !important;
    bottom:auto !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    min-height:46px !important;
    max-width:46px !important;
    max-height:46px !important;
    object-fit:contain !important;
    object-position:center !important;
    display:block !important;
    box-sizing:border-box !important;
    padding:5px !important;
    margin:0 !important;
    border:1px solid rgba(0,0,0,.09) !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 3px 12px rgba(0,0,0,.06) !important;
    z-index:50 !important;
}

/* Dans les cartes, décale le contenu supérieur pour laisser la place au logo */
.card .cardtop {
    min-height:48px !important;
    padding-left:60px !important;
}
.card .cardtop h3 {
    padding:0 !important;
    margin:0 !important;
}

/* Offres à la une */
.feature > h3 {
    min-height:46px !important;
    padding-left:60px !important;
    padding-right:82px !important;
    margin-top:0 !important;
}

/* Les anciennes règles d'image ne doivent plus intervenir */
.logo.logo-image { position:static; width:48px; height:48px; }

@media(max-width:700px){
    img.mp-mini-logo{
        top:12px !important;
        left:12px !important;
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        min-height:40px !important;
        max-width:40px !important;
        max-height:40px !important;
        padding:4px !important;
    }
    .card .cardtop{padding-left:52px !important;min-height:42px !important}
    .feature > h3{padding-left:52px !important;min-height:42px !important}
}


/* v1.8 — footer SEO + partenariat */
.mp-site-footer{margin-top:60px;padding:46px 0 22px;background:#101314;color:#dfe6e2}
.mp-footer-content{display:grid;grid-template-columns:1.4fr 1fr;gap:48px}
.mp-site-footer h3{margin:0 0 14px;color:#fff;font-size:20px}
.mp-site-footer p{margin:0 0 12px;line-height:1.7;color:#cbd4cf}
.mp-site-footer a{color:#fff;text-decoration:none}
.mp-site-footer a:hover{text-decoration:underline}
.mp-footer-partner{padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.04)}
.mp-footer-bottom{margin-top:32px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:24px;align-items:center;font-size:13px;color:#aeb9b3}
.mp-footer-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.mp-footer-nav a{color:#cbd4cf}
@media(max-width:800px){.mp-footer-content{grid-template-columns:1fr;gap:26px}.mp-footer-bottom{flex-direction:column;align-items:flex-start}}

/* v2.0 — sélection manuelle À la une + Bon plan du moment */
.mp-hotdeal{position:absolute!important;top:16px!important;right:16px!important;z-index:55!important;background:#fff1e8!important;color:#b53b00!important;border:1px solid #ffd1b8!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;font-weight:800!important;line-height:1!important;box-shadow:0 3px 10px rgba(0,0,0,.05)!important}
@media(max-width:700px){.mp-hotdeal{top:12px!important;right:12px!important;font-size:11px!important;padding:6px 8px!important}}


/* v2.1 — raccourcis catégories en haut de l'accueil */
.mp-category-shortcuts{padding:26px 0 8px;background:#fff;border-bottom:1px solid var(--line)}
.mp-category-shortcuts-head{margin-bottom:14px}.mp-category-shortcuts-head h2{font-size:24px;margin:4px 0}
.mp-category-shortcuts-grid{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:thin}
.mp-category-shortcut{flex:0 0 auto;min-width:128px;display:flex;align-items:center;gap:9px;padding:11px 14px;background:#f8fffb;border:1px solid #dcebe4;border-radius:14px;color:var(--ink);text-decoration:none;font-weight:850;font-size:12px;transition:.18s}
.mp-category-shortcut:hover{transform:translateY(-2px);border-color:#83caaa;background:#effbf5}
.mp-category-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e7f8ef;font-size:19px;line-height:1}
.mp-category-name{white-space:nowrap}
@media(max-width:700px){.mp-category-shortcuts{padding-top:20px}.mp-category-shortcuts-head h2{font-size:21px}.mp-category-shortcut{min-width:116px;padding:9px 11px}.mp-category-icon{width:31px;height:31px;font-size:17px}}


/* v2.2 — fiche parrainage : code et lien beaucoup plus visibles.
   Aucun changement sur la page d'accueil. */
.mp-referral-box{
  margin-top:8px;
  padding:20px;
  border:2px solid var(--green);
  border-radius:16px;
  background:linear-gradient(135deg,#edfff6,#f8fffb);
  box-shadow:0 10px 28px rgba(8,166,106,.12);
}
.mp-referral-title{font-size:18px;font-weight:950;color:var(--ink);margin-bottom:15px}
.mp-code-label{font-size:11px;text-transform:uppercase;letter-spacing:.7px;font-weight:900;color:#667486;margin-bottom:7px}
.mp-code-highlight{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px dashed #76c9a5;border-radius:12px;padding:10px 10px 10px 15px;margin-bottom:12px}
.mp-code-highlight strong{font-size:22px;letter-spacing:.7px;color:#087d53;overflow-wrap:anywhere}
.mp-copy-btn{border:0;border-radius:9px;background:#e3f8ee;color:#087d53;font-weight:900;padding:10px 12px;cursor:pointer;white-space:nowrap}
.mp-referral-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:14px 16px;border-radius:12px;background:var(--green);color:#fff!important;text-decoration:none;font-size:15px;font-weight:950;text-align:center;box-shadow:0 7px 18px rgba(8,166,106,.22)}
.mp-referral-link:hover{background:var(--green2)}
.mp-source-link{width:100%;margin-top:10px}
@media(max-width:600px){.mp-code-highlight{align-items:stretch;flex-direction:column}.mp-copy-btn{width:100%}.mp-code-highlight strong{text-align:center;font-size:21px}}


/* v2.3 — fiche uniquement : code et lien compacts, style Source officielle. */
.mp-referral-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.mp-referral-actions .mp-compact-action{width:auto!important;margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 13px!important;border-radius:10px!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;cursor:pointer}
.mp-referral-actions button.mp-compact-action{font-family:inherit}
.mp-referral-actions .mp-code-action strong{margin-left:4px;letter-spacing:.3px}
@media(max-width:600px){.mp-referral-actions{align-items:stretch}.mp-referral-actions .mp-compact-action{flex:1 1 auto}}

/* V2.4 - Codes et liens dans les 12 cartes à la une */
.feature .mp-feature-actions{margin-top:12px;display:flex;flex-direction:column;gap:9px;width:100%;position:relative;z-index:3}
.feature .mp-feature-code{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 12px;background:#f0faf3;border:1px solid #c6e9d0;border-radius:12px;font-size:13px}
.feature .mp-feature-code span{color:#476255;font-size:12px}
.feature .mp-feature-code strong{color:#146a36;font-size:15px;overflow-wrap:anywhere}
.feature .mp-feature-copy{margin-left:auto;border:1px solid #a7d6b7;background:white;color:#146a36;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:700;cursor:pointer}
.feature .mp-feature-link{display:block;text-align:center;padding:10px 12px;border-radius:10px;background:#e7f5ec;color:#146a36!important;border:1px solid #b6e1c4;text-decoration:none;font-weight:800;font-size:13px}
.feature .mp-feature-link:hover{background:#d3efdd}

/* V2.5 : code et lien reprennent le style exact du bouton Découvrir */
.feature .mp-feature-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px;width:100%;align-items:stretch}
.feature .mp-feature-actions .btn.green{display:flex!important;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;width:100%;margin:0;min-height:40px;padding:10px 13px;border:0;border-radius:10px;background:var(--green);color:#fff!important;font-family:inherit;font-size:13px;font-weight:800;text-decoration:none;line-height:1.35;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.feature .mp-feature-actions .btn.green:hover{background:var(--green2)}

/* V2.6 : actions À la une visibles et adaptées au mobile. */
.feature .mp-feature-actions{display:flex!important;visibility:visible!important;opacity:1!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;position:relative!important;z-index:5!important;max-width:100%!important;height:auto!important;overflow:visible!important;margin-top:12px!important}
.feature .mp-feature-actions .btn.green{display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;margin:0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;justify-content:center!important;background:var(--green)!important;color:#fff!important}
@media(max-width:850px){.featured .feature{min-width:0!important;overflow:hidden!important}.feature .mp-feature-actions{width:100%!important}.feature .mp-feature-actions .btn.green{font-size:13px!important;padding:12px 10px!important}.feature > .btn.green{max-width:100%!important}}

/* V2.7 : diagnostic administrateur des cartes vedettes */
.mp-feature-admin-hint{margin-top:12px;padding:10px 12px;border:1px dashed #d1a453;border-radius:10px;background:#fff9e9;color:#694d18;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.mp-feature-admin-hint a{color:#146a36;font-weight:800}

/* V2.8 - raccourcis sur les cartes de catégorie et les archives */
.card .mp-category-actions{display:flex;flex-direction:column;gap:9px;width:100%;margin-top:10px;align-items:stretch}
.card .mp-category-actions .btn.green{display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:11px 12px;border:0;border-radius:10px;background:var(--green);color:#fff!important;font:800 13px/1.4 inherit;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.card .mp-category-actions .btn.green:hover{background:var(--green2)}
@media(max-width:850px){.card .mp-category-actions{display:flex!important;visibility:visible!important}.card .mp-category-actions .btn.green{width:100%!important;display:flex!important;visibility:visible!important}}

/* V3.0 – recherche instantanée et fiches enrichies */
.mp-search-section{padding:28px 0 12px}.mp-search-panel{position:relative;background:#fff;border:1px solid #dcece3;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.04)}.mp-search-panel label{display:block;font-size:1.2rem;font-weight:800;margin-bottom:12px}.mp-search-panel input{display:block;width:100%;box-sizing:border-box;border:2px solid #d7e9dd;border-radius:12px;padding:15px 17px;font:inherit;outline:none}.mp-search-panel input:focus{border-color:var(--green,#08a66a)}.mp-search-panel>p{font-size:.85rem;color:#66756e;margin:9px 0 0}.mp-live-results:not(:empty){border:1px solid #e1eae4;border-radius:12px;margin-top:8px;overflow:hidden}.mp-live-result{display:flex;justify-content:space-between;gap:12px;padding:13px 16px;text-decoration:none;color:#152b20;border-bottom:1px solid #edf2ee}.mp-live-result:last-child{border:0}.mp-live-result:hover,.mp-live-result:focus{background:#edfaf2}.mp-live-result small{color:#168052}.mp-v3-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px}.mp-v3-benefit-grid>div{background:#effaf3;border:1px solid #d2eddb;border-radius:13px;padding:17px;overflow-wrap:anywhere}.mp-v3-benefit-grid small,.mp-v3-benefit-grid strong{display:block}.mp-v3-benefit-grid strong{font-size:1.12rem;margin-top:9px;color:#086b43}.mp-v3-steps,.mp-v3-conditions{margin-top:25px}.mp-v3-steps li{margin:9px 0}.mp-v3-date{font-size:.88rem;color:#576b60}.mp-v3-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mp-v3-related-card{display:flex;flex-direction:column;gap:12px;min-width:0}.mp-v3-related-card img{width:56px;height:56px;object-fit:contain}.mp-v3-related-card h3{font-size:1.1rem;margin:0}.mp-v3-related-card h3 a{text-decoration:none;color:inherit}.mp-v3-related-card p{margin:0 0 auto}.mp-v3-related-card .btn{display:block;text-align:center}@media(max-width:850px){.mp-v3-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.mp-search-panel{padding:16px}.mp-live-result{flex-direction:column;gap:3px}.mp-v3-benefit-grid,.mp-v3-related-grid{grid-template-columns:1fr}}

/* V3.5: facultative public status and expiration labels */
.mp35-public-labels{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px;align-items:center}
.mp35-chip{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:750;line-height:1.35;background:#e8f8ef;color:#09663e;border:1px solid #a7e2c2}
.mp35-review{background:#fff5df;color:#8b5800;border-color:#f2d49c}
.mp35-suspended,.mp35-expired{background:#ffebeb;color:#a32929;border-color:#f2b4b4}
.mp35-date{background:#eef3f8;color:#344a60;border-color:#d6e1eb}
@media(max-width:600px){.mp35-public-labels{gap:6px}.mp35-chip{font-size:11px;padding:6px 9px}}

/* V3.6 — Bouton de vérification bleu, distinct du bouton Découvrir vert. */
.mp35-public-labels .mp35-status-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box;padding:10px 17px;border-radius:10px;background:#2563eb;border:1px solid #1d4ed8;color:#fff!important;font-size:13px;font-weight:800;line-height:1.35;text-align:center;box-shadow:0 3px 9px rgba(37,99,235,.15)}
.mp35-public-labels .mp35-status-button.mp35-review{background:#b45309;border-color:#92400e}
.mp35-public-labels .mp35-status-button.mp35-suspended,.mp35-public-labels .mp35-status-button.mp35-expired{background:#b91c1c;border-color:#991b1b}
@media(max-width:600px){.mp35-public-labels .mp35-status-button{min-height:44px;padding:11px 15px;font-size:12px}}

/* V3.7 — Correction : l’ancien badge .badge.verified restait vert.
   Le statut de vérification facultatif et le badge historique reçoivent le bleu. */
.badges .badge.verified,
.mp35-public-labels .mp35-chip.mp35-verified {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;min-height:42px!important;padding:10px 17px!important;
 background:#2563eb!important;background-color:#2563eb!important;
 color:#fff!important;border:1px solid #1d4ed8!important;
 border-radius:10px!important;font-size:13px!important;font-weight:800!important;
 line-height:1.35!important;text-align:center!important;
 box-shadow:0 3px 9px rgba(37,99,235,.15)!important;
}
@media(max-width:600px){.badges .badge.verified,.mp35-public-labels .mp35-chip.mp35-verified{min-height:44px!important;padding:11px 15px!important;font-size:12px!important}}
