/*
 * Correctifs finaux chargés après toutes les feuilles historiques.
 * Cette feuille évite qu’une ancienne règle reprenne le dessus.
 */

:root{
  --rqm-site-black:#050809;
  --ink:#050809;
}

html,
body,
#page,
.site{
  background-color:var(--rqm-site-black)!important;
}

main.dark-page,
main.dark-page>.dark-intro,
.dark-intro,
.rqm-dark-page{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

.site-header,
.bilingual-header{
  background:var(--rqm-site-black)!important;
  background-color:var(--rqm-site-black)!important;
  background-image:none!important;
}

/* Fiches Lieux : image d’en-tête réellement en couleur, voile séparé. */
.place-v5-preview .preview-place-hero,
.place-v5-preview .exact-torn-hero,
.place-v5-preview .preview-place-hero:hover{
  background-image:none!important;
  background-blend-mode:normal!important;
  filter:none!important;
  -webkit-filter:none!important;
}

.rqm-place-hero-image{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:none!important;
  -webkit-filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
  transform:none!important;
}

.rqm-place-hero-shade{
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  display:block!important;
  background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.08))!important;
  pointer-events:none!important;
}

.place-v5-preview .preview-place-copy{
  position:relative!important;
  z-index:3!important;
}

@media (min-width:701px){
  .directory-explorer .type-filter .filter-chips,
  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-chips{
    column-gap:6px!important;
    row-gap:6px!important;
  }

  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-chips{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(auto-fill,68px)!important;
    justify-content:start!important;
    align-content:start!important;
  }

  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-choice,
  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-choice>span{
    width:68px!important;
    min-width:68px!important;
    max-width:68px!important;
    margin:0!important;
  }

  .site-header .main-nav>a{
    font-size:15px!important;
    line-height:1!important;
  }

  .site-header .main-nav>a:first-child{
    font-size:16px!important;
  }
}

.place-tabs.place-section-nav{
  position:-webkit-sticky!important;
  position:sticky!important;
  top:0!important;
  z-index:120!important;
  width:100%!important;
  background:var(--rqm-site-black)!important;
  background-color:var(--rqm-site-black)!important;
  background-image:none!important;
}

.place-detail-page,
.place-v5-preview{
  overflow:visible!important;
}

body.admin-bar .place-tabs.place-section-nav{
  top:32px!important;
}

.tabbed-place-paper{
  min-height:calc(100vh - 66px)!important;
}

.site-footer>div>strong{
  font-family:var(--font-title)!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:.55px!important;
  text-transform:uppercase!important;
  margin-bottom:5px!important;
}

.dark-page,
.dark-page>.dark-intro,
.dark-page .dark-intro,
.rqm-dark-page,
.archive-browser-preview,
body.post-type-archive-rqm_lieu,
body.post-type-archive-rqm_lieu>main,
body.post-type-archive-rqm_histoire,
body.post-type-archive-rqm_histoire>main{
  background:var(--rqm-site-black)!important;
  background-color:var(--rqm-site-black)!important;
  background-image:none!important;
}

.archive-browser-preview .archive-title-torn h1,
.dark-page>.dark-intro>h1,
.dark-page .dark-intro>h1,
.rqm-dark-page h1,
body.rqm-page-podcast main h1,
body.rqm-page-a-propos main h1,
body.rqm-page-contact main h1,
body.rqm-page-histoire main h1,
body.post-type-archive-rqm_histoire main h1,
body.rqm-page-podcast .elementor-heading-title,
body.rqm-page-a-propos .elementor-heading-title,
body.rqm-page-contact .elementor-heading-title,
body.rqm-page-histoire .elementor-heading-title,
body.post-type-archive-rqm_histoire .elementor-heading-title{
  font-family:var(--font-title)!important;
  font-size:48px!important;
  font-weight:400!important;
  line-height:.98!important;
  letter-spacing:.3px!important;
  text-transform:uppercase!important;
}

.archive-browser-preview .archive-title-torn{
  padding-top:55px!important;
  padding-bottom:24px!important;
}

.archive-browser-preview .archive-title-torn h1{
  margin:0 0 5px!important;
}

@media (min-width:701px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    font-size:68px!important;
    line-height:.98!important;
    transform:none!important;
  }
}

body.rqm-page-podcast,
body.rqm-page-a-propos,
body.rqm-page-contact,
body.rqm-page-histoire,
body.rqm-page-faire-un-don,
body.post-type-archive-rqm_histoire,
body.rqm-page-podcast #page,
body.rqm-page-a-propos #page,
body.rqm-page-contact #page,
body.rqm-page-histoire #page,
body.post-type-archive-rqm_histoire #page,
body.rqm-page-podcast .site,
body.rqm-page-a-propos .site,
body.rqm-page-contact .site,
body.rqm-page-histoire .site,
body.post-type-archive-rqm_histoire .site,
body.rqm-page-podcast .site-content,
body.rqm-page-a-propos .site-content,
body.rqm-page-contact .site-content,
body.rqm-page-histoire .site-content,
body.post-type-archive-rqm_histoire .site-content,
body.rqm-page-podcast main,
body.rqm-page-a-propos main,
body.rqm-page-contact main,
body.rqm-page-histoire main,
body.rqm-page-faire-un-don main,
body.post-type-archive-rqm_histoire main,
body.rqm-page-podcast main>.dark-intro,
body.rqm-page-a-propos main>.dark-intro,
body.rqm-page-contact main>.dark-intro,
body.rqm-page-histoire main>.dark-intro,
body.rqm-page-faire-un-don main>.dark-intro,
body.post-type-archive-rqm_histoire main>.dark-intro,
body.rqm-page-podcast main>.elementor,
body.rqm-page-a-propos main>.elementor,
body.rqm-page-contact main>.elementor,
body.rqm-page-histoire main>.elementor,
body.post-type-archive-rqm_histoire main>.elementor,
body.rqm-page-podcast main>.elementor>.elementor-element,
body.rqm-page-a-propos main>.elementor>.elementor-element,
body.rqm-page-contact main>.elementor>.elementor-element,
body.rqm-page-histoire main>.elementor>.elementor-element,
body.post-type-archive-rqm_histoire main>.elementor>.elementor-element,
body.rqm-page-podcast main>.elementor>.e-con.e-parent,
body.rqm-page-a-propos main>.elementor>.e-con.e-parent,
body.rqm-page-contact main>.elementor>.e-con.e-parent,
body.rqm-page-histoire main>.elementor>.e-con.e-parent,
body.post-type-archive-rqm_histoire main>.elementor>.e-con.e-parent,
body.rqm-page-podcast main>.elementor>.elementor-section-wrap>.elementor-top-section,
body.rqm-page-a-propos main>.elementor>.elementor-section-wrap>.elementor-top-section,
body.rqm-page-contact main>.elementor>.elementor-section-wrap>.elementor-top-section,
body.rqm-page-histoire main>.elementor>.elementor-section-wrap>.elementor-top-section,
body.post-type-archive-rqm_histoire main>.elementor>.elementor-section-wrap>.elementor-top-section{
  background:var(--rqm-site-black)!important;
  background-color:var(--rqm-site-black)!important;
  background-image:none!important;
}

