/* Chrome commun — calé sur l’identité OVH, sans second bandeau. */
html body .mlr-chrome-bar,
html body.mlr-interior-clean .site-header,
html body.mlr-interior-clean .master-header,
html body.mlr-interior-clean .mlr-header,
html body.mlr-interior-clean .sitebar,
html body.mlr-interior-clean header.top{
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  background:#071A5C!important;
  border-bottom:2px solid #F2B321!important;
  box-shadow:0 8px 22px rgba(2,10,35,.18)!important;
}
html body.mlr-interior-clean header.sitebar,
html body.mlr-interior-clean header.site-header,
html body.mlr-interior-clean header.mlr-header,
html body .mlr-chrome-bar{
  display:block!important;
  width:100%!important;
}
html body .mlr-chrome-inner,
html body .mlr-compact-inner{
  width:min(1180px,calc(100% - 32px));
  min-height:64px!important;
  margin:0 auto;
  padding:6px 0!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between;
  gap:12px;
  grid-template-columns:none!important;
}
html body .mlr-compact-brand,
html body .mlr-chrome-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0;
  color:#FBF8EF!important;
  text-decoration:none!important;
  flex:0 0 auto;
}
html body .mlr-compact-brand img,
html body .mlr-chrome-brand img,
html body.mlr-interior-clean .brand-logo-img,
html body header.top .brand img{
  width:56px!important;
  height:56px!important;
  max-width:56px!important;
  max-height:56px!important;
  object-fit:contain!important;
  flex:0 0 56px!important;
}
html body .mlr-compact-brand span,
html body .mlr-chrome-brand span{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
html body .mlr-compact-brand strong,
html body .mlr-chrome-brand strong{
  display:block;
  color:#F2B321!important;
  font:700 1.05rem/1.15 Georgia,"Times New Roman",serif!important;
}
html body .mlr-compact-brand small,
html body .mlr-chrome-brand small{
  display:block!important;
  color:#FBF8EF!important;
  font:500 .76rem/1.2 Inter,system-ui,sans-serif!important;
}
html body .mlr-chrome-nav,
html body.mlr-interior-clean .site-header .mlr-chrome-nav,
html body.mlr-interior-clean .mlr-header .mlr-chrome-nav{
  display:flex!important;
  align-items:center;
  gap:8px 22px;
  flex:1 1 auto!important;
  flex-wrap:nowrap!important;
  justify-content:space-evenly!important;
  min-width:0;
  margin-left:2rem;
}
html body .mlr-chrome-actions{
  display:flex!important;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
html body .mlr-install-link,
html body .mlr-chrome-actions .mlr-install-link{
  display:inline-flex!important;
  align-items:center;
  white-space:nowrap;
  color:#F2B321!important;
  font:700 .78rem/1.2 Inter,system-ui,sans-serif;
  padding:7px 12px!important;
  border:1px solid #F2B321!important;
  border-radius:8px;
  text-decoration:none!important;
  min-height:34px;
}
html body .mlr-install-link-mobile{display:none!important}
html body .mlr-chrome-nav>a,
html body .mlr-chrome-nav .nav-dropdown-trigger{
  display:inline-flex!important;
  align-items:center;
  min-height:34px;
  padding:4px 0!important;
  color:#FBF8EF!important;
  font:700 .8rem/1.2 Inter,system-ui,sans-serif;
  border:0!important;
  border-bottom:2px solid transparent;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html body .mlr-chrome-nav>a:hover,
html body .mlr-chrome-nav>a:focus-visible,
html body .mlr-chrome-nav .nav-dropdown-trigger:hover{
  color:#F2B321!important;
  border-bottom-color:#F2B321;
}
html body .mlr-chrome-nav>a,
html body .mlr-chrome-nav .nav-dropdown{flex:0 0 auto;white-space:nowrap}
html body .mlr-chrome-nav .nav-dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:260px;
  background:#fff;
  border:1px solid #e4dccb;
  border-radius:12px;
  padding:8px;
  box-shadow:0 16px 36px rgba(4,17,56,.18);
  z-index:120;
}
html body .mlr-chrome-nav .nav-dropdown:hover .nav-dropdown-menu,
html body .mlr-chrome-nav .nav-dropdown:focus-within .nav-dropdown-menu,
html body .mlr-chrome-nav .nav-dropdown.is-open .nav-dropdown-menu{display:grid}
html body .mlr-chrome-nav .nav-dropdown{position:relative}
html body .mlr-chrome-nav .nav-dropdown-menu a{
  display:block;
  padding:9px 10px;
  border-radius:8px;
  color:#15234a!important;
  border:0!important;
}
html body .mlr-chrome-nav .nav-dropdown-menu a:hover{background:#f6f0e5}
html body .mlr-chrome-nav .nav-dropdown-menu strong{display:block;font-size:.8rem}
html body .mlr-chrome-nav .nav-dropdown-menu small{display:block;margin-top:2px;color:#6b7384;font-size:.68rem;font-weight:500}
html body .mlr-chrome-menu,
html body.mlr-interior-clean .mlr-chrome-menu.menu-btn{
  display:none;
  border:1px solid #F2B321;
  background:transparent;
  color:#FBF8EF;
  min-height:40px;
  padding:0 12px;
  border-radius:8px;
  font-weight:800;
  cursor:pointer;
}
html body .mlr-chrome-trail,
html body .mlr-chrome-crumb{display:none!important}

html body.master-home .master-footer{
  background:#eee6d8!important;
  color:#071A5C!important;
  border-top:1px solid #c9bea8;
  padding:14px 0!important;
  font-size:.82rem!important;
}
html body.master-home .master-footer .container{
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:8px 22px!important;
}
html body.master-home .master-footer a,
html body.master-home .master-footer span{
  color:#071A5C!important;
  font-weight:700;
  padding:4px 0;
}
html body.master-home .master-footer a:hover{color:#8a6a12!important}

html body .mlr-quiet-footer{
  background:#071A5C!important;
  color:#FBF8EF!important;
  padding:16px 0!important;
  margin:0!important;
  border:0!important;
  border-top:2px solid #F2B321!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:.86rem;
}
html body .mlr-quiet-footer-inner{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 22px;
}
html body .mlr-quiet-footer p{
  margin:0;
  color:#FBF8EF!important;
  font-weight:700;
}
html body .mlr-quiet-footer nav{display:flex;flex-wrap:wrap;gap:10px 20px}
html body footer.mlr-quiet-footer .mlr-quiet-footer-inner,
html body footer.mlr-quiet-footer nav,
html body footer.mlr-quiet-footer p{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body .mlr-quiet-footer a{
  color:#F2B321!important;
  font-weight:800;
  text-decoration:none;
  padding:4px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .mlr-quiet-footer a:hover{color:#fff!important}

html body .mlr-contribute{
  background:#FBF8EF;
  border-top:1px solid rgba(7,26,92,.12);
  padding:18px 0;
}
html body .mlr-contribute .container{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 22px;
}
html body .mlr-contribute p{margin:0;color:#071A5C;font:600 .95rem/1.4 Georgia,serif;max-width:42rem}
html body .community-floating,
html body .mlr-mobile-actions-toggle{display:none!important}

html body .mlr-install-dialog{
  width:min(28rem,92vw);
  padding:0;
  border:0;
  border-radius:16px;
  background:#FBF8EF;
  color:#071A5C;
}
html body .mlr-install-dialog::backdrop{background:rgba(7,26,92,.46)}
html body .mlr-install-dialog-inner{padding:22px 22px 20px;text-align:center}
html body .mlr-install-dialog .eyebrow{color:#8a6a12;font-weight:800;letter-spacing:.1em;text-transform:uppercase;font-size:.72rem}
html body .mlr-install-dialog h2{margin:.35rem 0 .6rem;font:700 1.25rem Georgia,serif}
html body .mlr-install-dialog img{display:block;margin:12px auto;background:#fff;padding:8px;border-radius:12px}
html body .mlr-install-url{font-weight:800;font-size:.82rem}
html body .mlr-install-close{
  position:absolute;top:8px;right:10px;border:0;background:transparent;
  font-size:1.4rem;cursor:pointer;color:#071A5C;
}
html body .mlr-install-now{
  border:0;border-radius:999px;padding:10px 16px;background:#071A5C;color:#fff;font-weight:800;cursor:pointer;
}
html body[data-mlr-bg-page]{--mlr-page-bg-pos:center}
html body.mlr-has-page-bg{background-color:#FBF8EF}
html body.mlr-has-page-bg::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background-image:var(--mlr-page-bg);
  background-size:cover;
  background-position:var(--mlr-page-bg-pos,center);
}
html body.mlr-has-page-bg::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:rgba(7,26,92,var(--mlr-page-bg-veil,.35));
}

@media(max-width:1200px){
  html body .mlr-chrome-nav,
  html body.mlr-interior-clean .site-header .mlr-chrome-nav,
  html body.mlr-interior-clean .mlr-header .mlr-chrome-nav{display:none!important}
  html body .mlr-chrome-nav.open,
  html body.mlr-interior-clean .site-header .mlr-chrome-nav.open,
  html body.mlr-interior-clean .mlr-header .mlr-chrome-nav.open{
    display:flex!important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#051347;
    padding:14px 5vw 18px;
    flex-direction:column;
    flex-wrap:nowrap!important;
    align-items:stretch;
    gap:4px;
    z-index:80;
  }
  html body .mlr-chrome-menu,
  html body.mlr-interior-clean .mlr-chrome-menu.menu-btn{display:inline-flex!important;align-items:center}
  html body .mlr-chrome-inner,
  html body .mlr-compact-inner{position:relative;min-height:60px!important}
  html body .mlr-chrome-nav .nav-dropdown-menu{position:static;box-shadow:none;background:#071A5C;border:0;padding:0 0 0 10px}
  html body .mlr-chrome-nav .nav-dropdown-menu a{color:#FBF8EF!important}
}
@media(max-width:720px){
  html body .mlr-chrome-inner,
  html body .mlr-compact-inner{flex-wrap:wrap!important;row-gap:6px}
  html body .mlr-chrome-brand,
  html body .mlr-compact-brand{flex:1 1 160px;min-width:0}
  html body .mlr-chrome-actions{margin-left:auto}
  html body .mlr-chrome-actions .mlr-install-link{
    display:inline-flex!important;
    font-size:.68rem!important;
    padding:6px 8px!important;
  }
}
@media(max-width:620px){
  html body .mlr-compact-brand img,
  html body .mlr-chrome-brand img{width:48px!important;height:48px!important;flex-basis:48px!important}
  html body .mlr-compact-brand strong,
  html body .mlr-chrome-brand strong{font-size:1rem!important}
  html body .mlr-quiet-footer-inner{flex-direction:column;align-items:flex-start}
}
/* Un seul bandeau principal. Les barres héritées et les navs de page ne refont pas un second header. */
html body.mlr-interior-clean .topbar:not(.partner-topbar),
html body.mlr-interior-clean .charter-topbar,
html body.mlr-interior-clean .mlr-mobile-guide,
html body.mlr-interior-clean header.mlr-compact-header ~ .topbar,
html body.mlr-interior-clean header.mlr-compact-header ~ header.site-header{
  display:none!important;
}
html body.mlr-interior-clean > nav.mlr-breadcrumb,
html body.mlr-interior-clean nav.mlr-breadcrumb{
  position:static!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(7,26,92,.12)!important;
  border-radius:0!important;
  padding:8px min(5vw,32px)!important;
  min-height:0!important;
  box-shadow:none!important;
}
html body.mlr-interior-clean > nav.mlr-breadcrumb > b,
html body.mlr-interior-clean nav.mlr-breadcrumb > b{display:none!important}
html body.mlr-interior-clean > nav.mlr-breadcrumb a,
html body.mlr-interior-clean nav.mlr-breadcrumb a{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#071A5C!important;
  font-weight:700!important;
  padding:0!important;
}
html body.mlr-interior-clean > nav.mlr-breadcrumb span,
html body.mlr-interior-clean nav.mlr-breadcrumb span{
  color:#8a6a12!important;
  background:transparent!important;
  padding:0 .45rem!important;
}
html body.mlr-interior-clean > nav:not(.mlr-breadcrumb):not(.mlr-chrome-nav){
  position:static!important;
  background:transparent!important;
  border:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:8px min(5vw,32px) 0!important;
  min-height:0!important;
}
html body.mlr-interior-clean > nav:not(.mlr-breadcrumb):not(.mlr-chrome-nav) > b{display:none!important}
html body.mlr-interior-clean > nav:not(.mlr-breadcrumb):not(.mlr-chrome-nav) a{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#071A5C!important;
}
html body figure.mlr-owned-photo,
html body figure.mlr-visual-card{max-width:min(720px,100%)!important;margin:16px auto!important}
html body figure.mlr-owned-photo img,
html body figure.mlr-visual-card img,
html body .hero figure img,
html body img.photo,
html body .gallery img{
  display:block;
  width:auto!important;
  max-width:min(100%,720px)!important;
  height:auto!important;
  max-height:min(52vh,440px)!important;
  object-fit:contain!important;
  margin-left:auto;
  margin-right:auto;
}
html body.mlr-interior-clean > section{padding-top:36px!important;padding-bottom:36px!important}
body.cirk-dossier .hero.hero-photo{min-height:0!important}
body.cirk-dossier .hero.hero-photo>div{padding:32px 26px 18px!important}
body.cirk-dossier .hero h1{font-size:clamp(36px,5vw,64px)!important;line-height:1!important;margin:8px 0!important}
body.cirk-dossier .hero .hero-sign{font-size:13px!important;line-height:1.4!important;max-width:42rem;margin:10px 0 0!important;opacity:.92}
body.cirk-dossier .reading{padding:16px 24px 36px!important}
body.cirk-dossier details.photo-credit{margin:0 0 14px;font-size:13px;line-height:1.45;color:#3d4a63}
body.cirk-dossier details.photo-credit summary{cursor:pointer;color:#8a6a12;font-weight:700}
body.cirk-dossier .chapter{margin:0 0 18px}
html:has(link[href*="mlr-agri-bandeau"]) body.mlr-interior-clean > nav.mlr-breadcrumb{
  background:transparent!important;
  border-bottom:1px solid rgba(7,26,92,.12)!important;
}
html:has(link[href*="mlr-agri-bandeau"]) body.mlr-interior-clean > nav.mlr-breadcrumb a{color:#071A5C!important}
html:has(link[href*="mlr-agri-bandeau"]) body.mlr-interior-clean > nav.mlr-breadcrumb span{color:#8a6a12!important}
html:has(link[href*="mlr-agri-bandeau"]) body.mlr-interior-clean > nav:not(.mlr-breadcrumb){
  background:transparent!important;
  border:0!important;
  padding:14px 5vw 6px!important;
}
html:has(link[href*="mlr-agri-bandeau"]) body.mlr-interior-clean > nav:not(.mlr-breadcrumb) a{
  color:#071A5C!important;
  background:#fff!important;
  border:1px solid #ead9a6!important;
}
html body section.hero.mlr-section-visual,
html body section.piton-photo-hero{
  min-height:280px!important;
  background-color:#071A5C!important;
}
html body section.hero.mlr-section-visual:before,
html body section.hero.mlr-section-visual:after,
html body section.piton-photo-hero:before,
html body section.piton-photo-hero:after{display:none!important}
html body section.hero.mlr-section-visual h1,
html body section.piton-photo-hero h1{
  font-size:clamp(1.7rem,3.2vw,2.45rem)!important;
  line-height:1.16!important;
  letter-spacing:0!important;
  font-weight:700!important;
  max-width:18em;
}
html body section.hero h1:empty,
html body section.hero .hero-text:empty{display:none!important}
html body section.mlr-section-visual.mlr-veil-light :is(h1,h2,.hero-text,.eyebrow,p){color:#071A5C!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
html body figure.mlr-owner-photo,
html body figure.mlr-owner-photo.real-photo,
html body figure.piton-figure{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  width:fit-content!important;
  max-width:min(920px,100%)!important;
  margin:18px auto!important;
  padding:0!important;
}
html body figure.mlr-owner-photo img,
html body figure.mlr-owner-photo.real-photo img,
html body figure.piton-figure img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:min(78vh,920px)!important;
  object-fit:contain!important;
  background:transparent!important;
  margin:0 auto;
}
html body .mlr-photo-fill{background-size:cover!important;background-repeat:no-repeat!important;overflow:hidden}
html body .mlr-grid a.mlr-card.mlr-photo-fill :is(h1,h2,h3,h4,p,small,span,strong,b),
html body a.mlr-card.mlr-photo-fill :is(h1,h2,h3,h4,p,small,span,strong,b),
html body a.cirk-card.mlr-photo-fill :is(h1,h2,h3,h4,p,small,span,strong,b),
html body .encyclo-card.mlr-photo-fill :is(h1,h2,h3,h4,p,small,span,strong,b),
html body .mlr-photo-fill :is(h1,h2,h3,h4,p,small,span,strong,b){color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.55)}
html body .mlr-grid a.mlr-card.mlr-photo-fill.mlr-photo-fill-dark :is(h1,h2,h3,h4,p,small,span,strong,b),
html body a.mlr-card.mlr-photo-fill.mlr-photo-fill-dark :is(h1,h2,h3,h4,p,small,span,strong,b),
html body a.cirk-card.mlr-photo-fill.mlr-photo-fill-dark :is(h1,h2,h3,h4,p,small,span,strong,b),
html body .encyclo-card.mlr-photo-fill.mlr-photo-fill-dark :is(h1,h2,h3,h4,p,small,span,strong,b),
html body .mlr-photo-fill.mlr-photo-fill-dark :is(h1,h2,h3,h4,p,small,span,strong,b){color:#071A5C!important;text-shadow:0 1px 1px rgba(255,255,255,.35)}

/* Familles photographiques — cadrage par usage, sans format unique imposé. */
html body:not(.finale-compact) .gallery,
html body:not(.finale-compact) .mlr-photo-gallery,
html body:not(.finale-compact) .visual-grid{
  align-items:start;
}
html body:not(.finale-compact) .gallery figure,
html body:not(.finale-compact) .mlr-photo-gallery figure{
  background:transparent!important;
  box-shadow:none!important;
}
html body:not(.finale-compact) .gallery img,
html body:not(.finale-compact) .mlr-photo-gallery img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:min(36vh,280px)!important;
  object-fit:contain!important;
  background:transparent!important;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
html body .duo img.photo,
html body article img.photo,
html body .reading img.photo{
  max-height:min(48vh,380px)!important;
  object-fit:contain!important;
  background:transparent!important;
}
html body .archive figure,
html body figure.mlr-visual-archive,
html body .mlr-visual-archive figure{
  background:transparent!important;
}
html body .archive figure img,
html body .mlr-visual-archive img{
  object-fit:contain!important;
  background:transparent!important;
  max-height:min(48vh,400px)!important;
}
html body .plant-detail img,
html body .plant-block img,
html body .flora-card img,
html body .animal-card img,
html body .fiche-photo img,
html body .mlr-plant-banner{
  width:auto!important;
  max-width:min(100%,640px)!important;
  height:auto!important;
  max-height:min(46vh,360px)!important;
  object-fit:contain!important;
  background:#f6f1e6;
  display:block;
  margin-left:auto;
  margin-right:auto;
}
html body .panorama img,
html body .landscape-photo img,
html body .hero.hero-photo > img{
  width:100%!important;
  max-width:100%!important;
  max-height:min(52vh,520px)!important;
  object-fit:cover!important;
}
