/* MyDex 1.0.264 — Galerie Skin 2 : mini-fiches harmonisées avec l’accueil.
   Aucun sélecteur ne vise le Skin 1. Les affiches ont toujours object-fit:contain. */
.ec-wrap.ec-app.ec-skin-2 .ec-gallery-hero{display:none!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls{display:flex!important;align-items:center!important;gap:12px!important;justify-content:flex-end!important;flex-wrap:wrap!important;margin:0 0 9px!important;min-width:0!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-toolbar-end{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:9px!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-sort-label{display:flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;color:#b8d4ed!important;white-space:nowrap!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-sort-label select{appearance:auto!important;height:37px!important;padding:7px 10px!important;color:#f5faff!important;background:#102239!important;border:1px solid #385775!important;border-radius:8px!important;font-size:12px!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-layout{display:flex!important;align-items:center!important;gap:2px!important;padding:3px!important;background:#081a2c!important;border:1px solid #345575!important;border-radius:8px!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-layout-btn{min-width:34px!important;min-height:30px!important;display:grid!important;place-items:center!important;padding:2px 7px!important;color:#b7dafa!important;background:transparent!important;border:0!important;border-radius:6px!important;font-size:20px!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-layout-btn[aria-pressed="true"]{background:#0788fa!important;color:#fff!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-more-filters{min-height:37px!important;padding:7px 11px!important;background:#0b233a!important;color:#e1efff!important;border:1px solid #355978!important;border-radius:8px!important;font-size:12px!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 .ec-gallery-mobile-toolbar{display:none!important}
.ec-wrap.ec-app.ec-skin-2 .ec-app-view[data-ec-view="gallery"] .ec-filters[data-ec-auto-filter]:not(.is-open){display:none!important}
.ec-wrap.ec-app.ec-skin-2 .ec-app-view[data-ec-view="gallery"] .ec-filters[data-ec-auto-filter].is-open{display:grid!important}
.ec-wrap.ec-app.ec-skin-2 .ec-app-view[data-ec-view="gallery"] .ec-filters{margin:0 0 12px!important;padding:12px!important;border:1px solid #345471!important;border-radius:10px!important;background:#0d243a!important;box-shadow:none!important}
/* Conserve le compteur réel pour les lecteurs d'écran sans ajouter une rangée
   entre les filtres et les affiches, absente de la maquette. */
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-toolbar{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-summary{display:flex!important;align-items:baseline!important;gap:6px!important;flex-wrap:wrap!important;color:#b8d2e9!important;font-size:11px!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-summary strong{font-size:11px!important;font-weight:600!important;color:#b8d2e9!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-summary span{font-size:11px!important;color:#849eba!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:11px!important;margin:0!important;padding:0!important;min-width:0!important;overflow:visible!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #2d536f!important;border-radius:9px!important;background:#0a1e31!important;color:#eaf6ff!important;box-shadow:none!important;cursor:pointer!important;transition:border-color .15s ease,transform .15s ease!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card:is(:hover,:focus-within){border-color:#36a9fa!important;transform:translateY(-2px)!important;box-shadow:none!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-imgbox{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:3/4!important;margin:0!important;padding:0!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;flex:0 0 auto!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#071421!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-imgbox>img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:fill!important;object-position:center!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-imgbox::after{display:none!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-open-card{position:absolute!important;inset:0!important;z-index:1!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:transparent!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-open-card>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-open-card:focus-visible{outline:3px solid #44bdff!important;outline-offset:-3px!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-actions{position:absolute!important;top:7px!important;right:7px!important;z-index:5!important;display:block!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-actions-toggle{display:grid!important;place-items:center!important;width:28px!important;height:32px!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #567ea1!important;border-radius:7px!important;background:#061321ea!important;color:#f2f8ff!important;font-size:23px!important;line-height:1!important;box-shadow:0 2px 5px #0008!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-actions-toggle[aria-expanded="true"]{background:#087fee!important;border-color:#4bbcff!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-card-actions-menu{position:fixed!important;top:0!important;left:0!important;right:auto!important;z-index:9999!important;width:155px!important;max-width:calc(100vw - 18px)!important;max-height:calc(100dvh - 16px)!important;overflow-y:auto!important;display:grid!important;gap:3px!important;padding:5px!important;background:#10283f!important;color:#fff!important;border:1px solid #3a668b!important;border-radius:9px!important;box-shadow:0 8px 22px #000a!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-card-actions-menu[hidden]{display:none!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-card-actions-menu :is(button,a){display:block!important;text-align:left!important;width:100%!important;min-height:31px!important;padding:7px 9px!important;margin:0!important;background:transparent!important;color:#e5f4ff!important;border:0!important;border-radius:6px!important;text-decoration:none!important;font-size:12px!important;line-height:1.2!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 .ec-skin2-card-actions-menu :is(button,a):hover{background:#174a75!important;color:white!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-card-body.ec-skin2-card-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:5px!important;min-width:0!important;width:100%!important;min-height:68px!important;margin:0!important;padding:7px 9px 8px!important;box-sizing:border-box!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-content h3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:1!important;overflow:hidden!important;min-height:1.3em!important;max-height:1.3em!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.25!important;font-weight:700!important;color:#f7fbff!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-footer{display:block!important;min-width:0!important;width:100%!important;margin-top:0!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-card-facts{min-width:0!important;display:grid!important;gap:5px!important;padding-right:23px!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery :is(.ec-skin2-card-date,.ec-skin2-card-place){display:flex!important;align-items:center!important;gap:5px!important;width:100%!important;min-width:0!important;overflow:hidden!important;color:#bbd1e7!important;font-size:10.5px!important;line-height:1.25!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery :is(.ec-skin2-card-date,.ec-skin2-card-place)>span{display:grid!important;place-items:center!important;flex:0 0 14px!important;color:#e1f0ff!important;font-size:15px!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery :is(.ec-skin2-card-date,.ec-skin2-card-place) svg{width:13px!important;height:13px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-favorite{display:grid!important;place-items:center!important;position:absolute!important;right:6px!important;bottom:7px!important;z-index:3!important;width:27px!important;height:28px!important;min-height:0!important;margin:0!important;padding:0!important;background:#0e233add!important;border:0!important;border-radius:7px!important;color:#91a4b5!important;font-size:20px!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-favorite[aria-pressed="true"]{color:#ff4267!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-favorite:hover{background:#173d5e!important;color:#ff6386!important}
.ec-wrap.ec-app.ec-skin-2 [data-ec-favorite-toggle]:disabled{opacity:.55!important;cursor:wait!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-missing-poster{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;padding:18px!important;text-align:center!important;font-size:12px!important;color:#b9d0e3!important;background:linear-gradient(130deg,#102b45,#071726)!important}
@media(min-width:1601px){.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(min-width:901px) and (max-width:1280px){.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(min-width:901px){
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery{grid-template-columns:1fr!important;gap:9px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;max-width:none!important;min-height:142px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card>.ec-imgbox{width:112px!important;height:145px!important;aspect-ratio:auto!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card>.ec-card-body{padding:13px 15px!important}
}
/* Sur tablette, la vue Liste doit vraiment devenir une liste et non rester en 3 colonnes. */
@media (min-width:651px) and (max-width:900px){
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;min-height:156px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card>.ec-imgbox{width:120px!important;max-width:none!important;height:156px!important;aspect-ratio:auto!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card>.ec-card-body{padding:12px 15px!important}
}
@media(max-width:900px){.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls{align-items:flex-start!important}}
@media(max-width:650px){
  .ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-imgbox{height:auto!important;aspect-ratio:3/4!important}
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-toolbar-end{width:100%!important;justify-content:flex-end!important}
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-more-filters{padding:6px 8px!important}
  .ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card>.ec-card-body{padding:8px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery,
  .ec-wrap.ec-app.ec-skin-2.ec-gallery-mode-list #ec-gallery.ec-gallery{grid-template-columns:1fr!important;gap:8px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card,
  .ec-wrap.ec-app.ec-skin-2.ec-gallery-mode-list #ec-gallery.ec-gallery>.ec-card{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;min-height:145px!important}
  .ec-wrap.ec-app.ec-skin-2.ec-skin2-gallery-list #ec-gallery.ec-gallery>.ec-card>.ec-imgbox,
  .ec-wrap.ec-app.ec-skin-2.ec-gallery-mode-list #ec-gallery.ec-gallery>.ec-card>.ec-imgbox{width:108px!important;height:145px!important;aspect-ratio:auto!important}
  .ec-wrap.ec-app.ec-skin-2.ec-gallery-mode-cards #ec-gallery.ec-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-card{transition:none!important}}


/* === 1.0.266 : UNE SEULE MINI-FICHE VISUELLE ===
   Ces déclarations sont copiées des cartes "Événements récents" de l'Accueil.
   La Galerie utilise maintenant aussi exactement leur structure DOM et leurs noms
   de classes ; seule la grille et la vue Liste restent spécifiques à la Galerie. */
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-card.ec-skin2-recent-flyer{position:relative!important;display:block!important;min-width:0!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #2b526f!important;border-radius:9px!important;background:#0a1e31!important;box-shadow:none!important;transition:transform .15s ease,border-color .15s ease!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-flyer:is(:hover,:focus-within){border-color:#36a9fa!important;transform:translateY(-2px)!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;text-align:left!important;appearance:none!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:inherit!important;box-shadow:none!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-image{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:3/4!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#071421!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-image img{display:block!important;width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;margin:0!important;padding:0!important;object-fit:fill!important;object-position:center!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-missing-recent{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;padding:12px!important;color:#a9c8e2!important;font-size:12px!important;text-align:center!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:5px!important;min-width:0!important;width:100%!important;margin:0!important;padding:7px 9px 8px!important;box-sizing:border-box!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info strong{display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;order:0!important;min-height:1.3em!important;max-height:1.3em!important;margin:0!important;padding:0!important;overflow:hidden!important;color:#f7fbff!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info .ec-skin2-recent-date,.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info .ec-skin2-recent-location{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10.5px!important;line-height:1.25!important;color:#bbd1e7!important;font-weight:450!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info .ec-skin2-recent-date{order:1!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-info .ec-skin2-recent-location{order:2!important;padding-right:23px!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-fact-symbol{flex:0 0 14px!important;width:14px!important;height:14px!important;display:inline-grid!important;place-items:center!important;color:#dcecff!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-fact-symbol svg{width:14px!important;height:14px!important;max-width:14px!important;max-height:14px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-favorite{position:absolute!important;right:6px!important;bottom:7px!important;z-index:3!important;display:grid!important;place-items:center!important;width:27px!important;height:28px!important;min-height:0!important;margin:0!important;padding:0!important;background:#0e233add!important;color:#91a4b5!important;border:0!important;border-radius:7px!important;line-height:1!important;font-size:20px!important;box-shadow:none!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-favorite[aria-pressed="true"]{color:#ff4267!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-favorite:hover{background:#173d5e!important;color:#ff6386!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-image{height:auto!important;aspect-ratio:3/4!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-home-memory-image{height:auto!important;aspect-ratio:3/4!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-actions{position:absolute!important;top:7px!important;right:7px!important;z-index:5!important;display:block!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-actions .ec-skin2-card-actions-toggle{display:grid!important;place-items:center!important;width:27px!important;height:31px!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #5c86ab!important;border-radius:7px!important;background:rgba(4,17,33,.91)!important;color:#fff!important;font-size:21px!important;line-height:1!important;cursor:pointer!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-actions .ec-skin2-card-actions-toggle[aria-expanded="true"]{border-color:#54baff!important;background:#0b80e8!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery .ec-skin2-recent-actions .ec-skin2-card-actions-toggle:focus-visible{outline:2px solid #72c2ff!important;outline-offset:2px!important}
/* Le lien d'ouverture contient l'affiche ET son cartouche, comme à l'Accueil. */
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche{
 display:block!important;overflow:hidden!important;cursor:default!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche>.ec-skin2-recent-open{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:0!important;position:static!important;inset:auto!important;
 width:100%!important;height:100%!important;min-height:0!important;
 margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;
 text-align:left!important;appearance:none!important;border:0!important;
 background:transparent!important;color:inherit!important;cursor:pointer!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-image{
 width:100%!important;aspect-ratio:3/4!important;height:auto!important;min-height:0!important;display:grid!important;
 place-items:center!important;overflow:hidden!important;border-radius:0!important;
 background:#071421!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-image img{
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 display:block!important;object-fit:fill!important;object-position:center!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-info{
 display:flex!important;flex-direction:column!important;gap:5px!important;
 flex:1 1 auto!important;width:100%!important;min-height:0!important;
 padding:7px 9px 8px!important;box-sizing:border-box!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-info strong{
 order:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
 font-size:12px!important;font-weight:700!important;color:#f7fbff!important;line-height:1.25!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-recent-date{order:1!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-recent-location{order:2!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-recent-favorite{
 position:absolute!important;right:6px!important;bottom:7px!important;
 width:27px!important;height:28px!important;min-height:0!important;z-index:3!important;
 padding:0!important;border-radius:7px!important;background:#0e233add!important;
 color:#91a4b5!important;border:0!important;font-size:20px!important;
 display:grid!important;place-items:center!important;
}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-recent-favorite[aria-pressed="true"]{color:#ff4267!important}
/* Même menu d'actions que l'Accueil. */
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-recent-actions{position:absolute!important;top:7px!important;right:7px!important;z-index:5!important}
.ec-wrap.ec-app.ec-skin-2 #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-skin2-card-actions-toggle{
 width:27px!important;height:31px!important;min-height:0!important;
 background:rgba(4,17,33,.91)!important;border:1px solid #5c86ab!important;
 font-size:21px!important;border-radius:7px!important;line-height:1!important;
}
/* Une seule colonne en mode Liste ; l'élément bouton contient les deux blocs. */
.ec-wrap.ec-app.ec-skin-2:is(.ec-skin2-gallery-list,.ec-gallery-mode-list) #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche{
 display:block!important;min-height:0!important;
}
.ec-wrap.ec-app.ec-skin-2:is(.ec-skin2-gallery-list,.ec-gallery-mode-list) #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche>.ec-skin2-recent-open{
 display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;height:auto!important;
}
.ec-wrap.ec-app.ec-skin-2:is(.ec-skin2-gallery-list,.ec-gallery-mode-list) #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-image{
 width:112px!important;height:145px!important;aspect-ratio:auto!important;
}
@media(max-width:650px){
 .ec-wrap.ec-app.ec-skin-2:is(.ec-skin2-gallery-list,.ec-gallery-mode-list) #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche>.ec-skin2-recent-open{grid-template-columns:108px minmax(0,1fr)!important}
 .ec-wrap.ec-app.ec-skin-2:is(.ec-skin2-gallery-list,.ec-gallery-mode-list) #ec-gallery.ec-gallery>.ec-skin2-gallery-fiche .ec-home-memory-image{width:108px!important;height:145px!important}
}