body.rqm-page-podcast .elementor .elementor-section,
body.rqm-page-a-propos .elementor .elementor-section,
body.rqm-page-contact .elementor .elementor-section,
body.rqm-page-histoire .elementor .elementor-section,
body.post-type-archive-rqm_histoire .elementor .elementor-section,
body.rqm-page-podcast .elementor .elementor-container,
body.rqm-page-a-propos .elementor .elementor-container,
body.rqm-page-contact .elementor .elementor-container,
body.rqm-page-histoire .elementor .elementor-container,
body.post-type-archive-rqm_histoire .elementor .elementor-container,
body.rqm-page-podcast .elementor .elementor-widget-wrap,
body.rqm-page-a-propos .elementor .elementor-widget-wrap,
body.rqm-page-contact .elementor .elementor-widget-wrap,
body.rqm-page-histoire .elementor .elementor-widget-wrap,
body.post-type-archive-rqm_histoire .elementor .elementor-widget-wrap,
body.rqm-page-podcast .elementor .e-con,
body.rqm-page-a-propos .elementor .e-con,
body.rqm-page-contact .elementor .e-con,
body.rqm-page-histoire .elementor .e-con,
body.post-type-archive-rqm_histoire .elementor .e-con{
  background:var(--rqm-site-black)!important;
  background-color:var(--rqm-site-black)!important;
  background-image:none!important;
}

.participate .participate-intro{
  max-width:980px!important;
  margin:8px 0 28px!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.65!important;
}

.rqm-photo-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

.rqm-photo-gallery-grid .gallery-photo{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  cursor:pointer!important;
  overflow:hidden!important;
}

.rqm-photo-gallery-grid .gallery-photo img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1.35!important;
  object-fit:cover!important;
  filter:none!important;
}

.photo-lightbox figcaption:not(:empty){
  display:block!important;
  min-height:0!important;
  padding:10px 14px!important;
  border-left:3px solid var(--pink)!important;
  background:#050809!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-align:left!important;
}

.preview-archives .preview-section-heading h2:after{
  content:""!important;
  display:block!important;
  width:128px!important;
  height:3px!important;
  margin-top:8px!important;
  background:var(--pink)!important;
}

.archive-multi-filter .filter-choice{
  position:relative!important;
  display:inline-flex!important;
  margin:0!important;
  cursor:pointer!important;
}

.archive-multi-filter .filter-choice>input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

.archive-multi-filter .filter-choice>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:10px 18px!important;
  border:1px solid #727a7e!important;
  background:transparent!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
  text-transform:uppercase!important;
}

.archive-multi-filter .filter-choice.active>span,
.archive-multi-filter .filter-choice:has(input:checked)>span{
  background:var(--pink)!important;
  border-color:var(--pink)!important;
  color:#fff!important;
}

.donation-page{
  min-height:680px!important;
}

.donation-page .donation-intro{
  max-width:780px;
  font-size:16px;
  line-height:1.7;
}

.donation-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  max-width:1080px;
  margin-top:32px;
}

.donation-card{
  padding:28px;
  border:1px solid #343c40;
  background:#0a0f11;
}

.donation-card h2{
  margin:0 0 15px;
  color:#fff;
  font:400 28px/1 var(--font-title);
  text-transform:uppercase;
}

.donation-card p,
.donation-card li{
  color:#d4d7d8;
  line-height:1.7;
}

.donation-card ul{
  margin:0;
  padding-left:20px;
}

.donation-card .button{
  margin-top:12px;
}

.donation-notice{
  max-width:1080px;
  margin-top:18px;
  padding:20px 22px;
  border-left:4px solid var(--pink);
  background:#0a0f11;
}

.donation-notice strong{
  color:var(--pink);
  font-family:var(--font-title);
  font-size:22px;
  font-weight:400;
  text-transform:uppercase;
}

.donation-notice p{
  margin:5px 0 0;
  color:#fff;
}

@media (min-width:701px){
  .site-footer .footer-legal{
    margin-top:4px!important;
    padding-top:26px!important;
  }
}

@media (max-width:700px){
  .site-header{
    z-index:500!important;
  }

  .site-header .main-nav.is-open{
    z-index:501!important;
  }

  .site-header .icon-button,
  .site-header .main-nav a{
    color:#fff!important;
  }

  .site-header .main-nav{
    background:var(--rqm-site-black)!important;
    border-color:#40484c!important;
  }

  .rqm-photo-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .directory-explorer .type-filter .filter-choice>span{
    height:62px!important;
    min-height:62px!important;
    padding:6px 4px!important;
    font-size:9px!important;
  }

  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-choice>span{
    font-size:9px!important;
    line-height:1!important;
  }

  .donation-grid{
    grid-template-columns:1fr;
  }

  .donation-card{
    padding:22px;
  }

  .recent-places .venue-image i,
  .directory-explorer .venue-image i{
    font-size:6.5px!important;
    line-height:1!important;
    padding:3px 5px!important;
  }

  .recent-places .venue-card h3,
  .recent-places .venue-card:hover h3,
  .directory-explorer .venue-card h3,
  .directory-explorer .venue-card:hover h3{
    font-size:14px!important;
    line-height:1!important;
  }

  .recent-places .venue-card>b,
  .directory-explorer .venue-card>b{
    font-size:8.5px!important;
    line-height:1.15!important;
  }

  .preview-information .preview-facts strong{
    font-size:12px!important;
  }

  .preview-information .preview-facts p{
    font-size:13px!important;
  }

  .archive-multi-filter .filter-choice,
  .archive-multi-filter .filter-choice>span{
    width:100%!important;
    min-width:0!important;
  }

  .archive-multi-filter .filter-choice>span{
    min-height:32px!important;
    padding:5px!important;
    font-size:9px!important;
  }

  .archive-browser-preview .archive-title-torn h1,
  .dark-page>.dark-intro>h1,
  .dark-page .dark-intro>h1,
  .rqm-dark-page h1,
  body.rqm-page-podcast main h1,
  body.rqm-page-a-propos main h1,
  body.rqm-page-contact main h1,
  body.rqm-page-histoire main h1,
  body.post-type-archive-rqm_histoire main h1,
  body.rqm-page-podcast .elementor-heading-title,
  body.rqm-page-a-propos .elementor-heading-title,
  body.rqm-page-contact .elementor-heading-title,
  body.rqm-page-histoire .elementor-heading-title,
  body.post-type-archive-rqm_histoire .elementor-heading-title{
    font-size:40px!important;
  }
}

/* v51.4.97 — images d’en-tête adaptées et légendes d’archives sur deux lignes. */
.rqm-place-hero-picture{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  display:block!important;
  overflow:hidden!important;
}

.rqm-place-hero-picture .rqm-place-hero-image{
  object-position:center!important;
}

.archive-filter-grid article>button.rqm-lightbox-trigger{
  position:relative!important;
}

.rqm-archive-card-caption,
.archive-filter-grid article:hover .rqm-archive-card-caption,
.archive-filter-grid article:focus-within .rqm-archive-card-caption{
  position:absolute!important;
  z-index:3!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  display:block!important;
  padding:36px 12px 11px!important;
  background:linear-gradient(transparent,rgba(0,0,0,.92))!important;
  color:#fff!important;
  text-align:left!important;
  text-transform:none!important;
}

.rqm-archive-card-caption strong,
.rqm-archive-card-caption small,
.archive-filter-grid article:hover .rqm-archive-card-caption strong,
.archive-filter-grid article:hover .rqm-archive-card-caption small,
.archive-filter-grid article:focus-within .rqm-archive-card-caption strong,
.archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-family:var(--font-body)!important;
  font-style:normal!important;
  text-align:left!important;
  text-transform:none!important;
}

