:root{--pro-green:#0e2f1d;--pro-green2:#123c26;--pro-lime:#a3c144;--pro-pink:#c31f4e;--pro-cream:#f4f1e8;--pro-text:#284633}
.proteger-hero,.proteger-hero *,.proteger-content,.proteger-content *,.proteger-gallery,.proteger-gallery *,.proteger-list,.proteger-list *,.proteger-button{box-sizing:border-box;font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
.proteger-hero{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;color:#fff!important;overflow:visible!important}
.proteger-inner{width:100%!important;max-width:1180px!important;margin:0!important;padding:0!important;text-align:left!important}
.proteger-hero h1{margin:0!important;color:#fff!important;font-size:clamp(44px,6.2vw,76px)!important;line-height:.98!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.01em!important;text-align:left!important}
.proteger-hero h2{margin:14px 0 20px!important;color:var(--pro-lime)!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.15!important;font-weight:800!important;text-align:left!important}
.proteger-intro{max-width:760px!important;margin:0!important;color:#fff!important;font-size:18px!important;line-height:1.6!important;font-weight:600!important;text-align:left!important}.proteger-intro p{margin:0 0 12px!important;color:inherit!important}
.proteger-actions{display:flex!important;flex-wrap:wrap!important;gap:16px!important;margin:28px 0 0!important;padding:0!important;justify-content:flex-start!important}
.proteger-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;margin:0!important;padding:14px 27px!important;border:0!important;border-radius:999px!important;text-decoration:none!important;font-size:16px!important;line-height:1.2!important;font-weight:800!important;box-shadow:none!important;transition:none!important}.proteger-button span{font-size:24px!important;line-height:.7!important;font-weight:800!important;transform:translateY(-1px)}.proteger-button-primary{background:var(--pro-pink)!important;color:#fff!important}.proteger-button-secondary{background:var(--pro-lime)!important;color:#0a2416!important}.proteger-button:hover{transform:none!important;filter:none!important}

/* Le shortcode de contenu ne crée ni fond général, ni marge extérieure. */
.proteger-content{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;margin:0!important;padding:0!important;background:none!important;align-items:stretch}
.proteger-block{grid-column:span 6;position:relative;min-width:0;padding:clamp(26px,3.8vw,44px);border:1px solid #dce8c4;border-radius:26px;background:var(--pro-cream);color:var(--pro-green);overflow:hidden}
.proteger-block:before{content:"";position:absolute;top:0;left:0;width:100%;height:6px;background:var(--pro-lime)}
.proteger-block h2{margin:0 0 14px!important;color:inherit!important;font-size:clamp(27px,3.2vw,43px)!important;line-height:1.05!important;font-weight:800!important;text-transform:none!important}
.proteger-kicker{display:inline-flex;align-items:center;min-height:34px;margin:0 0 14px;padding:6px 12px;border-radius:999px;background:#e4efc5;color:var(--pro-green);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.proteger-text,.proteger-text p,.proteger-text li{color:var(--pro-text)!important;font-size:17px!important;line-height:1.6!important;font-weight:500!important}.proteger-text p:last-child{margin-bottom:0!important}
.proteger-block.is-highlight{grid-column:span 12;display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);column-gap:34px;align-items:center;background:#eef5da;border-color:#cadf8e}.proteger-block.is-highlight .proteger-kicker,.proteger-block.is-highlight h2{grid-column:1}.proteger-block.is-highlight .proteger-text{grid-column:2;grid-row:1/span 2}
.proteger-block.is-dark{grid-column:span 12;background:var(--pro-green);border-color:rgba(163,193,68,.38);color:#fff}.proteger-block.is-dark:before{background:var(--pro-pink)}.proteger-block.is-dark .proteger-kicker{background:rgba(163,193,68,.17);color:#cfe88b}.proteger-block.is-dark .proteger-text,.proteger-block.is-dark .proteger-text p,.proteger-block.is-dark .proteger-text li{color:rgba(255,255,255,.84)!important}
.proteger-block.is-stat{grid-column:span 6;padding-top:36px;background:#fff;border-color:#dfe8cb}.proteger-block.is-stat:after{content:none!important;display:none!important}.proteger-block.is-stat .proteger-kicker{background:var(--pro-green);color:#fff;font-size:15px}.proteger-block.is-stat h2{max-width:560px;color:var(--pro-green)!important}.proteger-block.is-stat h2::first-line{color:var(--pro-pink)}
.proteger-block.is-list{grid-column:span 6}.proteger-block.is-quote{grid-column:span 12;text-align:center;background:#eef5da;border:0;border-left:8px solid var(--pro-lime)}
.proteger-feature-list{display:grid;gap:10px;margin:18px 0 0!important;padding:0!important;list-style:none!important}.proteger-feature-list li{position:relative;margin:0!important;padding:11px 14px 11px 40px!important;border-radius:13px;background:rgba(163,193,68,.12)}.proteger-feature-list li:before{content:"✓";position:absolute;left:14px;top:10px;color:var(--pro-lime);font-weight:900}.is-dark .proteger-feature-list li{background:rgba(255,255,255,.07)}

/* Présentations adaptées automatiquement au sujet de chaque page. */
.proteger-layout-conservation{position:relative}.proteger-layout-conservation .proteger-block{grid-column:span 6}.proteger-layout-conservation .proteger-block:last-child{grid-column:span 12}.proteger-layout-conservation .proteger-kicker{font-size:18px;min-height:42px;padding:7px 16px;background:var(--pro-lime);color:var(--pro-green)}
.proteger-layout-bilan-recherche-et-conservation .proteger-block{grid-column:span 6}.proteger-layout-bilan-recherche-et-conservation .proteger-block:first-child{grid-column:span 12}.proteger-layout-bilan-recherche-et-conservation .proteger-block:nth-child(4){background:var(--pro-green);color:#fff}.proteger-layout-bilan-recherche-et-conservation .proteger-block:nth-child(4) .proteger-text,.proteger-layout-bilan-recherche-et-conservation .proteger-block:nth-child(4) .proteger-text p{color:rgba(255,255,255,.84)!important}
.proteger-layout-association-des-amis-de-biotropica .proteger-block:first-child{grid-column:span 12}.proteger-layout-association-des-amis-de-biotropica .proteger-block:nth-child(2),.proteger-layout-association-des-amis-de-biotropica .proteger-block:nth-child(3){grid-column:span 6}
.proteger-layout-campagnes-eaza .proteger-block{grid-column:span 6}.proteger-layout-campagnes-eaza .proteger-block:nth-child(2){background:var(--pro-green);color:#fff}.proteger-layout-campagnes-eaza .proteger-block:nth-child(2) .proteger-text,.proteger-layout-campagnes-eaza .proteger-block:nth-child(2) .proteger-text p{color:rgba(255,255,255,.84)!important}
.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(1),.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(2){grid-column:span 6}.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(3){grid-column:span 12;background:var(--pro-green);color:#fff}.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(3) .proteger-text,.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(3) .proteger-text p{color:rgba(255,255,255,.84)!important}.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(4){grid-column:span 12;text-align:center;background:#eef5da}

.proteger-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0!important;padding:0!important}.proteger-gallery figure{margin:0;border-radius:20px;overflow:hidden}.proteger-gallery img{display:block;width:100%;height:280px;object-fit:cover}
.proteger-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0!important;padding:0!important}.proteger-list article{overflow:hidden;border-radius:22px;background:#fff}.proteger-list img{width:100%;height:210px;object-fit:cover}.proteger-list article div{padding:22px}.proteger-list h3{margin:0 0 8px;color:var(--pro-green);font-weight:800}.proteger-list code{display:block;margin-top:12px;white-space:normal}
@media(max-width:800px){.proteger-content{grid-template-columns:1fr}.proteger-block,.proteger-block.is-highlight,.proteger-block.is-dark,.proteger-block.is-stat,.proteger-block.is-list,.proteger-block.is-quote,.proteger-layout-conservation .proteger-block,.proteger-layout-conservation .proteger-block:last-child,.proteger-layout-bilan-recherche-et-conservation .proteger-block,.proteger-layout-bilan-recherche-et-conservation .proteger-block:first-child,.proteger-layout-association-des-amis-de-biotropica .proteger-block,.proteger-layout-campagnes-eaza .proteger-block,.proteger-layout-dreamnight-at-the-zoo .proteger-block{grid-column:1!important}.proteger-block.is-highlight{display:block}.proteger-block.is-highlight .proteger-kicker,.proteger-block.is-highlight h2,.proteger-block.is-highlight .proteger-text{grid-column:auto;grid-row:auto}.proteger-gallery,.proteger-list{grid-template-columns:1fr}.proteger-hero h1{font-size:clamp(38px,11vw,58px)!important}.proteger-actions{flex-direction:column!important;align-items:flex-start!important}.proteger-button{width:100%!important}.proteger-gallery img{height:240px}}

/* v1.3.2 — Campagnes EAZA : correction de la première carte */
.proteger-layout-campagnes-eaza .proteger-block:first-child,
.proteger-layout-campagnes-eaza .proteger-block:first-child.is-highlight{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  grid-template-columns:none !important;
  column-gap:0 !important;
}
.proteger-layout-campagnes-eaza .proteger-block:first-child .proteger-kicker,
.proteger-layout-campagnes-eaza .proteger-block:first-child h2,
.proteger-layout-campagnes-eaza .proteger-block:first-child .proteger-text{
  grid-column:auto !important;
  grid-row:auto !important;
  width:100% !important;
  max-width:none !important;
}
.proteger-layout-campagnes-eaza .proteger-block:first-child h2{
  margin-bottom:18px !important;
  font-size:clamp(30px,3vw,42px) !important;
  line-height:1.08 !important;
}
.proteger-layout-campagnes-eaza .proteger-block:first-child .proteger-text{
  margin-top:0 !important;
}

/* v1.3.3 — Liens adaptatifs selon le fond */
.proteger-content a,
.proteger-gallery a,
.proteger-list a{
  color:var(--pro-green) !important;
  font-weight:800 !important;
  text-decoration:underline !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:3px !important;
  transition:none !important;
}

/* Fonds clairs : lien vert foncé pour conserver un contraste suffisant. */
.proteger-block:not(.is-dark) a,
.proteger-block.is-highlight a,
.proteger-block.is-stat a,
.proteger-block.is-list a,
.proteger-block.is-quote a{
  color:var(--pro-green) !important;
  text-decoration-color:rgba(14,47,29,.45) !important;
}

/* Fonds foncés : lien vert clair. */
.proteger-block.is-dark a,
.proteger-layout-campagnes-eaza .proteger-block:nth-child(2) a,
.proteger-layout-bilan-recherche-et-conservation .proteger-block:nth-child(4) a,
.proteger-layout-dreamnight-at-the-zoo .proteger-block:nth-child(3) a{
  color:#cfe88b !important;
  text-decoration-color:rgba(207,232,139,.65) !important;
}

.proteger-content a:hover,
.proteger-content a:focus-visible,
.proteger-gallery a:hover,
.proteger-gallery a:focus-visible,
.proteger-list a:hover,
.proteger-list a:focus-visible{
  color:var(--pro-lime) !important;
  text-decoration-color:currentColor !important;
}

/* Sur fond clair, le survol reste foncé afin de ne pas perdre en lisibilité. */
.proteger-block:not(.is-dark) a:hover,
.proteger-block:not(.is-dark) a:focus-visible,
.proteger-block.is-highlight a:hover,
.proteger-block.is-highlight a:focus-visible,
.proteger-block.is-stat a:hover,
.proteger-block.is-stat a:focus-visible,
.proteger-block.is-list a:hover,
.proteger-block.is-list a:focus-visible,
.proteger-block.is-quote a:hover,
.proteger-block.is-quote a:focus-visible{
  color:#1b4c30 !important;
}

/* v1.3.4 — Galerie paginée : 3 lignes de 3 photos */
.proteger-gallery-carousel,
.proteger-gallery-carousel *{
  box-sizing:border-box;
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}
.proteger-gallery-carousel{
  width:100%;
  margin:0!important;
  padding:0!important;
  background:none!important;
}
.proteger-gallery-viewport{
  width:100%;
  overflow:hidden;
}
.proteger-gallery-track{
  width:100%;
}
.proteger-gallery-page{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  width:100%;
  margin:0!important;
  padding:0!important;
}
.proteger-gallery-page[hidden]{display:none!important;}
.proteger-gallery-page figure{
  margin:0!important;
  overflow:hidden;
  border-radius:20px;
  aspect-ratio:1.22/1;
  background:#eef5da;
}
.proteger-gallery-page img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.proteger-gallery-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 0!important;
  padding:0!important;
}
.proteger-gallery-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:var(--pro-lime)!important;
  color:var(--pro-green)!important;
  cursor:pointer;
  box-shadow:none!important;
}
.proteger-gallery-arrow span{
  font-size:34px;
  line-height:1;
  transform:translateY(-2px);
}
.proteger-gallery-arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}
.proteger-gallery-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.proteger-gallery-dot{
  width:11px;
  height:11px;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(163,193,68,.35)!important;
  cursor:pointer;
}
.proteger-gallery-dot.is-active{
  width:28px;
  border-radius:999px!important;
  background:var(--pro-lime)!important;
}
.proteger-gallery-counter{
  min-width:44px;
  color:inherit;
  font-size:15px;
  font-weight:700;
  text-align:center;
}
@media(max-width:900px){
  .proteger-gallery-page{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  .proteger-gallery-page{grid-template-columns:1fr;gap:14px;}
  .proteger-gallery-page figure{aspect-ratio:4/3;border-radius:16px;}
  .proteger-gallery-controls{gap:9px;margin-top:18px!important;}
  .proteger-gallery-arrow{width:44px;height:44px;}
}