.rqm-archive-card-caption strong{
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
}

.rqm-archive-card-caption small{
  margin-top:3px!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.2!important;
  opacity:.9!important;
}

/* v51.4.92 — protection des images, pagination Lieux et titre Archives mobile. */
img,
.preview-place-hero,
.story-detail-hero,
.hero,
.reference-hero,
.venue-image,
.story-image,
.archive-grid>a,
.podcast-feature>div,
.skyline{
  -webkit-user-drag:none!important;
  -webkit-touch-callout:none!important;
  user-select:none!important;
}

body.post-type-archive-rqm_lieu .places-pagination .page-numbers{
  border-color:#aaa39a!important;
  color:#111!important;
}

body.post-type-archive-rqm_lieu .places-pagination .page-numbers.current,
body.post-type-archive-rqm_lieu .places-pagination .page-numbers:hover,
body.post-type-archive-rqm_lieu .places-pagination .page-numbers:focus-visible{
  border-color:var(--pink)!important;
  background:var(--pink)!important;
  color:#fff!important;
}

@media (min-width:1000px){
  body.post-type-archive-rqm_lieu .directory-explorer .venue-grid.detailed-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview{
    padding-top:24px!important;
    padding-left:25px!important;
    padding-right:25px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn{
    padding:0!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    margin:0 0 5px!important;
    font-size:40px!important;
    line-height:.98!important;
  }
}

/* v51.4.65 — correction définitive du fond Faire un don. */
body.rqm-page-faire-un-don,
body.rqm-page-faire-un-don #page,
body.rqm-page-faire-un-don .site,
body.rqm-page-faire-un-don .site-content,
body.rqm-page-faire-un-don main,
body.rqm-page-faire-un-don main>.dark-intro,
body.rqm-page-faire-un-don main>.elementor,
body.rqm-page-faire-un-don main>.elementor>.elementor-element,
body.rqm-page-faire-un-don main .elementor-element:not(.elementor-widget),
body.rqm-page-faire-un-don main .elementor-element:not(.elementor-widget)>.elementor-motion-effects-container>.elementor-motion-effects-layer,
body.rqm-page-faire-un-don main .wp-block-group,
.rqm-dark-page-faire-un-don,
.rqm-dark-page-faire-un-don>.elementor,
.rqm-dark-page-faire-un-don .elementor-element:not(.elementor-widget),
.rqm-dark-page-faire-un-don .donation-page{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

body.rqm-page-faire-un-don main .elementor-background-overlay,
.rqm-dark-page-faire-un-don .elementor-background-overlay{
  background:transparent!important;
  background-image:none!important;
  opacity:0!important;
}

/* Le crédit reste sous la photo dans la visionneuse Photos et Archives. */
.photo-lightbox figure{
  display:flex!important;
  flex-direction:column!important;
}

.photo-lightbox img{
  order:1;
}

.photo-lightbox figcaption{
  position:static!important;
  order:2;
  box-sizing:border-box!important;
  width:100%!important;
  flex:0 0 auto!important;
}

/* Titres des fiches légèrement plus compacts. */
@media (min-width:701px){
  body.single-rqm_lieu .preview-place-copy h1,
  body.page-template-template-fiche-lieu-accordeon .preview-place-copy h1{
    font-size:88px!important;
    line-height:.9!important;
  }

  body.single-rqm_histoire .story-detail-hero h1{
    font-size:62px!important;
    line-height:.95!important;
  }
}

@media (max-width:700px){
  body.single-rqm_lieu .preview-place-copy h1,
  body.page-template-template-fiche-lieu-accordeon .preview-place-copy h1{
    font-size:58px!important;
    line-height:.92!important;
  }

  body.single-rqm_histoire .story-detail-hero h1{
    font-size:40px!important;
    line-height:.98!important;
  }
}

/* v51.4.64 — fond noir uniforme de la page Faire un don, y compris Elementor. */
body.rqm-page-faire-un-don,
body.rqm-page-faire-un-don #page,
body.rqm-page-faire-un-don .site,
body.rqm-page-faire-un-don .site-content,
body.rqm-page-faire-un-don main,
body.rqm-page-faire-un-don .elementor,
body.rqm-page-faire-un-don .elementor-section,
body.rqm-page-faire-un-don .elementor-container,
body.rqm-page-faire-un-don .elementor-widget-wrap,
body.rqm-page-faire-un-don .elementor-column,
body.rqm-page-faire-un-don .elementor-column-wrap,
body.rqm-page-faire-un-don .e-con,
body.rqm-page-faire-un-don .e-con.e-parent{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

body.rqm-page-faire-un-don .elementor-background-overlay{
  background:transparent!important;
  background-image:none!important;
  opacity:0!important;
}

@media (max-width:782px){
  body.admin-bar .place-tabs.place-section-nav{
    top:46px!important;
  }
}

/* V51.4.53 — verrouillage visuel final */

/* Toutes les photographies restent toujours en couleur. */
img,
[style*="background-image"],
.hero,
.reference-hero,
.venue-image,
.story-image,
.story-image-link,
.archive-grid>a,
.archive-filter-grid article,
.archive-filter-grid article button,
.preview-place-hero,
.exact-torn-hero,
.story-detail-hero,
.place-reference-image,
.gallery-row>div,
.place-gallery-strip img,
.preview-gallery img,
.gallery-photo img,
.photo-lightbox img,
.home-modules img,
.skyline,
.podcast-feature>div,
.results-list>a>div{
  filter:none!important;
  -webkit-filter:none!important;
}

/* Le titre Archives commence à la même hauteur que les autres titres. */
.archive-browser-preview .archive-title-torn{
  padding:0!important;
}

/* Même noir que l’en-tête sur les pages éditoriales et leurs fonds Elementor. */
body.rqm-page-podcast,
body.rqm-page-a-propos,
body.rqm-page-contact,
body.rqm-page-histoire,
body.post-type-archive-rqm_histoire,
body.rqm-page-podcast #page,
body.rqm-page-a-propos #page,
body.rqm-page-contact #page,
body.rqm-page-histoire #page,
body.post-type-archive-rqm_histoire #page,
body.rqm-page-podcast .site,
body.rqm-page-a-propos .site,
body.rqm-page-contact .site,
body.rqm-page-histoire .site,
body.post-type-archive-rqm_histoire .site,
body.rqm-page-podcast .site-content,
body.rqm-page-a-propos .site-content,
body.rqm-page-contact .site-content,
body.rqm-page-histoire .site-content,
body.post-type-archive-rqm_histoire .site-content,
body.rqm-page-podcast main,
body.rqm-page-a-propos main,
body.rqm-page-contact main,
body.rqm-page-histoire main,
body.post-type-archive-rqm_histoire main,
body.rqm-page-podcast main>.dark-intro,
body.rqm-page-a-propos main>.dark-intro,
body.rqm-page-contact main>.dark-intro,
body.rqm-page-histoire main>.dark-intro,
body.post-type-archive-rqm_histoire main>.dark-intro,
body.rqm-page-podcast main>.elementor,
body.rqm-page-a-propos main>.elementor,
body.rqm-page-contact main>.elementor,
body.rqm-page-histoire main>.elementor,
body.post-type-archive-rqm_histoire main>.elementor,
body.rqm-page-podcast main>.elementor>.elementor-element,
body.rqm-page-a-propos main>.elementor>.elementor-element,
body.rqm-page-contact main>.elementor>.elementor-element,
body.rqm-page-histoire main>.elementor>.elementor-element,
body.post-type-archive-rqm_histoire main>.elementor>.elementor-element,
body.rqm-page-podcast .elementor-section-wrap>.elementor-top-section,
body.rqm-page-a-propos .elementor-section-wrap>.elementor-top-section,
body.rqm-page-contact .elementor-section-wrap>.elementor-top-section,
body.rqm-page-histoire .elementor-section-wrap>.elementor-top-section,
body.post-type-archive-rqm_histoire .elementor-section-wrap>.elementor-top-section,
body.rqm-page-podcast .elementor .e-con.e-parent,
body.rqm-page-a-propos .elementor .e-con.e-parent,
body.rqm-page-contact .elementor .e-con.e-parent,
body.rqm-page-histoire .elementor .e-con.e-parent,
body.post-type-archive-rqm_histoire .elementor .e-con.e-parent{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

body.rqm-page-podcast .elementor-background-overlay,
body.rqm-page-a-propos .elementor-background-overlay,
body.rqm-page-contact .elementor-background-overlay,
body.rqm-page-histoire .elementor-background-overlay,
body.post-type-archive-rqm_histoire .elementor-background-overlay{
  background:transparent!important;
  background-image:none!important;
  opacity:0!important;
}

body.rqm-page-podcast .rqm-dark-page .elementor-element:not(.elementor-widget),
body.rqm-page-a-propos .rqm-dark-page .elementor-element:not(.elementor-widget),
body.rqm-page-contact .rqm-dark-page .elementor-element:not(.elementor-widget),
body.rqm-page-podcast .rqm-dark-page .wp-block-group,
body.rqm-page-a-propos .rqm-dark-page .wp-block-group,
body.rqm-page-contact .rqm-dark-page .wp-block-group{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

/* Fiches Histoire : contenu clair, titres noirs, actions roses. */
body.single-rqm_histoire .story-detail-page{
  background:#050809!important;
  color:#fff!important;
}

body.single-rqm_histoire .story-detail-hero,
body.single-rqm_histoire .story-detail-hero h1,
body.single-rqm_histoire .story-detail-hero p{
  color:#fff!important;
}

body.single-rqm_histoire .story-detail-copy{
  width:100%!important;
  max-width:1536px!important;
  background:#f5efe6!important;
  color:#111!important;
  padding-left:max(42px,calc((100% - 976px)/2))!important;
  padding-right:max(42px,calc((100% - 976px)/2))!important;
}

body.single-rqm_histoire .story-detail-copy h2,
body.single-rqm_histoire .story-detail-copy h3,
body.single-rqm_histoire .story-detail-copy h4,
body.single-rqm_histoire .story-detail-copy summary,
body.single-rqm_histoire .story-detail-copy p,
body.single-rqm_histoire .story-detail-copy li,
body.single-rqm_histoire .story-detail-copy blockquote,
body.single-rqm_histoire .story-detail-copy cite,
body.single-rqm_histoire .story-detail-copy strong,
body.single-rqm_histoire .story-detail-copy .rqm-elementor-history-content{
  color:#111!important;
}

body.single-rqm_histoire .story-detail-copy a,
body.single-rqm_histoire .story-detail-copy .story-pagination span,
body.single-rqm_histoire .story-detail-copy .rqm-icon,
body.single-rqm_histoire .story-detail-copy summary:after{
  color:var(--pink)!important;
}

body.single-rqm_histoire .story-detail-copy .story-pagination strong{
  color:#111!important;
}

/* Titres et années des vignettes légèrement plus grands. */
@media (min-width:701px){
  .recent-places .venue-card h3,
  .directory-explorer .venue-card h3{
    font-size:22px!important;
    line-height:1!important;
  }

  .recent-places .venue-card>b,
  .directory-explorer .venue-card>b{
    font-size:11px!important;
    line-height:1.2!important;
  }
}

@media (max-width:700px){
  .recent-places .venue-card h3,
  .directory-explorer .venue-card h3{
    font-size:15px!important;
    line-height:1.05!important;
  }

  .recent-places .venue-card>b,
  .directory-explorer .venue-card>b{
    font-size:9px!important;
    line-height:1.2!important;
  }

  /* Lieux : retour à la disposition verticale précédente. */
  .directory-explorer .filter-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    align-items:start!important;
  }

  .directory-explorer .filter-layout>fieldset{
    grid-column:1/-1!important;
    min-width:0!important;
    width:100%!important;
  }

  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-chips{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
  }

  .directory-explorer .filter-layout>.type-filter .filter-chips{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
  }

  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-choice,
  .directory-explorer .filter-layout>fieldset:not(.type-filter) .filter-choice>span,
  .directory-explorer .filter-layout>.type-filter .filter-choice,
  .directory-explorer .filter-layout>.type-filter .filter-choice>span{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }

  .directory-explorer .filter-layout>.side-filters{
    grid-column:1/-1!important;
    width:100%!important;
  }

  body.single-rqm_histoire .story-detail-copy{
    padding-left:22px!important;
    padding-right:22px!important;
  }
}

/* v51.4.66 — grille Archives, fond du don et barre juridique compacte. */
@media (min-width:701px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

body.rqm-force-site-black,
body.rqm-force-site-black #page,
body.rqm-force-site-black .site,
body.rqm-force-site-black .site-content,
body.rqm-force-site-black main,
body.rqm-force-site-black main>.elementor,
body.rqm-force-site-black main>.elementor>.elementor-element,
body.rqm-force-site-black main .elementor-element:not(.elementor-widget),
body.rqm-force-site-black main .wp-block-group,
body.rqm-force-site-black .rqm-donate-content{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

body.rqm-force-site-black .elementor-background-overlay{
  background:none!important;
  opacity:0!important;
}

.site-footer{
  padding-bottom:0!important;
}

.site-footer .footer-legal{
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  align-items:center!important;
  font-size:10px!important;
  line-height:1.2!important;
}

@media (max-width:700px){
  .site-footer .footer-legal{
    gap:6px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
}

/* v51.4.79 — fiches simplifiées, archives horizontales et alignements. */
.preview-facts article{
  align-items:stretch!important;
}

.preview-facts article>div{
  display:flex!important;
  min-width:0!important;
  min-height:100%!important;
  flex-direction:column!important;
  justify-content:center!important;
}

.preview-facts article p{
  white-space:pre-wrap!important;
}

/* La page Archives reprend le retrait de la page Histoire. */
body.post-type-archive-rqm_archive .archive-browser-preview{
  padding-left:50px!important;
  padding-right:50px!important;
}

/* Les vignettes de la page Archives sont des rectangles horizontaux. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article img{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1.3!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article img{
  height:100%!important;
  object-fit:cover!important;
}

/* Vignettes plus compactes dans l’onglet Archives des fiches Lieux. */
@media (min-width:901px){
  body.single-rqm_lieu .preview-archives .rqm-photo-gallery-grid,
  body.single-rqm_lieu .preview-archives .place-archive-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-gallery-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px!important;
  }

  body.single-rqm_lieu .preview-archives .rqm-photo-item,
  body.single-rqm_lieu .preview-archives .gallery-photo,
  body.single-rqm_lieu .preview-archives .gallery-photo img,
  body.single-rqm_lieu .preview-archives .place-archive-grid article,
  body.single-rqm_lieu .preview-archives .place-archive-grid article>button,
  body.single-rqm_lieu .preview-archives .place-archive-grid article img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-item,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article>button,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article img{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1.3!important;
  }

  body.single-rqm_lieu .preview-archives .gallery-photo img,
  body.single-rqm_lieu .preview-archives .place-archive-grid article img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article img{
    height:100%!important;
    object-fit:cover!important;
  }
}

/* La page Lieux se place légèrement plus à droite. */
@media (min-width:701px){
  body.post-type-archive-rqm_lieu .directory-explorer{
    padding-left:40px!important;
    padding-right:40px!important;
  }
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview,
  body.post-type-archive-rqm_lieu .directory-explorer{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}

/* v51.4.77 — vignettes Archives aux mêmes dimensions que les vignettes Lieux. */
@media (min-width:901px){
  body.post-type-archive-rqm_archive .archive-browser-preview{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article,
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:.906!important;
  }
}

/* v51.4.78 — titres complets dans les fiches, sans césure des mots. */
body.single-rqm_lieu .preview-place-copy,
body.page-template-template-fiche-lieu-accordeon .preview-place-copy{
  width:100%!important;
  max-width:1200px!important;
  overflow:visible!important;
}

body.single-rqm_lieu .preview-place-copy h1,
body.page-template-template-fiche-lieu-accordeon .preview-place-copy h1{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  -webkit-hyphens:none!important;
  hyphens:none!important;
  text-wrap:balance;
  -webkit-line-clamp:unset!important;
}

/* v51.4.67 — cinq fiches de lieux par rangée sur ordinateur. */
@media (min-width:901px){
  body.post-type-archive-rqm_lieu .directory-explorer .venue-grid.detailed-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* v51.4.68 — le sélecteur de traduction reste entièrement invisible. */
#rqm-browser-translator,
.rqm-browser-translator,
.goog-te-banner-frame,
.goog-te-balloon-frame,
body>.skiptranslate,
iframe.goog-te-banner-frame{
  display:none!important;
  visibility:hidden!important;
}

html,
body{
  top:0!important;
}

/* v51.4.70 — liens juridiques sur la première rangée mobile, copyright dessous. */
@media (max-width:700px){
  .site-footer .footer-legal{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:8px!important;
    row-gap:10px!important;
    align-items:start!important;
    width:100%!important;
  }

  .site-footer .footer-legal span{
    grid-column:1 / -1!important;
    grid-row:2!important;
    margin:0!important;
    text-align:center!important;
    font-size:9px!important;
  }

  .site-footer .footer-legal a{
    grid-row:1!important;
    margin:0!important;
    text-align:center!important;
    font-size:8px!important;
    line-height:1.2!important;
  }

  .site-footer .footer-legal a:nth-of-type(1){grid-column:1!important;}
  .site-footer .footer-legal a:nth-of-type(2){grid-column:2!important;}
  .site-footer .footer-legal a:nth-of-type(3){grid-column:3!important;}
}

/* v51.4.72 — cinq vignettes de lieux récents sur ordinateur. */
@media (min-width:901px){
  .recent-places .venue-grid.detailed-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  .recent-places .venue-grid.detailed-grid>.venue-card:nth-child(n+6){
    display:none!important;
  }
}

/* v51.4.73 — cinq archives par rangée sur ordinateur. */
@media (min-width:901px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* v51.4.74 — le logo d’en-tête demeure au-dessus de tous les liens de navigation. */
.site-header .brand{
  position:relative!important;
  z-index:1002!important;
  pointer-events:auto!important;
  isolation:isolate;
  touch-action:manipulation;
}

.site-header .brand img{
  pointer-events:none!important;
}

/* Archives : mêmes dimensions de grille que les vignettes de Lieux. */
.archive-browser-preview .archive-filter-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}

.archive-browser-preview .archive-filter-grid article,
.archive-browser-preview .archive-filter-grid article>button{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1.06!important;
}

.archive-browser-preview .archive-filter-grid article img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:cover!important;
}

@media (min-width:1000px){
  .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media (min-width:1350px){
  .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
}

@media (max-width:700px){
  .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  .archive-browser-preview .archive-filter-grid article,
  .archive-browser-preview .archive-filter-grid article>button{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1.06!important;
  }

  .archive-browser-preview .archive-filter-grid article img{
    height:100%!important;
    min-height:0!important;
  }
}

/* Lieux : cases de types d’établissement plus compactes. */
@media (min-width:701px){
  .directory-explorer .type-filter .filter-chips{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,82px)!important;
    gap:6px!important;
    justify-content:start!important;
  }

  .directory-explorer .type-filter .filter-choice,
  .directory-explorer .type-filter .filter-choice>span{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    margin:0!important;
  }

  .directory-explorer .type-filter .filter-choice>span{
    height:62px!important;
    min-height:62px!important;
    padding:5px 3px!important;
  }

  .directory-explorer .type-filter .filter-choice .rqm-icon{
    width:20px!important;
    height:20px!important;
    flex-basis:20px!important;
  }
}

@media (max-width:700px){
  .directory-explorer .filter-layout>.type-filter .filter-chips{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  .directory-explorer .type-filter .filter-choice>span{
    height:54px!important;
    min-height:54px!important;
    padding:4px 3px!important;
  }

  .directory-explorer .type-filter .filter-choice .rqm-icon{
    width:18px!important;
    height:18px!important;
    flex-basis:18px!important;
  }
}

/* v51.4.63 — finition des fiches, vignettes et crédits photo. */
body.rqm-page-faire-un-don,
body.rqm-page-faire-un-don #page,
body.rqm-page-faire-un-don .site,
body.rqm-page-faire-un-don .site-content,
body.rqm-page-faire-un-don main,
body.rqm-page-faire-un-don main>.dark-intro,
.rqm-dark-page-faire-un-don,
.rqm-dark-page-faire-un-don .donation-page{
  background:#050809!important;
  background-color:#050809!important;
  background-image:none!important;
}

/* Le type d'établissement demeure disponible pour les filtres, sans être
   répété visuellement dans les vignettes. */
.recent-places .venue-image>i,
.directory-explorer .venue-image>i{
  display:none!important;
}

@media (min-width:701px){
  .recent-places .venue-card h3,
  .directory-explorer .venue-card h3{
    font-size:22px!important;
    line-height:1!important;
  }
}

.rqm-photo-gallery-grid .rqm-photo-item{
  min-width:0;
  margin:0;
}

.rqm-photo-gallery-grid .rqm-photo-item .gallery-photo{
  width:100%;
}

.rqm-photo-gallery-grid .rqm-photo-item figcaption{
  margin-top:6px;
  color:#5d5750;
  font-size:11px;
  line-height:1.35;
}

.preview-sources em{
  font-style:italic;
}

.preview-place-hero,
.story-detail-hero{
  position:relative;
}

.rqm-hero-photo-credit{
  position:absolute;
  z-index:4;
  right:18px;
  bottom:18px;
  max-width:min(420px,calc(100% - 36px));
  padding:5px 8px;
  background:rgba(0,0,0,.74);
  color:#fff!important;
  font-size:10px;
  font-weight:600;
  line-height:1.3;
}

@media (max-width:700px){
  .recent-places .venue-card h3,
  .directory-explorer .venue-card h3{
    font-size:17px!important;
    line-height:1.05!important;
  }

  .story-pagination,
  .place-pagination{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
  }

  .story-pagination>a,
  .place-pagination>a{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  .story-pagination>a:last-child,
  .place-pagination>a:last-child{
    text-align:right!important;
  }

  .rqm-hero-photo-credit{
    right:10px;
    bottom:10px;
    max-width:calc(100% - 20px);
    font-size:9px;
  }
}

/* v51.4.75 — règle finale prioritaire : cinq archives par rangée sur ordinateur. */
@media (min-width:901px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

.site-footer{
  padding-bottom:0!important;
}

.site-footer .footer-legal{
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  align-items:center!important;
  font-size:10px!important;
  line-height:1.2!important;
}

@media (max-width:700px){
  .site-footer .footer-legal{
    gap:6px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
}

/* v51.4.80 — priorité finale pour les nouvelles dimensions, marges et crédits. */
.preview-facts article{
  align-items:center!important;
  min-height:110px!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  box-sizing:border-box!important;
}

.preview-facts article>div{
  align-self:stretch!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview{
  padding-top:34px!important;
  padding-left:50px!important;
  padding-right:50px!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn{
  margin-top:0!important;
  padding-top:0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
  margin-top:0!important;
  font-size:68px!important;
  line-height:.98!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article img{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1.3!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article img{
  height:100%!important;
  object-fit:cover!important;
}

@media (min-width:901px){
  body.single-rqm_lieu .preview-archives .rqm-photo-gallery-grid,
  body.single-rqm_lieu .preview-archives .place-archive-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-gallery-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media (min-width:701px){
  body.post-type-archive-rqm_lieu .directory-explorer{
    padding-left:40px!important;
    padding-right:40px!important;
  }
}

@media (max-width:700px){
  body.post-type-archive-rqm_lieu .directory-explorer{
    padding-left:24px!important;
    padding-right:24px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview{
    padding-top:24px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    font-size:40px!important;
  }
}

@media (max-width:900px){
  body.post-type-archive-rqm_archive .archive-browser-preview{
    padding-left:25px!important;
    padding-right:25px!important;
  }
}

/* v51.4.81 — Archives et Histoire partagent strictement la même taille. */
@media (min-width:701px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1,
  body.post-type-archive-rqm_histoire .dark-intro>h1,
  body.rqm-page-histoire .dark-intro>h1,
  body.rqm-page-histoire main h1{
    font-size:68px!important;
    line-height:.98!important;
  }
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1,
  body.post-type-archive-rqm_histoire .dark-intro>h1,
  body.rqm-page-histoire .dark-intro>h1,
  body.rqm-page-histoire main h1{
    font-size:40px!important;
    line-height:.98!important;
  }
}

/* Archives des fiches : format original conservé, uniquement sous-dimensionné. */
@media (min-width:901px){
  body.single-rqm_lieu .preview-archives .rqm-photo-gallery-grid,
  body.single-rqm_lieu .preview-archives .place-archive-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-gallery-grid,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:14px!important;
  }

  body.single-rqm_lieu .preview-archives .rqm-photo-item,
  body.single-rqm_lieu .preview-archives .place-archive-grid article,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-item,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article{
    flex:0 1 auto!important;
    width:fit-content!important;
    max-width:220px!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
  }

  body.single-rqm_lieu .preview-archives .gallery-photo,
  body.single-rqm_lieu .preview-archives .gallery-photo img,
  body.single-rqm_lieu .preview-archives .place-archive-grid article>button,
  body.single-rqm_lieu .preview-archives .place-archive-grid article img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article>button,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article img{
    display:block!important;
    width:auto!important;
    max-width:220px!important;
    height:auto!important;
    max-height:190px!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

@media (max-width:900px){
  body.single-rqm_lieu .preview-archives .gallery-photo img,
  body.single-rqm_lieu .preview-archives .place-archive-grid article img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo img,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article img{
    height:auto!important;
    max-height:180px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
}

/* v51.4.82 — valeurs mesurées sur Histoire et finitions des fiches. */
@media (min-width:901px){
  body.post-type-archive-rqm_archive .archive-browser-preview{
    padding-top:45px!important;
    padding-right:38px!important;
    padding-bottom:55px!important;
    padding-left:38px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    margin:10px 0!important;
    font-size:74px!important;
    line-height:.95!important;
  }

  body.single-rqm_lieu .preview-archives .rqm-photo-item,
  body.single-rqm_lieu .preview-archives .gallery-photo,
  body.single-rqm_lieu .preview-archives .place-archive-grid article,
  body.single-rqm_lieu .preview-archives .place-archive-grid article>button,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-item,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article,
  body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article>button{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
  }
}

.preview-facts{
  padding-bottom:0!important;
}

.preview-facts>article:last-child{
  min-height:82px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}

body.post-type-archive-rqm_lieu .directory-explorer .filter-layout{
  border-top:1px solid #ada69d!important;
}

/* v51.4.83 — aucun remplissage noir dans les archives, mobile compris. */
body.single-rqm_lieu .preview-archives .rqm-photo-item,
body.single-rqm_lieu .preview-archives .gallery-photo,
body.single-rqm_lieu .preview-archives .gallery-photo img,
body.single-rqm_lieu .preview-archives .place-archive-grid article,
body.single-rqm_lieu .preview-archives .place-archive-grid article>button,
body.single-rqm_lieu .preview-archives .place-archive-grid article img,
body.page-template-template-fiche-lieu-accordeon .preview-archives .rqm-photo-item,
body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo,
body.page-template-template-fiche-lieu-accordeon .preview-archives .gallery-photo img,
body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article,
body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article>button,
body.page-template-template-fiche-lieu-accordeon .preview-archives .place-archive-grid article img{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

/* v51.4.84 — aucune bordure autour des vignettes, où qu’elles soient. */
.venue-card,
.venue-card .venue-image,
.story-card,
.story-card .story-image,
.archive-grid>a,
.archive-filter-grid article,
.archive-filter-grid article>button,
.archive-filter-grid article img,
.rqm-photo-item,
.rqm-photo-item .gallery-photo,
.rqm-photo-item .gallery-photo img,
.results-list>a,
.results-list>a>div{
  border:0!important;
  box-shadow:none!important;
}

/* Réduction du véritable espace entre Informations et Historique. */
body.single-rqm_lieu .place-main-sections>.preview-history,
body.page-template-template-fiche-lieu-accordeon .place-main-sections>.preview-history{
  margin-top:12px!important;
  padding-top:18px!important;
}

/* v51.4.87 — texte courant légèrement plus discret dans les fiches. */
body.single-rqm_lieu .preview-history p,
body.single-rqm_lieu .preview-history li,
body.single-rqm_lieu .preview-history blockquote,
body.single-rqm_lieu .preview-sources p,
body.single-rqm_lieu .preview-sources li,
body.page-template-template-fiche-lieu-accordeon .preview-history p,
body.page-template-template-fiche-lieu-accordeon .preview-history li,
body.page-template-template-fiche-lieu-accordeon .preview-history blockquote,
body.page-template-template-fiche-lieu-accordeon .preview-sources p,
body.page-template-template-fiche-lieu-accordeon .preview-sources li{
  font-size:15px!important;
}

body.single-rqm_histoire .story-detail-copy .rqm-elementor-history-content p,
body.single-rqm_histoire .story-detail-copy .rqm-elementor-history-content li,
body.single-rqm_histoire .story-detail-copy .rqm-elementor-history-content blockquote{
  font-size:16px!important;
}

/* v51.4.88 — Informations plus compactes et introduction avant Historique. */
body.single-rqm_lieu .preview-information>h2,
body.page-template-template-fiche-lieu-accordeon .preview-information>h2{
  margin-bottom:6px!important;
}

body.single-rqm_lieu .preview-information .preview-facts article,
body.page-template-template-fiche-lieu-accordeon .preview-information .preview-facts article{
  min-height:88px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}

body.single-rqm_lieu .preview-information .preview-facts>article:last-child,
body.page-template-template-fiche-lieu-accordeon .preview-information .preview-facts>article:last-child{
  min-height:76px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
}

.rqm-place-history-intro{
  max-width:970px!important;
  margin:24px 0 40px!important;
  white-space:pre-line!important;
  font-size:15px!important;
  line-height:1.65!important;
}

@media (max-width:700px){
  body.single-rqm_lieu .preview-information .preview-facts article,
  body.page-template-template-fiche-lieu-accordeon .preview-information .preview-facts article{
    min-height:72px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }

  body.single-rqm_lieu .preview-information .preview-facts>article:last-child,
  body.page-template-template-fiche-lieu-accordeon .preview-information .preview-facts>article:last-child{
    min-height:68px!important;
  }

  .rqm-place-history-intro{
    margin:18px 0 32px!important;
    font-size:14px!important;
  }
}

/* v51.4.97 — Archives reprend exactement l’échelle mobile des grands titres de page. */
@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    font-family:var(--font-title)!important;
    font-size:57px!important;
    font-weight:400!important;
    line-height:.95!important;
    letter-spacing:.3px!important;
    text-transform:uppercase!important;
    transform:none!important;
    margin:0 0 5px!important;
  }
}

/* v51.4.100 — mesure mobile identique au titre Podcast : 57 px / 0,95. */
@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-title-torn h1{
    font-size:57px!important;
    line-height:.95!important;
  }
}

/* v51.4.98 — protection uniforme des images, y compris dans les textes et les visionneuses. */
body.rqm-wp-editable img,
body.rqm-wp-editable picture,
body.rqm-wp-editable [data-rqm-protected-image],
.photo-lightbox img,
.elementor-lightbox img,
.dialog-lightbox-widget img{
  -webkit-user-drag:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}

body.rqm-wp-editable img,
.photo-lightbox img,
.elementor-lightbox img,
.dialog-lightbox-widget img{
  pointer-events:none!important;
}

.rqm-protected-full-image{
  position:relative!important;
  order:1!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  max-height:82vh!important;
  overflow:hidden!important;
}

.rqm-protected-full-image img{
  width:100%!important;
  max-height:82vh!important;
  object-fit:contain!important;
}

.rqm-image-shield{
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  display:block!important;
  background:transparent!important;
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}

.photo-lightbox .lightbox-close,
.photo-lightbox .lightbox-nav{
  z-index:10!important;
  pointer-events:auto!important;
}

@media (max-width:700px){
  .rqm-archive-card-caption{
    padding:26px 9px 8px!important;
  }

  .rqm-archive-card-caption strong{
    font-size:11px!important;
    line-height:1.15!important;
  }

  .rqm-archive-card-caption small{
    margin-top:2px!important;
    font-size:9px!important;
    line-height:1.15!important;
  }
}

/* v51.4.101 — les légendes des archives sont placées sous les images. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  background:transparent!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article>button:after{
  display:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article img{
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1.3!important;
  object-fit:cover!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:8px 2px 12px!important;
  background:transparent!important;
  color:#fff!important;
  text-align:left!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption{
    padding:7px 1px 10px!important;
  }
}

/* v51.4.110 — bordure de carte identique à l’esprit des vignettes Lieux. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article>button{
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:1px solid #aaa39a!important;
  background:#f7f2ea!important;
}

/* v51.4.109 — priorité finale de la présentation beige des résultats Archives. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  position:static!important;
  min-height:52px!important;
  padding:9px 8px 10px!important;
  background:#f7f2ea!important;
  color:#111!important;
  border:0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption:before{
  display:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption strong{
  color:#111!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  color:var(--pink)!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption{
    min-height:43px!important;
    padding:7px 6px 8px!important;
  }
}

/* v51.4.117 — visionneuse mobile : image et informations visibles ensemble. */
@media (max-width:700px){
  .photo-lightbox{
    box-sizing:border-box!important;
    padding:10px!important;
    overflow:hidden!important;
  }

  .photo-lightbox figure{
    box-sizing:border-box!important;
    width:100%!important;
    height:calc(100vh - 20px)!important;
    height:calc(100dvh - 20px)!important;
    max-height:calc(100vh - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    gap:6px!important;
    overflow:hidden!important;
  }

  .photo-lightbox .rqm-protected-full-image{
    flex:1 1 0!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }

  .photo-lightbox .rqm-protected-full-image img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
  }

  .photo-lightbox figcaption:not(:empty){
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-height:45dvh!important;
    margin:0!important;
    padding:8px 10px!important;
    overflow-y:auto!important;
    font-size:11px!important;
    line-height:1.25!important;
  }

  .photo-lightbox figcaption .rqm-lightbox-title{
    margin-bottom:2px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }

  .photo-lightbox figcaption .rqm-lightbox-credit{
    margin-top:3px!important;
    font-size:10px!important;
    line-height:1.2!important;
  }
}

/* v51.4.107 — zone de résultats Archives beige, dans la continuité de la page Lieux. */
body.post-type-archive-rqm_archive .archive-results-panel{
  margin:4px -50px -45px!important;
  padding:22px 50px 42px!important;
  background:var(--paper)!important;
  color:#111!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .archive-results-head,
body.post-type-archive-rqm_archive .archive-results-panel .archive-sort-form label,
body.post-type-archive-rqm_archive .archive-results-panel .archive-empty{
  color:#111!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article>button{
  background:#f7f2ea!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  min-height:52px!important;
  padding:9px 8px 10px!important;
  background:#f7f2ea!important;
  color:#111!important;
  border:0!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-archive-card-caption:before{
  display:none!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption strong{
  color:#111!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  color:var(--pink)!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-pagination .page-numbers{
  border-color:#938b82!important;
  color:#111!important;
}

body.post-type-archive-rqm_archive .archive-results-panel .rqm-pagination .page-numbers.current,
body.post-type-archive-rqm_archive .archive-results-panel .rqm-pagination .page-numbers:hover{
  border-color:var(--pink)!important;
  background:var(--pink)!important;
  color:#fff!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-results-panel{
    margin:4px -25px -45px!important;
    padding:18px 25px 32px!important;
  }

  body.post-type-archive-rqm_archive .archive-results-panel .rqm-archive-card-caption{
    min-height:43px!important;
    padding:7px 6px 8px!important;
  }
}

/* v51.4.102 — cartouche sous les archives, inspiré des vignettes Lieux. */
body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  position:relative!important;
  min-height:52px!important;
  padding:11px 1px 12px!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption:before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  width:34px!important;
  height:2px!important;
  background:var(--pink)!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:hover .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:focus-within .rqm-archive-card-caption strong{
  color:#fff!important;
  font-family:var(--font-body)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-transform:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  margin-top:3px!important;
  color:var(--pink)!important;
  font-family:var(--font-body)!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-transform:none!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption{
    min-height:43px!important;
    padding:9px 1px 10px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption:before{
    width:26px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption strong{
    font-size:10.5px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .rqm-archive-card-caption small{
    margin-top:2px!important;
    font-size:8.5px!important;
  }
}

/* v51.4.111 — cartes Archives uniformes et deux titres de même importance. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article>button{
  height:100%!important;
  min-height:0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption{
  flex:1 1 auto!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  color:#111!important;
  font-family:var(--font-body)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-transform:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small{
  margin-top:4px!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption strong,
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small{
    font-size:11px!important;
  }
}

/* v51.4.112 — finition éditoriale des vignettes Archives. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article>button{
  border-color:#b8b0a6!important;
  background:#fbf7f0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  min-height:68px!important;
  padding:12px 10px 14px!important;
  background:#fbf7f0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption:before{
  content:""!important;
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:32px!important;
  height:2px!important;
  margin:0 0 8px!important;
  background:var(--pink)!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption strong,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption strong{
  font-weight:700!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  margin-top:5px!important;
  font-weight:400!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption{
    min-height:58px!important;
    padding:10px 8px 12px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption:before{
    width:25px!important;
    margin-bottom:6px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small{
    margin-top:4px!important;
  }
}

/* v51.4.113 — légendes Archives sur trois lignes : titre, année, lieu. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption{
  min-height:88px!important;
  padding:12px 10px 14px!important;
}

/* v51.4.114 — vignettes Archives sans texte; informations affichées au clic. */
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid{
  grid-auto-rows:auto!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article>button{
  height:auto!important;
  min-height:0!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article>button{
  border:0!important;
  background:transparent!important;
}

.photo-lightbox figcaption .rqm-lightbox-title,
.photo-lightbox figcaption .rqm-lightbox-year,
.photo-lightbox figcaption .rqm-lightbox-place,
.photo-lightbox figcaption .rqm-lightbox-credit{
  display:block!important;
}

.photo-lightbox figcaption .rqm-lightbox-title{
  margin-bottom:3px!important;
  color:#fff!important;
  font-size:14px!important;
}

.photo-lightbox figcaption .rqm-lightbox-year{
  color:var(--pink)!important;
  font-weight:700!important;
}

.photo-lightbox figcaption .rqm-lightbox-place{
  color:#fff!important;
}

.photo-lightbox figcaption .rqm-lightbox-credit{
  margin-top:5px!important;
  color:#d9d9d9!important;
  font-size:11px!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption:before{
  display:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-year,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-year,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-year{
  position:static!important;
  inset:auto!important;
  display:block!important;
  margin:5px 0 0!important;
  padding:0!important;
  background:transparent!important;
  color:var(--pink)!important;
  font-family:var(--font-body)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-align:left!important;
  text-transform:none!important;
}

body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:hover .rqm-archive-card-caption small,
body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .archive-filter-grid article:focus-within .rqm-archive-card-caption small{
  margin-top:5px!important;
}

@media (max-width:700px){
  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-caption{
    min-height:76px!important;
    padding:10px 8px 12px!important;
  }

  body.post-type-archive-rqm_archive .archive-browser-preview .archive-results-panel .rqm-archive-card-year{
    margin-top:4px!important;
    font-size:9px!important;
  }
}

/* Priorité finale v51.4.121 : ne jamais agrandir l’image de la visionneuse. */
.photo-lightbox .rqm-protected-full-image img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:82vh!important;
  object-fit:contain!important;
}

@media (max-width:700px){
  .photo-lightbox .rqm-protected-full-image img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
  }
}

/* v51.4.127 — deuxième bouton blanc dans l’en-tête de l’accueil. */
.home-hero .home-archive-button,
.home-hero .home-archive-button:hover,
.home-hero .home-archive-button:focus-visible{
  background:#fff!important;
  border-color:#fff!important;
  color:#080c0e!important;
}

/* Voile noir limité à Print Screen sur ordinateur; maintien bref après relâchement. */
.rqm-printscreen-shield{
  position:fixed!important;
  z-index:2147483647!important;
  inset:0!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  background:#000!important;
  transition:none!important;
}

.rqm-printscreen-shield.is-active{
  visibility:visible!important;
  opacity:1!important;
}

/* v51.4.133 — infolettre intégrée à l’accueil. */
.rqm-newsletter-section{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1500px!important;
  margin:0 auto!important;
  padding:48px 50px 12px!important;
  display:grid!important;
  grid-template-columns:minmax(260px,.8fr) minmax(440px,1.2fr)!important;
  gap:54px!important;
  align-items:start!important;
  background:#050809!important;
  color:#fff!important;
  border-top:1px solid #2a3033!important;
}

.rqm-newsletter-copy .eyebrow{
  margin:0 0 8px!important;
  color:var(--pink)!important;
}

.rqm-newsletter-copy h2{
  margin:0 0 14px!important;
  color:#fff!important;
  font-family:var(--font-title)!important;
  font-size:42px!important;
  font-weight:400!important;
  line-height:1!important;
  text-transform:uppercase!important;
}

.rqm-newsletter-copy>p:last-child{
  max-width:520px!important;
  margin:0!important;
  color:#d6d8d9!important;
  font-size:14px!important;
  line-height:1.55!important;
}

.rqm-newsletter-form{
  position:relative!important;
  display:grid!important;
  width:min(100%,480px)!important;
  margin-left:auto!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:9px!important;
  align-items:end!important;
}

.rqm-newsletter-form>label:not(.rqm-newsletter-honeypot){
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.35px!important;
  text-transform:uppercase!important;
}

.rqm-newsletter-form label small{
  font-weight:400!important;
  text-transform:none!important;
}

.rqm-newsletter-form input[type="text"],
.rqm-newsletter-form input[type="email"]{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:40px!important;
  padding:8px 11px!important;
  border:1px solid #d8d0c7!important;
  border-radius:0!important;
  outline:0!important;
  background:#fffaf4!important;
  color:#111!important;
  font-size:14px!important;
}

.rqm-newsletter-form input:focus{
  border-color:var(--pink)!important;
  box-shadow:0 0 0 2px rgba(213,28,97,.25)!important;
}

.rqm-newsletter-form .button{
  width:max-content!important;
  min-width:104px!important;
  min-height:40px!important;
  padding:8px 13px!important;
  font-size:10px!important;
  align-self:end!important;
  white-space:nowrap!important;
}

.rqm-newsletter-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

.rqm-newsletter-message{
  margin:0 0 14px!important;
  padding:11px 13px!important;
  background:#153c2b!important;
  color:#fff!important;
  font-size:12px!important;
}

.rqm-newsletter-message.error{
  background:#6f1730!important;
}

@media (max-width:700px){
  .rqm-newsletter-section{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:36px 20px!important;
  }

  .rqm-newsletter-copy h2{
    font-size:34px!important;
  }

  .rqm-newsletter-form{
    width:100%!important;
    margin-left:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
  }

  .rqm-newsletter-form .button{
    width:auto!important;
    min-width:92px!important;
    padding-inline:10px!important;
  }
}
